MurphyA/hacker-news huggingface dataset:
by LorenPechtel | 2025-07-06 19:23:36+00:00
No. The drug warriors are neither humane nor sensible. Opioids are actually not all that dangerous, but the range between high and dead is not all that great. When you know what you're getting (chronic pain patients) the problem rate is low.

But with the street you get varying purity. And the drug war has caused the manufacturers to move to more concentrated products to make smuggling easier. And fentanyl has a very nasty property: the tendency to clump. This is no problem for the pharmaceutical industry, but when you have a dealer mixing stuff it's easy for a lethal clump to remain in the product. You get that, you better hope somebody nearby has Narcan.

You don't see it killing the pain patients like it kill the people on the street--this is a dose problem, not something inherent to the drugs.

And why is that a reason, anyway? There is no question as to the most deadly recreational drug: tobacco. Yet it's legal. Protecting the user is clearly not the motivation. (The data isn't so clear on the second because the data is so contaminated, but it looks like it is alcohol.)

Also, the majority of crime traces back to drugs. Remove the drug market, you cut the crime rate in half overnight. And there's no question the drug war causes a lot more harm than the drugs.

I can see no reasonable justification for the low-addictive stuff not to be legal. The highly addictive stuff you can make an argument for it being legal with a prescription, addiction is a valid reason for a prescription. It has been handled that way in the past in England and worked well. In in ideal world I would favor this approach, but I have a sufficient distrust of the politicians to trust this wouldn't become full of obstacles.

Amsterdam's experience with legalization says that it doesn't increase use, but advertising does.

Thus, what I would like to see: General promotional stuff is limited to simple item-price listings. Nothing more can be presented unless the customer has already demonstrated interest, either by entering a website (and the insides of the website can't be bookmarked, you must enter the gate each visit), or by entering a portion of a store devoted to that drug. Externally there must be a minimum of information needed to identify what the business is.

The selecting your stuff part can never be mixed, you want two different types and you must visit both places even if they have a common checkout.

The same rules apply to all recreational drugs, including tobacco and alcohol.
by echelon | 2025-07-06 19:23:49+00:00
You're not a normie and defaults matter. Most of the world doesn't even know what an ad blocker is let alone know how to install one.

There's really only two browsers and one search engine. It doesn't matter what you do, because the rest of society is ensnared and the economic activities that matter are held captive.

If generative models compress all of the useful activities (lowering the incumbency moat) and agents can perform actions on our behalf, then it reasons that we may have agents that act as personal assistants and have our best interests as top priority. Ads are clearly in violation of that.

It's so funny to be a contrarian on HN. I get quite a lot of predictions right, yet all I get in exchange is downvotes and claims that I'm an LLM. I'll have to write a retro one of these days if I ever find the free time.
by benreesman | 2025-07-06 19:24:32+00:00
I was talking to a buddy earlier and realized in a conscious way something I suppose I knew but hadn't thought about deeply.

As godawful as this brute force, "change the laws because China!", 24x7 assault of LLM hypelords has been (and I love GP's analogy about finding a helicopter useful), and its been preeeeety unpleasant, there is a silver lining.

The compute and tooling needed for all the other under-explored, nifty as hell, highly accessible ML/AI stuff is like free by comparison now: there are H100s floating around for around a dollar an hour, L40s for sometimes pennies on that dollar, and like, all of neural machine translation or WaveNet era speech to text or resnet style transfer was done on like, a thousand bucks in today's compute. Lambda Labs has a promo on GB200 where its cheaper than H100!

And there's " plenty of room at the bottom": Jetson boards and super cool autonomy stuff like that is Raspberry Pi accessible.

I'd rather they didn't feel the need to like, take over the government to get terrawatts of "just make it bigger", but given that's sort of already happened, I'm looking for what opportunities are created by such monomania.
by jauntywundrkind | 2025-07-06 19:24:49+00:00
Meanwhile Apple legitimately built on Qwen2.5-Coder-7B, adding some of their own novel ideas. It mostly seems like custom training for their own code examples, but notably if you turn the temperature up, it can write multiple blocks of code out of order.

https://9to5mac.com/2025/07/04/apple-just-released-a-weirdly... https://news.ycombinator.com/item?id=44472062
by ayaros | 2025-07-06 19:24:54+00:00
The Lisa doesn't have square pixels, so the canvas is scaled to be 1.5x as high as it is wide. This generally looks fine on high-dpi displays, because there's technically twice as much space to render with (pixels are 2px wide by 3px high). However, things will look distorted on a lower resolution display (where pixels are 1px wide by 1.5px high). That's just a compromise I made when designing this.

The good news is, if you have a large enough low-dpi display, and you make the window big enough, the automatic integer scaling settings will kick in, and the pixels themselves will be displayed larger. This can be forced via the preferences app (under the display options). If you screw this up, then restart LisaGUI while holding the shift key to reset the scaling settings.

EDIT: Unrelated to this, there are a couple minor bugs with PWAs on iOS relating to the positioning of the canvas. These can be resolved by rotating your device to a different orientation and then rotating it back to the original position... but this is annoying.

EDIT 2: To close windows, just double click the icon in the titlebar! This "collapses the window back into an icon."
by holowoodman | 2025-07-06 19:26:05+00:00
One thing is that context switches have become less of a problem with the advent of multicore systems. But we are not at a place where you can have your dedicated filesystem core for each filesystem, so they are still relevant.

And yes, CPUs are generally optimized not for context switches, but for numerics and certain single-application benchmarks. So computations without any context switches are very fast. Application to Kernel switches are somewhat fast as well. But application-to-application or even worse application-kernel-privilegedFSprocess-kernel-application will be slow as hell, because those numbers never make it to the TOP500 or benchmark sites.

Context switches also have already been optimized too much, Spectre and Meltdown in all their variants are a certain kind of botched context switch. That means that certain optimizations are now out of the question, context switches will be optimized more carefully (if at all) in the future. So there isn't too much hope for a faster but still secure context switch.

I think the actual future in a decade or so will rather have more cores, less context switches and a more computer-network-like CPU. You will have your filesystem server process on the filesystem/disk-IO core and you will speak some filesystem protocol via shared memory over a on-CPU network.
by kgeist | 2025-07-06 19:27:24+00:00
We're using llama.cpp. We use all kinds of different models other than Qwen3, and vLLM startup when switching models is prohibitively slow (several times slower than llama.cpp, which is already 5 sec)

From what I understand, vLLM is best when there's only 1 active model pinned to the GPU and you have many concurrent users (4, 8 etc.). But with just a single 32 GB GPU you have to switch the models pretty often, and you can't fit more than 2 concurrent users anyway (without sacrificing the context length considerably: 4 users = just 16k context, 8 users = 8k context), so I think vLLM so far isn't worth it. Once we have several cards, we may switch to vLLM.
by luqtas | 2025-07-06 19:27:37+00:00
Steam is literally a monopoly. the Apple argument doesn't cut. you are free to use (F)OSS but go freelance graphic design with Gimp or Krita telling your clients to f*-off Adobe files. or any CAD work. the average Windows Nvidia user won't trade convenience

just take a quick check on wishlists, buys and views of indie people releasing games on Steam without marketing budget (money or popularity wise). it isn't a magic bullet, otherwise, marketing would be obsolete... even AAA industry burns millions of USD at

30% is a huge hit on top of all the thing studios have to pay. they just comply because it's either that or go home on the PC market; with rare exceptions like Minecraft and whatever popular is out there nowadays
by eikenberry | 2025-07-06 19:28:06+00:00
I think there is one big difference that will differentiate between principal/lead devs and euqally experienced senior devs working with AI.. AIs are not people. Lead/principal developers are good at delegating work to, and managing, people. People and AIs have very little in common and I don't think the skills will really translate that well. I think the people who will really shine with AI are those at the principal level of skill but who are better with computers than people. They will be able to learn the AI system interaction skills without first having to unlearn all the people interaction skills and I'm not sure if the "leadership skills" that are prized in principal devs can even be unlearned they seem to be more a natural affinity than a skill.
by gruez | 2025-07-06 19:28:12+00:00
Works fine for me?

>Not Before: Fri, 20 Jun 2025 00:04:33 GMT

>Not After: Thu, 18 Sep 2025 00:04:32 GMT

>Thumbprint: 19:6E:D2:41:D7:FA:90:93:CE:CA:2F:8A:AB:65:F5:FC:98:05:AE:B9
by Dylan16807 | 2025-07-06 19:29:09+00:00
> Who's the judge of zip support being 'bad'?

> HN users are different breed of sticklers that aren't representative of the norm.

It acts kind of like a folder but tons of things don't work when you navigate into it. And it hasn't been improved in 20 years. It's bad.

It's significantly worse for a random person because stuff breaks and they don't know why. At least if you try to run an exe it asks about extracting the whole thing so that one case is less likely to blow up.

> There's a grand canyon gap between something not existing and you not liking it how it works because your personal tastes, hence why the comment is flagged, because it's in bad faith and disingenuous.

Just the fact that it doesn't work for any other archive format is enough to make the original comment merely sloppy wording. It's not bad faith or disingenuous. Don't be so judgemental.
by const_cast | 2025-07-06 19:29:21+00:00
The heuristic is that pretty much anyone who is trying to sell you something is out to screw you. They are probably lying, and they are probably trying to get a quick buck from people who don't know better. And when I say anyone, I mean anyone. Youtubers, anyone on TikTok who links anything, advertisements on the web, billboards.

It's not 100% but if you follow the heuristic you save a lot of money and generally have higher quality goods in your life.

The reason we got into this mess is because advertising on the internet broke all the rules. Now lying is de-facto allowed. So then everyone else followed suit to compete. If your competitors are lying, you cannot afford not to lie.

So now all advertisement and sales are compromised and should not be trusted. Even large, previously trusted corporations are running scams in America. Professionals making six figures are acting as con artists. It's unbelievable how fast the situation has deteriorated.
by luckylion | 2025-07-06 19:30:22+00:00
It being common doesn't make it OK, but it does make it not a personal attack.

Exploit scanners are common, they are not someone attacking you personally.

I'd be surprised if the mass download and the exploit scanner were even related. Much more likely they weren't and somebody just messed up some bot they were building and fetched everything in a loop.

It's annoying, yes, but it's not personal. Nobody is attacking him personally. Feeding into that understanding of the situation isn't helpful, just like you shouldn't encourage people who believe they are the victims of gang stalking because they've seen 5 red cars this morning.
by ok1984 | 2025-07-06 19:30:27+00:00
In my experience, If you want to auto-generate your documentation then most likely is not useful, documentation should explain concepts, domain knowledge, architectural decisions and much more that you can’t have fit as a one-to-one mapping with your code.

Also, writing documentation is athat moment that makes you think about your software from a different perspective, often times I discovered and refactored my code during the process of writing down documentation.

We use Antora and VSC to write down our documentation.
by isomorphic | 2025-07-06 19:30:31+00:00
https://x.com/thdxr/status/1933561254481666466

ETA: The above link is at the bottom of the original submission's README. (https://github.com/sst/opencode) I posted it without context, and I have no opinion on the matter. Please read theli0nheart's comment below for an X rebuttal.
by ndsipa_pomu | 2025-07-06 19:31:19+00:00
That'd be great if the viruses weren't also using accelerated evolution to become far more adept at infecting targets. By allowing the virus to spread unchecked, the chickens become a brilliant breeding ground for the virus and we're more likely to just breed stronger viruses (quite likely to be less virulent to chickens so that they can spread further, but also far more likely to jump between species).
by sshine | 2025-07-06 19:31:59+00:00
I remember at first year of university being presented with a bunch of “simple” problems early on, such as the Collatz conjecture.

I remember wanting to spend time trying to explore what a solution might look like, because such simply formulated problems must have equally simple solutions.

Maturing and getting a better understanding of my intellectual capacity, I have opted to solve practical problems with a much bigger chance of success and absolutely no groundbreaking qualities.

But I liked being taken serious from the start, and I think it’s important to try and solve hard problems before you grow stuck in the real world.
by theli0nheart | 2025-07-06 19:32:25+00:00
https://x.com/meowgorithm/status/1933593074820891062

--

I’m the founder and CEO of Charm. There are claims circulating about OpenCode which are untrue, and I want to clarify what actually happened.

In April, Kujtim Hoxha built a project called TermAI—an agentic coding tool built on top of Charm’s open-source stack: Bubble Tea, Lip Gloss, Bubbles, and Glamour.

Two developers approached him offering UX help and promotion, and suggested renaming the project to OpenCode. One of them bought a domain and pointed it at the repo.

At the time, they explicitly assured Kujtim that the project and repo belonged entirely to him, and that he was free to walk away at any point.

We loved what Kujtim built and offered him a full-time role at Charm so he could continue developing the project with funding, infrastructure, and support. The others were informed and declined to match the offer.

I also mentioned that if the project moved to Charm, a rename might follow. No agreement was made.

Shortly after, they forked the repo, moved it into their company’s GitHub org, retained the OpenCode name, took over the AUR package, and redirected the domain they owned.

To clarify specific claims being circulated:

- No commit history was altered

- We re-registered AUR packages for continuity

- Comments were only removed if misleading or promotional

- The project is maintained transparently by its original creator

The original project, created by Kujtim, remains open source and active—with the full support of the team at Charm.

That’s the story. We’ll have more to share soon.
by LorenPechtel | 2025-07-06 19:33:24+00:00
Actually, it had another serious flaw:

The drug at the center of this was listed as working for 12 hours. In many patients it did not. And the docs do not listen--it's supposed to be every X hours, it's every X hours. Fortunately I've had very little need of pain stuff because I know every single drug that I have ever been able to discern wearing off does so in less than the specified time. Blood pressure by the book of 1/day swings both too high and too low. Same total dose split into morning/evening provides very good control.
by 0x000xca0xfe | 2025-07-06 19:33:36+00:00
Yes I tried pushing it as far as possible over the course of a couple days to invent, build and prioritize the direction of a new programming language (trying to give it as much freedom as possible and make its own decicions while steering it only to not get stuck). After around $50 in tokens it kinda got lost in the complexity it had created and just kept adding more and more useless trivialities while overlooking fundamental unsolved problems.

E.g. it wanted to build a data query language with temporal operations but completely forgot to keep historical data.

It currently lacks the ability to focus on the overall goal and prioritize sub-tasks accordingly and instead spirals into random side quests real quick.
by yupitsme123 | 2025-07-06 19:34:05+00:00
Politicians don't come up with plans either. Even with the best intentions, they don't know enough to be able to come up with a plan. Experts need to do that.

You also don't need the government if you want to enact change. We have an AI revolution because science and money got together to make it happen, and then consumers jumped on it. Not because the government passed a law to make it happen.

So did the scientists and engineers with mountains of research ever figure out a solution for the rest of us to get behind?
by breezyryan | 2025-07-06 19:34:10+00:00
Breezy | Product Engineer (Fullstack) | Remote (US) | Full-time | $175k–200k + Equity | https://www.getbreezyapp.com

Breezy is modern field service software for residential HVAC companies. We combine strong product design, close customer collaboration, and best-in-class technology (including LLMs, when they’re the right tool for the job) to help contractors run better businesses. We’re already replacing legacy systems like ServiceTitan and Housecall Pro.

We’re a small, senior team with a track record of scaling successful startups. We work fast, stay focused, and take pride in shipping high-quality software with a strong sense of ownership.

We’re hiring a senior Product Engineer to help build and shape the product. You’ll contribute across the stack (TypeScript, React, Node.js, PostgreSQL) and own features from concept to production. You’ll play a key role in a high-velocity environment where ideas quickly turn into shipped product.

We’re looking for someone with broad technical range, depth in a few areas, and strong product instincts. Someone who’s practical, self-directed, and cares about building things that actually have an impact on our customers' lives.

Tech Stack: TypeScript, React, Node.js, PostgreSQL Comp: $175–200k + equity, full health benefits, 401(k), remote-first with periodic team offsites To apply: Email jobs+july25@getbreezyapp.com with your resume and links to your work (Github, LinkedIn, Personal Site)
Ask HN: Vehicle Speed Detection Algorithm
by maelito | 2025-07-06 19:34:42+00:00
Hi, I'm trying to solve the problem of vehicle speed detection (car, truck, bus, cycle...) using modern object detection.

It is quite easy to track objects with YOLO and estimate their speed in pixels.

But then, it's harder to convert this virtual speed to a real km/h speed. In a perfect setup, where the camera is filming the road from the side, one pixel = x meter on all the screen.

For this kind of setup, Ultralytics's `yolo solutions speed meter_per_pixel=0.013` suffices.

But most videos will be taken from a spot filming the road in a non-perpendicular direction.

This [video](https://youtu.be/uWP6UjDeZvY?feature=shared&t=522) suggests to build a matrix of pixel to meter conversion, and applies it to transform the virtual speed to the real one. It works, runs well on a cloud notebook.

But I find it quite cumbersome to have to estimate by hand this size matrix : I'm quite sure that algorithms could detect the size of the matrix automatically with better accuracy than I. Moreover, this would avoid making the algorithm dependent on this measurement step, enabling speed estimation from any angle with a simple smartphone's camera.

Speed detection is a lot more interesting if it can be measured from dynamic spots, to get a better overall survey of a neighborhood. And avoid vehicles to adapt to a costly definitive setup and alter the survey.

Did someone already solve this challenge ? Do you have any ideas ? Thanks !
by stavros | 2025-07-06 19:35:18+00:00
Exactly. I've spent the weekend trying my hand at making an AI assistant SaaS (I can't believe this doesn't exist yet!), and the biggest lesson I learnt is that I need to pay attention to what Claude Code does. I need to be specific in my instructions, and I need to review the output, because it will sometimes not know how to do things and it will never say "I don't know how to do that", it'll just endlessly write more and more code to try to appease you.

I think I'm faster with Claude Code overall, but that's because it's a tradeoff between "it makes me much faster at the stuff I'm not good at" and "it slows me down on the stuff I am good at". Maybe with better prompting skills, I'll be faster overall, but I'm definitely glad I don't have to write all the boilerplate yet again.
Show HN: Lucius – An AI assistant for social media marketers
by downoff | 2025-07-06 19:36:02+00:00
Hi everyone, I'm a developer building a tool to help automate social media post creation. Before I add more features, I'd love to get feedback from real marketers on whether this is actually useful. Would anyone be willing to try it out and share their honest thoughts?

Keep in mind this is just an MVP and not a full blown website (yet), I am just testing to see if anyone would actually use it and then we would move on to making it truly functional and aesthetic.

If anyone has actual questions instead of straight hating, feel free to dm me.

Thank you!

Check it out if you want.
by crackrook | 2025-07-06 19:36:10+00:00
I totally believe that treatment should be the focus for drug users; the only focus, even. What I'm having trouble believing is that convenient access to drugs would not result in net-harms that are worse than those inflicted by (imperfect attempts at) holding people accountable for selling these chemicals to the vulnerable, irrespective of whether or not those people are pharmaceutical companies or cartels.

I would like to see evidence that jurisdictions in the developed world that stop prosecuting dealers for freely selling what I'd call "hard drugs", e.g. opiates and amphetamines, see their population's well-being improve, on the whole - if there has ever been such a jurisdiction.
by kiitos | 2025-07-06 19:36:42+00:00
> Previously .. I didn't want to take the time to spin up on the trivia for a new language or platform ... Now? I'll happily use things like Go and Bash and AppleScript and jq and ffmpeg

It's pretty wild that you're characterizing the understanding of a language and its details as "trivia" that you don't need to "take the time to spin up on" before you write programs in that language.

I mean, I get this perspective, but it's the position of a product manager, not a software engineer...