Better HN
topnewbestaskshowjobs
Log inSign up

oriolid

730 karma · joined Nov 25, 2014 (12y ago) · 549 submissions

Submissions

comment 1d ago · link · parent

> Can it turn x++,x++ into x+=2

For this particular example the line should be clear. If the variable is volatile, memory access can't be removed or reordered. If it's not volatile, everything is fair game.

Mandatory Godbolt link: https://godbolt.org/z/fjKs4hbjo

comment 1mo ago · link · parent

Creating slop was already a solved problem before AI. AI just made it much more efficient.

comment 3mo ago · link · parent

In the before times, a small dedicated team could hold back against bad engineering culture and intentional enshittification. Now the balance has changed.

comment 5mo ago · link · parent

Does it make Matrix "proprietary" or "silo"? Did the IRCv3 WG have any results in 2015?

comment 5mo ago · link · parent

Like Matrix (the one at https://matrix.org)?

comment 5mo ago · link · parent

So... Usually it's claimed that one of the advantages of IRC is that it doesn't depend on a single server, so using a single server feels a bit like cheating. Replacing the server-to-server protocol sounds a lot like it's not really IRC protocol any more. The chathistory link says "This specification may change at any time and we do not recommend implementing it in a production environment." right on top. And yes, NickServ and ChanServ exist on some networks and IIRC they were one of the major points in debates over which network is the best and which ones to not touch with a ten feet pole. A hypothetical IRC-based Discord-like service could have it.

comment 5mo ago · link · parent

Netsplits, missed messages and bot wars over channel and nick ownership were an integral part of IRC UX, and they were direct consequences the IRC protocol. If Discord was run on top of IRC protocol, it would have the same. Discord would probably be its own network and the people who prefer IRCnet, EFnet or QuakeNet would never touch it.

comment 5mo ago · link · parent

Everyone probably has thought "what was the person thinking when they wrote this". Now you know that they probably didn't think (and since 2025 or so, it might not even have been a person).

comment 8mo ago · link · parent

I can totally understand why. I tried fixing ag around the time Ripgrep was first published and once I learned about rg I never looked back.

On a related note, it's now ten years since an everyday tool written in Rust was released and Rust is still seen as a scary new language that might turn out to be a quick fad.

comment 8mo ago · link · parent

For me it was trying to add a filter to search CMake files to ag and then realizing that the code had some rather stupid design decisions that prevented it. I wrote a pull request that fixed enough things to add the filter, got ignored by the maintainer and later realized that other people had already written the same filter and were ignored too.

comment 11mo ago · link · parent

I'm not completely convinced. When I was a teenager I pirated games because I didn't have money (and games were incredibly expensive back in the day). The people who I copied them from did it to show off their collection and connections, or just because they were my friends.

comment 1y ago · link · parent

I think every every company I've worked at that had R&D had some kind of reward system for patents. Yes, most of the software patents were nonsense but those who have their names on it still did get paid.

comment 1y ago · link · parent

Suunto, Polar and probably a lot of others were doing the same. Android was attractive because it would be a huge saving on software development costs, have maps out of the box and allow third-party apps.

At least Polar had a watch that would run in low-power mode by default and had a separate CPU that could run Android Watch when needed but that would drain the battery quickly. They had the sense to not make it the flagship model and it looks like the current models don't have anything like that.

comment 1y ago · link · parent

> "Peeing yourself to stay warm".

Which in-house OS this was about? For Symbian, "burning platform" was at least honest.

comment 1y ago · link · parent

Make it idiot at algorithms and I believe you.

comment 1y ago · link · parent

Did you actually look?

Typical websites are not static and include a huge amount of JavaScript and other stuff from different ad networks, analysis tools, etc. It looks like most of it isn't cached. Video delivery on the other hand is incredibly well optimized because everyone knows it's data intensive.

comment 1y ago · link · parent

No article sorry, it's just what the bandwidth display on my home router shows. I could post some screenshots but I don't care for answering to everyone who tries to debunk them. Mobile version of Facebook is by the way much better optimized than the full webpage. I guess desktop browser users are a small minority.

comment 1y ago · link · parent

> The vast majority of internet bandwidth is people streaming video. Shaving a few megs from a webpage load would be the tiniest drop in the bucket.

Is it really? I was surprised to see that surfing newspaper websites or Facebook produces more traffic per time than Netflix or Youtube. Of course there's a lot of embedded video in ads and it could maybe count as streaming video.

comment 1y ago · link · parent

To each their own.

comment 1y ago · link · parent

How much did you get paid for this comment? And if not, why was it worth writing?

comment 1y ago · link · parent

CMake has fetch_content, and CPM is a package manager built on top of it. They are not great.

comment 1y ago · link · parent

It's missing one important distinction: Below 0C: Freezing, probably slippery, not raining water. Above 0C: not freezing, probably not slippery, rain comes as water. They are as uncomfortable as you make them.

comment 1y ago · link · parent

Don't you remember how hostile people were to ripgrep just because ag or find + xargs + grep existed? Or the same with meson because cmake exists and cmake because autotools exists? Or systemd or clang? It takes an unusualy stubborn person or strong corporate backing to actually create an alternative to an established open source project.

comment 1y ago · link · parent

No, drunk people who do stupid shit or have passed out in public are just locked up for night and then let go unless they injured or killed someone.

comment 1y ago · link · parent

Cool project! I understand mass producing these doesn't much sense, but would a build kit that has just PCBs with SMD components in place and the rest of work left to user work? I know someone who did a similar project and it turned out that when ordering PCBs, single one is really expensive compared to even a tiny batch.

comment 2y ago · link · parent

I doubt that it would be good business for Microsoft though. The people who use them, and the people who buy them and force others to use them are two separate groups, and anyone who cares even a bit about user experience and has power to make the decision has already switched to something different. It's also the users, not Microsoft who pays for the wasted power and lost productivity.

comment 2y ago · link · parent

> apple finished the transition fat binaries are useless again?

Is the transition really finished? I'm writing this on a x86_64 Macbook with a browser that is distributed as x86_64/arm64 universal binary.

comment 2y ago · link · parent

Yes. The problem is that the field is insanely competitive, as in there are so many beginner pianists and so few paying gigs. Yes, there are many people who have made it as concert pianists, but concerning childhood dream careers, it is far easier to become an astronaut or formula 1 driver instead. Even the fallback jobs playing bars or accompanying when full orchestra is not available are going away.

comment 2y ago · link · parent

Yes, the giant in the language learning area is Duolingo and there are probably too many to list smaller ones. I wrote one word quizz app for myself when I was in high school, too bad startups weren't a thing back then.

comment 2y ago · link · parent

Yes, there are gamified learning apps like this. Some of the more well-known ones are Simply Piano, Yousician, Skoove and Synthesia and various clones but just searching "piano" on iOS app store gave me longer list than I cared to scroll through.

The nice thing is that you have to learn to play without looking at your hands because your eyes are fixed at the screen. The less nice part is that especially with Synthesia style it is difficult to play without the app.

12345
19