MurphyA/hacker-news huggingface dataset:
by rollcat | 2025-09-03 11:32:39+00:00
> I had original plans to turn the lab off at night and then the phone could keep running from battery. But, the homelab became critical infra and has to be always on lol.

I've rebuilt my entire setup a while ago to "tolerate" power loss.

- Everything is sliced into three zones: "always-on", "desktop", and "homelab". The latter two through a smart plug, so that power can be cut.

- Always-on includes the SOHO router/AP, a RasPi4, and my Mac mini. The router's switch has only two ports populated: the Pi, and the Big Switch.

- Desktop is things like the screen, speakers, dock, wireless charger, camera (dummy battery), cute lamp, etc. All of this can tolerate power loss at any moment.

Homelab: this is the tricky part. There's a big (52 ports!) switch that "everything else" is plugged into, including my Mac (yay 10Gig Ethernet, not sure what for). A bunch of SBCs like Pis, NVidia Jetsons, x86's, etc. Nothing important, still figuring out what to do with all of that, so I kinda don't care if the power is cut.

The important bit is the NAS (RAIDZ 3x3TB). ZFS makes you feel like you're invincible, but I've still built something to keep it clean: 1. it's powered down until required; 2. the router has a cron job to WoL the NAS 5min before all backup jobs start; 3. the NAS has its own cron job that waits for the backups to complete, then waits for all SSH sessions to terminate, then shuts itself down. You can kill the script via SSH.

What I'm planning to do is to build a simple daemon for each box, that checks in once per minute or so, to ask if it's time to shut down. Once everyone is clear, cut the power. Somewhere far down my TODO list ;) until then, you can also use an iOS shortcut to SSH to each box before asking HomeKit to throw the switch, but storing passwords is fugly and handling separate pubkeys is too much bother. So I'm mostly happy with it as-is.
by fatbobman | 2025-09-03 11:32:58+00:00
While Swift has offered strict concurrency checking for some time, many of Apple’s official APIs have yet to be fully adapted, and this situation may persist for quite a while. As Swift 6 gradually gains adoption, this problem becomes increasingly prominent: developers want to benefit from the concurrency safety guarantees provided by the Swift compiler, while struggling with how to make their code meet compilation requirements. This article will demonstrate the clever use of MainActor.assumeIsolated in specific scenarios through an implementation case with NSTextAttachmentViewProvider.
by AngryData | 2025-09-03 11:33:00+00:00
Of course it didn't happen as much, but the fact that we already had active black sites and people getting pulled off the streets and abused at all paved the way towards apathy about its expansion now. If city or state police forces can do such things to random citizens for decades before now, why would we expect federal agencies under the direction of the president and his cabinet to not be able to get away with it too?
by aucisson_masque | 2025-09-03 11:33:17+00:00
Termux is great but every time I used i ran into issue because packages didn’t behave properly, needed some weird workaround to even install, some package required didn’t exist at all (it’s up to termux developer to port Linux package to termux).

I would be extremely cautious about running a website over something running in termux, you never know when it’s going to break.

One of the solution, without root, was to run a completely emulated Linux distribution through termux and then install packages on that distribution. Things would work just as fine as on a regular server albeit the loss on performance and increased energy expenditure, which is something the author seems to care about.

Android is great in the way you can do many things with it but it always sucks hard compared to what a real device ,not artificially locked down by Google, can do.
by rayiner | 2025-09-03 11:33:56+00:00
Killing foreign actors who threaten harm inside the country is both highly moral,[1] and a core function of government. The U.S. federal government was blowing up threatening foreigners at sea long before it was providing social security or healthcare.[2] As to the Coast Guard, simply stopping the boats obviously isn’t working, because the power of the cartels has continued to grow.

[1] https://youtu.be/hXlZTdAN-Hc?si=jPOP11QXAlUlYVxk

[2] https://en.wikipedia.org/wiki/First_Barbary_War
by rypskar | 2025-09-03 11:34:22+00:00
It would be great if there was accurate tests for allergies. Blood tests shows what you absolute should stay away from, you maybe should be careful with, and what to do more testing with. Then there are different tests to learn more, but in the end they end of with learn to read your body's reaction and stay away from things you react badly to.

And yes, this have made me a picky eater, not because I don't want to try new things but because the setting with trying new things is in most cases not the settings where you want to get the bad reactions
by stickfigure | 2025-09-03 11:34:46+00:00
> The truth is in many countries...day-to-day life is mostly similar to life in the west.

That's true right up until your infallible dear leader invades your neighboring country, fails, and rapidly starts ratcheting down social controls in a desperate attempt to preserve political stability. I don't think Russians would describe day-to-day life as "mostly similar to the west" anymore. China could be next.
by j_w | 2025-09-03 11:35:28+00:00
The problem is that the "normal" American consumes greatly beyond their means. What I described isn't maximally tightening the belt, it's a very reasonable and satisfying way to live.

I don't have a car, I ride a bike, walk, or take public transit. In no way do I feel restricted in my daily life. I have a 6 year old iPhone that if you amortize would be $100/year (well under that extra 300).

A lot of Americans would consider no car and an old phone to be untenable. How would I get to work? You live closer to work. It's too expensive to live closer to work. Well is it once you get rid of your car(s)? There are genuinely going to be some areas of the country where this is not possible (living in proximity to work where a car is not needed). But those areas typically do not have a "cost of living crisis."
by 2OEH8eoCRo0 | 2025-09-03 11:37:00+00:00
That's not social credit, that's just credit and it's been around a very long time worldwide. For as long as money has been a thing, people don't let strangers or delinquents borrow it!

Social credit would be like if the government didn't let people lend to you for being a commie or trans. Social credit is not something you can just sort out on the phone.
by michaelsbradley | 2025-09-03 11:37:06+00:00
So, if you look through many Nim related posts-comments on HN over the years, there was repeated and heated rejection of the language, even for consideration before actually trying it, not because an unfamiliar tool was needed, but because of the case-insensitivity rule itself, i.e. an assessment that it’s just bad/stupid design, too different from what other languages do, etc. and therefore they could not seriously consider spending any time with it.
by flowerthoughts | 2025-09-03 11:37:18+00:00
W and J are the SI units for power and energy. Those units make the most sense to use in Europe, regardless of the type of energy.

Wh is an abomination that has come about because professionals think consumer brains would expose if they ever saw the unit watt-seconds (J). No consumer had any preconceived notion of either Wh or J, so had we used J from the start, it wouldn't have been a problem...

(Yes, same with Ah vs C, though the battery pros also shot themselves in the foot by starting to use C (electrical charge) to mean "the capacity of this battery" when talking about charge rate, a.k.a. current.)
by names_r_hard | 2025-09-03 11:37:39+00:00
Thanks, and for what it's worth, I didn't downvote you (account is too new to even do so :D ), and I agree with your main point - it's not that hard to avoid all compiler warnings if you do it from the start, and make sure it's highly visible.

You only add one at a time, so you only need to fix one at a time, and you understand what you're trying to do.

It is, however, a real bitch to fix all compiler warnings in decade old code that targets a set of undocumented hardware platforms with which you are unfamiliar. And you just updated the toolchain from gcc 5 to 12.
by acdha | 2025-09-03 11:38:01+00:00
That could be, I was definitely thinking of management hierarchy since that difference has been so striking with AI.

A lot of my awareness started in the academic HPC world which was a bit ahead in needing high capacity of generic resources but it felt like this came from the edges rather than the major IT giants. Companies like IBM, Microsoft, or HP weren’t doing it, and some companies like Oracle or Cisco appeared to thought that infrastructure complexity was part of their lock on enterprise IT departments since places with complex hand run books weren’t quick to switch vendors.

Amazon at the time wasn’t seen as a big tech company - they were where you bought CDs – and companies like Joyent or Rackspace had a lot of mindshare as well before AWS started offering virtual compute in 2006. One big factor in all of this was that x86 virtualization wasn’t cheap until the mid-to-late 2000s so a lot of people weren’t willing to pay high virtualization costs, but without that you’re talking services like Bingodisk or S3 rather than companies migrating compute loads.
by flanked-evergl | 2025-09-03 11:39:30+00:00
Not sure what EU has to do with anything here, but it has long ago lost the ability to create viable tech companies. We have AI regulations with no AI companies, we have cloud regulations without any major cloud providers, we have internet privacy regulations without browser or social media companies. If you need an industry regulated to non-existence, we got you covered — otherwise I think we can't really help you out.
by derangedHorse | 2025-09-03 11:39:57+00:00
One can argue there’s a value proposition inherent in solving an interesting problem. It reminds me of the paper on optimal tip to tip efficiency:

https://ia800308.us.archive.org/32/items/pdfy-tG1MuMpwvrML6Q...

https://silicon-valley.fandom.com/wiki/Optimal_Tip-to-Tip_Ef...
by MontyCarloHall | 2025-09-03 11:40:28+00:00
I picked these specific projects because they are a) mature, b) complex, and as a result c) unlikely to have development needs for lots of new boilerplate code.

I would estimate the majority of developers spend most of their time on problems encompassing all three of these, even if their software is not as meaningful/widely used as the previous examples. Everyone knows that LLMs are fantastic at generating greenfield boilerplate very quickly. They are an invaluable rapid prototyping/MVP generation tool, and that in itself is hugely useful.

But that's not where developers spend most of their time. They spend it maintaining complicated, mature codebases, and the utility of LLMs is much less proven for that use case. This utility would be most easily measured in contributions to open-source projects, since all commits are public and maintainers have no monetary incentive to misrepresent the impact of AI [0, 1, 2, ...].

[0] https://www.businessinsider.com/anthropic-ceo-ai-90-percent-...

[1] https://www.cnbc.com/2025/06/26/ai-salesforce-benioff.html

[2] https://www.cnbc.com/2025/04/29/satya-nadella-says-as-much-a...
by popra | 2025-09-03 11:41:02+00:00
Are we now going to disregard anything that can't be properly defined in 10 words or less because otherwise it just sounds funny to "idiots off the streets"? I guess the two paragraphs on wikipedia are too elitist for the idiocracy yall seem to yearn for.

Imagine those idiot doctors going through all those years of medical school instead of just buying a dictionary. LMAO what a bunch of losers.

Nice try building ttat straw man, but if your choice is an anti-democratic one—as is often the case with populists (read the fxcking paper)—then by definition you’re dismantling democracy, not practicing it. Deal with it.
by spicyusername | 2025-09-03 11:41:16+00:00
I guess we're just going to be in the age of this conversation topic until everyone gets tired of talking about it.

Every one of these discussions boils down to the following:

- LLMs are not good at writing code on their own unless it's extremely simple or boilerplate

- LLMs can be good at helping you debug existing code

- LLMs can be good at brainstorming solutions to new problems

- The code that is written by LLMs always needs to be heavily monitored for correctness, style, and design, and then typically edited down, often to at least half its original size

- LLMs utility is high enough that it is now going to be a standard tool in the toolbox of every software engineer, but it is definitely not replacing anyone at current capability.

- New software engineers are going to suffer the most because they know how to edit the responses the least, but this was true when they wrote their own code with stack overflow.

- At senior level, sometimes using LLMs is going to save you a ton of time and sometimes it's going to waste your time. Net-net, it's probably positive, but there are definitely some horrible days where you spend too long going back and forth, when you should have just tried to solve the problem yourself.
by gpm | 2025-09-03 11:41:42+00:00
> Each time you convey a covered work

You didn't convey a covered work by using it to respond to a response or anywhere else in my hypothetical - and indeed that part of the license exactly matches the GPLv3. The relevant portion of the license is rather

> Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
by tialaramex | 2025-09-03 11:41:44+00:00
So as a concrete example:

https://odin.godbolt.org/z/8onn4hxP1

This brief example makes a hash map, then it demonstrates that if we call a sub-routine which makes its own distinct hash map, that doesn't change ours, but, once we destroy our hash map and call the sub-routine again, we can still use the variable for our (destroyed) hash map (!) but doing so reveals the contents of that other hash map from the sub-routine instead in the cases I saw.

Now, in C or C++ if you do this that's Undefined Behaviour and the symptoms I saw (and which you're likely to see if you follow the link) are just one of arbitrarily many ways that could manifest.

In Rust of course the equivalent code won't compile because the hash map is gone so we can't just go around using it after that.

And in Odin, well, as Ginger Bill has explained Odin does not have Undefined Behaviour so... this has behaviour which er, Odin has not defined ? Does that make you feel warm and tingly or do you feel like Bill just wasted time arguing semantics?
by strken | 2025-09-03 11:42:46+00:00
It's possible and often desirable to calculate the estimated impact of externalities, positive and negative. Human lives are (in)famously given a monetary value by environmental agencies to enable this calculation.

I think the more likely explanation is that this is a pilot project by a clean energy startup, it intentionally operates at a loss because it's RnD rather than mature tech, everyone involved is okay with this, and the company doesn't want to release its modelling of future ROI because that's valuable proprietary data and giving it away to clients and competitors is dumb.
by inglor_cz | 2025-09-03 11:42:57+00:00
I would argue that in that case, liberal democracy is an oxymoron.

Really popular policies have a wide support among the population, which means that they will became law, or even an amendment to the constitution. (Most countries have something like 3/5 supermajority requirements for changing constitutions, which is a lot more practical than the basically-as-of-now-impossible US procedure.)

At this moment, if you want to keep "liberal" character of the country, your "checks and balances" institutions have to act in a fairly authoritarian ways and invalidate laws which attracted supermajority support. What is then stopping such institutions to just rule as they see fit? Even checks and balances need checks and balances.

Nevertheless, I would say that "liberal democracy" isn't one that can always prevent illiberal policies from being enacted. I would say that it is one that can later correct them.

Note that historically, most obvious executive encroachments of liberty (Guantanamo etc.) in the US were later overturned by new administrations.
by whs | 2025-09-03 11:44:50+00:00
Does Lit have a good component library? Like, a complete web template (eg. Bootstrap/Ant), datepicker, color picker, virtual scroll, data tables, typeahead, tab, etc.

I shipped a project with Lit and I liked it, but I didn't like that I'd need to know the complete project scope up front that I could write everything from the ground up. I know I could use React component for some of the harder stuff but at that point might as well use React and avoid bundling two systems
by grues-dinner | 2025-09-03 11:45:13+00:00
There's also some long-term risk here. If we, humans, did massive amounts of dispatchable solar and wind, plus systems like this, static battery storage, other storage and things like widespread EV capacity arbitrage, it's not guaranteed that the negative or even low energy price events would even happen. The more people think they can store it and sell it later, the higher the demand for off-peak power. You could end up with op-ex exceeding revenue in the future.

Then again, the same also goes for the other storage methods as the spread compresses. Eventually, as always, it all comes down to who can do it on the thinnest shoestring. 1/4 the cost, but the thermodynamic efficiency is 1/3 (direct heat vs batteries + heat pump, say) is still a winner. Finns aren't going to stop needing heat in winter soon, and if you can provide it even a fraction under the cost of battery electricity and a heat pump, you get the customer. And the district heat infrastructure probably already exists.
by sfn42 | 2025-09-03 11:45:27+00:00
> The interviewer asked: "If you have an array containing a million entries, how would you sort the data by name?" [...] Surely the right answer was to explain why you shouldn't be sorting millions of records in JavaScript. Pagination, database indexing, server-side filtering. So I said exactly that.

> In real-world engineering, simplicity is king. In interviews, complexity is currency.

Seems like a bit of a contradiction.
by mhandley | 2025-09-03 11:46:59+00:00
It's definitely possible to break the rules. In fact, to give a truly outstanding talk that everyone remembers, you probably have to break the rules (speaking as someone who coded an entire Sigcomm presentation in a 3d game engine). But most early career researchers, for whom this advice is presumably intended, are not good enough at giving talks for that to be a good idea. In fact most tenured professors aren't too. If you do break the rules, you need to have a very clear idea in your head as to how you're going to pull it off, and a good idea of who your audience is and how they'll perceive it, and those are both hard to achieve without a lot of experience.
by quitit | 2025-09-03 11:48:36+00:00
It's largely a win for Google, but it does put them in a slightly weaker position with regard to negotiations for their Apple deal. By striking down Google's ability to form exclusive partnerships, their non-exclusive partnership deals (such as the one with Apple) are now more important.

One would assume the appeal is over the data-sharing requirements, which does feel a little bit like sharing the secret sauce with competitors.
by metalman | 2025-09-03 11:49:15+00:00
the title led me to the notion that all digital output devices are printers, sound bieng one dimensional, or two linked one dimensional signals that can become three dimensional after analog conversion, same with light, and two dimensional for paper, 3 dimensional for cad/cam, 4 for guidance and navigation, where we get people vandalising/graphiti on maps and charts and ship navigation systems......somewhere, it must be true, some civil engineer or town planner is slowly and stelthly embeding something rude and funny into the real built landscape, printing it.
by carlosjobim | 2025-09-03 11:50:10+00:00
The advice is to embrace positivity and you will change yourself fundamentally. Why is it in your mind dishonest to be nice and friendly, and authentic to be angry and maybe cynic? You can get a lot of stuff done and get your way by being friendly, without being in the slightly dishonest or a pushover. Especially when dealing with strangers such as in business or dealing with "authorities". It's the easiest way to get what you need, because people don't want to help somebody who is not friendly.

As for getting mad at stupid people on the internet, you're only getting mad because you expect them to be better. Accept internally that most people on the internet are deranged freaks, or just don't amount to much and the tension disappears and you don't have to be mad. Would you be angry at a cow for being simple minded?
by troupo | 2025-09-03 11:50:17+00:00
> pretty niche technology

The main problem is that for a "niche technology" it sure infects too many standards, requires an insane amount of new standards and makes supporting things needlessly complicated.

A few links here: https://news.ycombinator.com/item?id=45114450

There are some good parts in the ~30 standards they require, but instead of just the good parts you get the whole horse, and the cart it's attached to, and the cargo in the cart.

> your criticism is that the people for whom Web Components is a good fit are publicly discussing the reasons why they prefer it over other solutions?

It's not.
by stinkbeetle | 2025-09-03 11:50:41+00:00
> > I fully predict that blind people will be advocating to make actual LLM platforms accessible

> Absolutely. The LLM platforms indeed very much should be accessible. I don't think anyone would have beef with that.

AIs I have used have fairly basic interfaces - input some text or an image and get back some text or an image - is that not something that accessibility tools can already do? Or do they mean something else by "actual LLM platform"? This isn't a rhetorical question, I don't know much about interfaces for the blind.
by swah | 2025-09-03 11:50:59+00:00
Seeing more activity from nostrademons on HN made my very nostalgic (mostly because its one the HN accounts I remember for the longest time) and I was wondering if he had more presence online these days somehow, Googled him, and arrived at his C2 page again - which I really love the format.

I'm nostalgic because I'm already old and likely found about C2 when it was a bit more active, same time when I was learning emacs. Look at this page, saying "Last edited in 2006"! I hope those documents aren't lost... and I really love big-blocks-of-text and WikiLinks how they are used there.