skysight-inc/HackerNews huggingface dataset:
Great writeup. This part stuck out to me:

> The justification for "unsafe" C and C++ libraries is often that some performance is left on the table with safe Rust, primarily due to bounds checking. On modern hardware this justification has always seemed a bit suspicious to me, and I think this is another piece of (circumstantial) evidence that it often just doesn't matter in practice

That's too strong a statement even though the sentiment is correct. Most software will not see a bottleneck because of bounds checking because it's not in the fast path. All we can say in this case is that the work that libyaml was doing is not impacted by bounds checking. It's not because of hardware but because of software inefficiencies / problem being solved isn't impacted by bounds checking - most likely libyaml is not running at full speed on the underlying hardware and thus any bounds checking is just noise because there's so much slack already.

However, I have definitely encountered situations in very specific circumstances where bounds checking is a bottleneck when you're trying to actually run at hardware speeds and unsafe is required to recover performance - of course I benchmarked very very carefully to the specific unsafe that's the problem. I'll also give a shoutout to the assume crate which I've found a much nicer mechanism to cause the compiler to elide bounds checking in many cases when building optimized while keeping it for debug builds & validating your assertion is correct. The annoying bit is that you can't ask the Rust compiler to elide all bounds check for a benchmark to validate the impact of the bounds checking.

Remember - on modern hardware your CPU is capable of executing ~4-6 billion operations / s, process main memory at ~100GB/s, and access disk at millions of times / s at throughputs of ~1-2 GB/s. This is all consumer grade hardware. Typical software applications are not typically targeting to try to run at full utilization but instead try to offer reasonable performance with a more straightforward solution that can be supported as cheaply as possible maintenance wise because the bottleneck cost is typically the programmer's time rather than how fast the software can be made to run.
You're not serious, are you?
Books? Notebooks?
Even downloading to your reading device?
Screenshots if everything else fails?
As long as 1% or more of voters in Pennsylvania keep voting based on whomever talked to them last; and as long as Super PACs can continue to receive unlimited anonymous money; no media channel will be legally restricted from spamming people. Phone spam is too effective politically.
I have attempted this and the biggest issue is that sometimes the receipts use codes hard to understand. And the codes will change from store to store.

If you're lucky, you won't need to go to a grocery store and determine what a code means, you will only need to map the code to an actual item you bought.
At the current price of $0.01 for 9ft, you could buy enough Trader Joe's Felted Wool Garland to wrap around the earth for just $146,000. Not bad!
Agreed. Once mobile data coverage is universal (via starlink et al, maybe), it's inevitable that the idea of a phone number will become antiquated. Either whatsapp (or one of its competitors) gets a sufficient monopoly and enables easily portable identities (to allow switching sims), or some other similar platform will come along. It may take a decade or two, but it will happen.
I love rust and all, but essentially one could create a non-clunky shell variant of it. dd an image, mkfs.ext4 out of it, mount it and then a bit more elaborate version (but not much) of: for i in $(seq 1 1000000000); do touch "file-${i}.txt"; done

no? it'd probably die soon.
Visa Restriction Policy to Promote Accountability for the Misuse of Spyware
Yeah because other activities they have deemed illegal have totally stopped.
I predict a season of AI generated robocalls for the elections.
From all sides.
This message brought to you by .......
I absolutely love Instagram app and my friend circle actively uses it. I'm not a big fan of Facebook, but I come back to Facebook groups and marketplace fairly frequently. What's your metric to measure this general propensity? DAU? MAU? Vibes?

Sure, the company may not exist 10 years from now. But there's no downfall indicator yet for this trillion dollar giant. All companies that size have headwinds and tailwinds. The self-assurance you see on this platform for Meta's sure shot upcoming decline is just absurd.
So were toothpaste and laundry detergent and diapers, and demand for those hasn't exactly gone away.
This sounds like the setup for a horror movie. Deep Blue Sea, but octopi.
"The West" is a very murky sort of definition. Arguably the colloquial "Cultural West" is what is on the Western side of what used to be called the Iron Curtain. Poland was definitely on the Eastern side of that.
This is a good outcome.
Science is the art of prediction. When I say settled science I mean that the predictability has overcome all possible experiments so far. For example, how planets move around a star is settled science.

Huberman sometimes passes the results of a single experiment as if there are no more hurdles to overcome.
The one I am loving in recent years is searching if an item is in stock at a store nearby and in many cases, seeing the location of the item in the store itself. Not to mention being able to compare prices and see reviews or other details.
Worth noting Fabrice was one of the primary devs on FxOS, and I believe the primary dev on KaiOS. I'm pretty sure he's familiar with the history.
This is a reference to https://news.ycombinator.com/item?id=39225011, which is still relevant, and sad.

Thanks for posting these.
I carry a phone everywhere, but all the apps companies want you to install seem to add more friction if anything. Like, I have a credit card, why the heck would I use Apple Pay, let alone some store-specific payment app? Even if there's some fancy digital restaurant line system, that works via SMS, I'm not installing the Olive Garden app.
https://github.com/microsoft/sudo/issues/11

Interesting

> Reserved

> not blank!

> We like to camp nice round number issues like this one, for future use.

Can you reuse GitHub issue numbers, or what could be their intention here?
how do you make rebirth
I've been in the industry for so long now as to see this pattern repeat often enough that I've come to accept it as a sort of universal truth: nearly everything that people think is "new" is actually an echo and (hopefully) refinement of something that has come before.

I am hard-pressed to think of anything in the software world today that is actually, truly, new. We all stand on the shoulders of giants.
You'd have to completely redo the way telephony works. There is no way to enforce numbers or caller IDs.
Our New Web Client, Sander, Is Live
I wonder how will this be enforced.

For now this could be seen as an incentive for TTS solution providers - build a product that is hard to distinguish from an actual human calling. In many cases the results are already convincing.

And what about the future. Please scan your retina to initialize the phone call? Please solve a captcha to start a phone call? Your workplace registered 12948230 calls in the last 24 hours, but employs only 3 workers registered as humans, pay fine now? Interesting times.
Render will host Rails apps, but if you can share more about what your app is, what other tech you need (Redis, PostgreSQL, uptime, etc) you can get more specific help.
This will be a problem as long as there is surveillance.
Now available in Canada.

Quietly since the post a few days ago (https://news.ycombinator.com/item?id=39217046), Google added Canada to one of the allowed countries.
how do you make an atm
Sucks for Gemini... https://en.wikipedia.org/wiki/Gemini_(protocol)
I'm guessing you mean this? https://www.windmill.dev/ "Open-source developer platform and workflow engine"
There are many valid reasons for making anonymous calls in 2024, including but not limited to being able to suss out information without exposing ones on identity.
> tracking complaints...and taking them to court, generally

Incredibly prejudiced judicial procedure, given the power, size, globalization, and ease of automated calling systems vs the normal people they most affect. Multiplied by an already burdened court system.

> Automated voice messages were already restricted, this ruling just affirms that AI generated voices fit the categorization of automated voice messages.

This is helpful. This isn't a tip-of-the-spear ruling, then, just something that affirms another ruling. But regardless, it sounds easy but in fact necessitates a huge amount of burden.
> I am surprised the open source community has not built better gui tools

This is the thing that isn't surprising.

In order to make a better GUI tool, you have to understand how the internals work. Then you don't care to use a GUI tool because you know how to use the command line or edit the configuration files. The people who want better GUI tools are the people who don't know how to make them.

In order to change this, the people who want GUI tools but don't know how to make them have to provide some incentive (typically money) to the people who know how to make them but don't want them, e.g. via donations or some kind of commercial agreement. And if they stand around and wonder why nobody else has fixed their problem for them instead of doing the thing that causes it to be fixed, an object at rest tends to remain at rest.
>For example, Bard is embedded as a chatbot inside Google Messages (at least for some subset of beta users). Imho, this is a killer app sort of feature, but it hasn't been mentioned at all in the Gemini PR.

I haven't seen anything about this in the public , but I imagine this will also be called Gemini, just as Gemini-integration in other products is simply being called Gemini.

If you are confused about subscriptions, here's another breakdown:

Basic: $2/month for 100 GB
Standard: $3/month for 200 GB
Premium: $10/month for 2 TB
AI Premium: $20/month for 2 TB + Gemini Advanced (Gemini Ultra chatbot)

Good question about Gemini access for family members. Not sure myself.
I love a government entity with a sense of humor. In Minnesota, the feds can have our mildly entertaining road signs when they pry them from our cold dead hands https://www.kltv.com/2024/01/21/despite-new-federal-standard... (but it's 50 degrees right now so, you know, not particularly cold)
That's right. I want my robocalls to be human, like my granddad preferred. /s
but the massive $7000 subsidy should make EVs a lot more competitive?
I would say that money is the root of the problem. I think that most VOIP providers don't want to loose out on unencrypted traffic (both legitimate and spam).

Also, why do I seem to always get spam from a few providers? And why aren't we holding them accountable?
A huge collection of them have been released as an audiobook. Highly recommended!
Is it ethical to farm primates?
In other words, the headline should say "FCC Rules AI-Generated Voices in Robocalls Illegal"
That's also the issue with swatting and fake calls to 911. When investigators trace it they'll hit a VOIP provider and it becomes near impossible to take it any further.
On logic it cannot handle the Dumb Monty Hall problem at all:

https://g.co/gemini/share/33c5fb45738f
I thought that is essentially what LLM's do? They learn what words/topics are associated with each other and then stream a response.

In some ways, this is proof that Gemini isn't cheating... It is just doing typical LLM hallucination
Can you share if this will ever come to Windows 10, or will it be a Windows 11+ exclusive thing?
Is it En only or other languages would work?
There is still a similar vein of productivity and hustling. Ask HNs are often about side project, productivity hacks, and income streams. Show HNs and blogs are the same topics, but actualized. It’s the same treadmill, but instead you feel bad about not being hyper productive, elite haxxor skills, or cashing out.
They probably targeted Android too because all software sucks
That only covers the driver, not everyone in the vehicle.
> And actually as usual Rust is ahead of the game here, you say "the compiler has no way of knowing" - actually with Aria's experiment in play we can insist on always telling the compiler what's going on, and as a reward we get both more assurance of correctness because the tools work (Miri for example) and better performance. The experiment is about whether most Rust software can live with this restriction ("Strict Provenance") and the answer IMNSHO is clearly yes.

The standard counterexamples being XOR linked lists, or manual paging with mmap, or manipulating addresses as integers within asm!(), or literally any situation where you can't afford to keep the address as a single value-with-provenance sitting at a known location in program memory until you need it.

Strict provenance is sufficient for most use cases, but far from all of them, so there's no viable way to tear the whole concept of exposed addresses out of the language. In any case, removing it would violate basic expectations of stability, given that users have been converting pointers to integers and back since the very beginning of the language.

> More pertinently to our discussion, even with PNVI-ae-udi plus a mistake that results in an impossible pointer this is a cause of Undefined Behaviour, which occurs at runtime, it is not a semantic requirement of the language, our Rust program was well formed and correctly translated into machine code if we did this wrong, it's just that it had Undefined Behaviour at runtime as a result of us writing bad unsafe code.

My point is that there's no difference in semantics, nor any difference with respect to causality, between an "ill-formed program" that's only ill-formed under certain conditions, and a program with "Undefined Behavior at runtime". The standard ascribes no requirements on the entire execution, start to finish, in either case. But practically, if the implementation doesn't have enough information to distinguish a valid execution from an invalid execution until a certain point (i.e., runtime-dependent UB or ill-formedness), then it must behave properly right up until that point, by the laws of causality.

Still, I agree that just calling requirement violations UB would be far less confusing.
Officially announcing On The Edge, my new book
> There's also no ways to really make a file system faster when dealing with many small files and directories.

Depends on the file/directory structure. Traditionally back in the CGI days URI's were links to files on a server. They often still are for static files. If you know the path to a file then the lookup should be very fast.

But yeah any other type of index other then the path isn't really possible.
> What is the factual basis for saying that Firefox was neglected? Lots of stuff is repeated around here, but it's not impression from any facts.

Interesting, what do you attribute Firefox's bleeding out marketshare steadily over the past decade to if not neglect from leadership? Strategy is at the core of the CEO role and other executives.

Mitchell Baker actually stated herself, I think in 2020 at the time of layoffs, that Mozilla needed to focus on stuff like decentralized web, artificial intelligence, security and privacy network, etc. So yes it seems evident that the browser was neglected to pursue other endeavors, that mind you, didn't see much success either.
> no project, closed or open has made configuring pcie passthrough easy

"GPU passthrough with libvirt qemu kvm" https://wiki.gentoo.org/wiki/GPU_passthrough_with_libvirt_qe...

"PCI passthrough via OVMF"
https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF :

> The Open Virtual Machine Firmware (OVMF) is a project to enable UEFI support for virtual machines. Starting with Linux 3.9 and recent versions of QEMU, it is now possible to passthrough a graphics card, offering the virtual machine native graphics performance which is useful for graphic-intensive tasks

KVM-GPU-Passthrough:
https://github.com/BigAnteater/KVM-GPU-Passthrough

https://clayfreeman.github.io/gpu-passthrough/
Isnt it also true that no democratically elected or coup-installed Prime Minister in Pakistan's history has ever successfully completed a single full term in office, ever since their independence[1]?

And if that is true, isn't Pakistan a glorified tin-pot republic, thats democracy only on paper & manages to stay alive at the mercy of the propping-up prowess of U.S. and U.K., to act as a lily pad[2] of sorts in the region?

[1]

Every time the gov’t topples (no Pakistani Prime Minister has completed 5 years in office), corruption/looting reaches even higher levels…
…to replenish and grow the bounty that was paid to buy out votes in elections and in the parliament.
Sad, but v familiar to Pakistanis.
12:08 PM · Apr 9, 2022

https://twitter.com/bznotes/status/1512870199338287106

[2]
Cooperative security location

https://en.wikipedia.org/wiki/Cooperative_security_location
> What lies ahead is repression, so Stalin needs a new dress.

I guess one metric of repression is what parties are represented in a legislative assembly.

For instance, looking at:

https://en.wikipedia.org/wiki/November_1932_German_federal_e...

https://en.wikipedia.org/wiki/March_1933_German_federal_elec...

https://en.wikipedia.org/wiki/November_1933_German_parliamen...

things are still looking healthy in Mar 33 (my metric: no party has more delegates than all the other parties combined; others will obviously use different metrics) but Nov 33 is completely out of hand.

Looking at:

https://en.wikipedia.org/wiki/State_Duma#Latest_election

the Duma at least has more than two parties, but isn't healthy by my metric. (the same occurs in the upper house)

When more repression arrives, either we'll see a Duma that's nearly 100% "ER and friends", or we'll see a Duma with the same parties but so ineffective that if Putin's horse were elected (it could easily commute from an office in the Moscow Manège?) it wouldn't be any worse than any other deputy.
The craziest thing is that Pakistan has nuclear weapons. And not only that, the weapons are at the disposal of the local (very high ranking) commanders. It also is a country where the military is really in charge, only occasionally giving back the control to a civilian government.

Sometimes people think that Eastern Europe is the most likely place to get nuked, or perhaps some American carrier off the coast of China. But in reality it's both Pakistan and India.
This question seems a little dumb, perhaps less so in terms of our DRM world: by "transfer" does that mean move or copy? Because we're hoping to copy, not move.
I think being strongly Catholic draws Poland into the Western sphere in spite of the Cold War divisions.
Ok, we've made it rule above. Thanks!
[dupe]

More discussion on official release: https://news.ycombinator.com/item?id=39304736
I thought we were talking about the browser, but yes I like Rust a lot, although I switched to Go because the benefits of the borrow checker were just not worth the effort in my use cases. I would wish more main stream languages would experiment with owner transfer though

a = 3
do(a)
// can't use a
As proactivesvcs commented under the other article, I think it was just insufficient down-scrolling. The Mastodon web UI on a phone can make for a very long page.

Edit: wait a sec... something IS weird here

I now have the same URL showing in two different tabs, one of which shows the follow-up and one which does not. It's a UI matter of which part of the tree of follow-ups is being displayed, and it's not encoded in the URL.

(Still editing) OK, if you are in the state where it does not show the entire thread down to the finale, click on the text of the first follow-up by the OP ("The toothbrush thing has gone viral despite it being total bollocks") and the rest of the thread is revealed.

Except it's not. That's another part of the tree with the same screenshot in reply to a different subthread.

All this goes to show that I don't understand how the web UI of Mastodon works, and I'm not alone. "When you're in a hole... stop digging"

(I didn't stop digging)

Starting at https://cyberplace.social/@GossiTheDog/111886558855943676

First reply is from the OP, and the visual "thread" (vertical line) on the left side is broken. Click on that reply ("The toothbrush thing has gone viral despite it being total bollocks.").

Now again scroll down through posts by the OP until the "thread" on the left side breaks. Click on that last reply ("Fortinet also declined to comment to me.").

Finally, the target post appears as a reply to that ("Fortigate have issued me a statement.")

Navigational issue. One might ask what is the difference between the follow-ups that show up automatically and the ones that don't show up until you navigate. I don't know.
Hey, I agree. I was very against the layoffs (I built this https://news.ycombinator.com/item?id=24135032), and at my own company I have a very strict layoffs-are-the-absolute-worst-case-scenario rule (which I got from working at Mozilla back in 2010; we were proud to have been one of the few companies who had never done layoffs back then!)

I think Mitchell has made many bad decisions the past few years. When I saw the news, my gut reaction was to post something negative. However, having known her and known all the work she put in early, I wanted to post a counterbalance. She wasn't a great CEO (and the $$ is a very bad look), but she's done a lot of good for the community over the past 20 years.
More discussion over here on official release: https://news.ycombinator.com/item?id=39304736
Americans are significantly higher earning than Europeans, who are bad at running their economy and keep doing austerity.

This is especially true for lower wage Americans who've seen great wage growth since 2019.
dkms has worked fine for me in Gentoo, Debian, and Ubuntu.

I think the backlash has more to do with the comment's tone.
> AI startups trying to create AI customer support bots or political reachouts with consent from the parties involved to clone those voices.

This is where lawyers get to have fun. What is the line between a message in the public sphere copied and multiplied via broadcast, and a message consensually altered and multiplied via AI-then-broadcast?
> Incredibly prejudiced judicial procedure, given the power, size, globalization, and ease of automated calling systems vs the normal people they most affect. Multiplied by an already burdened court system.

Well sure, the FCC should mandate a code to dial after a call that induces an electric shock into the most recent caller; I think *ZAP should do it. But we have to work with what's available :P