Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
pdw
6y ago
musl is implementing POSIX. POSIX requires those constants to be preprocessor defines. (Generally, musl asssumes the reader is quite familiar with the C and POSIX standards, which makes sense since it's a libc implementation.)
242.
▲
by
pdw
7y ago
I don't think sqlite uses direct IO -- at least there's no mention of O_DIRECT in the source code
243.
▲
by
pdw
7y ago
I'm pretty sure the specification of this class predates name-based virtual hosting. After all, that only appeared in 1997, or perhaps late 1996, and it took a couple of years to be standardized. The URL class existed in Java in 1995 :
244.
▲
by
pdw
7y ago
Those have an escape key, but the VT220 doesn't.
245.
▲
by
pdw
7y ago
ASCII was designed for typewriters, not video terminals. "×" is the same as "x". "÷" can be made by overstriking ":" and "-". The quotation marks needed to also function as accents, by over
246.
▲
by
pdw
7y ago
To counter that, they're working on a bootstrap chain that starts with a tiny 500 byte hex editor and ends with a compiler that can build the GNU toolchain.
247.
▲
by
pdw
7y ago
I don't see how that's materially different. It still amounts to "Stallman thinks it's acceptable to rape a child in certain circumstances."
248.
▲
by
pdw
7y ago
Insignificant compared to the time needed to load the program from disk :)
249.
▲
by
pdw
7y ago
Turbo Pascal is old enough that (I think) they probably wanted to keep compatibility with machines that ran MS-DOS but weren't IBM PC-compatible. If that's the case, messing with the timer interrupt would've been a bad idea.
250.
▲
by
pdw
7y ago
I knew Oracle offered something like that (implemented by grafting the SQLite frontend/VM on top of Berkeley DB). But it'd be really cool to see page-level locking appear in standard SQLite version.
251.
▲
by
pdw
7y ago
The story I heard was that the trigraphs were added during standardization because ISO 646, the international version of ASCII, did not require the characters [ \ ] { | }. Fun fact: ISO 646 is also the reason that IRC allows these characte
252.
▲
by
pdw
7y ago
seccomp is such a sad story. In theory seccomp can do a lot more than OpenBSD's pledge. In practice, the OpenBSD devs added pledge support with comparatively little effort to 100s of programs, while seccomp is a constant headache for t
253.
▲
by
pdw
7y ago
Well, the Italian government agreed to those terms when they bought the certificates. If they didn't like that, they could've gotten them from somewhere else, or maybe set up a CA of their own, governed according to their own poli
254.
▲
by
pdw
7y ago
Yes, speedruns are humans playing the game live. If preprogrammed inputs or whatever are used, the term TAS (tool-assisted speedrun) is used. Calling a TAS a speedrun would be a faux pas.
255.
▲
by
pdw
7y ago
The link should be read tongue in cheek, it's presented here out of context. https://www.reddit.com/r/speedrun/comments/c2xapo/i_thought_... "Totally joking with that post. I have no hard feeli
256.
▲
by
pdw
7y ago
I believe they've been optional in every version of HTML. The example document in the HTML+ spec (1993) did not use them: https://www.w3.org/MarkUp/HTMLPlus/htmlplus_7.html The HTML 2.0 spec gives this as its
257.
▲
by
pdw
7y ago
And to complete the story, I'm guessing that that old struct likely got serialized in the DCE protocol as dword/word/word/bytes, so the struct layout remained unchanged to maintain compatibility, even as the definition o
258.
▲
by
pdw
7y ago
But the string representation has five fields, not four. There might be an interesting story in tracing the history of GUIDs through the ages... I found some 1987 code dealing with UUIDs here: https://stuff.mit.edu/afs/
259.
▲
by
pdw
7y ago
I never understood why GUIDs were defined as typedef struct _GUID { DWORD Data1; WORD Data2; WORD Data3; BYTE Data4[8]; } GUID; rather than simply typedef struct _GUID { BYTE Data[16]; } GUID; I get
260.
▲
by
pdw
7y ago
Richard Hipp explains the techniques he used to optimize SQLite. While this was a presentation at a TCL event, there's nothing in his explanation that's particular to TCL.
261.
▲
Richard Hipp on improving performance using micro-optimizations
(youtube.com)
2 points
by
pdw
7y ago
|
1 comments
262.
▲
by
pdw
8y ago
That might not actually be enough -- I've seen gmail collapse emails with distinct subject lines. The format was something like "[foo] Password reset" and "[bar] Password reset".
263.
▲
by
pdw
8y ago
You're talking as if this were a recent change. GNU true --help has existed for about 28 years now (it was introduced in sh-utils 1.7). That's more than half of Unix's existence.
264.
▲
by
pdw
8y ago
Even with TLS, Eve can still see the size of the transfer. That's enough to reliably guess which packages were fetched.
265.
▲
by
pdw
8y ago
The Go Mono font is a modern iteration of that concept. I love it. https://blog.golang.org/go-fonts
266.
▲
by
pdw
8y ago
That's disappointing. The Android calculator has an awesome arbitrary precision engine (implemented by Hans Boehm!). https://cacm.acm.org/magazines/2017/8/219594-small-data-comp...
267.
▲
by
pdw
8y ago
I'd expect char to be signed, because all other integer types are signed by default.
268.
▲
by
pdw
8y ago
PowerPC assembly is going to blow this guy's mind.
269.
▲
More Ghostscript Issues, “I expect there to be several dozen unique bugs.”
(openwall.com)
2 points
by
pdw
8y ago
|
0 comments
270.
▲
by
pdw
8y ago
From Wikipedia: In their Statement of Objections, the European Commission accused Google of the breach of EU antitrust rules in three ways: - by requiring mobile manufacturers to pre-install Google Search and Google Chrome browser and requi
More ›