MurphyA/hacker-news huggingface dataset:
by coder543 | 2025-09-23 13:14:22+00:00
CO2 and VOCs, but what about PM2.5 and PM10? What about pollen? What about humidity control?

Cracking a window is also costly, since it directly raises your heating and cooling bills. It's just an "invisible" cost that's easy for some people to ignore since it's hard to directly measure. An ERV pays for itself over time, so it's more a question of whether you can afford to just crack a window?

Living in an apartment makes this difficult because your landlord may not let you improve this situation, but just ignoring the cost of opening a window doesn't make the cost go away.
by gwbas1c | 2025-09-23 13:14:35+00:00
I've built similar things in the past. (And apologies for merely skimming the article.)

In general, I worry that framework frameworks like this could be horribly complex; breaking bugs (in the framework) might not show up until late in your development cycle. This could mean that you end up having to rewrite your product sooner than you would like, or otherwise "the framework gets in the way" and cripples product development.

Some things that worry me:

1: The way that callbacks are passed through RPC. This requires a lot of complexity in the framework to implement.

2: Callbacks passed through RPC implies server-side state. I didn't read in detail how this is implemented; but server-side state always introduces a lot of complexity in code and hosting.

---

Personally, if that much server-side state is involved, I think it makes more sense to operate more like a dumb terminal and do more HTML rendering on the server. I'm a big fan of how server-side Blazor does this, but that does require drinking C# kool-aide. On the other hand, server-side Blazor is very mature, has major backing, and is built into two IDEs.
by boringg | 2025-09-23 13:14:37+00:00
Listen - I'm not saying that that isn't the logical response. I'm saying I don't see how an executive would go ahead with that plan thinking that there weren't going to be worse repercussions for their company from the government if they went that route.

The smallest companies that don't have visibility in the market maybe could try and do it (dangerous risk) but the larger companies that have a lot to lose from headline risk will be at significant risk.

Like the executive who only thinks in short term budget will go ahead and do this -- the executives who think maybe 2-4 years down the road will realize its a trap.
by 542354234235 | 2025-09-23 13:14:39+00:00
Russia has had to sell oil at a steep discount, which has cut into their revenue significantly. Hundreds of billions of dollars have been frozen/seized that can't be used to fund the war effort. Modern war is not just "beans and bullets”, and Russia pays upwards of 10 times the price for key components it needs for missiles, aviation, UAVs, tanks, artillery, air defense, etc. as well as quality manufacturing equipment needed.

Russian industry is operating at only 81% capacity, largely due to labor shortages, which make sense considering that about 1% of its labor force join the military every other month. Russia is losing tank barrels, artillery barrels, and infantry fighting vehicles more than 10 times faster than it can manufacture new ones. It will likely never be able to obtain a third rotary forge, required for barrel manufacture, to expand its capacity. It has almost entirely cannibalized its old, defunct Soviet era stock. They are being kept afloat by China, NK, and Iran, but with a much-reduced capacity, and often much lower quality. For example, Russia relies on China for 70-80% of its microchips, but China is dumping defective microchips on them with a 40% failure rate.

Sanctions have absolutely had significant, direct, measurable impacts on Russia’s ability to wage war and sustain war. As for regular people, it is hard to think it hasn't affected then, given that last year inflation was 9%, interest rates are 21%, and disposable income is down 20-30%. That feels like a lot of belt tightening.

https://www.themoscowtimes.com/2024/11/21/half-of-russias-ai... https://jamestown.org/program/russia-exhausts-soviet-era-arm... https://www.reuters.com/world/europe/what-where-are-russias-... https://archive.ph/c17pk https://www.atlanticcouncil.org/blogs/new-atlanticist/is-202... https://www.csis.org/analysis/how-sanctions-have-reshaped-ru... https://www.rusi.org/explore-our-research/publications/comme... https://osintforukraine.com/publications/microchips https://www.theregister.com/2022/10/18/russia_china_semicond... https://www.economicsobservatory.com/what-is-the-current-sta...
by endymion-light | 2025-09-23 13:15:07+00:00
As someone that dabbles in stuff, I found htmx to be amazing up to the point where I need to find out why a specific logic loop isn't working, or need to do something that's slightly off-piste.

Which is to say it's incredibly useful for simpler websites but difficult for anything past 1000 lines. but i may just be using it wrong!
by lossolo | 2025-09-23 13:15:08+00:00
> Now imagine Taiwan blowing up the industry to prevent China from controlling it, or China destroying the industry to crash the global economy

While you're at it, you can also imagine an alien invasion. You would have to be out of your mind to destroy your country's economy on purpose this way. Did Hong Kong destroy its financial sector when it was politically overtaken by China? China depends on the global economy, it needs to avoid any crash because it is an exporting country. This argument is so irrational that I really don't know where people are getting it from. This is a total misunderstanding of Asia in general, Taiwan, Chinese culture, economy and geopolitics.

> China will not be affected much by the sudden non-existence of Taiwan Chip industry. They produce everything internally.

Of course they will! In 2024 China imported $385 billion worth of integrated circuits.
Show HN: PureRouter – Multi-model AI routing across LLMs (beta and $10 credits)
by TheDuuu | 2025-09-23 13:15:19+00:00
To earn $10 in free credits, use the code WELCOME10, NO CREDIT CARD REQUIRED.

We’ve just launched the open beta for PureRouter, a multi-model AI router that gives you full control over how LLM queries are routed. You can define routing strategies that prioritize speed, cost, or quality, and even fine-tune them with detailed configuration options.

PureRouter isn’t just about picking models; it’s about precision orchestration:

Route queries across multiple providers (OpenAI, Cohere, Gemini, Groq, DeepSeek, and more).

Adjust advanced parameters like context length, batch size, precision, memory usage, and generation controls (temperature, top-p, top-k).

Deploy workloads on cloud, edge, or on-prem hardware with flexible scaling (from single GPUs to multi-GPU instances).

Manage everything from a clean, intuitive UI designed to make complex orchestration straightforward.

Billing is simple and transparent with our credit-based system (no subscriptions, no hidden usage fees).

If you’d like to test it, the beta is live now. New users can redeem $10 in credits with WELCOME10 to explore routing strategies, compare models, and deploy real workflows.

We’re iterating fast, and feedback from the community is especially valuable at this stage.
by theryangeary | 2025-09-23 13:15:30+00:00
I tried adding LC_ALL=C as well as LC_ALL=en_US.UTF-8 and it didn't make much of a difference outside of BSD cut[0].

The input file to the benchmark is all ASCII text chars (unibyte?) and `choose` does take the safe(r?) route and assume all text is UTF-8 and handle accordingly.

0:

| LC_ALL=C | LC_ALL=en_US.UTF-8 | not setting LC_ALL explicitly ------------------------------------------------------------------- choose | 110.6 ms | 110.6 ms | 110.8 ms cut | 813.9 ms | 983.9 ms | 971.7 ms gcut | 172.8 ms | 172.5 ms | 174.0 ms ucut | 78.22 ms | 79.39 ms | 79.38 ms
by em-bee | 2025-09-23 13:15:37+00:00
They would become Danish

you have to retain a majority of that heritage, and integrate newcomers. Otherwise it's no longer Denmark.

what you are asking is not possible without rejecting immigration.

that is the delusion. it is the same all over europe. people expect 100% integration. yet at the same time, prejudices will reject them if they are not completely invisible. that is not possible, and it is not the integration i would want. i have written about this before: https://news.ycombinator.com/item?id=44746099
Show HN: WindowSill
by veler | 2025-09-23 13:15:44+00:00
Hey everyone! I'm excited to unveil WindowSill, a universal command bar for Windows 10 and 11 that brings AI-powered text assistance and a suite of productivity tools directly to wherever you're working.

Why WindowSill? Inspired by the MacBook Touch Bar, StreamDeck, and Apple Intelligence, I wanted a tool that gives context-aware actions without interrupting my workflow. WindowSill is my take on that idea for Windows.

What it can do

AI text assistant Select any text in any app to summarize, rewrite, translate, or fix grammar instantly. No copy/paste needed. No switching apps needed.

Short-Term Reminders Set reminders that can pop up as full-screen notifications, so you can't miss them. Perfect for ADHD brains, multitaskers, or anyone who needs a firm nudge to stay on track of things.

Clipboard history Access your recent copies without switching apps.

URL & text utilities Select any URL in any app to shorten it or generate a QR Code.

Media & Meetings controls Manage playback, mute/unmute from Microsoft Teams, even when the app is in the background or minimized.

Personalization Save custom prompts, dock the "sill" to the top, bottom, left, right, or change its size to reflect your style and needs.

All from a single, universal command bar that stays out of your way — no friction, no app switching.

Bonus: the app is extensible! It comes with an SDK allowing any app to integrate with WindowSill.

Who is it for? Mainly Windows power users, but also anyone looking to boost their productivity with AI-powered text assistance and quick access to useful tools.

Try it today for free! Visit https://getwindowsill.app Product Hunt launch: https://www.producthunt.com/products/windowsill-2

I'd love your feedback: what features would make WindowSill most useful for you? Or what would you like to see next?
by bombcar | 2025-09-23 13:16:39+00:00
There’s a reason a ton of software engineers (let’s be real that’s 2000 pounds so I only need to find ten or twelve) do woodworking on the side.

If you take it diligently and treat it as fun, you can make amazing pieces in only ten times the time it would take a factory - but you do it your way with your attention to detail.

And you can make the back out of good wood and paint it, too. Nobody will ever know; it’s your secret between you and God.
by LegionMammal978 | 2025-09-23 13:16:41+00:00
The lack of control over the scale to switch between absolute and relative error seems like somewhat of a shortcoming: it only works when you have values in the rough vicinity of 1.

In any case, what I usually want from an error metric is a clear interpretation of what it means, apart from just looking nice. Absolute error is good for measurements where the major error sources are independent of the value, while relative error is good for accuracy loss in floating-point arithmetic (though it gets a bit involved with catastrophic cancellation, where you want to take everything relative to the original input scale). Without a principled reason to do so, I wouldn't want to clump together absolute and relative thresholds and distort their meaning like this.
by GuB-42 | 2025-09-23 13:16:51+00:00
Valgrind can tell you what is still in use when the program exits, along with useful information, like where it comes from. You can then assess to situation and see if it is normal or not.

In addition, Valgrind is actually a complete toolsuite, not just a memory leak detector. Among these tools is "massif", a memory profiler, so you will have a graph of memory use over time and it can tell you from where these allocations come from.

Not, if your language is fully GCed you can have a debug GC that does the job more efficiently than Valgrind on this task, but I don't know if it is the case for Go.
by lnsru | 2025-09-23 13:16:54+00:00
Tesla‘s “vision only” with phantom braking suicide experiments reached court last year in Germany and for the first time the court proved they exist for real and the cars are dangerous. This will be interesting to watch. I tried often free autopilot in model Y and it hits hard the brakes on empty road every other time. Afterwards I stopped using it completely. The car is nice, but without working assistance systems. Lane keeping also does not work reliably. Model Y is nice electric car for people without much requirements like me - it’s spacious and electric range is acceptable.

About the process in court in German: https://teslaanwalt.de/autopilot-als-sicherheitsrisiko/
by umanwizard | 2025-09-23 13:17:27+00:00
> every citizen votes, and shares responsibility in decision making process

Why? I never consented to be a part of the system, don't agree with it, and in practice can do nothing to change it. Saying I'm responsible for it because I happened to be arbitrarily born with a particular citizenship is meaningless.

> In democratic system...

There is no reason why I, an unrelated individual, should have to ascribe to the ideals espoused by proponents of the system imposed on me without my consent.
by hatsuseno | 2025-09-23 13:17:44+00:00
With 32 GiB of memory it's just too slow. A laptop, to me, is supposed to be a device much like a phone in that I can just flip it open and do what I need to do, suspend is supposed to be that, but if I don't charge my Dell precision every single day it'll just run down to 0 for absolutely no reason.
by duxup | 2025-09-23 13:18:05+00:00
At one company I worked at the executives sent out constant emails to everyone. It was part of the culture. After some layoffs HR leadership sent out a THREE PART email about how they were working on a very important project and how it took many many hours and meetings and so on.

The project was renaming the HR department ...

After that I sent all executive emails to a folder and did not read them, my mood improved drastically by not reading those emails.
by alistairSH | 2025-09-23 13:18:07+00:00
Just another example... We bought a small teardrop camper last year (basically a king bed on wheels, with a small kitchenette on the rear under a clam shell). We used to car camp with a large tent - we got tired of sleeping on an inflatable mattress and wanted to do longer trips, so the teardrop made a lot of sense (we aren't ready to give up "camping" for "RVing", if that makes sense).

On day one, the solar controller (feeds power from panels to battery) was wired wrong. Fixed by dealer on the spot, but not a great start. Thankfully, this dealer has a solid post-sale/delivery-day walk through (not all do), so we picked up on the issue.

The wiring in the battery box is a bit of a rats nest. It's not wrong per se, but it's not as tidy as it should be, IMO. The battery lives in a storage box on the front of the trailer, alongside miscellaneous items (tools, bucket, hose, power cord, etc), so having the wiring untidy makes it more likely for connections to get broken.

The AC unit sits on a drain pan that's a bit too shallow for the job. If the trailer isn't nearly perfectly level, it will overflow into foot of the bed. Again, not wrong per se, but if you don't know in advance, you could be in for very wet bedding.

The brand is well-known and considered middle-of-the road. Not the cheapest, not the most expensive. We knew what we were getting into, and we're quite happy with the purchase, but if we hadn't done due diligence, we'd probably be a bit disappointed.
by lucasgonze | 2025-09-23 13:18:12+00:00
The fee exceeds what many of these engineers earn in a year, with the average H-1B salary at TCS running about $105,000. A typical engineer deployed to an American client site generates $150,000 to $200,000 in annual billings at roughly 10% operating margins, producing $15,000 to $20,000 in yearly profit. The $100,000 upfront fee eliminates five to six years of that entire profit stream. J.P. Morgan states bluntly that the move effectively “prices out the utility of H-1B as a source of labor supply.”
by dns_snek | 2025-09-23 13:18:24+00:00
> human eye sees, apparently, at around 25fps

What do you mean by "sees"? I'll bet you that you can't walk around wearing a VR headset running at 25 FPS for more than 30 seconds without violently emptying your stomach. Trying to watch a movie on a display that doesn't exhibit motion blur also makes me motion sick.

Human brain doesn't see in terms of frames at all. There's a limit where an increase in FPS likely becomes imperceptible to most people but that limit is at least 10 times higher (from personal experience), likely more.
by NitpickLawyer | 2025-09-23 13:18:27+00:00
Constrained generation guarantees syntax. It does not guarantee semantic correctness tho. Imagine you want a json object with "hp" and "damage". If you use a grammar, the model will be forced to output a json object with those two values. But it's not guaranteed to get sensible values.

With a 2nd pass you basically "condition" it on the text right above, hoping to get better semantic understanding.
by Aurornis | 2025-09-23 13:18:57+00:00
> I’ve never really thought about this - how does Outlook handle this?

Simple: It’s server based. These problems are trivial when the server is coordinating responses and the clients can only reserve a room if the server confirms it.

This is the problem that gets hand waved away with local first software that has multi user components: It doesn’t take long before two users do something locally that conflicts. Then what do you do? You have to either force a conflict resolution and get the users to resolve it, or you start doing things like discarding one of the changes so the other wins.
by rsynnott | 2025-09-23 13:19:31+00:00
> but one motivation was to "stick it" to snobbish arrogant european manufacturers wanting to develop "clean" ICEs with "green fuels" or other non-sensical crimes against thermodynamics like H2-cars

Eh? Most European manufacturers (maybe not Stellantis) had at least one BEV by the time any Tesla was available in Europe. I'm not sure any European manufacturer has ever released a production hydrogen car? That's mostly Toyota.
by grafmax | 2025-09-23 13:20:05+00:00
It’s actually a trend since 1980s. Things like deindustrialization and financialization, outsourcing (which collapsed the unions), deregulation (incentivizing externalities primarily felt by the working class - the 2008 collapse, environmental deregulation in Louisiana, etc), inflation (which benefits those with assets and harms those without), tax cuts for the wealthy. The wealth gap grows which means assets like housing shift to asset holders (the wealthy). This in turn allows asset holders to increase cashflows from the working class to the ownership class in a feedback loop.
by userabchn | 2025-09-23 13:20:29+00:00
The website of an American company returned a blank page to me. I thought that they must have made a mistake and that it would be fixed soon. Several days later it was still returning a blank page, so I sent them an email in case they didn't know. It turns out that they don't want to deal with the laws of other countries (EU's GDPR, etc.) and so simply return a blank page for anyone visiting from outside America. A "451 Unavailable For Legal Reasons" or some other type of explanation would have been less confusing than the blank page.
by patrakov | 2025-09-23 13:20:56+00:00
> This has fueled a global marketplace of online eSIM resellers [54], operating across borders with minimal regulatory oversight. These services are typically marketed through web stores and mobile apps, with providers operating across borders and often facing minimal regulatory oversight.

But this is exactly the situation we have with VPNs. VPNs have proven themselves to be a useful tool for censorship circumvention, and foreign eSIMs are thus an interesting alternative suitable for this purpose, especially if traditional VPNs are blocked by the state.
by Taikonerd | 2025-09-23 13:21:27+00:00
For anyone who's wondering who the author is: Chris Arnade got a Ph.D. in particle physics at Johns Hopkins University, and then worked for 20 years as a bond trader on Wall Street. In 2011, he became interested in social class in the US -- what he calls the distinction between "front-row kids" and "back-row kids."

So he became a sort of itinerant photographer/journalist, documenting the lives of poor or middle-class people in unglamorous places -- often Rust Belt towns.

Wikipedia: https://en.wikipedia.org/wiki/Chris_Arnade
by nickjj | 2025-09-23 13:21:31+00:00
I like using fzf combined with zsh's shell history filtering.

You can type `cd ~` and press CTRL+r to immediately fuzzy match commands you've run with `cd ~`. fzf naturally ranks paths to cd into on top. If you find that too noisy you can just hit CTRL+r with an empty prompt and then search for `^cd ~` to only find cd commands.

I've written about filtering related history with zsh here: https://nickjanetakis.com/blog/hooking-up-fzf-with-zsh-tab-c...

If you want to go into ultra lazy mode you can also type `cd ` and spam the up / down arrows to only show commands from your history where you cd'd into a directory. That use case is also covered in the above post. I normally don't use this for changing directories but it can be done.
by shadowgovt | 2025-09-23 13:21:35+00:00
Perfectly normal YAML document detected.

More seriously: this is a good overview of the reasons I dislike YAML as a web configuration language. There's too much overlap between the "friendly" auto-type-determination in YAML and the symbols used in web tech, from colons to Norway having a TLD. It wouldn't be so bad if yaml parsers could use expected type of each value as a hint, but that's not a feature in any parser I've met, so I'd rather just not use yaml for anything that's going to end up describing a web service.
by jzig | 2025-09-23 13:21:48+00:00
Hey kentonv, this looks really neat. How would you go about writing API documentation for something like this? I really like writing up OpenAPI YAML documents for consumers of APIs I write so that any time someone asks a question, "How do I get XYZ?" I can just point them to e.g. the SwaggerUI. But I'm struggling to understand how that would work here.
by ahartmetz | 2025-09-23 13:21:49+00:00
For me, a waaay outdated suppressions file for Qt + a rough understanding what syscalls and frameworks do is enough. If my app crashes in a network request and a byte sent to the X server (old example, I use Wayland now) is uninitialized, I know to ignore it.

Valgrind(-memcheck) is an extremely important tool in memory-unsafe languages.
by nerdponx | 2025-09-23 13:21:58+00:00
It's a matter of historical fact. When has this not been the case. Can you think of any serious examples? Everyone everywhere all the time is just responding to the incentives in their environment. "Make a lot of money" is a very very powerful incentive.

There are exceptions all over the place where businesses don't act like robber barons, sure. Take for example Market Basket up here in New England, where the CEO for years and years resisted raising prices and tried to treat workers well, in the interest of maintaining a long-term positive image and being a sustainable element of the region's economy. But guess what: he was just forced out for not being greedy enough. Lots of people seem to be expecting a private equity takeover soon.