Oddbean new post about | logout

Notes by c2756be6 | export

 I can't believe I'm asking this again, but I can never seem to find it on duckduckgo: how do I se... 
 @b902f84f In the explore tab in the search bar, "from:<user> <term>", e.g. "from:jaseg congress" 
 For an academic journal, "HardwareX" has some pretty wild articles of interest to #electronics #diy folks. It's open-access at https://www.hardware-x.com/current and in it there are some gems like "Arduino based intra-cerebral microinjector device for neuroscience research" or "Modification of kitchen blenders into controllable laboratory mixers for mechanochemical synthesis of atomically thin materials". 
 Be aware though, that even if this journal is open-access, it is still published by Elsevier, which is a legacy academic publishing company that is about as shitty as they can be. Have a look around their Wikipedia page if you're curious: https://en.wikipedia.org/wiki/Elsevier#Market_model 
 @65af210b That route needs that. I travelled there last year, and I was surprised that despite the short geographical distance it took a long time and a change at some run down provincial station. 
 @6422293e I got mine on aliexpress, but that one looks the same. I can imagine them selling multiple variants of these since in mine, the LED module just had a female barrel jack as an input, and the on/off switch came in-line with the USB to barrel jack adapter cable. Making mine dimmable shouldn't be hard either for that reason. 
 nostr:npub1hr0q3yq9s8ejx7rvc4mw3r7mmkzr7zp6tryngug0h4sj3tfm5dlqkp4k2l Are you saying that all tho... 
 @69170402 Just shut the fuck up. 
 Thinking about starting a decomp project but god I literally have no idea how to start. Reversing... 
 @e9a04693 If you can run it somewhere, trial and error with a debugger could help a lot. Are you interested in extracting some algorithm, do you want to modify its behavior, or do you want to recreate the whole thing? 
 To work under a microscope by eye or with cheap(ish) cameras, you need a lot of light since the image's brightness gets divided by the same multiplier that it gets magnified by. 
 That in mind, I set out to get a decent but not too expensive microscope ring light. I scrolled through a few listings, and I was disappointed to see that most cheap ring lights use bent 5mm THT LEDs to avoid the need for a custom lens or reflector. 
 After I was spoiled by the really nice Kern and Vision Engineering microscopes that we got at my work, I finally got a stereo microscope for my home workbench. This upgrade was probably about ten years overdue. 
 To work under a microscope by eye or with cheap(ish) cameras, you need a lot of light since the image's brightness gets divided by the same multiplier that it gets magnified by. 
 @575b84f0 the orange site has all the best takes. 
 nostr:npub1hr0q3yq9s8ejx7rvc4mw3r7mmkzr7zp6tryngug0h4sj3tfm5dlqkp4k2l the claim that men are hire... 
 @bb1ea459 @b8de0890 It's wonderful that you don't experience gender discrimination during hiring. Please refrain from calling others accounts "ridiculous" just because their lived experience doesn't match yours. Consider yourself lucky instead. 
 Men are constantly hired because they are men. But they are oh so upset if there is even a tiny i... 
 @b8de0890 The comments under your post are a true horror show. Hordes of butthurt men volunteering to prove your point by example. 
 @7edc02e3 I love your brand of serious cryptography mixed with sfw furry art. It's funny how it seems to reliably trigger the worst kind of trolls. 
 @319bcfc8 The law I was referring to is paragraph 201 of the criminal code. It's fairly old and predates the GDPR. It roughly says that you're not allowed to record something spoken non-publically without authorization. It is very non-specific as to how that recording happens, or what authorization means. What would worry me about that pendant is that it makes it look like you tried to conceal the fact you're recording, implying an intent. 
 @319bcfc8 As far as I understand, a smartphone could also violate that law, if you used it like that pendant to record everything all the time. A big boom mic I imagine could be unproblematic under that particular paragraph of the criminal code as long as you're recording your own conversations and whoever is speaking to you is aware that it is recording. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc I wasn't thinking of it as ... 
 @319bcfc8 The law I was referring to is paragraph 201 of the criminal code. It's fairly old and predates the GDPR. It roughly says that you're not allowed to record something spoken non-publically without authorization. It is very non-specific as to how that recording happens, or what authorization means. What would worry me about that pendant is that it makes it look like you tried to conceal the fact you're recording, implying an intent. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc So if it had a sticker on i... 
 @319bcfc8 I'm in DE. I would be very surprised if that sicker trick worked, especially since the sticker would be too small to read at a distance. In either case I wouldn't use a device like this without asking a lawyer first. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc How does that interact with... 
 @319bcfc8 If you use one of those concealed, it's also a problem. But since a phone has many more uses and is not designed as a concealed recording device, I imagine it would be harder to prove. 
 @319bcfc8 I know at least one jurisdiction where using one of these outside of your home could land you in prison. 
 nostr:npub10mwq9c623ujjzpql7r4fk090yxrf458sz2egzprw0zn0ca669q9qm2awkn I'll have to dig into why I... 
 @39b1b47f @7edc02e3 I got the same warning, also on FF mobile w/ uBO. FF desktop w/ uBO seems to work fine. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc chip for audio something li... 
 @9e601414 LM386 has a minimum gain, but can be adjusted 
 Does someone know a small jellybean amplifier which I can get from Reichelt and not have a gain a... 
 @9e601414 What do you mean by "amplifier"? (chip or module, audio or rf) 
 @57e9b6fa I don't see a backup battery on the board. If you don't have one and it's not built in to the module, adding one can speed up subsequent fixes by a lot. They are usually tiny, 5mm dia, few mAh lithium batteries. 
 @57e9b6fa If you're building a bunch of them, to speed up the initial fix, the module may have a way to upload assistance data downloaded from the manufacturer's servers into the module. That data is updated every few hours and speeds up the inital fix and improves accuracy. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc Oh! I don't think it has, b... 
 @57e9b6fa I don't see a backup battery on the board. If you don't have one and it's not built in to the module, adding one can speed up subsequent fixes by a lot. They are usually tiny, 5mm dia, few mAh lithium batteries. 
 @57e9b6fa How long did you leave it powered on? Does the module have a backup battery? I know that with some GPS modules, getting the first fix after a cold start can take tens of minutes. 
 @f3ad697a I can see a possible issue with this solution though: If the PWM MOSFET has a low-impedance driver and is doing very hard edges, when it switches from off to on, the channel MOSFET's gates will momentarily stay at their old voltage, since they are driven low through high-impedance resistors to the common node, while their sources dive low along with the common node. This leads to a momentary positive V_GS that could possibly turn them on for a bit. 
 @f3ad697a One last thing I can imagine would be that when the three loads have different voltage drop, like RGB LEDs, then while the PWM is turned off, I can see some of the body diodes potentially be forward-biased momentarily. At PWM speeds below RF that shouldn't matter though. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc the upper MOSFETs would be ... 
 @f3ad697a Yeah, if it's within the datasheet's specs, it should be fine. 5V isn't much. I just wasn't sure if you actually meant 5V or if that was only a mockup for the simulation's sake. 
 @f3ad697a The negative V_GS issue can be solved by turning off the channel MOSFETs with a resistor between gate and source. Since they presumably don't need to switch very often, that being slow shouldn't be a problem. Also it would be possible to switch them during a PWM "off" period. 
 @f3ad697a I can see a possible issue with this solution though: If the PWM MOSFET has a low-impedance driver and is doing very hard edges, when it switches from off to on, the channel MOSFET's gates will momentarily stay at their old voltage, since they are driven low through high-impedance resistors to the common node, while their sources dive low along with the common node. This leads to a momentary positive V_GS that could possibly turn them on for a bit. 
 @f3ad697a I see two issues: One is that when the PWM MOSFET is off, the channel MOSFETs potentially can see a high negative V_GS. The other is that to reliably switch the channel MOSFETs, you need a fairly high voltage on their gates since you want them to be hard on even while the PWM MOSFET is still transitioning through its linear region. 
 @f3ad697a The negative V_GS issue can be solved by turning off the channel MOSFETs with a resistor between gate and source. Since they presumably don't need to switch very often, that being slow shouldn't be a problem. Also it would be possible to switch them during a PWM "off" period. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc oddly... charming? for lack... 
 @f3ad697a lol, I didn't even notice! 
 quoting techcrunch's raspi 5 article from yesterday:

"“The value proposition for Raspberry Pi ... 
 @6192bd8c also the environmental impact of recycling an old device is a lot better. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc nostr:npub1euxtd3pufrhlj7nv... 
 @d9a8fc95 @cf0cb6c4 I didn't mean to throw shade, I've only migrated off an x230 last winter myself 😅 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc nostr:npub1euxtd3pufrhlj7nv... 
 @b5b38449 @cf0cb6c4 You can turn off the network functions of IME on all Thinkpad models going back to ~2010. While I agree that IME should not exist and that it's a security nightmare in a purely academic sense, practically, you'd only ever have to even consider this type of attack if you're like, a human rights lawyer in Saudi Arabia or whatever. If you are, sure, be careful with used hardware. Everyone else, don't worry about it. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc nostr:npub1euxtd3pufrhlj7nv... 
 @b5b38449 @cf0cb6c4 As someone working in security research, I am confident saying that as long as you install your own OS on the device, the chance of catching any sort of malware persisting through that OS install is zero. Getting scammed on ebay or the device being lost in shipping are more serious risks by many orders of magnitude. 
 @a4e7c0dc For the same price as one of these plus storage, power supply and peripherals, you can get a decent used laptop and actively avoid creating new E-waste. For most use cases of a single-board computer, an old laptop plus a microcontroller that runs circuitpython will do a better job. 
 My car broke down an hour into a three hour drive to get to an unmissable early morning appointme... 
 @01b7ce39 oof! 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc Ahh, danke für die Info. K... 
 @5905dfdd Es gibt auch eine eigene Supporthotline speziell für deren Glasfaserprodukt, die etwas weniger überlastet ist, als die allgemeine Supporthotline. 
 @5905dfdd Ich empfehle, das GPON-SFP-Modul vom restlichen Netzwerk zu isolieren, da die Firmware auf dem Teil extrem sketchy ist, und die Managementschnittstelle mit sicherheit unsicher ist. 
 @5905dfdd FYI, die Telekom verkauft unter eigenem Branding Zyxel-SFP+-GPON-Module. Eigentlich sind die für irgendeine "Digitalisierungsbox" für Geschäftskunden gedacht, aber wenn man die Hotline überzegt, dass es die SKU im System gibt, verkaufen sie einem etwas widerwillig auch als Privatkunden so ein Ding. Ist etwas teurer als auf Amazon/Aliexpress, aber dafür können sie sich dann nachher nicht beschweren, wenn der Technikertermin etwas länger dauert. 
 @5905dfdd Ja, hab ich. Funktioniert genau so, ich hab das mal aufgeschrieben: https://jaseg.de/blog/telekom-gpon-sfp/ 
 @5905dfdd Ich empfehle, das GPON-SFP-Modul vom restlichen Netzwerk zu isolieren, da die Firmware auf dem Teil extrem sketchy ist, und die Managementschnittstelle mit sicherheit unsicher ist. 
 Hmm, hat hier jemand eine Telekom-GPON-Leitung?

Wenn ich die sagen wir mal selber terminieren wo... 
 @5905dfdd Ja, hab ich. Funktioniert genau so, ich hab das mal aufgeschrieben: https://jaseg.de/blog/telekom-gpon-sfp/ 
 ORIGINAL jacqueline TANGARA by jacqueline 
 @13430434 typeset with an appropriate amount of bling I think that could actually be neat 
 @02134be6 It is similsr in principle! I think the main difference is that in the flame tube, the pipe itself forms the resonant cavity that gives rise to the modes you observe, while the gas discharge tube really only visualizes the field generated by resonances in the coil next to it. 
 Researching inductor parasitics, I found this cool manuscript by radio amateur David W Knight. To visualize the E-field in and around coils, they used a gas discharge tube! Even if you're not up to the math, check out the PDF linked below for a few more cool pictures 😄 

https://g3ynh.info/zdocs/magnetics/appendix/self_res/self-res.pdf

#physics #electronics #science

https://assets.chaos.social/media_attachments/files/111/131/333/175/022/928/original/2d5734473490402a.png 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc Then off I go to find a Pyt... 
 @d6d660e8 I'm not sure about all of shapely, but at least offsetting and boolean operations AFAIK only work with polygons made with straight line segments. Shapely IIRC just wraps libgeos here. I'm not aware of any implementation of polygon clipping or offsetting that supports beziers. I know one that supports circular arcs, but converting beziers to those isn't easy either. 
 @d6d660e8 For your SVG input, I can recommend the usvg utility from the resvg project. It's an SVG normalizer that takes any spec-compliant SVG as an input,and produces an SVG output that only uses a small subset of the spec, making it much easier to handle. That's how svg-flatten works. 
 nostr:npub10ae605fgpw08r8d2u7u65wu82n5n02gzv4wef797z5dk7g3w8smq7xnlyc Thanks for the input. I gue... 
 @d6d660e8 I'm not sure about all of shapely, but at least offsetting and boolean operations AFAIK only work with polygons made with straight line segments. Shapely IIRC just wraps libgeos here. I'm not aware of any implementation of polygon clipping or offsetting that supports beziers. I know one that supports circular arcs, but converting beziers to those isn't easy either. 
 @d6d660e8 Depending on what your goal is, gerbolyze's svg-flatten utility might help you. svg-flatten renders SVGs into Gerber (G-code) files in a visually precise way. Here's a link: https://github.com/jaseg/gerbolyze/tree/main/svg-flatten 
 @d6d660e8 One other issue with converting SVG files into other formats is that SVG has some raster primitives such as masks and filters. A file that uses these would be almost impossible to convert in a way that the user expects. svg-flatten for instance doesn't support them, but has support for clip paths, which it does by pushing converted polygons through clipper. 
 @d6d660e8 The reason for that is that it's super hard to convert an SVG path to something shapely understands while covering all the million corner cases and not doing something unexpected. For example, an SVG path can have both cubic bezier curves and circular arcs on its outline, which shapely would have to render out to a list of straight lines to some precision first, which is probably not what an user extends. 
 @d6d660e8 Depending on what your goal is, gerbolyze's svg-flatten utility might help you. svg-flatten renders SVGs into Gerber (G-code) files in a visually precise way. Here's a link: https://github.com/jaseg/gerbolyze/tree/main/svg-flatten 
 Wow, #Shapely (a powerful Python library for 2D shape manipulation) *really* doesn't want you to ... 
 @d6d660e8 The reason for that is that it's super hard to convert an SVG path to something shapely understands while covering all the million corner cases and not doing something unexpected. For example, an SVG path can have both cubic bezier curves and circular arcs on its outline, which shapely would have to render out to a list of straight lines to some precision first, which is probably not what an user extends. 
Event not found
 It's like their website, but better because you don't have to scroll past five screense full of stuttery animations and saccharine marketing blurb devoid of technical meaning. And it even has pictures! 
Event not found
 @c3bbe75c @b8de0890 It's wonderful that you, as a man, don't feel like you have personally experienced gender discrimination. Please don't take this as a sign that discrimination does not exist. You're just can't see it from your perspective. Instead of doubting the accounts of others, please consider yourself lucky and do your best to support them. 
Event not found
 @f3ad697a I see two issues: One is that when the PWM MOSFET is off, the channel MOSFETs potentially can see a high negative V_GS. The other is that to reliably switch the channel MOSFETs, you need a fairly high voltage on their gates since you want them to be hard on even while the PWM MOSFET is still transitioning through its linear region. 
Event not found
 @1c8bf504 I found the microtransaction/lootbox grift way too on the nose in that game. Having played both, I find that Zelda TotK has a very similar gameplay without any of that bullshit. It runs great in emulator too, though genshin's graphics look better on PC.