HNHacker News
TopNewBestAskShowJobs

somat

6,339 karma · joined December 30, 2021

Runs the outband public shell accounts at https://www.public.outband.net
submissionscomments
somat··on Wayland desktop for Linux with skeuomorphic design
It is a french word and it is inherently plural, sort of like pants, by my best guess, having only looked it up just now, singuler chassis would be a case.

So chassis, the thing full of parts, case, same thing but without the parts?

somat··on Wayland desktop for Linux with skeuomorphic design
It's inherently plural, can't have just one. sort of like pants I guess. It is a container of parts.
somat··on BIPM decides to stop adding leap seconds to UTC
Heh, I save periodic events as intervals in the database. The upside is it handles weird things like this surprisingly robustly, the downside is that months are months past the start of the year and days are days past the start of the month, yes every thing is zero based. I like it, I feel like I am rebelling against a broken system, but have to make sure I do a conversion to one based months and days for everyone else. Time of day and years are fine, time is already zero based and nobody cares about seeing a year 0.

So the example given Feb-31 is stored as 1 month + 30 days past the start of the year and would trigger right on time march 2nd or 3rd, depending on leap year. In fact I started doing it to handle birthdays on leap day, there is not always a February 29, but there is always a day 29 days after the start of February.

somat··on The 8-mile hole in a Hawaii national park that no one can explain
If we are doing a survey on great cracks, I vote the one in Utah as the most unsettling.

https://www.outono.net/elentir/2025/07/10/the-huge-crevasse-...

My understanding it was a layer of asphalt that got turned sideways(vertical) and as such that was how it was mined. Leaving a very eerie hole.

somat··on Show HN: XY Music Notation
I am currently trying to learn to read sheet music, so not an expert, but at the same time all the pain points hurt more.

The fundamental problem, as I see it, is that music notation was designed for a 7 note system and modern music is a 12 note system. They managed to get all 12 notes in there, but it is more awkward than it should be, needing to notionally classify some notes(or bars, that's fun to wrap your head around) into a sort of second class status(flat or sharp).

Note for them like me learning this stuff. All 12 notes in common music are equivalently spaced and valid, The normal way to work with them is to pick a subset that sounds good together(a key) and mainly use those. then because the notation only naturally supports 7 notes you annotate the bars to shift their meaning around to match the key notes and for items that still don't fit annotate the displayed note to shift it.

But, this is the system we are stuck with, it works well enough and as I learn I fully expect to overcome then forget about the awkward parts.

Update: This just occurred to me as I was thinking on the subject. The only reason for a flat to exist(they are unneeded and redundant otherwise) is for when you shift a bar up, with a sharp, you need a way to shift the note back down, with a flat.

somat··on 900-Page Pre-Pantone Guide to Color from 1692 (With Complete High-Res Scan)
I expect it was "done" mainly to document the author's interest in pigment exploration and "used" by his students.

Want to learn some state of the art watercolor technique in the late 1600's? Go study under A. Boogert for a few years. Especially valuable because he has created a this massive reference of colors, A solid foundation for an esoteric subject.

I bet every student of his left with their personally created abridged copy containing the most useful colors. to be passed on to their students.

somat··on 900-Page Pre-Pantone Guide to Color from 1692 (With Complete High-Res Scan)
The article implies there are formulations included, mix up a new batch and compare? I know nothing about watercolor pigments, but the saturation remaining after so many years impressed me.

On the subject of mixing up a new batch, it is an easy thing to say, but often following old recipes can be tricky. What was once common and implied is no longer so. The missing context makes reproduction near impossible.

Update: I was looking at the full scan, and while I still can't read dutch, the picture in the article was cherry picked as a good example, many in the full document are very faded.

somat··on Total Annihilation, rebuilt for modern computers
Total Annihilation infamously used additive balancing, where they would add a new unit to "balance" things. I don't think it worked very well but it was fun getting a new unit every week or two.
somat··on Total Annihilation, rebuilt for modern computers
It sort of does, they are not arranged in a campaign but there is a campaigns worth of single player scenarios included in BAR.

And this may be wrong, that is, I don't know how to confirm it, But I heard someone was working on a campaign, Which would be neat if true.

I quite like BAR but don't much enjoy PvP (I don't have the temperament or speed of thought for it, I like to pause and think too much). So I watch PvP games, and play AI skirmishes and scenarios.

somat··on apsw: Another Python SQLite Wrapper
It's not even that good for switching to different engines.

My normal mode of operation is via postgres(I like the functions better than sqlite) But for a recent little program thought it would be nice to have it a little more self contained and allow for a sqlite db if wanted. Ignoring the the sql differences(Remember, I use postgres for it's functions, so there were many) sqlite uses a different parameter style(I ended up writing an automatic converter to transform my psycopg3 style "%(name)s" to sqlite3's ":name") and I had got in the (perhaps bad) habit of keeping an open connection and using a context manager on the cursor where sqlite does not like that and really wants the context manager on the connection. The final hoop to jump through was getting the row output as a dict. Not super relevant as it is not default on psycopg either, but it takes a bit more effort on sqlite3.

So yes it is possible to make the database swapable, But even with the dbapi, it is not trivial.

somat··on Total Annihilation, rebuilt for modern computers
Gratuitous cutscenes, annoying barks everywhere, huge useless animated portraits. It is basically the blizzard polish, looks better than it plays. Not that Starcraft plays bad, but none of the fluff contributes to gameplay. And that gameplay takes a lot more micromanagement than it needs to(some people like this. me, not so much).
somat··on Total Annihilation, rebuilt for modern computers
Fair enough, but is there an advantage over the spring engine? Another clean room implementation that understands total annihilation data-structures, a project started 20 years ago.

For what its worth, the Total Annihilation derived project with the most attention currently is is BAR https://www.beyondallreason.info/ They decided to make it legally distinct, but it was the balanced annihilation project which was total annihilation rebalanced for better pvp. I don't play too many RTS so this is not authoritative, but BAR plays better than any other rts I have tried, They really care about the fine details of user experience there.

In fact, I consider Chris Taylor(Total Annihilation, Supreme Commander) to be one of if not the greatest RTS designers. His games don't have the fluff people appear to love(looking at you starcraft) but he gets the control design better than anyone else I have seen.

somat··on GameBoy on E-Paper ESP32 at 30FPS [video]
Perhaps a stupid question, But I always thought the whole point of e-ink displays was to have non-volatile display, that is, a mostly static display that persists when the power is out. These projects that focus on driving them at high speed, Is there any actual advantage in using e-ink tech at that point?
somat··on CIA World Factbook is dead – Here is an attempt at recreation
I always figured the answer was that the information was for the US Taxpayer, and if other countries would like to use it. well, it is not for them, but if they can get access, fine, The effort required to try and keep them out is not worth it.

Sort of the same reason US government works end up in the public domain "This work was funded by the US citizens and as such it is owned by the US citizens(in the public domain), it is too much hassle to try and prevent non-US citizens access so if they can get a copy they are free to use it as well"

I liked the idea of having the intelligence agency maintain a public intelligence encyclopedia for it's citizens. Sort of how the geological survey provides public maps and earthquake alerts.

somat··on Keyboard differences between Windows and Macs
In the obscure ui choices department, I am that weirdo who uses openbsd as a desktop system, At one point not thinking I did ctrl+a in a firefox textentry and much to my surprise it did the right thing and moved the cursor to the beginning of the line.

I had no idea using unix vs windows cursor movement was even an option, because linux never picks the correct method, Still have no clue how it is set(a gtk option? but qt apps are set the same.) But salutes to whatever obsd porter picked it, really made my day.

somat··on Beauty in DVD Menus
Or, the bit that I find fascinating, The DVD menu VM.

I can't find the actual spec, but there is libdvdnav with a reverse engineered implementation. https://code.videolan.org/videolan/libdvdnav.git

somat··on Visa, Mastercard, major banks facing new litigation over 'anticompetitive' fees
Wouldn't high fees be competitive? A lot of incentive to compete there. Anticompetitive would be setting the fees too low to compete with.

I guess the point being there is probably a better reason for the high fees than the company trying to be anticompetitive, Or perhaps better said as a better reason for being anti competitive than high fees. Monopolistic lock in? Regulatory Capture? The problem is, that this blames the government instead of the company.

somat··on cp: -r or -R?
I still have scripts doing a cpio -o | cpio -i dance.

And... the worst thing is I don't really remember why(shakes fist at past me "write better comments"). Probably to do with how cpio's weird file selection actually worked well with it's use case. It reads a filtered list of files from one directory then uses that to copy only those filenames from another directory back into it.

somat··on Watson Jr. memo about CDC 6600 (1963)
Related? I have several sets of old encyclopedias, Collier's from the 40's and World books from the 60's and 80's. It is very noticeable how much better the older articles are written.

Here is an example from 1921, https://archive.org/details/colliersnewencyc01newy/page/40/m...

And weird errata, while looking for an example the Wikipedia article on Collier's claims they started in 1949 while my copies have copyrights 1932 - 1944 so were probably printed 1944/45.

somat··on Surely you have ultra-wideband radios on your bins too?
Key word is "annoyingly" One plugs into the wall and only requires maintenance(electrical bill) once a month. The efficient one permanently attached to you requires maintenance several times a day.
somat··on Why don't more developers “use the platform”?
The other thing that can hurt an applications usability is over fitting for the new user. It is an important aspect, but it feels terrible to be effectively stuck in baby mode all the time.

The hard part is how fitting for the new user and fitting for the experienced user are sort of opposites in interface design. For new or occasional users who will only use the thing a couple times a year, you want a deep design, gently guiding someone unfamiliar with the application through each step in turn, lots of modes/clicks limited information in each. For the experienced user a shallow design is best, information dense, everything in one action, never hide anything. The best designers can sort of navigate this paradox, but for most you have to focus on one and shim the other.

As for design focused design, where the point is how good it looks, well, that sucks for everyone. But it looks good in the ads.

somat··on Former SR-71 engineer talks NASA's Blackbird revival program
Your amounts are off. that wikipedia page lists the f-15 as having a service ceiling of 65,000 feet. Perhaps irrelevant but a f-15 shot a satellite down once(not relevant because that is more the missiles capabilities than the planes, which is probably the relevant point)

Unit mix up?

The f-16 however, does have a surprisingly low ceiling, there are fighter pilot memes about it. https://www.youtube.com/watch?v=koEQp8ImlnI?t=643 something about having small wings, get above 30,000 feet and it's not happy.

somat··on Make Tmux the OS
It is the age old conflict, what is better a verb focused or noun focused world.

Is the core the database(the filesystem) and the apps roam around in it, or is the core the apps each with their own database.

I grew up with noun focused operating systems, which is probably why I prefer them. Here are your things and you can use various actions on them(some valid some not). And as such find the verb focused ones unpleasant to use. Here are your actions each includes it's things. But where are my things? It does not matter, each action knows where it's correct things are. But I want my things, I know they are in there somewhere. (fights the phone for a while)

somat··on Git 3.0's upcoming SHA-256 default will be a costly mistake
I always liked the ipfs concept of a multihash where a hash algorithm id is stored with the hash, I don't know how well it worked in practice, but in theory all applications of the protocol are now forced into a world where there are multiple hash formats and it can and will change.
somat··on RIP, vector database
LLM's when leaned on too heavily, have a tendency to destroy critical thought, or perhaps more accurately replace it.

It is similar to a spell checker, while spell checkers improve spelling in general, they do not improve a persons spelling ability. Instead acting as a crutch. No need to spell well when the machine will do it for you.

Some people really like expanding their thoughts via LLM prompt. Some so much it acts like a big crutch, no need to think coherently, the machine will do it for you. So they use the LLM for everything.

As a related tangent something is messed up in my web browser spell checker, it gives the red squiggles indicating a misspelling, but refuses to give suggested corrections. I would fix it but... My spelling ability has never been better than it is right now.

somat··on Several vulnerabilities have been discovered in the Linux kernel
"why did the ship crash?"

Unpatched bug, wrong color lights.

Yes, it is a bit of a stretch, I desperately hope programmable navigation lights are not a thing. And I also don't think every bug needs a CVE. But in the correct context nearly any bug could be critical.

somat··on NASA asked several former SR-71A staffers to help secret restart
My theory is satellite retrieval, Not ours, theirs. Play the long game, year two of a three year mission, do a little unannounced orbital dance, somebody's spy satellite has a unexpected failure, while really it is now in the rf shielded environment of the x-37's payload bay. Year three, bring it down for study.

Yeah, probably way to much science fiction there, way too many things would go wrong, and spy satellites tend to have huge antenna have fun trying to stuff that in a rather small payload bay. However... One of the space shuttle mission profiles was to deorbit a satellite. Officially, the space shuttle never did this. But I think the airforce really liked the idea and wanted to retain the capability.

somat··on Ideas on modernizing the open-source desktop
Spectrwm(rather obscure, but I like it) has a free window mode for things like this. where free windows are in all workspaces. Define some hotkeys for the special app invocation and perhaps add a protected region to keep normal windows out.

https://github.com/conformal/spectrwm

And a rendered manual https://manpages.debian.org/trixie/spectrwm/spectrwm.1.en.ht...

I had fun figuring it out one day, but the way I use the computer it did not provide much utility. so my config stays rather stock.

somat··on Ideas on modernizing the open-source desktop
I think that is the exact benefit to tiles.

For me it the epiphany was that I either want one full screen window, or several windows side by side, I never want one window to obscure another window. And with our modern wide monitors I almost always want several windows side by side. Why do I have to line them up by hand?

The downside is that there are many poorly programmed applications that are unable to adjust themselves as the window manager requires(calling you out steam, or it just may be me but steam was not happy with a tiling wm), and model dialogs, which always suck, suck even more when tiling. But most tiling wms's support a float mode for just that occasion.

Tiles were a common early metaphor, And I think tiles are generally more useful but floats looked cooler in the ad copy and so that is what ended up as the dominant desktop metaphor.

On the subject of one window partially obscuring another window the only tech that makes that halfway tolerable is "don't raise on click" and "point to focus" This lets you look at the upper window while manipulating the lower window. two features not found on the major desktop systems. X11 has it's warts, and is very weird. But it is miles ahead in actual usability over it's peers.

somat··on The GitHub wiki is an anti-pattern (2022)
There are login-group options which lets you have a single sign on with a group of repos, To unify the other bits it looks like it would be possible to change the main menu links to the central repo(in the web settings).

Never wanted to do what you want but it sounds possible

set up the fossil server on a directory of repos probably with --repolist to get a list

    fossil server --repolist /var/fossil/
get all repos in the same login-group

change the menus in each repo to point to the core repo. Based on some quick tests I suspect a full http:// url is required.

    - Forum     /forum       {@2 3 4 5 6}
    + Forum     https://mydomain.org/core/forum       {@2 3 4 5 6}
← PreviousPage 3 of 34Next →