News for hackers. Stuff that matters.

spelufo

So cool! Congratulations to the team. When scroll 4 (PHerc 1667) was first published, it was clear that the sheets were less compressed than the first two scrolls, so it would be easier to segment the surface. However, the whole surface looked similar to what the ink had looked like in scroll 1 where letters were first discovered.

But the team persevered and scanned at higher resolutions and eventually found letters: https://scrollprize.substack.com/p/finallyletters-in-scroll-...

Now they've managed to bring out the ink across the whole scroll. Truly inspiring, can't wait to read up on how they did it.

Re:How many of the 170k English words do you know? on Friday June 19, 2026 @11:32AM (#48599767)
Nice. I want one in Spanish so I can compare results.
Re:How many of the 170k English words do you know? on Friday June 19, 2026 @11:30AM (#48599747)
do you really think so?!

I think bang-interro just didn't sound as nice and that's probably why it is called an interrobang.

Re:I Moved My Digital Stack to Europe on Thursday May 14, 2026 @10:56AM (#48136328)
Pedantic note on notation:

"A > B" reads as "A greater than B"

"A -> B" reads as "A to B"

Re:Ask HN: Who wants to be hired? (October 2024) on Wednesday October 02, 2024 @07:09AM (#41719282)

  Location: Italy, Uruguay by November.
  Remote: Yes
  Willing to relocate: Yes
  Technologies: Julia, Python, Django, Go, Kubernetes, Clojure, Javascript, etc.
  Résumé/CV: https://www.linkedin.com/in/santiago-pelufo-409baa1aa/
  Email: santiagopelufo at gmail
Experienced web developer. Problem solver, scientifically minded. Vesuvius Challenge contributor.
Re:Mathiness on Sunday September 29, 2024 @10:31AM (#41687676)
What is bullshit is the attempt to appropriate a useful neutral adjective to mean more than it does. Mathy is just mathy. Physics is more mathy than psychology. Too mathy can be bad, sure.
Fair point, I might be mistaken. But I think there are lots of small resellers that wouldn't exist if buying online from abroad was as seamless and risk free as buying online locally through mercado libre. The real problem is the requirement of contacting a customs officer to import anything above 200usd, and the risk of having the product stopped by customs. The resellers value is in saving you that bureaucracy by doing it in bulk. And in practice, because of the small market, it greatly reduces the variety of products on offer.
I'm Uruguayan and this drives me crazy. Specially for products that are also tools for industries where we can and do compete. Buying a computer in Uruguay costs about twice as much as in the US.

If this is all self imposed by tariffs, which as far as I know it is, what industry are the tariffs really defending? Certainly not Uruguayan electronics manufacturers, there aren't any. The only people that I imagine benefit are customs officers and companies that import stuff to sell in Uruguay. There isn't any new capability to build things that the country gets in return. We learn from exporting talent instead.

And if we want to compete we need to do it globally. Our market is too small, the population is ~3M.

Re:Which command did you run 1731 days ago? on Sunday January 21, 2024 @06:06AM (#39077421)
There's a way to configure readline (which bash and many other use) to use up arrow history, like Matlab or Julia do by default, where you hit the up arrow key to search the history for commands that start with what you've typed so far. It is a small thing, but I use it all the time.

In ~/.inputrc:

    "\e[A": history-search-backward
    "\C-p": history-search-backward
    "\e[B": history-search-forward
    "\C-n": history-search-forward
Re:Cdpath: Easily Navigate Directories in the Terminal on Thursday December 07, 2023 @10:44AM (#38557629)
Also, `cd -` to go back to the previous directory. And for git branches `git checkout -`. Handy.
Re:Why is Jepsen written in Clojure? on Wednesday December 06, 2023 @07:21AM (#38542896)
What about the database side of things?
Re:Am I missing something? Why do passwords get length caps? on Sunday October 08, 2023 @03:50PM (#37813828)
varchar (100) ?
Re:Ask HN: Share a shell script you like on Monday August 14, 2023 @06:52AM (#37119527)
Same here. I call it mkcd
Re:Ask HN: Share a shell script you like on Monday August 14, 2023 @06:51AM (#37119516)
Yes, I think I used to check if `$cmd` was in a space separated list of valid commands, but I don't anymore because I only every use this to quickly get some commands down into a project's directory so as not to forget them.

As soon as any complexity or validation is needed I move to python, which is usually a better fit, and arguably even more portable.

Re:Ask HN: Share a shell script you like on Sunday August 13, 2023 @08:42PM (#37116176)
I like this dispatch trick:

build() { ... }

run() { ... }

cmd="$1"

shift

$cmd "$@"

Re:Entr(1) – Run tests whenever files change on Wednesday March 15, 2017 @09:38PM (#13881638)
I made something similar with fsnotify recently: https://github.com/spelufo/on-change
Re:Ask HN: How should the CLI be designed today? on Sunday July 17, 2016 @09:28AM (#12110099)
I used a port of the rc shell for linux as my login shell for a couple of months. I switched back to zsh eventually because rc doesn't have job control and autocompletion. The autocompletion wasn't that big an issue because it can use readline for history completion, and it can be configured so that when you type the start of a command and hit up arrow it will find the last command that started with what you typed. This can be replicated for zsh and bash, and it's arguably as good as autocompletion. I found no convinient work-around for the lack of job control, other than starting a new terminal.

How is rc better than bash or zsh? I've read the bash man pages and I couldn't figure out exactly how bash expands commands before executing them. Every time the shell see's an unquoted variable name (e.g. $foo) it will do word splitting, which is why you have to write "$foo" instead, or "${foo}bar" to distinguish "$foo" from "$foobar", etc. Add history and filename expansion and command substitution, weird syntax for control statements...

The best feature of rc is that word splitting and globbing happens once, and it results in a list of strings. There is no longer a need to quote variables all the time. No need to use filenames without spaces.

Here's what bash does:

    $ files=*; echo "$files"; echo $files
    *
    file1.txt file2.txt file3.txt
    $ # echo $files -> echo * -> file1.txt file2.txt file3.txt
Here's what rc does:

    $ files=*; echo $files
    file1.txt file2.txt file3.txt
    $ # files=(file1.txt file2.txt file3.txt)
    $ # echo $files -> echo file1.txt file2.txt file3.txt
It's similar to the situation for dynamic vs lexical scope.

http://plan9.bell-labs.com/sys/doc/rc.html

https://github.com/rakitzis/rc