MurphyA/hacker-news huggingface dataset:
by Jtsummers | 2025-04-10 18:09:37+00:00
If you're expecting a continent-wide, one-year power outage you should prepare for something much longer.

Electricity: Solar panels, windmill, watermill, bicycle for charging batteries, and, of course, batteries.

Mechanical power: Windmill, watermill, bicycle for handling things like grinding grain and pumping water. You can do these by hand, but that's inefficient and if the environment (wind, water) can do it for you you're much better off. Burning calories to grind the grain that you use to get calories means you have to consume more, minimize your caloric needs and focus your energy on activities that can't be mechanized.

Heat: Propane is ok, but your scenario suggests no resupply. You also say you're near a forest, there are efficient woodburning stoves for heating and cooking.

Water: Do you really want to spend a year hand pumping water for irrigation and consuming or dragging it from a stream in the winter? A well with a mechanical pump (windmill). Use barrels to catch rain water (this is trivial to setup) for irrigation and toilets. You can use a mesh filter for the barrel water to make it suited for the toilet since potability is not a concern for that case. Cisterns can hold more, use mechanical pumps to move the water as needed. Elevated water tanks remove the need to pressurize your water, requires some power to move it up to the tank but that's what the windmill is for.

Communications: Solved over a century ago with radios, you need some batteries and some hardware. Get it now and start practicing. Mesh networks may be viable depending on proximity to other people and their willingness to contribute. A continent-wide, year-long power outage suggests a long-term sustained attack on infrastructure, I would not rely on any satcom system as something like that is unlikely to stay contained to only a single continent.

Something you didn't address:

Transportation: Cars will be useless in short order under your scenario. It doesn't sound like you have farmland already, or I'd suggest horses and oxen or other pack animals. Get bicycles and learn to maintain and repair them. They can double without much effort as a source of mechanical power and to charge batteries for some uses (lighting at night, radio).

Food: If you're sincerely expecting this, don't even bother with refrigeration anymore. You should learn to cure meats, can vegetables, and process grains (sounds like you do that already). Get cats, food storage will result in rodents and other pests.
by aj-ding | 2025-04-10 18:09:40+00:00
Noto | Founding Engineer (Full Stack) | New York, US or San Francisco, USA | Full Time | We build an AI native platform for small after school businesses like tutoring centers and music schools. We serve an overlooked demographic of proud business owners who have deep operational woes. Just raised $3.8M from base10

aj@noto.nyc

https://www.noto.nyc/careers
by hinkley | 2025-04-10 18:09:51+00:00
In a lot of languages space optimizing Optional Types without using a reserved enum value or pointer tags would lead to memory model problems with atomically writing two values at once which might be more easily solved in a borrow semantics world. I hope there is someone out there mining research papers for the implementation strategies that were abandoned as unworkable due to bookkeeping issues, which Rust has already paid.

But in the case of Options they tend to be both write-once and short-lived, so that removes a lot of necessity. Options are going to stay mostly on the stack and in async callbacks, unless they go into caches.

But for other data structures where multiples fields need a tag, I suspect Rust could use some bitfields for representing them. You’d need a fairly big win to make it worth implementing however.
by ronnieboy493 | 2025-04-10 18:11:24+00:00
Since everyone is rattling off their own solutions.

* I removed all apps that aren't tools/utilities to help me get things done. No entertainment (including RSS!). For example, I have Busycal, Things, and Bear installed along with a few other utilities. I also removed non-essential utilities. There is no need to pay my credit card from my phone. This also has the benefit of reducing tracking.

* Disabled JS for Safari. I would find myself surfing the web and wasting time. Even if I initially started with good intentions. Turns out, a lot of my web usage was "I wonder about this, let's search it". "That was a cool movie, let's see what other people think online". It is an absolute pain to dig 37 menus deep to enable JS again, which forces me to live without it.

* Time limits never worked for me. I'd always ask for five more minutes. Just one more hit Tim Apple, I promise. Last time. They may work for you though.

* Either disabled notifications or set them to appear in daily reviews. Now I get those daily reviews and realize it's filled with stuff that doesn't matter. Every time I pick up my phone I risk falling into a black hole. The less I'm notified to pick up it, the less time I lose. Only alerts from my partner and similar get through immediately.

* Get an alarm clock or use a smartwatch. Seriously. You know those people who wake up and reach over for cigs before they're even out of bed? Don't do that with your phone.

* I lean heavily into my smart watch. For me, trying to create friction on my phone was only mildly successful. A smart watch has a ton of organic friction that feels natural. Instead of giving your Ferarri a flat tire to slow it down, just ride a bicycle. Synthetic friction vs organic friction. I'm bad with analogies. Leaving my phone behind is something I do sometimes but not as much as I should.

* These days the only social media account I have is HN. It's not ideal but everything is a WIP.

There really should be some concerted effort by the government to study these behaviors and what can be done. We dramatically dropped cigarette use with a lot of work and I believe we can do the same with phones.

I still waste time on my laptop but it's not a quick dopamine hit. I spend more time on side-projects though now that I'm forcing myself to be in front of a real machine. Reducing all screen-time is something I still need to work on.
by SvenL | 2025-04-10 18:11:25+00:00
I like it. It allows here and there to use touch gestures. Have a Baby on one arm and need to scroll in the recipe or make it larger with other arm? Yes, touch gestures are easier for me in such a situation.

I mean touch display does not annoy when you are using laptop the normal way, but opens more ways of using it in unusual situations.
by rayiner | 2025-04-10 18:11:29+00:00
Sure he does. You can only tweak around the edges of a law by changing interpretations like that, especially after Loper Bright. That is all he’s trying to do on the environmental front, mostly repealing g regulations the Obama administration adopted in its last year.

This is not a president that’s afraid of blowing things up. If he wanted to defund the EPA he would.
by theideaofcoffee | 2025-04-10 18:11:52+00:00
I agree, they're so good on their own for snacking, a really good Reggiano has such an interesting flavor, I can't get enough. Runners-up for me include gruyere, a dark aged gouda, or camembert or reblochon. I just had a piece of locally-produced but nothing compares to Reggiano.

Also I always add the rind to my risotto too!
by vegetable | 2025-04-10 18:12:03+00:00
I can't put my finger on it. Something about the recent announcement video of de-extinction of dire wolves immediately filled me with skepticism. I don't know if it was the very marketing-y video or the animations or what? But I didn't know enough to question it. This video by Hank Green does a nice summary as can be gleaned from the title. Several of Colossal's claims are questioned and his informed position explained.
by ath3nd | 2025-04-10 18:12:51+00:00
To be fair, one of the side's actions terribly remind me of some events that happened sometime ago in Europe.

- hostility towards non traditional sexuality

- immigration being used as the scapegoat for economic problems

- strong feeling of national exceptionalism

- assault on women's productivity rights

- politicizing of science

- deportation for political reasons

- "Roman" salutes

Mind you, I am not mentioning which "side" nor which events in Europe. But if the shoe fits...
by trod1234 | 2025-04-10 18:13:25+00:00
How does this actually help with owning your own data and repatriating it?

The integrations that are installed on the end devices (phone) sync all that private data into the cloud platform regardless of the backend server. State is shared.

Google Information Services, and Apple's backend's unpublicized equivalent both process and store that related data, regardless of the phone you choose to use or the options you choose on that phone. There is a reason gigabytes get sent up to the cloud every evening, and its all encrypted.

Until you remove the implants on your phone you won't be able to receive any benefit from repatriating the data. That requires jailbreaking, or installing a new OS (something like Graphene), which is model specific due to compatibility issues.
by n4r9 | 2025-04-10 18:13:41+00:00
I've only read the first Foundation novel by Asimov. But what you write applies equally well to many other Golden Age authors e.g. Heinlein and Bradbury, plus slightly later writers like Clarke. I doubt there was much in the way of autism awareness or diagnosis at the time, but it wouldn't be surprising if any of these landed somewhere on the spectrum.

Alfred Bester's "The stars my destination" stands out as a shining counterpoint in this era. You don't get much character development like that in other works until the sixties imo.
by photonthug | 2025-04-10 18:14:11+00:00
Treating it as a compiler is obviously the way right? Setting aside overhead if you’re using local models.. Either the code gen is not deterministic in which case you risk random breakage or it is deterministic and you decided to delete it anyway and punt on ever changing / optimizing it except for in natural language? Why would anyone prefer either case? Code folding works fine if you just don’t want to look at it ever.

I can see this eventually going in the direction of "bidirectional synchronization" of NL representation and code representation (similar to how jupytext allows you work with notebooks in browser or markdown in editor). But a single representation that's completely NL and deliberately throwing away a code representation sounds like it would be the opposite of productivity..
by smjburton | 2025-04-10 18:15:19+00:00
If you really want to keep things local without paying any fees, you could also use Smallstep (https://smallstep.com/) to issue certificates for your services. This way you only need to add one CA to your trust store on your devices, and the certificates still renew periodically and satisfy the requirements for TLS.

I suggested using a domain given they already have Caddy set up and it's inexpensive to acquire a cheap domain. It's also less of a headache in my experience.
by re-thc | 2025-04-10 18:16:53+00:00
> Realistically you'd end up chosing between finding the product from another country, trans-shipping or

Realistically you'd end up closing shop. It's not like the tariffs on other countries aren't coming back.

> just being out of stock until they come down

You still believe in that? Like 4 years later when there's a new president?

> Is someone buying a $100 pair of shoes really going to pay $240?

Is there a choice? Maybe ask the US president? Will there still be a pair of shoes not paying tariffs and will be cheap? Made in America ain't cheap.
by p0wn | 2025-04-10 18:17:02+00:00
This is a good exercise but how is this better than Combine?

Also - I've seen ultra over complicated codebases made with FRP in Swift. I have some PTSD from the kickstarter MVVM approach. What a nightmare in practice. You have to be all in - everything FRP or the tightly bound system crumbles.

I think SwiftUI's @Published property wrapper elegantly hid the FRP, but even Apple is moving away from FRP with the macro based Observable framework.
by pxc | 2025-04-10 18:17:13+00:00
ChatGPT is generally pretty bad at writing Nix code IME, and has a much greater tendency to hallucinate than when writing code in other languages.

But it's better at advice and review than writing code.

And if you want to ask it about Nixpkgs conventions or the behavior of some Nix codebase, it does much better if you dump the relevant source files in the chat for it to consume.

It's important with Nix to seriously understand what you're doing, so I think the way you've described is the most appropriate way to use an LLM with Nix. Use it to point you to docs, ask it questions about some code and then read the code closely, ask it which docs to read, ask it to point you to example repos on GitHub. If you use it this way it can actually be helpful.

If you have a longer time horizon, interacting with real community members is even better, and of course can also enrich the corpus for LLMs like ChatGPT. Discourse.nixos.org has a lot of smart and helpful people whose insight is more reliable than the advice of an LLM, so it's worth visiting as well.
by vsmenon | 2025-04-10 18:17:22+00:00
[ I work on Dart at Google. ]

The app prototyping logic in Firebase Studio isn't wired up for Flutter/Dart yet. You can play with Gemini+Dart/Flutter here: https://dartpad.dev/?channel=main.

We're working with the Firebase Studio team to integrate. FWIW, it seems to do fairly well with "Create a chess clock app".
by hn_throwaway_99 | 2025-04-10 18:17:26+00:00
Not sure why you were previously downvoted - I wholeheartedly agree.

Perhaps I think people are putting this into a "blame" framework. E.g. I've seen basically this argument online "I don't see how you can blame the Democrats for this, as Trump is a million times worse, especially of everything he accuses the Democrats of doing."

While I agree with that sentiment, "blame" is the wrong way to look at this. At the end of the day, it's self-evident that something caused the rise of Trump and other autocrats and a breakdown of the post WWII liberal order, and it behooves us all to investigate why that happened.

FWIW, I thought this recent article in NYT about liberals in Denmark (who, unlike many liberals elsewhere, take a hard stance against unfettered and illegal immigration) was excellent and offers some clues: https://www.nytimes.com/2025/02/24/magazine/denmark-immigrat.... This paragraph I think summarizes "what went wrong" with leftist policies in many areas:

> Leftist politics depend on collective solutions in which voters feel part of a shared community or nation, she explained. Otherwise, they will not accept the high taxes that pay for a strong welfare state. “Being a traditional Social Democratic thinker means you cannot allow everyone who wants to join your society to come,” Frederiksen says. Otherwise, “it’s impossible to have a sustainable society, especially if you are a welfare society, as we are.” High levels of immigration can undermine this cohesion, she says, while imposing burdens on the working class that more affluent voters largely escape, such as strained benefit programs, crowded schools and increased competition for housing and blue-collar jobs. Working-class families know this from experience. Affluent leftists pretend otherwise and then lecture less privileged voters about their supposed intolerance.
by ryandrake | 2025-04-10 18:18:02+00:00
People have had trouble with hierarchical file systems since day one. I distinctly remember being the 20 something Gen-Xer tasked with teaching boomers computers, and a large percentage just never understood why you'd want to put a folder inside a folder inside a folder. They would never do that in their filing cabinet, after all! Or why you would want to put a folder anywhere else besides the desktop since they would lose it. These people have had desktops that look like this[1] since the 90s.

1: https://www.reddit.com/r/mildlyinfuriating/comments/auu67x/p...
by klank | 2025-04-10 18:18:40+00:00
Yeah, I think you're right, it was cultural. For me, rather than the influence from Windows what I see is the focus on what we called "enterprise customers" at the time and leadership was obsessed about them because they were guaranteed huge orders for large numbers of devices. They largely don't exist as a thing anymore, BYOD killed them.

Enterprise customers and operators didn't view the fs of a mobile device as a thing the end user should manage or care about. So neither did we, or our OEMs (for the most part).

Of course, this is all just the opinions of one guy decades after the fact. For reference, I was a dev, lead, dev manager in the CE/mobile/phone teams from ~00-08 and contributed to ActiveSync, device PIM sync, device stability, and later worked directly with OEMs to design and build new phones (things like the Samsung BlackJack).
by nonethewiser | 2025-04-10 18:19:06+00:00
Funny. I frequently give the LLM the function and ask it to make the doc string.

TBH I find doc strings very tedious to write. I can see how this would be a great specification for an LLM but I dont know that its actually better than a plain text description of the function since LLMs can handle those just fine and they are easier to write.
by mNovak | 2025-04-10 18:19:28+00:00
A few other points on further reflection:

- If you're giving us all the factors, and all factors are necessary (e.g. to make units work out), then clicking them is a bit of a pointless activity. You could just give them as a list of sliders outright.

- The above points out that there's not much of a "gameplay loop" to speak of. We make 3-4 guesses and game over. I think this places a hard cap on how much "fun" Fermi can be. Even in something like Wordle, which is also only 5 guesses, each guess builds on feedback from the last; it's interactive and strategic.

- You could consider for instance maybe chaining multiple Fermi estimates, that build up to some bigger one. That would give you a mechanism to give intermediate feedback, and have a multi-step game.
by simonw | 2025-04-10 18:19:32+00:00
... which explains why some models are better at code than others. The best coding models (like Claude 3.7 Sonnet) are likely that good because Anthropic spent an extraordinary amount of effort cultivating a really good training set for them.

I get the impression one of the most effective tricks is to load your training set up with as much code as possible that has comprehensive automated tests that pass already.
by tannhaeuser | 2025-04-10 18:19:39+00:00
WebDAV is what it is because it's designed (largely by Julian Reschke who also took over the HTTP spec from TBL back then I believe) to be addable conflict-free and routable without complex payload inspection to existing HTTP services/practices. Its use of XML can be regarded over-engineered, but it follows what was available and considered adequate at a time that had much much more consideration for interoperability and multi-party buy-in than is even conceivable today. I wouldn't dismiss it so quickly, especially considering WebDAV is an IETF RFC not W3C spec to begin with.
by wrboyce | 2025-04-10 18:19:59+00:00
I got home today from my first trip to Italy (we went to Verona for Vin Italy) and cheese was at the top of my shopping list of things to bring back. As it happens, I’m right now eating some 36 month aged Parmigiano Reggiano; absolutely beautiful. The food and wine I enjoyed in your country were on another level! On the subject of risotto, I had my first ever(!) risotto last night: a risotto amarone, and wow! Absolutely incredible, molto interessante!
by scoofy | 2025-04-10 18:20:51+00:00
We have to choose between two worlds: a world where nobody cares about our differences, or a world where we celebrate everyone's differences.

The mid-century American civil rights movement was based on the former. The modern movement seems to want the latter. The problem is that these two positions are subtly in conflict with each other. The former erases identities, the latter reinforces them.

The both have similar goals, but they present very different ways of living and very different social norms, which is why I see them both as potentially high-conflict norms when visiting other cultures.
by stackskipton | 2025-04-10 18:21:09+00:00
As someone who has worked in this field, I'm not. Marketing is generally exempt from massive legal review as they hand wave away "We don't deal with HIPPA data" and developers just wanting marketing to go away, dropped the Javascript block into files that were used for a ton of products including HIPAA containing ones.

EDIT: Most of these places are just feature factories with offshore developers who are very unlikely to raise concerns.
by klabb3 | 2025-04-10 18:21:33+00:00
Yes. When I hear dreams of the past it makes me nostalgic because they all come from a pre-exploited era of tech with the underlying subtext that humanity is unified in wanting tech to be used for good purposes. The reality is tech is a vessel for traditional enrichment, such as resource wars of say oil or land have been. Both domestically and geopolitically, tech is seen that way today. In such a world, tech advancements offers opportunities for the powerful to grab more, changing the relative distribution of power in their favor. If tech shows us anything is that this relative notion of wealth or social posturing is the central axis around which humans align themselves, wherever on the socioeconomic ladder you are and independent of absolute and basic needs.
by jorangreef | 2025-04-10 18:22:17+00:00
We could make it more clear, but it's not an interview.

The link is to a video of a talk we presented about TigerBeetle, it's an overview and demo.

If you haven't watched it yet, take a look and let me know if you still feel that we shouldn't point people to it.

https://www.youtube.com/watch?v=sC1B3d9C_sI
by johnmaguire | 2025-04-10 18:22:20+00:00
RFC 8375 seems to have approved it specifically to use in Home Networking Control Protocol, though it also states "it is not intended that the use of 'home.arpa.' be restricted solely to networks where HNCP is deployed. Rather, 'home.arpa.' is intended to be the correct domain for uses like the one described for '.home' in [RFC7788]: local name service in residential homenets."

The OpenWrt wiki on Homenet suggests the project might be dead: https://openwrt.org/docs/guide-user/network/zeroconfig/hncp_...

Anyone familiar with HNCP? Are there any concerns of conflicts if HNCP becomes "a thing"? I have to say, .home.arpa doesn't exactly roll of the tongue like .internal. Some macOS users seem to have issues with .home.arpa too: https://www.reddit.com/r/MacOS/comments/1bu62do/homearpa_is_...
by CharlieDigital | 2025-04-10 18:22:28+00:00
Hey, if you're a GTM genius, let's do it! Over the last 5 years, I've worked at an $8m seed startup that couldn't get it right and folded last Dec. I've built three other products that didn't go anywhere because of GTM (lack thereof). If you're the genius I've been looking for, then ping my LI!
by hinkley | 2025-04-10 18:23:09+00:00
Adhesion and cohesion always fuck up scenes that combine scale models and water. Splashes always look very wrong, and in the case of a submersible bubbles could be a problem. Smoke chamber makes sense.

Although in the days since “O Brother Where Art Thou?”, when they added dust-yellow color to the entire movie in post, maybe there are other ways now, if you didn’t want to go entirely to CGI.
by AlotOfReading | 2025-04-10 18:23:37+00:00
Kaiser was hit with a class action for exactly the same issue last year: https://news.bloomberglaw.com/litigation/patients-advance-ka...

GoodRx, BetterHelp, and dozens of others have received notices that this is an issue. The federal OCR even published a bulletin about this 3 years ago.

You'd think that any one of these would have triggered internal reviews and discovered this issue for all the others, but that's much too high a bar to expect in healthcare.