News for hackers. Stuff that matters.

qohen

Re:Eunice is almost here (William Gibson, Agency) on Sunday October 25, 2026 @04:50PM (#50235937)
The personal computers that existed at that time were poorly suited to writing

Were they? [0]

A legitimate early use of personal computers was to replace the typewriter, as the modest requirements of basic word processing lent themselves well to the equally modest capabilities of these early machines.

By the early 1980s, the word processing market was dominated by two main rivals: WordPerfect and WordStar. Microsoft wasn’t even in the running yet, as the 1983 MS-DOS release of what would become Microsoft Word (then called Multi-Tool Word) came and went with hardly a splash.

This article [1] on use of word processors by well-known authors in the early 80's (and before) is worth reading too.

Oh, and as far as memory goes, remember these devices had floppy drives that could store at least 360Kb and, in March 1983, the IBM PC XT came out with a 10MB hard drive.

[0] From https://retrotechreads.substack.com/p/the-rise-fall-and-surp...

[1] https://newrepublic.com/article/133011/literature-became-wor...

Re:Mel Brooks is 100 today on Sunday June 28, 2026 @07:32PM (#48712908)
Spaceballs: The New One is scheduled to be released by Amazon MGM on April 23, 2027 [0]

[0] https://en.wikipedia.org/wiki/Spaceballs:_The_New_One

Re:Learn SQL Once, Use It for 30 Years on Thursday June 04, 2026 @04:30AM (#48395825)
A couple of sites worth checking out to level up, both by Markus Winand:

https://modern-sql.com/

https://use-the-index-luke.com/

The toll was significantly higher -- this is from a 2017 BBC article [0]:

The Chinese army crackdown on the 1989 Tiananmen Square protests killed at least 10,000 people, according to newly released UK documents.

The figure was given in a secret diplomatic cable from then British ambassador to China, Sir Alan Donald.

The original source was a friend of a member of China's State Council, the envoy says.

[0] https://www.bbc.com/news/world-asia-china-42465516

Re:My Gripes with Prolog on Saturday January 17, 2026 @11:41PM (#46664830)
And one other thing: just because early Prolog interpreters were implemented on punchcards doesn't mean that Prolog programs run by those interpreters needed to be. It's quite possible that basically nobody ever wrote Prolog programs using punchcards, given that Prolog has the ability to read in files of code and data.
Re:My Gripes with Prolog on Saturday January 17, 2026 @11:23PM (#46664753)
By 1979 at the latest -- probably closer to 1975 -- the primary Prolog implementation of the day (Warren's DEC-10 version) had an interpreter, where you could load files of code in and modify the code and you had a REPL with the ability to do all kinds of things.

I posted an excerpt of the manual, with a link to a PDF of it, in a reply to another comment [0]

(And, since even the earliest versions of Prolog were interpreted, they may've had features like this too).

And, as far as editors are concerned, people still use versions of vi (and, of course, emacs) to this day by people who don't necessarily do lots of planning and correctness before deciding to input the code into the computer.

[0] https://news.ycombinator.com/item?id=46664671

Re:My Gripes with Prolog on Saturday January 17, 2026 @10:59PM (#46664671)
The following is from David H.D. Warren's manual for DEC-10 Prolog, from 1979 [0]. It describes how Prolog development is done interactively, by being able to load code in dynamically into an interpreter and using the REPL -- note that the only mention of using paper is if the developer wants to print out a log of what they did during their session:

Interactive Environment Performance is all very well. What the programmer really needs is a good inter-active environment for developing his programs. To address this need, DEC-10 Prolog provides an interpreter in addition to the compiler.

The interpreter allows a program to be read in quickly, and to be modified on-line, by adding and deleting single clauses, or by updating whole procedures. Goals to be executed can be entered directly from the terminal. An execution can be traced, interrupted, or suspended while other actions are performed. At any time, the state of the system can be saved, and resumed later if required. The system maintains, on a disk file, a complete log of all interactions with the user's terminal. After a session, the user can examine this file, and print it out on hard copy if required.

[0] https://softwarepreservation.computerhistory.org/prolog/edin...

Re:My Gripes with Prolog on Friday January 16, 2026 @07:44PM (#46654168)
Languages like Prolog just don't offer that sort of freedom.

Yes, they do -- that's why people have enjoyed using such languages.

It might help to think of them as being like very-high-level scripting-languages with more rigorous semantics (e.g. homoiconicity) and some nifty built-ins, like Prolog's relational-database. (Not to mention REPLs, tooling, etc.)

Read, for example, what Paul Graham wrote about using Lisp for Viaweb (which became Yahoo Store) [0] and understand that much of what he says applies to languages like Prolog and Smalltalk too.

[0] https://www.paulgraham.com/avg.html

Re:My Gripes with Prolog on Friday January 16, 2026 @06:15PM (#46653467)
ROFL.

Like Lisp and Smalltalk, Prolog was used primarily in the 1980s, so it was run on Unix workstations and also, to some extent, on PCs. (There were even efforts to create hardware designed to run Prolog a la Lisp machines.)

And, like Lisp and Smalltalk, Prolog can be very nice for iterative development/rapid prototyping (where the prototypes might be good enough to put into production).

The people who dealt with Prolog on punchcards were the academics who created and/or refined it in its early days. [0]

[0] https://softwarepreservation.computerhistory.org/prolog/

Re:My Gripes with Prolog on Friday January 16, 2026 @05:47PM (#46653255)
...these things were mostly written(and rewritten till perfection) on paper first and only the near-end program was input into a computer with a keyboard.

Not if you were working in a high-level language with an interpreter, REPL, etc. where you could write small units of code that were easily testable and then integrated into the larger whole.

As with Lisp.

And Prolog.

Great name -- good luck and...all the best.
Re:'This is worse than the dot-com bubble' – Ed Zitron [video] on Thursday December 18, 2025 @06:09AM (#46311288)
If you want more Ed Zitron analysis/commentary on AI, AI companies, etc. you might want to check out his blog: https://www.wheresyoured.at/
Re:Ask HN: Why does MongoDB remain a popular choice? on Tuesday March 25, 2025 @01:36AM (#43468374)
with a good hosted option (atlas).

From less than 2 weeks ago: "How MongoDB Atlas’s Forced Upgrades and Support Policies Drove Us to PostgreSQL" [0] -- TL;DR: MongoDB lost a $50K/yr Atlas contract due to the way they do things.

[0] https://medium.com/@inkwash_70850/how-mongodb-atlass-forced-...

FYI, the term was first used in Britain in 1750, according to the term's Wikipedia page[0], which discusses how the term was used in different countries in a neutral way until about 1860 in Germany, at which point it was used in a more antisemitic context.

[0] https://en.wikipedia.org/wiki/Jewish_question

Re:Every Board Game Rulebook Is Awful [pdf] on Monday December 02, 2024 @06:02PM (#42301293)
That's not likely to be a problem since these days every board game has a number of instructional videos (and that's in addition to video reviews, which typically show how a game works, though not in as much detail).
From the Leo Frank Wikipedia page [0]: "In modern times, despite strong evidence pointing to Frank's innocence, the case has become a modern focal point for neo-Nazis and anti-Semites. This is partly because it led to the creation of the Anti-Defamation League but also because it fed into anti-semitic conspiracy theories claiming Jewish control of the media. As a consequence, in recent years a number of websites have been established by white supremacists disputing the prevailing consensus of Frank's innocence."

[0] https://en.wikipedia.org/wiki/Leo_Frank#Later_consensus:_a_m...

Re:Ask HN: Who's Hiring? on Thursday August 29, 2024 @01:55PM (#41393510)
Just a reminder that HN's official "Who is Hiring?" post is put up on, or about, the first of each month. So the September post should be up by next Tuesday at the latest (i.e. assuming it's postponed till after the weekend and the Labor Day holiday).

In the meantime, in case it helps, here's last month's post, with around 450+ entries: https://news.ycombinator.com/item?id=41129813

Re:Larry Tesler, Inventor of Cut/Paste, Has Died on Wednesday August 14, 2024 @12:09PM (#41247665)
Started with Windows 10.
Re:How we migrated onto K8s in less than 12 months on Monday August 12, 2024 @05:11AM (#41222581)
Well, for starters, you don't have to have your apps containerized to work with Nomad (though it can handle containers as well as executables).

But for some deeper details, I'd suggest checking out the comments in this reddit thread[0] (as well as some of the linked articles therein).

E.g. From a comment by /u/Golden_Age_Fallacy: A great use of Nomad is on reduce the burden of on-boarding a team(s) of developers who are unfamiliar with cloud native deployments / systems(even containers!).

Nomad jobspecs are very simple and straight forward, as compared to the complexity and pure option overload you get in k8s and helm.

From /u/neutralized: It's much easier to use than k8s. Easy to setup, easy to manage, much more shallow learning curve. Nothing super fancy. Just works. I migrated a startup I was at off of a self-managed k8s setup to Nomad a few years ago and they've never looked back.

From /u/esity: My team is currently building out a fully automated nomad cluster service offering internally(fortune 10)

It's super awesome. Easy. Little headache. Integrates with consul and vault. We are literally planning to replace thousands of vms for K8s with nomad. Containers are faster, more resilient and writing hcl is actually fun once you learn it

Now, there is a rather more lengthy comment, by /u/thomasbuchinger, that goes through the pros and cons he experienced in trying Nomad out and his conclusion is that, while he wouldn't discourage anyone from using it, "k3s and a few well-known simple projects give you 80% of Nomands [sic] features. Are as easy to operate, afford you more options in the future and have a ton of documentation/tutorials...available."

There are more comments in the thread and again links to a bunch of blogposts/articles/etc., including one from fly.io that seemed pretty detailed, discussing the Googly origins of both k8s and Nomad (fly.io used Nomad but found that it wasn't the best fit for them, which is also discussed in their post -- actually, I'm going to put the link to their post below[1], since I think it is worthwhile).

Hope all this helps.

[0] https://old.reddit.com/r/devops/comments/11nsxo3/opinions_on...

[1] https://fly.io/blog/carving-the-scheduler-out-of-our-orchest...

Re:How we migrated onto K8s in less than 12 months on Friday August 09, 2024 @05:02AM (#41200077)
Re:Defense of Lisp Macros on Thursday July 25, 2024 @07:20PM (#41074462)
BTW, for anyone interested in learning more about Lisp macros, Paul Graham's book about advanced Lisp programming, On Lisp, covers the topic pretty extensively and it's freely downloadable from his website:

Book description: https://paulgraham.com/onlisp.html

Download page: https://paulgraham.com/onlisptext.html

Re:Making Elizabethan Plays Understandable and Fun to Read on Wednesday July 17, 2024 @06:52PM (#40991082)
"Ungart’red, and down-gyved to his ankle" -- seems pretty clear that it means something to the effect that his unfastened stockings have fallen down to his ankles, no? And the context seems clear, that Hamlet's clothes are in disarray, as is his emotional-state.
Re: on Sunday July 07, 2024 @07:04PM (#40901246)
To be clear, per the article, Comstock wasn't the accused -- he was the accuser; the accusee was one LeGrange Brown.

(BTW, Anthony Comstock[0] is the namesake of the Comstock Act of 1873[1], concerning the sending of obscene materials, contraception and abortion drugs via the US Postal Service; it has been mentioned recently in the news due to the attempt by anti-abortionists to use it to prevent drugs like mifepristone being sent via the mail[2][3]).

[0] https://en.wikipedia.org/wiki/Anthony_Comstock

[1] https://en.wikipedia.org/wiki/Comstock_Act_of_1873

[2] https://www.pbs.org/newshour/politics/what-does-comstock-act...

[3] https://www.kff.org/womens-health-policy/issue-brief/the-com...

Re:A dev's thoughts on developer productivity (2022) on Friday June 28, 2024 @03:44AM (#40818571)
Or, as Fred Brooks wrote in "The Mythical Man Month" (1976): "plan to throw one away; you will, anyhow."[0]

[0] https://en.wikiquote.org/wiki/Fred_Brooks

[1] https://wiki.c2.com/?PlanToThrowOneAway

Re:Field of the Cloth of Gold on Friday June 21, 2024 @07:27PM (#40754909)
Re:Ask HN: How to Survive when Life is in Pieces? on Tuesday June 18, 2024 @06:50AM (#40716190)
If you're moved to help, the OP has a GoFundMe here:

https://www.gofundme.com/f/support-patricks-fight-for-stabil...

Re:Protecting sensitive data in Elixir GenServers on Sunday June 02, 2024 @08:59PM (#40558378)
First of all, as of January, Elixir has gotten its own type-system[0][1]. And, even before, one could annotate Erlang and Elixir with typespecs and then run a tool called dialyzer over the code for type-checking[2]. (And let's not forget that, even without using actual annotations, BEAM languages have pattern-matching, which can give you a kind-of poor-man's typing, if you will).

Second, the point of "let it crash" is not that you can then login to the running VM, but rather that your GenServers, etc. would be part of a "supervision tree", i.e. your processes would be monitored by a Supervisor which would have a "restart strategy" that you wrote to deal with crashed processes. So, you can write code using the "happy path" in cases where you expect things to usually work and, if there's an error, you can let the process crash because it'll get restarted, in a matter of microseconds, by its Supervisor.

It's almost a cliche to hear stories about people running Erlang or Elixir who didn't realize they had a bug in their system for months until they happened to look at the logs and see notifications of a supervised-process getting restarted often.

(And, btw, in cases where you might expect to have lots of potential errors, e.g. from getting data from an external API, you can use exception).

[0] https://elixirforum.com/t/jose-valim-elixir-is-officially-a-...

[1] https://www.irif.fr/_media/users/gduboc/elixir-types.pdf

[2] https://fly.io/phoenix-files/adding-dialyzer-without-the-pai...

Glad to help. :-)
Probably because it's in Dutch.

Here's a link to the Google Translate version of the page:

https://www-vrt-be.translate.goog/vrtnws/nl/2024/03/30/marvi...

Leading to something a bit like this, then? https://www.youtube.com/watch?v=31XFe2g98RU

Older »