samf

Joined 16 years ago

Karma
218
Submissions
45
Member since
Aug 17
samf.at.hn

Former cloud infrastructure and file systems developer, still doing webdev for fun.

[ my public key: https://keybase.io/samf; my proof: https://keybase.io/samf/sigs/1ns27IHq0cuoRaSMLPi_tUcH8N0Kl1uuUsryA-AMsrU ]

View on Hacker News

Recent submissions

Comment · 3 days ago
I'm hoping to read people's experiences with cmux. My son showed me a demo, and I was pretty blown away. I haven't had time to look into it much myself.
Comment · 8 months ago
Right, and a nice thing about software is that retirement doesn’t mean you have to stop doing what you used to do.

I’m retired (I know, I’m very lucky), and I’ve done as much or more coding since retirement than I did in my job. But to be fair, AI has really changed how I’m going about things, and I’m not sure what the future is going to bring. I really worry about my adult children and their careers.

Comment · 9 months ago
https://samf.work/

This is pretty new, and I'm still trying to figure out what it will be. For the moment it's a blog, and it's mostly my astrophotography work, with some random code and nostalgia thrown in.

Comment · 1 year ago
In my case I stick with ][ for the sake of nostalgia.
Comment · 1 year ago
I'm the same way, and "clear" or ^L isn't what I'm after. I want the history to still be on my screen, but I want the vertical separation too.
Comment · 1 year ago
Ha, yes, I was thinking of the theorems that refer to "odd prime" to exclude 2. :-)
Comment · 1 year ago
This is the best answer.

We could declare 4 to be a prime number, and keep the rest of the definition the same. Instead of just saying "no", you could ask, "okay, what would that do for us?" If there isn't a good answer, then what's the point? And usually, you're not in the 1% of 1% of 1%.

Comment · 1 year ago
Some examples are in these comments, e.g. the Fundamental Theorem of Arithmetic. The Sieve of Eratosthenes is an amusing outcome, where 1 is the only prime if you take it literally.

But also mentioned elsewhere in the thread: if we declared 1 to be a prime, then many (I daresay "most") of our theorems would have to change "prime number" to "prime number greater than one".

Comment · 1 year ago
Very cool! I couldn't tell from the article if Kaliningrad will remain on a grid with the Baltics or become its own island.
Comment · 1 year ago
Rogue Basin or Rogue Temple?
Comment · 2 years ago
The WWE didn't invent it, they perfected it.
Comment · 2 years ago
One thing I used shape tables for was for a fade-in effect. I would draw my spaceship one pixel at a time, choosing the next pixel at random. (I made a tool to help with this, or else it would have been too tedious!) The shape tables were rendered so slowly that it make the ship "materialize" in a cool effect. After this initial fade-in, I would render the ship more sensibly.

Other than this, I never found much use for shape tables.

Comment · 3 years ago
I've often thought about how this sort of thing could be used for site security, much like cameras are used. E.g. it could hear a person's footsteps, and hear a person breathing, and it could distinguish between a person and an animal. With multiple microphones, it could determine a location.

I wonder if this is being done already.

Comment · 5 years ago
Comment · 5 years ago
Yes, this is a major problem when you introduce ACLs into unix-like systems. A comment in the article mentions the "Richacl" work. A key problem with this work was that even "chmod 777" might not get you out of a situation where an ACL was denying access. It's been over ten years since I've been involved in this; it might have changed.

The POSIX draft ACLs had the same problem, where a chmod might not grant you the permission that you're asking for. Back when Solaris implemented POSIX draft ACLs, they needed to change many user-level interfaces (e.g., the chmod command and the ftp daemon) to have a chmod request work the way end users expected.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton