MurphyA/hacker-news huggingface dataset:
by karaterobot | 2025-05-13 19:49:23+00:00
https://archive.ph/aC1el

> As of May 10, there have been four shootings in the United States in which four or more victims died this year, compared with 11 at the same juncture last year.

...

> The truth is these events are exceedingly rare. Moreover, nearly half of all mass shootings take place in private dwellings

Presumably the reason the headline says zero, and the article says four, is that the distinction between public and private mass shootings. If there's some other reason for the confusing headline, I missed it in the article.

It's still great news, and I happen to agree with the author of this opinion piece that the media have overstated the severity of the problem. Obviously the ideal number is zero, but the anxiety around mass shootings is out of line with the actual magnitude of the risk in comparison to other risks we could be talking about instead.
by phalanx104 | 2025-05-13 19:49:33+00:00
`impl Fn/FnOnce/FnMut` don't stand for function pointers, but rather function items in Rust, and as such they are zero sized so Rust can provide optimizations regarding function items specifically at compile time.

They can decay to function pointers (`$(unsafe)? $(extern)? fn($(inp),*) $(-> $(output))?`, example: unsafe extern fn() -> i32), which you can freely cast between function pointers, `*const/mut T` pointers or `usize`s. https://doc.rust-lang.org/reference/types/function-pointer.h...
by RetroTechie | 2025-05-13 19:49:47+00:00
If it's interesting enough, and/or "big, will read later" then I save a local copy (pdf, html, plain text or even an image).

Mostly organised in logical-to-me directory structure.

Local storage beats online-only in many ways, imho. Online content rots away over time. Whereas backing up local files is easy.

Beside that: browser bookmarks, simple note-taking app, and (last but not least) pen & paper.
by giobox | 2025-05-13 19:49:52+00:00
Ignoring the financial aspects, I agree to some extent with OPs opinion this trend of doing more with less engineers really took off following Elon reducing Twitters headcount.

It's worth remembering Twitter was a buggy mess before Elon bought it. Sure it's still a buggy mess today, but the staffing costs are dramatically lower.

Losing a ton of money was something Twitter was also pretty good at even before Elon too - only profitable 2 years out of the 8 leading up to the acquisition while it was still a public company etc.
by f30e3dfed1c9 | 2025-05-13 19:50:06+00:00
> the working man's car was domestically assembled and not tariffed

Both my car and my wife's were assembled in Japan. No reason to think now they would not have been subject to a tariff that I think currently stands at 24%.

> The 'big tax cut' is no income tax on anyone earning less than $200,000

This will absolutely not happen.
by mantas | 2025-05-13 19:51:13+00:00
> In terms of conspiracy thinking you have to always be very careful with such statements, ask yourself why liberals oppose voter id laws? Assume no ill intent for the sake of it. Do research for yourself into the subject. Try for example to answer these questions in your research: What is the evidence and magnitude of election fraud? Who benefits from voter id laws and why?

Oh, I'm well aware about both sides opposing arguments. But IMO both of them are whacky. Even in poor countries like mine it was never a problem to get a damn ID. ID card is super cheap and opening the office issuing it on saturdays is not rocket science.

If people in US put huuuuge money into politicians campaigns and go extra mile for gerry mandaring... And voter ID requirement could be used to prevent some people from voting... Abusing no-voter-id seems like no brainer to me.

> It's one thing to be convinced of something that sounds like common sense, but you should at least try to understand the other side of the arguments.

I've spent plenty of time on this topic. And yet I can't find any convincing argument.

> They are just never exposed to the counter arguments from someone they aren't already biased against.

I think you're way underestimating people who don't agree with you.
by blagie | 2025-05-13 19:52:24+00:00
You misunderstand both my premise and basic economics.

I would recommend reading the original Wealth of Nations by Adam Smith, which forms the basis of modern capitalism.

https://www.gutenberg.org/ebooks/3300

It's clear, analytical, and mostly correct.

Chapter XI, The Rent of Land, is pretty quaint at this point, but gives a compelling counterpoint to your argument. It begins:

"Rent, considered as the price paid for the use of land, is naturally the highest which the tenant can afford to pay in the actual circumstances of the land. In adjusting the terms of the lease, the landlord endeavours to leave him no greater share of the produce than what is sufficient to keep up the stock from which he furnishes the seed, pays the labour, and purchases and maintains the cattle and other instruments of husbandry, together with the ordinary profits of farming stock in the neighbourhood. This is evidently the smallest share with which the tenant can content himself, without being a loser, and the landlord seldom means to leave him any more."

The basic analysis of the chapter can be translated from 1780-era industries into 2025-era industries, and explains much of how housing markets work.

If you would like contemporary data, I would recommend looking at the impact on the price of housing of European cities which offered nationalized below-market housing.

A central fallacy in most of the libertarian space stems from the difference between industries which are not zero-sum (e.g. manufacturing, software, writing, etc.), and rent-collecting ones (e.g. literal rent, much of finance, mining, etc.). Here, I use "rent" as economics jargon, not common meaning. You can look it up.

Being used to operating in domains like software -- which has literally zero marginal cost -- there is a natural tendency to want to extrapolate the same dynamics to other industries.

However, economics works out differently in industries like that. For the most part, if there is a finite amount of stuff, it makes sense to divide it fairly to avoid dynamics like that. If you're producing stuff, it makes sense to divide it according to how much you contribute.
by qwertox | 2025-05-13 19:52:30+00:00
No. Not at all. I've settled to discussing my code with Gemini. That way it works very well. I explicitly say "Comment on my code and discuss it" or "Let's discuss code for a script doing this and that. Generate me an outline and let's see where this leads. Don't put comments in the code, nor exception handling, we're just discussing it".

Or you create elaborate System Instructions, since it adheres to them pretty well.

But out-of-the-box, Gemini's coding abilities are unusable due to the verbosity.

I've even gone so far to tell it that it must understand that I am just a human and have limited bandwidth in my brain, so it should write code which is easy to reason about, that this is more important than having it handle every possible exception or adding multiline comments.
by elpocko | 2025-05-13 19:53:03+00:00
You can disagree (with what though?) but that doesn't really change anything: You have that website, but no one is gonna use it because there are thousands of better, more populated alternatives. HN is not the right place to jumpstart this, no one here is interested in an empty website. You'd have to put some big bucks into marketing, like all your competitors do.

I'm not just being a dick here; mostly a dick, but also realistic.
by p0w3n3d | 2025-05-13 19:53:20+00:00
I remember my brother having a printed list of one-time-codes. I wonder why this is not mentioned? Not everyone wants to have their phone a single-point-of-failure. For me - breaking screen in my phone rendered my banking unavailable for me, which posed additional problem on how to pay for the screen replacement, not speaking about buying food etc.
by asdefghyk | 2025-05-13 19:53:42+00:00
Any information on ocean depth in that area? Or did it float? for a while?

From NASA article - https://nssdc.gsfc.nasa.gov/nmc/spacecraft/display.action?id... Apparently, it broke up too 4 pieces soon after launch time and it was the lander that was circling earth for 53 years..

From https://www.npr.org/2025/05/12/nx-s1-5395631/a-soviet-era-sp...

"...The Russian space agency Roscosmos said in a Telegram post that the spacecraft reentered Earth's atmosphere Saturday morning at 2:24 a.m. ET and landed in the Indian Ocean somewhere west of Jakarta, Indonesia. It said Kosmos 482 reentered the atmosphere about 350 miles west of Middle Andaman Island off the coast of Myanmar. ..."

NASA gave the same reentry time and landing location for the spacecraft in a post on its website...."
by whatevermom | 2025-05-13 19:53:45+00:00
Obsidian has been really positive for me. It has paid dividends for years — I look up notes I made years ago pretty regularly. I highly recommend it. I used Anki on and of with benefits but without enough discipline. Good thing with Obsidian is that you can write and forget about it - your obscure notes about http2 multiplexing will still be there.

One thing to remember: most stuff can be forgotten safely. There are very few things you’ll actually want to look up a few months from now on…
by dang | 2025-05-13 19:54:04+00:00
Related to that first link:

Threaded Interpretive Languages (1981) [pdf] - https://news.ycombinator.com/item?id=17227466 - June 2018 (1 comment)

and to the second link:

Moving Forth (1993) - https://news.ycombinator.com/item?id=26900401 - April 2021 (7 comments)

Moving Forth, Part 1: Design Decisions in the Forth Kernel (1993) - https://news.ycombinator.com/item?id=10949339 - Jan 2016 (5 comments)
by voidspark | 2025-05-13 19:54:25+00:00
We don't know if it is losing money. It's a private company.

He reduced the headcount to roughly what it was in 2017. At the time of the acquisition, many of the employees were in non technical roles, contributing nothing of value, posting videos about their empty work day on TikTok. Jack Dorsey admitted that he made a mistake by over hiring - more than doubled the headcount from 2017 to 2021.

https://www.statista.com/statistics/272140/employees-of-twit...
by scb0930 | 2025-05-13 19:54:28+00:00
This feels very Groupon circa 2012 to me. Lets use the infrastructure we built out to scale the initial idea for other verticals that are all accessible with a single profile in a single app. Im not sure how this will work out for Airbnb, but given the path Groupon has taken, im not optimistic.

Disclosure: Worked at Groupon from 2011-2013 in another vertical outside their core Groupon experience
by awill | 2025-05-13 19:54:34+00:00
So many people I work with (in tech) were on Android for years, and all eventually switched to iOS.

My biggest issue with Google is they aren't convicted in anything they do. They just guess, or try 5 different things, and see what sticks. That makes it a mess for users, as the UX constantly changes.

I also can't understand why Google decided a circular face made sense for Wear. It's good for analogue watches, and garbage for everything else. Try reading a message where words are either cut off, or you're stuck basically using a square inside the circle. It makes no sense other than because Google didn't want to 'copy' Apple with the rectangular shape.
by GuB-42 | 2025-05-13 19:54:35+00:00
This recommendation dates back from 2017.

> Verifiers SHOULD NOT require memorized secrets to be changed arbitrarily (e.g., periodically). However, verifiers SHALL force a change if there is evidence of compromise of the authenticator.

8 years later, no one seems to care. Other things that the NIST doesn't recommend is rules such as "letters + numbers + special characters". What it does recommend is checking for known weak passwords, such as passwords that are present in dictionaries and leaks or relate to the user name.

Here is the relevant document: https://pages.nist.gov/800-63-3/sp800-63b.html
by GeorgeCurtis | 2025-05-13 19:54:36+00:00
we just started off as a side project and thought the name fitted well. With the strands, graph type structure, connections...

We didn't think of getting people to use it until we found it was solving a real pain point for people, so weren't worried about trademarks or names. There was no other helix db so that was good enough for us at the time.
by dahart | 2025-05-13 19:54:36+00:00
The Wikipedia page for Market for Lemons more or less summarizes it as a condition of defective products caused by information asymmetry, which can lead to adverse selection, which can lead to market collapse.

https://en.m.wikipedia.org/wiki/The_Market_for_Lemons

The Market for Lemons idea seems like it has merit in general but is too strong and too binary to apply broadly, that’s where I was headed with the suggestion for another name. It’s not that people want low quality. Nobody actually wants defective products. People are just price sensitive, and often don’t know what high quality is or how to find it (or how to price it), so obviously market forces will find a balance somewhere. And that balance is extremely likely to be lower on the quality scale than what people who care about high quality prefer. This is why I think you’re right about the software market tolerating low quality; it’s because market forces push everything toward low quality.
by chvid | 2025-05-13 19:54:40+00:00
You have plenty of government id's in the US as well. Driver licenses, tax number, birth certificates ...

I think often people mess up the subjects of privacy, freedom and a government provided id. You can have privacy and freedom even if you have a government issued id. And you can have your privacy and freedom taken away from you without the government giving you standardized way of proving your id.
by Gormo | 2025-05-13 19:54:57+00:00
Is this constitutional? It sounds like a pretty clear breach of the anti-commandeering doctrine. The federal government can't simply issue commands to state legislatures.

Federal law might supersede state law in areas where the federal government has express powers, e.g. interstate commerce, but if a state is adding AI-related provisions to existing policy in an area it already has authority over, I can't imagine how Congress could attempt to suppress that.

Sure, federal law could likely supersede state law if a state is trying to restrict AI as a commercial service in itself, as that would cross into interstate commerce territory. But if a state already has regulatory authority over e.g. how insurance companies operate within their jurisdiction, adding provisions that relate to how AI is used in the process of providing insurance coverage doesn't seem like something the Congress could legitimately intervene in.
by kbar13 | 2025-05-13 19:55:05+00:00
i worked on a large platform (YC company, too!) previously on their 2FA implementation. while not ideal, it was decided to keep SMS 2FA because there are still people out there without smart phones or in general the ability to do TOTP. but they still have some means to access the site that wasn't a smartphone i guess.

so, it's a bit of a compatibility issue, i guess there will be some portion of the population who will be very upset that they need to buy a whole new smartphone just to securely access their banking details
by itishappy | 2025-05-13 19:55:08+00:00
> I don't get why you'd ever cube the 'r'.

It's pulled out of the unit vector. Might be more clear if I notated the vector bits a bit:

old : new r : r_vec |r| : r_mag r_unit : r_dir

As you know, a vector is a magnitude and direction:

r_dir = r_vec / r_mag

So the formulas from before become (also correctly labeled as `F` per my other comment):

F = G * m1 * m2 / r_mag^2 * r_dir F = G * m1 * m2 / r_mag^2 * r_vec / r_mag F = G * m1 * m2 / r_mag^3 * r_vec
by didibus | 2025-05-13 19:55:08+00:00
In the 50s and 60s, capitalism used to refer to stakeholder capitalism. It was dedicated to maximize value for stakeholders, such as customers, employees, society, etc.

But that shifted later, with Milton Friedman, who pushed the idea of shareholder capitalism in the 70s. Where companies switched to thinking the only goal is to maximize shareholder value.

In his theory, government would provide regulation and policies to address stakeholder's needs, and companies therefore needed focus on shareholders.

In practice, lobbying, propaganda and corruption made it so governments dropped the ball and also sided to maximize shareholder value, along with companies.
by FireBeyond | 2025-05-13 19:55:36+00:00
Background check for a new employer resulted in me getting an email to my personal account:

"Hi, I'm XYZ from XYZ background checks, I'm conducting your pre-employment check, and I just want to confirm that your full name is V, your DOB is W, your place of birth is X, your address is Y and your full SSN is Z...

... and that this is the correct email address for you. Please confirm."

Holy hell. Thankfully I reached out to the employer about this (and the background check company's attempt to reach out to my partner on Facebook for ... something? This wasn't a security check, just a regular employment background) and they were as horrified as me, apologized, and fired their background check provider.
by enaaem | 2025-05-13 19:55:49+00:00
Japan (and Asia in general) have very business friendly zoning laws which suppresses rent. From a Western perspective it's hard to point where downtown even is in a city like Tokyo, because there are businesses everywhere.

Derek Guy once wrote a thread on why Tokyo has more bespoke tailors and shoe makers than the whole US.

https://web-cdn.bsky.app/profile/did:plc:ks3gpa6ftoyaq7hmf6c...
by rad_gruchalski | 2025-05-13 19:55:50+00:00
Yes, pdf.js can do that: https://github.com/mozilla/pdf.js/blob/master/web/viewer.htm....

The purpose of my original comment was to simply say: there’s an existing implementation so if you’re building a pdf file viewer/editor, and you need inspiration, have a look. One of the reasons why mozilla is doing this is to be a reference implementation. I’m not sure why people are upset with this. Though, I could have explained it better.
by flerchin | 2025-05-13 19:55:57+00:00
> I even hit rock bottom: opening myself up to the thought of on-site dev work

This to me is likely the issue. I suspect if he was willing to move and work on-site, he'd have been back in the saddle quite quickly. My forced career moves also all involved a nationwide job search, and corresponding move.

Still, I believe the struggle, and worry that we'll all be there in the next few years.
by talldatethrow | 2025-05-13 19:56:00+00:00
I'm a layman, but in my opinion building quality software can't really be a differentiator because anyone can build quality software given enough time and resources. You could take two car mechanics and with enough training, time, assistance from professional dev consultants, testing, rework, so and so forth, make a quality piece of software. But you'd have spent $6 million to make a quality alarm clock app.

A differentiator would be having the ability to have a higher than average quality per cost. Then maybe you're onto something.
by malux85 | 2025-05-13 19:56:07+00:00
I have vscode open and a directory structure for organisation

The first folder - TODO is more like “Working memory” - unsorted interesting learnings, my actual todo list, notes and thoughts for the next few days

Then different sections for larger relevant parts of my life and memory

People Robots Company Code Reading ZanySchemes Family …etc

Whenever working memory is getting full I’ll take the time (30 seconds) to organise - either move or delete.

The key parts are - 1) Organise when it makes sense to, don’t try and design it all up front and don’t be scared of refactoring memories - the directory structure will anneal to something stable

2) have some damn discipline - tidy your notes, tidy your mind, and put the time and effort in, most people give up on note taking because they are too undisciplined to keep their virtual mind tidy, if you keep your notes tidy then up-keep is negligible, just like keeping your house tidy, maintain a high standard and then upkeep is easy
Ask HN: What OS/distro is used at an AI datacenter
by kranke155 | 2025-05-13 19:56:39+00:00
I am making a film where we see a "desktop" screen of someone working on an AI data centre. They are deploying a new AI model.

I'm a tad confused about this - because I don't know what OS / Linux distro is used at a AI data centre level.

I'd like this to be authentic, but I can't find a lot of information about what is used.

Main question:

I am assuming at the data centre level, one would use Linux? Is that correct?

More questions:

1. So - what about CUDA on Linux? Does CUDA run really well on linux, or do they somehow run the models autonomously from the OS layer when they are running these huge AI models?

2. So if they're deploying a new model, do they use the linux terminal or something else, some sort of nvidia terminal layer, or even custom tools?

3. Is there a preferred distro for an AI data centre, or is this the case that each AI lab makes their own distro or chooses their own?

4. Also, should I assume is this is CLI only, or would they have a distro that has a GUI?

I couldn't easily find answers to these questions, I hope it's ok to ask these on HN here.

This would be a video/multimodal model. The company is a fictional version of Youtube.
by JohnFen | 2025-05-13 19:56:50+00:00
> do you not believe there is some value in trying to store some of what you found / learnt each day,

Sure, but I retain some of that without having to do anything special. I have no need to remember everything. My brain seems to know better than I do what is worth remembering and what isn't anyway. I trust it.

Retention is even more likely to happen if it's information that I actually used that day, and if it's really valuable information, then I probably have used it immediately.
by gethly | 2025-05-13 19:57:57+00:00
The work never ends :) but my point was primarily about focus on the development in case of large features. In between, it's fine to be distracted by customer acquisition.

You are correct though that the first impression is important, so I will just keep doing what I'm doing. On the other hand, I can see hiring someone to go and look for leads, which I can then pursue myself. Seems like a fair compromise.
by 0x000xca0xfe | 2025-05-13 19:58:06+00:00
Honestly, probably not much would happen.

My daily driver laptop is a 2012 Thinkpad I literally pulled out of a scrap heap at my local university but it refuses to die. Moore's law has slowed enough that old hardware is slow but still perfectly capable to run 99% of existing software.

Already existing machines would give us at least one or two decades to restart manufacturing from zero and that is more than enough time to avoid existential problems.

And most computers are under-utilized. The average gaming PC is powerful enough to run the infrastructure for a bunch of small companies if put to work as a server.
by input_sh | 2025-05-13 19:58:41+00:00
Honest suggestion: do not worry about where to put it, worry about what you will type into the searchbar when you half-remember it 2 years later.

No file structure is ever gonna beat a good searchbar, adjust your own notes accordingly. I completely hid the file explorer. If I need to cluster things together, I use very specific key words at the top of the file (think: #Parent/Child), they're far more flexible than a file system.
by danans | 2025-05-13 19:59:04+00:00
> I think we've seen this before. Back before phones were "smart" there was one (Nokia, maybe?) that you could put on a little dock into which you could plug a keyboard and monitor.

Still in the "smart" era, but the Motorola Atrix allowed that, but with its own laptop form factor dock.

https://www.cnet.com/culture/how-does-the-motorola-atrix-4g-...