MurphyA/hacker-news huggingface dataset:
by tom_ | 2025-08-15 17:37:01+00:00
You might need to specify --profiling-output= as well. I get an error fdrom cmake 3.31 if only the format is provided: CMake Error: --profiling-format specified but no --profiling-output!

Anyway, it looks like it only profiles the configure/generate steps. Not much use on Linux, but on Windows/macOS, perhaps. Due to lack of any standard package manager, it's a good idea to build every dependency from source on those OSs, and the time can mounts up.

My project is not that large, but it takes 1 minute to configure from scratch on Windows, and 10 minutes (!) on macOS.
by maverwa | 2025-08-15 17:37:11+00:00
As someone who’s using steam daily for probably 50-75% of their lifetime now: I don’t love them, but it’s the lesser evil for sure.

Sure, if GOG had even 20% of steams catalog and useability, it be no. 1 without question. But since we‘re sadly limited to this one reality, there is no alternative.

XBOX GamePass is a trap I expect to spring every day, Uplay and EA Origin are just a splash screen I see when starting a game in steam, and I almost forgot the epic store exists, despite their “free game” Marketing campaign.

It’s not perfect, it’s anti-consumer way to often, and it’s for sure a monopoly’s, but steam is still my favorite poison And yes, if they decide to disable me account and cut me off my pile of shame I will have an impact.

But owning games does not seem to be an option generally. Exceptions exist, ofc.
by wafflemaker | 2025-08-15 17:37:15+00:00
Sorry for being slightly off topic (though true to the topic in explicit: personality tuning before an interview).

I don't have much experience with interviews and never got a job you had to interview for (hopefully will at some point). So don't take it as a gospel.

4 out of 5 interviews I've ever had went fantastic. I stressed a lot before the interview (kind of anxious personality) and had a long (20min) meditation before. Very often, for some time after meditating, I get much less anxious, much more confident and humble.

That 1 of 5 interviews that was a trainwreck - well, I didn't meditate before it. I also didn't do a mock interview with ChatGPT right before it, and believe that lack of warmup did me in. Literally, the first thing I was to say that day was an answer to an interviewers question about myself. I got stuck, realized it's going really bad, got even more stressed and didn't answer a single question in a composed manner.
by rpcope1 | 2025-08-15 17:37:22+00:00
I'm calling it now, this is the beginning of all of the remaining non-commerical properties on the web either going away, or getting hidden inside of some trusted overlay network. Unless the "AI" race slows down or changes or some other act of god happens, the incentives are aligned that I foresee wide swaths of the net getting flogged to death.
by sugarpimpdorsey | 2025-08-15 17:37:26+00:00
Are you really that bothered by a text-only sales pitch (which has an old-timey "I sell vacuum cleaners door to door" charm to it), or would you have preferred a full page interstitial demanding you disable your ad blocker, with a size 1pt font "I'll do it next time"?

The only thing funnier than this complaint is the thread on Quora criticizing this site, with the top post specifically demeaning the site's lack of a "back-end", postulating that manually updating half a dozen text-only HTML pages in MS Word poses an unreasonable burden to the site operators.

I assume a CMS, complicated database, and mountains of JavaScript would have been a more effective choice. But what do I know? Plain HTML isn't subject to the revolving door of application vulnerabilities so where is the fun in that?
by more_corn | 2025-08-15 17:37:38+00:00
Pretty sure people have been shouting about this for years. There have been a half dozen accidental discharges by police officers with most reports of no contact with the trigger. There’s a trigger update available to fix the problem that sig claims doesn’t exist. There’s have been multiple injuries and a few deaths. This report coupled with the community and law enforcement reports stack up to some pretty damning evidence of what they knew and when they knew it.
by ihumanable | 2025-08-15 17:37:54+00:00
A lot of what Marx writes is pretty straightforward observations about how capitalism functions.

If profit isn’t the excess value of labor then where does it come from. You’ve got some inputs, you transform them into some outputs, you sell the outputs for more than the inputs. Something happened to make the output more valuable than the input.

And it seems hard to argue against that idea. Capitalism as a system describes who should get to allocate that value and as the name would suggest, it’s the people with the capital. If you own the factory you get to pay people to do work, they convert low value inputs into higher value outputs, and as the person with the capital you get to capture the difference as profit.

Marx simply looks at this system and says, why should they get to decide what happens with the value that got created by labor.

That tends to be where it goes from an objective “this is how this system operates” to “here’s an alternative system”

I think people would serve themselves well to read what he had to write. Even if you come away thinking the alternative doesn’t work, the analysis of capitalisms strengths and weaknesses is interesting.

As life becomes more unaffordable for many under a capitalist system, as rent seeking and exploitation become more rampant, people are going to want to critically analyze whether this system is really all it’s cracked up to be. Why do some go hungry while Jeff Bezos has more than he can ever use? Why do the wealthy get to have an outsized say in our society and our governments? Can the set of incentives that capitalism erects survive a condition like climate change?

When we decide that people are no longer allowed to ask those questions, we need not worry about the a theoretical dictatorship of the proletariat. Ask only who you are not allowed to question to see who is in charge.

No system should be above examination and reformation for the good of humanity.
by nine_k | 2025-08-15 17:37:55+00:00
Many people are concerned with becoming an overnight success and being unable to withstand the load, and losing the momentum. So they build highly scalable things before the slightest need for horizontal scaling even arises.

I think that vertical scaling is underappreciated. Just throwing more resources at your monolithic backend can buy you quite enough time to understand how to best scale your product. More importantly, it may give you the time to reconsider what are the key strengths of your product that the users are for, and thus to understand what needs scaling.

Also, when users really love your product, they will excuse you for its spotty performance. Early Twitter was built on a hugely inadequate architecture (a Rails app), and kept melting and crashing; remember the "fail whale"? Despite that, users were coming to it in droves, because it did the key things right.

To my mind, the early stage is all about easy iteration and finding out what makes users happy and enthusiastic. Ignore scaling; experiment, listen to the users, talk to the users. When it clicks, you can consider scaling. It may happen at a point you did not anticipate, and could not optimize for.

Technology is a tool, an instrument. It's great to have a Stradivarius, but you need some good music first.
Launch HN: Embedder (YC S25) – Claude code for embedded software
by bobwei1 | 2025-08-15 17:38:05+00:00
Hey HN - We’re Bob and Ethan from Embedder (https://embedder.dev), a hardware-aware AI coding agent that can write firmware and test it on physical hardware.

Here’s a demo in which we integrate a magnetometer for the Pebble 2 Duo smartwatch: https://www.youtube.com/watch?v=WOpAfeiFQkQ

We were frustrated by the gap between coding agents and the realities of writing firmware. We'd ask Cursor to, say, write an I2C driver for a new sensor on an STM32, and it would confidently spit out code that used non-existent registers or HAL functions from the wrong chip family. It had no context, so it would just guess and the code is always wrong.

Even when it wrote the right code, the agent had no way of interacting with your board and the developer would have to manually test it and prompt the agent again to fix any bugs they found. Making current solutions not ideal when working in an embedded context.

That’s why we are building Embedder, a hardware-aware coding agent that is optimized for work in embedded contexts. It understands your datasheets and schematics and can also flash and test on your hardware.

First, you give it context by uploading datasheets, reference manuals, schematics, or any other documentation on our web console and our coding agent will automatically have context when it executes tasks in the command line.

Second, Embedder can directly interact with your hardware to close the development loop. The agent is able to use a serial console just like a regular developer to read from your board and verify outputs. To solve more complex bugs or identify hardware issues the coding agent is also able to launch a debugging agent optimized for step through debugging workloads and interact with local or remote gbdservers.

You can try it out today. It’s an npm package you can install and run from your terminal:

npm i -g @embedder/embedder && embedder

It's free for the rest of this month while we're in beta. After that, we're planning a usage based model for individual developers and a team plan with more advanced features.

We’d love to get feedback from the community, or hear about your experiences of embedded development. We’ll be in the comments to respond!
by quesera | 2025-08-15 17:38:17+00:00
Depending on your definition of "amazingly", it was probably just a transient quirk.

I load text.npr.org (and lite.cnn.com) several times a day. They both load in times well below the realm of remarkable.

Just timed them:

- text.npr.org 89/96/109 ms - lite.cnn.com 56/72/133 ms
by VLM | 2025-08-15 17:38:29+00:00
Smart grid. Right now there are multiple construction equipment rental facilities in my city. They all seem to have a row of quarter megawatt class towable generators ready for rental. They sit on a gravel parking lot and do absolutely nothing during an outage. Theoretically, if you fired up every unrented construction gen plus every stand by power generator at every large building, I think you could, in a distributed sense, temporarily generate several megawatts, maybe more than ten MW, in my home town. Yes it would be very expensive per KWH and eventually you'd run out of diesel, but for a couple days it would work. No wiring currently exists and no control systems exist although in theory this isn't any "worse", and probably a lot better, than having a couple MW of intermittent solar capacity. We will probably never get away from needing heavy construction equipment and needing backup generators so those will "probably" always be available in perpetuity. Maybe they'll switch from diesel to biodiesel, but it'll be the same idea. FWIW a quarter megawatt towable generator is smaller than you'd think, like 12 foot long trailer, MUCH smaller than a RV, if they were not all painted up as rental generators you'd think they're "landscaper trailers". They are HEAVY and take a dualie truck to tow, like "ten thousand pounds" with full tanks and very long and very large electrical cables, etc. A row of ten of them in a parking lot is not overly impressive looking until you realize that's 2.5 megawatts on tap, and these are industrial rated so they are designed to run full power 24x7 in the worst weather conditions. A year around long term average estimate is maybe 1.5 KW continuous per house so perhaps they could only run maybe ten thousand homes if they shut down every non-essential business and fired up every generator. However my city only has 30K homes so dropping demand by 1/3 would be "pretty helpful" for renewables if they can't quite keep up. If I owned an EV I would be happy to charge it down the road at 15 cents/KWh (towards the high end for my state) and discharge it into a failing grid for maybe $1.50 KWh, if I could get the cycle time down to an hour (very optimistic...) and I moved 100 KWh each time, I could make nearly $150/hr as an "electricity tank driver". Realistically I think a failing grid would bid up prices well over $1.50 so I think this quite reasonable... if every charger could be upgraded to backfeed into the grid then a fleet of EVs would be a huge source of mobile power.
by hombre_fatal | 2025-08-15 17:38:36+00:00
A 45L backpack ("personal item") and a 50L duffle bag (carry-on) give you a huge amount of space sufficient for pretty much any travels on the cheapest ticket.

It's $300 but the Peak Design backpack is amazing. It has one massive compartment which makes it easy to efficiently cram stuff in there. https://www.peakdesign.com/products/travel-backpack?Size=45L...

Most backpacks seem to compete on maximizing pocket count which isn't good for tetris packing.
by hyperbovine | 2025-08-15 17:38:36+00:00
> For many things Prusa printers produce higher quality prints.

I have yet to have this happen, despite a lot of trying. The Bambu just works and the results are better. The Prusa requires constant recalibration and tuning, and still produces an inferior looking product. I'd love to be proven wrong here.

It's probably the case that somebody with a ton of experience can squeeze better results out of a Prusa ... but that kind of proves my point.
by ecshafer | 2025-08-15 17:39:01+00:00
I love steam. A big part of my complaints 20 years ago was that I barely ran these games in the first place! Nowadays computers are a lot more powerful compared to games.

Proliferation of credit cards, increased internet stability/speed, and more powerful computers have taken the warts away. Steam has also repeatedly shown to be on the side of the consumer, and also very offline friendly.
by sneak | 2025-08-15 17:39:19+00:00
> "don't try to behave like companies much bigger than you"

This is such good advice for organizations at all stages. As a consultant I spend a lot of time talking startups and small companies out of hobbling themselves by adopting policies they think they have to simply because they're a corporation, when those policies only make sense when you have at a minimum hundreds of people involved in the org.

Everything from k8s to nosql to overly restrictive security policies. The Netflix employee handbook/guide really drove this point home to me. When you're small, and you're hiring well, you can afford to actually delegate real responsibility to your staff and let them use their judgement. Not everything needs to be a hard and fast rule until and unless there's an unacceptable level of risk or a demonstrated problem at hand.
by scottjg | 2025-08-15 17:39:21+00:00
In May, Newark airport flights were on time 49% of the time: https://www.transtats.bts.gov/ot_delay/OT_DelayCause1.asp?20...

Maybe in aggregate flights have fewer delays but every single flight I’ve taken this year has been delayed (on top of the padded flight times the article mentions). I’ve flown about half a dozen trips.

I also hate the argument that the free market should solve the pricing problem. Airlines have exclusivity on airport gates. Any frequent flier on the SFO -> EWR route knows that if you want to save money you can book an Alaska flight instead of United but Alaska has significantly fewer gates and usually gets delayed when arriving waiting for one. Flights aren’t exactly equal commodities and even if the airlines were well-run, contracts for these gates are locked in.

Pricing stats here also fail to account for business class vs economy pricing. Business class prices on tickets have skyrocketed, way outstripping purported CPI. In some cases prices have doubled or more since COVID.
by blindriver | 2025-08-15 17:39:29+00:00
No. Learned helplessness is entirely different.

A dog learning not to go past the porch because it will get shocked is "conditioning".

Learned helplessness is when a subject won't bother saving themselves from pain because they don't think it will make a difference. For example, if a dog is constantly being electrically shocked, but won't leave the area that is electrified because they think they will get electrified no matter where they go. This is what happens in the case of abuse victims that stay with their abuser. They stick with the abuser because they honestly don't believe their situation will get better with someone else, and at least they know this particular abuser.
by kube-system | 2025-08-15 17:39:52+00:00
Training can help to reduce failures, but it can never prevent failures, because even at the minimum, human err at scale is guaranteed.

If a monkey randomly types on a typewriter for an infinite amount of time, it will eventually produce any given text, including ̶t̶h̶e̶ ̶c̶o̶m̶p̶l̶e̶t̶e̶ ̶w̶o̶r̶k̶s̶ ̶o̶f̶ ̶S̶h̶a̶k̶e̶s̶p̶e̶a̶r̶e̶.̶ opening a ransomware attachment
by rvrb | 2025-08-15 17:40:15+00:00
> extracted via reflection

I think you are talking about dispatch of virtual methods, which is still a thing, but the performance cost can be somewhat mitigated.

the names of the methods are interned strings (called `StringName`). a naive implementation will allocate the `StringName`, but you can avoid the allocation with a static lifetime string. we expose a helper for comptime strings in Zig[0].

then, extension classes need to provide callback(s)[1] on registration that lookup and call the virtual methods. as far as I know, the lookup happens once, and the engine stores the function pointer, but I haven't confirmed this yet. it would be unfortunate if not.

at least right now in GDZig, though this might change, we use Zig comptime to generate a unique function pointer for every virtual function on a class[2]. this implementation was by the original `godot-zig` author (we are a fork). in theory we could inline the underlying function here with `@call(.always_inline)` and avoid an extra layer indirection, among other optimizations. it is an area I am still figuring out the best approach for

virtual methods are only ever necessary when interfacing with the editor, GDScript, or other extensions. don't pay the cost of a virtual method when you can just use a plain method call without the overhead.

[0]: https://gdzig.github.io/gdzig/#gdzig.builtin.string_name.Str...

[1]: https://github.com/godotengine/godot/blob/e67074d0abe9b69f3d...

[2]: https://github.com/gdzig/gdzig/blob/5abe02aa046162d31ed5c52f...
Show HN: Kuvasz Uptime 2.4.0 – custom status, keyword and slow response checks
by akobor | 2025-08-15 17:40:17+00:00
The most feature-rich version of Kuvasz since the 2.0.0 release has arrived. Custom status code and keyword matching, slow response checks, new translations, and a lot of smaller improvements and fixes are included in version 2.4.0!
by hobo_in_library | 2025-08-15 17:40:35+00:00
At the bottom of the page:

> Note: An earlier version of this post appeared on our site in 2018.

Very confused by this. Seems like they uploaded the books in 2018? What changed between then and now?

Edit: The number of uploads was 1600 back in 2018 https://web.archive.org/web/20240615044608/https://www.openc...
by codedokode | 2025-08-15 17:41:03+00:00
That reads as a foreigner suggesting to abandon many thousands years long history and culture just because the characters are too difficult for him.

It doesn't even make sense because today we have computers and ML. If you want to write something, you just type the spelling, and the program automatically converts it into proper characters. And if you don't understand the character, AI can translate it for you. I am sure this can be integrated into electronic glasses.
by triceratops | 2025-08-15 17:41:13+00:00
The airline charges everyone else $50 per bag, $50 for selecting your seat, gives you $10 off for traveling with a backpack in a middle seat, and pockets $90 after costs. I'm glad you feel lucky about that.

There's even gems like "no carry ons" and "no airline miles" tickets now. They cost the same as the lowest fares last year.
by gopiandcode | 2025-08-15 17:41:32+00:00
oh yep, it's definitely more than usable for 'actual programming' beyond just maths proofs.

Things like:

- bindings to godot (https://github.com/kiranandcode/lean4-godot)

- advent of code (https://github.com/kiranandcode/lean-aoc)

- ffi bindings to constraint solvers (https://github.com/kiranandcode/cleango/)

Obviously a slightly biased selection here, but the key point is to clarify that it's more than feasible to use it for real programs that do all sorts of non-mathy stuff.
by vidarh | 2025-08-15 17:41:37+00:00
> The court points out that the meaning of this concept “inevitably excludes other population groups from the political decision-making process and the indirect exercise of state power,” stating, in other words, that the dictatorship of the proletariat is “undemocratic.”

There are plenty of reasons to argue that Marx might not be compatible with the principles of a capitalist/bourgeois state - he e.g. argued in his works on the Paris Commune that they should have gone further in smashing elements of the state.

But this is a wildly ahistorical, though not atypical, reading, and shows the judge might want to attend a reading grous, given that Marx also used the term "dictatorship of the bourgeoise" about capitalist electoral democracies.

This use doesn't make any sense if one reads the term the way the judge did.
by noodlejs | 2025-08-15 17:42:07+00:00
Hi! Author here. I hand wrote this website and the source code of the examples mostly comes from my own debugging tools. That method in particular is just a very minimal implementation of section 8.5.2 of this textbook (but I tried to make it friendly for the blog post).

https://gamemath.com/book/orient.html#quaternion_geometry
by acossta | 2025-08-15 17:42:12+00:00
You don’t often see open‑source hardware shaking up med‑tech.

This startup is treating medical devices more like smartphones: it’s releasing both the software (under AGPL) and the hardware designs (under Creative Commons) so anyone can build on them.

The platform already powers a portable blood monitor and a low‑intensity ultrasound therapy unit that’s shown promise against strokes. The thing that I think is interesting is that sharing safety data and modular designs could let researchers and regulators cut years off the usual approval cycle, very cool to see this open source experiment.
by kazinator | 2025-08-15 17:42:14+00:00
20th century Czech runner Emil Zatopek practiced, among other things, interval training with held breath. He could have been training his parasympathetic system just as well as respiration pathways.

It's been my experience in endurance exercise is that if you are inexperienced in it, you overreact to certain signals from your body like rising CO2 or falling O2. After just small effort of a short duration you start gasping for air. Years later, in retrospect, you wonder why you did that.

Another adaptation, in high latitude outdoor runners, is the adaptation to inhaling cold, wintry air. The unbearable burning that feels like you're inhaling alcohol somehow goes away. The interesting thing is that it appears to be permanent. Even if you're out of the game for few years, that discomfort doesn't come back. Could be psychological. If you've been there and done that, you dismiss the discomfort signals and don't pay attention to them.