skysight-inc/HackerNews huggingface dataset:
> If you ever pull up a debugger and step through an async Rust/tokio codebase, you'll get a good sense for what the overhead here we're talking about is.

So I didn't quite do that, but the overhead was interesting to me anyway, and as I was unable to find existing benchmarks (surely they exist?), I instructed computer to create one for me: https://github.com/eras/RustTokioBenchmark

On this wee laptop the numbers are 532 vs 6381 cpu cycles when sending a message (one way) from one async thread to another (tokio) or one kernel thread to another (std::mpsc), when limited to one CPU. (It's limited to one CPU as rdtscp numbers are not comparable between different CPUs; I suppose pinning both threads to their own CPUs and actually measuring end-to-end delay would solve that, but this is what I have now.)

So this was eye-opening to me, as I expected tokio to be even faster! But still, it's 10x as fast as the thread-based method.. Straight up callback would still be a lot faster, of course, but it will affect the way you structure your code.

Improvements to methodology accepted via pull requests :).
This felt like someone trying to fill out a word count
Tap-to-pay using near-field-communication (NFC). New credit cards have this ability and Oyster cards (the TFL top up card) has had this for awhile
You don't need to keep track of aliases, can just as easily use your "one correct" way and never learn/forget the alternatives, so what's the downside? In general, the overhead of remembering precise tool-specific command is higher that using some common knowledge from other tools you remember that are aliased in this tool
I’d interpret ”Constactless card” as some form of RF variant of a traditional ticket card. Not as a way of describing your regular visa/mastercard debit/credit cards. Is “contactless card” a normal way of describing a debit/credit card? Can’t any rf card be said to be contactless?

The big revolution elsewhere was the transition from RF based ticket cards to RF based regular credit/debit cards. They’re both “contactless” though but one is s a hassle.
I made a game like this the other day just for fun! It worked pretty well but it's more of a novelty and not really fun to whistle for more than 30s.
I'm not sure I get the "change". 2-pagers are a thing now - is that it?
Most teams I've been on just link to the PR from Jira and Slack. The PR links to the commit message, and the commit message explains the change.

Other stuff like "this is ready, can you review it?", or "we can ship feature X now" lives in the other tools.

Note that (in the rare case where you want to), you can then search for links to old PRs in the other tools. Also, putting the jira ticket number in the commit message usually makes sense.
A very similar posting had quite a bit of discussion[0] (69 points, 7 days ago, 84 comments) Do You Need Antivirus Software in 2024?

[0]: https://news.ycombinator.com/item?id=40104025
Finally! Some people have been screaming to change the acronym since 2001. But these tech bros group didn’t listen. Such hubris!

https://en.m.wikipedia.org/wiki/Crypto_naming_controversy
> I no longer agree with what the government represents

I guess you hate freedom or something?
Did we lose our way in making efficient software?
anything that is not in the commit message or in the commit itself is practically useless. documentation covers how to use a thing. it usually doesn't cover why a change was made. that why also normally does not end up in code comments, and even less so would be aparent from the change it self. the commit message remains the only place where the why can be documented meaningfully and along with the change where it is needed.

at least in my current project working with legacy code that i am not familiar with, the why is the most important detail about a commit.
https://en.wikipedia.org/wiki/Pentium_III#Katmai:

“The Katmai contains 9.5 million transistors, not including the 512 Kbytes L2 cache (which adds 25 million transistors), and has dimensions of 12.3 mm by 10.4 mm (128 mm²). It is fabricated in Intel's P856.5 process, a 250 nm complementary metal–oxide–semiconductor (CMOS) process with five levels of aluminum interconnect”

That’s 2,000 times the area of this 0.064 mm² Z80.

https://en.wikipedia.org/wiki/Pentium_III#Tualatin:

“The third revision, Tualatin (80530), was a trial for Intel's new 130 nm process”

I can’t easily find the die size if that.
I actually tried to implement this exact feature about a year ago, but gave up after a day of working on it because it seemed too difficult. Given this feedback, it might be worth trying again. Thank you!
An IRC client that runs on your motherboard's UEFI is born
In a perfect world yes that is true, but I've worked at multiple places where Jira got reshuffled by someone and either entire projects got deleted or ticket ids were reset.

Slack history and requirement documents are rarely linked in commit messages and looking through thousands of documents and channels to search the context of a commit is nauseating.

There's never a need to write an essay in a commit message, but 2-3 paragraphs won't kill anybody either.
It would be really interesting if he literally mapped it — but unfortunately, he just wrote a book.
I can’t speak to rbenv or npm, but IMO it’s better of use well known and canonical tools for each rather than a more unknown mega tool that wraps or replaces these.

pyenv isn’t perfect, and isn’t what I’d use for prod images, but for dev setup it’s relatively bulletproof and less issue-prone than any alternative I’ve seen.
This is completely wrong. My laptop can solve the equations in fractions of a second. I believe that with some optimizations it should be trivial to do the calculations on a 1960s mainframe.
David Sinclair's Claim of 'Reverse Aging' Draws Hail of Criticism
The litmus test on this used to be those NFL Superbowl shirts for the losing team. To facilitate quick merchandising, they would print both teams as being the superbowl champions then whichever team one, sell that t-shirt. The losing teams 'champion' shirts would pop up in photos six months to a year down the road, being worn by children in third world countries. You don't see that anymore.
"Many of the passengers survived the initial crash, but they had disregarded, did not understand, or did not hear Leul's warning not to inflate their life jackets inside the aircraft, causing them to be pushed against the ceiling of the fuselage by the inflated life jackets when water flooded in. Unable to escape, they drowned."
“It’s cheaper..” will grab attention. If you write anything thing else in the first 2 words you may not have had the same effect as people’s attention span is low
Great tool, wish it a Windows support in the bright cross-platform future!
You can plug it in. The problems with the UPS being plugged into another UPS are related to the internal batteries and the inverters, not to the surge protection. Just don't plug in too many things and overload the UPS.
This is actually really interesting!

We run a lot of containerized stuff too, but in AWS EKS. For us, access to the container host isn't really a thing, and I'm not even sure if it's possible to be honest. The container hosts are an implementation detail, any direct access to the containers is through `kubectl exec ...`, so the tools available there come from the container image and match from dev through to prod.

I do agree with you though. It really feels like the change from netstat to ss, ifconfig to ip, etc, is churn for the sake of churn. FreeBSD is nice because it's a comprehensive operating system. Linux is a kernel used by a whole bunch of different, but fairly similar, operating systems.
Great explanation. If anyone has good references for learning this by making a minimal editor like sed from scratch, please share. Wait, now that I think about it, does the name “Zed” draw inspiration from “sed”? If yes, that’s rad.
Daenerys Targaryen, Humanitarian
There is also the "Void" type.

> The {@code Void} class is an uninstantiable placeholder class to hold a reference to the {@code Class} object representing the Java keyword void.

When Java introduced Generics they re-used "Void" type. Method calls need to use "null" when "Void" is the type. So in a way, "type of null" is "Void".
Worth mentioning aside Alpine (and other small Linuxes) supporting ZFS just fine, we also have ZFSBootMenu, which is frankly a hell of a lot better than the boot environment experience in FreeBSD.

https://docs.zfsbootmenu.org

From within the bootloader's interactive (fzf-based) menu, you can:

* Select boot environment (and change the default boot environment)
* Select specific kernels within each boot environment (and change the default kernel)
* Edit kernel command line temporarily
* Roll back boot environments to a previous snapshot
* Rewind to a pool checkpoint
* Create, destroy, promote and orphan boot environments
* Diff boot environments to some previous snapshot to see all file changes
* View pool health / status
* Jump into a chroot of a boot environment
* Get a recovery shell with a full suite of tools available including zfs and zpool, in addition to many helper scripts for managing your pool/datasets and getting things back into a working state before either relaunching the boot menu, or just directly booting into the selected dataset/kernel/initrd pair.

It also supports 100% of ZFS features that the host system supports, since it uses the ZFS kmod. That includes native encryption.
I really want to love Zed.

And truly believe they are onto something big with multiplayer coding, chat, collab.

But I’ve run into so many bugs I’ve had to stop using Zed.

The amount of time I’ve spent filing bugs, troubleshooting, documenting errors etc - is counter productive.

It makes me realize that I’m old enough now to just want things to work.

I’ll give it another go once it hits 1.0

Until then, wishing them the best and for them to make the developer world better for us all.
A better name would've probably been FastLoRA or something
> for an intentional shortage

I would not say it's only acceptable for unintended shortages, or maybe very brief and rare shortages since those tend to be the kind you can't reasonably plan around.

As for saying the AMA kills people, not sure I'd go that far without doing more research. But I wouldn't be at all surprised if the effect of some of their policies is more deaths than there otherwise would be.
Thanks for reaffirming Poe's law. I was amused by how 'cell phone' was taken as a given, when talking about a CCD sensor.
> in many cases producing human-level output

They’re not, unless you blindly believe OpenAI press releases and crypto scammer AI hype bros on Twitter.
null can be avoided with a good linter
But you're not paying for a security product on the base tier.
> The frustrating thing about external interruptions is the inability to control them. [...] The good news for these internal interruptions is that it should be much easier to control them.

Interestingly, I feel the exact opposite. I'm aware that it's not always possible or socially acceptable to do so, but at least in theory you can always make a choice to ignore or tune out other people. Ignoring the stuff that is going on in your own head is IMHO much harder.
No, I was replying the general principle.

At the same time, I don't take issue with the title -- I don't read it as abdicating responsibility. The author knows he can remain ad-less. It's just a catchy way to say "I had to make these changes to get approved by ad-sense."
> The pilot had set the trim so that the aircraft would lift off from the step and begin to climb away. The rudder trim was set almost as far right as it could go. The pilot described the take-off as quick and easy. “I let it lift off by itself. It was well-trimmed and it lifted off normally by itself.”

Further down.

> The maintenance team discovered an incorrect right wing geometric twist, which was unrelated to the hangar roof collapse but probably happened during repairs done previously in the USA. As a result, the aircraft had a tendency to roll and had been uncomfortable to fly because of a lack of aileron trim. This might explain why the pilot had the aircraft trimmed full right rudder on take-off: to correct for this roll.

He may have actually had too much rudder. They don’t say this explicitly, but correcting for roll with rudder means you’ll be cross controlled.

He was dangerously near stall speed without realizing it. Some turbulence could cause a small partial stall.

If the airplane was straight, it would have just dropped the nose a bit and corrected. But with a twist in one wing and 2/3 of rudder trim engaged, it’s more like it entered a snap roll. One wing was stalled, one was still making lift.

The airplane felt fine to the pilot, but it was essentially modified to be a snap roll machine. I don’t think a stock 185 would have even been capable of what happened here.
More links, just what we need.
This is one of those things where it doesn't actually matter in the long run, as long as most people do not abuse the system. It relies on social cohesion to a point.

So long as the train isn't entirely full and you're taking up a seat that could be used by someone else, the marginal cost (in fuel, maintenance, etc) to the train operator of having an additional person on the train is very close to zero. The train is going from St Ives to Wick anyway; if you do what you describe, the train operator is in essentially the same situation as if you had simply decided not to take the trip.

So as long as the fares that are actually paid are sufficient to operate the train and pay wages to the employees, the train operator can absorb the handful of people who do what you describe. As long as most people don't cheat the system in that way, it's easier to simply ignore.
Mexico Is China's Backdoor to the US Market
Just so we're clear, there's practically no such thing as an "unstallable plane". If some pilot believes that then their license should be revoked. Even jet engines can experience stalls internally on the compressor blades, and even helicopters can experience stalls on their retreating blade. I would compare it to someone believing that their car cannot possibly lose traction.

Exceptions, which of course must exist, include some fly-by-wire setups which limit the actuation of flight surfaces so that it should be theoretically impossible to put an aircraft in that situation, and rumored properties of some abnormal constructions like the An-2. Although even there you should repeatedly get comfortable with what happens in/around a stall, at least in simulators.

The fact that air started to separate and the end of the wing, and not at the root, is scary. It means the pilot wouldn't get the normal warning in the form of airframe shaking. Bad modification.
If the model can properly and consistently recognize hallucinations, why does it return said hallucinations in the first place?
I'd love an actual 327x family terminal - they're very well build, and the inbuilt font set is rather visually appealing.
And yet out planet will be destroyed, the rich are richer than ever off of the hard work of the poor.

The corporation cares not about humanity or the rule of law, but yet we treat it as a person.

I would challenge you that these "miracles" of the corporation will doom is all.
> "surge protector" is what Americans call a passive device that splits one outlet into several, yeah?

Technically different, but often combined functions. The splitting bit is a "power strip", or sometimes a "power bar". The surge protection is switching off when there's a short or overvoltage in the supply, or other larger than expected power draw.
You can store about a day's worth of diesel on-site and have agreements in place to have daily refills in cases of emergencies.

If you can't get gasoline within a day's drive then there's bigger problems in the world.
Or even talk to your computer https://en.wikipedia.org/wiki/Whistled_language
> evolve random two-wheeled shapes into cars over generations

Where I come from, we call two-wheeled automobiles motorbikes. Very cool simulation though!
Also the keyboard wasn't.stuck with QWERTY! You could swap keyboards. You could have big numbers when typing phone numbers, and letters when texting. You could type Californian street names correctly! Write math! Etc.
I love machines where the complexity is such that a single person can have an almost complete understanding of the entirety of the machine. You can get that from old machines.
My reflex is to never mandate safety procedures. To put it simply, why should the state use force to mandate something like safety. The implication being if someone refuses the force of the state is used on them… which is definitely not good or improving safety.

Mandating the seatbelts exist, sure. Mandating people wear them? Idk about that.

In the case of tractors for instance, wearing a seatbelt is downright dangerous. You cannot jump out then, and will be killed by a tractor if it flips.
Frankly I find it more annoying than the gates - it's a lot easier to forget.
Yes but radio protocols and AI methods are a lot closer than most overlapping acronyms. This is obvious from the fact that it gets mentioned every time an article about LoRA is posted.
You don’t need to imagine. Just look at some other countries. Look at Russia, for example, it’s even the worst one.

Americans are so spoiled by their state, it can be better, but it can be so much worse.
There isn’t any big difference between T? And Option<T> semantically. Many code bases use an Option<T> in C# to indicate a 0-or-1 object result, but refactor those to T? instead with nullable. It combines better e.g Option<Option<T>> doesn’t need to be handled manually.
In the end, you'll have a mixture of NULL and "" in your DB, and a couple of years later a piece of logic written in another language will fail spectacularly.
HN Discussion on the original article [0] (343 points, 23 days ago, 75 comments)

[0]: https://news.ycombinator.com/item?id=39940975
Or the fact that $FOO interprets as $(F)OO without the slightest warning. And of course if you're in a script line, you probably meant $$FOO..

Make certainly has some obscure variables, but of all the basic knowledge of Make you need to learn, $@ is near the top of the list (it's "target". an @ sign looks kind of like a bullseye. If you want to see it as visiting a dependency graph, it's the dependency you're currently "at").
Sounds like a really cool project. Any links to the exhibit?

Unsure if this comment was a refutation of my own or just a fun cherry on top anecdote, but in case I was unclear I was trying to say that “I completely agree with the shorthand of calling midi ‘paint’, AND here’s a cool use case that I think is fundamental to the technology but rarely held up as a benefit of said technology, namely archiving and assisted transcription of musical composition.”
> The amount of time I've spent troubling shoot...

Conveys a lovely element of gardening: new bits of code appear like shoots in the garden, often troubling if they aren't what one planted, taking time to weed giving nutritious shoots room to grow.
The "stochastic parrot" crowd keeps repeating "it's just a token predictor!" like that somehow makes any practical difference whatsoever. Thing is, if it's a token predictor that consistently correctly predicts tokens that give the correct answer to, say, novel logical puzzles, then it is a reasoning token predictor, with all that entails.
I think you've built a landing page. That's about all that can be said about the product.
A cross-border cookie quest has me questioning my Canadian credentials
it’s unfortunate that the times when you need the flow state to focus on an urgent problem are also the times when you’ll get hit with a deluge of distractions (from automated notifications and panicking managers that don’t know what to do other than asking “is this fixed yet?”)
> The good news for these internal interruptions is that it should be much easier to control them.

For a long-time meditator, this is comedic gold. Just control your internal interruptions, stay focused. That's all, eh? Hehehehehe
Another useless AI-thingy, nice.
> Even MIDI 2.0 after decades is mostly just increased resolution

The biggest change is that 2.0 is duplex which allows devices to discover each other on the same MIDI network. No more in/out/thru, it's all just one USB (or ethernet, or wireless) connection from a device to every other device. It also allows property exchange, which means devices can exchange semantic information about their configuration and parameters with each other.

On top of that, individual voices can now carry pitch and control information, while devices can exchange tuning information. That's a big deal for microtonal and non-western music.

It would be hard to undersell how monumental MIDI 2.0 is as a change from MIDI 1.0, but somehow the MMA manages to do it by making it out to be "32 bit!" (which ironically, it isn't - you don't get 32 bits of resolution in your CCs with MIDI 2.0).

Where MIDI 1 can more or less express the pitch and dynamics/timbre changes within a single piece of western music, MIDI 2.0 can express almost everything you do within a DAW these days, short of actual audio i/o.
Could users still access functionality of pages with ActiveX content, albeit in a “degraded” state?
Assuming that was the only constructor you defined on class Foo, and you used this.bar instead of foo.bar (latter won't compile), then the caller can't possibly get a Foo with bar set to null (except by reflection, and there are ways to prevent that). Moreover, even if new Bar() did throw an (unchecked) exception, the invariant would still hold, since Foo would rethrow the exception. This has always been the case, as far as I know.
I believe that the official term is "Sales Advisor", would be interesting to see the script they follow in such cases.
People are using “apartheid” without the technical, legal meaning and that is what I have a problem with.

Here is a list of countries that have been accused of apartheid:

- China

- India

- Iran

- Israel

- Malaysia

- Myanmar

- North Korea

- Nigeria

- Qatar

- Saudi Arabia

- Soviet Union

- Sudan

- United States

I would be interested to know whether any country, other than South Africa, has been found guilty of the crime of apartheid by the ICC and what the repercussions for said regime had been.

https://en.wikipedia.org/wiki/Allegations_of_apartheid_by_co...
Exploring the Enigma of Database Vacuuming
You can buy an Oyster card and top it up with cash.
Thanks! Yeah transforming into a time-frequency is the standard method. Short Time Fourier Transform (STFT) using FFT is the most common, though one can use FIR/IIR filterbanks also. It is however quite challenging to do in just a few kB of RAM. It looks doable with 4 kB in total, miiight be possible with 2 kB.
Nuked SC-55: Roland SC-55 emulator
Ask HN: Do you have a guestbook on your site?
Let's sign eachother's guestbooks!

I have one here: http://darigo.su/33chan

Please post yours, if you have one! Or maybe I'm the only HNer stuck in the year 2000. I did use <font>, <marquee>, and <center> tags on that site lol.

I'm sure there's another guestbook on HN, post 'em if you got 'em!
Like simplewall?
Wait you call making a bad bet not caring about money?

I’m so confused, your reasoning is just dumb.

Please explain how putting money into R/D has anything to do with gouging customers?

Is it because companies that tend to be more purely oriented on extracting profits often don’t put money into product R/D? So then therefore companies that do are not price gouging customers?

So how much money a company spends on researching a product suddenly makes that product have any real value? And if that value turns out less than profitable you think the business is basically a charity?

Like yes I’ll gladly go back to Reddit to be rid of this faux expert bullshit y’all got going on.

Only worth 2 billion?

I find it amazing how so many adults are still just children with more numbers.