@dotmatryx@vectorreasoning@JaidCodes@Fried_rice@grok not a db obviously but same concept of sanitizing inputs. it's not *necessarily* bad just could be. ultimately there's no good reason to call `dir {...}` this way instead of achieving it much more safely in some other way
`path` is a string...perhaps for some time it doesn't take literal user input, but it's an attack vector waiting to happen if it gets past code review when someone accidentally uses it in some public-facing API that takes user input and passes it here in some capacity
It should just take a path type at the very least but really shouldn't be calling execsync on non-sanitized input
@peterom@novaruntime No human can easily understand 60k LOC. Tbh nothing in this world can, currently. Not recognizing such a profoundly obvious fact should inspire some self reflection in you
@lgrodev@braelyn_ai ikr anyone who uses react has reached for this pattern at some point and realized they had to use a hooks library or make their own
Overall the whole thing is really sad, as I personally believe he had noble intent- but that he wasn't in a state of mind that could endure the pressures of a legal case like that and potentially going to jail
Regardless, it's really surprising to see him with Sam Altman here- I had no idea they were connected in any way.
https://t.co/tS7VShIQ8B
He took his own life after being found guilty of illegally downloading/disseminating a bunch of research papers on JSTOR he downloaded from a closet at MIT.
There's quite a bit of controversy around the case, because some people see the prosecution as being directly responsible for his suicide. But the details are a bit more complicated, since the plea deal he got at the end was only around 6 months of jail time.
Here's a good opposing viewpoint from around when it all happened: https://t.co/4YVxXH9afF
@Romy_Holland@jenalden like others said it's biohazardous waste.
you also have poop in your body and you probably understand why a poop shop might not let you just take a vial of that and carry it around
💩
Lots of new stuff released on https://t.co/tlyBDSCu05 yesterday!
📜 Personal trade history
👀 Look up wallets by their ANS name
♾️Trade/chat infinite scroll
🪙/💲 APT vs USD toggle (thx @Greg_Nazario)
🔥 /api/trending endpoint
🌎 New cult community projects (thx @ConejoCapital & Ellenp2p on github)
⚔️ Arena (soon)
@tsoding@manwey 1. Build a time machine
2. Ensure the British win the Revolutionary War
3. To be extra sure, fast forward to 1991
4. Gently guide Guido's hand one key to the left