Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dwattttt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
931.
▲
by
dwattttt
3y ago
It's possible there's no single logging function (maybe it's a macro). Or you only want some invocations of the logging function to stop.
932.
▲
by
dwattttt
3y ago
Is it empty except for a few bits, or is every bit of space "mostly empty"?
933.
▲
by
dwattttt
3y ago
You could say exactly the same of all data; it's just 1s and 0s, but when I look I just see blonde, brunette.
934.
▲
by
dwattttt
3y ago
While true, many businesses are not US or staffed by the median waged US employee
935.
▲
by
dwattttt
3y ago
To complete the context, both of those are required for free use of Docker Desktop; 250 employees and $1k revenue would still require you to license it. EDIT: https://docs.docker.com/subscription/desktop-license/
936.
▲
by
dwattttt
3y ago
A terrific teardown of tracking down an unexpected O(n^2): https://randomascii.wordpress.com/2021/02/16/arranging-invis...
937.
▲
by
dwattttt
3y ago
If you're choosing the next token based on a list of valid next tokens, a uniform random distribution can always generate valid JSON too!
938.
▲
by
dwattttt
3y ago
The problem isn't that the compiler chooses not to compile something if it deems it broken. The problem is that the broken code's behaviour is coupled to the compiler of the time. The behaviour you want isn't "compile th
939.
▲
by
dwattttt
3y ago
I would assume the problem comes up the next time his CV gets rejected for not having "Continuous Integration" on it.
940.
▲
by
dwattttt
3y ago
To be clear, that is a property of some cryptography; without knowing the key any decryption is equally likely (i.e. there's no one 'valid' decryption result)
941.
▲
by
dwattttt
3y ago
I haven't had need to use it, but an improvement on the "I have an index to an object which has been replaced" has been to add a generation to the collection & index, a la the generational_arena crate. If the generation a
942.
▲
by
dwattttt
3y ago
An adversary can turn a double free into a use after free by causing an object to be allocated in-between the two free operations at the same address
943.
▲
Windows 11 insider preview now shipping with Rust in the kernel
(twitter.com)
33 points
by
dwattttt
3y ago
|
6 comments
944.
▲
by
dwattttt
3y ago
I'm unfamiliar with the particulars of passkeys, but with hardware tokens I've used before, you'd log in ASAP and unenroll the keys you've lost custody of. edit: spelling
945.
▲
by
dwattttt
4y ago
True, but there are quite a few CVEs (of varying severity) https://www.cvedetails.com/vulnerability-list/vendor_id-9237... Another way to look at that is "SQlite has had these bugs in the past, and our standards a
946.
▲
by
dwattttt
4y ago
Someone will likely be able to answer more specifically, but I seem to recall an old common operation was filling fixed width text fields; truncating a message would make sense there (not ideal, but probably familiar).
947.
▲
by
dwattttt
4y ago
Strictly speaking the update process isn't able to update to the new version without the existing file ( https://devblogs.microsoft.com/oldnewthing/20200213-00/?p=10... ). As noted on the blog post, the solutio
948.
▲
by
dwattttt
4y ago
A quick Google suggests the Tesla S, X, 3, and Y all have multiple CAN buses ( https://teslatap.com/modifications/extracting-internal-vehic... )
949.
▲
by
dwattttt
4y ago
It could be designed either way; shared memory could allow current velocity etc to be shared between processes, or it could just not be shared. I haven't checked this implementation to see which it would be
950.
▲
by
dwattttt
4y ago
While I agree with everything said and celebrate the availability of open source tooling for just about anything, there's an indictment in here that the possibility of researchers paying for tools they need to work is relegated to the
951.
▲
by
dwattttt
4y ago
That was very much not the default expectation; expecting that things wouldn't break would mean you could update with no oversight, and I don't know a time when that was ever expected. Things broke all the time, the default expect
952.
▲
by
dwattttt
4y ago
You're going to rapidly run out of limousines and lakeside penthouses if you need to persuade a majority of the Swiss
953.
▲
by
dwattttt
4y ago
I found this thorough breakdown of how modern Windows boots: https://igor-blue.github.io/2021/02/04/secure-boot.html
954.
▲
Windows is putting Rust in the kernel
(twitter.com)
4 points
by
dwattttt
4y ago
|
0 comments
955.
▲
by
dwattttt
4y ago
According to the diagrams, the author lives in a well trained household where dirty dishes created by others are placed directly into the dishwasher, if the dishwasher contains dirty dishes.
956.
▲
by
dwattttt
4y ago
If you need fallible cleanup, but also to try cleanup via RAII, it isn't hard to have a "cleanup" method that signals whether it succeeded, and an "already cleaned up" boolean member the destructor checks.
957.
▲
by
dwattttt
4y ago
> It's just a thing you have to remember ... The more of these things there are, the more brainpower you devote to remembering the right way to do things; if you don't you introduce bugs, a subtle, painful one here.
958.
▲
by
dwattttt
4y ago
HPKP isn't a centrally managed list, it's remembered by clients who've received HPKP headers when visiting your site (or in this case, the attacker controlled site at your domain).
959.
▲
by
dwattttt
4y ago
Assuming this limit has even been the cause of a vulnerability before: https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg038...
960.
▲
by
dwattttt
4y ago
Refreshing the crates index has gotten quite slow because it currently downloads the entire index, regardless of which bits you need. There's a trial of a new protocol happening now, due for release in March, that should speed this up
More ›