Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmitrygr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
241.
▲
by
dmitrygr
5mo ago
For signed. Unsigned overflow was defined for a while now.
242.
▲
by
dmitrygr
5mo ago
I do not see there a promise that the cast will produce an invalid pointer, nor anything prohibiting the compiler from rounding the pointer down, thus producing a valid one. “Converted” does not require bit copy. I don’t see how this interp
243.
▲
by
dmitrygr
5mo ago
Fun story: even the latest C spec doesn’t require CHAR_BIT == 8, but it does now codify 2s complement int representation. (IIRC)
244.
▲
by
dmitrygr
5mo ago
That cast is valid. Spec does not guarantee same bit sequence for resulting pointer and source pointer. But as the cast is explicitly allowed, it is not UB. Compiler is free to round the pointer down. Or up. Or even sideways. All ok. Derefe
245.
▲
by
dmitrygr
5mo ago
I stoped reading about here: > bool parse_packet(const uint8_t* bytes) { > const int* magic_intp = (const int*)bytes; // UB! Author, if you are reading this, please cite the spec section explaining that this
246.
▲
by
dmitrygr
5mo ago
posted above.
247.
▲
by
dmitrygr
5mo ago
magnet:?xt=urn:btih:24badf9996920185291b39f209cd820aa87fda0d&dn=virtual_os_museum-2026.05.19-full.zip&ws=http%3a%2f%2fdownloads.virtualosmuseum.org%2fvirtual_os_museum-2026.05.19-full.zip&ws=https%3a%2f%2fdownloads.virtualosmuse
248.
▲
by
dmitrygr
5mo ago
#16, 115/120GB and it is not resuming ... 2026-05-19 16:23:03 ERROR 522: <none>. #23, 118.5/120GB and going again
249.
▲
by
dmitrygr
5mo ago
If my download ever finishes i'll spin up a torrent. So far on retry/resume #12, 97.3/120GB done (i am live updating this comment as long as i can)
250.
▲
by
dmitrygr
5mo ago
Libc still unaffected. Write native code. Your users will thank you
251.
▲
by
dmitrygr
5mo ago
ENC28J60 + PIC18 was a typical demo microchip gave out doing precisely this 20 years ago
252.
▲
by
dmitrygr
5mo ago
> You go to the dark side. And you are amazed. And your users hate you and look for alternatives.
253.
▲
by
dmitrygr
5mo ago
If you believe Boom, let me know if you'd be interested in a bet. I'll take the "not gonna happen" side of that for any amount.
254.
▲
by
dmitrygr
5mo ago
yes, but it was rather choosy with the rest of the hardware
255.
▲
by
dmitrygr
5mo ago
probably cause it is just CE 2.11? either you have seen it and seeing it again is pointless, or you do not know what CE is, and the headline means nothing to you
256.
▲
by
dmitrygr
5mo ago
There are already proper procedures for doing this. If the users did something illegal, you can go after them. If you prove that somebody actively enabled or encouraged them, you go after them. But even if the app actively enabled or encour
257.
▲
by
dmitrygr
5mo ago
May I have a challenge drive just for the challenge (not interested in switching jobs)?
258.
▲
by
dmitrygr
5mo ago
Only a few years ago, i would have used this and donated some bucks for the effort. But apple silicon has made x86 laptops irrelevant, and i haven't owned a desktop in decades. Sad, since windows 7 is the second-best looking OS i'
259.
▲
by
dmitrygr
5mo ago
I never learned to properly touch type, i have my own method, somehow, which uses two fingers of the left hand and three of the right. Spacebar being pressed too soon or too late is, sadly, common :(
260.
▲
by
dmitrygr
5mo ago
In GM cars (as observed in my last few), the logic is in the head unit: "mic on -> hvac lower", while "hotword detect" uses a different "mic on" method that does not EDIT, previously "does not" abo
261.
▲
by
dmitrygr
5mo ago
Spelling is not my forte. Fixed it, thank you.
262.
▲
by
dmitrygr
5mo ago
Pimoroni Presto ( https://shop.pimoroni.com/products/presto ) + some firmware you can write for fun :)
263.
▲
by
dmitrygr
5mo ago
both forth and java would have made more sense than a custom vm. not sure why they went this way on ARM. on 6502 it makes sense though. small cpu -> custom work needed
264.
▲
by
dmitrygr
5mo ago
no, but i hope someday someone will make that happen. i provide enough info and reference material
265.
▲
by
dmitrygr
5mo ago
that is why it was not "static const char buf[]" ;) it was not an accident executable stacks are still common (incl on windows with some settings), and sometimes they are required (eg for gcc nested functions)
266.
▲
by
dmitrygr
5mo ago
Cute, but Rice's theorem remains, and while they translated every byte as code, still no handling is possible for char buf[] = {0xB8, 0x2A, 0x00, 0x00, 0x00, 0xC3}; return ((int (*)(void))buf)(); static translation is only p
267.
▲
by
dmitrygr
5mo ago
That is a gross misrepresentation of the situation. Old batteries' internal resistance rises and they become unable to deliver high current. If you try, thanks to V=IR, the output voltage will droop and you'll brown out. Limiting
268.
▲
by
dmitrygr
5mo ago
> Whether it contains any truth or facts or information at all is besides the point The definition of bullshit in the original article was precisely this: no care given to whether there is truth in what is said.
269.
▲
by
dmitrygr
5mo ago
>The person next to you, who is willing to fake the demo and declare victory on LinkedIn even before the launch, is going to look more successful than you. This is not new, sadly. At least in USA schools, cheating is quite preval
270.
▲
by
dmitrygr
5mo ago
> bullshitter is not the same as the liar, because the liar at least respects the truth enough to try to hide it, but the bullshitter does not care whether what they are saying is true or false thus, by definition, all LLMs are bullshitt
More ›