skysight-inc/HackerNews huggingface dataset:
"There are only two kinds of languages: the ones people complain about and the ones nobody uses".

---

Glad to see fluffy negative articles about Rust shooting up the first slot of HN in 20 minutes. It means Rust has made finally made it mainstream :)

---

The points, addressed, I guess?

- Rust has panics, and this is bad: ...okay? Nobody is writing panic handling code, it's not a form of error handling

- Rust inserts Copy, Drop, Deref for you: it would be really annoying to write Rust if you had to call `.copy()` on every bool/int/char. A language like this exists, I'm sure, but this hasn't stopped Rust from taking off

- Fetishization of Efficient Memory Representation: ... I don't understand what the point is here. Some people care about avoiding heap allocations? They're a tool just like anything else

- Rewrite anything and it gets faster: okay sure, but there are limits to how fast I can make a Py/JS algorithm vs a compiled language, and Rust makes writing compiled code a bit easier. People probably aren't rewriting slow Python projects in C these days

- Rust is as complex as C++: ...no, it's not. Rust really hasn't changed much in the past 6 years. A few limitations being lifted, but nothing majorly new.

- Rust isn't as nice of community as people think: subjective maybe? People are nice to me at conferences and in discussion rooms. There's occasional drama here and there but overall it's been pretty quiet for the past year.

- Async is problematic: Async Rust really is fine. There's a huge meme about how bad it is, but really, it's fine. As a framework author, it's great, actually. I can wrap futures in a custom Poll. I can drive executors from a window event loop. Tokio's default choice of making `spawn` take Send/Sync futures is an odd one - occasionally cryptic compile errors - but you don't need to use that default.

I'm unsure why this article is so upvoted given how vapid the content is, but it does have a snappy title, I guess.
I think this is similar in Polish - I believe there are different suffixes depending on the level of <something> (IIRC this was for some compounds of Fe)
Also agree that the example code base is not the best example to use.

The Chromium code base is a joy to read and I would routinely spend hours just reading it to understand deeper topics relating to the JS runtime.

Compared to my company's much smaller code base that would take hours just to understand the most simplest things because it was written so terribly.
I’d love to see a list of all these services-related best practices. Another one I saw recently was “computational kindness”
If you heavily rely on the Python standard library, then you’re using a lot of Python code that doesn’t call out to C extensions. Peruse the standard library code, if you want to get a sense of it: https://github.com/python/cpython/tree/main/Lib

So you can expect any code that heavily relies on the standard library to be slower than the Rust equivalent.

A purely interpreted language implementation (not JIT’d) like CPython is almost always going to have a 10x-100x slowdown compared to equivalent code in C/C++/Rust/Go or most other compiled/JIT’d languages. So unless your program spends the vast majority of time in C extensions, it will be much slower.
If I say I have been to McDonald's all across the country, that does not mean I have been to EVERY single McDonald's restaurant. Just various ones across the country
Imagine the government went away tomorrow. Would Mark Zuckerberg's employees keep giving him any kind of money for the work they are doing? Would they even give Facebook money, or would they just emit invoices with their own bank accounts as the destination?

Billionaires absolutely depend on a very robust system of laws to maintain control of the giant corporations that they own. Zuckerberg couldn't even enter a Facebook building if his employees rebelled against him and the law wasn't protecting him.

Note, I'm not trying to single out Zuck in any way, just wanted to pick some billionaire tied to a well known corporation to make the examples simpler.
Possible supply-chain "attack" (or demonstration, from what I can tell) on wherever they get their polyfill library? It's coming from:

https://polyfill.archive.org/v3/polyfill.min.js?features=fet...
I’ve heard that it’s depressing! Hard for me to get that one.
Revisiting the DOS Memory Models
Bitcoin Creator Suspect Says He Is Not Bitcoin Creator Suspect
i see more than 2
It looks like someone has compromised one of their subdomains for Polyfill

Update: Subdomain seems to be returning normal responses again now.
The two are not mutually exclusive. Also, I don't think I have ever needed to actively think about memory management more than .clone() and static for any hobby project I have undertaken. All the ML-like features like sum types, pattern matching etc. add great value. Cargo too. So, it is a great general purpose programming language. But blaming it as too low-level or similar despite choosing it is obtuse at best.
"You are all cooked" vibes from that message hahaha
This is an old example, but - date/time parsing.

A coworker of mine years ago was trying to parse out some large logfiles and it was running incredibly slowly (because the log file was huge).

Just for fun he profiled the code and found that 90% of the time was spent taking the timestamp ("2019-04-22 15:24:41") into a Python datetime. It was a slow morning, so we went back and forth trying to come up with new methods of optimizing this parsing, including (among other things) creating a dict to map date strings to datetime objects (since there were a lot of repeats).

After some even more profiling, I found that most of the slowdown happened because most of Python's strptime() implementation is written in Python so that it can handle timezones correctly; this prevented them from just calling out to the C library's strptime() implementation.

Since our timestamps didn't have a timezone specified anyway, I wrote my first ever C module[0] for Python, which simply takes two strings (the format and the timestamp) and runs them through strptime and returns a python datetime of the result.

I lost the actual benchmark data before I had a chance to record it somewhere to reproduce, and the Python 3 version in my repo doesn't have as much of a speedup compared to the default Python code, but the initial code that I wrote provided a 47x performance boost to the parsing compared to the built-in Python strptime().

Anyone who had a similar Python script and converted it wholesale to Rust (or C or Golang, probably) would have seen a similarly massive increase in performance.

[0] https://github.com/danudey/pystrptime/
The embedded dev world would like to have a word with you.
A sold out Rolling Stones concert doesn't suddenly make them more relevant.. Green Day has the luxury of having a fan base that's not entirely dead of old age yet.
Neil,

Thanks for participating. I have an honest question:

How do you reconcile your post [0] claiming that Automattic controls all commercial aspects of the trademark with Matt's previous claim that "the most central piece of WordPress’s identity, its name, is now fully independent from any company" and that Automattic had "give[n] up control" of the marks? [1]

[0] https://automattic.com/2024/10/02/wordpress-trademarks-a-leg...
[1] https://ma.tt/2010/09/wordpress-trademark/
I can't find any reference to fire besides fire place, to flammability or to oxygen partial pressures in this system.

What keeps this from being a fire hazard? If I were trying to oxygenate a house without setting it on fire I'd be putting a diffuser into a central air system not piping a point source of concentrated oxygen straight into rooms.
This is me exactly. I always say "strength in my right, finesse in my left" even though it's not exactly accurate; I couldn't hit the ground with a football from my left hand.
> why would I use containers for base services?

This is a supported feature of podman which can generate systemd units to make system services.

But, as for advantages (system has some of them too), sandboxing, resource constraints, ease of distribution, not being broken by system updates (glibc update on RHEL broke some Go binaries iirc).

My rule of thumb is that only system software (e.g. DE, firewall, drivers, etc) belong on the base system, everything else is going in a container. This is very easy to do now on modern Linux distros.
I don't have too much experience with async, but I have noticed a similar pattern. Maybe you are right.
The language police are mentioned on page 65 of "Solomon Gursky Was Here" by Mordecai Richler, published 1989:

The lot outside The Caboose, punctured with potholes, overlooked a lush meadow lined with cedars. There were picnic tables out there as well as an enormous barbecue, the engine a salvage job done on an abandoned four-stroke lawn mower. Sundays in summer the truculent and hungover Rabbit would turn up at seven A.M. to begin roasting a pig or a couple of shoulders of beef for the community dinner, all you could eat for five bucks, proceeds to The Old Folks Home in Rock Island. The Rabbit was once dismissed for pissing in the fire. "People was looking and it puts them off their feed." He was fired again for falling asleep in the grass after guzzling his umpteenth Molson and failing to notice that the spit hadn't been revolving properly for more than an hour. Then he beat up an inspector from the Commission de la Langue Francaise outside The Thirsty Boot on the 243. According to reports the inspector had ordered The Thirsty Boot to take down their sign and replace it with a French one. "Sure thing," the Rabbit had said, kneeing the inspector in the groin, just to cut him down to his own height before laying into him. "We're gonna put up a pepper sign all right. Only it's gonna read 'De Tirsty Boot'." After that he could do no wrong.
tldr on Cryo-EM?
Oh wow, I wasn't able to click on the headline so I thought that wouldn't work! Thank you!
> Last week, Mullenweg announced that he’d given Automattic employees a buyout package, and 159 employees, or roughly 8.4 percent of staff, took the offer. “I feel much lighter,” he wrote.

Wow, that's telling. 8.4% of his company decided he was acting in enough bad faith to quit without another job lined up in this economy? And he takes it as a good sign? Wow...
There was, unfortunately, but most of it has since been (correctly) flagged.
I'd argue there is a moral obligation to support open source projects if you rely on them as a cornerstone of your business. However it's not a legal one.

Open source is based on idealistic and community based mindset and modern tech is now based around extracting the dollars. The two aren't really compatible and it's really quite sad to see.

That being said this the most stupid way to go about it.
Imagine a society of red-headed left-handers.
Commission proposes an EU Digital Travel application for easier and safer travel
I have no idea what they were talking about. For all I know they could have been talking about soccer.
Why bother when N=1 is sufficient to solve P=NP?
> Fetishization of Efficient Memory Representation: ... I don't understand what the point is here. Some people care about avoiding heap allocations? They're a tool just like anything else

The point is that dealing with the Rust borrow checker is a huge pain in the ass and for most Rust applications you would have been better off just using a garbage collected language.
make -j$(nproc)
Show HN: Index Wizard – Elevate Your Day Trading with Community-Enhanced Algo
Hello HN,

Navigating SPX and SPY markets can be complex. That’s why we created Index Wizard, a platform where traders can leverage algorithms enhanced by real user feedback—not just claims.

Here’s what makes us different:

• Community Focused: We grow and improve based on collective user insights.
• Transparency First: Access detailed performance data to see exactly how and why strategies work.
• Education and Support: More than just tools, we provide knowledge to make you a more informed trader.

We’re here to build a trustworthy trading community where everyone can benefit. Interested? Join us and let’s elevate our trading together.
I do not believe that was ever the case. They track searches, sure, but it is not associated with your user id. The way they treat incognito browsers is just like a freshly installed firefox browser that's never been logged into a google account. They're logged as anonymous searches.
What should we replace the corn with?
Has to fund his 'who has the most expensive/rarest ferrari' pissing match with roger, somehow.
A quick google for yourself will take you a long way. You may want to consider researching your claims first going forward.
How does cementing early leaders benefit consumers?

This seems like the opposite of what the government should be doing to incentivize competition and innovation.
JetBlue is no longer serving hot food in economy class on transatlantic flights
See, depending on your definition of "systems programming language", that is just wildly false. A language that nails all the details and ergonomics of expressing a kernel block device driver is almost necessarily going to be suboptimal for exploratory scientific computing or line-of-business app development.

Again: this is about the term, not about the language. I don't think it's controversial to suggest that there is no one ur-language that is optimal for every problem domain!
> The CHRF rights that they circumvented "notwithstanding" are pretty generic and commonly recognized human rights

And yet, the examples you posted don't really sound like serious human rights violations to me. So perhaps they are being interpreted expansively by Canadian jurisprudence.

> using genealogy to decide which children may or may not attend English-language schools.

Lots of places only let you attend school in the official language. So by letting people who are part of the Anglophone community (i.e., born to Anglophone parents, I guess what you're calling genealogy) attend English-language schools they're making _more_ concessions to the Anglophone minority than is generally accepted as required by human rights. I certainly don't see anyone in the political mainstream claiming that France is committing human rights violations by refusing to set up public schools in languages other than French.

> forcing them to make it larger than English even in cases where French is already perfectly visible and legible (i.e. beyond an obvious utilitarian purpose) is just petty revenge

It is not petty revenge. Well, maybe it is for some hardcore nationalists. But the more charitable interpretation, that French needs a bit of an extra push (beyond just requiring equal exposure as English) in order to withstand the huge pressure from the surrounding Anglosphere, is reasonable.

> I also have to remind that the French are themselves colonial settlers in Canada, and that the requirement that French must be the "predominant language" on signs also applies to bilingual French/Native signs outside of official reservations.

I agree with you here. Indigenous people should be able to protect their culture from the dominant surrounding Franco-Quebec culture just like Franco-Quebecers should be allowed to protect their own from the dominant surrounding Anglosphere, and I unreservedly criticize the Quebec government as hypocrites for not allowing them to.
A site where employers can find the worse candidates?
I think it's worth pointing out that a tool that can't explain its value prop without a signup is considered a must-skip by a lot of folks.

Yeah, it's classic growth hacking. It's also a giant red flag at this point.
Now it shows a 'Temporarily Offline' message
If you’re in the major Texas cities you know there’s really only one.
Reading this gave me a weird idea. What if SQL is so successful exactly because its syntax makes JOIN operations cumbersome. Other languages where joins are syntactically convenient (e.g. datalog) make it much easier to write slow queries, whereas SQL forces you to denormalise tables tables from a syntactical standpoint already, which later translates to performance gains when it comes to semantics.

In a sense SQL is the (typewriter) QWERTY of query languages. Inconvenient by design.
If you take this to its logical conclusion then nobody pays taxes and then society falls apart. Clearly, that money does something.
German has grammatic gender for all nouns, so it is consistent in that regard, at least. I also don't like novel ungendered forms for languages like Spanish ("latinx" etc) for the same reason - they stick out like a sore thumb because they don't fit the overall feel of the language where gender is already a pervasive concept. It's kinda like taking a statically typed language and introducing completely new syntax to omit the type in one very specific case, but not all the others.

But English nouns are already ungendered with very few exceptions. Pronouns are also all ungendered except third person singular, so there's a much stronger case here for eliminating the exception in contexts where it really doesn't contribute anything useful.

As far as getting offended, I think one has to distinguish between the person getting misgendered being offended themselves vs people getting offended "on behalf" of others (who might actually be rather offended at such misrepresentation of what they actually want). E.g. with Spanish it's far more common for native English speakers to be adamant about "-x", while many native Spanish speakers actively dislike it.
I don't think that was too harsh given that he's saying that everyone who likes Rust (an extremely popular language) is an idiot who has been tricked into thinking it's good.

How can you take opinions like that seriously? It's like saying "nah The Beatles weren't actually that good, everyone just thought they were because of their cool sunglasses".

It's patronising and illogical and I don't think it's worth listening to nonsense like that.
I have always thought the reason they became alphabet was because of the expectation that they would eventually get broken up and wanted a company for each letter.
Should we be linking to the site that is very likely to be breached? Could start to host any type of malware until the access can be definitively revoked
> 8.4% of his company decided he was acting in enough bad faith

No, they just took the offer. Some probably for that reason, some for other. You'd need to interview them to know their actual views.
Dupe of https://news.ycombinator.com/item?id=41787409
But there is another way to think of the high-dimensional balls where "spikey" is the right visualisation.

Consider the volume of a cap. Take a plane that is 90% of the distance from the centre to the edge, and look at what percentage of the volume is "outside" that plane. When the dimension is high, that volume is negligible.

And when the dimension is really high you can get quite close to the centre, and still the volume you cut off is very small. In our 3D world the closest thing that has this property is a spike. You can cut off quite close to the centre, and the volume excised is small.

The sense in which a high-dimensional ball is not a spikey thing is in the symmetry, and the smoothness.

So when you want to develop an intuition for a high dimensional ball you need to think of it as simultaneously symmetrical, smooth, and spikey.

Then think of another five impossible things, and you can have breakfast.
> If I say I have been to McDonald's all across the country, that does not mean I have been to EVERY single McDonald's restaurant. Just various ones across the country

Sure, but I would argue that you're speaking imprecisely then and using a cliche or phrase that isn't technically accurate at best, and is actually misleading at worst. And when requested for clarity, you should say, "well almost all." Either that or we have different definitions of what the word "all" means[1].

If someone said "I have been to all the states in the US" would you expect that they have been to AK and HI?

[1]: The MW definition matches my understanding: https://www.merriam-webster.com/dictionary/all
He didn't say that at all.
Google does everything they can to make sure there is no "something else". That's what antitrust enforcement is meant to address.
The actual problem is that "regulations are bad" has become a decent heuristic, because such a high proportion of the existing and proposed regulations are a result of regulatory capture. Your objection seems to be that you want to call this "bad governance" instead of "bad regulations" but it's not clear how that's even supposed to be different.

The number of people who think that all regulations are bad is limited to a handful of actual anarchists with no real power and a presumably larger number of rules pedants who want to play different definitional games where they use "regulations" to refer to the things they don't like and call the things that they do like "laws" or "rights" or some other allegedly distinct thing where the distinguishing criteria is doing all the work.

Of course, getting people to spend all day arguing about terms is to the advantage of the people who like the status quo, because then they can get the people who claim regulation is generally good to pass their regulatory capture rules and get the people who claim regulation is generally bad to repeal or fail to enforce the e.g. antitrust rules intended to protect people from their predatory behavior. But then you're just playing into their game -- the Certificate of Need laws etc. are of the first category.
Maybe this is just a massive stereotype and a blind spot that I have, but it feels like the business they showed in the article is not equipped for international sales.
This is green day?

I have no feelings.

90s? Ween of course.
> Rust isn't as nice of community as people think

It's a numbers game. As the number of people using Rust grows, so does the number of Jerks using Rust. And it's not like the Rust community is a stranger to bullying maintainers of crates for various things.

> Async is problematic: Async Rust really is fine.

It's... OK. It has a few issues, that hopefully will get fixed, like making Pin from a generic struct into a type of reference. e.g. instead of `Pin<&str>` you would write `&pin str`.

There is also the coloring problem which is quite a hassle and people are looking into possible solutions.
Got me. Running Akkoma on Elixir is a piece of cake, relatively speaking. Trying to run Mastodon on Ruby by simply using the latest version of the required Ruby components hasn't worked for me, ever.

The idea that we'd need to keep a snapshot of modules from a specific date in order to run certain software is ridiculous, and the idea of running it in a container like Docker is just giving in to bad practices. Too often it means things are too fragile to update when there are security issues.

I haven't seen this happen with Elixir. What do they do better / differently from Ruby that updating doesn't cause the house of cards to come crashing down?
The bean counters sure didn't care, this was blatantly obvious even two decades ago.

I don't fault the outsourcing companies it's nothing different than what occurs with American consulting outsourcing before offshoring: get the deal signed, get the responsibilities transferred, and milk the cow.

The anti nerd bias of american culture means that IT is less respected than even blue collar workers by management.

The higher salaries of IT are begrudgingly given. I predict over the next two decades they will collapse to what typical engineers are paid: as in it's more lucrative to be a plumber
Agreed. I recently moved a production app from Zod to Valibot for exactly this reason. I still slightly prefer Zod’s syntax but the performance issues were absolutely killing us.
$1M ain't what it used to be.
Ask HN: What would you do if you didn't have to work for a living?