MurphyA/hacker-news huggingface dataset:
by embedding-shape | 2025-10-31 19:19:09+00:00
Basically just find the place where the inference call happens, add top_k, top_p and temperature to hard-coded numbers (0, 1.0 and 1.0 for GPT-OSS) and you should be good to go. If you really need it, I could dig out patch from it, but it should be really straightforward today, and my patch might be conflicting with the current master of codex, I've diverged for other reasons since I did this.
by bigyabai | 2025-10-31 19:19:13+00:00
Most != all. Modern music also gave us some of the most forward-thinking sounds yet to reach the mainstream. When people get comfortable listening to slop, making something genuine or transgressive becomes attractive again.

I think there's merit in worrying that AI-based music will cause artists to lose touch with the creative process, because I agree; a lot of modern music is pointless slop. Lowering the barrier to entry isn't going to fix it, so rationally "human music" hobbyists are coming into contention with "AI music" proponents. I don't think blogs like this one will bridge the divide.
by numpad0 | 2025-10-31 19:19:34+00:00
The problem wasn't the special mobile internet but the operating systems. Most phone OS before iOS just couldn't run full Gecko/Trident/WebKit/what-have-you. The phones could reach any external IPv4 addresses, but there weren't much to do with neither browser nor an app store.

You could run things like IRC clients, dedicated text chat apps, and server rendered browsers on live Internet. But downloading full webpages was too much for the hardware.
Show HN: Pen Island – Clean Drawings via AI
by dragonkhoi | 2025-10-31 19:19:43+00:00
Hi HN. We made a little site where you can draw and browse art that has been moderated by advanced AI. We think multimodal LLMs unlock new safe areas for the consumer internet. Please give it a try and let us know how we can improve our model. Our hope is to build a connective internet with new safeguards.
by locknitpicker | 2025-10-31 19:20:04+00:00
> Are there any use cases where that 1% is worth any hassle whatsoever?

I don't think this is a valid argument to make. If you were doing the optimization work then you could argue tradeoffs. You are not, Canonical is.

Your decision is which image you want to use, and Canonical is giving you a choice. Do you care about which architecture variant you use? If you do, you can now pick the one that works best for you. Do you want to win an easy 1% performance gain? Now you have that choice.
by jimbokun | 2025-10-31 19:20:56+00:00
AI obviously doesn't need a dedicated hardware device to succeed. It's having massive success already as people access it from any of the devices they already own.

Smart phone, laptop, headsets, VR goggles, AI can work with all of these just fine.

I think part of Apple's struggles with AI is they can't find a way to tie it to their hardware in a differentiating way. Since it's so cloud based and there are few compelling use cases for running worse models locally, "AI" works just as well on any device.
by borroka | 2025-10-31 19:21:00+00:00
I am interested in languages and have learned a few. It takes time to learn a language. When asked how much time, one can look at the estimates from the Defense Language Institute Foreign Language Center on how long it takes to become proficient in a language, starting from an English-speaking background.

Those estimates sound reasonable and make sense. Then you travel the world and see people learning languages much faster, and others never learning.

I was listening to the audiobook of the book "The Empire of the Summer Moon", and it was reported that Bianca “Banc” Babb (age 10, to be fair), learned the "[she] learned the [Comanche] language quickly and so well that, after only seven months of captivity (which she believed was two years), it was hard for her to “get my tongue twisted back so I could talk English again to my folk and my friends.”

She was 10, and we know that the ability to acquire languages decreases with age, at least until puberty. But she was not a 3-year-old kid, and we would expect a 10-year-old to take longer to pick up a language so different than the one she was using up to that time.

As we know, there is huge variability in aptitude; nothing surprising there. But there is also variability in confidence in oneself, and there is variability in trying to be better as quickly as possible, using our aptitudes and confidence and effort to their full extent.

So, instead of saying, on average it takes x time to do this, when there are no physical/physiological limits involved, we should strive, if we want, if our interests and needs are there, to see how fast we can go, instead of accepting the average as our destiny manifested.
by layer8 | 2025-10-31 19:21:21+00:00
Variables are called variables because their values can vary between one execution of the code and the next. This is no different for immutable variables. A non-variable, aka a constant, would be something that has the same value in all executions.

Example:

function circumference(radius) return 2 * PI * radius

Here PI is a constant, while radius is a variable. This is independent of whether radius is immutable or not.

It doesn’t have to be a function parameter. If you read external input into a variable, or assign to it the result of calling a non-pure function, or of calling even a pure function but passing non-constant expressions as arguments to it, then the resulting value will in general also vary between executions of that code.

Note how the term “variable” is used for placeholders in mathematical formulas, despite no mutability going on there. Computer science adopted that term from math.

https://en.wikipedia.org/wiki/Variable_(mathematics)
by rafale | 2025-10-31 19:21:29+00:00
Gamblers know the odds are stacked against them yet they end up stuck in a psychological prison within their own brain that they can't escape from even if they realize what they do is harmful.

Maybe a better law: check id, you are not allowed to take from any gambler more than 10 bets a year and no bet can be over 1k.

For big gamblers, we can have "qualified gamblers" rules like we do for qualified investors.

Funny how we don't let average people invest in some stuff but we let them gamble.

For offshore gambling pursue them aggressively if they serve US clients.
by 1-more | 2025-10-31 19:21:36+00:00
I can confirm. I got decent with VoiceOver as the "guy on the team who gives a shit about this" (unofficial title) and yeah, it stinks. Also, you don't necessarily move through the page linearly with a screen reader; the rotor lets you jump between links, or jump to forms, or jump to navs. The more semantic your markup, the better it will be populated.
by firstprimate | 2025-10-31 19:22:20+00:00
I am not. Technically that would mean adding a stochastic process driven by an ambiguous language to my deterministic workflow, and change my job from deep thinking about problem solving to reviewing and testing code that changes more often than it should. Ethically it abuses people, the environment, and copyright and the people selling the product are lobbying governments to break the social contract in a bid to extract more wealth.

It's a shit show.
by measurablefunc | 2025-10-31 19:22:34+00:00
It must be deposited into OpenAI's bank account so that they can then deposit it into NVIDIA's account who can then in turn make a deal w/ OpenAI to deposit it back into OpenAI's account for some stock options. I think you can see how it works from here but if not then maybe one of the scaled up "reasoning" AIs will figure it out for you.
by codingbear | 2025-10-31 19:22:41+00:00
I use local for code completions only. Which means models supporting FIM tokens.

My current setup is the llama-vscode plugin + llama-server running Qwen/Qwen2.5-Coder-7B-Instruct. It leads to very fast completions, and don't have to worry about internet outages which take me out of the zone.

I do wish qwen-3 released a 7B model supporting FIM tokens. 7B seems to be the sweet spot for fast and usable completions
by aeon_ai | 2025-10-31 19:22:45+00:00
Turning conversations away from nuance and towards black/white thinking is precisely why we're in an increasingly polarized society.

You may see it as a means towards the collective action you'd prefer, but your argument is that sheep are easier to herd towards a goal you've already determined is "right" without inviting critical thought or analysis when you don't allow for nuance.

Even if true, I disagree with both your assertion that "organizing against AI" is the right path forward, and the approach to engaging in discourse.
by eviks | 2025-10-31 19:22:45+00:00
> 2. listing the contents of the store directory would not be allowed

Wow, that's awful, that's what Windows AppStore does, so it's even hard to see how much of the preinstalled garbage there is or even whether you might have a huge game you forgot to uninstall but might want to to free up some space.

What's the cool benefit that could justify this limitation?
by nomilk | 2025-10-31 19:22:52+00:00
> The nano texture display is great at reducing reflections. I could immediately see the difference when placing two laptops side by side: The bright Apple Store lights showed up very prominently on the normal display, and were almost not visible at all on the nano texture display.

This is a quiet boon for those who enjoy working outdoors but find the sun/brightness a problem.
by StableAlkyne | 2025-10-31 19:23:20+00:00
> Your" IT department should consider giving you your own admin account. But it's their call.

Seems like a bit of an extreme solution for one-off installations that are rare enough to not be worth bothering to automate.

Good example of this is scientific software like Gaussian (a "common" quantum mechanics package): needs admin, expensive and strict license that gets audited. It's approved, but we have a single digit number of people using it. It's just not worth the time to automate a script around an install that only happens once every year or so on average, when they can just temporarily elevate the user.
by dust42 | 2025-10-31 19:23:30+00:00
I usually use unsloth quants, in this case https://huggingface.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-... - the Q4_K_M variant.

On 128GB I would definitely run a larger model, probably with ~10B active parameters. All depends how many tokens per second is comfortable for you.

To get an idea of the speed difference, there is a benchmark page for llama.cpp on Apple silicon here: https://github.com/ggml-org/llama.cpp/discussions/4167

About quant selection: https://gist.github.com/Artefact2/b5f810600771265fc1e3944228...

And my workaround for 'shortening' prompt processing time: I load the files I want to work on (usually 1-3) into context with the instruction: read the code and wait. And while the LLM is doing the prompt processing I write my instructions of what I want to have done. Usually the LLM is long finished with PP before I am finished with writing instructions. Due to KV caching the LLM then gives almost instantly the answer.
by fultonn | 2025-10-31 19:23:31+00:00
> Is there a way to load this into Ollama?

Yes, the granite 4 models are on ollama:

https://ollama.com/library/granite4

> but my interest is specifically in privacy respecting LLMs -- my goal is to run the most powerful one I can on my personal machine

The HF Spaces demo for granite 4 nano does run on your local machine, using Transformers.js and ONNX. After downloading the model weights you can disconnect from the internet and things should still work. It's all happening in your browser, locally.

Of course ollama is preferable for your own dev environment. But ONNX and transformers.js is amazingly useful for edge deployment and easily sharing things with non-technical users. When I want to bundle up a little demo for something I typically just do that instead of the old way I did things (bundle it all up on a server and eat the inference cost).
by stickfigure | 2025-10-31 19:24:25+00:00
It ends up being quite the opposite - many, many bugs come from unexpected side effects of mutation. You pass that array to a function and it turns out 10 layers deeper in the call stack, in code written by somebody else, some function decided to mutate the array.

Immutability gives you solid contracts. A function takes X as input and returns Y as output. This is predictable, testable, and thread safe by default.

If you have a bunch of stuff pointing at an object and all that stuff needs to change when the inner object changes, then you "raise up" the immutability to a higher level.

Universe nextStateOfTheUniverse = oldUniverse.modifyItSomehow();

If you keep going with this philosophy you end up with something roughly like "software transactional memory" where the state of the world changes at each step, and you can go back and look at old states of the world if you want.

Old states don't hang around if you don't keep references to them. They get garbage collected.
by jakobnissen | 2025-10-31 19:25:01+00:00
That's an overly cynical take. Obviously it means that a criminal organization would need to recruit officials before they could issue fake passports. Which is already pretty hard.

And maybe they would need to recruit multiple officials across multiple agencies. And if these agencies has internal policing, then even if they manage to do that, they now have another vulnerability where the criminal operation can be discovered and sabotaged.
Show HN: Unicorn – Text-Based VC Investment Adventure
by jamescampbell | 2025-10-31 19:25:35+00:00
Start as a VC with $250,000 and invest in 20 different startups over 10 years (120 turns). Make strategic decisions, diversify your portfolio, and try to find the next unicorn! Will you become a Legendary Investor or lose it all?
by Herring | 2025-10-31 19:26:10+00:00
Did you ever find it weird that it's the pro-gun pro-rights republicans that are attacking the courts?

Americans have some very weird thinking over guns. I think if they were taken away, they'd have to work harder at getting along with other people (esp women, minorities, china), and therefore get better at it.

It's really not a coincidence that it's the pro-gun Americans who killed Roe v Wade. Their ancestors owned slaves. They love to say it's about "rights", but it's clearly not.
by Zak | 2025-10-31 19:26:28+00:00
I've seen an increase in people doing this sort of thing over the past few years. I imagine it has something to do with frameworks and ignorance or apathy, but the old fashioned way almost always provides the best UX.

To anyone reading who has tried to get fancy with a substitute for the <a> tag, I wish you mild discomfort and inconvenience.
by SR2Z | 2025-10-31 19:26:53+00:00
Here is a list of trivially obvious ways that they solve problems:

1. They can be read significantly faster, or even automatically, which cuts down on long border control lines even when the biometrics are not used.

2. They are significantly harder to forge without the consent of the issuer, even for other nation-states.

3. They can store biometrics that allow the bearer's identity to be verified automatically and with a very high degree of confidence.

I am all for being skeptical of the government's actions, but passports are a ridiculous place to have such a strong kneejerk reaction. You're already on a list and your movements are being tracked. ePassport features are only more convenient when compared to older passports.
by oofbey | 2025-10-31 19:27:02+00:00
I’ve used MBP for many many years, but recently bought an MB Air. I slightly miss the extra ports. I love how much lighter it is. I never notice a speed difference. I’m always ssh’d into a Linux box if crunching any real data, and for UI stuff the CPU doesn’t need a fan at all. Definitely gonna stick with MB Air.
by toomuchtodo | 2025-10-31 19:27:07+00:00
> I don't think you can kill corporate run gambling - people will just use some offshore website instead.

You can block it at payment rails. The reasonable amount of avoidance of controls around gambling laws is not zero [1]. You're making it hard for all but the most determined, who are free to lose it all.

[1] https://www.bitsaboutmoney.com/archive/optimal-amount-of-fra... (Control-F "This extends beyond payments") Broadly speaking, we are not "solving" gambling with these ideas; we are, as a society and sociopolitical economic system, pulling levers to arrive at the intersection of harm reduction and rights impairment. Some gambling, but only so much, for most but not all.

(work in finance, risk management, fintech/payments, etc)
by codingbear | 2025-10-31 19:27:11+00:00
how are you running qwen3 with llama-vscode? I am still using qwen-2.5-7b.

There is an open issue about adding support for Qwn3 which I have been monitoring, would love to use Qwen3 if possible. Issue - https://github.com/ggml-org/llama.vscode/issues/55
by brendoelfrendo | 2025-10-31 19:27:51+00:00
> An "AI Hardware" device that needs a network connection, and makes API calls to the mother ship, in order to accomplish anything, is not interesting. It's a Raspberry Pi.

Kind of an unnecessary dig at the Raspberry Pi, no? Modern Pis and SBCs in general are good at lots of things. I use mine for self-hosting some apps I use, and I've definitely seen them used in little compute clusters for AI inference.

> On the other hand, a device that could work offline is interesting. One that could work in a zombie apocalypse is even more interesting. Especially if it was solar powered and contained the knowledge needed to rebuild society.

This is kind of interesting in an abstract sense; it's fun to imagine burying a solar-powered oracle in a hardshell case in a bunker somewhere so that some hypothetical person can use it to bootstrap civilization after the end, but that's all it really is: hypothetical. Fun to imagine. A project for hackers or maybe a non-profit. It certainly fails the "toothbrush test" mentioned in the article; no one will be consulting their doomsday box once or twice a day (absent a doomsday, anyway).

If I can be really reductionist for a second, I think there's a lot of AI cart-before-horse happening with these hardware products. Smartphones changed the world a decade and a half ago because they took something that people wanted--the internet, but mobile--and finally made it work. Since then they've dramatically changed the landscape of the internet and social media etc, but the idea--that people already had the internet but wanted to interact with it in a different way--should probably be the foundation for how we think about AI hardware products. What can they do for people better than what they already have? We should not need the benefit of hindsight to see why something like the Human AI pin, that doesn't really do anything and does it badly, failed.
by gorgoiler | 2025-10-31 19:28:34+00:00
20 years ago I bought a G3 iBook because the hardware was lovely and the system was supported perfectly by stock Debian woody. (Hands up if you remember having to bless your laptop with “holy penguin pee”, part of the output of the yaboot bootloader used in PowerPC systems!)

Times changed and the best hardware for me right now is a Dell XPS from the model lines a few years back that looked like an aluminum sandwich with a black plastic filling. These machines are fantastic but (1) no OLED, (2) now high speed refresh rate, and (3) the keyboard isn’t great.

Could this modern Apple hardware bring me back to Free OS on pretty hardware, or is there something else I should try?
by MrJohz | 2025-10-31 19:28:35+00:00
You always want all the accessibility features. If your button is a button, then you want the whole lot: the correct role, tabability, keyboards shortcuts, everything. There is no situation where you only want some of those features.

So if you use a div, you _always_ need to add _all_ of the features. Whereas if you use a button, you usually need to remember to add the correct "type" attribute (although if you're building a form, you might not even need that).

You also mention transparency. A button makes your design transparent: it is a standard element, and web developers should know what it does. A div is not transparent - firstly, if I'm a developer reading that code, I need to look at context clues to understand what the authors' intent was (a tabbable element with a keydown handler and a click handler could be all sorts of elements, not just a button, so now I need to inspect event handlers and see what they do), and secondly, many people do not implement this stuff correctly, so what you're usually looking at is something that looks like it might have been intended as a button, but is missing a bunch of features. Was that intentional or did the author just forget some stuff?

This isn't really a "pros and cons" type of thing. Just use a button. It's doing all the work that you'd have to do manually, but automatically. Just use it.
by ghaff | 2025-10-31 19:29:09+00:00
>(Though over in America, most of the historic grand mansions are now tourist attractions, for lack of heirs with the wealth and interest in maintaining them.)

Taxes had a lot to do with it--though, really, in the UK as well. In Newport RI, a lot of the gilded era mansions ended up donated to a local college because, as you say, the heirs didn't have either the wealth or the interest in maintaining (and playing the taxes on) them. A lot of these places were also summer "cottages" and would require a huge amount of money to update to modern standards. I know someone whose extended family owned one of these places (not in Newport but similar) and it was going to be a huge expense; don't know how it ended up.
by mrguyorama | 2025-10-31 19:29:14+00:00
>We're all engineers here

Don't do this. HN has no interview, screening, or application process.

There's plenty people here on HN who are not even programmers. For a long time there were a significant amount of people here who were literally GME bagholders in a cult FFS

There is no reason to believe HN is any different than any other comments selection beyond some very minimal self selection bias, and that doesn't self select for competence. The self selection is "doesn't mind minimal UI"
by paxys | 2025-10-31 19:29:20+00:00
> people will just use some offshore website instead

No they won't, because moving real money to and from these shady offshore websites is a nightmare, and without enforcement there will be too much fraud in the system for the vast majority of regular people to bother.

Gambling is so prevalent today because 1) there is incessant advertising, including being overlaid on the game you are watching and 2) it is convenient, taking like 3 clicks and under a minute to go from scratch to placing bets. You can even use Apple Pay. Take away either of these and participation rates will plummet.

You don't even need to speculate, just look at the numbers. There were countless illegal and gray market gambling options available a decade ago, both online and in-person. How many people were participating back then? I personally didn't know anyone who bet on games outside of maybe the occasional trip to Vegas, and that too was just for the novelty of it. Today >50% of adults in the US are regularly betting online, and the number is growing every year.
by iAMkenough | 2025-10-31 19:29:31+00:00
I can make the same argument about you. Matte display was the standard prior to Unibody MacBook Pros in 2008.

Glossy was an available option, but not the product line wide choice.

The top of the line Late 2008 MacBook Pro (not Unibody) included: > An antiglare CCFL-backlit 17" widescreen 1680x1050 active-matrix display (a glossy display was offered via build-to-order at no extra cost, and a higher resolution LED-backlit 1920x1200 display also was offered for an extra US$100).

https://everymac.com/systems/apple/macbook_pro/specs/macbook...