Better HN
topnewbestaskshowjobs
Log inSign up

samf

218 karma · joined Aug 16, 2010 (16y ago) · 45 submissions

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 ]

Submissions

comment 2w ago · link · parent

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 8mo ago · link · parent

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 10mo ago · link · parent

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 1y ago · link · parent

In my case I stick with ][ for the sake of nostalgia.

comment 1y ago · link · parent

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 1y ago · link · parent

Ha, yes, I was thinking of the theorems that refer to "odd prime" to exclude 2. :-)

comment 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

Rogue Basin or Rogue Temple?

comment 2y ago · link · parent

The WWE didn't invent it, they perfected it.

comment 2y ago · link · parent

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 3y ago · link · parent

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 5y ago · link · parent

I haven't used this, but it should be mentioned:

https://tauri.studio/

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Good info; I came here looking for experience with managed databases. Does anyone have experience with managed instances on other platforms?

comment 6y ago · link · parent

Surprised not to see del.icio.us there.

comment 7y ago · link · parent

Is anyone else having problems with vim? Specifically, I can't see my cursor since upgrading.

I don't really remember what my cursor looked like before the upgrade; maybe it was a red block? But now you can't see it.

My cursor outside of vim is fine.

comment 7y ago · link · parent

I use pastebot on the mac. It should be easy to add this as a "shell script filter", but sandboxing prevents me from getting unidecode. Has anyone else accomplished this?

comment 8y ago · link · parent

I worked out that sequence while ignoring my assignments in elementary school, and I've been mildly obsessed with it since.

I don't think I'm OCD, but this thread is kind of freaking me out.

[edit] I also use my fingers to count binary on each hand independently, starting from different numbers and moving them forward in lock step.

comment 9y ago · link · parent

Do the numbers being held register as disconnected to anyone calling them? It seems like that might cut down on some of the junk calls by the time they're released.

comment 9y ago · link · parent

I've been seeing the same doctor for nearly two decades. She does the same routine every time she takes my blood pressure: "So, (puts on cuff), do you have any trips planned? Anything fun coming up? (pump pump pump)".

I laugh inside at how consistent she is, so I guess it still works on me.

comment 9y ago · link · parent

I've always wanted to trick someone into sending this to the printer:

  %!
  initgraphics clippath fill
  { copypage } loop
Please don't do this! It'll run you out of toner and paper as fast as possible.

I'm just surprised I haven't seen more things like this, especially back in the days when postscript was popular.

comment 9y ago · link · parent

It might help if you were immersed in it, as opposed to a small amount of time in school. But would you be able to function those first few months, that's the question.

comment 10y ago · link · parent

At least the author should have someone proofread it. There are grammar and spelling problems throughout.

comment 10y ago · link · parent

Thanks!

comment 10y ago · link · parent

Thanks, I just turned that on!

comment 10y ago · link · parent

Not disagreeing, but I'm not seeing that on my wife's iphone. She got a 16 gig phone (big mistake), but we were thinking that getting everything on iCloud would make up for this. We pay every month for iCloud storage.

That's not what we're seeing. Her phone gets to be 100% full, and deleting a photo frees up space. When we delete a photo, we get dire warnings that "this will delete the photo on all of your devices, and in the cloud too." I download them to my computer before doing this, so nothing is really lost. But it's annoying.

29.

Vim-go 1.6(github.com ↗)

1 points · by samf · 10y ago · discuss

comment 10y ago · link · parent

I love this option. I type "/tmp" when I'm about to create some short-lived scratch files. Those saying "you can just alias that" are missing the point. Where do you stop with the aliases?
12