News for hackers. Stuff that matters.

vegizombie

Re:SQLx – The Rust SQL Toolkit on Saturday July 26, 2025 @06:18AM (#44692919)
It's definitely not perfect, but I think both of those issues are better now, if not fully solved.

For needing a DB at compile time, there's an option to have it produce artefacts on demand that replace the DB, although you'll need to connect to a DB again each time your queries change. Even that is all optional though, if you want it to compile time check your queries.

Re:Mathematicians Discover Prime Conspiracy (2016) on Sunday February 16, 2020 @05:54AM (#22340993)
For anyone else interested, the way this was explained to me a while ago was to look at the failure mode after an H. For Alice, her failure for HT is HH, therefore her next flip can land on T, completing the sequence. For Bob, his failure mode is HT, so he now needs to flip a H before he can try for the 2nd H.
Re:The inception bar: a new phishing method on Saturday April 27, 2019 @07:31PM (#19768312)
Firefox for android keeps the bar there too.
There are tools available to strip docker images down to a specified file list. By listing only the absolute minimum of files your application needs you can cut the surface down even further. Do you really need bash on the container for example?