Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
colanderman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
colanderman
1y ago
From your own link: > The trapsleds implemented in this diff convert NOP sleds longer than 2 bytes from a series of 0x66666690 instructions to a 2 byte short JMP over a series of INT3 instructions that fill the rest of the gap. The BMI i
32.
▲
by
colanderman
1y ago
Hex D4xxxxxx is indeed (almost) BRK... on ARM 64 [1]. Being ARM32, these should be BKPT (hex BExx). [2] [1] https://developer.arm.com/documentation/ddi0602/2025-06/Base... [2] https://developer.ar
33.
▲
by
colanderman
1y ago
You are misunderstanding the purpose of the initial jump in a trap sled. It is to redirect code which expects to flow through the sled past the traps, while leaving the traps for anything else which lands in that range. The padding the ar
34.
▲
by
colanderman
1y ago
The instructions have to be trap instructions for it to work. The conditional branch-backward instruction it is is almost as bad as the series of NOPs, since it is still likely to redirect an attacker to functioning code. (If the attacker
35.
▲
by
colanderman
1y ago
Instead now, you throw everything away when moving to a new language ecosystem. Would love to see parts of languages become aligned in the same manner that CPUs did, so some constructs become portable and compatible between languages.
36.
▲
by
colanderman
1y ago
(Having pondered this a day) this is a good question and I do not know! I think this would be straightforward to perform a waveguide simulation of though.
37.
▲
by
colanderman
1y ago
> translations […] always fail to do justice I agree with you, yet sometimes, serendipity prevails, and a frying pan becomes a drying pan. [1] [1] https://knowyourmeme.com/memes/ill-use-my-trusty-frying-pan-...
38.
▲
by
colanderman
1y ago
Not what's within each wire, but what is between the pair of wires is what matters. (Assuming of course the wires conduct well, as BenjiWiebe points out.) And yes, using air instead of dielectric results in signal velocity near c . (A
39.
▲
by
colanderman
1y ago
Yes, if the conductor is poor, it will have losses -- but still it is not the material by which power is conducted to the load. (Rather, because its resistivity creates an E field along its length and within it, you now have a nonzero Poynt
40.
▲
by
colanderman
1y ago
Don't know why you were downvoted, this is true. RF energy is carried primarily (solely?) by the dielectric, not the copper itself, simply by virtue of the fact that this is where the E and M fields (and therefore Poynting vector) are
41.
▲
by
colanderman
1y ago
Peltier heat pumps, though less efficient than other types, can be made very small and have no moving parts.
42.
▲
by
colanderman
1y ago
I find that directly propagating errors upwards is an antipattern. In many/most cases, the caller has less information than you do for how to deal with the error. (Your library, after all, is an abstraction, of which such an error is a
43.
▲
by
colanderman
1y ago
thiserror automates all of that: https://docs.rs/thiserror/latest/thiserror/ Highly recommended.
44.
▲
by
colanderman
1y ago
One could imagine a PNG file which contains a low-resolution version of the image with a traditional compression algorithm, and encodes additional higher-resolution detail using a new compression algorithm.
45.
▲
by
colanderman
1y ago
Nope jumping spiders are the worst kind. So are big fuzzy spiders. They're not insectlike, but in some weird uncanny valley between insect and mammal. And they can JUMP onto you. Nope nope nope.
46.
▲
by
colanderman
1y ago
That #define trick is not valid due to how C++ groups members of different visibility classes together. See e.g. https://stackoverflow.com/a/36149568 It will work until it doesn't.
47.
▲
by
colanderman
1y ago
Yes, it does matter even in functionally pure languages. If the inner structure of your API's types are visible to callers, that's now part of your API, because callers can and will start to rely on that specific representation. N
48.
▲
by
colanderman
1y ago
Same exact experience here. Nearly borked my entire installation trying to get that to work.
49.
▲
by
colanderman
1y ago
Really? As of a couple months ago I nearly totally hosed my Debian installation trying to get Wayland GDM working under Nvidia.
50.
▲
by
colanderman
1y ago
Note that the particular category of "missing" matter is "hot intergalactic gas", not dark matter.
51.
▲
by
colanderman
1y ago
See also: emergent fox-treasure gravity in Skyrim: https://www.eurogamer.net/skyrims-myth-of-the-treasure-fox-f... TLDR: areas around treasure have higher entropy by a measure relevant primarily to stochastic movement of fo
52.
▲
by
colanderman
1y ago
I suspect the equivalent for 90s/00s nerdy types is e-mail addresses. I am still "squirrel" to some college friends. And think of many of my college friends and co-workers as their username.
53.
▲
by
colanderman
1y ago
You are being snarky and disingenuous. People have been arrested for miscarrying in the US.
54.
▲
by
colanderman
1y ago
Most abortions do not result from planned pregnancies. It's not a problem until it suddenly is.
55.
▲
by
colanderman
1y ago
Maybe you are completely unaware, but many US states have criminalized abortion. Pregnancies and abortions are detectable from menstrual data.
56.
▲
by
colanderman
1y ago
Also the Beagle Bros software and books for the Apple // series. They even had a semi regular "contest" where readers would submit "two-liners" which they'd then judge and distribute via floppy. That cultu
57.
▲
by
colanderman
1y ago
Oh yes! This works with other intensifiers as well. "Crazy good", "wicked bad", "mad smart", etc. To my ears, eliding the -ly changes the meaning from the literal reading, to specifically the intensifier readin
58.
▲
by
colanderman
1y ago
I do this. I think this applies only to adverbs modifying verbs. Adverbs modifying adjectives or participles stay put. "She runs quick," is a thing I'd say. "***The topic was hot debated," would be ungrammatical to
59.
▲
by
colanderman
1y ago
I really don't understand your point. Are you nitpicking the wording of my figure of speech? The officer I spoke to didn't understand what a right hook was, despite standing next to a bicycle.
60.
▲
by
colanderman
1y ago
I was confusing it with the "Dutch reach". E-bikes are becoming dominant in Boston/Cambridge also. The Citi Bikes are fine, they're small and slow (and frankly the problem with them is new riders who are seemingly comple
More ›