Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Joker_vD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
901.
▲
by
Joker_vD
1y ago
That's the first time I've seen a site that resists the zooming so stubbornly. From what I can tell, it has style="font-size: XXX%" attribute right on top of the <html> element and dynamically recalculates the perc
902.
▲
by
Joker_vD
1y ago
"Three-act storytelling, three-act storytelling everywhere — especially if you squint hard enough to ignore parts that don't fit into the three-act storytelling framework". After all, if there is some clump of tension/ac
903.
▲
by
Joker_vD
1y ago
As someone who can't stand Ruby, I am personally against this feature. I'd rather have my Ruby experience universally miserable, with no deception, instead of having, say, half of the language decent and sane, and another half, we
904.
▲
by
Joker_vD
1y ago
Quite lapidary. But enlightening: I did not previously know that CHERI had explicit tool (CCall) to implement the unspoofable "restore privileges and return from subroutine" instruction.
905.
▲
by
Joker_vD
1y ago
Huh. When I've tried to sell my soul, I was scolded that trying to sell something you don't own in the first place is bad style. Oh, and they've also changed my last name to "Asshole" in all of my papers, such petti
906.
▲
by
Joker_vD
1y ago
Okay, so let's say you have this untrusted block of code: L0: move r0, #0 move r1, #0 load.w r2, [r0] add r1, r1, r2 store.w [r0], #0 add r0, #wordSize bz
907.
▲
by
Joker_vD
1y ago
What is "injector"? Is this the Service Locator anti-pattern? The application's entry point takes the God Object of capabilities, slices it accordingly to what it thinks its submodules should be able to access, and then initi
908.
▲
by
Joker_vD
1y ago
> you can use emoji domains right now ICANN, by the way, heavily discourages such domain names, even though it can't actually prohibit them: yes, RFC 5892 explicitly prohibits emoji code points in internationalized domain names but
909.
▲
by
Joker_vD
1y ago
Like the accessibility ramp that has a sign post right in the middle of it.
910.
▲
by
Joker_vD
1y ago
Useless bit of compiler optimizations trivia: the "this printf() is equivalent to puts()" optimization seems to work by looking for the '%' in the format string, not by counting whether there is only one argument to prin
911.
▲
by
Joker_vD
2y ago
But what if LLMs will start leaving constructive and helpful comments? I personally would feel like xkcd [0], but others may disagree. [0] https://xkcd.com/810/
912.
▲
by
Joker_vD
2y ago
All members of the exec family of system calls, which consists of only two syscalls, namely, execve(2) and execveat(2), literally have the envp parameter which is supposed to have all the environment variables for the process. Now, the se
913.
▲
by
Joker_vD
2y ago
> It took years for glibc to provide getrandom. A tangent: Robert Clausecker, the guy who submitted the proposal for adding tcgetwinsize() and SIGWINCH to POSIX, apparently did it because it "is probably the easiest way to get glibc
914.
▲
by
Joker_vD
2y ago
Daniel Huang, the one that wrote TFA? People are different, I don't know what else to tell you. But generally, people don't read man pages or docs.
915.
▲
by
Joker_vD
2y ago
Why not? Every executable is started with execve(2) syscall which takes an array of the environment variables that the kernel use to reset the process's environment variables it inherited from its parent, so obviously the kernel has
916.
▲
by
Joker_vD
2y ago
The fact that the Linux kernel does not track environment variables of the processes is not a "fundamental". The setenv/getenv could very well have been syscalls, it's simply a design decision that they are not. One c
917.
▲
by
Joker_vD
2y ago
Which is the universally known convention everyone is born with inherent knowledge of. Also, people read man-pages.
918.
▲
by
Joker_vD
2y ago
The critique of "An Axiomatic Basis for Computer Programming" is pretty much on spot though. The humble "procedure call" was not given a satisfactory Hoare's rule until the late 80s, for instance.
919.
▲
by
Joker_vD
2y ago
Here's that rant of a blog from D.J. Bernstein [0] about how "[3, 7, 42]" citation style is superior and promotes scientific progress that I was thinking about when I wrote my comment. I personally find most of his reasoning
920.
▲
by
Joker_vD
2y ago
I am fairly certain this rule was there against an obnoxious citing style of "The lambda calculus [1] was intended as a foundation for mathematics". It is especially obnoxious in the case of CS because when you cite e.g. "as
921.
▲
by
Joker_vD
2y ago
The C++ compilers at least don't usually miscompile your source code. And when they do, it happens very rarely, mostly in obscure corners of the language, and it's kind of a big deal, and the compiler developers fix it. Compare to
922.
▲
by
Joker_vD
2y ago
Why, again, software in the Linux world has to be packaged for multiple distributions? On the Windows side, if you make installer for Windows 7, it will still work on Windows 11. And to the boot, you don't have to go through some Micro
923.
▲
by
Joker_vD
2y ago
I simply include a base64-encoded PNG with the facsimile of my signature in the commit message, if I'm being really pushed to "sign my commit", it has about the same power of attestation as the cryptographic means. So far, I
924.
▲
by
Joker_vD
2y ago
"The horse was the best worker in the kolkhoz , but never became its chairman". Heck, there is an entirely too depressing to read (but probably mostly correct) theory about how the office politics work [0] and I imagine it roughl
925.
▲
by
Joker_vD
2y ago
Every time I see the US notation for the long division I am momentarily taken aback by its topsy-turviness. Why write the dividend and divisor in the swapped order, divisor being to the left of the dividend? Why write the answer at the top
926.
▲
by
Joker_vD
2y ago
Because the legislature is not bipartisanly comfortable with writing off the student loans. Duh.
927.
▲
by
Joker_vD
2y ago
Those forms cannot really compete with the neighbouring (or even overseas) nation-states. Look no further than the history of the North America and Australia after the Europeans discovered those continents.
928.
▲
by
Joker_vD
2y ago
Here is a case were object parameters aren't the better choice: type TBinarySearchParams<T> = { needle: T; haystack: [T]; }; const binarySearch = <T,>(args: TBinarySearchParams<T>) =>
929.
▲
by
Joker_vD
2y ago
Don't know about the US, but over here the last couple of years it has been a big wave of "enable biometrics sign-in! Totes safe, your face is the best ID, just click this checkbox, please, we would really like you to use it, pret
930.
▲
by
Joker_vD
2y ago
Yes, "ought" is the past tense of "owe". At some point, the second alternative spelling "owed" was introduced to better separate the two meanings (literal and figurative), but it's still the same word; a s
More ›