Oddbean new post about | logout

Notes by Martijn Braam | export

 The #kicad -cli command is pretty neat (although it lacks better docs)

I can now generate a pdf of the schematic and board in around 20 seconds on sourcehut builds with it. It currently outputs 3 pdfs which are manually merged together to make a single build artifact.

https://builds.sr.ht/~martijnbraam/job/1166980 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m I'm sure issues/MRs would b... 
 @6fb50f0b what's the point? gnome's gonna do what gnome's gonna do 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m My goto is just looking stu... 
 @6fb50f0b maybe the gnome devs should y'know... update documentation once in a while instead of keeping building new toys and discarding the old ones 
 Even Gtk.Widget has better documentation on the Gtk.Label code than the Gtk.Label page itself... 
 I'll just use glade again 
 Why doesn't the official GTK4 documentation for GtkLabel actually set _any_ of the useful label attributes in their buildable example. Like.... the content of the label or something... 
 Even Gtk.Widget has better documentation on the Gtk.Label code than the Gtk.Label page itself... 
 @63641954 maybe if your scripting language has hundreds of common pitfalls that cause big issues, maybe something better is needd 
 Upgrades! Got the audio shield so that saves me from dealing with spdif input resampling

https://cdn.fosstodon.org/media_attachments/files/111/188/576/634/237/716/original/8fce3149a3164994.jpg 
 Huh, apparently it's wordclock, not worldclock. I've misread that my entire life... 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m what are you doing with thi... 
 @0e57ef86 It's currently my prototype DAC/ADC until I get an i2s board for the teensy 
 How do you know if something is audiophile quality? Easy, it's written on the case :D

https://cdn.fosstodon.org/media_attachments/files/111/167/693/226/446/779/original/8cd1fee736c3589c.jpg 
 do i need to break out the SWD/SWC pins on RP2040 system controller on Pocket Reform? not sure if... 
 @3083756b having the pico debug probe pins is way nicer for development than the USB access. Maybe the pico probe connector can fit on it? 
 Lol the Raspberry Pi foundation dares to call their seperate I/O controller on the PCB a chiplet... 
 Hmmm nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m, doesn’t seem to be ... 
 @edec528e I at least don't have to are about the endianness of the platform, it's all network-endian and it's building for arm microcontrollers. Nothing posix in this stack :P 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m, could thou elaborate on th... 
 Is there just no good resource on putting data in a uint8_t[] buffer and getting it out again in a correct way in c++? Putting in a string or an unsigned number is easy but annoyingly verbose. Using a struct to represent the buffer seems to work great but is adviced against with packing and compatability :( 
 Oh nice... are the gtk docs down? 
 How hard is it to host some static html.... 
 What’s the best PDF to PNG conversion tool for Linux? Everything I’ve tried — LibreOffice D... 
 @33b172c2 imagemagick with ghostscript, just don't forget to set the DPI parameter 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m who was playing? 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m Is it statically sized? 
 @5a5dfae4 this is basically all readonly, I probably could've used tuples everywhere. No reason why this couldn't work on a dynamically sized list though, it's very simple code.

Here _notes and _intervals are both instances of this class

https://cdn.fosstodon.org/media_attachments/files/111/060/021/301/922/031/original/365288aa3c830bf8.png 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m Looks like a fun class to u... 
 @5a5dfae4 I'm trying to calculate music stuff, which is basically all shifting lists to do key changes and mode changes, so this produces lists that wrap around instead of giving indexerrors and allows easily getting the same list with an offset. 
 I honestly would've thought python already had some special iterable that's a Tuple but does index%len(self) when retrieving the item.

But I needed the offset anyway 
 Apparently the precision of GPS coordinates in the TIFF file format is increments of 7.5 nanometer if you use all the bits. 
 nostr:npub1a3hfcvq3wa9zggsur737r9j095kh76rqy46we58jzu345xl4n3eqz9m44m hello Martijn. Have you a r... 
 @6961d03d I don't have anything to do with phosh releases :P

also phosh 0.31 is already out 
Event not found
 @83e0ac9b I have no idea actually, in the top right there's M31 at least. 
Event not found
 @822a3c32 @58ce81ca That's why 48Kbps opus is invented :D