MurphyA/hacker-news huggingface dataset:
by kcplate | 2025-07-23 22:34:40+00:00
There are assumptions on both sides. I would say that a big one on your part is just assuming that everyone with a CS degree is by default a competent and capable developer because of their education. Every CS program, professor, and student are not the same and that variance eliminates any self evidence of credibility of a CS degree.

However, I’ll admit I have a bias based on my experience, and that certainly results in my assuming more inventiveness of the self-taught. Perhaps I have been lucky on that front. Reality has been that not every self-taught dev has been great and not every CS grad has been bad. However, if I lay it on a balance, the balance for me leans a specific direction when it comes to the best people that I have worked with over the years. Perhaps you are right and I have just been lucky.
Ask HN: Are you designing APIs to be "AI-ready"?
by CER10TY | 2025-07-23 22:34:47+00:00
What I mean by "AI-ready" (I realise this is a bit of a buzzword) is are you spending time to make sure your APIs are well-designed, consistent with error codes and messages, etc to make them more accessible for LLMs. I'm not talking about MCPs.

If so, how are you making sure that design stays consistent and every team member agrees on it?
by sitkack | 2025-07-23 22:34:56+00:00
https://man7.org/linux/man-pages/man2/pidfd_getfd.2.html

https://gist.github.com/kentonv/bc7592af98c68ba2738f44369208...

For those curious research "SCM_RIGHTS" (Socket-Level Control Message) and sendmsg/recvmsg
by CGMthrowaway | 2025-07-23 22:35:41+00:00
tldr: Resting meat after cooking is traditionally believed to retain juices and enhance flavor. However, new evidence suggests this isn't true. Resting doesn't affect juice retention; instead, it helps manage carryover cooking, allowing the meat to reach its target temperature without overcooking.

This is not news to anyone who actually cooks and knows how. (prepared for the downvotes for sounding snobbish but idk how else to say it)
by sneilan1 | 2025-07-23 22:36:15+00:00
So I installed litellm proxy, pointed it at the new Cerebras API with Qwen-235B and hooked up Aider to litellm. This is not as good as claude code yet but it's so much faster. I even tried using the leaked claude code prompt into Aider but it doesn't do what I expect. Still worth trying but I learned that claude code's prompt is very specific to claude. I think this is very promising however! Aider basically spat out a bunch of text, installed some stuff, made some web calls & exited. WAS REALLY FAST LOL.

you can repeat my experiment quickly with the following>

config.yaml for litellm ``` model_list: - model_name: qwen3-235b litellm_params: model: cerebras/qwen-3-235b-a22b api_key: os.environ/CEREBRAS_API_KEY api_base: https://api.cerebras.ai/v1 ```

run litellm with ``` litellm --config config.yaml --port 4000 --debug ``` (may need to install litellm[proxy])

start aider with ``` aider --model cerebras/qwen-3-235b-a22b --openai-api-base http://localhost:4000 --openai-api-key fake-key --no-show-model-warnings --auto-commits --system-file ./prompt.txt --yes ```

install whatever you need with pip etc. prompt.txt contains the leaked claude code prompt which you can find yourself on the internet.
by 0xffff2 | 2025-07-23 22:36:23+00:00
Much to my annoyance, no one seems to have any interest in making a Linux compatible Quicken alternative. Until they do, I'll have to deal with Windows in some form. That's just my example though. The broader point is that there is a lot of Windows only software out there and each person only needs to have one piece of mission critical Windows only software in their life to make the friction of switching too high to bother with.
by nemo1618 | 2025-07-23 22:36:56+00:00
There are two ways to look at this.

First is that, if the parsing library for your codec includes a compiler, VM, and PGO, your codec must be extremely cursed and you should take a step back and think about your life.

Second is that, if the parsing library for your codec includes a compiler, VM, and PGO, your codec must be wildly popular and adds enormous value.
by TristanBall | 2025-07-23 22:37:10+00:00
Perhaps look to your marketing folks rather than engineering.

"Purchasing silver sponsership with [org] as a way to grow our brand awareness" is intrinsically understandable to pretty much any businesses manager.

"Giving away money for something we already have", which is what most technical managers will hear regardless of your actual pitch, is completely inexplicable to many.

It does require that sponsership is even possible, and recurring sponsership may be harder than recurring license fees of course, so its not a sure thing, just an option to try.
by camel-cdr | 2025-07-23 22:37:11+00:00
Yeah, I wouldn't use this type of thing for these problems, this was a huge mess. But I think code designed for autovec is resonable as a scalar base implementation for a larger set of problems than people think.

I've seen the problem before, where people explicitly vectorized (sse) something, but the code could be autovectorized (avx) and outperformed the explicitly vectorized one, because the compiler could take advantage of newer extensions.

You really should be able to use a ISPC like subset in your C code, OpenMP goes into the right direction, but it's not designed with SIMD as the highest priority.
by FirmwareBurner | 2025-07-23 22:37:21+00:00
Are American people allowed to have F-35s jets and Abrams tanks too? NO?! Then what kind of tyranny is this where your elected government's military has the monopoly on violence?

Feels unsafe man. We should look towards free and egalitarian countries like Congo, Sudan or Zimbabwe where citizens have access to the same hardware as the military and they use it regularly to deal justice, competing with the local military. Much better.
by tptacek | 2025-07-23 22:38:03+00:00
Because of legal uncertainty around Swiss government proposals(new window) to introduce mass surveillance — proposals that have been outlawed in the EU — Proton is moving most of its physical infrastructure out of Switzerland. Lumo will be the first product to move.

This is the funniest thing ever.

Jurisdictional safeguards have always been snake oil. Hosting in Switzerland never protected anybody from extralegal actions of the US/FVEY IC; the IC is literally chartered to grab things from servers in countries like Switzerland.
by iLemming | 2025-07-23 22:38:20+00:00
> Maybe I'm just wrong

Yes you are. First of all there isn't such a thing as "strict typing", types are either static/dynamic and/or strong/weak. I suppose you meant Elixir has no static types. It is however a strongly typed language.

And just like it usually happens, static typing enthusiasts often miss several key insights when confronting dynamically typed languages like Clojure or Elixir (which was inspired by ideas implemented in Clojure).

It's not simply "white" and "black", just like everything else in the natural world.

You have to address:

- Runtime flexibility vs. compile-time safety trade-offs — like most things, things have a price to it, nothing is free.

- Different error handling philosophies. Sometimes, designing systems that gracefully handle and recover from runtime failures makes far more resilient software.

- Expressiveness benefits. Dynamic typing often enables more concise, polymorphic code.

- Testing culture differences. Dynamic languages often foster stronger testing practices as comprehensive test suites often provide confidence comparable to and even exceeding static type checking.

- Metaprogramming power. Macros and runtime introspection enable powerful abstractions that can be difficult in statically typed languages.

- Gradual typing possibilities. There are things you can do in Clojure spec that are far more difficult to achieve even in systems like Liquid Haskell or other advanced static type systems.

The bottom line: There are only two absolutely guaranteed ways to build bug-free, resilient, maintainable software. Two. And they are not static vs. dynamic typing. Two ways. Thing is - we humans have yet to discover either of those two.
by dvt | 2025-07-23 22:38:53+00:00
I think there are two differences: urgency and immediacy. A checklist is urgent in a way a to-do list isn't. The sky will fall if a checklist is not followed when X happens, whereas a to-do list is kind of a nebulous list of nondescript tasks. A checklist's immediacy also implies a strict ordering, whereas a to-do list does not. For example, task A must be completed before task B or the sky will fall.

It's just a lot stricter operationally, which is why I think you'd get a lot of pushback trying to implement one for non-critical business tasks.
by metabagel | 2025-07-23 22:39:13+00:00
The article actually doesn't refute the idea of resting meat to retain the juices. In fact, it supports it. It just provides a reason for why this works which is perhaps different than conventional wisdom.

Retaining the juices in the meat has to do with the temperature at which the meat is cut. Resting allows the temperature to drop, which creates less pressure, so the juices aren't forced out of the meat nearly as strongly.

The title is click-bait. The major rule is correct, not wrong. But, now we know a little bit more about why this rule works.

> As the meat rests (and therefore cools) that vapor pressure decreases, and so does the juice loss. It's not about reabsorption or thickening as the juices cool, which is another common explanation that's been offered over the years. It's simply about pressure. Control for final internal temperature, and—rested or not—the juice loss is the same.
by dooglius | 2025-07-23 22:39:14+00:00
One thing worth pointing out is that Linux makes it pretty difficult for userspace to access uninitialized memory; the MAP_UNINITIALIZED flag for mmap has to be specifically configured but generally isn't, so the memory does get zeroed at some point. Best you can hope for is that your heap allocator re-uses some un-munmapped memory. The kernel will zero pages on-demand, which helps, but you're still paying a cost for that zeroing.
by JKCalhoun | 2025-07-23 22:39:27+00:00
I assumed that, after having using LLMs myself increasingly, that LLM's killing search was inevitable anyway. Further I assume that Google recognizes it as well and would rather at least remain somewhat relevant?

Google search, as others have mentioned in this thread, increasingly fails to give me high-quality material anyway. Mostly it's just pages of SEO spam. I prefer that the LLM eat that instead of me (just spit back up the relevant stuff, thankyouverymuch).

Honestly though, increasingly the internet for me is 1) a distraction from doing real work 2) YouTube (see 1) and 3) a wonderful library called archive.org (which, if I could grab a local snapshot would make leaving the internet altogether much, much easier).
by sfRattan | 2025-07-23 22:39:39+00:00
> This is just a continuation of “well a lot of people who commit crimes have dark skin, so let’s profile all people with dark skin.”

You aren't born with a GrapheneOS phone and you can't trivially discard or swap your skin color. Born immutable characteristics of humans are a different moral category entirely, even if the statistical inferences are superficially similar to this case... And that's debatable.

I use GrapheneOS, and I think police profiling people based on phone model is bad. But government profiling based on skin color or other effectively immutable, born traits for enforcement of law or policy is so much worse.
by eikenberry | 2025-07-23 22:39:57+00:00
Fair point. I guess the problem is with their (Neo)Vim keybindings, not so much with the modal-editing part. I included it as vim is the most popular modal editor and its keybindings are what are lacking.

Are there any modal editors that are not file-based? Maybe it would be better to say this is a problem with its file-based editor emulation?
by monch1962 | 2025-07-23 22:41:07+00:00
I love this implementation approach.

At first glance I questioned your choice of bash over something like Python, but you're right - bash is everywhere and every competent Linux admin knows how to use it. There's a zillion unprotected Linux servers out there where this would be very handy.

In terms of next steps, it might be worth documenting more about the notification framework and some simple examples of how we might use it. I can see you've mentioned integrations with email, Slack and webhooks in the tech paper, but I can't spot anything about how to use them

Congratulations on a really worthy project
by mike1o1 | 2025-07-23 22:42:09+00:00
I guess, but you'll be writing a _lot_ of code yourself, that might be hard to maintain and can become brittle overtime as requirements evolve.

As an example, I wanted to add support for adding tags to a resource, and support filtering for the resource by the tag, and I wanted to be able to do this filtering both through Elixir functions as well as GraphQL.

Can I do this with Ecto? Absolutely, but I'd have to build it all myself.

With Ash, I created a `Tag` and `Tagging` resource, adding a `many_to_many` block on my resource, marked it as public. Then I added the `AshGraphql.Resource` extension to my `Tag` resource, marked it as filterable and I was done.

Now I can filter and sort by tags, filter by where tags _don't_ exist and more. I didn't have to do anything other than model my domain, and Ash took care of the rest for me. Not only that, but it probably did a lot of things for me that I probably wouldn't have thought of, such as supporting multi-tenancy, policies and more.

It really is a lovely tool, I can't say enough good things about it.

Does it have a learning curve? Absolutely! Is it worth overcoming it? Again, absolutely!
by jiggawatts | 2025-07-23 22:42:56+00:00
I asked for a "script". Asking for a one-liner does just that, with no input validation, comments, etc...

Fundamentally, bash is just... verbose.

I.e.: Here's the same task implemented in two scripting languages:

PowerShell is 5 lines of code: https://learn.microsoft.com/en-us/azure/virtual-machines/ena...

Bash is several pages: https://learn.microsoft.com/en-us/azure/virtual-machines/ena...
by dooglius | 2025-07-23 22:43:04+00:00
Seems like the heap allocator has a bug if it doesn't handle invalidating the free hint before it returns it to the application. This does raise the question of why MADV_FREE works on the basis of writes rather than accesses -- there are PTE bits for both cases right, and it would have been just as easy to have any access cancel the free hint? (I am assuming x86 here.)
by nine_k | 2025-07-23 22:43:36+00:00
This is an old, tired lesson: technology is morally neutral. It can serve equally well both good and bad purposes, and there's no way to coax technology make moral decisions for you.

Banning a technology in an attempt to limit its bad uses still dispropotrinally affects it good uses: legitimate, law-abiding users are less prone to breaking the rules than criminals, who break the rules by definition.

We have seen this happening again and again, from hi-tech things like encryption and DRM to basic stuff like knives. But fear and moral panic very often overcome the voice of reason, of which we are seeing another case.
by southernplaces7 | 2025-07-23 22:43:50+00:00
Since this isn't a defense of Google but of the many clever creators on YouTube, I can comfortably applaud so much of their work. YouTube isn't at all about just garbage content. It has no shortage of that, but it also has absolutely no shortage of truly fantastic, educative, production-worthy videos and channels of all kinds. I mean some truly excellent ones here, that are easily as good as or very often much better than anything I used to see for documentaries on network or cable TV. That so many of them are made at a fraction of those old documentary budgets and by completely independent creators (often just some guy working from his home studio) is an incredible achievement of modern media technology and innovation.

The YT algorithm will often promote to you more that's similar to whatever you've already watched, so if you actually start seeking out a certain type of quality content, you'll find more of it being recommended. I carefully pick the things I take the time to view or play in the background while im working on household chores and so far haven't had any shortage of genuinely great things to enjoy.

YT has its many flaws, but one of them certainly isn't a shortage of quality vidoes about nearly anything you could want to know about.
by Jyaif | 2025-07-23 22:44:06+00:00
> Early Android lacked the bounce

Early android had some visual feedback (a gradient that faded out) instead of the bounce, possibly because Apple owns a patent ( https://patents.google.com/patent/US7469381B2/en ).

Current Android still does not use the bounce, and instead stretches the content, which works well enough on the high resolution screens that we have now.
by trehalose | 2025-07-23 22:44:09+00:00
I fully share your distrust of Google, and I think it's unforgivable that they still haven't patched it, yet it's not obvious to me what of their own software would rely on it not being patched? (Are you suggesting Google exploits this vulnerability themself? That seems unlikely to me--they can make their own operating system do whatever evil they want it to; why would they need to trick the user into doing it for them?)
by TheAlchemist | 2025-07-23 22:44:14+00:00
Tesla is having exactly the same regulatory hurdles on Robotaxi deployment as me. In both cases they are nonexistent. And we both don't have the technology necessary for running a Robotaxi service.

Tesla knows that damn well. That's why they did NOT even try to apply for any driverless commercial robotaxi service license. But hey, it's a nice plausible argument.

Here a recent story about a similar argument: https://electrek.co/2025/07/11/elon-musk-tesla-robotaxi-is-c...

Relevant quotes:

"The CEO also said that Tesla will bring Robotaxi to the Bay Area in California with “a month or two” and that the company is just waiting for “regulatory approvals”:"

" The CA DMV said that Tesla has yet to apply for those permits as of Thursday, July 10:

“To date, Tesla has not applied for either a driverless testing or deployment permit.”"
by omnicognate | 2025-07-23 22:44:34+00:00
Read the manifesto, linked there and in the comments here. Its entire membership is 19 close friends and they won't let anyone new join who hasn't already been friends with one of them for at least 10 years.

They're just sharing the idea because they like what they've built and think other people could have fun building something similar. It's like a treehouse enthusiast putting some pictures of the cool treehouse they've made on their website. It's not an invitation to come and hang out in it.

I'm tempted to make one of these, TBH.
by dataviz1000 | 2025-07-23 22:46:41+00:00
"Searing the meat seals in the juices" -- every chef on every cooking show.

Can we do a study on that too?

hmmmmm. I want to grill two steaks, the same size, and to the same internal temperature on the same grill. Let one rest for ten minutes in a pie pan and cut the other into 4 pieces letting it also rest for ten minutes in a pie pan. Probably also wrap them in tinfoil. Then weigh the released juices at the end.

There is a huge difference between eating a steak that has rested allowing the vapor pressure decrease vs one that hasn't rested even though the internal temperatures in the middle are the same.

edit: I found a video of the experiment https://www.youtube.com/watch?v=pYA8H8KaLNg
by tonyarkles | 2025-07-23 22:47:09+00:00
> Checklists to pack for vacation

I often have to travel for work. Sometimes I have a fair bit of notice in advance and sometimes I don't. In either case, checklists are super handy for me. I generally use either Apple Notes or Obsidian for these (previously Emacs org-mode but it's less convenient for the "add an item from your phone" case than the other options).

For the "notice in advance" case, I'll start a packing checklist pretty much the moment I know I have to travel and I'll immediately write down just a sentence or two about the purpose/objective of the trip and add any special things I might need (e.g. a Saleae logic analyzer for debugging or a GoPro for documenting). As things get discussed and the trip gets closer I'll keep adding things to the list.

For the "not much advanced notice" case, I'll look back at previous checklists to find one that has a similar objective and basically just copy it wholesale and tweak. Super super useful keeping those old checklists around, even if they're only 80% correct for the next trip.
by vlod | 2025-07-23 22:48:25+00:00
>It would have to be standardized/verified to be accurate somehow.

You could do something that for the same zip/county, aggregates the results based on a certain percentage. You could weight it based on how many times a user is outside this range. (e.g. bad actors)

I just got zigbee working in my house (SONOFF Zigbee 3.0 USB Dongle Plus Gateway). Is there any recommended weather nuts out there that could recommend a weather device (that they like and is cool), just in case someone wants to create a project and is looking for data providers.
by o11c | 2025-07-23 22:48:32+00:00
People keep saying this, yet infinite real-world experience shows that systems perform far better if the OOM Killer actually gets to kill something, which is only possible with swap disabled. In my experience, the OOM killer picks the right target first maybe 70% of the time, and the rest of the time it kills some other large process and allows enough progress for the blameworthy process to either complete or get OOM'ed in turn. In either case, all is good - whoever is responsible for monitoring the process notices its death and is able to restart it (automatically or manually - the usual culprits are: children of a too-parallel `make`, web browsers, children of systemd, or parts of the windowing environment [the WM and Graphical Shell can easily be restarted under X11 without affecting other processes; Wayland may behave badly here]). If you are launching processes without resilient management (this includes "bubble the failure up unto my nth-grandparent handles it") you need to fix that before anything else.

With swap enabled, it is very, very, VERY common for the system to become completely unresponsive - no magic-sysrq, no ctrl-alt-f2 to login as root, no ssh'ing in ...

You also have some misunderstandings a bout overcommit. If you aren't checking `malloc` failure you have UB, but hopefully you will just crash (killing processes is a good thing when the system fundamentally can't fulfill everything you're asking of it!), and there's a pretty good chance the process that gets killed is blameworthy. The real problems are large processes that call `fork` instead of `vfork` (which is admittedly hard to use) or `posix_spawn` (which is admittedly limited and full of bugs), and processes that try to be "clever" and cache things in RAM (for which there's admittedly no good kernel interface).

===

"Swap isn't even that slow for SSDs" is part of the problem. All developers should be required to use an HDD with full-disk encryption, so that they stop papering over their performance bugs.
by mikrl | 2025-07-23 22:48:51+00:00
>I honestly can't imagine using an AI app to ever qualify as what I would determine to be what I deem a friend

Agree, but AI has one massive benefit I’ve seen.

Conversations that I can’t have IRL because the response would be “huh? What are you talking about? I don’t know what that is.”

LLM apps are a fountain of knowledge and can reason well enough to bounce ideas and speculation off of. I can dump all my esoteric conversational topics into it and be engaged without needing to do 5 degrees and work in 3 industries at once, and the massive amount of socialization that would entail.

Maybe there will be a division in my social life, where my IRL human connections are more grounded and homely, and the LLM bears the brunt of my neurodivergent interests.