MurphyA/hacker-news huggingface dataset:
by bryanlarsen | 2025-05-24 12:03:30+00:00
The US is just a small fraction of oil use. There world will be consuming oil for many decades. Some by industries with hard to replace uses (plastic, planes etc), and some by backwards countries (US, Russia). But it'll just be a small fraction, so will be supplied by the low cost producers like Saudi Arabia. High cost producers like Alberta will be shut out.
by bregma | 2025-05-24 12:03:57+00:00
I live just over an hour north of this place. Until recently I heated my log cabin exclusively with wood.

It takes somewhere between 7 and 9 cubic metres of wood a year to heat about 800 square feet of house. It costs about CAD 1500 for a tandem load of sawlogs plus the cost of fuel and maintenance of the chainsaw and hydraulic splitter plus about 100 hours of labour bucking, splitting, hauling, and stacking. And still there are mornings when I had to break the ice on the dog's water bowl in the kitchen when it's been below -30 C for several days in a row.

You're not going to survive a winter in that part of North America with just "a few scraps of wood" for heat. "A few carloads" is maybe going to take you to Christmas and they'll simply find your thawed corpse during a warm spell in March.
by drewbug01 | 2025-05-24 12:06:23+00:00
> Extract the kernel

If you follow the link within the article, he goes on to say:

> The most frequent issue I see is when a literal communicator insists on engaging in the details with a less literal executive. I call the remedy, “extracting the kernel.”

Most engineers I’ve worked with have been “literal communicators.” Of course, both parties can always improve. But part of being a good leader is having excellent communication skills, and that includes anticipating how your audience will receive your message. The bulk of the responsibility is, and should be, on the leader to avoid misunderstandings in the first place.
by bheadmaster | 2025-05-24 12:06:24+00:00
The main message I got from the Go design is that locking itself is a low-level operation - it's designed to synchronize access to shared memory between two or more concurrent processes on a single CPU.

However, that's not what we should have in mind when designing software. The Unix IPC model of file descriptors combined with select syscall (and its successors) was a powerful abstraction by itself, and Go just brought it to the single-program level - instead of pipes, you have channels, and instead of select syscall you have select{} keyword.

The problem is that we're still stuck, mentally, with the C model of threads and shared memory. You can use Go channels as locks and still write C code dressed up as Go. But in my experience, the most powerful design in Go is separating work into goroutines, each of which does one thing (and does it well :), which communicate via channels to achieve a common goal. Preferably, exposing the interface in a simple way, not requiring the user to be aware of them at all. Sort of like Actor model, but with channels instead of explicit addresses.

As long as I've followed this way of thinking, I've rarely had an issue with deadlocks at all.
by Rastonbury | 2025-05-24 12:06:33+00:00
I take NAC to help with hangovers, I used to get smashing headaches and people would recommend random Korean and japanese 'hangover supplements', I was obviously very skeptical and googled every ingredient to check it is safe. The ones that worked had NAC or gluthanione. Looked into it and bought some and always take it when I drink or have panadol. Have not noticed any other subjective effects

Nausea or vomitting is rare, I imagine if it were common those hangover cure sellers would go out of business
by yar-kravtsov | 2025-05-24 12:06:40+00:00
Great question! GNU Stow and lnk solve similar problems but with different approaches:

GNU Stow: - Package-based structure: Requires organizing dotfiles into "packages" (subdirectories) - Symlink-only: Just handles symlinking, no version control integration - Manual Git: You manage Git separately (git clone → stow package-name) - Perl dependency: Requires Perl to be installed - No safety net: No atomic operations or rollback if something goes wrong

lnk: - File-based workflow: Takes your existing dotfiles as-is, moves them to managed location - Git-integrated: Wraps Git commands (lnk push, lnk pull) for seamless workflow - Atomic operations: If something fails, automatically rolls back changes - Single binary: No dependencies, just download and run - New machine workflow: lnk init -r repo && lnk pull handles clone + restore in one step

Key Difference in Workflow:

Stow approach: # Organize files into packages first mkdir -p ~/.dotfiles/vim/.config/nvim mv ~/.config/nvim/init.lua ~/.dotfiles/vim/.config/nvim/ git add . && git commit # On new machine: git clone repo ~/.dotfiles stow vim # Creates symlinks

lnk approach: # Start with files where they are lnk add ~/.config/nvim/init.lua # Moves and links automatically lnk push "added nvim config" # On new machine: lnk init -r repo && lnk pull # Clone + restore in one command

Bottom line: Stow is a pure symlinking tool that you combine with Git manually. lnk is an opinionated workflow that handles the entire dotfiles lifecycle (move → version → sync → restore).
by MaxiComDev | 2025-05-24 12:06:50+00:00
I built (upon https://github.com/github/github-mcp-server/) a MCP (Model Context Protocol) server that integrates with VS Code's Copilot in Agent mode using SSE and GitHub APIs.

No client-side setup required — just add a .vscode/mcp.json config pointing to the server.

instructions: http://13.39.253.143 Uses a GitHub token (prompted by VS Code) No logs, no tracking Compatible with Copilot’s Agent Mode (Open Chat → switch to Agent)

Project was mostly to understand how MCP works and how Copilot Agent interacts with external context providers.

Feedback welcome. Contact: maxicom.developpement@gmail.com
by nkurz | 2025-05-24 12:08:02+00:00
https://archive.is/3NdiV

If you are the sort to read comments before clicking, this is Steven Pinker's long essay on Trump's recent "assault" on Harvard. Pinker is a professor there who has been quite critical of Harvard's previous policies on free speech. In this essay, he concludes that while there are things about Harvard that need to be fixed, the administration's approach throws the baby out with the bathwater:

Harvard, as I am among the first to point out, has serious ailments. The sense that something is not well with the university is widespread, and it’s led to sympathy, even schadenfreude, with Mr. Trump’s all-out assault. But Harvard is an intricate system that developed over centuries and constantly has to grapple with competing and unexpected challenges. The appropriate treatment (as with other imperfect institutions) is to diagnose which parts need which remedies, not to cut its carotid and watch it bleed out.

It's not going to please the partisans on either side, but if you are looking for looking for a balanced take on the issue, it's a fine essay from an insider. And while you can certainly disagree with it, unlike a lot of the coverage elsewhere, this seems mostly fact-based and accurate.
by brokegrammer | 2025-05-24 12:08:26+00:00
I think living in rural areas sucks because you'll end up feeling very lonely. And I'm speaking as a hardcore introvert who didn't feel lonely at all during the lock-down. But after extended periods of isolation, human connection becomes important, especially if you're young.

I'm currently living below my means in a small village in Mauritius, but I'm planning on moving to a big city in a big country ASAP because while living like this is good for my bank account, my mental health is taking a heavy toll. Not to mention how challenging it is to find a date.

As a young person, IMO the best thing to do is move to a place where you can make some good lifelong friends, and build a solid network for employment opportunities. Saving money while living frugally only served to dampen my social muscles.
Show HN: MapShare – Share and Find Custom Google Maps
by merlin_merlin_ | 2025-05-24 12:08:39+00:00
Hello HN, I was recently in Paris and noticed that my hostel had created a custom google map with their favorite spots in the city. This led me to question how many more custom maps there were on the web that were useful, but unable to be found by everyday netizens. This led me and a friend to create MapShare. A site for sharing and finding custom google maps and lists. You can search for a location and find custom maps that people have generated for that region.

Here are some examples:

- 24 Hours in Berlin: A Sunny Day Adventure (https://mapshare.me/map/241)

- Best Spots to Capture Mt. Fuji (https://mapshare.me/map/392)

- Tokyo's Best Cherry Blossom Spots (https://mapshare.me/map/1166)

Currently the most comprehensive results are for Japan. We are still actively developing the site, so any feedback would be much appreciated!
by fendy3002 | 2025-05-24 12:10:42+00:00
agree on this point, like web3 and blockchain is not essential as of today (CMIIW).

However not in the case of AI (agentic AI / LLM), because simply they already have a use case, and a valid one. Contextual query and document searching / knowledge digging will be there to stay, either in form of current agentic model or different one.
by cced | 2025-05-24 12:11:44+00:00
We live in a system the prioritizes profits over everything.

> Call me optimistic or whatever, but isn't that the best case scenario?

The gains of technology are mostly captured by those with capital, not those with labor. Look at wage growth over the last few decades as well as productivity growth to have confirmation.

There’s no reason to believe given the current trend that benefits will be evenly distributed to the 99-97% of wage earners.
by krapp | 2025-05-24 12:12:11+00:00
>Western governments were willing to give up their manufacturers sectors, or at least large parts of them, to maintain better environmental/labour laws than China.

Their motivation wasn't the maintenance of better environmental and labor laws, but higher profits from exploiting China's more business friendly (less regulation, fewer labor rights) environment. Had it been economically and politically viable for Western governments to domestically enact the same environmental and labor standards as China, they would have done so. And as soon as the quality of life in China improved enough that labor there was no longer economically viable, many companies moved their outsourcing elsewhere, such as to Vietnam or Africa.
by ghaff | 2025-05-24 12:12:34+00:00
The perhaps unsatisfactory answer is you land a day job with a company that has a significant writing component, e.g. various content marketing roles but other types of marketing as well or analyst work. It's not the "great American novel" but I was, to a large degree, essentially a professional writer for over 20 years. And latterly I definitely worked with a lot of people who would probably have preferred to be independent writers but found pleasure in having a fairly well-paid career with a company.

I do know some successful freelancers but they're the generally fairly well-known exception (and are presumably still not making the kind of money many on this board would consider great).
by teleforce | 2025-05-24 12:12:35+00:00
This is truly interesting and inspiring.

Is there any documentation of your solar microgrid systems for learning purposes? Or better can anyone visit your farm for learning the microgrid systems?

I just found these article back in 2017 and 2022 on microgrid installation in the Caribbean and they looks like promising off-grid solutions for tropical islands [1],[2].

[1] Why Solar Microgrids May Fall Short in Replacing the Caribbean’s Devastated Power Systems (2017):

https://spectrum.ieee.org/should-a-devastated-caribbean-leap...

[2] As rich nations haggle over climate solutions, storm-ravaged Caribbean is taking matters into its own hands (2022):

https://edition.cnn.com/2022/11/15/world/caribbean-solar-pow...
by tialaramex | 2025-05-24 12:12:52+00:00
The effectiveness varies a lot. For me it works great, several other people I know get no effects at all from taking safe doses and of course excess doses are potentially extremely dangerous, extremely fast - about 2.5x the usual maximum dose causes liver failure in some people, that's barely more than "Oops, I already took that and I forgot" from a nasty death.

If it was discovered tomorrow rather than last century, it would never get OTC approval, because while for some people (like me) it's useful, the dangers are too high, so they'd definitely make it prescription-only. I'd probably still come back from any surgery with a bag of paracetamol because it's cheap and the surgeons can prescribe it to somebody it works on without worrying (it's not like an opioid, nobody is going to get unnecessary surgery so as to secure more paracetamol) but it would not be in cold & flu meds if they hadn't found it last century when they were more lax about safety.

[Edited to insert crucial omitted "not"]
by 2muchcoffeeman | 2025-05-24 12:14:28+00:00
I don’t mean protection from electricity.

He’s sawing into plastic and electric components and has no cut resistant gloves or a vacuum to suck away dust. At one point he also had a soldering iron quite close to bear fingers. Parts where he’s just prying things off with pliers wouldn’t need maximum dexterity with both hands.
by susam | 2025-05-24 12:15:37+00:00
> GNU find and fd support regex, xargs can be used for bulk operations, etc.

I don't see how this is comparable to arbitrarily browsing through a directory, inspecting files, and manually marking the ones you want to act on. The feature I was describing is more akin to how we browse directories in a graphical desktop environment.

I use find, xargs, and similar tools as well, but they don't allow you to casually mark or unmark files and run operations on them later. With these tools, you need a fairly precise idea of what you're targeting. Then you have to write a glob or regex pattern up front, and then execute the command. That's a very different workflow from interactively exploring a directory, making ad-hoc decisions, and selectively marking files as you go.
by MrRoarke | 2025-05-24 12:16:04+00:00
I’m assuming this was named after Mr. Roarke from Fantasy Island.

All of the fantasies had a dark side.

If my prediction is correct, one of you will build your app, make billions, and then lose everything dear to you in the process.

You will then go back to Rork begging to undo what has been done, and it will tell you that it’s too late.

Then you will decide to give all of it away to charity, and then win back your previous life, but now you are quiet, scarred, and humble from your experience, thanking Rork as you leave its site in fear.

Now we just need AI to simulate Charlie’s Angels.
by fendy3002 | 2025-05-24 12:16:31+00:00
you don't trust it, ever. You verify it, as in you get PR from junior / new contributors. You also need to not trust any source on the internet before validating it, Wikipedia for example.

Why you can trust wikipedia but not AI? That's because the source inside it has been verified by many people. So if you're faced with a new page in Wikipedia that hasn't been verified much, you need to treat it same as AI, verifying it yourself by crosschecking it with other sources.
by fancyfredbot | 2025-05-24 12:18:01+00:00
I really like the accent! At first I found it extremely odd but it's grown on me so much over time it's honestly the main reason I watch his videos now.

It seems really unusual to me too. I've got Czech relatives and have visited several times as a tourist but seem to have missed out on hearing this accent somehow (probably as I've barely left Prague).
by mattlondon | 2025-05-24 12:18:45+00:00
I think a lot of the complaint I see is people want to have 100% of everything they want, within a 10 minute walk, with zero compromise. I.e. they have unreasonable expectations.

I see people come to London from other parts of the world and ask where they can live that is nice and a 5-10 minute walk from the office and I usually laugh in their faces. If you can afford to live that close in central London (even before you think about "nice"), then you don't need to work. Even single car parking spaces in central London cost more than family houses elsewhere in the UK.

When I got my first place it was on the outskirts of London, cost 20x the average UK salary (and for which I obviously took out a huge mortgage for that basically took 75-80% of my salary at the time to pay), and took over an hour on public transport (which was also not cheap - walking is free but probably about 4 hours each way) to get to central London. And this was just in the 2008-era - it's never been cheap (or even reasonable) to own nice property in the center of a large global metropolis like London where you are 10 minutes walk from your office AND transport AND entertainment AND everything else unless you are ultra wealthy.

People need to lower expectations about locality/proximity and affordability before things become viable. This isn't a new problem.
by zo1 | 2025-05-24 12:24:46+00:00
I think a big factor of that is that usually most people just do the positive feedback and don't say anything negative or constructive. So when someone does do so, it's seen as "wow, this must be so bad that they just had to say something, no matter how delicately or toned-down it is being phrased as". These days I just mention the problems and concerns to the people making the decisions because yearly review time is the wrong time to do it. At best they've only been doing this "bad" thing for a month or so, and at worst almost a whole year and no one did anything.
by sometimes_all | 2025-05-24 12:26:49+00:00
> ... I have long ago informed Tim Cook of Apple that I expect their iPhone’s that will be sold in the United States of America will be manufactured and built in the United States, not India, or anyplace else...

As an Indian, this makes me a bit sad. Less about the fact that iPhone manufacturing in India is threatened, and more about the fact that my loophole of getting cheaper iPhones (via a US relative/friend) is now closed...
by josephg | 2025-05-24 12:26:53+00:00
The funny thing about this is that JavaScript the language has had support for BigIntegers for many years at this point. You can just write 123n for a bigint of 123.

JSON could easily be extended to support them - but there’s no standards body with the authority to make a change like that. So we’re probably stuck with json as-is forever. I really hope something better comes along that we can all agree on before I die of old age.

While we’re at it, I’d also love a way to embed binary data in json. And a canonical way to represent dates. And comments. And I’d like a sane, consistent way to express sum types. And sets and maps (with non string keys) - which JavaScript also natively supports. Sigh.
by miracoli | 2025-05-24 12:27:38+00:00
I think this post really shows cultural differences in the term 'friendship'. Where I grew up (in Germany) most people I know would not abandon friendship because they read a blog post. a real friendship is something special that you maintain also in difficult times and sometimes people are jealous, but that can change and I think the understanding of friendship as a kind of 'success accellerator' is something that sounds quite stange for me. From my definition friendship is exactly the kind of relationship that comes without such expectations
by YmiYugy | 2025-05-24 12:28:22+00:00
I think the readability problem can be solved by having your LSP tell your editor to display some virtual text, indicating that the foo and bar calls might error.

I have to admit I don't understand the second point. If you could statically determine from the definition of foo and bar what code handles their errors, than there would be no reason for foo or bar to error, they could just call the error handling code. If foo and bar return Result sum types and my_function just passes those errors up, it would be no different. You don't know what callers of my_function would do with those errors.
by Geo_ge | 2025-05-24 12:28:44+00:00
Aerial survey LiDAR can process multiple returns from a single laser pulse. So, some energy might be reflected back from a leaf, but some energy will pass through (or around) the leaf, hit the ground, then reflect back to the sensor. Some systems can record 5+ points from a single laser pulse.

With this information, you can filter the point cloud to only include points from the final return, which is likely to be the ground/a solid surface unless the vegetation is very dense.
by rincebrain | 2025-05-24 12:30:23+00:00
Conversely, it could also be the case that the Anker chargers are noticing too much resistance on the cable (I've had a number of nice and poor quality USB-C cables break in strange ways which indicate some portion of the wiring is damaged, like cables that only charge one orientation, or only negotiate data one way, or ...), and degrading to avoid risk while still working.

You'd need a tester with some fine detail to be able to tell the difference prior to a problem, though...
by uselesswords | 2025-05-24 12:33:17+00:00
The deck used to just be shared on reddit & such. But for all your questions, there is now a central "upstream" entity called AnkiHub that organizes and maintains updates to cards, syncs, etc. It's a $5/month subscription, but a lot of my friends just subscribe for a month each year to get the updates then unsubscribe.

All cards start suspended by default, and you unsuspend cards usually by tag. For example, lets say you watched a a popular third-party exam prep video from Boards & Beyond on Insulin. You would find the corresponding video has its own tag "tag:#AK\_Step1\_v12::#B&B::08\_Endocrinology::03\_Pancreas::03\_Insulin" which you would unsuspend all the cards for. That's the basic flow, but everyone does things a little differently.

Some people don't watch videos just do review questions from UWorld which are also tagged. Some people manage cards using a mix of tags and decks. Some people search and manually unsuspend cards individually. Some schools cross-tag cards with their lecture. Personally, I use an AI search to unsuspend cards by cross-referencing against a PDF of lecture for the day.

Custom tags can be protected when syncing from upstream: https://community.ankihub.net/t/protecting-fields-and-tags/1...
by Findecanor | 2025-05-24 12:33:43+00:00
> Are the boxes that small because sweden tends to use an other analgesic as primary culturally e.g. aspirin or ibuprofen and paracetamol is for more exceptional situations?

No, I'd say paracetamol is the most common. I think there was an increase in teenagers that tried to overdose on it to commit suicide some years ago. You could easily get 1000mg pills before that.
by masklinn | 2025-05-24 12:34:59+00:00
REST is a design principle, not a protocol.

As such you can make a REST system discoverable via e.g. external schemas (commonly OpenAPI) or self-documentation but there is no guarantee that either exists, and while the latter is intrinsic there is no standard discovery mechanism for the former (cf openapi-specification issues 724 or 2128).