skysight-inc/HackerNews huggingface dataset:
Other languages don't do without them, the costs are just worse in Rust (and C++). Go for example consciously tried to avoid shipping generics and was forced to implement them by community pressure. They now pay the same kinds of monomorphization costs as C++ and Rust because the alternatives have greater runtime costs. Go is simply a faster-compiling language overall though and the problem is less noticeable. Macros are similarly ubiquitous in other functional languages, but most of them aren't compiled or meaningfully optimized.

Rust is complex, highly expressive, and does a lot of optimization. None of that's good for compile times. C++ is even worse because of how awful the template abuse gets and the amount of duplicated code that's fed into the compiler from how #includes work.
jeez, was not expecting that in a HN comment. O_o... thank you?
During his first term he made it so that we can't buy BYD here. No way that's changing now.
And increase your chance of death by 40x?

https://i.redd.it/ybzo8fbxlcm21.png
If its for internal why not just use a normal append only log. x amount transferred from account y to account z. A three column csv oughta do it.
I think it's accidental. It depends on upvotes and how quickly they happen to come in.
C++ modules, in VC++ and clang/CMake/ninja today.

Add to the potion, binary libraries and extern templates for the common types.
You missed the point. Tyranny of the majority is one thing if the minority can at least vote and participate in the political process. Shutting the minority out entirely is quite different.
> The existing and impending protectionism almost guarantees the US car manufacturers are screwed

Your conclusion is this but your justification proves the opposite.
123 MB of ram to run 1 million tasks in rust. That is mind blowing.
Single would be recording the two accounts, one being the source account and the other the destination, and a quantity.
Is that true?

Recently (a year-18 months ago?) there were big headlines in the UK when no-one bid for a batch of offshore farms because the guaranteed electricity price offered by the government was too low for investors.
I thought you wanted facts. My bad.
I guess I hit a nerve.
Strange, killing Firefox and going again did it for me.

I guess some FF bug then.

Thanks.
> Higher than UK

Not according to https://rsf.org/en/index or https://en.m.wikipedia.org/wiki/World_Press_Freedom_Index

I assume that other indices that show “data” that fits whatever narrative one wants are easy to find…

Which makes things like this meaningless in isolation.
Spain Introduces Climate Leave/Paid time off
By far the most bootlicking country in the Anglo world. Disgusting, and their political system should be shattered into the wind
> over 95 per cent of the Australian Security Intelligence Organisation’s (ASIO) most dangerous counter-terrorism targets use encrypted communications

Some humorous sentences in there :).
> UEFI is also a godsend in terms of fixing a lot of the legacy BIOS crap

From a user perspective, no, it is not.
Booting is far more complicated with UEFI.
> When adults make decisions for children it's called "parenting"

Is it? Last time I checked I thought that was only when parents or legal guardians do it to a small number of children in their care, not when politicians do it to all children in an entire country.

But even if I accept your premise, your comment makes me wonder if you've never heard of people who are bad at parenting, or who are downright abusive to the children in their care.
NASA Rocket Engine Fireplace [video]
Not directly but he clearly frames his policies, to paraphrase, as "taking back the country for the people".

I'd argue it is disingenuous to say his rhetoric is not primarily taping into popularist sentiments.
yeah, right? I mean I don't have a dog in this race, just wished we could get into "normal" repros without having to wonder if some magic is kicking in
Range is actually not that important to most people in China or Europe. If you use your car to commute and you can charge when you park then even 100 miles of range is plenty.
It is Java and CLR application servers all over again.

Looking forward to WASM Beans, WASM RMI, and WASM Jini. /s
"Two sources of truth" is an anti pattern in computing and isn't redundancy. Use replication or backups for that.

You can't imagine simpler than what you described because it's single entry.

Double-entry is twice as complicated, makes sense only to accountants and not to computing people. Your example of 1 transaction would be doubly-kept as some nonsense like

BucketA revenue:$x CR cash:$x CR
BucketB revenue:$x DB cash:$x DB
A fatal car crash in India sparks concerns over Google Maps
> There is a lot more complexity and nuance to this then your comment may lead one to believe

There's nothing in your link that contradicts my assertion. On top of which, you haven't offered an alternate explanation as to why Buddhism has produced so much more deep contemplation, than practical technology. If it is truly equal to the pragmatism that was elucidated in the article, the technological revolution would have been much further along 2000 years ago.
You're right. It is using channels and buffers, but you're right.

It's not part of the actual documentation either, at least not exactly: https://go.dev/doc/effective_go#concurrency You will achieve much the same if you follow it, but my answer should have been yes and no as far as being the "standard" Go way.
It can be very useful for grid stabilization at the scale of seconds to minutes (both with charge and discharge).You don't need that much capacity to do that.
Don't worry, in Europe, the incumbent manufacturers have a much better way to prevent EV sales: lack of charging spots. Unless you are rich enough to own a house and install your own charger, the law still does not mandate, even for apartment buildings currently under construction, electrical plugs in parking spots. Which means that, if you rent, you can't buy an EV. If you own your apartment, you STILL can't buy an EV (unless you convince everyone else to spend at least 5k€/spot to install such plugs, and wait 2-3 years).
The latter is the scariest but the least binded to a social media (except of underground ones which will never have age verification anyway).
It would indeed be better to create appropriately sized storage.

However, I don't think that underlying array is resized every time `add` is called. I'd expect that resize will happen less than 30 times for 1M adds (capacity grows geometrically with a=10 and r=1.5)
Does Ukrainian's Revolution of Dignity counts?
The "behind the scenes" of this was a repeated campaign based on News Corp's (ie. Fox News / The Murdoch's) newsrooms (TV, radio + paper).

The legislation was primarily based on their campaign - likely as an attack against TikTok and other social media companies, who are taking their viewership and advertising revenue.

I believe in the premise of the change (to protect young children), just not the motivation or interests behind this law.
I guess I'm asking: what would go wrong with the design in my comment, which makes transactions first-class and has a single entry for each one? What errors would double entry prevent that this doesn't?
Quick, let's make something more expensive! Everything is killing people and everything needs taxing more, naturally.

It's OK because I myself can afford it and we can just tell poor people to use the public transport that doesn't exist.

The public transport that does exist is also expensive and/or unreliable because ideology in government is that cars are better. But that's also ok, I think, anyway doesn't affect me

---

Sarcasm aside people really need to stop this reflexive "scientists say X is bad" -> more taxes and higher prices reaction.
The difference between an arraylist with correct initial size and an array is almost nothing. Arraylist itself is just a wrapper around an array.
Yngwie Malmsteen's kitchen cupboards are probably all Marshall speakers.
$ cat /proc/sys/kernel/pid_max
4194304

My computer can handle that many processes, after that no new processes can be spawned (see: forkbomb)
> But not all the time, and that is the point.

That bit's not clear to me.

If a person is (ever?) that way, then they shouldn't be in one of these places that contains "nice" people. Otherwise the nice people are going to be pretty unhappy in short order.

> most of the people with dementia that are extremely aggressive and/or violent are that way due to a lack of socialization

That's one way to describe my ex-biker father I guess. ;)

I wouldn't even say you're wrong. His response to any kind of desire for people to socialize him is... also aggression and/or violence.
Animats wrote that in the top level comment.

> The countries that are above breakeven (2.1 children per woman) are all in Africa or are dominated by religions which oppress women. And poor.[4] "Peak baby" was in 2013 worldwide.

>There are two futures, both bad. "Keep 'em barefoot and pregnant", or "Will the last one to leave please turn out the lights."
interestingly, the Fed's page on Reserve Requirements states:

As announced on March 15, 2020, the Board reduced reserve requirement ratios to zero percent effective March 26, 2020. This action eliminated reserve requirements for all depository institutions.

So in effect, the multiplier is infinity.

https://www.federalreserve.gov/monetarypolicy/reservereq.htm
You can introduce new APIs and new types to resolve the "is it flexible, or is it 14 chars"; that's more or less one of the explored approaches in the article.

It won't make existing uses any clearer or safer though, requiring rewrites to take advantage of them.
And yet, the argument does extend. It applied to Prohibition, too.
Tired of scrolling through endless Black Friday ads that all look the same? Target decided to spice things up! Their secret weapon? User-Generated Content (UGC). No stiff marketing scripts here—just real customers sharing their finds, deal-hunting tips, and unboxing moments that make you go, “I need this!”

Think about it: Would you rather see another plain old discount banner, or a fellow shopper proudly showing off their haul on Instagram? That’s the power of UGC—it makes you feel like you’re part of something bigger, not just another sale.

Target’s Black Friday strategy proves that authenticity sells. By spotlighting genuine customer stories, they’ve turned every happy shopper into a brand ambassador. Want to know how they pulled it off? Check out the full article and learn the tricks behind Target’s genius campaign!
I agree parents should have the choice for kids using social media, but this example of impracticality is a bit off: cigarettes are illegal for kids in nearly all developed countries.
Seems like legislation that will be weakly applied and is most likely a distraction. Australian politics are notorious for this.
This should be the most celebrated aspect of Go, which Rust adopted, along with channels.
There is still the sink.
> young men having porn addition and having no ambition to interact with real women

this made me lol so much. porn addition is not the cause, but the consequence.

do you have any idea how hard it is for males to find a willing mate nowadays?
most females have men fighting over them, while most men must always do the fighting to get even one low-quality female in their entire life.
Note that the Task library in Elixir uses supervised processes so it adds a lot more overhead. It would be interesting to see the benchmark with just normal Erlang processes.
Fortunately, loans create deposits, so they are always in balance.
I might be wrong but I read the OP’s comment as sarcastic.
Seriously impressive results from C#. I'm a JVM guy by day, and long-time admirer of C# as a language, but always assumed the two were broadly comparable performance-wise.

This is a sample of 1 usecase, (so questionable real-worldness) but the difference is really eye-opening. Congrats to the C# team!
I mean, tigerbeetle looks extremely cool (I've watched the project develop since its inception), and I trust them to be rock-solid. But saying "just use this project that is very new and unproven, written in a new and unproven programming language" is just pretty unserious. At least talk about pros, cons, risks, and tradeoffs.
If you can get remote control to work that would be amazing. I assume that's impossible with current browser APIs though. A real pain point of Google Meet.
I actually did find "idiomatic" when I looked it up, but I honestly still didn't quite grasp it from the cambridge dictionary. Thanks for explaining it in a way I understand.
I don't know what's a fair way to do this for all languages listed in the benchmark, but for Go vs Node the only fair way would be to use a single goroutine to schedule timers and another one to pick them up when they tick, this way we don't create a huge stack and it's much more comparable to what you're really doing in Node.

Consider the following code:

package main

import (
"fmt"
"os"
"strconv"
"time"
)

func main() {

numTimers, _ := strconv.Atoi(os.Args[1])

timerChan := make(chan struct{})

// Goroutine 1: Schedule timers
go func() {
for i := 0; i < numTimers; i++ {
timer := time.NewTimer(10 * time.Second)
go func(t *time.Timer) {
<-t.C
timerChan <- struct{}{}
}(timer)
}
}()

// Goroutine 2: Receive and process timer signals
for i := 0; i < numTimers; i++ {
<-timerChan
}

}

Also for Node it's weird not to have Bun and Deno included. I suppose you can have other runtimes for other languages too.

In the end I think this benchmark is comparing different things and not really useful for anything...
This is what I also want to do.

How are you handling storage? That is the only issue I'm struggling with for a small 3-node deployment.
Your first sentence implies there is some relevance of taking an arbitrary EV and comparing it to an arbitrary ICE. There's not... I am gonna bet anything your random EV is gonna be heavier than a Suzuki Swift.
Side Projects Reverie: side projects, and how I do them
what you’ve sketched out already looks like a double-entry bookkeeping system, if you have the constraint that all of the deltas in your array on your transaction sum to zero (so money always _moves_ and is not created or destroyed)

calling it “double” might be misleading - in the ledger systems I’ve worked on, a transaction that has only two entries - a single source and a single destination - is actually rare. In practice, a payment tends to have a source, the intended destination, a secondary destination for platform fees, possibly another destination for taxes.

And much more complicated situations are possible - I currently work in medical billing where there are multiple virtual internal accounts involved in each transaction for different kinds of revenue (including, for example, money we billed for but don’t expect will actually get paid)

so a transaction becomes a bundle of a set of several debits or credits that happen simultaneously and sum to zero. if you have that, you have double-entry bookkeeping, even if you schema puts it all in one table
While it’s nice to compare languages with simple idiomatic code I think it’s unfair to developers to show them the performance of an entirely empty function body and graphs with bars that focus on only one variable. It paints a picture that you can safely pick language X because it had the smaller bar.

I urge anyone making decisions from looking at these graphs to run this benchmark themselves and add two things:

- Add at least the most minimal real world task inside of these function bodies to get a better feel for how the languages use memory

- Measure the duration in addition to the memory to get a feel for the difference in scheduling between the languages
> When adults make decisions for children it's called "parenting"

Children issue is just the excuse for government to get people obey. Sadly but "kids protecting" propaganda is one of two the most effective ones, works great and there are lots of alternatively gifted persons that do not get the real attitude.
And the cost to a woman’s body, during and after pregnancy, including risks?

I know a pregnant woman has been nauseous for 6 months, is on prescription medication for it, and now can barely walk due to symphysis pubic dysfunction. Completely healthy prior to becoming pregnant in terms of BMI/blood sugar/pressure/physical activity/etc

I know many who have had to get a C section, or bed rest, or the kid has issues like allergies, club foot, autism, etc.
Somebody posted some beautiful and inspired Lego renderings of their red science pack factory, created in Bricklink Studio 2.0, to the Factorio Facebook group.

https://www.facebook.com/groups/factoriogroup/posts/24121149...
The Machinery of Life by David S. Goodsell - it's a short microbiology book with paintings and renders of molecules and molecular processes. It's easy to read and imagining biology is straightforward when you can just see the molecules. I heard about it from https://news.ycombinator.com/item?id=40103590
Great project keep it up it's good to see competition in this space.

Plausible gets crazy expensive on their hosted option and it complex to setup (needs elixir + high memory requirements)

If Vince gets 1:1 parity with plausible and has the option to use clickhouse, I'll consider moving a few servers and people I know over.

Love that Vince is also a single binary as well.
I'm not Australian and don't know the specifics if this legislation, so I cannot speak with any authority on the matter, but I think you're mistakenly conflating banning <16yo with identifying everyone.

Porn is also banned for <18yo and you generally don't need to id yourself to get access, you only need to claim you're 18 via button, checkmark or similar

This doesn't actually remove all kids from the platform, but at least they're no longer being served legally. This will make it less ubiquitous for them.

Relevant part of the article:

Social media companies also won't be able to force users to provide government identification, including the Digital ID, to assess their age.
He should have looked at Erlang.
Yet somehow his language meets both criteria somewhat and is only saved by legacy code. Not to say that C++20 or above is not good, I personally think it's one of the best but sadly not every org can afford to upgrade easily.
How do you think Ladybird will get its funding?
I'm sure the spokesperson for Evolve who then says "“It’s complicated,” he wrote in an email Friday, declining to elaborate further."" is fully trustworthy and not eliding any important details.
In what way do you think they'll be able to verify your age reliably without you having to, yourself, "willingly", hand over your PII?
I wrote a BBS in Rust. It need sleep neither high performance nor low overhead, but it was a delight to write. For example, the compiler error messages are so detailed and explanatory that I learned a lot of the language from it telling me what I was doing wrong and offering suggestions.

I would’ve written it in Python a year ago. Now I wrote it in Rust because it was genuinely fun and the results came out nicely.

I have zero interest, none, nada, in C++. (Readers: please don’t try to win me over. I know more about the subject than you might think and it’s an informed opinion.) For me, Rust doesn’t compete with C++ at all. It’s probably replacing my Python coding more than anything else. The output looks and feels quite Pythonic, but with strict types and AOT compilation to native code. I’m loving it.
No, we won't. It would be easier and cheaper to replace them with microwave links or something like that. Satellites are always more expensive, limited in power, harder to fix, and unlikely to ever match the capacity of underwater cables.
Australia passes world-first social media ban for under-16s
> but they're not anywhere else.

They certainly are very common in much of Europe. Buying stuff on credit might be not that common but plenty of people have credit cards themselves (even of they are effectively used the same way as debit cards)

To be fair not sure if you comment is just sarcasm.. but I’ve never had any issues using a credit card on Hetzner or pretty much any other European company
My generation didn't buy CDs. It was all mp3. I think the shift was when I reached CD buying age at 14.

I tried to compare the sub fee with how many CDs you would end up with.

Judging by my parents and friends parents about 40-80 CDs seemed like a common size of the music collection among people that had a collection, that propably had been growing for 20 years since mid 80s.

I also argue that video rental stores were way more value than todays streaming subscription.
just because thing A was (unjustly) demonized doesn't mean demonizing thing B is without merit, even more so when thing A and thing B are completely unrelated.
Smoking used to be at much higher levels (50%+) and absolutely everywhere.

Also vaping is probably better than smoking, and don't worry, vaping is next on the ban list. It just takes time to build the case.
So this is essentially the government ending a subsidy for small businesses?
No, it substantially negatively affects people who don't have any capital. People who do can deal with it.
And if you don't have much experience with lawyer letters, you have heard enough to want to avoid them usually.
I believe one point in time the US forbid its citizens to work on certain companies / technology outside US or risk losing their citizenship.
You are wrong. Banning smoking worked.
Did a similar benchmark in Kotlin using co-routines.

import kotlin.time.Duration.Companion.milliseconds
import kotlin.time.measureTime
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.delay

suspend fun main() {
measureTime {
coroutineScope {
(0..1000000).map {
async {
delay(1.milliseconds)
}
}.awaitAll()
}
}.let { t ->
println("Took $t")
val runtime = Runtime.getRuntime()

val maxHeapSize = runtime.maxMemory()
val allocatedHeapSize = runtime.totalMemory()
val freeHeapSize = runtime.freeMemory()

println("Max Heap: ${maxHeapSize / 1024 / 1024} MB")
println("Allocated Heap: ${allocatedHeapSize / 1024 / 1024} MB")
println("Free Heap: ${freeHeapSize / 1024 / 1024} MB")
}
}

This produces the following output:

Took 1.597011084s
Max Heap: 4096 MB
Allocated Heap: 2238 MB
Free Heap: 1548 MB

So whatever is needed to load classes and a million co-routines with some heap state. Of course the whole thing isn't doing any work and this isn't much of a benchmark. And of course if I run it with kotlin-js it actually ends up using promises. So, it's not going to be any better there than on the JVM.
Real patriots of Silicon Valley love what this place can be at its best, we want it to self-police and generally use its effectively incalculable power for the unambiguous greater good. We want it to recover from this weird seizure.

The current crop of leadership is so vulgar and creatively bankrupt and insular and numb that they will not honor anything but a credible threat of direct personal loss of power or prestige and anyone who really loves HN or The Internet wants that threat to be assembled and never used.

We were here before it was especially lucrative, we’re still here now that it’s precarious and not all that lucrative and not all that much fun anymore because we know that when the bad element ages out, we’ll still be here because we fucking love doing this.
“Nanny state policy” just means “restriction of freedom that I don’t personally like”.
From personal experience a few years back, OVH support was one of the worst I have ever experienced in my career. Technical incompetence at multiple levels of the chain (e.g lack of understanding of how DNS works). I would never recommend it to anyone, not even my worst enemy.
No Erlang, though. That ought to be amazingly small for that kind of synthetic benchmark.
Does your reasoning also apply for laws which ban underage smoking or underage alcohol consumption? Do you feel the same way about those prohibitions too?