Actually I would like to read that. Might be worth the risk?
Actually I would like to read that. Might be worth the risk?
You’re coming dangerously close to setting Rufus free. I have a feeling you’re about to be visited by a time traveler with a dire warning if you keep trying this.
Except SIZE_MAX
I suppose 🙄
Lol not as original as I thought!
How can they expect regular people to remember what the Windows app does? It would seriously be better to pick a word at random than to overload the meaning of “Windows” again.
Here are some way better names right off the top of my head:
The darned neural implant generation doesn’t even know how to doomscroll with their fingers. Kids these days smh no cap.
I think the judge would know it when they see it and laugh them out of the court room.
This headline sounded familiar. The article’s from 8 months ago, folks.
You know, the reason this happens is that you can ask your database to execute a string type, but languages usually don’t distinguish between a static string and a dynamically constructed string.
Not to proselytize, but this is a place where rust’s lifetime annotations can shine. The DB interface should take a &'static str
( and a variable number of parameters to insert) so it can be certain that no untrusted user input has already been injected into the query string. Assuming all static data is trusted, the sql injection vulnerabilities just went poof.
Sadly, it looks like rusqlite’s execute()
takes a non-static str
. I wonder why.
Understandable. I’m more confused why Bruce ripped off the original blog post.
Cool username, btw
The beautiful thing about string injection vulnerabilities is that they will never ever stop happening. It’s just too easy to sprintf untrusted input.
Why not post the primary source? https://ian.sh/tsa
I think you mean “$EDITOR”. Gotta have that variable expansion.
Unix -> Linux -> Ferrix?
For practical purposes, it’s probably good enough. You could write a program to check whether it’s non-repeating up to N digits, so just set N high enough that it will last you for a few thousand releases…
I have a similar story. I started a new job and inherited a ball of mud written in Python while the creator was out for a few weeks. When he got back, he was grumpy about my changes. I guess he preferred it with more bugs 🤷♂️
Or maybe behind a keyed lock in the office? Not a keypad, a physical key.
the test environment
The test environment? I don’t miss the web dev world. It’s so nice to be able to run end-to-end tests entirely locally.
I loved my 1600x1200 Viewsonic, used it till 2010 or so. The flicker wasn’t ideal, but man the colors were so much more vibrant than shitty LCD screens of the 2000s were capable of. These days, I think Apple’s fancy LCDs with HDR win on all fronts, but it took a while to get here.
Yeah, there really should be some expectation of stewardship in exchange for absurd post-Disney copyright durations.