skysight-inc/HackerNews huggingface dataset:
As usual, wake me up when it's in the battery of a car that I can afford _and_ use to visit my mom 500km away. (Don't tell me your EV can do that : either it can't, for real - that's 500km of highway, of course - , or I can't afford it.)

Still, it will almost certainly not be a car built in my subcontinent, and that's infuriating.

It almost seems like the right way to address energy transition was to buy cheap fossils to increase living standards, then let governement heavily subsidy R&D while the rest of the world plunged into post-Reaganism.

R&D works ! Who would have guessed ? It only ensured the domination of so many empires and only got a man on the moon. Such puny matters.

Thanks God the US and EU are never going to subsidy R&D ever again. That would be communism ! Better to spend money on ensuring our 1945 baby boom retirees have enough money to buy cheap Chinese stuff. Shareholder over engineer, always, all the time !

But pay "young" people to do, what, fundamental Chemistry ? Experimental Electronics ? Naaah. We have a board meeting tomorrow, we need results by 10:00.

All your "research" stuff will never pay out the 12% yearly interest that our shareholders asked. And old people depend on that for pension funds.

The kids understood that, and they stopped looking for engineering or research jobs. They're all consultants now. The smart ones will realize they have a bullshit job and leave to work on an organic farm.
The less smart ones will burn down.

Anyway, we replaced pour R&D department with a new wing of the legal team that's finding more loopholes in the tax code, to ensure we never ever ever give a cent to anyone else than the pension funds. They're on the verge of finding a solution to that pesky "salary" problem, it's not the moment to bother them with your "ion" sci-fi stuff.

It's not like developing countries will do that, right ? Right ?
Chinese devs were never behind, they just don't contribute much in the past and very few were active in open source community.
I have more or less exactly this syntax written in a notebook as a transformation.

The one critique I'd have here is I think that name binding should be handled differently and _not_ introduce extra indentation. Naming shouldn't create indentation IMO, and it's one of the cardinal sources of readability issues in lisps.

But for you you could just avoid it entirely (though you might need to be a bit clever about scoping if you care about lifetimes).

Just let me write `a = thingy` and then go to my next line!
I don't think there's any real benefit to be clear, I just thought that saying P2P and then saying "no servers" implied some fancy new distributed protocol.
Personally I'm convinced that the solution to that is not for the language to be more implicit but rather to make tooling for refactoring more front and center. A task for "add a lifetime to this struct everywhere it's mentioned" is already catered to by modifying the original type and then applying rustfix, but more advanced but relatively common changes should also be mechanized away. The annotations are there not only for the benefit of the compiler but also the developers.
Eh, seems more like a shitty company through and through that did all the evil things they possibly could just to make money.

1. Minimal contributions for the first 5 years.

2. LLM technology gets developed and shared by other, supposedly "evil", corporations (i.e., Google and Meta).

3. LLM tech is promptly copied and exposed to the public with zero regard for the consequences, while the "evil" corporations are deciding on the safe rollout. Obvious flag-planting since the company has nothing else to show for itself.

4. Actively try to sabotage competition by cozying up with the government under the pretense of regulation.

5. The never-ending fear-mongering, exaggerations, plain lies, and carrots on a stick.
They can opt out, by not participating with the site. No one is mandated to use social media. But I would also want to see things go the other direction anyway, default to non-algorithmic feeds. Those with the awareness to opt-out are not the people at highest risk.

I agree with basically everything else you said, and I think social media is generally a blight on society. But we can opt-out already, if you are on social media platforms with algo feeds, you are signalling that this works for you. You need to accept that responsibility in the same way it's up to ourselves not to drink 40 beers a day at home.
They are doing different things in this benchmark.

NodeJS has one thread with a very tight loop.

Go actually spawned 1M green threads.

Honestly this benchmark is just noise. Not to say useless in most real world scenarios. Specially because each operation is doing nothing. It would be somewhat useful if they were doing some operation like a DB or HTTP call.
Then maybe you should leave HN and go back to 4chan.
We got it. You can stop reposting this now.
Maybe try something like Gleam?
It's not nothing, but it's very different from the CocaCola case. Coke is built on getting people used to the specific taste, especially when they're young, and taste is an almost subconscious/System1 thing where people seek comfort in the familiar. ChatGPT is more of a System2 thing, people don't really care whether the answer they seek comes from ChatGPT or from AskJeeves, they just want answers of reasonably similar quality. There's still value in branding and name recognition, but the switching costs are much lower here.
I wish laptop webcams were designed like this: when I want to turn off my webcam I slide, with my finger, a piece of plastic that physically covers the webcam. This simultaneously turns off the LED, which is always on unless the camera is covered by the plastic.

As an extra feature, firmware could hook up to the software that uses the webcam to send a "hang up" signal when I turn off the webcam. That way I don't have to find some button in whatever software the person I'm having a call with wants to use — I just "turn off" my webcam.
I guess the issue is we are medicating a social issue, which is not ideal.
https://wezfurlong.org/wezterm/cli/cli/set-tab-title.html

Does this help at all?
Show HN: Niquests – Fastest, Easiest, and Most Advanced HTTP Python Client
For all the proponents of the ban here – I will just tell you what works – for your education. It is endorsing and subsidising healthy and active lifestyle, supporting and promoting strong family wellbeing as well as upholding public psychological and physiological health. Only doing these instead of issuing bans would really contribute to kids choosing virtues of real life over screen time, but unfortunately addressing root causes takes more effort and time than issuing a ban.
That is "slightly" nitpicking, isn't it?

On a bit slower computer it took me a few minutes to locate my capital - found some tiny cities around it, yet still had no idea what direction I am looking at. Lack of major city names (until zoomed far) or that grey map (especially combined with screen "night shift" mode) style didn't help as well. Or the lack of a few important power plants around me.

At least major power lines were there - that was actually very cool. The whole thing is great, but readability is just bad.
I just watched a YouTube video of a battery powered train in the UK [1]. If longevity and number of cycles is much higher than lithium ion coupled with a safer profile then I think this would be an ideal application for sodium ion. Really cool.

Edit: I'm talking about for both onboard batteries (for the safety profile) and the BESS container mentioned in the video. Not to mention trains wouldn't have to compete with the lithium ion battery supply that is taken over by EV cars and trucks.

[1] https://youtu.be/sARTvQj5jIg
I'm not sure what's worse: giving parental responsibility to politicians or equating craven paternalism to benevolent parenting.
How does this relate to the topic?
To be honest with you, I re-read this multiple times and I still can't fathom how doing this manually could ever be better than having it done automatically. Even if I had to bisect one million commits, it would be at most about 21 iterations. Cutting down an iteration or two near the end just doesn't seem very useful to me in exchange for having to manually pick commits to bisect with.

Also, nothing in particular stops me from viewing the log. In fact, the `git bisect visualize` command is for the exact thing you are describing. You can easily narrow your bisect window at any time if you have a hunch. I have done this and I'm pretty sure the manual even describes doing this.

I also haven't even mentioned some of the more useful features about git bisect. For example, often times, even if you don't know exactly what the problem is, you might be able to narrow down with good certainty what set of files would've had to change to cause it. `git bisect start` accepts pathspecs after everything else. If you tell it that, it will only select commits where files in that pathspec have changed. You could of course manually find commits of interest and then divide them in half and so forth, but that really doesn't feel like it scales very well.

And if all you care about is what release version something broke in, there's really no particular reason why an automated tool couldn't do that, too. I suspect the reason why `git bisect` doesn't have a "tags only" mode is because it's not what bisect is really for, though it would probably be a fairly trivial addition.

I also personally never loved Git GUIs. Being able to visualize the state of the working directory/repository feels very nice, but in practice it doesn't really solve a problem for me. In practice, I always come away feeling like Git GUI tools create as many problems as they solve. The only exception is that I vastly prefer JetBrain's 3-way-merge tool over almost any other merge tool. (Runner's up would probably be kdiff3, I guess. Not a huge fan of vimdiff.)
Nah, for normal people, getting a legal looking letter is nerve wracking.
Interacting with Paper on the DigitalDesk (1993)
Demonstration video on the author's youtube channel : https://www.youtube.com/channel/UCJIa746B-eJwVRSbYdCylyg
Japan is an ally and a democratic nation with much less unfair trade practices. So, not an issue.
Is it? You can see the actual harm caused by web sites.

Doomscrolling in all age groups. Going to bed very late at night.

Girls having body dysmorphia cause of instagram.

Young men having porn addition and having no ambition to interact with real women
Yet, 7 companies are still in business selling Ada compilers, in a world where most devs refuse to pay for tools while expecting to be paid themselves.
Speak for yourself.

I have a 2014 diesel car so I pay the charges when I visit cites.

I don’t drive much which is why I keep an old car. I’m fine with the charges. The air in London and Birmingham is gross.

Anything that can be done for the people that live there should be.
They are not allowed to buy wine themselves. Most parents wouldn't allow them to drink when alone. Drinking small amounts of wine at the family dinner table makes the educational difference. Social media is consumed without any family interaction and can consume all free-time and more.
"Dvorak keyboards are better than QWERTY,"

As I understand it, the advantage of Dvorak was that in the study that promoted it, the Dvorak people got retraining and the qwerty people were taken as is.

Once both sets were sent through training, the Dvorak advantage disappeared
“ the behaviour we want to limit is driving”

By we, what do you mean? If this was true, we’d build walkable cities, public transportation and promote home office as much as possible.
Initially I interpreted this as them adding a new character to the standard, not just accepting sponsorship for an existing character. "Adopt" is a confusing term here since it gets used for both cases.
Only if you never moved beyond Ada83.

Controlled Types and SPARK provide the mechanisms to deallocate only when it is actually safe to do so.

Additionally unbounded collections, are just like graphs in Rust, they provide safe ways to managed dynamically sized collections, while hiding the unsafe code in implementation.
I actually tried to Shrinkray it myself, but after ~3 minutes it crashed with the following stack trace:

(4 nested BaseExceptionGroup: Exceptions from Trio nursery (1 sub-exception), and then:
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/nix/store/5cdw4sa0n0lwym47rd99a1q6b4dj7nr9-python3.12-shrinkray-0.0.0/lib/python3.12/site-packages/shrinkray/work.py", line 221, in parallel_map
| yield receive_out_values
| File "/nix/store/5cdw4sa0n0lwym47rd99a1q6b4dj7nr9-python3.12-shrinkray-0.0.0/lib/python3.12/site-packages/shrinkray/work.py", line 71, in map
| yield v
| GeneratorExit
+------------------------------------

Not sure if this is a known issue? Note that I ended up not respecting all of the version requirements in the pyproject.toml since I tried to run it all in Nix and there the Poetry support is currently quite lacking.
So it builts robots. Ratio is already 5/1. Never give in
Giving in got us here!
You can get yourself a seat in lords for about £80k of donation, still - the threshold is surprisingly low.
And yet the things they have done have gone a long way to reducing the real harms caused by smoking.

A 5% spread of harm in a population is better than spread across 80% or 90%, etc. Taking action to reduce the surface area of harm, even if 0% is impractical, is beneficial to a functioning society.
5y in jail if you refuse to give a password and power to covertly access devices and conceal that fact if they desire. Yikes, they don't mess around.
There are over 80 Michelin Star places in London. Not a small number of restaurants. Not to mention hundreds more that aspire to get a star and care deeply about being Michelin-level quality.
Can someone explain the node version to me? My js knowledge is from a decade ago. AFAIK, setTimeout creates a timer and returns a handle to it. What does promisify do? I'd assume it's a general wrapper that takes a function that returns X and wraps it so that it returns Promise<X>. So that code actually runs 10k tasks that each create a timer with a timeout of 10 seconds and return immediately.
SQL or not doesn't really matter. Double entry provides redundancy, and redundancy allows for auditing. It's like checksumming to detect errors.
There is also class 777 electric-battery hybrid.
> It’s cool to see this kind of analysis, even if it’s analyzing a totally bogus benchmark.

Yeah but that bogus benchmark has become viral on social networks, and people are even writing their own shitty "experiments" based on that one.

This post is absolutely wonderful in that it doesn't shit on the original benchmark too much, while explaining patiently how to do it right. Hopefully, the person who started with the bogus benchmark, as well as people following in his footsteps, will learn something important (I myself have posted benchmarks before - though I believe much higher quality - but failed to properly analyse the results as shown here).

Notice that the bogus benchmark ended up catching the attention of a Dart maintainer and looks like they found their compiler was missing some easy optimisations... so it may end up having been helpful for every Dart user in the world!
I agree with the OP that the ban is woefully undemocratic, and that banning it for children only is a grave misstep.

I think what they should ban instead is recommendation algorithms. If I subscribe to a source, and explicitly unsubscribe from another, it should be illegal to withhold some of the first’s postings and shove the second’s in my face. This should be a no-brainer and has nothing to do with the age of the user; but it's easier to just ban the people who, as OP correctly noted, have no representation and no recourse.
Tons of russian gps jamming around Krolewiec, cellphones still work. Afaik every cell tower runs a rubidium clock source just for this occasion.
Only for now. After requiring an ID to sign up is normalized governments will inevitably try to eliminate any anonymity to “protect children”/catch criminals/censorship/etc.
Is a Merkle tree needed or is good old basic double ledger accounting in a central database sufficient? If a key requirement is not a distributed ledger then it seems like a waste of time.
Billingsgate already moved back in the 80’s, to a facility with modern loading bays, road access, etc., so while what you say about Smithfield is true, it isn’t for billingsgate.
But off topic how does selecting for top news work? I posted the same thing 17 hours ago https://news.ycombinator.com/item?id=42265447

I posted from BBC is it less reliable source?
They're mainly designed to make it so you don't need to. If you buy something, it's going to work; and if it doesn't, the seller is required to make up for that.

I can only speak for Norway, but this doesn't normally mean reversing the charge. It's assumed that, if you bought an X, you wanted an X. So the seller is required to get you an X of good enough quality to actually do the job, and if that isn't what they were trying to sell... well, then they won't be in business for long.

Normally this means repairs or replacement, of course on the seller's bill.

The US seems much more geared to seeing every interaction as... I want to say 'combative'.
Pluton firmware, Azure network cards firmware, new Azure Sphere SDK.
Isn’t this kind of like saying the solution to robocalls is not having a phone?
Is farming their "second job?"
literally every startup I’ve worked at has had busted accounting system that had to be painfully and expensively rewritten as a proper ledger. We should be teaching “Accounting for Programmers” as a required course in CS programs, or at least spreading memes about how money data must be append-only and immutable or you are being negligent in ways far more serious than most programming errors
Dear god, no. This doesn't need more technology.

The whole purpose of this is only to give parents a reason to say no. Often, a single kid in a class with an unrestricted iPhone is enough to poison the well. Now it's much, much simpler. Kids understand when you say it's against the law.
I'll yield it would be interesting to have a similar benchmark but instead of sleeping - which indeed by itself is nonsense, to instead each task compute a small fib sequence, or write a small file; something like that.
I'm fine being fed up with the bureaucracy in my own country without also having to deal with Germany's. A big no-thanks to ever dealing with Hetzner.
Idiomatic is the word the parent was looking for. The base word is idiom.

It was probably the intent of the parent to mean 'making use of the particular features of the language that are not necessarily common to other languages'.

I'm not a programmer, but you appear to give good examples.

I hope I'm not teaching you to suck eggs... {That's an idiom, meaning teaching someone something they're already expert in. Like teaching your Grandma to suck eggs - which weirdly means blowing out the insides of a raw egg. That's done when using the egg to paint; which is a traditional Easter craft.}
For those interested in Java Native Image, I previously wrote about its advantages beyond just memory footprint reduction, such as the dramatic improvement in startup time -> https://medium.com/google-cloud/cut-container-startup-time-f...
$10 of my money goes to Spotify, and $10 of your money goes to Spotify. Then Spotify pays artists based (somehow) on how many times their songs played.

$19.80 goes to one artist, and $0.20 to the other. 99:1.

edit: Maybe what you're getting at is that the person who listened to only one song should pay 99x less. Then it really would be pay-per-play. But Spotify is a subscription service. What else should they do with my extra $9.90? Send it all to the one artist? That would be interesting... but then what if I don't listen to any songs in the month? Bank it and send it to the spread for the following month?
I had money disappear from my HSBC account. As in, the double entries didn't match by a small amount (it was a payment between two of my accounts that didn't match up, which I couldn't trivially reconcile in the books). I pursued this for a while but they never even properly acknowledged it let alone fix it.

I had my unfounded suspicion it was some internal subtle theft going on, but incompetence is probably a better explanation.
No, we need to turn it WAY up. We circumcise AKA male genital mutilation to hundreds of millions of male children all across the world, including much of the USA and Australian populations.

That’s just one tiny example, and no one is calling for circumcison bans simultaneously.

Letting the mutilated children have some social media is the least the state can do for them. Australia is a tyrannical hellscape.
Given the overall panic levels in the industry, I'd say it's not that well managed.
Um . . . no.

Citations needed about any historical claims.

Also, show me yours about serious farms vs hobby farms and I'll show you mine about century farms...
None of these sound like they are a very big problem compared to many alternative things people do. People talk about social media as though it's lead paint.

I particularly liked that one Facebook study that is usually taken out of context.
Trump is using big stick tactics by threatening huge tariffs in order to force negotiation. That's what he does and there is no need to panic at this point.

He's not even President yet and Europe is already offering concessions to avoid tariffs, for instance.

It works because people think he is fully willing to deliver on his threats.
Ahhh yes, and thumbs down button in youtube was removed to protect small creators from harm.

It is funny to observe how many naive people there are in the world.

Australia for years hated the idea that you can anonymously share your opinion.

https://www.abc.net.au/news/2021-10-07/prime-minister-defend...

And no, privacy is not already lost. It is a lie often said. Sure you share a lot of data about you, but you are often not required, especially by law to share it. Big tech also do not know everything about you, they often lie to shareholders, or advertisers about amount of users, clicks.

Protect the children, and remove the ability to freely express your opinion. I vividly remember people being arrested because of social media activity during covid.
Oh, Britain preserves stuff alright - they jar and pickle the past into a pastiche, while discarding the institutions and functions that they once had.

We have converted many Victorian train stations into car parks, public baths and lidos into car parks, and excellent examples of Georgian and Elizabethan architecture into car parks. Even Stonehenge is a drive-by attraction and car park, now.
I love C++, it was my next language after Turbo Pascal, there was a small stint with C, but already in 1992 it felt outdated.

However, during the last decade C++ culture suffered, probably it has taken too many C refugees.

What you call old way, it is still how many folks write C++ in big corporations, I tend to complain that I only see Modern C++ in conference slides, and my own hobby coding.
wait till everyone figures out that everyone will have to provide ID to link to their account for this to even come close to being actioned....

No more anonymous Social Media accounts....
Platform Advantages: Not Just Network Effects