Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drfuchs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
drfuchs
6y ago
It would be nice if the error messages generated would suggest replacement functions that they deem appropriate. I see that I'm not supposed to use gmtime, localtime, ctime, ctime_r, asctime, and asctime_r; but what do they think I s
242.
▲
by
drfuchs
6y ago
Child support is intended to cover the expenses of the child - food, clothing, education, medical, etc. It's not meant to pay for the time spent by the custodial parent in actually doing the parenting, nor any sort of "opportunit
243.
▲
by
drfuchs
6y ago
Important to note that it's a "Chapter 11" bankruptcy, which loosely translates to "Our creditors and shareholders will take a big loss, but we'll keep operating and hopefully our customers won't notice a thing
244.
▲
by
drfuchs
6y ago
Wirth's original, standard Pascal allowed for int/char/bool/enum, and ranges thereof, as array bounds; it wasn't a Delphi enhancement.
245.
▲
by
drfuchs
6y ago
Ranged types are directly from Pascal. You can also use them to specify the valid indexes for an array (so a given array might be zero-based, or one-based, or 1900-based, or even -32768-based). A very positive feature, I agree.
246.
▲
by
drfuchs
6y ago
At the time, Knuth was exclusively using a PDP-10, "SAIL", running the WAITS time-share operating system. If you look at early ARPAnet maps, you'll see that maybe half of the machines were DEC PDP-20's; certainly at Stan
247.
▲
by
drfuchs
6y ago
Quoting the "Preface to the Revised Report" in my link: "...the language defined in THIS Revised Report is called STANDARD PASCAL." Two paragraphs later: "... the new procedures READLN, WRITELN, and EOLN have been i
248.
▲
by
drfuchs
6y ago
No, I’m looking at Pascal from a 1978 perspective. If there had been a good C compiler for the PDP10, TeX would not have been written in, actually, a macro language on top of Pascal (to help work around its shortcomings both in string handl
249.
▲
by
drfuchs
6y ago
Writeln is certainly in Wirth’s “Silver Book” Pascal standard, hot off his horrible line printer in 1974: https://dl101.zlibcdn.com/dtoken/78641b52ce049f6f7825c9e8f81...
250.
▲
by
drfuchs
6y ago
You are incorrect. Wirth Pascal has writeln, and in fact that is the only well-defined way to output a “newline”. There is no notion of \n or \r. (Gory details: when eoln(f) is true, the file variable f^ is supposed to be the space charac
251.
▲
by
drfuchs
6y ago
... and a few more: You can convert enum->int, but you can't go the other way. All text input files must have eoln() defined at all times, so if an when you manage to open stdin, the program must halt until the user types a line of
252.
▲
by
drfuchs
6y ago
Pascal, as defined by Wirth, is just horrible. No "fopen" to open files of a given name in the filesystem. In fact, no "open/creat", nor any other system calls at all. No "extern", no "#include",
253.
▲
‘Innovation Zones’ to create semi-autonomous county at behest of Blockchains LLC
(thenevadaindependent.com)
2 points
by
drfuchs
6y ago
|
0 comments
254.
▲
by
drfuchs
6y ago
At least this is an improvement over the King Henry VIII technique for gaining a male heir (flawed though it was).
255.
▲
by
drfuchs
6y ago
Easy to compete with ChargePoint. Most of them are in expensive garages, and charge more on top of the parking fee (and more than gas would cost for the same mileage, to boot). And frequently they’re out of order, or in use, or the guy on
256.
▲
by
drfuchs
6y ago
Laurel and Hardy had a different scheme: they'd leave up all the sets, and later re-take all the scenes that had made it into the final cut, phonetically, in up to 4 additional languages. All of the other actors were replaced by native
257.
▲
by
drfuchs
6y ago
It's the one of the guy hanging out of the white structure at https://www.ilovemv.org/new-blog-1/category/public-art-tour3
258.
▲
The disappearing history of the Bay Area's themed Fry's Electronics stores
(sfgate.com)
1 points
by
drfuchs
6y ago
|
0 comments
259.
▲
by
drfuchs
6y ago
"Volume 2 of The Art of Computer Programming was the first big test case [of TeX and Metafont]. I was looking forward so much to the day when I got my first copy and I could open it up and I could see, “Oh, yes, my project has succeede
260.
▲
by
drfuchs
6y ago
Correct title: “According to DEC” (stands for “Digital Equipment Corporation”).
261.
▲
by
drfuchs
6y ago
Consider the historical parallel to the tobacco industry’s research departments. And asbestos. And lead. And talc. And etc. The researchers found that the products were harmful, but their results were squelched. “Do no harm,” indeed.
262.
▲
by
drfuchs
6y ago
"Going from two kids to three, you have to switch from one-on-one to zone defense."
263.
▲
by
drfuchs
6y ago
How do I tell it I really want to search for just "harissa" and not "Harrison", "Harriet", "Harris", "harrissee", etc.? I tried putting it in quotes, but no such luck.
264.
▲
by
drfuchs
6y ago
My researcher acquaintances at industry labs at IBM, Microsoft, HP, Xerox, ATT, Bell, DEC, Compaq, etc. never have had to have their papers reviewed internally before submitting them to conferences or journals. What's up with Google?
265.
▲
by
drfuchs
6y ago
Dolly Parton's donation was somewhere between Seed funding and Round A, so to speak, at a critical moment, and thus very worth calling out. From the article: "Parton’s $1 million donation went a long way toward funding the “critic
266.
▲
by
drfuchs
6y ago
Well said!
267.
▲
by
drfuchs
6y ago
My preferred way to test divisibility by 13: Take the number, cross off the one's digit, but multiply that digit by 9, and take the product and subtract it from the modified original number. Repeat until you only have a digit or two,
268.
▲
by
drfuchs
6y ago
Great! Question: When 64K DRAM first appeared, I remember a cover article in EDN(?) claiming that nothing denser could ever be built, because cosmic radiation would zap individual electrons, and thus flip bits too frequently, and there was
269.
▲
by
drfuchs
6y ago
Your description still has problems on architectures like x86 with instructions of different lengths. In particular, you pretty much have to use a single-byte instruction to do the trap; a multi-byte one runs the risk of clobbering other c
270.
▲
by
drfuchs
6y ago
Zig's home-grown backend is strictly for super-quick turnaround compile and link during development. For optimized release builds, they'll depend on LLVM forever.
More ›