MurphyA/hacker-news huggingface dataset:
by IshKebab | 2025-08-10 10:28:58+00:00
Ah this makes sense. I always thought "let it crash" made it sound like Elixir devs just don't bother with error checking, like writing Java without any `catch`es, or writing Rust that only uses `.unwrap()`.

If they just mean "processes should be restartable" then that sounds way more reasonable. Similar idea to this but less fancy: https://flawless.dev/

It's a pretty terrible slogan if it makes your language sound worse than it actually is.
by skydhash | 2025-08-10 10:31:52+00:00
I don’t think anyone expects perfection. Programs crash, drives die, and computers can break anytime. But we expect our tools to be reliable and not fight with it everyday to get it to work.

I don’t have to debug Emacs every day to write code. My CI workflow just runs every time a PR is created. When I type ‘make tests’, I get a report back. None of those things are perfect, but they are reliable.
by zozbot234 | 2025-08-10 10:33:57+00:00
> So for example the underpowered cpu in the fw12 makes no sense to me until I found out that it's also designed for mass purchases by schools and designed to be flung around by angsty teens.

I think that might be overstating it a bit. Real "rugged" laptops do exist, and would be quite at home in that kind of use (well, usually you'd worry a lot more about how kids in primary school will treat your hardware than teenagers) but the Framework 12 is not one.
by rs186 | 2025-08-10 10:34:07+00:00
The only non repairable part is RAM due to technical constraints. The rest is as repairable as any other desktop, if not more so (e.g. power supply). Why are you accusing them of "throwing away the branding" and holding such a purist view, when they are doing their best and just making compromises in order to release a decent product.
by homebrewer | 2025-08-10 10:34:36+00:00
With fish, if the program you're interested in hasn't betrayed the decades-old tradition of shipping man pages, it's often as simple as running `fish_update_completions`.

It parses all man pages on your system and generates completion files for you. By default, they go into ~/.cache/fish/generated_completions/*

If the man page was written poorly/is missing, you can always write your own completion (and hopefully send it upstream). fish uses such a simple format that I don't think there's any need for tutorials save the official doc:

https://fishshell.com/docs/current/completions.html

For example, here's an excerpt from curl

complete --command curl --short-option 'L' --long-option 'location' --description 'Follow redirects' complete --command curl --short-option 'O' --long-option 'remote-name' --description 'Write output to file named as remote file'
by G3rn0ti | 2025-08-10 10:35:47+00:00
> They threw away their user-repairable mantra when they made the Desktop

You forget the value proposition of Framework products is not only they allow you to bring your own hardware but they also promise to provide you with replacement parts and upgrades directly from the vendor.

In this case they could not make the RAM replaceable (it’s a limitation of the platform) but you can expect an upgrade board in about 2 years that’s actually going to be easy to install for much less cost than buying a new desktop computer.
Tell HN: Beware of OpenAI API credits expiring 1 year after purchase
by druskacik | 2025-08-10 10:35:53+00:00
Recently I received a notification of automatic purchase of OpenAI credits. This surprised me because I didn't actively use their API anywhere for some time. Later, I realised that the old credits expired, which triggered automatic purchase of new credits, which I set up back when OpenAI models had the best quality / value ratio. Of course, I agreed with this, so that's on me (although at least a notification prior to the expiration would be fine, I would burn the tokens somewhere).

It seems Anthropic does the same. You may want to check your credit balances on these platforms if you switched to other providers, as I believe many people did during this last year.
by anticodon | 2025-08-10 10:37:09+00:00
LOL. Have you ever read what Ukrainians said in the last 35 years? Not some pretty recital from CNN, ABC, BBC, DW, but actual words said and written by actual Ukrainians?

Or, for that matter, have you ever read Reddit? I'm 100% sure that if I open any subreddit like /r/politics, in the first 10 posts there will be something like "burn all Russians", "we must nuke Russia", "Russian are subhumans and they must be eliminated from Earth". Such phrases are so pervading there that I stopped visiting reddit even for reading technical subreddits. BTW, Reddit moderators never ban users for calling to kill Russians (also, in 2022 Meta openly said it is ok to say such things openly, just to note that nazism is welcome in the West, or to be precise, it never went away and it wasn't an invention of Hitler).
by LargoLasskhyfv | 2025-08-10 10:37:11+00:00
Errm, No :-) I meant bars as in benchmarks, often rather meaningless, because within the range of statistic noise.

For instance, something having 100.200 points in one config, in another 100.220, with the bars/scales distorted to make that difference seem much larger.

Gaming the bar-game, so to speak.
by hn_throwaway_99 | 2025-08-10 10:37:25+00:00
Ok, fine, then can we stop pretending in the bullshit of the meritocracy then, and that everyone who graduated from these elite schools is so deserving?

At least the British aristocracy had the concept of noblesse oblige, while the US aristocracy loves to lecture the poors on how they should be pulling themselves up by their bootstraps (and it always bothers me that that analogy was invented to point out the impossibility of actually pulling yourself up by your bootstraps, but somehow came to mean the opposite).
by homebrewer | 2025-08-10 10:38:02+00:00
I don't know about "use" — luckily, there's no opt-out telemetry — but enough of "enthusiast distribution" users who have also opted in (very biased sample) have explicitly installed zsh (not necessarily run it)

https://pkgstats.archlinux.de/compare/packages#packages=bash...

OTOH, it's only 4-7% on Debian (also opt-in):

https://qa.debian.org/popcon.php?package=zsh
by nh43215rgb | 2025-08-10 10:38:04+00:00
In practical generative AI workflows (LLMs), I think AMD Max+395 chips with unified memory is as good as Mac Studio or MacBook Pro configurations in handling big models locally and support fast inference speeds (However Top-end Apple silicon (M4 Max, Studio Ultra) can reach 546GB/s memory bandwidth, while the AMD unified memory system is around 256GB/s). I think for inference use either will work fine. For everything else I think CUDA ecosystem is a better bet (correct me if I'm wrong).
by immibis | 2025-08-10 10:39:16+00:00
> This is not a difference between capitalism and communism, and so not a valid complaint

I don't understand. You're saying that also in communism, capitalism comes in from outside and stops you practicing communism?

The USA did bomb and/or coup most communist countries until they were not communist, so you may have a point but it wasn't clear if this is what you meant.

> Your argument is that people cannot be allowed to have access to the external world, or they will abandon communism. That must be prevented, in your argument.

Don't strawman people.
by gloomyday | 2025-08-10 10:40:11+00:00
This is not a good analogy. The parameters of slot machines can be changed to make the casino lose money. Just because something is random, doesn't mean it is useless. If you get 7 good outputs out of 10 from an LLM, you can still use it for your benefit. The frequency of good outputs and how much babysitting it requires determine whether it is worth using or not. Humans make mistakes too, although way less often.
by zozbot234 | 2025-08-10 10:40:15+00:00
The Strix Halo iGPU is quite special, like the Apple iGPU it has such good memory bandwidth to system RAM that it manages to improve both prompt processing and token generation compared to pure CPU inference. You really can't say that about the average iGPU or low-end dGPU: usually their memory bandwidth is way too anemic, hence the CPU wins when it comes to emitting tokens.
by tmcb | 2025-08-10 10:40:18+00:00
It is very common to interpret taglines by their face value, and I believe the author did just that, although the point brought up is valid.

In order to “let it crash”, we must design the system in a way that crashes would not be catastrophic, stability wise. Letting it crash is not a commandment, though: it is a reminder that, in most cases, a smart healing strategy might be overkill.
by StevenWaterman | 2025-08-10 10:40:40+00:00
I disagree that increased employment and increased labour always makes the pie bigger. If minimum wage was low enough, we would decommission our cement mixers and use a human with a shovel instead. But that's not an improvement. Automation is happening, jobs can be replaced right now. The problem is that humans are too cheap to bother automating, and that the profits of the automation are not being distributed to the displaced workers.
by perching_aix | 2025-08-10 10:41:14+00:00
Yes, people say a lot of dumb and reductive shit everywhere, I've been around. What I'm saying is that while it's entirely reasonable to get upset about it and react accordingly, you also have the option of exercising self-awareness and agency, and not swing the pendulum the other way.

Case in point, maybe the most rational action to take after reading something that strikes you as stereotypization is probably not whipping out a stereotype about "westerners" or whatever of your own. Where the dividing line between west and east moves around about as much as the dividing line between balkan and not balkan, of course.
by signal11 | 2025-08-10 10:41:47+00:00
Quiet desktop PCs with good thermals have been getting increased interest — not everyone needs a tower, for some a Mac Mini-like device would work great, but not everyone wants to get into the Apple ecosystem for various reasons.

Of course this PC is interesting in that it’s more “workstation class” and I’m not sure how much thermals matter there, but maybe this is an iteration towards a Mac Studio like device.
by scubadude | 2025-08-10 10:43:04+00:00
There's a study from Stanford showing the dropoff based on road traffic volume. The house I tested is 40 metres from a 30,000 cars/day road (2 lanes in each direction). The study suggests that the pm2.5 drops to the equivalent of the ambient air quality of the surrounding area at 37m away. An air quality sensor showed great AQI and no changes during rush hours.
by ludicrousdispla | 2025-08-10 10:43:31+00:00
If I was asked to review code in an interview, I'd prefer it be printed out on a sheet of A2 or A3 paper that I could look over and write on.

Regardless, there should be a hard rule that if you show code (either working code or example code) to a candidate then it needs to stay visible for at least five minutes. No skipping ahead to the next slide or switching windows after 2 seconds.
by sethammons | 2025-08-10 10:44:21+00:00
My property tax has gone up over 6x in 7 years.

How am I supposed to plan my retirement? Plan to leave my home of years, where I have built a life and have all my things? If you think that, you are a sick person and I have to imagine you are younger and only thinking "but I want that nice house, so f*k off old person, take some money and go die somewhere else."
by pron | 2025-08-10 10:44:23+00:00
I am not redefining what safety means. I am using the same definition of safety used in this entire thread by those debating the pros and cons of Rust being safer than Zig.

I definitely didn't say that memory leaks don't matter. They could possibly matter more than memory safety. They are just not called memory safety bugs, or code injection bugs, or off-by-one bugs. Memory safety is a name given to a class of bugs that lead to undefined behaviour in C or C++. It's not necessarily the most important class of bugs, but it is one, and when we're talking about preventing code injection or memory safety issues, we're not talking about preventing memory leaks - even if they're worse.

Now, if you want to talk about memory leaks and not memory safety (again, it's just a name given to some bugs and not others) then C, C++, Zig, and Rust, do not prevent them. Java prevents the kind "I forgot to free this object" kind, but not "I forgot about this object" kind.

Now, because unlike memory safety, none of these languages prevents memory leaks, it's really hard to say which of them leads to the fewest memory leaks. You really like C++'s destructors and find them useful, I really hate C++'s destructors and find them harmful, and we all have different opinions on why our way is better when it comes to memory leaks. What we don't have is data. So you can say having destructors helps and I can say no they don't until the end of time, but there's no way of knowing which is really better. So all we can do now, is to use the things we find useful to us without making broad generalisations about software correctness that we can't actually support with any evidence.
by jleyank | 2025-08-10 10:44:26+00:00
Ontario fast food minimum wage, $17.20. California’s $20. And the cost of living there is higher. Our fast food places, and whatever you call the next tier is doing just fine - the damn things are everywhere. Hard to find something that’s not some kind of chain. Probably a whole lot of takeaway or delivery, but things seem to meet society’s needs without decimating budgets. Maybe it’s a balance of having real workers and moderating profits for the longer term?
by cb321 | 2025-08-10 10:44:26+00:00
_gnu_generic is fantastic. I use it all the time. If your CLI toolkit emits colorized help, but skips said colorization if NO_COLOR[1] is set then you can prefix _gnu_generic with NO_COLOR=1 as in https://github.com/c-blake/cligen/wiki/Zsh-completion-for-cl... for the cligen Nim CLI toolkit.

A similar thing in Bash is `complete -F _longopt YourCmd`, but these will not work with "multi-commands" that have "sub-commands" as the article of this thread covers. Truth is, as non-standard as GNU long opts already are, how subcommands work is even more non-standard (are there even global options? Or between each subcommand? Is it how Python does it? Or Go? Or some one specific library or ..?)

[^1]: https://no-color.org/
by jychang | 2025-08-10 10:45:34+00:00
No, that's not true. Prompt processing just needs attention tensors in VRAM, the MLP weights aren't needed for the heavy calculations that a GPU speeds up. (After attention, you only need to pass the activations from GPU to system RAM, which is about ~40KB so you're not very limited here).

That's pretty small.

Even Deepseek R1 0528 685b only has like ~16GB of attention weights. Kimi K2 with 1T parameters has 6168951472 attention params, which means ~12GB.

It's pretty easy to do prompt processing for massive models like Deepseek R1, Kimi K2, or Qwen 3 235b with only a single Nvidia 3090 gpu. Just do --n-cpu-moe 99 in llama.cpp or something similar.
by renewiltord | 2025-08-10 10:46:47+00:00
The inability for a test to have sensitivity at the top end isn’t some fixed property of the universe. It’s just a property of the SAT. Harder tests are possible. The only thing that matters is that candidates know that it’s not at the whim of some human who has decided that 25% Jews is enough or 33% Asians is enough or whatever and that it’s by a fixed scoring rubric.

And then some large number of high scoring candidates will miss out until we have a sufficient number of universities.

Irrespective of the mechanism, it is incredibly racist to use one’s race as a scoring mechanism perhaps by definition.
by beingfit | 2025-08-10 10:47:18+00:00
> I asked one of my teammembers – what’s up with that? “Oh, you know, there’s a release coming up soon, nobody wants to give an impression that they’re dilly-dallying around instead of working.”

This is what I’d worry about too. Apart from this, I don’t know how the chats will be used, who else might have some kind of access to those (IT, HR), etc. The pervasive monitoring of all network traffic makes it all seem like always being under the view of a panopticon.

I love working remote and don’t really want to go to the office (a tiring commute is one of the reasons; not having as much flexibility is another). But I’d be wary of off topic channels on Slack or Teams or any company owned/managed platform.
by pron | 2025-08-10 10:47:26+00:00
Well, when Rust came out I had only been programming in C and C++ for about 15, maybe 20 years, but I think that even then we generally used memory safety to refer to problems that can cause "type confusion". In any event, given that none of the languages mentioned here - C, C++, Zig, or Rust - prevent memory leaks, I don't think that the question of whether or not we include it under the umbrella of memory safety could offer insight on the interesting distinctions between these languages.
by tetha | 2025-08-10 10:49:14+00:00
It's a good first dive into zsh completion. The whole thing is quite the large system to wrap ones head around it and I'm still somewhat struggling.

But at work, I've been slowly adding auto completion to our ansible wrapper scripts, like explanations which playbooks to use when, smart `-l` completion based off a possibly selected playbook (so, if the playbook is postgres.yml, it doesn't suggest mariadb groups), tag autocompletion (with a few, admittedly, hardcoded explanations how these tags should be used) and such.

It's somewhat of a friday-afternoon struggle project, but it's making the big ansible project pretty approachable to use.
by Quekid5 | 2025-08-10 10:50:54+00:00
> You can pull this off in other languages via careful attention to the details of your request-handling code. But, the creators of the Erlang language and foundational frameworks have set their users up for success via careful attention to the design of the system as a whole.

+10. So many people miss this very important point. If you have lots of mutable shared state, or can accidentally leak such into your actor code then the whole actor/supervision tree thing falls over very easily... because you can't just restart any actor without worrying about the rest of the system.

I think this is a large (but not the only[0]) part of why actors/supervisors haven't really caught on anywhere outside of Erlang, even for problem spaces where they would be suitable.

[0] I personally feel the model is very hard to reason about compared to threaded/blocking straight-line code using e.g. structured concurrency, but that may just be a me thing.
by leokennis | 2025-08-10 10:50:55+00:00
Should anyone appreciate it, this Shortcut for your iOS/iPadOS device will set your wallpaper to the current sky based on this nice tool:

https://www.icloud.com/shortcuts/c8ba254a0272453cbe39357b144...

Just make sure that your last (or only) iDevice Home Screen is set to type “image”.
by Archit3ch | 2025-08-10 10:52:15+00:00
RDNA 3.5, which means you don't get Matrix Cores. Those are reserved for RDNA 4, which comes to laptop chips later this year. Desktop RDNA 4 only shipped in 2025.

For comparison, Nvidia brought Tensor Cores to consumer cards in 2022 with the 4000 series and Apple had simdgroup_matrix since 2020!

We are moving towards a world where this hardware is ubiquitous. It's uncertain what that means for non-ML workloads.
by jtotheh | 2025-08-10 10:52:31+00:00
There is a clear view of the sky, no obstructions. The phone app showed that the satellite receiver had a good connection, ping percentages, etc. It was just "restricted" because the software had decided this was not a valid location for this account. Even though we changed the account to a "ROAM" account. A day later, they still haven't even responded on the chat, except an automatic "we're sorry we haven't called yet" text.
by Linux-Fan | 2025-08-10 10:54:16+00:00
It is a well-known issue with probably less well-known solutions, cf. <https://unix.stackexchange.com/questions/723675/debian-ubunt...>

echo exit 101 > /usr/sbin/policy-rc.d chmod +x /usr/sbin/policy-rc.d

I think this is the recommended way to avoid autostarting services on Debian.
by vjulian | 2025-08-10 10:55:09+00:00
This contains a level of bias not befitting HN: A political article that presumes a governance of ‘baddies’ vs ‘goodies’. His analysis is not necessarily wrong, it’s only 50% complete. It wouldn’t be hard for him to complete it; fundamentally his ‘goodies’ operate in the same fashion as his ‘baddies’ (he just likes them more).
by celsoazevedo | 2025-08-10 10:55:42+00:00
Ideally, we'd all be using very good and competent hosting companies, but they're not ideal for free/low revenue projects. It's better to have some down time than having to shut down the service because you can't afford to keep it running.

I think that in both cases here (OpenFreeMap and wplace), Hetzner/OVH/Scaleway is the way to go. Depending on what we're doing, the cost savings can even allow us to have redundancy at another cheap provider just in case something goes wrong.
by zozbot234 | 2025-08-10 10:56:46+00:00
> We need a more expensive CPU, more expensive motherboard, more power, more cooling, and a larger system. Congratulations you've reinvented threadripper (4 channel), siena (6 channel), Threadripper pro (8 channel), or epyc (12 channel).

This is the real story not the conspiracy-tinged market segmentation one. Which is silly because at levels where high-end consumer/enthusiast Ryzen (say, 9950 X3D) and lowest-end Threadripper/EPYC (most likely a previous-gen chip) just happen to truly overlap in performance, the former will generally cost you more!
by benchly | 2025-08-10 10:56:57+00:00
My wife and I did the same with two planters outside my apartment, first time trying our hand at container gardening. We are about 10ish days from harvest and exited to see what happened. If the amount and health of the leaves are any indication, we should pull a meal or two's worth out of it for what amounted to very little effort and care. Fingers crossed!

We tried carrots, but they came out very stunted, even accounting that they were a smaller variety. The container we used was likely too shallow.

Does anyone have other vegetable suggestions for us apartment-dwelling container growers to try? We have a few different size containers available ranging from about (in inches) 12x12x36 to 24x24x24 and space for more.
by ftvkyo | 2025-08-10 10:57:18+00:00
There is a project called SCALE that allows building CUDA code natively for AMD GPUs. It is designed as a drop-in replacement for Nvidia CUDA, and it is free for personal and educational use.

You can find out more here: https://docs.scale-lang.com/stable/

There are still many things that need implementing, most important ones being cuDNN and CUDA Graph API, but in my opinion, the list of things that are supported now is already quite impressive (and keeps improving): https://github.com/spectral-compute/scale-validation/tree/ma...

Disclaimer: I am one of the developers of SCALE.
by logicprog | 2025-08-10 10:58:51+00:00
I've been using this to try to make audiobooks out of various philosophy books I've been wanting to read, for accessibility reasons, and I ran into a critical problem: if the input text fed to Kokoro is too long, it'll start skipping words at the end or in the middle, or fade out at the end; and abogen chunks the text it feeds to Kokoro by sentence, so sentences of arbitrary length are fed to Kokoro without any guarding. This produces unusable audiobooks for me. I'm working on "vibe coding" my own Kokoro based tkinter personal gui app for the same purpise that uses nltk and some regex magic for better splitting.