#avr Logs

May 17 2021

#avr Calendar

12:23 AM rue_mohr: https://maxpromer.github.io/LCD-Character-Creator/
03:27 AM exp: rue_mohr: that's cute
03:27 AM exp: I assume `B0000` is an arduinoism
03:39 AM rue_mohr: dunno
03:48 AM vmt: c/c++ binary literals are prefixed with 0b
03:49 AM vmt: i don't even know wtf arduino is
03:54 AM exp: C doesn't have binary literals afaik
03:54 AM exp: gcc might
03:54 AM exp: i bring in a bunch of random crap so i can do string formatting as binary too
03:54 AM exp: irritating how many rough edges bare C has
03:56 AM vmt: hm. you're probably right there. but i'm sure most if not all compilers do implement it as an extension
04:00 AM exp: vmt: yeah I only really have gcc experience
04:00 AM exp: so the B0000 stuck out quite a lot
04:01 AM vmt: yeah. what stuck out more was rue advocating for some arduino shit
04:01 AM exp: lol
04:01 AM vmt: though, perhaps it's just the dot matrix it lets you play with, he's firmly stuck in the 1980s
04:07 AM exp: :D
04:07 AM exp: i still can't get pspice for ti to download models
04:07 AM exp: it's as if akamai is screwing up
04:07 AM exp: but i bet it's my shitty ISP
07:00 AM nohit: that's why smart people use c++
07:44 AM exp: nohit: you misspelled that, it's 'sadistic'
08:16 AM zgu: 0b was only standardized in c++14
08:17 AM zgu: hmm, C is only scheduled to add them in 2023
08:26 AM exp: the lack of any easy sprintf specifier for binary is irritating
08:26 AM exp: yes, i can allocate my own buffer and overwrite it, which is what i do
08:26 AM exp: but even so, in nice languages like Raku you can literally just `.base(2)`
08:26 AM exp: C it's not quite as simple, but there's little argument against it being sprintfable i think
10:42 AM exp: a totally different topic for a second: when connecting a cable shield to an earth wire in a class 2 DC system, some proportion of the return current will flow through the shield, potentially becoming an accidental antenna
10:42 AM exp: how would you prevent this?
12:51 PM Rab: Ferrite bead?
12:54 PM exp: would only impede high frequency, not DC current
12:54 PM exp: there is such a wide variety of thoughts about this
12:55 PM exp: but i'm going to go with multiple capacitors to tie it, and a medium value resistors
12:55 PM exp: s/tors/tor/
07:21 PM specing_ is now known as specing