@hailey@hails.org
@hailey@hails.org avatar

hailey

@hailey@hails.org

meow! I am a computer tinkerer, polyglot hacker, music enjoyer, and bike rider. Also a huge nerd. Trans 🏳️‍⚧️ and queer 🏳️‍🌈

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

hailey, to random
@hailey@hails.org avatar

sneak peak of a little flasher utility I whipped together for Tangara last night :)

It's built with gtk-rs and espflash, which both have good cross-platform support, so in theory it should compile and work on macOS and Windows also, but for now I've just got it going on Linux

The flashing screen with a progress bar!

hailey,
@hailey@hails.org avatar

also, I have never written a GTK app before, and I still managed to get this going in a couple hours in the evening. Maybe u don't need electron

hailey,
@hailey@hails.org avatar

@piki @wezm yeah this is where my thinking is at. Electron is so widespread at this point that non-native UIs are very normalised. As long as you get the basics right, like DPI scaling etc (which, ironically, Electron is the worst offender at on Linux), I think a GTK app - especially using the fancy new Adwaita stuff - could be a really pleasant experience on those other OSes

jacqueline, to random
@jacqueline@chaos.social avatar

why does pipewire rely on so many weird bullshit systemd features. why did they build it like that.

hailey,
@hailey@hails.org avatar

@jacqueline nooo user systemd is good!! its so easy to set up a bunch of headless services as non-root

hailey, to random
@hailey@hails.org avatar

I think a cool but underexplored optimisation for JSONB would be a separate opcode for specifying keys (as opposed to regular strings), which are retained in a stack by the decoder, and which can be reused by backreference.

using a stack and not just regular incrementing ids preserves the concatenative property of the encoded binary data (if this is something you care about), and means the backref indices would tend to be smaller than if absolute indices were used, which would further reduce size if using a varint encoding

anyway just a little throwaway idea

hailey,
@hailey@hails.org avatar

@jacqueline I do think structured binary formats like protobufs are the way to go in general, though this thought was prompted by seeing that sqlite has added an implementation of JSONB, where it can't know the shape of the JSON data ahead of time and must work with a self-describing format https://sqlite.org/draft/jsonb.html

hailey, to random
@hailey@hails.org avatar

wrote a small (~50loc) python script which lets me control the volume on my deck speakers with a cheapy little zigbee knob! maybe it is useful for you too https://gist.github.com/haileys/2c09073f86518e1b7b3722d740ae103d

hailey, to random
@hailey@hails.org avatar

despite that whole “everyone thinks they’re an above average driver” thing, having driven the Hume a few times in recent months, I’m convinced that if:

  • you keep left unless overtaking
  • you turn your headlights on when it’s wet
  • you generally use your headlights to be seen, not just to see

you are comfortably in some upper percentile of drivers

hailey, to random
@hailey@hails.org avatar

Added support for the Opus codec to bark! A nice benefit that comes with Opus is its built in packet loss concealment. Here it is running at 10% loss, every dot printed to the screen is a dropped packet

video/mp4

hailey, to random
@hailey@hails.org avatar

hmmm, the rust compiler seems to be getting buggier and buggier.

more and more I'm finding myself having to run cargo clean to get some rust to compile.

I first started having to do it after compiler updates to clear out errors where some cache wasn't auto-busted. Now it's after git branch changes where it seems like the compiler has cached a half-checked out version of the code (possibly because rust-analyzer is triggering a recheck before the branch has fully checked out, but then caching that with the fully checked out mtimes?)

hailey,
@hailey@hails.org avatar

like these kinds of errors... caused by a rustup update, requires a cargo clean to clear

hailey,
@hailey@hails.org avatar

I think there is possibly some race condition happening where rust-analyzer is causing a recompile at an inopportune time, but the underlying problem definitely smells like some faulty cache keying in rustc or cargo that results in a broken/incoherent cache

hailey,
@hailey@hails.org avatar

i swear i have an uncanny ability to encounter the weirdest bugs in just about any software i use

hailey, to random
@hailey@hails.org avatar

merry christmas, the bark receiver now plays audio with alsa directly rather than using cpal. this means I have finer control of latency and buffers, including being able to match the period of the underlying DAC to really eek out minimal latency!

hailey,
@hailey@hails.org avatar

using alsa directly also means you can use real alsa device names (which function kinda like connection strings) to select the output node + configure it further if u like

hailey,
@hailey@hails.org avatar

honestly pipewire is so freakin good man. they got the design right, it's fully observable + tunable, and it's flexible as hell. linux audio has arrived. its good now

hailey, to random
@hailey@hails.org avatar

listening to transgender music on the world’s first transgender portable music player

hailey,
@hailey@hails.org avatar

(this is of course a prototype of the Tangara which you should go check out and sign up for updates for over at https://crowdsupply.com/cool-tech-zone/tangara !!!)

hailey, to random
@hailey@hails.org avatar

My mother in law is a Java developer. She has decades of experience in the industry. We were pairing in the Eclipse debugger once years ago, 100 stack frames deep, and I asked her what it would cost to build Spring Framework today. I will never forget her answer:

"We can't. We don't know how to do it"

hailey, to random
@hailey@hails.org avatar

New bike! New bike!

hailey, to random
@hailey@hails.org avatar

i pressed the “volume up” button

hailey, to random
@hailey@hails.org avatar

what happened here I wonder

hailey, to random
@hailey@hails.org avatar

bonkers to me that road licensing authorities see autistic people as the risk requiring greater scrutiny, and not all the aggros driving around in those psychopathic ford murder raptor rangers https://www.abc.net.au/news/2023-11-20/autism-driving-licences-new-standards/103108100

hailey,
@hailey@hails.org avatar

“Petro-masculinity: Fossil Fuels and Authoritarian Desire” https://journals.sagepub.com/doi/full/10.1177/0305829818775817

jacqueline, to random
@jacqueline@chaos.social avatar

i think they should make the next james bond kinda faggy

hailey,
@hailey@hails.org avatar

@jacqueline neat james bond is trans. except one of those real centrist, statist kind of trans

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