Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Joker_vD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
841.
▲
by
Joker_vD
1y ago
> before C23 anyway Did they change "suitably aligned for any object type" to "suitably aligned for any object type with size less than or equal to what was requested" or something like in C23?
842.
▲
by
Joker_vD
1y ago
For instance, because you are prohibited from passing NULL to e.g. memcpy and lots of other library functions from memory.h/string.h, even when you explicitly specify a size of 0. Another use was to use it to mint unique cookies/a
843.
▲
by
Joker_vD
1y ago
There was GNU Hurd in development at the time (which is actually a microkernel), with the first public release in 1990. Needless to say, it never amounted to much.
844.
▲
by
Joker_vD
1y ago
> An emoji can render as one or two or three or more glyphs depending on what font the user has installed, And how the program that prints such emojis should deal with this? Like, how should e.g. readline handle the user pressing the Bac
845.
▲
by
Joker_vD
1y ago
Ignoring the escape sequences a terminal doesn't understand, or doesn't want to deal with is explicitly allowed (required, even) by the ECMA-48 standard. And DECHDL is not "standard" by any means.
846.
▲
by
Joker_vD
1y ago
The main problem is not even if the terminal itself can track the grapheme width "correctly". It's a) the fonts suck; b) does the terminal user tracks the width correctly? About a): some fonts have the glyphs for e.g. the pla
847.
▲
by
Joker_vD
1y ago
> Maintain consistency across boundaries. When input in processed in multiple services, ensure consistent parsing behavior by always using the same parser or implement additional validation layers, such as the strictJSONParse function sh
848.
▲
by
Joker_vD
1y ago
Oooh, there is an "-MP" flag, which does... something? Anyway, it's all just a gigantic hack at this point: if we defer to gcc to figure out the accurate dependencies anyway, why do we even use make in the first place? I mean
849.
▲
by
Joker_vD
1y ago
> Ultimately the CEO’s job is to eat responsibility, the LLM can’t be given a golden parachute and pushed out the window when the company has a bad quarter, so it is functionally useless. So the shareholders vote to switch from ChatGPT t
850.
▲
by
Joker_vD
1y ago
I know I can do that. But it's fiddly, and doesn't really save time for small to medium projects: on small projects, full recompilation is fast enough that the time to regularly re-run "gcc -MMD" is actually noticeable
851.
▲
by
Joker_vD
1y ago
> designed something completely byzantine and weird. Time was invested, so no stopping now or ever. [...] is a dead horse. Made edible by sufficient fermentation and mobile towards the finish line by declaring the rot spreading over the
852.
▲
by
Joker_vD
1y ago
From the mentioned Reddit thread: > Go back and tell the CEO, great news: we can save eight times as much money by replacing our CEO with an AI. The funny ("funny"?) thing is, this is proposal is somehow missing in most discuss
853.
▲
by
Joker_vD
1y ago
Almost all modern-ish languages are sensitive to whitespace, you can't write e.g. "voidfunc(intx){return0;}" in C. In fact, I don't think there is any other space-insensitive language except from early versions of FORTRA
854.
▲
by
Joker_vD
1y ago
You know, for small-ish C projects I found that the easiest way to handle "which .h files do the .c files depend on" question is to just say "on all of them". SOURCE_FILES := $(wildcard $(SRC_DIR)/*.c) HEA
855.
▲
by
Joker_vD
1y ago
> Designing a modern and secure kernel in 2025 as a monolith is a laughable proposition. I've seen this exact opinion before, only the year in it was "1992". And yet Linux was still made and written regardless of it.
856.
▲
by
Joker_vD
1y ago
Ah, so it's like the Order of the October Star: certain people have simply realized that they are entitled to wear it. Or, rather, that they had always been entitled to wear it. Got it.
857.
▲
by
Joker_vD
1y ago
Article literally starts with One way to solve this is end-to-end encryption. You and your friend agree on a secret key, known only to each other. You each use that key to encrypt your changes before sending them, decrypt them
858.
▲
by
Joker_vD
1y ago
I... still can't make heads or tails out of this description. Let me restate how I understand the scheme in TFA: there are two people, editing on the same document using CRDTs. When one person makes an edit, they push an encrypted CRDT
859.
▲
by
Joker_vD
1y ago
> Now, however, the server can no longer understand the changes you send. If you want to see your friend’s latest changes, you’ll need to both be online at the same time. What? No, the server sends you the changes you've not seen ye
860.
▲
by
Joker_vD
1y ago
So? You seem to be missing the minor premise in your comment which explains how having the knowledge of the program's inner workings translates into putting you in charge of deciding how to sand box it. In fact I'd argue it's
861.
▲
by
Joker_vD
1y ago
> How easy is it for a developer to "sandbox" their program? Why on earth is that the program developer's job and/or duty? If the user (stupidly) wants to run a program completely un-sandboxed, that's their rig
862.
▲
by
Joker_vD
1y ago
> most people find it difficult to remember the exact orientation of the frame. Isn't it Δ∇Λ welded together? The bottom left and right vertices are where the wheels are attached to, the middle bottom point is where the big gear wit
863.
▲
by
Joker_vD
1y ago
> A comma would be fine too, because a declaration can contain a comma-separated list of things to declare. int foo(double), bar(int, int); is valid C, apparently. Which makes sense, now that I think of it, but I'd rather n
864.
▲
by
Joker_vD
1y ago
> Sometimes only the patch version of the library is different so it shouldn't be breaking anything... but it does! Still have flashbacks from that one time when some dependency in our Go project dropped support for go1.18 in its pa
865.
▲
by
Joker_vD
1y ago
What's the guidance when URI paths include a slash? pkg:github.com%2Ffoobar/go-whatnot
866.
▲
by
Joker_vD
1y ago
> I’m too afraid to use non-ASCII in filenames much. I suggest installing a fresh Linux distribution with e.g. bg_BG.UTF-8 locale and playing with it, especially with XDG directories like "Плот", "Свалени" and "Д
867.
▲
by
Joker_vD
1y ago
Yes, it would: add_large_const: add w8, w0, #43, lsl #12 add w0, w8, #42 ret The same happens e.g. on RISC-V: add_large_const: lui a5,43 addi a5,a5
868.
▲
by
Joker_vD
1y ago
You could replicate the Word file twice, using 1752 kB, and it'll correct up to ≈7 million one-bit errors as long as there is at most one error at three equivalent bit offsets.
869.
▲
by
Joker_vD
1y ago
waves his hands right before your nose "The air is common! I am not touching you!" Well, it's still obnoxious. Either fly over the roads, or fly high enough (50 m? 100?) to be unreachable.
870.
▲
by
Joker_vD
1y ago
The whole blogpost reads surprisingly angry, for some reason. Is it just my impression? > And Google can go to hell. Oh, apparently the tone is intended. Why though?..
More ›