HNHacker News
TopNewBestAskShowJobs

Pinus

640 karma · joined August 30, 2017

submissionscomments
Pinus··on KICKI: a DECsystem1060
I remember seeing this machine (or one like it, but how many dual-processor pdp-10’s can there have been?) at Stacken sometime around the mid-90’s. Even then, it was a relic from a bygone era. Strange to think that the computers that were brand new then are now older than this was at the time. Damn, I’m getting old…
Pinus··on Saving Jet Fuel
Are we looking at the same map? On the one I see, showing western and central Europe, the difference between a great circle and a loxodrome (straight line on a Mercator map) for an intra-European route would be barely visible. And the map is clearly not Mercator — France looks visibly "smashed". Looks like a simple x=longitude, y=latitude projection.
Pinus··on Anecdotally, programmers dislike "reduce"
Has the performance of sum on lists of lists in Python been fixed? It used to be pretty abysmal. But I suppose some would say that if you need to consider performance at all, you’re in the wrong language… :)
Pinus··on Google will buy half the electricity from one of Finland's nuclear power plants
I suppose a graphite moderator would fit the description.
Pinus··on Nebula Sans
A font that takes some characteristics from certain kinds of renaissance-era handwriting. See, for example, https://en.wikipedia.org/wiki/Category:Humanist_sans-serif_t... .
Pinus··on France to ban unsolicited telemarketing calls
Something similar is in place in Sweden. For landline numbers, it is of course easy. A number with, say, a Stockholm area code is not suddenly going to be in Nigeria. For mobiles it is trickier, because a Swedish mobile may very well be in Nigeria. Some additional database look-ups had to be added to the already rubegoldbergesque contraption that handles mobile phone calls.
Pinus··on How Blackwing Pencils are Made [video]
For those HN readers who are not stationery junkies: The “real” Blackwing pencils went out of production... I don’t know when, but it must be at least 15 years ago, probably longer. (I have only been watching this from the outside, so don’t ask me for details. =) ) Those sold now come from a different production line at a different company, even though the maker is trying to make them as close as possible to the original. Ever since they showed up, pencil aficionados have been debating whether they are better, worse, or about the same. Originals seem to sell for over $20 a piece on eBay (actual "sold" prices, not asking prices).
Pinus··on France is banning unsolicited telemarketing calls starting next week
If I remember correctly, a recent Gallup in Sweden indicated that about 25 % do not take calls from any unknown number. I don’t know whether this result has been corrected to take itself into account. :)
Pinus··on curl can be used to send emails with SMTP
According to Zawinski’s law, I expect curl to implement IMAP before long.

(Checks docs)

Oh.

Pinus··on Pi squared is nearly 10
More advanced slide rules typically have a set of “folded” scales, that can sometimes save a calculation from ending up off scale. In theory, these should be offset by half the scale length, i.e. sqrt(10). However, since the folded scales also offer a convenient way to multiply with the offset factor, most slide rules offset them by π instead, since it’s almost the same as sqrt(10), and multiplication by π is a more useful thing to have around.
Pinus··on IBM Confidential: System/360 File Organization [video]
The slide transition at 6:16 took me by surprise. =)

Chap needs to have his suit jacket fixed, though... that collar gap!

Pinus··on Curly braces: An evolution of Unix and C
Did anyone ever actually use trigraphs or digraphs in C? All I ever saw in Sweden (where the most commonly used seven-bit character encoding lacked brackets, braces, backslash and vertical bar) was to just use the same code points and writing int main(int argc, char argvÄÅ) ä ... å, or setting your terminal to use USASCII, l|{v}ng your pl{}n t|xt look}ng l}k| th}s.
Pinus··on The occasional ECONNRESET
I remember seeing more or less the same bug 20 years ago... "Calling" process did connect, write, close. "Answering" process did accept, write("hello"), read, close. One of them got ECONNRESET on Windows NT, but not on some Unix variant (or possibly the other way around) because there was data (the "hello") that was sent but never read.

It it nice that there are some constants in this rapidly-changing world. =)

Pinus··on Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
As for the "who would want that", I think the use case for that kind of printer today is slow logging. With a laser printer that outputs a page at a time, if you log one line per day the power fails after 65 days, you lose the 65 lines that was in its memory. The MX-80 can print a line, or even a character if you poke it in the ribs a bit, at a time, so if the power goes away, your printed lines are still there.
Pinus··on Why are we still using Markdown?
Unfortunately, the plain text does not look good, and does not offer good control of the typesetting. At least, nearly all markdown I see is almost unreadable in its “raw” state. I’d much rather read manually formatted, monospaced, text. That way, you can use asterisks as bullets, as footnote markers and as emphasis markers all at the same time, and anyone who is familiar with normal typographic conventions will understand what is what.
Pinus··on Why is this program erroneously rejected by three C++ compilers?
I finally got around to it myself. Worked just fine. (VS Code, Github Copilot, Claude Haiku 4.5).
Pinus··on Why is this program erroneously rejected by three C++ compilers?
If you just toss the image at one of those newfangled AI thingamajigs (Copilot, Claude, whatever) and say "Compile this C++ program", does it work? Someone must have tried it by now – give us a report!
Pinus··on DBASE on the Kaypro II
Thanks for writing this! I remember reading about dBase II as a kid, and now that I’m (much!) older and actually using some of the databases of today, I have sometimes wondered what those older personal-computer databases looked like.
Pinus··on Using an engineering notebook
The problem I always run into when I try something like this, is that I mostly (there are exceptions) use paper as a data processing medium (as opposed to a data recording medium). Most of what I do on paper is messy, half-baked, wrong, turns out to be a false start, whatever. Once all that is fixed, what is left gets tidied up into some sort of digital form, usually program code. I don’t want all that mess in the capital-N Notebook, but it is hard to know when to switch from backs of envelopes to the Notebook.

I suppose there might be a value in stopping right before the tidying-up stage (or perhaps right after it) and summarise the steps that led up to it (including abandoned approaches, and why) into some sort of document but that, for me, would be a digital file somewhere, not paper.

Pinus··on What's up with all those equals signs anyway?
As far as I can remember, most mail servers were fairly sane about that sort of thing, even back in the 90’s when this stuff was introduced. However, there were always these more or less motivated fears about some server somewhere running on some ancient IBM hardware using EBCDIC encoding and truncating everything to 72 characters because its model of the world was based on punched cards. So standards were written to handle all those bizarre systems. And I am sure that there is someone on HN who actually used one of those servers...
Pinus··on Is It Time for a Nordic Nuke?
From what I have understood, a significant part of the reason why Sweden scrapped its nuke program last time around, was that we found out that nukes pose more questions than they answer. Obviously, you need the nukes themselves, and a reliable delivery mechanism. Neither are cheap. Preferably, you want second-strike capability, which is kind of tricky. And you want some way of balancing things so that the enemy does not take a chance on that second-strike capability and nuke you first anyway. Then you need something to use them for. At the time, the targets would probably have been ports in the Baltic states, then (involuntary) parts of the Soviet union and likely starting points for the hypothetical Soviet invasion fleet. Could we really stomach the idea of killing a few thousand Estonian civilians, probably not too happy about being used as stepping stones by the Soviets? For most military targets, there are better weapons.

Of course, it has later been argued that by entering into various more or less hidden agreements with the US, we made ourselves nuclear targets anyway, with no formal guarantees whatsoever to show for it...

Pinus··on Cursor's latest “browser experiment” implied success without evidence
Obviously, it has to eventually build and run if there’s to be any point to it, but is it necessary that every, or even any, step along the way builds and runs? I imagine some sort of iterative set-up where one component generates code, more or less "intelligently", and others check it against the C, HTML, JavaScript, CSS and what-have-you specs, and the whole thing iterates until all the checking components are happy. The components can’t be completely separate, of course, they’d have to be more or less intermingled or convergence would be very slow (like when lcamtuf had his fuzzer generate a JPEG out of an empty file), but isn’t that basically what (large) neural networks are; tangled messes of interconnected functions that do things in ways too complicated for anyone to bother figuring out?
Pinus··on Cursor's latest “browser experiment” implied success without evidence
I haven’t studied the project that this is a comment on, but: The article notices that something that compiles, runs, and renders a trivial HTML page might be a good starting point, and I would certainly agree with that when it’s humans writing the code. But is it the only way? Instead of maintaining “builds and runs” as a constant and varying what it does, can it make sense to have “a decent-sized subset of browser functionality” as a constant and varying the “builds and runs” bit? (Admittedly, that bit does not seem to be converging here, but I’m curious in more general terms.)
Pinus··on The 500k-ton typo: Why data center copper math doesn't add up
We _have_ standardized on Earth circumferences for length, only we divide by 40 million to make the numbers more sane, and got the measurement slightly wrong!
Pinus··on Learn LaTeX in 30 Minutes
You take a language designed around the limitations of 1970’s computers and the absence of limitations of Donald Knuth’s brain, and then you build a document system on top of that. What could possibly go wrong? =)
Pinus··on Can you take an ox to Oxford?
Meanwhile, Cambridge has, or at least had a few years ago, at least one combined pedestrian/cattle tunnel (there was a fence down the middle!) under a major road.
Pinus··on 'Calvin and Hobbes' at 40
If you want something to hang on your wall, an original strip is coming up for auction in Stockholm more or less as I write. The bid is currently at over 1 MSEK (100kUSD)... https://auctionet.com/sv/events/891-the-modern-art-design-sa...
Pinus··on NaN, the not-a-number number that isn't NaN
For the built-in float type in Python, the behaviour is a bit funny:

    >>> nan=float('nan')
    >>> a=[nan]
    >>> nan in a
    True
    >>> any(nan==x for x in a)
    False
(Because the `in` operator assumes that identity implies equality...)
Pinus··on How to Enter a City Like a King
I thought there was something about the king of the UK having to ask permission to enter the City of London, but apparently that is a misunderstanding (https://en.wikipedia.org/wiki/City_of_London_Corporation#Tem...). Pity, it would have been a good story of even monarchy bowing to finance! =)
Pinus··on Scheme Reports at Fifty
I thought "this feels like Univers" when I saw the text. A quick check, and it turned out to be URW Classic Sans, a font that I had not heard about, but which is apparently a Univers clone. (Not to be confused with URW Classico, which is more like Optima. I also wonder how it relates to U001, another URW clone of Univers... just different names? U001 comes, or used to come at least, with GhostPCL under a non-commercial licence.)
Page 1 of 7Next →