HNHacker News
TopNewBestAskShowJobs

jorams

4,053 karma · joined August 1, 2014

You can reach me at hn at joram dot io
submissionscomments
jorams··on On caring for user data: NeoVim caused Vim undo files to be deleted
Unless something changed very recently neither vim nor neovim defaults to storing persistent undo files in ~/.cache. It's application state, not cached data.

The undodir option in vim defaults to the directory of the file, and in neovim it defaults to ~/.local/state/nvim/undo/.

jorams··on The American Religion of Self-Storage Facilities
Yes.
jorams··on EuroBirdPortal – Live bird movements across Europe
They're calling it "live" and "near real-time" because they're aggregating the data from underlying sources daily, whereas traditionally that happened only on much larger time scales.

It's not very fast compared to most things often called "live", so perhaps it's not a great label for this demo viewer, but the goal of the project seems to be to make the data available for research, not so much for this map.

jorams··on google.com/goto: Google's anti-scraping update
> I’m pretty sure Kagi’s entire pitch is that they’re an alternate and original dataset. Theirs is the only search engine whose data isn’t based upon google or bing’s databases.

It's not. In addition to their own indexes the results include calls to "all major search result providers worldwide"[1].

There are independent search engines that only use their own index, like Mojeek[1]. Kagi is explicitly something like a search engine aggregator.

[1]: https://help.kagi.com/kagi/search-details/search-sources.htm... [2]: https://www.mojeek.com/

jorams··on Codefloe Is a Professionally Hosted Public Git Forge
> Performance is similar to when I self-host Forgejo on a dedicated VPS where I'm the only user, which is super fast.

I don't mean to be negative, but that's probably because it's pretty much the same thing. Codefloe is tiny. Some quick counting shows it has a grand total of 1012 registered users, including bots, and 1416 public repositories of which the top 3 with the most stars (I know this is a mostly meaningless metric, but for scale) have 27, 13, and 8. It's too small to run into scaling issues.

jorams··on I hate packaging my software for Linux
If they're not using your software they're not your users.

You seem to be treating this like a commercial endeavor in which you have much to gain from adoption by nontechnical people. I don't really see why though. It looks like you're developing non-commercial open source software for an audience of developers.

You are taking on the responsibility of being compatible with a large variety of different people's opinions on how software should be built, configured, and distributed. Yes that's a lot of work. Distributions have people willing to do that work for software they or their users (who can ask) care about.

jorams··on I hate packaging my software for Linux
The reason this seems so weirdly hard is that you're not supposed to be doing it. You provide sources and instructions on how to build them, and then your job is done. Users can follow those instructions. If you want to you can also build a binary with an old version of libc and distribute that to help users who don't want to compile it themselves.

Packaging it for a distro is someone else's job, and they'll take care of concerns like Debian's dependency policy. If they want to package it in the first place of course.

jorams··on Dropbox is an obvious PE Target?
Box.net launched first, but they didn't introduce file synchronization, the core value proposition of Dropbox, until mid 2010.
jorams··on Reviving a four year old reMarkable 2
> woah 4 years is considered obsolete?

No, this device was only discontinued this year, you can still buy accessories and it still receives software updates.

It just turns out their software has flaws that break the update process after a few years of sitting unused. Not great, but luckily there are workarounds, as this article walks you through.

jorams··on When "no healthy upstream" isn't about the upstream you think
It's https://rachelbythebay.com/ and doesn't seem to be down.
jorams··on The Difference Between a Button and a Link
While I understand and perhaps even agree with the semantic argument, the reality of the web is that this will be abused. A sane implementation for a browser would be for an action button with method="get" to get basically all of the affordances a normal link has, e.g. middle click, context menu actions. Sites already exist that hide navigation behind non-links. Now they need to write JS to make that happen, which is at least a bit of a deterrent.

The proposal actually fully treats this as desirable:

> When web authors style links to look like buttons, they inherit the responsibility to make links behave like buttons in all possible contexts.

No, they don't. A web author that works to disable core functionality for links should be fired into the sun, not given easier tools to do so. If your action is really just a navigation, then the user should have the ability to treat it as such.

jorams··on Steel Bank Common Lisp version 2.6.7
SBCL works fine on Windows. It used to display a warning about fragility at startup, but that was removed in version 2.0.3, 6 years ago, after already being obsolete for quite a while.

CCL isn't very actively maintained and currently doesn't have an ARM64 port, but otherwise continues to work fine. I believe one reason people use it is that it compiles a bit faster than SBCL, at least in part by doing less optimization.

jorams··on Securing Services with Rootless Containers
Have you tried podman with the crun OCI runtime and `--annotation=run.oci.handler=krun`?
jorams··on Turn And Face The Strange
Yeah that seems like a weird way to end an article that includes this paragraph:

> Fly Machines and our Platform As A Service features aren’t going anywhere. But Sprites was the product of a tiny skeleton crew inside of Fly.io[†], and now it isn’t.

So it's both indeed.

jorams··on Jellyfin founder Andrew leaves team
> As far as Jellyfin is concerned, your files must include a tag of the form S__E__ somewhere in the filename. Being located in a folder called "Season 2" with names like "11 - name of episode" won't work.

I mean, I've got many like that and yes it does work. `s01/01 - Pilot.mkv` is recognized as season 1, episode 1, etc.

jorams··on Exploit brokers pay $500k for WordPress RCEs. I found one with GPT5.6 and $25
> There is meta-programming with annotations:

There is, but your example is not valid. You can't use short function syntax in constant expressions, it has to be an explicit `static function`.

The reason for this, IIRC (I can't find the GitHub issue or PR atm) is that these functions aren't allowed to close over any variables, and with fn syntax doing so is implicit. Rather than erroring they've disallowed the use of arrow functions entirely.

jorams··on Funny item co-occurrences in 3.2M Instacart orders
> So what happens if we look only at small carts, where the entire order is just 2 or 3 items?

How is this the last thing in the article? The sole example given of a "funny" combination (apples and condoms, weirdly bad example) is only remotely funny because those are the only items.

jorams··on Vancouver PD website features Quick Escape button that wipes itself from history
> Blank the page immediately with "document.body.innerHTML=''" before the page replacement

That's what the "document.body.style.opacity = 0;" is for. Though I agree emptying out the body is probably better.

jorams··on Interview with Mitchell Hashimoto about Ghostty and Zig
> Every post about programming languages seems to mention Rust. Even C++ articles bring up Rust, and Zig articles bring up Rust.

"Even C++" makes no sense. That's exactly where you'd expect it to be mentioned because Rust is pretty much aiming to be a C++ replacement. Mentions in the context of Zig also make sense, because Zig is aiming to be a C replacement in the same way Rust is aiming for C++, and C/C++ are overlapping areas.

You don't see much mention of Rust in discussions about something like Lua, because those are very distinct.

Some other reasons you might see it mentioned fairly often: Rust solves some issues at compile time that many languages solve at runtime using GC, making lower level programming more approachable for high level programmers and broadening its target audience. It has also had extremely active evangelists all over the place for a very long time, causing not mentioning it to trigger annoying derailment of discussions.

jorams··on My thoughts on the Bun Rust rewrite
> Anyway, let's try to discuss something more technical:

I'll note that this is followed by an entirely non-technical statement of opinion.

jorams··on Germany’s Infineon opens major chip plant as EU seeks tech autonomy
The company seems to be primarily in Germany (Aachen), with headquarters/holding company just across the border in The Netherlands (10km away in Lemiers, right on the border). That region is pretty economically integrated and I believe setups like this are fairly common to make use of the "business climate" of The Netherlands. Think taxes but also less bureaucracy. It looks like at least one of the founders also studied in Maastricht.
jorams··on Meta is adding rate limits and soft paywall to smart glasses
You call it "boring advertising on consumer apps", but that's exactly where all the shady stuff keeps happening.
jorams··on We moved our Bluesky data to Eurosky
A private company doing DARPA-funded research.
jorams··on Elastic lays off 7% of employees
There's really only a conflict between A and the rest, and that's because A is a lie. It's not a good thing, if it were they wouldn't have to say B and C.

They can try to do better and be hopeful, but they also fucked up big time. It's not like the public actually believes the lie, so stop telling it.

jorams··on Steam Machine launches today
Yes, that is exactly what a reasonable outcome looks like when the seller doesn't want to increase the price to levels their target customers can't afford. Some people won't be able to buy, but that is because of luck and not privilege.
jorams··on Dutch Railways offers unlimited off-peak train travel nationwide for €49/month
It doesn't work on bus, metro or tram, which GVB operates, but it does work on trains from all operators, not just NS.
jorams··on The forge we deserve
Sourcehut supports Mercurial, if the email workflow is your cup of tea. There's also Heptapod, which I believe is a fork of GitLab with added Mercurial support. I'm not aware of any Tangled or Radicle-like initiatives supporting it though.
jorams··on Hetzner Price Adjustment
> I rent their 20GB VRAM instance GEX44, for which they now ask a 500 euro one-time setup fee

Along with the increase in monthly prices they've dropped setup fees back to more approachable levels, though not as low as they were a year ago. For the GEX44 it was €79 a year ago, now €114. Monthly price was €184 a year ago, now €234.

jorams··on Hetzner Price Adjustment
Hetzner doesn't offer dedicated servers in the US. They operate two of their own data centers in Germany and one in Finland. In the US and Singapore they offer only cloud servers, running on hardware in others' datacenters.
jorams··on Arch Linux Now Believes Malware Incident Under Control: More Than 1,500 Packages
Packages in the AUR have some number of maintainers. When a maintainer no longer wants to maintain the package they can disown it, and when all maintainers do so the package becomes orphaned. An orphaned package can then be adopted by any user.

At any time there's a large number of orphaned packages in the AUR, and the attacker(s) targeted those.

Page 1 of 28Next →