HNHacker News
TopNewBestAskShowJobs

vincent-manis

1,027 karma · joined April 23, 2020

submissionscomments
vincent-manis··on Bournegol???
I did that kind of thing when I first started using C (my attitude then was that C was fine, but it should have looked more like BCPL). I stopped after a short time.
vincent-manis··on NASA still maintains some of the Voyager spacecraft code from the 70s era
That could well be, the article is still wrong.
vincent-manis··on NASA still maintains some of the Voyager spacecraft code from the 70s era
I was puzzled by this claim, too. I think that the article is wrong, and that the code is written in HAL/S, a NASA-only language that sort of started off as a preprocessor to Fortran, though it has some PL/I-like features. If it really was written in Fortran, it probably was in a vendor-extended Fortran IV, which a lot of old guys like us know. But NASA used HAL/S for a number of projects, including the Shuttle. (And, by the way, thanks to perplexity.ai, here's a link to the HAL/S language manual: https://archive.org/details/nasa_techdoc_19750002029.)

The parent comment is apt. Of course, languages have their own quirks. But, as Christopher Strachey is once claimed to have said, “I use the same language no matter what compiler I run.”

Now what is more likely to be true is that the code is strangely structured (both because structured programming was new then, and because of memory and processor limitations), and also that much of the internal documentation has been lost. I wish the article had been clearer on that.

vincent-manis··on Ploopy Bean: a trackpoint for every computer
I have a Shinobi, and like it, but I recently got an HHKB Studio w, and really like it too.
vincent-manis··on IBM didn't want Microsoft to use the Tab key to move between dialog fields
So who became Xerox? (i.e., brilliant ideas, thrown away at the corporate level)
vincent-manis··on From CVS to Git, thirty years of source control
Versioned files existed in Tenex, developed by Bolt Beranek and Newman in the early 1970s; version numbering was based on a similar feature in MIT's Incompatible Timesharing System. DEC's variant of Tenex was eventually called TOPS-20. Many features of VAX/VMS were influenced by Tenex/Tops-20.
vincent-manis··on Show HN: Hello, World in many different languages
This is great...I would encourage you to add the ability for users to offer new languages. I noticed that Modula-2, PL/I, Trac Language, ALGOL 60, ALGOL68, and Joss/Focal could be added. (ALGOL 60 would be a challenge, as the originally-defined language had no input/output!)
vincent-manis··on Why I still reach for Lisp and Scheme instead of Haskell
Actually, variations on M-expressions have been created many times in the Lisp world. (Look what you can do with macros!) So far, none of them has caught on. The latest attempt for Scheme is SRFI-266, which creates a very nice infix expression sublanguage. If I were working on a team, I would encourage them to use this, but I don't know if it has enough traction to become widespread.
vincent-manis··on MacBook Neo and how the iPad should be
I'm on a convertible as I read this comments thread; I'm typing this comment on the keyboard, and scrolling the comments via the touchscreen.

I have never bought the argument that there should be one modality of input (or output). I'm basically a keyboard guy, but I use a pointing stick, mouse, trackball, or stylus/touchscreen as appropriate. Some applications benefit from direct contact, others really prefer keyboard input. Further, various disabilities prioritize modalities as well: someone may have serious trouble typing or pointing, and visually-impaired people may prefer voice and speech.

So all these rhapsodies of fingers flying across the keyboard or pointing on a touchscreen as the One True Way miss the point. I want my computing devices to support the kind of interaction I want to engage in, which differs from application to application and time to time.

vincent-manis··on Diatec, known for its mechanical keyboard brand FILCO, has ceased operations
Maybe replace clicky keyswitches with silent ones.
vincent-manis··on George Orwell Predicted the Rise of "AI Slop" in Nineteen Eighty-Four
“There are two novels that can change a bookish fourteen-year old’s life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs." -- John Rogers
vincent-manis··on No Semicolons Needed
C was following PL/I.
vincent-manis··on ASCII and Unicode quotation marks (2007)
And just to point out that there is WinCompose, for Windows, and a somewhat janky but usable solution using Karabiner Elements and macos-compose for Mac.
vincent-manis··on Dijkstra's Crisis: The End of Algol and Beginning of Software Engineering (2010) [pdf]
I was present at the IFIP 1978 conference in Toronto where Dijkstra announced that personal computing was a dead end because most people don't know how to program.

There's an irony about the design of ALGOL 68. It was denounced at the time as being too big a language, with too many experimental features. In fact, the language in the Report is unimplementable, primarily because the lexical syntax is fanciful (there's an actual difference between the roman period and the italic period) and also abstract (so no two implementations actually have the same lexical syntax). I was on the periphery of an ALGOL 68 implementation project that foundered because the goal was to implement every conceivable edge case, include those that could never occur in practice, e.g., x[i] := x[...50 pages of code...] Yet very reasonable subsets (including ALGOL-68R and FLACC) were built. As for the language breadth, arguably C# is much broader, and I haven't heard anyone claim that it is a failure.

As for the Report...there was a time when I understood it cover to cover. But Lindsey and van der Meulen's Informal Introduction presented the whole language at a level understandable to anyone who understood ALGOL 60. van Wijngaarden did the language a terrible disservice when he forced (that is the correct word, I believe) the use of two-level grammars in order to ensure type correctness. Had the Report never existed, the language would have had much more traction.

The irony? Apart from the grossly-overengineered “transput” library—much better adapted to a unit-record and line printer world than our modern world—the one actual experimental feature in the language was the par clause, which provided parallel execution, and relied on semaphores for synchronization. Dijkstra's semaphores.

vincent-manis··on Two Years of Emacs Solo
I agree with you. Edlin forever!!!
vincent-manis··on BC got rid of Daylight Savings
In the 1970s, I temporarily relocated from Vancouver to Boston. A few days after I arrived, someone said, “After work, I'm going to take the T [subway] to BC.” I was awed by the concept of a continental mass-transit system, but puzzled. It turns out that in the Massachusetts Bay area, BC is Boston College.

Context is king.

vincent-manis··on Millions Of Americans can now claim Canadian citizenship but must prove descent
Please define “corrupt”.
vincent-manis··on The surprising whimsy of the Time Zone Database
There once was a country named Czechoslovakia.
vincent-manis··on On the Design of Programming Languages (1974) [pdf]
With all due respect to Wirth, P-Code did not originate in a vacuum. Martin Richards's BCPL compiler, dating from the late 1960s, targeted a hypothetical OCode machine. Furthermore, although there were backends for this that generated good machine code on popular computers of the time, Richards also had a backend that generated a severely reduced instruction set, which he called Intcode. You could write an assembler and interpreter for Intcode in a few hundred lines of Fortran (I did), which meant you could have a slow BCPL implementation on a new machine in a day or so's work, and then you could write a better backend in BCPL.

I have never been able to determine whether Wirth knew of this work, but, given that Richards's 1969 BCPL paper described OCode, I suspect he was aware of it, and that it influenced his design of the Pascal-P compiler. (I am not sure when Intcode appeared, but it was present when I obtained the BCPL compiler in 1972, a year before the Pascal-P release.)

vincent-manis··on Open source calculator firmware DB48X forbids CA/CO use due to age verification
Performative indeed!
vincent-manis··on The Slow Death of the Power User
I found the article tedious, even though I agree with its main point. However, the so-called “obvious” signs it was written by an AI—quotation marks and em-dashes—are within the ability of anyone with a Compose key (on Linux/BSD, ask your window manager or DE; on Mac, Karabiner; on Windows, WinCompose).

For the record, I am not an AI.

vincent-manis··on Steel Bank Common Lisp
If I couldn't have Scheme, I'd happily take CL.
vincent-manis··on How Much of CP/M's Design Ended Up in MS‑DOS?
And on the issue of using the INT instruction, dispatching into a table of kernel routines is very much not new, going back far beyond the EMT instruction to the System/360 SVC instruction.

Given that Paterson has stoutly denied ever looking at any CP/M code (and nobody has ever produced any contradicting evidence), it's clear that in his “quick and dirty operating system”, he took the CP/M user documentation and built something with somewhat the same architecture and user-visible behaviour, using his own code, and tailoring it to the somewhat more powerful 8086. OS designers have been doing this for decades: look at the documentation for Univac and RCA lookalikes for System/360 (available on bitsavers), and compare to DOS/360. Or that “hobby” system written by some guy named Torvalds...

vincent-manis··on Using fewer syllables to express numbers
Nope, I got "four seven six five", which is exactly how I would read that number if it were a street address, or a phone extension, or an inumber, or the like. You will notice that the site doesn't give any context about the usage of these numbers.
vincent-manis··on Using fewer syllables to express numbers
I tried "4765" (four syllables), and got "sixty-nine squared plus four" (6 syllables).

The ICAO phonetic alphabet specifically pronounces "4" as "fouwer", and "9" as "niner", so as to increase redundancy on a noisy channel.

vincent-manis··on Google releases its new Google Sans Flex font as open source
I am very fond of Merriweather (which I recently saw on a list of over-used fonts, for those who believe that you should use a different obscure and, hopefully, hard to read font in every document). It pairs nicely with Merriweather Sans, Cascadia Code, and for math Libertinus Modern, though I do have to tweak ex-heights to match.
vincent-manis··on The original ABC language, Python's predecessor (1991)
BCD, actually, given that Fortran dates from the mid-1950s. EBCDIC only appeared more or less around Fortran IV, in the early 1960s. Many printers in those days had a 48-character chain/train. After upper-case letters, digits, and a few essential punctuation marks (like . and ,), you weren't left with many options. The 60-character set of PL/I was a luxury back then, let alone lower case.
vincent-manis··on Welcome, the entire land – "Hello, world" in hieroglyphics (2009)
Yes, what OS did the Egyptians use?
vincent-manis··on Palantir Thinks College Might Be a Waste. So It's Hiring High-School Grads
One thing I discovered during decades of teaching at university. 18-year olds have little skill planning. Our first-year course had one-week assignments, but one more in-depth two-week assignment. This was at a time when students used computer labs, rather than their own equipment. During the first week of the bigger assignment, the labs were empty. About three days before the due date, the labs started getting busy. The night before the due date, students were waiting all night to get at a computer, and a delegation of students went to the Department Head to demand much bigger labs.

The following year, we used the same bigger assignment, but demanded that the students hand in the work for the first half of the assignment by the end of the first week (the markers were told just to check that it had been handed in, but not to mark it). Due date came along, and the overwhelming part of the class handed in acceptable work on time.

One thing that four years of university, perhaps including a study skills course, teaches you is how to manage multiple due dates with several concurrent projects in various stages of completion.

vincent-manis··on Palantir Thinks College Might Be a Waste. So It's Hiring High-School Grads
Like how to analyze requirements, how to document their work, or even how to problem-solve during debugging.
← PreviousPage 2 of 13Next →