entwine

joined 3 months ago
[–] entwine@programming.dev 4 points 2 months ago

The outcome is the same, but the meaning is scarier. In the first case, it's a corrupt/incompetent politician being corrupt/incompetent, which is nothing new (Bush is the same redneck dipshit who purposefully lied to justify a war with Iraq)

This time, it's a competent judge outright refusing to enforce the law even after he himself found them unambiguously guilty of breaking it, and even found they destroyed evidence to try to avoid getting caught. The rot has crept into the judiciary, which is supposed to be America's final line of defense against corruption and injustice.

I think I'm going to start investing in crypto, or maybe launch some AI-powered botnet to scam vulnerable grandparents out of their life savings. The age of honesty and integrity is officially dead.

[–] entwine@programming.dev 101 points 2 months ago

Honestly, there's probably a bigger market for a working printer than for their laptops.

[–] entwine@programming.dev 6 points 2 months ago (2 children)

To be fair, Microsoft's slap on the wrist came from Bush forcing the DOJ to settle. In this situation, it's a spineless judge refusing to enforce the law in the first place.

[–] entwine@programming.dev 9 points 2 months ago

Another reason to use Linux is to spare yourself the Windows CMD prompt syntax

[–] entwine@programming.dev 7 points 3 months ago

Rug pulling a blog service? Seriously? Any first year student can make something like this. The name/brand is probably the only part that's remotely valuable, and a rug pull is a good way to fuck that up.

[–] entwine@programming.dev 4 points 3 months ago

With old hardware, beggars can't be choosers. I get the appeal of the nouveau driver, but if your goal is to save a machine from the landfill, it's probably the better compromise to use the proprietary driver and keep it actually competitive for as long as possible. Those 900/1000 series cards are still plenty powerful today, even if they can't quite do AAA gaming anymore.

[–] entwine@programming.dev 8 points 3 months ago (2 children)

Bazzite. Every other recommendation is wrong.

Bazzite is "immutable". What that basically means is that you won't be able to break it even if you try. And if it does break somehow (for example, because of a bad update), you can fix it by doing a rollback, which is literally a one-line command: sudo rpm-ostree rollback

Sure, there are other immutable distros out there, but Bazzite is probably the most popular right now, and it ships with Nvidia drivers so it's ready to go for 99% of people with no changes necessary.

[–] entwine@programming.dev 2 points 3 months ago (1 children)

I think you're conflating regular auto use with using it as a return type/argument. The latter is syntactic sugar for declaring a template. It isn't any less "documented" than doing a template<class ReturnType>....

[–] entwine@programming.dev 22 points 3 months ago

Once the bubble pops, Claude, OpenAI, etc will need to raise prices and/or tighten rate limits. I wouldn't want to be a "vibe coder" in that situation.

[–] entwine@programming.dev 2 points 3 months ago (1 children)

being inserted automatically.

Aka the entire point of RAII

[–] entwine@programming.dev 6 points 3 months ago (1 children)

This non-sarcastically. The operating system is better at cleaning up memory than you, and it's completely pointless to free all your allocations if you're about to exit the program. For certain workloads, it can lead to cleaner, less buggy code to not free anything.

It's important to know the difference between a "memory leak" and unfreed memory. A leak refers to memory that cannot be freed because you lost track of the address to it. Leaks are only really a problem if the amount of leaked memory is unbounded or huge. Every scenario is different.

Of course, that's not an excuse to be sloppy with memory management. You should only ever fail to free memory intentionally.

[–] entwine@programming.dev 2 points 3 months ago

Software. It's a phone that can't make phone calls, with a camera that can't take pictures. It doesn't matter if some coding genius manages to port Crysis to it, if the phone can't phone, it's DOA.

view more: ‹ prev next ›