MurphyA/hacker-news huggingface dataset:
by amluto | 2025-05-27 21:17:25+00:00
I guess my peeve could be restated as: Hive’s naming scheme doesn’t handle this, and Parquet per se can’t handle it because it’s out of scope, but all the awesome tools (e.g. DuckDB), when used on Parquet files without something with “lake” or “ice” in the name, use the Hive scheme.

Someone could buck the trend and extend Hive’s scheme to support ranges.
by DigitallyFidget | 2025-05-27 21:18:03+00:00
Genuine question here: what's the actual benefits of blocking icmp?

Not asking "Why should I leave it on", I'm specifically asking for legitimate valid use cases for disabling it.

I really can only think of one, abd that's if your server just gets a relentless amount of pings that it takes up a significant portion of your bandwidth. (There was a news article about a news site in Australia, I think, that had that happen)
by methods21 | 2025-05-27 21:18:24+00:00
Never a fan of these 'click bait' headlines, and surprised it made it this high in hacker news. We get the 'premise', Mr. Money Mustache has been preaching similar for years, but these numbers are just not realistic. You need money to buy the house, maintain it, clothes, healthcare, NY is going to jack your taxes up, etc. and more, as all the folks have mentioned here.

Can some folks live more frugally, for sure, but this is unrealistic.
by recursivecaveat | 2025-05-27 21:19:01+00:00
> “Eighty five percent of ad accounts removed or banned for violating our policies never spent a dollar” and “nearly 70% of ad accounts removed for violating our policies are removed or banned within a week of account creation, many on the very day they’re created,” the spokesperson said.

"Hey, a huge portion of the ads actually being put in front of users are scams". "Don't worry, 90% of the accounts we're banning don't actually put ads in front of users".

"I know you hired us to remove the asbestos from your house, but don't worry, 90% of the asbestos we've found was not even in the house, it was already piled in a dumpster outside when we arrived".

This is a classic misdirection. The volume of spam increases exponentially with decreased effort. So you can have a really stupid filter that catches 99% of spam requests, while the output of the filter that the user sees is still completely dominated by spam. The really stupid low-effort spam is just so much more numerous.

The only things that really matter are: what % of actual user views are given to scams, and how hard would meta have to work to catch the scams that we can see coming through.
by fmstephe | 2025-05-27 21:19:04+00:00
In New Zealand, where I live, the Salvation Army (charity second hand shop) offers a service where they will come and clear out a house for you. They will take everything and dispose of the trash and keep and resell anything of value.

This is really used to clear out houses of deceased relatives etc.

This doesn't resolve your problem of generally selling your used goods conveniently. But I always found it to be a really interesting service. Because it identifies that there is real practical difficulty in simply giving away a lot of goods, and the solution is to provide this complete service to make it easier.
by 0xBDB | 2025-05-27 21:19:17+00:00
It's precisely what Keynes meant. He meant that 15 hours of labor now will buy you what 40 would then. How could he have meant anything else?

How would he anticipate houses 50% larger than his generation's, or cars with twice the horsepower at four times the gas mileage, or universal air conditioning (as few houses in the US lack air conditioning now as lacked running water in 1950) or a monthly bill for Internet or proles being able to afford intercontinental flights more than once in a lifetime?
by bsder | 2025-05-27 21:19:19+00:00
> Huge numbers of people could avoid universities if we offered better vocational training.

Could they? This is a perennial HN complaint; however, the salaries for jobs that vocational schools would train your for show very little pressure to increase. That doesn't indicate some mythical pent up demand that a bunch of new vocational students could slot into.

Most people are going to college because they want to avoid working at the equivalent of an Amazon warehouse. If you can give them a way to do that, they'll happily skip going to a university.
Ask HN: Is this Tetris variant novel? Would it be fun?
by amichail | 2025-05-27 21:20:00+00:00
Is there a Tetris variant in which each tetromino is assigned a random color, and when a line is cleared (which may contain multiple colors), any contiguous region of squares that is adjacent to a removed square in that line and shares its color is also removed?

Do you think this would be a fun variant?
by scyclow | 2025-05-27 21:20:29+00:00
All valid concerns for the dystopian world we already live in, but crypto doesn't make any of this any more likely. You can make all the same arguments against existing bank accounts or credit cards. What's to stop Visa from spending more than $200 on "bad" products? At least stablecoins are managed by a smart contract, so you can see if that functionality even exists in the first place. If it doesn't then they can't add it in later. If it does, then you can swap you money for a stablecoin that doesn't have spending limits.

Also, there's nothing stopping foreign banks from issuing their own stablecoins. Owning a US bank-issued stablecoin is like having an account with that bank. If you have a problem with that, then you can swap your balance for a EUR-backed stablecoin issued by a European bank. Or better yet, you could sell it for real USD or EUR.
by tom_ | 2025-05-27 21:21:39+00:00
The 68000 is 16 bit internally, and can access memory only 16 bits at a time, but the instruction set was designed with future iterations in mind, and most instructions can operate on 32 bit quantities - with a performance penalty. (Because in essence it has to do the work in 2 stages.)

Whether this is enough to make it count as actually 32 bits is one for the philosophers.
by sigmoid10 | 2025-05-27 21:21:45+00:00
Fun fact: Long before the dawn of the GPU deep learning hype (and even before CUDA was a thing), a bunch of CS nerds from Korea managed to train a neural network on an ATI (now AMD) Radeon 9700 Pro using nothing but shaders [1]. They saw an even bigger performance improvement than Hinton and his group did for AlexNet 8 years later using CUDA.

[1] https://ui.adsabs.harvard.edu/abs/2004PatRe..37.1311O/abstra...
by HeyLaughingBoy | 2025-05-27 21:21:45+00:00
It's mainly this, and the comfort level with tools.

My riding mower is 19 years old. It's approaching Ship of Theseus levels at this point, but since the Kawasaki motor shows no signs of giving up the ghost, I'm hard pressed to spend the $2k+ it would take to replace it. If it costs me $75 each year in replacement parts, I could have it for another 10 years.
by dkga | 2025-05-27 21:21:55+00:00
A few „anthropological“ impressions from this text.

First, why do people throw away tennis shoes, unopened food etc? Why not take with them on to their next destination?

Second, why not just put on the street so that other people can come and collect items? This is very common for example here in Switzerland - you put unwanted things ranging from old kid toys to books to furniture on the sidewalk with a sign saying „gratis - zum mitnehmen“ (free to take with you) and people who want/need come and collect them. Only if anything is really unwanted, you take back and throw away.

Third, I was surprised the author felt bad. A sign that there is unfortunately some stigma in re-using things. She is actually doing very nice work by collecting them and trying to give them a new lease of life for herself or others (she mention she donated some of the items)
Show HN: I built an offline VIN decoder using the NHTSA vPIC dataset
by samsullivan | 2025-05-27 21:26:13+00:00
I wanted to open source the VIN decoder I built for the car ownership platform I'm building. It uses a custom variant of the NHTSA vPIC database https://vpic.nhtsa.dot.gov/api/ ported to sqlite, its fully offline and works right out of the box, I got the <300MB SQL Server database down to about 46MB. Hope this helps anyone looking for a VIN decoder, most use the NHTSA api but AFAIK this is the only version thats offline and using a custom version of the db. For a v2 I wanted to generate a dataset of basically every 'nano vin' (the check digit in position 9 and last 6 digits are arbitrary) and the corresponding make model year trim mappings. I ran some estimates and it would fit pretty comfortably in a modern VMs memory. Hope this is useful for anyone working in the space.
by dataflow | 2025-05-27 21:26:17+00:00
> I wonder what we need to do to make buying and selling used items convenient

I'm not sure how feasible it is in practice. In theory I think you'd at least need the following to be possible:

(a) Being able to leave them literally outside your door in a manner that anyone in the neighborhood can see (basically impossible without additional technology for a lot of people)

(b) Being able to put them literally outside your door without causing issues (also impossible for many people due to everything from fire codes to simply lack of room or your own potential of tripping on them)

(c) Being able to make sure that anyone who takes them pays for them appropriately (nobody is going to keep an eye on them for free)
Ask HN: Why that many more US-based companies are hiring "US-only" remote?
by soneca | 2025-05-27 21:26:32+00:00
I recently got laid off and was going through the latest "Who is hiring".

I noticed that about 90% (guessing) of US-based companies that hire remote are hiring "(US only)".

I know there are plenty good reasons for a US company to hire US-only, I am only surprised because a few years ago (when I last was searching for a job), that was definitely not the case. "US-only" was the exception, not the rule. At least in the universe of companies that post on "Who is hiring".

What prompted the change?
by suryao | 2025-05-27 21:26:44+00:00
For writing technical styled documentation, I've found fumadocs to be amazing.

It looks great out of the box and supports a product switcher, which can be used for maintaining related products or product versions. It also supports OpenAPI imports and API playgrounds.

The best part is that it is just a fully fledged (nextjs) app that is entirely customizable with relative ease. We just moved to it from Docusaurus and couldn't be happier.
by kragen | 2025-05-27 21:27:13+00:00
That seems plausible. But I wonder how far you could get in a lexically scoped language using temporary assignments to variables that get automatically undone when exiting a scope, the way dynamic scope is usually implemented with shallow binding. Other domains where you often want such temporary assignments include floating-point math (execute this calculation with the rounding mode temporarily set to "upward") and graphics (execute this drawing with the current transformation matrix temporarily set to foo and the current color temporarily set to bar).
by sgarland | 2025-05-27 21:27:15+00:00
> I think the interesting question is like, if I have X amount of time and mental bandwidth to learn about a technology, what's the most helpful lossy compression of concepts that fits?

You cannot possibly know if your condensed version is accurate or sufficient if you can't point to the author of it and definitively state that they knew the original material well enough to summarize it.

I also continue to push back on the idea that [backend] devs shouldn't need to know SQL extremely well, and as an extension, their RDBMS vendor's implementation of the spec. You have to know your main programming language to get the job; why should the part of it that stores and retrieves all information for your application somehow be lesser? If you don't want to, then you don't get to write queries and design schemas, period. Access them via an API that's been designed by domain experts, otherwise you're putting everyone at risk.
by CSN3RD | 2025-05-27 21:27:16+00:00
Several vendors had this bug in the past https://www.kb.cert.org/vuls/id/347067

CVE-2023-4481 (Juniper) CVE-2023-38802 (FRR) CVE-2023-38283 (OpenBGPd) CVE-2023-40457 (EXOS)

Arista was not affected then.
by oliviergg | 2025-05-27 21:27:49+00:00
Thank you for this release. I believe your library is a key component to unlocking the potential of LLMs without the limitations/restricitions of existing clients.

Since you released version 0.26 alpha, I’ve been trying to create a plugin to interact with a some MCP server, but it’s a bit too challenging for me. So far, I’ve managed to connect and dynamically retrieve and use tools, but I’m not yet able to pass parameters.
by fellowniusmonk | 2025-05-27 21:28:04+00:00
It reads very much like the positive — bloviation — of AI.

Where the author just asked gpt to "tell me why AI can't replace my job".

So — little — content. This — is — slop.

*I mean the whole first section is the most AI sounding thing I've ever seen, even the attempt at a punchy opening is obvious:

The executives get excited. The consultants circle like sharks. PowerPoint decks multiply. Budgets shift.

And then reality sets in.
by rh3939 | 2025-05-27 21:28:06+00:00
Hi HN, author here:

I received some great feedback so I have decided to focus on raw video for now and more rigorous testing around noisy videos. I will continue to update the repo frequently. Its only very early days but the raw video testing has yielded some decent results(with some caveats).

- Compression ratio of 4.8% (95.2% size reduction) - Compression speed: 8.29 frames per second - Decompression speed: 9.16 frames per second - Only 4% of frames needed as keyframes - Perceptually lossless output (PSNR: 31.10 dB)

Comparison with standard codecs: - Rational Bloom Filter: 4.8% - JPEG2000 (Lossless): 3.7% - FFV1 (Lossless): 36.5% - H.265/HEVC: 9.2% (lossy) - H.264: 0.3% (lossy)

### Current Limitations and Future Work While the compression results are promising, the system is not yet truly lossless in its handling of color channels. The current implementation faces challenges with the YUV to BGR color space conversion process:

1. *Color Space Conversion Precision*: Small rounding errors occur during conversion between YUV and BGR color spaces, leading to minor differences in pixel values (average difference of ~4.7).

2. *Channel Processing*: The current implementation processes color channels in BGR format after conversion, which introduces additional precision loss.

The plan moving forward is to: - Implement direct YUV processing without conversion to BGR - Develop a true bit-exact handling of color data - Refine the Bloom filter parameters specifically for chroma subsampling patterns - Create a dedicated verification system for each color channel independently

I want to be able to prove its mathematically lossless but I am quite a ways from this. I plan to pursue this lossless compression idea and I have a few other ideas in different domains around using the rational bloom filter.
by notatallshaw | 2025-05-27 21:29:09+00:00
As the author of that post, I'd like to point out the example was meant to be stupid.

The purpose was to show different ideologies and expectations on the same code don't work, such as strict backwards compatibilities, duck typing, and strictly following linting or type hinting rules (due to some arbitrary enforcement). Although re-reading it now I wish I'd spent more than an evening working on it, it's full of issues and not very polished.

> If you have a super-generic function like that and type hinting enforced, you just use Any and don't care about it.

Following the general stupidness of the post: they are now unable to do that because a security consultant said they have to enable and can not break RUFF rule ANN401: https://docs.astral.sh/ruff/rules/any-type/
by rsynnott | 2025-05-27 21:30:00+00:00
The 386SX was a similar story, and is normally thought of as basically 32bit. I think the perception difference may be down to timing; the 386SX came out _after_ the DX (with 32 bit data bus), so was thought of as a cheap 32bit chip, vs the 68000 which started off life with a 16bit data bus.

(Fun fact: there was also the 68008, which was a 68k with an 8 bit bus!)
by eesmith | 2025-05-27 21:30:08+00:00
I'm having a hard time thinking of any non-Europeans who would be interested in going to the US for education when European schools were closer and better. I'm having a harder time wondering why Madison et al. would care.

By "foreigner" do you include Native Americans? From what I gather, Harvard, Dartmouth, and other colonial era colleges nominally encouraged educating Native Americans, as part of their Christianization. There wasn't much of it, to be fair, but it was a stated goal. There were also schools like Moor's Indian Charity School.

By "foreigner" do you include the Black population? We know there were schools for black children, like the Williamsburg Bray School. From what little I know of slaveholder Madison, I don't think he was against free blacks getting an education.

Could you point to anything specific from Madison on this topic?
by perching_aix | 2025-05-27 21:30:33+00:00
Regardless of whether we go with 512x324, 512x342, or 512x384, the claim of 72 PPI (exact) and 9" of diagonal size (exact) are not simultaneously possible.

Extremely nitpicky thing I know, but this kinda stuff really bugs me, could somebody please clarify what was the real size (and/or PPI) here?

For reference:

512x324 @ 72 PPI = 8.42" (or 214 mm) (rounded)

512x342 @ 72 PPI = 8.55" (or 217 mm) (rounded)

512x384 @ 72 PPI = 8.89" (or 226 mm) (rounded)

The first two don't even yield an integer result for the number of diagonal pixels, let alone yield an integer multiple of 72. Or would there be bars around the screen, or how would this work?
by simonw | 2025-05-27 21:30:40+00:00
I find it extremely useful as a research tool. It can talk to probably over 100 models at this point, providing a single interface to all of them and logging full details of prompts and responses to its SQLite database. This makes it fantastic for recording experiments with different models over time.

The ability to pipe files and other program outputs into an LLM is wildly useful. A few examples:

llm -f code.py -s 'Add type hints' > code_typed.py git diff | llm -s 'write a commit message' llm -f https://raw.githubusercontent.com/BenjaminAster/CSS-Minecraft/refs/heads/main/main.css \ -s 'explain all the tricks used by this CSS'

It can process images too! https://simonwillison.net/2024/Oct/29/llm-multi-modal/

llm 'describe this photo' -a path/to/photo.jpg

LLM plugins can be a lot of fun. One of my favorites is llm-cmd which adds the ability to do things like this:

llm install llm-cmd llm cmd ffmpeg convert video.mov to mp4

It proposes a command to run, you hit enter to run it. I use it for ffmpeg and similar tools all the time now. https://simonwillison.net/2024/Mar/26/llm-cmd/

I'm getting a whole lot of coding done with LLM now too. Here's how I wrote one of my recent plugins:

llm -m openai/o3 \ -f https://raw.githubusercontent.com/simonw/llm-hacker-news/refs/heads/main/llm_hacker_news.py \ -f https://raw.githubusercontent.com/simonw/tools/refs/heads/main/github-issue-to-markdown.html \ -s 'Write a new fragments plugin in Python that registers issue:org/repo/123 which fetches that issue number from the specified github repo and uses the same markdown logic as the HTML page to turn that into a fragment'

I wrote about that one here: https://simonwillison.net/2025/Apr/20/llm-fragments-github/

LLM was also used recently in that "How I used o3 to find CVE-2025-37899, a remote zeroday vulnerability in the Linux kernel’s SMB implementation" story - to help automate running 100s of prompts: https://sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-...
by th0ma5 | 2025-05-27 21:31:11+00:00
I don't know the context that could be cordial when there is so much outright dishonesty about the state of LLM uptake. Can we have some guidance about how to call out bullshit? I know that the fake it to you make it or sell the shovels to the gold rush people are staples on here, but I don't what to do with a technology that is purely for that and seemingly for nothing else. Why do all of the breathless pro-LLM posts get pushed to the top of every LLM story, and you have to go to the second comment aways to see the avalanche of people calling bullshit? Thank you for your time moderating, it would be helpful to understand the guidance in face of the brigrading on here.
by thephyber | 2025-05-27 21:31:49+00:00
College students (undergrads) aren’t full adults yet. They are transitioning from living under the protection of their parents to living on their own.

Throwing away things that could be sold could be a matter of (1) frustration/exhaustion with the end of the semester, (2) no place in their car / plane luggage for extra items, (3) indifference of kids who don’t know the value of a dollar (the Ballenciaga slides are literally the most expensive version of a slide you can buy — I usually get mine for less than $10).

On the street might be a better solution, but in the US you can be fined for littering (“dumping”) if you abandon items on someone else’s property. Lots of local laws in the USA are designed to maintain high property values (while subsidizing the very expensive police departments).
by cmovq | 2025-05-27 21:32:15+00:00
> gl.drawArrays(gl.TRIANGLES, 0, 6);

Using 2 tris for this isn’t ideal because you will get duplicate fragment invocations along the horizontal seam where the triangles meet. It is slightly more efficient to use one larger triangle extending outside the viewport, the offscreen parts will be clipped and not generate any additional fragments.

[1]: https://wallisc.github.io/rendering/2021/04/18/Fullscreen-Pa...
by dragontamer | 2025-05-27 21:32:36+00:00
Sure. But the embedded PowerQUICC chips were in use between the years 199x and 201x, and are still manufactured today in 2025.

My overall point is that Power ISA has a long history as both high performance compute AND embedded (be it industrial, automotive, or space embedded).

Maybe in the late 1980s POWER was high performance only. But there's a big history here and it's weird to see this discussion ignore Power ISA's long embedded history.

-------

Does OpenPower have a chance today? I dunno. Obviously the hype is in RISC-V and maybe a bit of ARM. But it's not a bad ISA and Power used to target embedded not very long ago
by acaloiar | 2025-05-27 21:32:37+00:00
> how do we square that with this interpretation producing results that are squarely at odds with the intent of the founders

Jesus christ. Don't you feel at all obligated to provide support for the thing you're "pretty sure" about before asking people to accept it at face value? Based on your surety? It's hard to tell if this is basic rage-baiting with the absurdity of your claim sans support, or if you truly believe that wild claims don't require any, because enough people's reactionary vibes align with yours.
by pavlov | 2025-05-27 21:33:06+00:00
For CRTs, the diagonal measurement was of the physical tube. The actual viewable area was smaller. Part of the tube’s edges were covered by plastic, and there was always also some margin that wasn’t used for picture so it was just black.

It was a 9” tube with 3:2 aspect ratio. Your calculation of a 8.5” image at 72 dpi sounds right.
by silvestrov | 2025-05-27 21:33:08+00:00
No, this is very wrong. The 68000 is 32 bit internally and it has 32 bit registers: https://en.wikipedia.org/wiki/Motorola_68000

Externally it had 16 bits for databus and 24 bits for addresses. That is why we later got the 32 bit clean ROMs as Apple used the upper unused 8 address bits for flags.