MurphyA/hacker-news huggingface dataset:
by vishnuharidas | 2025-04-19 17:54:37+00:00
I found that this saves a lot of battery. My old Motorola G5G is now sitting idle, and I had to charge it every 4-5 days. I found that if the phone is restarted and NOT unlocked, it will stay charged for more than 10 days. My best guess is that a screen unlock is required to start many of the OS-level services, which takes up all the battery.

If this is true, then the new update will save a lot of battery for those phones that are sitting idle.
by lurk2 | 2025-04-19 17:54:54+00:00
This reads like the sort of self-congratulatory articles journalists were fond of writing about themselves in the late-2010s, just as public trust in journalism was reaching an all-time low. I suspect the same thing is happening with librarians as they’ve begun to abandon all pretence of being impartial guardians of information in favor of larping as members of The Resistance. Ironically, the experts never seem to learn that you can only play this game for so long before no one cares what you have to say anymore.

This comment got flagged within minutes after I had originally posted it, which is an indication of how seriously freedom of information is valued by those on the other side of this issue.
by dev1ycan | 2025-04-19 17:55:42+00:00
If there was a genius ruler, it was Pachacuti, seriously, dude was the Caesar of South America, extremely underrated in how he managed the Incan Empire and all of the infrastructure that was built in his reign.

He also directed the creation of the road system in the empire... it would have been interesting to see how he instead of his descendants would have dealt with the Spanish had they arrived when he was alive, I think that the outcome might have been different, at least for the initial wave of Spanish
by krylon | 2025-04-19 17:55:48+00:00
My knowledge of most of these is superficial or seriously outdated. Particularly OCaml, Haskell, and Rust (AND C++!!!) are not languages I would claim to really "know". When I was younger, I tried to get to know as many languages as possible, at least in passing, but I have not used many of these in a professional context.
by zamadatix | 2025-04-19 17:56:20+00:00
Very interesting! It's like the best of the fragment-pre-encrypt world (everything appears as single packet 5 tuples to middleboxes) and fragment-post-encrypt world (transported packet data remains untouched) debate seen on IPsec deployments.

Like you mention you could do this under QUIC but then you'd be hamstrung to some of the design mandates such as encryption. This is way better as it's just datagrams doing your one goal - hiding that you're transporting fragments.
by ryandrake | 2025-04-19 17:58:21+00:00
If the software has to beg you with pop ups and notifications to install or enable something, chances are that it’s not in your best interests to use it, and you don’t want it. Otherwise you would have voluntarily sought it out.

For me, it’s gotten this way for updates, too. I no longer want your “update” because it is more likely than not going to 1. Make my existing software worse and 2. Come with features I don’t want. So I just won’t upgrade/update.

Software companies can beg and plead and try to force this shit down my throat but I will just say no, no, no. They cannot be trusted and are reaping what they have sown.
by opan | 2025-04-19 17:59:33+00:00
I'm quite happy with irssi, just figured it was worth checking. Lots of stuff becomes free software if it sticks around long enough. Blender is a big one that was originally proprietary, I believe. I did check Wikipedia before posting and "get my answer", but I also considered that it could be out-of-date, or that there could be something in the works that the loyal users would know about, maybe a blog post about plans to liberate it in the future. Asking here seemed like a surefire way to double-check, but admittedly the answer was not that important or relevant to me, yeah.
by mullingitover | 2025-04-19 18:00:22+00:00
> Personally I think "straight to jail" is a step too far

Texas has laws on the books to throw people in jail for up to six months for first-time DUI.

Measles is diabolically contagious and there's a good chance he will be personally responsible for a death. I think a doctor who knows better and who recklessly endangers lives in the way he's done should be looking at a minimum of a year of his life where he gets to see sunlight for no more than 30 minutes a day.
by SpicyLemonZest | 2025-04-19 18:00:37+00:00
Being compelled to pay attention to violent struggles doesn't sound to me like a particularly good thing. Nothing wrong with empathizing, donating, doing what you can for the causes you happen to hear about. But in my experience, people who are incapable of ever tuning out violence inevitably fall down radicalization spirals about it. There's just nothing I can meaningfully say or do about most of the violence in the world.
by arthurofbabylon | 2025-04-19 18:00:48+00:00
A language is a map to reality, a survival strategy in a changing world. More languages equals more chances of surviving (and thriving!).

The depth of intelligence in a human language developed and tested over millennia is truly incredible, more than I believe most of us can appreciate. In a language there exist tactics/knowledge lying dormant waiting for the right circumstances for application. Human languages are not developed in a world favoring local maxima, but in a chaotic world favoring true robustness and antifragility. We would be fools to surrender a time-tested model of nature, to allow languages to die.
by hn_acker | 2025-04-19 18:00:48+00:00
> The guy is also now sipping margaritas in a restaurant with Senator Van Hollen as was clearly seen in the Senators own post just some hours ago.

Those "margaritas" appear to have been staged by Bukele [1].

> "When I first sat down with Kilmar, there were just glasses of water on the table," Van Hollen explained. "Then, someone from the Salvadoran government came over and placed two glasses with ice and sugar—or salt—on the rims, clearly staged to look like margaritas."

> "If you look at the one they put in front of Kilmar, it actually had a little less liquid," Van Hollen said. "To try to make it look, I assume, like he drank out of it."

...

> Van Hollen noted that drinking a salt or sugar-rimmed glass would leave a gap. But on the photos shared by Bukele, there is no gap—evidence, he said, that neither he nor Abrego García touched the alleged margaritas.

[1] https://www.latintimes.com/senator-who-visited-abrego-garcia...
by metalman | 2025-04-19 18:01:07+00:00
Ever try and grab...and hold onto, a salmon that is trying to swim upstream? I have, and there was nothing I could do to hold it, with both arms in a bear hug, thrash, thrash, THRASH, gone.... big bad critters that are already ignoring all kinds of risks. Salmon are moving north and colonising new rivers, which likely means needing different behaviors to deal with unfamiliar food, or eat now!, worry about digestion later. They got teath so I am guessing that gettin bit by salmon is likely going to become a thing we hear about, only fair seeing how often we are bittin on them
by jakewins | 2025-04-19 18:01:27+00:00
There is no contradiction between “constructors cannot fail” and “fail early”, nobody is arguing the constructor should do fallible things and then hide the failure.

What you should do is the fallible operation outside the constructor, before you call __init__, then ask for the opened file, socket, lock, what-have-you as an argument to the constructor.

Fallible initialisation operations belong in factory functions.
by ogogmad | 2025-04-19 18:01:39+00:00
Base-factorial is a representation for real numbers between 0 and 1. The representation has the form A/2! + B/3! + C/4! +..., where A is in {0,1}, B is in {0,1,2}, C is in {0,1,2,3}, etc. Every irrational number in [0,1) has only 1 such representation, while every rational number in [0,1) has exactly 2 such representations (where one of those is finite). Notice that e-2 is in [0,1), and the Taylor series of e^x produces a representation of e-2 in base-factorial which corresponds to neither possible forms that a rational number can take. It follows that e is irrational.

Some details here: https://en.wikipedia.org/wiki/Factorial_number_system#Fracti...

See also: https://math.stackexchange.com/questions/425963/is-there-a-s...

Ultimately, the above argument resembles Fourier's proof that e is irrational. But I find it more intuitive. A lot of other special constants can be proved irrational using similar techniques.
by deanishe | 2025-04-19 18:01:42+00:00
It's not standup vs sitcom so much as winning vs losing.

British comedy runs on kicking its protagonists in the nuts. Ideally, they bring it upon themselves, but cosmic irony will do in a pinch.

It's practically unheard of for a British protagonist to end an episode in a better place than they started unless it's the Christmas special.
by alganet | 2025-04-19 18:02:56+00:00
Ah! It makes a reference to Rose, the Hat (character in the Doctor Sleep movie). "My head is a library [...] you're just a fucking child". Hence the drawings looking like children homework.

So, if it is an AI that wrote it, maybe it has movie script training. That would be a smart move. Movies themselves draw specific personas to the foreground of a human mind and could put them in specific moods.

Or is it a human who wrote it? Maybe it was an angel.

--

Ok, no movie business. Is there a difference between biblioteconomist and librarian? I think one is more akin to that notion of classifying without curating or censoring that so many here aluded to.

In practice, I wouldn't know! (fun oversharing fact: I actually considered biblioteconomy as a degree).

I think the post is good and kind for a general audience. It's a good message that I truly believe in.

But I believe it could be harmful for those diagnosed with conditions such as Havana Syndrome, Schizophrenia and similar disorders. That is due to the fun ambiguous tone of "dangerous", which could have unexpected effects in someone going through a psychotic episode (I had one once, not a pleasant experience). There must be a better, less snarkier way of promoting literacy without creating those potential side effects.
by zhivota | 2025-04-19 18:03:12+00:00
It's kind of funny to me how impossible it is to distinguish hype that's around an underlying technology that is going to really change things, and hype that is around an underlying technology that is not going to do anything.

I think many people today are super jaded because they lived through IoT, crypto (a hype train that had tons of idiotic permutations), metaverse, voice as the future of all computing, and maybe more I'm forgetting.

But don't let those experiences jade you to the fact that we have lived through multiple actual huge disruptions: Internet, mobile phones, social media, battery tech, solar and wind becoming cheaper than fossil fuels, and more.

The fact is you just can't tell which is which, but I can say this - I never found any use in IoT or crypto or metaverse crap. But I find a lot of use out of LLMs. At the very least they are going to be a useful tool for a lot of things in the future. Whether they go further is independent of hype.
by ashoeafoot | 2025-04-19 18:03:13+00:00
but then why romanticise what was destroyed ? Why not go at the world with a realistic view, which is that the "new world" was exactly the same as the old with dominant landempires holding colonies and tributories, aristocrats holding slaves, that where the landbound spaniards to their neighbors. Just because they have been genocided into a blank slate and you rightfully despise the acts of the genociders, does not mean you get to paint a utopia on the disfigured corpse. The hideaways of chaco canyon speak of slavers expeditions.
by throwaway150 | 2025-04-19 18:04:21+00:00
That's not comparable to finding Goldbach NON-counterexamples.

With Goldbach, claiming a "world record" just means checking one more number and seeing if it is still NOT a counterexample. It's easy. Contrast that with computing a new digit of pi - something you can't achieve by simply incrementing a value and running a check.

Finding each new digit of pi (the ones very far out) is not a trivial task. The computational effort increases by a lot as you go deeper. Something like O(n (log n)^k) for some k (usually k = 3).
by riffraff | 2025-04-19 18:04:24+00:00
I love libraries and I credit the library of my home town for being who I am.

I don't remember much that the actual people in the library did for me, beyond letting me take books at a time than was allowed.

But still, they did let me do that, and asked me for books to buy.

Maybe they did more for me than I thought.
by stale2002 | 2025-04-19 18:04:25+00:00
> The GPL for example required that if I distribute a derivative

So, in other words, if you don't distribute a derivative work you are fine.

Like I said. The point stands once again. Everything that you said only applies for distribution of copies. And if you don't distribute copies, and you don't sign any contracts, you are fine.

> This requirement of the GPL has been enforced by courts

You have misunderstood that court case. Nobody can be forced to follow the GPL. Instead, you can only be forced to pay damages for distributing copies.

Following the GPL is simply a method of avoiding damages for distributing copies. But you don't have to follow it. You can simply either not distribute copies, or you can pay damages for your distribution of those copies.

So the point stands once again, that you cannot be forced to follow these contracts, and you can only be prevented from distributing copies.
by deanmoriarty | 2025-04-19 18:05:00+00:00
It’s truly the biggest scam in the industry.

Staying years at an early startup in exchange for paper money (and having to pay AMT + exercise costs) is one of the biggest regrets in my career, I truly don’t know what I was thinking.

I still have a bunch of this paper junk and I wish they’d at least go to $0 so that I could claim a capital loss on my exercised cost basis, but they are stuck in zombie land.
by cryptonector | 2025-04-19 18:05:35+00:00
> > Yes writing the definitions by hand can time consuming and error-prone

> With the proper environment, this isn't that time consuming or error-prone anymore, based on my recent experiments.

If you have modules with automatic, and manual IMPLICIT and EXPLICIT tagging and you fail to translate those things correctly then you can trivially make mistakes that cause your implementation to not interoperate.
by toomuchtodo | 2025-04-19 18:06:17+00:00
Your arguments come from a place of rationality and observations, without a doubt, but the decisions of material importance are being made by irrational actors. Maybe you’re right, maybe not, too much volatility to say with certainty imho. Might as well play roulette in the current macro. You could literally be in the room where the decision is being made, and I still wouldn’t give high confidence in prediction accuracy, based on observations to this point. You’re reading tea leaves while they’re throwing dice.

On a recent APM Marketplace episode, Kai asked one of his guests to predict how this ends, and their answer was, paraphrasing, “haha are you kidding me? I can’t even tell you what the next 24 hours is going to look like.” [1]

[1] https://pca.st/episode/6ce6c8be-c008-439f-b1a9-dc45cf48c57a?...
by paganel | 2025-04-19 18:06:29+00:00
Anyone care to recommend some specialty coffee-shops in Tehran? Or in Iran, more generally? That's the one thing I'm searching for when going to a new (big-ish) city, I've honestly stopped caring about museums, archaeological places or the like, I just want to go to the same specialty coffee shops to which I go here in Bucharest, to be surrounded by the same people I'm surrounded here in Bucharest while reading a book or a magazine.

And to give something in return, for Athens I can heartily recommend Taf Coffee [1], and also MOTIV [2] just across the small street, and in Vienna I have a soft spot for CoffeePirates [3]

[1] https://www.google.com/maps/place/Taf+Coffee/@37.9834313,23....

[2] https://www.google.com/maps/place/MOTIV/@37.9835867,23.73117...

[3] https://www.google.com/maps/place/CoffeePirates/@48.2173765,...
by cryptonector | 2025-04-19 18:06:50+00:00
> But if you happen to have one of the use cases that require ASN.1, open sourced tooling can be problematic precisely because of the need for a robust SLA.

Why would you need a support SLA for ASN.1 and not for PB/FB? That makes no sense. And there's plenty of open source ASN.1 tooling now -- just look around this thread!
by tbrownaw | 2025-04-19 18:07:05+00:00
> Do I think kids should see that? Probably not, but I also don't believe it's inherently going to 'traumatize' all of them - I saw much of the same stuff you did, I'm sure, and I don't count it amongst my trauma.

I remember when it was fashionable for trolls to post shock images like tubgirl or lathe accidents. I seen to have survived ok.
by matthewdgreen | 2025-04-19 18:07:21+00:00
I think you're drawing the wrong conclusion from this set of facts and claims.

What I think you're saying is:

1. The only solution to this problem is technology that gives us alternatives to fossil fuels.

2. However, even if this technology becomes ubiquitous and cheap, it won't solve the problem by itself. Absent some forcing function, people will continue to use fossil fuels as long as they're convenient and available.

All of which may be true. But then you make the weird third claim:

3. Regulation is a dead end, and just looking at the track record of regulation so far, it's hard to deny that.

It seems to me that the only possible implication you can draw from facts (1) and (2) is that we are going to need massive amounts of regulation to discourage fossil fuel usage, since it won't drop organically even when sustainable alternatives are cheap and available.

PS As a totally unrelated note, here's a chart of global whaling activity. https://ourworldindata.org/whaling
by Calwestjobs | 2025-04-19 18:08:01+00:00
many SDRs can RX/TX spectrum many times wider than you think is required in here.

Try to look at this small enthusiast SDR receiver - http://g4wim.proxy.kiwisdr.com:8073/ / http://kiwisdr.com/public/ you can see that simple 350$ radio can have 100s of "channels" visible/receivable at once. (digital modes are available in bottom right "toolbar", in top right corner, drop menu called "extensions" )

so with (different) SDRs you no longer need to choose one channel and listen to it, you can receive 200 channels at once, storing that data and choose what channel you want to decode later

or decode multiple radio stations realtime at once, even each with different mode (AM/FM/Olivia/USB...) and you can even (UNIX) pipe data from it, to programs not designed for ham / sdr use. data is just data as soon as you have it you can do anything with it. you can even write program/script to send email/notification/sound when specified callsign makes call/connects to trunk. for billing purposes...

or BTS/repeater can listen to 50Mhz wide part of spectrum 400Mhz-450Mhz AT ONCE realtime so no "tuning" necessary. for example 2000$ USRP can do that (but you need amps, filters etc to make full BTS )
by chuck8088 | 2025-04-19 18:08:30+00:00
Sorry for the horribly off-topic post, but as a car enthusiast, nitrous used to be one of the cheapest ways to make your car faster. However, recent price fluctuations (and making sure nitrous is reserved for medical uses first), along with the advent of a market flooded with cheap turbos from China, have made nitrous not worth the investment.

One promising technology that may gain some traction is compressed air [https://casupercharging.com/]. It's still a forced induction method and relatively simple to install compared to procharging or supercharging. That said, forced air has some major drawbacks — a very large tank, for one.
Show HN: I made a game to see who is the highest IQ based on ChatGPT convos
by dylananderson7 | 2025-04-19 18:08:47+00:00
I made a game where you can challenge a friend to see who has the highest IQ but with a twist: there is no question to answer, it is based on your ChatGPT conversations (complexity of questions, depth of topics, diversity of arguments, etc.) Then there is a weekly and monthly draw for an iPhone and $100 Amazon voucher Is that fun?
by msarnoff | 2025-04-19 18:09:21+00:00
The language is one thing, but the Objective-C runtime is brilliant. Read about the implementations of key-value-coding, key-value-observing, and bindings to get a sense of the bonkers things that have been done with it.

And ARC (automatic reference counting) blew my mind when it was first released. Rust was a blip on the radar, so the idea of automatic memory management, handled at compile time, without GC, was amazing.
by grandempire | 2025-04-19 18:09:51+00:00
> I still think the most important thing we can do is empower children to be as smart and well-rounded as they can be

I agree. If we were actually gifted kids they should have given us real challenges with a chance of failure or discovery. Instead they just told us how smart we were and taught to emulate the appearance of intelligent people. Memorizing passages, quotes, checking out prestigious books. It’s to such a degree that much of millennial culture is references and tokens of intellectual landmarks from the 20th century - with no accomplishments for itself.
by n4r9 | 2025-04-19 18:10:22+00:00
I don't live there anymore but I was at Victorious festival a few years ago watching an American band (can't remember which). The front man told a story of when they recorded their first album in Portsmouth. Someone in the crowd lifted up their pint and shouted "Yawrigh' mush!". And the screen ads said "Don't be a din - put it in the bin". Those words feel like they're from some dreamworld until you hear them again in person.
by lyu07282 | 2025-04-19 18:10:25+00:00
> might be calling out to a database with invalid credentials, establishing a network connection which may fail to connect, or reading a file from the filesystem which might not exist.

In python its not unusual that,

import some_third_partylib

will do exactly that. I've seen libraries that will load a half gigabyte machine learning model into memory on import and one that sends some event to sentry for telemetry.

People write such shit code, its unbelievable.
by rufus_foreman | 2025-04-19 18:10:34+00:00
>> As far as I know, it's never been banned in the US

The question is not if it is banned.

The question is if it is general circulation in public libraries.

This is motte and bailey. If a school library decides not to include a book in their library, that's curation, if it is a book you don't like. If it is a book you do like, it is censorship.

If you walk into your public library and browse the shelves, is the Anarchist Cookbook there? Mein Kampf? If they're not, does that mean they are banned?

I go to my public library quite often, and the books I am interested in are most often not on the shelves there, and the books that are on the shelves there have a political slant towards a politics that I detest. Librarians are in fact dangerous.

Now, that doesn't mean the books I want to read are banned, I have to put a hold on them from the stacks at central and they will ship them over, but they will never be on display at my local library.

They're not banned. But the books on display at my local branch library are curated by dangerous librarians I want nothing to do with.
by cenamus | 2025-04-19 18:10:38+00:00
Sounds vaguely similar to Jesperson's cycle and double negatives, the "couldn't care less" idioms. And "absolutely avoided for clarity" is a bit harsh, language is by its nature imprecise and telling people how to speak has (thankfully) almost never worked to avert language change.

https://en.wikipedia.org/wiki/Jespersen%27s_cycle