MurphyA/hacker-news huggingface dataset:
by majormajor | 2025-07-29 04:15:17+00:00
Take a look at the API calls you'd use to build your own chatbot on top of any of the available models. Like https://docs.anthropic.com/en/api/messages or https://platform.openai.com/docs/api-reference/chat - you send the message history each time. You can even lie about that message history!

You can utilize caching like https://platform.openai.com/docs/guides/prompt-caching and note that "Cache hits are only possible for exact prefix matches within a prompt" and that the cache contains "Messages: The complete messages array, encompassing system, user, and assistant interactions." and "Prompt Caching does not influence the generation of output tokens or the final response provided by the API. Regardless of whether caching is used, the output generated will be identical." So it's matching and avoiding the full reprocessing, but in a functionally identical way as reprocessing the whole conversation from scratch. Consider if the server with your conversation history crashed. It would be replayed on one without the cache.
by wmf | 2025-07-29 04:15:55+00:00
The other legit use for stablecoins is allowing people in Venezuela, Argentina, etc. to hold US dollars while the US government pretends they don't know this is happening. (Officially the US does not encourage dollarization of other economies against their will.) I agree that a centralized US dollar CBDC that isn't run by scammers would be a simpler way to do this.
by Jensson | 2025-07-29 04:15:58+00:00
> Two states, stop holding a people in a perpetual refugee camp and you might be surprised and how much less they fight you. And, if you really have two states, then there's a framework for retaliation if it comes to that.

This was Israel's solution, its the other side that keeps rejecting this solution and has been rejecting it for many generations now.

So after 70 years of that it makes sense Israel are fed up with trying to ask for two state solution, because the other side will never agree that wont work, they have to solve it in another way.
by thwarted | 2025-07-29 04:18:01+00:00
> When you "transfer money" from your bank account to another, your bank has to physically move the associated cash from it's vault to the other banks vault, by hiring secure trucks, people, and so on. If the money has to cross a border, that's even more of a hassle, now you have to physically cross a border with a truck full of cash. When a bank "holds onto your money", they need a big vault full of cash, they have to count it, account for every dollar, physically safeguard it, etc.

While I'm sure some of this is true for some banks at some point in history, this is the kind of understanding of a given industry that results in TechBros reinventing buses or juicing machines.

> This is a huge cost, inefficiency, and a big challenge of banking, and it's one reason transaction fees and banking fees are so high.

The reason banking fees are so high is because they charge what the market will bear, and most of the banks customers are a captive audience. It doesn't cost $2 to perform a transaction at an ATM; it costs pennies, if that. Banks should be paying you for holding, and putting to use, your money.
by WarOnPrivacy | 2025-07-29 04:18:06+00:00
That's nice of you. Thank you. It's just a condenser fan motor and replacing the (budget) dual run cap with an AmRad. Hardest part is threading the motor lines back thru the conduit after forgetting to pull a line first.

I was uncertain whether the cap's tolerance difference mattered. Existing is half rubbed off and shows something like ?0/-5% and replacement is ±16/±16%. But #3 knows caps and says we're good.
by TheCowboy | 2025-07-29 04:19:03+00:00
One problem with this is crypto AMM (automated market making) works best with stability and low volatility. For example, it's terrible in the context of prediction markets. Market makers get hosed due to real life, and traders (me) can profit at their expense. It's a big part of why prediction market traders encouraged Polymarket to develop orderbooks. And if crypto is viewed as disruptive, then it's likely inducing greater volatility.

A lot of these things are lucrative until they're not. If they are inherently lucrative then that profit will diminish as people catch on.
by valenterry | 2025-07-29 04:19:08+00:00
I don't think so. Yes, LLMs use electricity. But they use electricity in the data-center, not in your home. That's very different, because it's cheap to transfer tokens from the data-center to your home, but it's not cheap to transfer electricity from the data-center to your home. And that matters, because we can build a data-center in a place where there's lots of renewable and hence cheap energy (e.g. from solar or from water/wind).

If you think about it, LLMs are used mostly when people are awake, at least right now. And when is the sun shining? Right. So, build a data-center somewhere where land is cheap and lots of solar panels can be build right next to it. Sure, some other energy source will be used for stability etc., but it won't be as expensive as the energy price for your home.

> This makes me wonder, would it be possible to pre-compue some kind of "rainbow tables" equivalent for LLMs?

Already happening. Read up on how those companies do caching prompt-prefixes etc.
by wkat4242 | 2025-07-29 04:19:19+00:00
The problem is those other options aren't very common and crypto is pretty useless as a payment method these days due to slow processing and high value fluctuations. Wore transfer is also slow.

It's indeed ridiculous that you need to get a loan just to be able to pay with your own money. At least here in Europe most "credit cards" are actually debit cards. Because we really frown on loans (the best credit rating is for the person who has never even needed to take out a loan)
by const_cast | 2025-07-29 04:21:27+00:00
> but the immigration issue is definitely driving the messaging from Reform

Yes, my point is that we've already done this countless times.

The messaging doesn't go away if you get rid of these particular brown people. They just shift to some other demographic, because that's how right-wing populist messaging works.

Nobody would actually be satisfied if the immigrants were beamed away.

> People say things like this as a cryptic way to imply the person they're talking to is just a racist bad person

No, it's not, and I don't think you're racist.

To be clear, I'm from the US, so I'm speaking from the perspective of what we've done and we keep having this same thing happen again. And again. And again. For literally hundreds of years at this point.

That's the meaningful discussion. I yawn not because you are racist, but because you are unoriginal.

All those other right-wing populist dilemmas turned out to be hot bullshit. Looking back, I don't know how people were stupid enough to fall for them, but evidently they were and we implemented a lot of surveillance and authoritarian laws. Luckily, many repealed.

But, I have no reason to believe this particular demographic panic isn't bullshit. They've always been bullshit. Just based off of track record it's not looking good.

The reason I bring up brown people isn't to imply racism, it's to call into question the legitimacy of the basis for this outrage.

It seems to me that, coincidentally, just like every other right-wing panic, mostly brown people are targeted. Hm. Interesting. Look at that. So why is this panic real, and not fake like the other ones?
by fsckboy | 2025-07-29 04:21:37+00:00
>The Gaza Strip is, as far as I know, the only place in the world whose fishermen can't fish in the full extent of its territorial waters.

well, you're leaving out the UK wrt French fisherman invading, thus depriving them of the full extent of their territorial waters. And Ukraine's territorial waters have been curtailed.

but the only place I can think of that's similar to what you're talking about would be the Houthis. I guess they do have free navigation in their territorial waters, and turns out they make great neighbors! https://www.bbc.com/news/articles/c3071vp2d8yo I guess nothing can go wrong!
by raincole | 2025-07-29 04:21:57+00:00
> If you read this post, you probably won’t look at the world the same way ever again.

I immediately wanted to close the tab. But I decided to not judge an article by the first sentence.

So I read on and it's just talking about how English has words with similar meanings but different etymological origins, plus some English grammar trivia.

Title:

> Every American is bilingual.

is completely unjustified. In the same vein every Japanese is bilingual or more. But the author is selling a book about marketing & copywriting so that's it.

(By the way, in the AI example the article shows, Claude thinks "ever again" can be replaced with "perpetually subsequently." Whether it's a joke is left to the reader.)
by er4hn | 2025-07-29 04:22:15+00:00
> Why would we want a digital currency? For similar reasons to all the other stuff above. It's more convenient. When you "transfer money" from your bank account to another, your bank has to physically move the associated cash from it's vault to the other banks vault, by hiring secure trucks, people, and so on. If the money has to cross a border, that's even more of a hassle, now you have to physically cross a border with a truck full of cash. When a bank "holds onto your money", they need a big vault full of cash, they have to count it, account for every dollar, physically safeguard it, etc.

>

> This is a huge cost, inefficiency, and a big challenge of banking, and it's one reason transaction fees and banking fees are so high.

That's absolutely not how this works though. Banks perform electronic transfers and most of the money is accounted for in databases. The problems are slow, antiquated, technology, which is made worse by the amount of regulation surrounding it that makes it hard for new contenders to enter and drive down prices via competition.

Cryptocurrency is trustless, but there is an interesting tangent about if you _do not_ want a government to control monetary policy.
by TheDong | 2025-07-29 04:22:53+00:00
Having different registers, the "everyday language", and the "more formal, fancy sounding register", is far from unique to English, and I'd dare-say the majority of broadly used languages have some form of this.

In fact, English has it less than a lot of languages. In Japanese, you not only use different words when in a more formal register, you also conjugate verbs differently and use different honorific suffixes to refer to people. https://en.wikipedia.org/wiki/Honorific_speech_in_Japanese

I guess people who speak japanese can speak 4 languages (casual speech, normal polite desu/masu speech, humble speech, and keigo). They all have different word-choices and conjugations, and there's also similarly a dual-origin story of "some words came from ancient chinese, some from ancient japanese".
by WantonQuantum | 2025-07-29 04:22:58+00:00
A simple thing to start with would be akin to Sensor Assisted Video Encoding where phone accelerometers and digital compasses are used to give hints to video encoding: https://ieeexplore.ieee.org/document/5711656

Also, for 2d games a simple sideways scrolling game could give very accurate motion vectors for the background and large foreground linearly moving objects.

I'm surprised at the number of people disagreeing with your idea here. I think HN has a lot of "if I can't see how it can be done then it can't be done" people.

Edit: Also any 2d graphical overlays like HUDs, maps, scores, subtitles, menus, etc could be sent as 2d compressed data, which could enable better compression for that data - for example much sharper pixel perfect encoding for simple shapes.
by mitthrowaway2 | 2025-07-29 04:23:10+00:00
Most of my family died in the Holocaust and the ones who made it escaped with nothing. They would not have made it out but for the generosity and compassion of a handful of people.

But despite that I still stand by my statement. Especially in the nuclear age. History does not repeat but it does rhyme. And in 2025, Jews aren't the ones clawing for an exit visa. I'll leave it there because I don't feel the need to argue this point further.
by arunabha | 2025-07-29 04:23:46+00:00
> Israel's real enemy won't stop and won't surrender until that country and it's people don't exist

Funny, this seems to be a pretty accurate description of Netanyahu's current position. He understands that he exists politically only as long as he can keep the war going. So, of course there is going to be no end to the 'war' against Hamas, even though it has transformed into mass genocide of civilians using starvation.
by ArtTimeInvestor | 2025-07-29 04:23:49+00:00
I think people here on HN keep underestimating the relevance of crypto for four reasons:

What crypto is already useful for is not to replace the cash in your pocket and your savings account. It is useful to replace SWIFT and Fort Knox.

What crypto will be useful for in the future is uncertain. But uncertainty does not mean pie in the sky. How the internet would be used was uncertain in the 70s.

Yes, nerds were already excited about the internet in the 70s. Have a look ath the "Mother of all demos": https://en.wikipedia.org/wiki/The_Mother_of_All_Demos It takes decades to iron out the details of how to use fundamentally new technology.

Fear of change. Is there any new technology that HN is in favour of?
by _heimdall | 2025-07-29 04:23:56+00:00
Cutting spending to any existing program will decrease the deficit relative to where it would be without cutting that spending. I'm not sure what evidence you'd really need there, say the budget is currently $150m and you reduce it to $0 - the deficit decreases by $150m. Given that the government doesn't use a zero-based budget, for better or worse, that decrease extends into all future years as the default otherwise is for that same $150m to be spent every year.

We absolutely do need to address the deficit as well as our debt. Expenses just to service the debt are a large chunk of our annual budget now. Do you know of any example of a country that ran up a debt to GDP (or similar) ratio this high and didn't have meaningful economic issues? Similarly, do you know of any country that debased its own currency through aggressive money printing and didn't end up collapsing, hyper-inflating, or both?
by mmis1000 | 2025-07-29 04:24:17+00:00
"It works when you do it correctly" isn't really a good argument when discussing UX/DX design in my opinion. Anything that isn't broken will also work when you use it correctly. The question is "how easy to do it correctly?". A poorly designed UX/DX takes user a lot of effort to use it correctly (macdonald's never fixed icecream machine). While a proper designed one allow the user to onboard easily withoud too much training.
by keiferski | 2025-07-29 04:24:54+00:00
It would be interesting to see if the English spoken in Europe as an international secondary language uses more Germanic or Latinate words.

The assumption might be that they tend toward shorter, simpler Germanic words, but, I wonder if the location where it’s spoken has an effect on this. For example do English speakers in Romance countries use more Latin-origin words in English, even though they are “more difficult”?
by t-3 | 2025-07-29 04:25:11+00:00
The current Syrian government is also supported by the west, just not to the same degree and not as publically. Myanmar is basically not mentioned at all in the Western press, nor Sudan or Libya or anywhere else war crimes are regularly taking place. I'd guess that the reason for Israel being in the media so much is that there are many more Palestinians and Jews than Rohingya or Burmese or Druze or Syrians in Western countries.
by seanmcdirmid | 2025-07-29 04:25:31+00:00
> say the budget is currently $150m and you reduce it to $0 - the deficit decreases by $150m.

Interest accrued on debt must be added to the deficit as well, unless you are including that in the budget? I'm not sure how defaulting on debt payments would play out though.

The Republicans went nuts when Bill Clinton started reducing debt with a surplus. They thought debt reduction was a really really bad thing. American is actually pretty average in debt/gdp ratio for developed countries, however. Nowhere near as crazy as Japan.
Show HN: 4KFilmDb – A tool to track and analyze 4K movies (HDR, Dolby Atmos)
by thebox | 2025-07-29 04:25:38+00:00
Hi HN,

Over the past few months, I’ve been building 4KFilmDb, the first (and independent) 4K movie database to track and compare streaming quality (HDR, bitrates, Atmos audio) across platforms (Netflix, Prime Video, Disney+, etc).

Key features: • HDR & Atmos analyzers • Smart filters (Presets) with built-in options to suggest 4K titles or ready-made lists • Fake HDR titles tracker (spot poor HDR grades easily)

Currently in beta, so feedback is very welcome.
by WarOnPrivacy | 2025-07-29 04:26:48+00:00
> Jumper the fan so it just stays on all the time, at least during the day?

As of today the fan isn't starting and the external fan draw isn't spinning the blades any more. Bushings are at least part of that.

We've got a replacement cap to try anyway but the motor won't be in until Thur.

> Be aware with the fan on top, sucking air gives much less cooling capacity than blowing air

Gotta work with what we got. It's enough to stave off thermal locking.

The house has 2 units and we're setting that stat higher and supplementing with fans.
by owlstuffing | 2025-07-29 04:27:03+00:00
Quite similar to manifold-sql[1], which is arguably better integrated into Java than SQLx is into Rust. Inline native SQL in Java is *inherently type-safe*, no mapping -- query types, query results, query parameters all projected types at compile-time.

int year = 2019; . . . for(Film film: "[.sql/] select * from film where release_year > :rel_year".fetch(year)) { out.println(film.title); }

1. https://github.com/manifold-systems/manifold/blob/master/man...
by knowaveragejoe | 2025-07-29 04:27:52+00:00
To steelman the crypto side: I think the stuff that is most interesting is found _around_ crypto and not necessarily within most cryptocurrency projects.

For example, there have been a lot of novel or interesting projects centered around cryptography, consensus, decentralization, anonyimity. On a sociological level, there are a lot of interesting social/economic experiments unfolding in the DeFi world as we speak.

But I think that is where the truly interesting or valuable contributions to humanity as a whole end, and the vast, vast majority of it otherwise is just speculation or scams. It is hard to find that signal in the noise, but it is there, if you look.
by jcranmer | 2025-07-29 04:28:29+00:00
> When you "transfer money" from your bank account to another, your bank has to physically move the associated cash from it's vault to the other banks vault, by hiring secure trucks, people, and so on.

That hasn't been true for, uh, centuries. It's like literally the entire point of banking, to allow financial transactions to take place without having to physically haul around collateral anywhere.

(And if you want a digital version of what banks actually do, it's called SWIFT, and has been around since checks Wikipedia 1973).
by nsonha | 2025-07-29 04:28:50+00:00
I know, I specifically bought an S10e few years ago just for that (it worked on the s10 series too), but they had a special version of Ubuntu and all the repos were down so kinda useless.

The Kali thing is also just a chroot image (if rooted) that you have to VNC into, and cannot do docker and stuff.
by tiffanyh | 2025-07-29 04:29:12+00:00
> I had thought I favorited a comment, but I can't find it again; someone had linked to a presentation from WhatsApp after I left, and they have some absurd number of nodes in clusters now.

Maybe one of these links:

https://x.com/colrack/status/1192408832623947776

https://www.youtube.com/watch?v=216NV-odxnE

https://elixirforum.com/t/scaling-federating-cluster-s-at-pl...
by hnfong | 2025-07-29 04:29:19+00:00
Have you even read my link?

> don't have the immense backing of a state

They had backing of a foreign state power, in this case Hong Kong (and by implication China)

> it would only take a couple of cases to stick for real prison time for these folks

The guy just died a mysterious death once the thing was exposed. He must have wished for prison time.
by efortis | 2025-07-29 04:31:32+00:00
> At worst it's unnecessary

Not really. The problem goes beyond re-rendering 15 times. For instance, how do you instrument usage? It can’t be simply debounced.

Similarly, you’ll be making unnecessary requests. e.g., we need to fetch X when this prop changes.

Or, we need to lazy load X once.

And back to re-rendering, there’s plenty of apps rendering @1FPS when dragging elements.
by zahlman | 2025-07-29 04:31:43+00:00
>The vast majority of people across the world is in favour of the end of bombing and segregation

Should you not feel the need to evidence this?

> the more or less dissimulated support for the war and systematically misleading depiction of the situation in the mainstream news.

First, I don't see why I should conclude that that's what the comment was about. The part I quoted was:

> I, for one, am thankful this hasn't been taken down like any article remotely critical of Israel.

I understood this to mean "taken down from HN".

But I see nothing of the sort in mainstream news, either. The news coverage available to me is full of stories like the submission, and says rather little that would tend to justify Israel. If I search, for example, for coverage in the CBC (Canadian Broadcasting Corporation) of the conflict, I find plenty of independent sources claiming that there is some kind of whitewashing going on (and none of the people making these claims seem to face any negative repercussions for doing so — as they shouldn't, since Canada is also pretty good on the freedom of speech thing), but then I look at the actual CBC articles I find and they're just... not as described.

The general sense I get is that people who characterize this as a genocide are upset that other people fail to accept this characterization by fiat.

> To say nothing about the exceedingly harsh criminalization of dissent.

Who has been imprisoned for merely expressing the view that this is a genocide, as opposed to being imprisoned for the usual disorderly, anti-social actions that typically get protesters (in general, whatever they're protesting for) imprisoned?
Show HN: A Fast, Single Page Image Resizer and Cropper
by natewww | 2025-07-29 04:31:50+00:00
Just sharing my simple one page image resizing and cropping tool, love webdev and single page apps, so it was a fun one to work on.

The code is not obfuscated so you can inspect it and see how it works - for uploaded image files, the work is done entirely by your browser!

Only the filename of the uploaded file and a log of buttons pressed goes to the server for analytics, so text only. The URL goes to the server to do the resize/crop if you submit an image by URL (URL is sent via proxy, has to work this way because of CORS.)

Made with love for the fun of it, no ads, no paid anything, it's totally free, any feedback would be awesome too.
by nxobject | 2025-07-29 04:32:02+00:00
> NSF has been opaque about these plans—intentionally so, Wellner believes. “They are purposely not putting anything in writing,” she says. And the planned cancellation is leaving in limbo the scientists who have cruises planned for the Palmer this Antarctic summer, which begins in December.

Incompetence (we didn't think about this out loud), or malice (we didn't want to leave a paper trail)?