MurphyA/hacker-news huggingface dataset:
by Aurornis | 2025-12-20 19:14:43+00:00
I’ve never been a smoker, but I’ve known a lot of friends who went through periods of smoking multiple times per week or even daily for periods of time.

Every single one of them denied impairment during those periods. Often vehemently so, belittling anyone who suggested they might be impaired as having succumbed to propaganda.

Every single one of them remarked that they were sharper, more alert, and had better memory after stopping.

It’s an interesting phenomenon to watch. I think it’s becoming more socially acceptable to acknowledge that marijuana causes impairment even after the obvious effects have subsided, which was a taboo topic in the years when saying anything negative about marijuana would get you attacked as being pro-prohibition or pro-imprisonment of drug users. I even remember one of the big technical forums in the 2010s had a long debate thread where people were claiming that THC made them better drivers and citing YouTube videos and “studies” to back it up. It would be rare to see anyone try to make that claim in today’s environment.
by TimorousBestie | 2025-12-20 19:14:55+00:00
> There's probably some of this, but I think it's driven by district attorney not prosecuting people. We see people that have 20+ prior arrests. How many times can a cop arrest the same person and do the paperwork if he's not going to be prosecuted?

There’s plenty of desire to increase prosecution rates in American jurisdictions but little desire to raise taxes high enough to pay for lawyers, judges, courthouses, and humane incarceration—let alone assistance for the otherwise innocent families of criminals. The victims of petty crime are usually poor or middle-class and therefore lack the political power to meaningfully change policy.
by clashandcarry | 2025-12-20 19:15:15+00:00
2000:1::1 would expand to 2000:0001:0000:0000:0000:0000:0000:0001

2000::1::1 could be 2000:0000:0000:0000:0001:0000:0000:001, or 2000:00000000:0001:0000:0000:0000:001

There's ambiguity on where to fill in the five groups of 0000 in the second case.
by unbelievably | 2025-12-20 19:15:18+00:00
I was once a big OpenSCAD user myself but I'm really skeptical that there are many use cases where it's actually more intuitive than a traditional CAD program, even if you're a programmer. It's true CAD programs have a huge amount of features but the basic sketch, extrude, revolve, and loft tools aren't conceptually difficult and are basically the same between Onshape, Fusion, Solidworks, etc. Those tools are sufficient to make 99.99% of OpenSCAD models I'm seeing.

I also have the opposite experience about understanding previous scripts. Unless it's dead simple I'm usually thinking why the hell did I multiply this thingy by sqrt(3)/2 plus this other thing. Maybe a documentation problem, but it's inescapable that sometimes you need a lot of math for what are trivial constraints in an interactive sketch. A real CAD program will let you roll back to any feature to figure out how it's constructed step by step so there's really nothing to decipher.
by nobodyandproud | 2025-12-20 19:15:28+00:00
Driving isn’t a right. No matter how steeped the US is in car culture, it’s important not to lose sight of this.

Now blood tests show a 12-24 hour window of usage. Much tighter than the 2 to 30 days of other tests. In terms of window of time, that’s essentially good-enough.

Of course anyone who consumes cannabis has a strong desire for a tighter and more accurate test, but you’re really fighting against growing masses of irresponsible users.

If the problem is truly wide-spread like alcohol was (and still is), it’s just a matter of time before states or feds push for a good-enough (for the rest of us) solution.
by dminuoso | 2025-12-20 19:15:30+00:00
This would require a complete new ecosystem and likely new language where any degradation of code flow becomes communicatable in a standardized and fully documented fashion.

The closest we have is something like Java with exceptions in type signatures, but we would have to ban any kind of exception capture except from final programs, and promote basically any logger call int an exception that you could remotely suppress.

We could philosophize about a world with compilers made out of unobtanium - but in this reality a library author cannot know what conditions are fixable or necessitate a fix or not. And structured logging lacks has way too many deficiencies to make it work from that angle.
by yodon | 2025-12-20 19:17:16+00:00
On a Mac, you can add sound to the notification:

osascript -e 'display notification "Ready" with title "Claude Code" sound name "Glass"'

(you may need to first use the OSX Script Editor to manually run display notification "Ready" with title "Claude Code" sound name "Glass" to get the Mac to show a permission request dialog for the notifications)
by vunderba | 2025-12-20 19:17:16+00:00
Nice job. As both a student of Chinese and someone who has also developed their own language apps, I think the value prop is the hardest issue you’re going to face. Most apps that I've used on my iPad (Documents, Kindle Reader, and even Pleco itself) already support ePub out of the box.

Additionally they also all support long-press on words to bring up popups containing the Chinese/English definitions.
by limagnolia | 2025-12-20 19:18:25+00:00
As a potential user of an open source project, I care a fair bit what language it is implemented in. As an open source project, I preffer projects in languages and ecosystems I am familair and comfortable with. I may need to fix bugs, add features, or otherwise make contributions back to the project, and thus I am more likely to pick a solution in a language I am comfortable with than in a language I am not as comfortable with, given my other needs and priorities are met.
by Imustaskforhelp | 2025-12-20 19:18:33+00:00
https://hn-wrapped.kadoa.com/Imustaskforhelp

A teenage digital architect who oscillates between solving the world's privacy crisis and wondering if high school chemistry is a psyop designed to kill his GitHub star count.

This is really awesome, I liked how it really detected my chemistry hatred and how the xkcd had the "see the mole concept is a false flag to obfuscate the real data, You have a test tomorrow" line as I kinda winging chemistry sometimes

> You are the only person on earth still trying to make 'decentralized link shorteners via Signal avatars' happen while failing organic chemistry.

100% accurate lmao, but for what it was worth i was trying it with signal call links since you can name a call name link 32 bits of storage which are persisted forever in signal's database iirc so it would've been a shitty link shortener but still I just loved signal and kinda wanted to build something on top of it

Do I really yap so much about chemistry here, I think that I have created more topics, surely lol but still I still enjoyed this a lot, maybe it just catched up on these traits more since I am pretty damn sure that I might be the only person here commenting about why in the world my country is requiring me to master chemistry university level to just get into a basic comp sci degree.

> Show HN: A Kanban board built on top of Bitwarden notes because why not

Btw, this was this close to happen except at the time I was vibe coding it with some new tool to stress test it with prototyping ideas basically but it didnt really work so i gave up on it but let me know if this idea fascinates someone lol

Happy holidays to everyone, this time of the year must mean a lot to people and I appreciate the spirit of holidays and gift giving too :)

Edit: also I love how it catches myself as existential since I genuinely had gotten existential because of hackernews once wondering what are the best ways to promote/grow open source so much so that I had written a manifesto, I can also be considered idealistic but I dont know why I forgot but "The FOSS Existentialist" is such a good title that I am gonna have it in my about page. This was genuinely brilliant.
by karlshea | 2025-12-20 19:18:47+00:00
My two IPv6 issues (even having had a HE tunnel in the past):

- My local ISP (US Internet, soon to be part of T-Mobile Fiber) hasn't enabled it, even though the CEO has said on Reddit for years that it's a priority. Now that they've been acquired who knows if it'll ever happen.

- Linode allows transferring v4 addresses between machines, so if I need to rebuild something I can do so without involving my client who usually has control over DNS. They do not support moving v6 addresses, which means that the only sites I have control over that support v6 are the ones that I control DNS.

Making IPv6 a thing seems like it would be super easy if a couple hours could be spent solving a bunch of dumb lazy problems.
by alwillis | 2025-12-20 19:19:01+00:00
> HTML has become more and more bloated. How many methods do we need to do something that was possible back in the 90s?

This is incorrect. Lots of old stuff was removed or deprecated from the HTML5 specification; elements like `s`, `u` were repurposed from being presentational to semantic:

- acronym

- applet

- basefont

- big

- center

- dir

- font

- frame

- frameset

- isindex

- noframes

- s

- strike

- tt

- u

- xmp

- noembed

- plaintext
by eastbound | 2025-12-20 19:19:06+00:00
Yeah. Well on one side, sharing location on Whatsapp has reduced by 90% the need to text while driving.

But we still need to address the rest. Radio is chokefull of ads and the usual radio content is often insufficient to overcome my loneliness, so I’m not gonna say it’s ok, but I listen to Youtube videos while driving. You can sanction me. But let’s make the radio less boring for the sake of safety.
by Aurornis | 2025-12-20 19:19:11+00:00
One helpful data point is that only about 20% of people over age 12 report any THC use at all in the prior year. Some surveys have even lower numbers, around 1 in 8, but let’s take the highest number for the sake of this comparison.

So the median THC level is 0%.

Having 40% of people register high enough levels of THC to pass an impairment threshold is a remarkably high number no matter how you look at it.
by ekropotin | 2025-12-20 19:20:02+00:00
As experiment, I decided to try using proxmox VM with eGPU and usb bus bypassed to it, as my main PC for browsing and working on hobby projects.

It’s just 1 vCPU with 4 Gb ram, and you know what? It’s more than enough for these needs. I think hardware manufactures falsely convinced us that every professional needs beefy laptop to be productive.
by missedthecue | 2025-12-20 19:20:55+00:00
The supply is relatively fixed. The number of NFL seats has grown somewhat since 1990 because there are a few new teams, the season is a little longer, and lots of teams have built new stadiums with a little bit more capacity. But the supply of annual NFL seats is still similar to what it used to be.

But meanwhile, top quartile income Americans earn way (35% more inflation-adjusted), and there are 40% more of them since 1990. This is why the average NFL seat is $170 and the NFL sold out almost every game last year.

You'll notice this in all kinds of areas. Airliners are filling their planes with a greater and greater percentage of first class seating for example. The top 25% of american earners just have an insane amount of spending power.
by fabian2k | 2025-12-20 19:22:07+00:00
Looks very interesting. I really like trigram indexes for certain use cases, but those are essentially running an ILIKE %something% on various text content in the DB. So that would fit the described limitations of this index type very well.

Usually you're quickly steered towards fulltext search (tsvector) in Postgres if you want to do something like that. But depending on what kind of search you actually need, trigram indexes can be a better option. If you don't search so much for natural language, but more for specific keywords the stemming in fulltext search can get in the way.

One information that would be nice here is a comparison of the index size on disk for both index types.
by didgetmaster | 2025-12-20 19:22:14+00:00
Back in college (for me the 80s), I learned that storing table data in rows would greatly increase performance due to high seek times on hard disks. SELECT * FROM table WHERE ... could read in the entire row in a single seek. This was very valuable when your table has 100 columns.

However; a different query (e.g. SELECT name, phone_number FROM table) might result in fewer seeks if the data is stored by column instead of by row.

The article only seems to address data structures with respect to indexes, and not for the actual table data itself.
by reactordev | 2025-12-20 19:22:18+00:00
my ex-girlfriend challenged this in court last year and lost. She was pulled over coming home and forced to take a field sobriety test. She was angry and was refusing, trying to explain that she just got off work. They arrested her for DUI. Called me to get the vehicle with her crying in the squad car. I bailed her out of jail for $500 two days later. Her BAC was 0.

Her attitude when asked to perform the field sobriety test was taken as a refusal and she lost her license, now with a DUI on her record.

We all like to think that these methods work, and they do most of the time, and yet there still are cases where a normal person is subjected to them and they deem them "unworthy" to pass.
by yjftsjthsd-h | 2025-12-20 19:23:09+00:00
I've been kicking this around in my head for a while. If I want to run LLMs locally, a decent GPU is really the only important thing. At that point, the question becomes, roughly, what is the cheapest computer to tack on the side of the GPU? Of course, that assumes that everything does in fact work; unlike OP I am barely in a position to understand eg. BAR problems, let alone try to fix them, so what I actually did was build a cheap-ish x86 box with a half-decent GPU and called it a day:) But it still is stuck in my brain: there must be a more efficient way to do this, especially if all you need is just enough computer to shuffle data to and from the GPU and serve that over a network connection.
by djaouen | 2025-12-20 19:23:25+00:00
I grew up in NYC and was lucky enough (or smart enough, I suppose) to get into one of the top public high schools in the city. Because of that (and doing well enough in that school), I was able to squeak into Cornell via its wait list.

But I don’t come from connections: my mother was a receptionist and my father was a sanitation worker. For a while after college, I managed to find work doing backend development for various local businesses, but nothing fancy. But even that has dried up due to various reasons (including a major health issue I developed after graduating).

For some reason, it seems people in authority positions are irked by me due to my humble beginnings & my insistence on continual learning, even after graduating from school. If I had a penny (or I guess now, nickel?) for every time an interviewer asked me, “How did you learn that when you majored in Industrial Engineering,” I’d be a very rich man.

Or at least able to afford all the books I want to read. :(
by dns_snek | 2025-12-20 19:23:39+00:00
That's not a good reason. Other forms of criminality and reckless behavior don't get this kind of extreme leniency.

People shouldn't have their license taken away over 1 speeding ticket but there need to be escalating punishments that include license suspension, community service, jail time. If someone works their way through all of these and still ends up speeding then they can't be trusted to drive a vehicle on public roads.
by skywhopper | 2025-12-20 19:23:49+00:00
This stat beggars belief. I think the headline is phrased incorrectly, and the overall stat is misleading. The actual stat is only from dead drivers who were tested for THC.

Researchers analyzed coroner records from Montgomery County in Ohio from January 2019 to September 2024, focusing on 246 deceased drivers who were tested for THC following a fatal crash. When autopsies are performed, drug screening is typically part of the process.

The unanswered and unaddressed questions here are, how often and why were the THC tests administered? The article says that’s standard for autopsies. But how often are autopsies conducted on deceased drivers? I would be truly surprised if it’s 100%. In fact, I would expect it to happen only in cases where there was some suspicion of intoxication. In which case, this finding isn’t very surprising after all.
by bgwalter | 2025-12-20 19:24:23+00:00
> Much more important also is that LLMs don't try to scam you, don't try to fool you, don't look out for their own interests.

They follow their corporations instead. Just look at the status-quoism of the free "Google AI" and the constant changes in Grok, where xAI is increasingly locking down Grok, perhaps to stay in line with EU regulations. But Grok is also increasingly pro-billionaire.

Copilot was completely locked down on anything political before the 2024 election.

They all scam you according to their training and system prompts. Have you seen the minute change in the system prompt that led to MechaHitler?
by culi | 2025-12-20 19:25:13+00:00
I'm a programmer. I once had an idea stuck in my head for a 3d model that I just needed to get down somewhere. I tried learning the basics of AutoCAD but after 2 days of tutorials I still felt overwhelmed.

I looked into alternatives and learned about OpenSCAD. The immediate visual feedback makes picking up the language a breeze. Within an hour of downloading I familiarized myself with the language and had manifested my idea into a 3d model

I think that's a perfect example of a use-case where OpenSCAD shines. It's extremely easy to pick up if you have programming experience and it might even be a good thing to learn before moving onto more professional CAD software. From a teaching perspective, being able to have almost immediately-useful output is priceless
by ModernMech | 2025-12-20 19:26:49+00:00
> If less than 40% of the population has impairment levels of THC at any given time but 40% of deceased car crash drivers have impairment levels

You're looking at two different populations in this and your other comments, drawing a false equivalence. The study is over a 6 year period, over which 103 people (40%) tested positive for THC. You're saying that because the number of people who self-reported consuming THC in the last year is 20%, that means the result of the study is eye popping and shocking because the number is 40%. But you cannot directly infer elevated risk just because a subgroup has a higher prevalence than the general population without controlling for exposure and confounders. Especially considering what we are talking about is people self-reporting they are criminals.

Moreover, fatal crashes are not randomly distributed across age groups or vehicle types, and younger people, because they are not as experienced, they drive more often, in smaller cars with fewer safety features, are more likely both to smoke THC, and die in crashes even while sober. So there's a strong sampling bias here you're not accounting for.

And this isn't downplaying the results, it's pointing out its limitations of the study and warning you not to read into it what isn't there. You seem to be shocked by the results which should cause you to dig deeper into the study. I would say the most surprising thing here is they found nothing changed before and after legalization.
by bko | 2025-12-20 19:28:00+00:00
> victims of petty crime are usually poor or middle-class and therefore lack the political power to meaningfully change policy

This is just not true. Most of this is organized exploiting a lenient justice system. From my original NYT article:

> Last year, 41 people were indicted in New York City in connection with a theft ring that state prosecutors said shoplifted millions of dollars worth of beauty products and luxury goods that were sold online.

The idea that these 300 people are just stealing bread to feed their families is a myth.
by Mawr | 2025-12-20 19:28:28+00:00
Cute, essentially equivalent to Python's inner functions and Go's closures, e.g in Go:

func foo(cfg_file string) (parsed, error) { config := func() { return json.Parse(cfg_file) } return config.parsed }

All of these are however poor solutions to the problem, because they're not true nested functions — they can access arbitrary variables defined outside their scope. Python at least restricts their modification, but Go doesn't. I'm guessing in Rust it's at least explicit in some way?

In any case, the real solution here is to simply allow proper nested functions that behave exactly like freestanding functions in that they can only access what's passed to them:

func foo(cfg_file string) (parsed, error) { func config(cfg_file) config { return json.Parse(cfg_file) } return config.parsed }

This way you can actually reason about that block of code in isolation—same effect as when calling a freestanding function, except this doesn't expose the nested function to callers outside the parent function, which is valuable.
by threethirtytwo | 2025-12-20 19:28:35+00:00
You're not a skeptic but you're not fully a supporter either. You live in this grey zone of contradictions.

First you find them useful but not intelligent. That is a bit of a contradiction. Basically anyone who has used AI, seriously knows that while it can be used to regurgitate generic filler and bootstrap code it can also be used to solve complex domain specific problems that is not at all part of its training data. This by definition makes it intelligent and it makes it so we know the LLM understands the problem it was given. it would be This by definition makes it intelligent, and it makes it so we know the LLM understands the problem it was given. It would be disingenuous for me not to mention how wrong and how much an LLM hallucinates, so obviously the thing has flaws and is not super intelligence. But you have to judge the entire spectrum of what it does. It gets things right and it gets things wrong and getting something complex right makes it intelligent while getting something wrong does not predude it from intelligence.

Second most non skeptics aren't saying all human work is going to be obsolete. no one can predict the future. But you've got to be blind if you don't see the trendline of progress. Literally look at the progress of AI for the past 15 years. You have to be next level delusional if you can't project another 15 years and see that obviously a super intelligence or at least an intelligence comparable to humans is not a reasonable prediction. Most skeptics like you ignore the trendline and cling to what Yann lecunn said about llms being stochastic parrots. It is very likely something with human intelligence exists in the future and in our lifetimes, whether or not its an LLM remains to be seen but we can't ignore where the trendlines are pointing.
by ishandotpage | 2025-12-20 19:28:37+00:00
`pglite` is a WASM version of postgres. I use it in one of my side projects for providing a postgres DB running in the user's browser.

For most purposes, it works perfectly fine, but with two main caveats:

1. It is single user, single connection (i.e. no MVCC) 2. It doesn't support all postgres extensions (particularly postGIS), though it does support pgvector

https://github.com/supabase-community/pg-gateway is something that may be used to use pglite for prototyping I guess, but I haven't used this.
by derriz | 2025-12-20 19:29:02+00:00
There is no mention that these drivers were ONLY impaired by weed. But I can’t believe a paper would not look at the confounders. I know quite a few who are not regular smokers but will imbibe after a few beers if it’s being passed around. Also weed is popular with consumers of stimulants. Without knowing the possible confounders, this statistic tells you very little.