Better HN
topnewbestaskshowjobs
Log inSign up

qalmakka

5,254 karma · joined Nov 10, 2017 (9y ago) · 1,044 submissions

Submissions

comment 3d ago · link · parent

In the last few decades the hype around GC kind of faded because GC is literally a complex solution designed to fix only one single class of leaks - memory leaks - which often makes other kinds of leaks (mutex, file descriptors, handles, ..) actually harder to handle unless the language is carefully designed around them. Just look at Java's `try()` or `with` in Python, etc, which are afterthoughts added later. RAII may be rudimental but it can potentially fix all classes of leaks by introducing deterministic lifetimes and scopes which aren't tied with the resource itself. There are other solutions for this? yes of course, but the success of Rust which is literally built over a stronger, deterministic form of RAII kind of makes debatable whether a better system is needed at all. Especially since LLMs are excellent at Rust and kind of make opting for "weird" languages moot. And I say this as a person which _loves_ niche languages and language design.

Nowadays you can probably vibe/slopcode whatever you need with just a bit of Rust, Python/shell scripts as glue and maybe Javascript if it's a webapp (but we'll likely replace that with WASM soon I'm afraid)

comment 4d ago · link · parent

I have mixed feelings about this. This is both incredible and utterly stupid at the same time. I love it.

comment 4d ago · link · parent

Next step is, find a way to run multiple XNU containers and finally allow people to run more than two images without filling a warehouse with idle Mac Minis :)

comment 4d ago · link · parent

AFAIK Apple doesn't use just AArch64; they have their own extra extensions which you can't easily replicate

comment 1w ago · link · parent

Agree. Claude sucks at writing, you can pinpoint it's Claude from a million kilometres away and it always sounds like it's writing in slogans or something. Both GPT and Gemini are way better at writing text

comment 1w ago · link · parent

One thing that drives me nuts is that your average European Government (look at Italy or France) is absolutely open to implementing draconian laws with borderline authoritarian censorship in order to save the profits of football leagues. It's absolute madness, and it's a reflection of the corruption and how football got too big and too powerful in Europe.

There's nothing bad with football, but having it take >90% of all sport revenues and mindshare is unhealthy

comment 1w ago · link · parent

yep, but it's not better at picking strong, long term decisions in my experience. The LLM most of the time is like a very knowledgeable employee that just does what it's told, and if the boss doesn't understand that you can do something, will often not ask for it to begin with.

for instance, if you use a shitty library X in a project, and you ask your frontier model "please change A -> B" the model will just do that, it will not tell you "well maybe you could also swap the whole thing with Y" because that's not its job - it's job it to change A to B.

comment 1w ago · link · parent

A gut feeling I've been having since the start of the LLM era is that horizontal knowledge (aka, knowing that stuff exists, can be done in certain way, being able to understand the details without knowing them intimately and being able to do it with a wide array of things) will start getting more and more important the further we go in, because if you know that stuff exist you can point an LLM at it or get it to go in a specific way that it wouldn't take otherwise. LLM have a very strong tendency to just go from point A to point B, and they're often limited to what you can prompt.

This is basically the opposite of the last 50+ years where vertical knowledge (being a savant in a certain very specific field) was seen as the most important thing to have in a super specialised world.

This of course is just my perception, which needless to say, may be wildly off

comment 1w ago · link · parent

Yes, I never realised that Mach had become a microkernel only after version 3, before it was a hybrid. NeXT and then Apple simply continued the older lineage which mixed BSD with userspace bits

comment 1w ago · link · parent

The problem is that the language is simply too complex with way too many corner cases.

For instance, C++ the only programming language that comes to my mind where the grammar is type 0 in the Chomsky classification - it means it has to be parsed with a Turing machine and thus every C++ compiler suffers from the halting problem.

This means that having a C++ compiler that will never crash or hang is literally mathematically impossible unless you stick to only parsing a subset of the grammar. Modern compilers bypass this by doing things like capping how many times templates can recurse, etc but this means that the frontend it will inevitably end up in unsavoury corners where it relies on its authors explicitly handling them - which sometimes they did not

comment 1w ago · link · parent

Precisely. Clangd can successfully index the entirety of Unreal Engine for instance (after fixing how you generate compile_commands.json, and taking like 32 GB of RAM in the process), which is not a small feat. Let's see if this new kid can do the same, it has been indexing 43k files for 10 hours now so for one it is indeed slower than clangd, which took like only 5

comment 1w ago · link · parent

Clangd is slower precisely because it's very precise. The old indexers you mention, like the one in Eclipse CDT, never truly worked for me. They weren't that useful and were always lacking compared to IntelliSense. clangd was the first time the FOSS alternative truly matched and often trounced IntelliSense

comment 1w ago · link · parent

A great pragmatical axiom of security is that if it doesn't come cheap in terms of speed and convenience, it's likely going to fail in the end. People will always pick practicality over security in the real world: if it takes too much time to lock and unlock the front door, the average person will just leave it ajar.

Linux was a monolithic kernel because in 1991 microkernel were in earnest 25 years too early. Computers didn't really have the extra performance to spend for things like IPC and stuff. lots of other kernel designs that started back then like NT and Nextstep (was the NextStep kernel called XNU already? I guess not) all tried the microkernel route and then ended up doing stuff like networking at kernel level anyway because it just didn't work well enough.

arguably nowadays we have extra headroom to spare so stuff like containers, sandboxing, userspace drivers are becoming more and more commonplace.

comment 1w ago · link · parent

> That ideas are cheap and execution is everything.

Derivative ideas? Like "let's make a $thing with $variant"? Yes those are cheap, and AI made them pointless to pursue because most people can now whip up a hacked up variant of $thing with GPT and be happy with it, until they realise that it didn't add that much value to begin with.

But good, truly good ideas? Those that turn everything around? Those are cheap in the sense that your brain doesn't consume that much energy having them, but they are rare.

LLMs kind of confirmed we're indeed constrained by ideas: the homepage of HN isn't full of things like "we reimplemented X in Y" because we were full of revolutionary ideas to begin with. IMHO LLMs have further hampered the spread of truly great ideas - because nowadays if you have a truly great idea you have a fork:

- your idea can be quickly implemented by an LLM. You do it, and then everybody simply copies it using their LLM.

- your idea requires time, iterations, ... so the LLM speeds up delivering it, but only a bit. We're still on a path similar than before - even before you could just hire more people and try to deliver stuff faster, as long as you had all already clearly planned beforehand.

So yes LLM are a big boon to productivity, but IMHO cast a long shadow of "why would I do it at all" on things. In the before times, I'd spend my day coding a dumb library for fun, just to brag about it a bit on Github and HN. But given that nowadays LLMs have reduced the value of code to ~0, the one thing that still has value is the idea behind. Which now people have less incentive to put out in the first place.

comment 1w ago · link · parent

This. The manpower was rarely the bottleneck. Good ideas were and still are

comment 2w ago · link · parent

Ok, but Linux UM exists - why can't it be extended and used instead? It should in theory offer better compatibility, right?

comment 2w ago · link · parent

The question I always have when I see these userspace kernels is, Linux in Userspace exists. You can boot Linux with a root in userspace already. Why write a new kernel from scratch instead of fixing/improving usermode Linux instead, which has the benefit of providing the entire Linux API already?

comment 2w ago · link · parent

Let's be honest, the only thing I care about is, does it beat Opus 5.5 on assbench??

comment 2w ago · link · parent

Yes it would be interesting to know what the pros and cons of this are compared to CEF. CEF is a massive PITA so it would be great to have an alternative, honestly

comment 3w ago · link · parent

honestly speaking, I think that shifts would almost always be better represented with functions, like lsl(a, 4), which solves the shenanigan between arithmetic/logic shift too.

comment 3w ago · link · parent

If you use the shunting yard algorithm or similar for infix binary operators it's trivial to define a table with operator precedence values and use that. You can have a bunch of operators all at the same priority but it is the same complexity really, the algorithm is pretty trivial

comment 3w ago · link · parent

Yes but if you read the EULA the two VM limit it does sound like you can't really sell access to VMs:

> except as otherwise provided in writing, signed, or issued by an authorized representative of Apple, to install, use and run up to two (2) additional copies or instances of the Apple Software, or any prior macOS or OS X operating system software or subsequent release of the Apple Software, within virtual operating system environments on each Apple-branded computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using macOS Server; or (d) personal, non-commercial use.

In section 3 they also say that if you're renting access to a Mac you can only run one VM, which sounds kinda like that

> Except as expressly permitted in Section 3, the grant set forth in Section 2B(iii) above does not permit you to use the virtualized copies or instances of the Apple Software in connection with service bureau, time-sharing, terminal sharing, relay service or other similar types of services.

comment 1mo ago · link · parent

I'm puzzled about why people were so vehement at roasting Joe Biden for his clear advanced age, while Trump is blatantly suffering from dementia or some similar mental impairment. His speech is way more rambling and incoherent that anything Joe Biden ever went through, and it doesn't get better when he's in a more familiar setting - quite the opposite, he gets more and more nonsensical whenever is giving an interview to anybody

comment 1mo ago · link · parent

Unfortunately C++ is full of very dubious features that I argue may not make much sense or may make sense in a different form that's not how C++ implements them.

comment 1mo ago · link · parent

IMHO the current contracts are a half-baked feature that I suspect will immediately end up in most coding styles as "do not use contracts".

I understand the concept but having a feature that's not consistent among compilers, targets, ... all while doing absolutely nothing to solve the _real_ problems with C++. Like that the build model is still the obsolete TU model of C, while adding multiple compile-time features that inevitably end up causing build times to skyrocket considerably. Or that modules are still DOA after 6 years. Or that the syntax is full of bullshit anti-features that could be at least fixed by having a proper build model (like Rust) and editions (like Rust).

Having yet another feature that only works sometimes with quirky semantics is dumb and I understand why many people feel like it should be shelved to prioritise the features people _really_ care about, like meta

comment 1mo ago · link · parent

That's a feeling I've been also feeling for the last year or so. Turns out the means was what I cared about, and I didn't care about the ends that much. LLMs robbed me of that in a way I couldn't see coming.

I think that we as a society fail to see that the speed we built things was rarely the problem. The real shortage was in the ideas - having them, finding the motivation to act on them, sharing them, and the biggest driver was the desire of showing off, being told you are great and your idea was great.

I am afraid that by removing the ick to fix things, to challenge everything and being rewarded for that, we will end up with less innovation, not more. Why bother? Why do anything if everything is cheap, why start a new project only to be shrugged away as being yet another thing any machine could have done? Why show off when the merits are the machine's?

HN went from being a constant stream of Show HN to AI news after AI news. The most interesting projects AI have enabled are to run old stuff onto other things.

Rehashes of old ideas keep sprouting out of everywhere, keeping new ones at bay. I think we are probably entering a long winter and all that will be left is permutations of what we did before '23

comment 1mo ago · link · parent

Jesus H Christ these guys had literally the number 4 as their secret and they call telling them they're incompetent an "out of proportion" reaction?

comment 1mo ago · link · parent

yeah anyone wise migrated away from PHP ages ago. The fact it got lipstick on back with PHP7 doesn't make it a well designed programming language. At least in my experience the vast majority of PHP websites nowadays are old abandoned PHP5 projects, which aren't much worse than just slopping a rewrite in something else

comment 1mo ago · link · parent

[flagged]
12345
35