MurphyA/hacker-news huggingface dataset:
by waddlesplash | 2025-04-10 13:53:28+00:00
> with new techniques and materials on top of old work done in a way that was usual at the time.

But is there any long-lived project for which this isn't true? Linux and the BSDs surely have many components that fall into this category.

> For example there's BString and BList.

BString is a much nicer string class to work with (IMO) than std::string. It lacks some modern conveniences, and it has some unfortunate footguns where some APIs return bytes and some return UTF-8 characters (the former should probably all be considered deprecated, indeed that's a BeOS holdover), but I don't think there's any intent to drop it.

BList could be better as well, but it's still a nicer API in many ways than std::vector. Our other homegrown template classes also are nicer or have particular semantics we want that the STL classes don't, so I don't think we'd ever drop them.

> Haiku also has seams of BSD code where there'd be a project to do Whatever (WiFi, TLS, drivers, etc.) "properly" in a way unique to Haiku

What would be the point of implementing WiFi drivers from scratch "uniquely" for Haiku? Even FreeBSD has started just copying drivers from Linux, so that may be in our future as well. I don't know that anyone ever really considered writing a whole 802.11 stack for Haiku; there was some work on a "native" driver or two at one point, but it was for hardware that we didn't have support for from the BSDs, and it still used the BSD 802.11 stack. Writing our own drivers there just seems like a waste of time; we might as well contribute to the BSD ones instead.
by jmclnx | 2025-04-10 13:53:39+00:00
>Mobile has killed technical competence. We now all carry around computers that pretend to be mobile phones or tablets

To me this is a thing, I wonder how may kids out there hack their Computers if they even have one.

In spite of AI, I expect a huge shortage of real programmers in 10 years or so and the teenagers of the 90s start retiring.
by rickydroll | 2025-04-10 13:53:49+00:00
I'll probably get downvoted for this. When I started dating a woman from Israel, her stories didn't jive with the stories we hear here. So I started digging into it and understood why she said it was such a mess and there was no way anybody outside of Israel could understand what was going on.

I'm not saying this as a form of both-sides-ism, but an acknowledgment that it's a shitshow and may never be untangled least of by US/EU.
by wpietri | 2025-04-10 13:54:02+00:00
> You have to eat. If a burger is the best choice in front of you, it is reasonable to make that choice.

Ok. Now try that sentence with "leg of a dog". Does that still feel reasonable? I think the difference isn't that one is more moral, it's that one is more familiar.

I also don't think he was talking about activists. There are plenty of "hardcore MAGA" types who are pretty passive about it. And even there that doesn't necessarily involve cognitive dissonance. I know plenty of people who vote for Democrats that are able to oppose it on certain particulars while still deciding it's the best voting option. But I think MAGA in particular is a cult of personality, which is very hard to justify intellectually.
by ddtaylor | 2025-04-10 13:54:35+00:00
Neat. I have something I use that was $25 on Amazon. It's not as fancy and has a crappy app, but it works for what I want with displaying something to others while I stay focused.

The other features are interesting, but software features that may not warrant a hardware.

This also doesn't seem bigger than a phone and makes me wonder why not use a phone mount.
by netghost | 2025-04-10 13:55:25+00:00
He made something that currently searches references on a given set of topics. It's not as if this automates thinking or writing any more than spell and grammar check.

There's quite a bit of vitriol in the comments that seems overblown. There's a line where we're typing a few words in to get some AI slop out, but I think this is a long ways away from there.
by filoleg | 2025-04-10 13:55:39+00:00
I am really curious to hear what evidence there is of that high-capacity fiberoptic undersea cable connecting LA to Hong-Kong (being worked on by many companies like Google/Meta/etc.) ever having any plans of being used as a “backdoor” for China to intercept all the user data.

Either there is some massive grand conspiracy going on between all those different companies (a good number of which have exactly zero products or revenue or business presence in China) and the Chinese government or, which I am leaning more towards given the claims, this is all just oversensationalized lies.

Extraordinary claims require extraordinary evidence, and so far we only got the “bush did 9/11” level of evidence for claims that are arguably even more wild and convoluted than that.

The author, for example, also claims that “yeah, this was all according to the plan, until congress stepped in to stop the fiberoptic cable due to those concerns.” Any record of congress doing that for those reasons?

What about existing fiberoptic cables going through China right now? Are those cables not as special or useful for that purpose? Why not?

I am not even defending China and their approaches. I am familiar with deep packet traffic inspection and other things of a similar nature their government does. But that’s not a blanket excuse to just claim wild massive multinational conspiracies involving so many actors, all without as much as even good reason for why it would even make sense for them all to cooperate.
by vibenotes | 2025-04-10 13:55:55+00:00
Introducing Vibe Notes, your personal space to capture thoughts, spark ideas, and let creativity flow.

Simplify your note-taking process Unlock the power of AI-assistance Boost your productivity and creativity

Ready to experience the power of Vibe Notes for yourself?

Sign up now and discover a new way to take notes. Currently Vibe is FREE.

https://vibenotes.app

Do not store any private information when using AI assistance. Notes are stored on device and we have no access to them.

Vibe Notes supports attaching PDF, Images and Audio files. AI assistance currently only works with images and PDF's (audio coming soon) Attaching files does not pass it to the AI unless you give it permission by tagging '@' the file in the chat.

PDF size not an issue, we successfully processed all the Harry Potter books in one request with a response.

X: @vibe_notes (contact us for feedback or support)
by dkrich | 2025-04-10 13:56:17+00:00
It’s interesting because I just watched an interview with him on cnbc and left it with much the same thoughts. Not that I took issue with anything in particular but he really didn’t say anything particularly insightful it was just bland, zero risk platitudes which to me is shocking for the CEO of what is supposed to be one of the most forward thinking companies in history. Like give us some bold predictions, opinions, etc. Not a great sign for Amazon imo
by sepositus | 2025-04-10 13:56:20+00:00
> I run NixOS on every computer I'm allowed to install it and I really don't think it's hard to use, just different.

I work at a place that uses Nix for almost everything. Despite that, most developers do not like it (and usually create tickets asking the "experts" to fix things). The above quote is basically exactly what the experts are always telling the developers. That, along with "you just need to try harder." As if it's not valid that someone can think Nix isn't ergnomic and often sucks to use.

I personally don't mind it all that much, although nowadays I just use it for home-manager. But I've seen people go from disliking it to hating it because of the way some experienced Nix people have treated them.
by mindslight | 2025-04-10 13:56:56+00:00
Take a step back and look at the information flows of democracy. One or two ballots per year, with a handful of questions on them. For the national races, that is maybe 3 bits/year on average? Compare with the constant stream of ads, speeches, news articles, etc. Then at the higher level it's not like adding repeated answers to the same question preserves much information (cf Central Limit Theorem). So really the information flows to the voters are the more significant part of this setup, with the act of choosing serving as a commitment to make you think you wanted everything you voted for.
by triceratops | 2025-04-10 13:57:00+00:00
> we have to do more to defend our own cultures

What does "defend" mean?

> against immigrants imposing their cultures

How can a minority "impose" its culture?

> How you do that without being outright racist

You can start by not saying "defending" and "imposing". There's no attack. "Defending" only means enjoying and promoting all the elements of your existing culture - language, music, entertainment, food, dress, architecture, religious and other traditional celebrations.

Immigrants like to be part of the mainstream so most of them will participate, unless made to feel unwelcome, usually bringing some of their own food to the party (always a plus).
by oortoo | 2025-04-10 13:57:01+00:00
Depends what you mean by, "Best choice in front of you"

Most people in developed countries are not in a situation where if they do not eat the food in front of them now, they will starve. Nearly every grocery store should have things like tofu, lentil, beans, etc easily available. It may be most convenient, or most delicious, or something like that but vegetarianism and plant based are both very viable options for most of the developed world at this point.

Voting for a candidate in a 2 party system is not comparable, as there is literally not another viable choice in most cases.
by kpfleger | 2025-04-10 13:57:17+00:00
The proper claim is that raising people from deficient (<20ng/ml) to a sufficient level (>30ng/ml ideally) should improve outcomes. Sometimes looking at a subset of those who started deficient is good enough to find such an effect, but sometimes it isn't, such as if the dose used was not high enough to raise people up enough, particularly common if the subjects weights were high which requires higher intakes to move the needle a lot, so other subset analysis look at norm-weight subjects. Proper study guidelines were published in the mid 2010s and meta-analyses like this one that aggregate many studies that don't conform to these guidelines are just as invalid as individual studies that don't.

For detailed treatment of this see this thread on X: https://x.com/KarlPfleger/status/1732514710715514883
by SkyPuncher | 2025-04-10 13:57:40+00:00
At the risk of being dismissive of people's interests, I've increasingly come to view many hunters and fishers are largely driven by the ego. They don't care if they can hunt or fish in 20 years as long as they can brag to their friend group that they bagged the biggest fish or game. In fact, it'd be better if they no one could hunt/fish in the future because that means they'd hold the "record" indefinitely.

All those pesky rules and regulations are just getting in the way.

Go sit in a bar in hunting country during deer season. You won't hear people talking about how peaceful, relaxing, or enjoyable it was. You either hear (1) them bragging about how big of deer they got (2) how big the deer was that "got away".
by chneu | 2025-04-10 13:57:44+00:00
I didn't read the paper, but this sounds very familiar and similar to the change in the NRA.

Pre 1970s the NRA was very much a hobby gun club meant mostly to keep american boys/men using guns for war readiness, along with promoting hunting/outdoor recreation. Then, in the 1970s, the NRA changed tune. After a big leadership shakeup the organization became very proactive in promoting anti-government, 2nd amendment, and "patriot" ideals. This likely stems from the Nixon impeachment, wherein republicans felt "wronged" and actively started seeking out revenge.

The federalist society was also born out of this same period and sentiment. The sentiment is that nixon's impeachment was a hit job. That's when we saw the advent of conservative media and the idea that "emotions are more important than fact" started to get some traction.

There's a great This American Life episode on the NRA's transformation from a hobby group to a lobbying group. I think this is it, https://radiolab.org/podcast/radiolab-presents-more-perfect-... . Great episode, highly recommend. It really puts the whole 2a movement into perspective.
by skeeter2020 | 2025-04-10 13:57:49+00:00
Revenues of AWS are a significant but smaller part of total Amazon, but the margin there is both huge and not squeezed by competition with all other retailers or the economics of physical goods. The AWS growth has got to be responsible for a huge part of the operating income growth.

"Apart from the financial results, we made our customers’ lives meaningfully better and easier...."

I really dislike how he obviously restricts his vision here to consumers. Amazon weilds such influence and impact that the entire economy should be viewed as the "customer", and I don't believe the story from that context is as rosy and universally positive.
by allan_s | 2025-04-10 13:58:01+00:00
my point is that all your templates are at thend coded by human that make mistakes https://nvd.nist.gov/vuln/detail/CVE-2024-6578 , you may be not using "dangerouslySetInnerHTML" directly but your dependencies may

> What you use as an example has nothing to do with inline/"external" scripts at all, but everything to do with setting DOM contents vs text content.

I fail to understand your point (it's certainly an understanding problem on my side)

What I wanted to express is that: 1. you can with some CSP forbid loading of cross origin script (i.e forbid hacker.ru/toto.js ) to be loaded 2. but even if you do this, you also want to block inline script (or use inline+nonce) because evil script can be executed from within your origin by using a vulnerability somehwere between the code and the final dom

> This would have been the exact same hole regardless if it was put there/read by external/inline JavaScript.

yes we both agree that it's the same vulnerability at the end, i'm just saying that you can arrive there from different path, and these different path are protected by different CSP mechanism
by vixen99 | 2025-04-10 13:58:04+00:00
Definition: Peasant: 1. A member of the class constituted by small farmers and tenants, sharecroppers, and laborers on the land where they form the main labor force in agriculture. 2. A country person; a rustic. 3. An uncouth, crude, or ill-bred person; a boor.

You unsurprisingly choose the third option. Uncouth, crude and or ill-bred people are probably not especially productive in their working life.

We do know that in China, rural people flock to the cities (where they have diminished welfare provisions and 'rural' status, do the work and are then expected to return to their homes in the country.
by EvanAnderson | 2025-04-10 13:58:17+00:00
Baikal looks interesting. I used DAViCal[0] in the past to share calendars between a couple of Apple iOS devices. When it worked it worked well, but as iOS versions changed it seemed to get unreliable and I eventually gave up.

When I do eventually revisit this I am going to look at DAViCal again, as well as Radicale[1], and now Baikal.

[0] https://www.davical.org/

[1] https://radicale.org/v3.html
by immibis | 2025-04-10 13:58:36+00:00
I get the impression that business has always been about being the best schmoozer more than about having the best product.

BTW at Hetzner you can rent servers with very large (hundred of TB) non-redundant storage for an effective price of about $1.50/TB/month. If you want to build a cloud storage product, that seems like a good starting point - of course, once you take into account redundancy, spare capacity, and paying yourself, the prices you charge to your customers will end up closer to the price of Backblaze at a minimum.
by emacsen | 2025-04-10 13:58:53+00:00
This is exactly the post I've needed.

I have two calendars, one on my personal server running Mailcow (SoGO) and my work calendar with Fastmail.

They don't work together- I've never found a way to get mailcow's calendar to work with other tools well, and so I spend time syncing between them semi-manually.

I've wanted to de-couple the calendar for a while but the only alternative I knew about was Nextcloud, which I think is a bit heavy weight.

This Baïkal looks great and I can't wait to give it a try. Doing this will also allow me to explore changing out Mailcow for another self-hosted mail service.
by gambiting | 2025-04-10 13:59:27+00:00
Anecdote from a friend who teaches a CS course at local university - kids these days arrive at a CS course not knowing how to use a mouse. Well, they obviously understand a concept of a mouse, but actually having experience with using a mouse? None, unless they are a gamer(which tbf, a lot of CS students are). But they get put on a computer in a lab with a mouse and keyboard and some of them genuienly struggle with the mouse. The explanation is simple - desktops are nearly extinct in homes unless you play games(and even then, it's a rare choice), so people have laptops and just use the touchpad as the default method of interaction.
by Chris2048 | 2025-04-10 13:59:37+00:00
I'd argue there is no "hypocrisy" her because it involves politics.

There isn't the option to micromanage gov policies, there are two options taken as package deals - red or blue.

MAGA react to questions like this as Dems react to questions like "what is a woman?".

EDIT: to be clear, they react as if the inconvenient question is in bad faith.
by 9283409232 | 2025-04-10 14:00:42+00:00
Air pollution decreased the following year because of COVID and the fact that people were in lockdown and couldn't go anywhere. No one was driving and the number of flights were reduced. There were plenty of stories about how COVID was helping reduce pollution. Here's one as an example: https://www.businessinsider.com/before-after-photos-show-les....
by scotty79 | 2025-04-10 14:00:59+00:00
What I was curious about a decade ago was if one could transplant mitochondria from bats into mice (and some day humans) and what effect would it have on their longevity. One of the things that contribute to aging is collateral damage caused by mitochondria operation. Bats due to energy requirements of flight have quite incredible mitochondria.

It probably wouldn't be easy as there's some cellular genetics that influences how given species cells interact with their mitochondria, but recent gene manipulation techniques and successes like "dire wolves" and "woolly mice" give me hope.

Mitochondria are very important and they do gradually wear out. It's so important to have them fresh that all of your mitochondria came from the egg of your mother and were produced in her early development before she was even born and were kept dormant until fertilization so you can get a fresh new set of mitochondria. Male mitochondria that aged (because sperm is produced in adults) and get additionally used up as the sperm moves are completely discarded during the fertilization.
by nkassis | 2025-04-10 14:01:02+00:00
I have a hypothesis that the proportion of really nerdy kids that take to technology hasn't changed and it was always a subset of society. People with affinity for understanding their computer and that find technical concepts natural may just be the oddballs.

My son has found his way to it from watching youtube videos on history of computer viruses. I think it's the path from Minecraft, Minecraft hacks, Minecraft mods....

He recently asked me if we could install windows xp on virtual box like one of the youtuber he watches did. So we set that up. He has been watching youtube about secret features, testing them out and found out what happens when you delete random file in system32. He doesn't get why none of his friends understand anything he says to them about this stuff. In his mind he wonder why aren't they all watching this stuff? I had to explain he's got some pretty niche hobbies even by my standards.
Ask HN: is ChatGPT app using my CPU/GPU for hidden computation?
by giorgioz | 2025-04-10 14:01:10+00:00
I was randomdly checking the Activity Monitor on my MacBook Pro 14-inch, Nov 2023 with Apple Silicon M3. I noticed the native macOS app of ChatGPT taking 10-20% of the CPU while it's not in the foreground...

Is it just really inefficient or doing a ton of http calls without reason?!

Is it possible chatGPT is offloading a bit of computation to my machine?!

Can you also check on your machine and let me know?

SCREENSHOT: https://snipboard.io/XztBeL.jpg
by 9rx | 2025-04-10 14:01:16+00:00
> now fewer people can « do » the job of many

Never in the history of humans have we been content with stagnation. The people who used to do manual calculations soon joined the ranks of people using calculators and we lapped up everything they could create.

This time around is no exception. We still have an infinite number of goals we can envision a desire for. If you could afford an infinite number of people you would still hire them. But Shopify especially is not in the greatest place right now. They've just come off the COVID wind-down and now tariffs are beating down their market further. They have to be very careful with their resources for the time being.

> - they did not learn much because LLM did work for them

If companies are using LLMs as suggested earlier, they will find jobs operating LLMs. They're well poised for it, being the utmost experts in using them.

> - there is no new jobs required because we are more productive ?

More productivity means more jobs are required. But we are entering an age where productivity is bound to be on the decline. A recession was likely inevitable anyway and the political sphere is making it all but a certainty. That is going to make finding a job hard. But for what scant few jobs remain, won't they be using LLMs?
by itishappy | 2025-04-10 14:01:21+00:00
I don't disagree. Sugar isn't a harmless chemical either! It's significantly worse than fluoride at the quantities we consume. The problem is how to actually do something about it.

Adding fluoride to water is insanely effective for how easy it is. The 70% of Americans who drink fluorinated water get a free 25% reduction in cavities without active involvement.

What would it take to see a similar impact from sugar reduction? I can pretty much guarantee it won't be voluntary! I assume you're going to need to start by making Coke illegal, stop subsidizing corn syrup, ban most fast food and restaurant chains, and retool many of our factories.

But that sounds like political suicide, and we haven't even attempted it despite the growing mountain of evidence to the harms of sugar.
Show HN: Display weather for up to 3 cities for comparison inside Neovim
by rmrf100 | 2025-04-10 14:02:08+00:00
I'm not sure if anyone else feels the same, but the current weather Plugin/App always confuses me about the weather. I wish the temperature could be shown in a vertical bar. That way, it would be much easier to quickly see the low and high temperatures at a glance.

Also, I really hope to be able to see the temperature in my hometown for comparison. so I wrote this neovim weather plugin: https://github.com/rmrf/weather.nvim

Features: - Display weather for up to 3 cities for comparison - Show min/max temperatures at a glance

Screenshot inside the Github repo.

it will call https://wttr.in/ to get the weather data when you trigger it.
by skeeter2020 | 2025-04-10 14:02:36+00:00
In hockey (now on Prime - Monday nights!) you hear the saying about goalies "good to be lucky; lucky to be good". That could be a summary of Jassy's career. It's no coincidence he highlights the growth of AWS over the past 10 years right up front; this coincides with his tenure and when he accelerated his climb. I don't know the man at all, but this letter is exactly like every public speech and post I've ever seen or heard from him: a bowl of plain oatmeal that's completely on-brand.