Recent submissions

Comment · 9 months ago
I used to manage a small fleet of about 6 XPS laptops at my old job. 3 of them needed motherboard replacements under warranty within a year. People would put them on standby and put them in their bag, then get home and find the laptop had decided to start up of its own volition and overheat to the point it would be searing hot to the touch. The charging would randomly fail or the laptop would go into a boot loop. Not to mention problems with Windows deciding to update 2 minutes before an important meeting (and then naturally the progress bar would get stuck).
Comment · 11 months ago
> Wouldn’t a language designed for vibe coding naturally dispense with much of what is convenient and ergonomic for humans in favor of what is convenient and ergonomic for machines? Why not have it just write C? Or hell, why not x86 assembly?

Or why not just produce a binary directly? It seems we've just invented a compiler.

Comment · 1 year ago
I became interested in the language after a brief relationship with a Ukrainian.
Comment · 1 year ago
The idea that child brains are better at learning languages is a myth. Adults struggle with languages because traditional language education is not fit for purpose. If you took a child and isolated them in such a way that they never got comprehensible input, and instead only gave them traditional language lessons (think textbooks, grammar drills) - they too would struggle. The good news is that if you take an adult and give them comprehensible input like you would a child, they will learn at least as effectively as a child.
Comment · 1 year ago
Comprehensible input does seem to be the most effective way. i.e. get a lot of input that is only slightly beyond your current level (i+1).

I'm learning Ukrainian and there is a podcast "Ukrainian Lessons Podcast". Seasons 4-6 are not so much lessons but more just discussions about life, history, culture in 100% slow comprehensible Ukrainian. In one of the episodes Anna talks about how she spent most of her life getting English lessons at school and university, but still couldn't use the language freely. Finally, she watched Friends and by the time she'd finished every season, she felt she at last had a good command of English.

Sitcoms are good because they depict a lot of everyday situations, are rich in dialogue (i.e. real language people use daily), and there is a lot of slang and cultural references. Of course, you first need to develop enough of a base in the language to understand what's going on.

Comment · 1 year ago
Exactly this. I remember when it was just a couple small links in a yellow banner you could scroll past. Same with YouTube, the ads used to just be a banner under or beside the video but didn't interfere with the main content. Once the ads got invasive, I installed ublock and haven't looked back. I don't feel the slightest bit guilty about that.
Comment · 1 year ago
I had no problem with ads when they were just a banner next to the video. Now youtube is borderline unusable without an ad blocker. That said they are free to try and stop me, and I am free to continue using ublock.
Comment · 1 year ago
So many of the so-called "C alternatives" end up doing way too much. I don't need algebraic data types or classes or an integrated build system or a package manager.

What I would like to see is a language that is essentially just C with the major design flaws fixed. Remove the implicit casting and obscure integer promotions. Make spiral rule hold everywhere instead of being able to put const at the beginning of the declaration. Make `sizeof()` return a signed type. Don't allow mixed signed/unsigned arithmetic. Make variables/functions private by default i.e. add `public` to make public instead of `static` to make private.

Keep the preprocessor and for the love of god make it easy to invoke the compiler/linker directly so I can write my own Makefile.

Comment · 1 year ago
He isn't? The patch of green on the finger is his middle knuckle. His finger is well outside the trigger guard.
Comment · 2 years ago
> If you weld 2 sticks of metal together end to end, then bash them on the ground, they're likely to break at the weld

This doesn't sound even remotely true to me, except in the case of an absolute beginner doing the welding

Comment · 2 years ago
> Is there a library for that?

What? Are there really people out there relying on libraries for every peripheral? I've never seen anyone use a third party library for peripherals like that, short of some prototyping on an Arduino or the like. It's always just drivers implemented from scratch.

Comment · 3 years ago
> I just don't see any of the upsides that so many people seem to.

The way I see it I'm going to be paying a mortgage either way. I'd rather it be my own than my landlord's.

Comment · 3 years ago
> It’s not uncommon for borrowers to extend their loans until their deaths

How is this possible? I can't imagine any bank giving me a loan knowing there's a good chance I won't be alive to pay it back.

Comment · 3 years ago
The MISRA guidelines are awful.
Comment · 3 years ago
I know we all generally just do what the boss tells us but:

> being able to write complex UIs that can work on any browser, any device, with all assistive technologies, and all languages, is extremely hard

Why do we keep doing this? If you get rid of the animations, popups, and invasive ads, then with what's left you can probably do away with all of this crap.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton