HNHacker News
TopNewBestAskShowJobs

gatestone

159 karma · joined May 17, 2013

A computer science veteran from Helsinki. Infosec consultant. Family man. Interested in all fields of science and humanities. Assburger, but a sociable one.
submissionscomments
gatestone··on What do Visa and Mastercard do? An intro to card networks
I find this interesting as a technology, as a business process, and above all as a system for managing trust on a global scale across different jurisdictions. In a sense, the credit card system accomplishes something that even the UN, international law, Interpol and military mights cannot do: it enables individuals to enter into trustworthy global agreements with minimal effort and risk, and at very low transaction costs.
gatestone··on Parallel Parentheses Matching
Reminds me of Thinking Machines and Danny Hillis. See chapter "Parsing a Regular Language" in "DATA PARALLEL ALGORITHMS" <https://rsim.cs.illinois.edu/arch/qual_papers/systems/3.pdf>.
gatestone··on TIL: You can make HTTP requests without curl using Bash /dev/TCP
In Plan 9 you did have a real (synthetic) /net, and could do that and more from any program. You could even mount /net from another machine via 9P protocol and have an instant VPN...

9front lets you play with that on Linux.

Some Plan 9 like /net things are visible in Go libraries... (Rob Pike legacy)

gatestone··on πFS
https://math.stackexchange.com/questions/1817064/bbp-formula...
gatestone··on A Letter from Dijkstra on APL (1982)
Reminds me when Russ Cox (Go, Google, Bell Labs) used Rob Pike's APL like Ivy to solve 2021 Advent of code puzzles:

https://www.reddit.com/r/apljk/comments/uccbd6/russ_cox_solv...

gatestone··on Archive of BYTE magazine, starting with issue #1 in 1975
I am especially fond of this article inventing LLMs as Markov chains.

https://archive.org/details/byte-magazine-1984-11/page/n129/...

gatestone··on We pwned X, Vercel, Cursor, and Discord through a supply-chain attack
Who ever invented the idea that you can embed Javasript to picture files?
gatestone··on The input stack on Linux: An end-to-end architecture overview
Someone else can explain, how me pressing "a" gets to light some LEDs on my screen, and what happens in the output part of the data flow.
gatestone··on Personal data storage is an idea whose time has come
No one mentioned Upspin? A global file namespace (URL, but better...) and protocol to isolate public data users from private governance and storage, by gurus like Rob Pike. https://github.com/upspin/upspin
gatestone··on "Europe Is Jailing People for Online Speech," by Prof. Yascha Mounk
At least in Finland the jail sentences have been related to extreme widely published antisemitism. Fines have been given for other sorts of hate speech.

If the U.S. wants this to be allowed, it is your business. But it is ours to decide, if we want to allow nazis synmpathy newspapers advocating killing of the jew. Generally, the americans are lost in their arrogance here, as always.

gatestone··on Nevermind, an album on major chords
I don't think there has been a rock album ever since, that would have been so big, popular, revolutionary and generation defining. I guess some genius must have been there.
gatestone··on EUCLEAK Side-Channel Attack on the YubiKey 5 Series
Can you explain me, why do you need to be online to extract the private key? Can't you just steal the token, input the nonces offline, and meter timing? Then, crunch out the private key, and only then, if needed, phish the password?
gatestone··on A floating solar-powered device produces clean water and clean fuel
If this is inefficient, what are you comparing to? What is the best way to purify water or produce hydrogen with solar energy? Is there a good way? Certainly producing electricity first can't be the most affordable way?
gatestone··on Banging errors in Go
Designing better error handling in Go is an ongoing work. Proposols are being considered. Personally I don't see a big problem in real life Go code bases.

Note that there is kind of a philosophical cul-de-sac here. If you understand and expect your "errors" (= exceptional situations that prevent the program to do what we thought the user wanted) you can handle them, and they become part of your program normal logic.

If you don't understand or ainticipate your errors, or choose to neglect situations that are not really rare or are really dangerous, no amount of special language constructs will save your users.

https://go.googlesource.com/proposal/+/master/design/go2draf...

gatestone··on Banging errors in Go
If you browse random Go code from https://pkg.go.dev/ you will have a hard time finding that hypothetical case where most of your code is error handling chores. The problem is artificial.
gatestone··on On Learning to Program with LLMs
They are also pretty good in teaching you human languages. There is a saying that the best way to learn a new language is to fall in love with someone who speaks it. ChatGPT speaks them all. Start with "Show me some simple phrases in Chinese and in English..."
gatestone··on Are any words the same in all languages?
"Kiosk" is pretty universal, Persian originally.
gatestone··on Demystifying burnout – A deep dive into its symptoms and remedies
Burnout at work is easy. Burnout in life is harder.
gatestone··on Copilot under fire as dev claims it emits 'large chunks of my copyrighted code'
How is this problem different from DALL-E and such? Is the copyright legislation ready for all this, and when will there be established interpretations of law?
gatestone··on Surprising result while transpiling C to Go
That’s a myth. Go read some random Go. Trivial functions often do nothing but call a couple of other functions, check errors and return. But non-trivial functions use relatively less lines for error handling.
gatestone··on The Invention of Battlezone (1982)
Great games! One of the pioneers of combining RTS and FPS, if not the first one?
gatestone··on Lock-In and Multi-Cloud
What does this all mean from IaC perspective?

Let’s say you can define all your containers, orchestration, database and middleware in a compact way (Dockerfiles, Terraform, etc) with cloud vendor independent open source tools, using managed OSS.

How much of that code would be dependent on your cloud provider, really? Maybe a thousand lines of hopefully modularized platform dependent configuration code?

Migration from one system to another would still be an effort, but not that big one?

gatestone··on It's not what programming languages do, it's what they shepherd you to (2020)
Elegant is "pleasingly ingenious and simple". But it's often in the eye of the beholder, if a loop or a list comprehension is simpler.
gatestone··on Procrastinatory Doom Loops
Freedom considered harmful. In olden days, you had less stupid choices in your life. Sure the idle upper class always had this problem.
gatestone··on What Would Feynman Do? (2011)
I would Google for the real answer. I just did. I could not come up with it by myself. Just what I do as a developer.
gatestone··on The world’s biggest offshore wind farm, Hornsea 2, generates first power
If Hornsea 2 really produces anywhere near the nominal 1,4 MW and was built in three years, that is remarkable.

The Olkiluoto 3 nuclear plant here in Finland (1,6 MW) was just started. The construction took 20 years.

The price seems to be in the same ballpark, 5000 million euro was quoted for Hornsea 1, and 9000 million for Olkiluoto 3?

gatestone··on A Discussion of Oberon
Well I mean

Terraform Prometheus/Grafana/Loki/Thanos Jaeger Kubernetes/etcd Docker Helm Velero Kolga

Just to name the ones we use at Helsinki City.

I also work for a training company where we teach these tools and Go - and we also train Rust. I see a perfect ecosystem of Go and Rust emerging.

gatestone··on A Discussion of Oberon
Rob had his revenge. Go rules the Cloud, and the Cloud rules the world.
gatestone··on A Discussion of Oberon
And there was Inferno and Limbo. Probably the best system no one has ever heard of, a very much Oberon influenced virtual stack machine and OS. There once was a chance PlayStation could have adopted it, boy would that have changed the world.
gatestone··on A Discussion of Oberon
There is straight Oberon legacy in Go: type embedding. Also, Go team has Robert Griesemer from ETH, and other Wirth fans like Rob Pike himself. Pike’s Acme editor/window-manager also is heavily Oberon influenced.
Page 1 of 3Next →