HackerLangs
TopNewTrendsCommentsPastAskShowJobs

jorams

4,002 karmajoined 12 ปีที่แล้ว
You can reach me at hn at joram dot io

comments

jorams
·17 ชั่วโมงที่ผ่านมา·discuss
> 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
·เมื่อวาน·discuss
> 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
·8 วันที่ผ่านมา·discuss
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
·10 วันที่ผ่านมา·discuss
You call it "boring advertising on consumer apps", but that's exactly where all the shady stuff keeps happening.
jorams
·11 วันที่ผ่านมา·discuss
A private company doing DARPA-funded research.
jorams
·16 วันที่ผ่านมา·discuss
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
·18 วันที่ผ่านมา·discuss
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
·22 วันที่ผ่านมา·discuss
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
·23 วันที่ผ่านมา·discuss
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
·25 วันที่ผ่านมา·discuss
> 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
·26 วันที่ผ่านมา·discuss
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
·28 วันที่ผ่านมา·discuss
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.
jorams
·29 วันที่ผ่านมา·discuss
> Guess I'll be switching to a new OS this weekend across multiple machines.

This is a bit of an odd response. Arch very explicitly separates the AUR from everything else and doesn't make it easy to work with, because its security model has always been fundamentally broken and requires you to do your own vetting. It exists to facilitate sharing of package recipes between untrusted users. You should treat it like a pastebin.
jorams
·เดือนที่แล้ว·discuss
It's a bit buried, but it does:

> In contrast to conventional radial flux motors, the electromagnetic flux in an axial flux motor runs parallel to the axis of rotation. The key components are arranged in a disc‑shaped layout: two rotors sandwich the stator from the left and right. This design enables an especially compact motor architecture, high power and torque density, and new freedoms in drivetrain packaging. In the new Mercedes‑AMG GT 4‑Door Coupe, the motor at the front axle is just under nine centimetres wide; the two motors at the rear axle each measure around eight centimetres in width. The three axial flux motors are integrated per axle into so‑called High Performance Electric Drive Units (HP.EDU), where they are combined with a compact input planetary gearbox in a single housing.
jorams
·เดือนที่แล้ว·discuss
My favorite example of bad Netflix subtitles is Suits (2011). The music during the intro is the same throughout the series, from the song Ima Robot - Greenback Boogie. The English subtitles for the lyrics are wrong every single season, and they're wrong in a different way for every one of those seasons. The lyrics are not at all hard to understand--they've pretty specifically cut together some of the lyrics that are easiest to understand--so it's extremely obvious, but somehow nobody at any point figured out that they could just do it right once and not look totally incompetent.

After the initial Netflix release of the first 3.5 seasons (might have been 4.5, it was a baffling cutoff) they somehow decided not to add the rest, so I pirated it. Every single pirated intro came with perfectly correct lyrics.
jorams
·เดือนที่แล้ว·discuss
No. This is the equivalent of putting "echo 'rm -rf ~'" or similar into a test suite. The output of a test suite is not intended to be piped straight into your shell, and if you decide to do so anyway the consequences are entirely on you.

If your agent executes any random instruction in a piece of text, it behaves like a shell, and you should either fix that or bury it deep in a sandbox.
jorams
·2 เดือนที่ผ่านมา·discuss
Something you'll see in real codebases is code that cares whether an input value is "empty", but it doesn't matter if it's null or an empty string. It's very easy to go for this:

    if ($input) {}
It'll work through every test case you try, and then someone enters a 0 into the field and it's also unexpectedly considered empty.
jorams
·2 เดือนที่ผ่านมา·discuss
You didn't mention private repos in your comment, but I guess that was implied in the $7 thing.

That said: SourceHut has private repos and access control.
jorams
·2 เดือนที่ผ่านมา·discuss
This is at least partially disingenuous. Zig is working on, and has already shipped for some situations, a faster compiler. Bun runs on an outdated version of Zig that doesn't include it.
jorams
·2 เดือนที่ผ่านมา·discuss
Reproducible builds exist to reduce the need for trust, while commercial vendors are in the business of selling trust.