Replies

This profile is from a federated server and may be incomplete. Browse more on the original instance.

kellogh, to random
@kellogh@hachyderm.io avatar

this has been bugging me a lot. like, yeah, there’s definitely AI scams out there. and yeah, a lot of people are using it from the wrong end, but it’s also clearly a substantial technology. time to realize that
https://mas.to/@carnage4life/112484753548884371

swiftcoder,
@swiftcoder@mastodon.social avatar

@kellogh Definitely doesn't help AI's image that the chief hype man of AI spent the previous few years building out a large, privacy-invading crypto scam 😅

mcc, to random
@mcc@mastodon.social avatar

I am (unfortunately) on a Macintosh. A program is segfaulting, and I need to run in a debugger to find out why. I run lldb executable-name, and then "run". It prints:

error: the platform is not currently connected.

I do not know what this means. Googling for this error message turns up various things involving iOS and XCode, but I am not using either of those things, I am using lldb at the command line.

What should I do?

swiftcoder,
@swiftcoder@mastodon.social avatar

@glyph @mcc yeah, I recommend always setting up new Macs from scratch. Even without silicon changes, I’ve had so many problems like this with cruft leftover from older OS versions…

swiftcoder, to rust
@swiftcoder@mastodon.social avatar

I guess a stealth MacOS update decided I don't get to use anymore... How's your Monday?

swiftcoder,
@swiftcoder@mastodon.social avatar

Reinstalling rustup from scratch appears to have fixed things, but I can't say I'm thrilled that my operating system decided to spontaneously excommunicate my compiler toolchain

swiftcoder,
@swiftcoder@mastodon.social avatar

@mo8it Fedora never let me connect to WiFi, so it's a bit swings and roundabouts 🤣

mcc, to random
@mcc@mastodon.social avatar

Say I am developing an Android app. I have the source, I built it myself.

It has a problem where occasionally Android pops up a box saying "[App] isn't responding. * Close app * Wait".

I would like to know what the app is doing when this occurs— stack traces, 1 second of profiling, something.

I expect if I tap "Close app", it should drop something useful in the logcat. I've nabbed a logcat within 120 seconds however and see nothing involving "crash" or "ANR".

What should I do to debug this?

swiftcoder,
@swiftcoder@mastodon.social avatar

@mcc The most common approach would be to hookup the app to Firebase Crashlytics, and then your ANR traces will end up in the cloud.

I think your odds of getting ADB connected and logcat running before the ANR falls out of the buffer are slim-to-none. Although connecting ADB over wifi and just having your PC continually spool logcat to a file the whole day might work?

swiftcoder,
@swiftcoder@mastodon.social avatar

@mcc Have you explored the /data/anr/ directory? In theory a copy should be stored there for each ANR (unclear what the timeline for eviction is, however)

swiftcoder,
@swiftcoder@mastodon.social avatar

@mcc hah. Almost all my Android experience is from the OS development side of things, so our devices tend to all be rooted

kellogh, to random
@kellogh@hachyderm.io avatar

This is cool. A lot of people misunderstand what “real time” means — generally, “late is an error”. For example, he wants to use it in games, where at 60 fps, you have 16.6ms to do all computations and render the screen. Lateness causes lag. Or worse, in a fly-by-wire steering system, late means difficulty steering a multi-ton vehicle.

in a RT system, you need to be able to statically calculate how long all compute will take. Most memory allocators don’t work like that

https://github.com/pcwalton/offset-allocator?tab=readme-ov-file

swiftcoder,
@swiftcoder@mastodon.social avatar

@kellogh And these days, 16.6ms is luxury. People keep shipping 240Hz gaming monitors - 4.1ms per frame 😱

swiftcoder, to random
@swiftcoder@mastodon.social avatar

All my USB-C to HDMI cables appear to only be capable of 4K 30Hz... So much for "one connector to rule them all"

swiftcoder,
@swiftcoder@mastodon.social avatar

One of these cheap USB-C to HDMI cables tops out at 4K 30Hz, the other goes all the way to 4K 120Hz. Can you tell which is which?

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

Told Siri "let's listen to some new stuff" and I noticed only 20 minutes later that it's been playing this 70s fusion band: https://en.wikipedia.org/wiki/Stuff_(band)

swiftcoder,
@swiftcoder@mastodon.social avatar

@fasterthanlime I tend to think they are also much less willing to hang their brand on non-determinism than many other tech firms. LLMs are cute when they work, but the failure modes are also pretty severe. Siri may be dumb, but he's also quite consistent...

onepict, to random
@onepict@chaos.social avatar

I have one pint of good milk, but somehow I managed to order UHT bio milk 🤦‍♀️

Apparently I can make bread and yogurt with it so it's not a total waste but I can't abide UHT in tea.

Ugh. Hopefully this pint is good.

swiftcoder,
@swiftcoder@mastodon.social avatar

@onepict it's weird, almost all milk here in Spain is UHT as well. Have to go to the big supermarket in the city to reliably find fresh milk

swiftcoder,
@swiftcoder@mastodon.social avatar

@onepict Could be, but these days the powerr grid is as relaible as anywhere else, and I live on the edge of a dairy farming region, so I don't get it at all 😅

floooh, to random
@floooh@mastodon.gamedev.place avatar

About last retoot: Interesting!

Mach is taking a shot at a WebGPU-like API in pure Zig, with Zig as shading language:

https://machengine.org/pkg/mach-sysgpu/

IMHO this makes a lot of sense, the native WebGPU implementation libraries turned out to contain quite a bit of fat.

TBH looking at Dawn I was rolling around that idea in my head too (WebGPU without the shader compiler isn't all that much code, and I would have moved that offline like in sokol-gfx).

swiftcoder,
@swiftcoder@mastodon.social avatar

@floooh Part of the problem here is that WebGPU took some decisions that make runtime shader compilation mandatory (i.e. there are pipeline states that have to be implemented by changing the shader compilation on various backends). If those states could be eliminated, everything could become a lot simpler

swiftcoder, to random
@swiftcoder@mastodon.social avatar

There’s a voice in my head suggesting a $4,000 MacBook upgrade to… be able to build machine learning docker images without hating my life. Feels like we took a wrong turn somewhere along the way

swiftcoder,
@swiftcoder@mastodon.social avatar

‪(side-effective of growing up poor, I guess. Took me a full day to introspect why I feel this way about a work-related purchase. Can‘t ever turn the “save a penny” voice off, even in cases where it doesn’t make sense)‬

swiftcoder,
@swiftcoder@mastodon.social avatar

@jonikorpi I'm with you on the downside of laptops. Unfortunately, I'm fairly locked into the Mac ecosystem for web+ML, and desktop macs are perenially worse than their laptop counterparts...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines