Elektrine lite

← Feed

zachary 🌟

zadr@mastodon.social

<p>optimist warning</p>

Posts

  • Post #4183919

    one regex and claude writes Swift like Perl

  • Post #4183918

    Here&amp;#39;s a lil Swift script that lists enableUpcomingFeature/enableExperimentalFeature values for your Swift toolchain (+ can let you know what is newly added) Works by downloading headers and embedding and compiling C to read headers fetched from the internet (GitHub), so maybe don&amp;#39;t trust it all the time https://gist.github.com/zadr/7d420f936f89e9c62b0312ca3f18a3a4

  • Post #1058829

    the good ‘ole days https://mastodon.social/@jlfischer/112793660853765898

  • Post #1058826

    one of my legit fav things about candy corn are the random imperfect pieces. all yellow? 2/3 orange with a white tip? let’s go. what other candy shows the tasty mistakes like that?

  • Post #1058823

    Looking into a perf problem for a holiday project, and its a whole mood

  • Post #1058822

    documenting for myself / the off chance it helps anyone: after `port install libusb pkgconfig` I was getting `/Users/z/.usr/include/libusb-1.0/libusb.h:46:10: fatal error: &amp;#39;sys/types.h&amp;#39; file not found` after a `make` to build `rpiboot` from https://github.com/raspberrypi/usbboot which was fixed by manually setting CFLAGS= and an -isysroot to the macOS SDK within Xcode, e.g. `CFLAGS=&amp;quot;-isysroot /Applications/Xcode-16.2.app/Contents/Developer/Platforms/MacOSX.platform/De...

  • Post #1058821

    anyone have a version of `~/.rvm/scripts/rvm` thats, you know, not slow? currently hacking one up to assume macOS + zsh instead of re-checking on every env load but maybe someone else has beaten me to this already

  • Post #1058820

    a long time ago I started writing a core data store backed by NSUserDefaults as a joke fast forward to maybe a decade later, and vibecoding let me make a more useful version of that to finally get the idea out of my head - so here&amp;#39;s a custom core data store backed by GRDB https://github.com/zadr/CDxGRDB

  • Post #1058819

    Claude Code has a freeform field for the default language, so you can, you know, enter whatever you want ``` ❯ /config ⎿ Set defaultPermissionMode to default Set response language to Shakespearean English ❯ how can the current app be optimized further? ⏺ A most excellent inquiry! Let me first study the codebase with great care, that I might offer counsel most wise and well-founded. Explore(Explore toy codebase thoroughly) ⎿ Read(/Users/z/toy/toy.swift · lines 1-100) ```

  • Post #1058818

    who&amp;#39;s going to turn one of these things into an aquarium now? https://9to5mac.com/2026/03/26/apple-discontinues-the-mac-pro/

  • Post #834835

    no one needs it, but it&amp;#39;s cool: an old version of the macOS flurry screensaver is open source, so a few prompts later we can have it ported to Metal and running in a tvOS app https://github.com/zadr/flurry