ah, yes, the good ole `fread(&buf); ((void(*)())buf)();` routine
Replying to @antumbral and @mme_hardy
Haven't yet had a phone refuse to shut down when subjected to Power + Volume Up + Volume Down, but it's not the most obvious combo to try :v
Replying to @0x111a
What's your preferred (rough) alternative, if one may ask?
Replying to @PttPrgrmmr
this is the exact damn reason I'm still in love with GNU Make – it gives zero fucks what it is that it's building, and I can bend it to build any𝘵𝘩𝘪𝘯𝘨, any𝘩𝘰𝘸: C++? generate C artifacts? webpages? e-books? the proverbial sky's the limit
Replying to @uncooldana
you only pay for 1% of the alcohol content
Replying to @TonyTheLion2500
Absolutely damn livid at this tweet; the sheer audacity of you to assume, nay, force words into *my mouth*!
tbh tho I kinda feel like you're just not following the right people if that's all you see :v
Replying to @TonyTheLion2500
In no particular order: mjg59, whitequark, bofh453, mattblaze, are the most prominent no-drama and on-topic accounts I follow.
Replying to @0x111a
I'm currently using a 0W as a pihole/DHCP/low-power headless "box" (and it's worked fine for that apart from those times it apt-upgraded to armv7 kernel while being armv6l itself), but any time I'd tried to do anything more with it, or some of the bigger boards…
Replying to @0x111a
…I've hit a wall, mainly due to a lack of documentation and why do I need some daemon(?) to use GPIO please stop.
I didn't really have any super-particular usecase in mind (apart from programming bare AVRs, I guess?), just general fuck-aroundery, so big thanks for your help!
Replying to @nabijaczleweli
(did that sound sarcastic, I really didn't mean it that way, I've a problem with that)
Replying to @0x111a
Guess I know what I'm going for, then. Will do! (If my brain doesn't decide crying myself to sleep is the better option instead.)
WIP
Replying to @0x111a
The dangersocket is straight out of an ATX PSU, and a damned death trap (hence gloves).
As for the purpose: yes it is, I'm soundness-testing a couple components this week before assembling the whole hydroponics system.
Replying to @0x111a
Regarding the liquid: both pipes are 6mm, but the first (inlet?) one is armoured/nylon-braided(?), so it looks lighter due to white strands going through it. It does also go transparent in the out-beaker when KMnO4 reacts with H2O2 (thought it'd bubble more for better visibility)
Replying to @0x111a
Prior to this tweet my entire understanding of hydroponics came from old Cody'sLab videos and amounted to "plants can also grow in gravel in water if you circulate it", but now I'm pretty sure it's ebb and flow, so thanks for asking! (again, no sarcasm, just mimicking American)
After a good four hours? (honestly don't know, p sure I'm hallucinating now) of "prototyping" (and by god that sounds almost like I know what I'm doing) I've arrived at something that could work for automatic pump activation; current w̶o̶r̶k̶b̶e̶n̶c̶h desk state:
Replying to @nabijaczleweli
Had to cut a couple features I wanted but it's surprisingly robust still (and it's something I can revisit later); turns out a minuscule current through clean water is still enough to activate an NPN @ low current, but voltage can operate a MOSFET with correct pulldown by default
These came out of an ATX PSU, the internals seem to be diodes as indicated as well, but I'm not sure what you'd use these for (and I can't seem to get a datasheet on it)?
Replying to @nabijaczleweli
Turns out that the three separate times my dumb ass tried to Gooble the number it was the top one and not the bottom one (because, well, obviously).
The chips themselves turn out to be just Schottky diodes, much less exciting that I'd hoped for :v
oh btw if you updated to rustc 1.29.0 (latest stable) and use cargo-update, you probably wanna force-update it to 1.6.3, because it won't pick up new updates otherwise
Replying to @nabijaczleweli
(essentially cargo explicitly dropped support for an undocumented feature cargo-update relied upon (cargo install updating registry) so from 1.6.3 on we do it manually)
Replying to @0x111a
tbh this is still better (solution-hackiness-wise) than that time they changed how they handled searches and searching for empty string started matching 𝘦𝘷𝘦𝘳𝘺 𝘱𝘢𝘤𝘬𝘢𝘨𝘦, so the solution was to search for ZERO WIDTH NON-JOINER instead
Replying to @0x111a
maintaining something this reliant on internals is, indeed, Extremely Fun™
Replying to @0x111a
Oh… oh no
WIP (ctd.)
Replying to @nabijaczleweli
babby's first electronic design (probably lots of room for improvement, but)
Replying to @0x111a
Yeah, good point, I haven't considered previous, so I just did some tests with a voltage divider @ the gate and have only managed to get it into thermal runaway when directly shorting it (guessing the ca. 15Ω motor windings limiting the current's enough)?
Replying to @0x111a
But that's from a 9V Zn-C battery, will definitely monitor when I run it from that 12V trafo, thanks!
Replying to @0x111a
One thing have worried about, though, is the inrush current to the C1, which in an Ideal Model (i.e. not factoring in wires resistance and caps' ESR) works out to 200A (Q2's I_DM is 92A, would def blow)? Would a resistor before C1 be needed or are real-world limitations enough?
Replying to @0x111a
Would you believe that I've never looked close enough at that side of a capacitor before :Р?
This one is a CD11X from Chong®, but if they specify ESR in their datasheets I'm not seeing it.
Replying to @0x111a
Yeah, that seems like smarter idea than trying to game those 30ms off, cheers for the help!
Replying to @0x111a
Ah, the classic "slap more aluminium on it" approach to design (don't get me wrong, I'm quite partial thereto, so I'll start off with some big one and see if I can downsize if later on).
Replying to @nabijaczleweli
Babby's First Electronic Design v2: Now With Eight Times As Many Capacitors! (+ a flyback diode, motor cap, & inrush resistor to C1, so I guess what I'm effectively asking is: is this good enough to start layouting or am I lacking something obviously caught by good engineers?)