MurphyA/hacker-news huggingface dataset:
by kragen | 2025-10-26 06:41:19+00:00
You may be right that the higher peaks are the reason sinewave 120Vac RMS is a heftier shock risk. Or it might also be the fact of being AC, in the sense that a square wave inverter output with 120V peak and RMS voltage maybe is more dangerous than 120Vdc. I don't know if it is or not. I could make up reasons that it might be, like maybe it's harder for neurons to adapt to, or maybe electrolyte depletion near the electrodes increases the body's resistance, but I don't have any evidence.

There really are some shock risks that result from your body being heated as a resistive load, like internal burns, but those are not at the top of the list, especially at only 120Vac.
by sholladay | 2025-10-26 06:41:37+00:00
Obviously you should set standards for your company. I’m not saying just hire anyone and be done with it. But I am saying that hiring is a long-term project. And I am saying that many people could meet your standards if you meet them half-way by giving them all of the information they need, holding their hand a bit at the beginning, and giving them time to figure everything out.

I’ve worked at places that have the opposite philosophy - hire quickly and fire quickly. That works in terms of hiring people who already happen to be what you want them to be. It just leaves no room for anyone who could be, but isn’t yet, what you want them to be. It also leaves no room for anyone who is different from what you are looking for but who could still bring a lot to the table if you just take the time to figure out what that is, which I think describes a lot of people. You might have hired a mediocre programmer who would be a rockstar at documentation, for example. That kind of thing happens all the time, yet workplace culture and practices tend not to accommodate that. By all means have standards, but put in some effort to help your people reach them in their own way.
Show HN: Project Journal – Give AI coding assistants persistent memory
by CursorWP | 2025-10-26 06:42:09+00:00
I created a simple technique to solve AI assistant context loss.

The idea: Maintain a PROJECT_JOURNAL.md file that documents your project's story - decisions, progress, status, next steps.

The AI reads it at session start (full context) and updates it at session end (persistent memory).

I've been using this building Vibe CMS. Results: - Zero time wasted re-explaining - AI maintains consistency - Natural documentation - Better decisions (you write WHY)

Made a free template (CC0): https://github.com/CursorWP/ai-project-journal

Works with Claude, ChatGPT, Copilot, any AI.

Would love HN's feedback on this approach!
by eesmith | 2025-10-26 06:42:13+00:00
Sure, and one of my co-workers in Palo Alto had his primary residence in Washington State. But at least he rented a studio in the Bay Area for when he was down during the week.

Here, the two bedrooms were added to the police station so the police chief can live there at taxpayer expense, in seeming violation of Millbrae's Code of Ethics for city employees, and without permission or a permit, and in violation of fire code. "The inspector also took a picture of a shelf in the bedroom with what appears to be a half gallon of liquor. That would be a violation of both city and county policy."

Do you really want a police chief to have such disregard for the law, regulations, and policy? I sure don't.

It looks like you skipped these rather important details so you could have an excuse to complain about the Bay Area and promote open carry. In actuality, you are justifying an abuse of power and trust.
by echelon | 2025-10-26 06:42:22+00:00
They're distilling Nano Banana with a Google dataset, letting anyone more easily build and test their own systems. It's kind of funny how easy this is to do.

"You wouldn't steal a car," but anyone can distill an expensive, fully trained model in order to build their own.

This is going to be one of the most important categories of image model. It's good that we have more than Google and the Chinese (ByteDance, et al) with competent editing models. I don't think Flux Kontext is keeping up.

It'd be really nice if we had a Nano Banana-calibur model as open source.
by snowfield | 2025-10-26 06:43:03+00:00
I'd assume that behind the scenes the models generate several passes and only show the user the best one, that would be smart, as to to make it seem their model is better than others

Is also pretty obvious that the models have some built in prompt system rules that makes the final output a certain style. They seem very consistent

It also looks like 40 has the temperature turned way down, to ensure max adherence, while midjourney etc seem to have higher temperature.more interesting end results, flourishing, complex Materials and backgrounds

Also what's with 4o's sepia tones. Post editing in the gen workflows?

I don't believe any of these just generate the image though, there's likely several steps in each workflows to present the final images outputted to the user in the absolute best light.
by lukaslalinsky | 2025-10-26 06:43:39+00:00
Linked lists are slower if you iterate over them fully, however, that's not the only use case. Removing something, while keeping things in order. That's an O(n) operation on vectors, unless you have some kind of fancy segmented structure. Adding might need an allocation, even ignoring the option of failure, that's an unpredictable delay. On the other hand, linked list insert is O(1) and has no allocation involved. These are the properties people use linked lists for.
by RyleHisk | 2025-10-26 06:44:06+00:00
Remember the 15% transaction fee on the Steam market? That's why the price difference hasn't disappeared. Players can avoid this fee through gifting and off-platform transactions. And all of this is just Chinese players trying to buy games cheaper—after all, what else can Steam wallet funds be used for? Some comments claim this is a way for Chinese people to evade financial regulations, but that's complete nonsense. The Steam market's capacity is entirely insufficient to meet the demand. They could easily choose to legally exchange currency using the foreign exchange quotas of relatives and friends, engage in cross-border wash trading through underground banks, or use fake trade and fake investment schemes.
by merb | 2025-10-26 06:44:22+00:00
Just reading the blog post makes me wonder if they really saved 500k. How long did it take them to build the solution, how many people built it, how much does the new service cost while it’s running? How many ops ours does the new service need? The blog goes into many details that I doubt that they built it in less than a month. So maybe they will save money over years but they probably lost money while building the new solution
by mobeigi | 2025-10-26 06:44:28+00:00
I appreciated the sentiment but I do wonder how on earth a CTO has enough time to write one line of code, let along several thousands. Even before reaching the C-suite roles, higher ups tend to be in meetings all day, back to back. In the short amount of non-meeting time they find, they typically have to do other admin related things or information sharing.

I guess that CTO uses weekends or works super long hours which I is fine if they don't push that expectation onto others.

I'd only really expect a CTO in an early stage startup to be pushing code like this (and eventually stepping back when they grow).
by com2kid | 2025-10-26 06:44:38+00:00
> Gold trade = good.

Look up the atrocities committed on the name of countries gaining more gold sometime then get back to us on that one.

> Blockchain = good. Single network = bad.

The CC networks have much lower fraud rates than the block chain does.

> Small forums = good. Reddit = bad. Social media giants = bad.

This forum is 100% a benevolent dictatorship and it works really well.

> A local sheriff = good. An army = bad.

Plenty of very corrupt local sheriffs. Horribly corrupt for that matter.

> On device AI = good. Open source AI and datasets = good. OpenAI and closed datasets = bad.

Agreed!
by rkomorn | 2025-10-26 06:45:59+00:00
Approving with comments like "please fix X before you merge" is a footgun I've decided to avoid.

I totally agree with you on being explicit about why approval isn't given.

I'll say that there are lots of things that make any/some of us suck at PR reviews that I don't think are made worse or better by this "always approve or request changes" vs "comment without approval or requesting changes is okay" difference.
by Anduia | 2025-10-26 06:47:32+00:00
I use PlantUML because it renders in GitLab's markdown, including wikis, MD docs and even PR comments. However, I have to use Mermaid for projects hosted on GitHub.

The hassle of tweaking the layout in puml, such as pairing elements with an invisible connections and groups, adding or removing dashes from the arrows in class diagrams... is gone because Mermaid is simply inferior in that sense.

Mermaid always feels like it's in beta and I don't understand why GitHub ignores the request to support puml (1). It seems that adoption of diagrams as code is tied to what is supported by major vendors and they don't care enough. Or maybe it is because mermaidchart made an official vscode plugin, who knows.

While I agree that improvements are needed, I'm not convinced that creating a third standard is the answer. What I would like is to be able to assign weights to my elements and let the renderer do the work (not set x and y coordinates like in oxdraw).

[1] https://github.com/orgs/community/discussions/10111
by echelon | 2025-10-26 06:48:18+00:00
Please fix the title, or change the link.

The title of this article is "image editing showdown", but the subject is actually prompt adherence in image generation from prompting.

Midjourney and Flux Dev aren't image editing models. (Midjourney is an aesthetically pleasing image generation model with low prompt adherence.)

Image editing is a task distinct from image generation. Image editing models include Nano Banana (Gemini Flash), Flux Kontext, and a handful of others. gpt-image-1 sort of counts, though it changes the global image pixels such that it isn't 1:1 with the input.

I expect that as image editing models get better and more "instructive", classical tools like Photoshop and modern hacks like ComfyUI will both fall away to a thin fascade over the models themselves. Adobe needs to figure out their future, because Photoshop's days are numbered.

Edit: Dang, can you please fix this? Someone else posted the actual link, and it's far more interesting than the linked article:

https://genai-showdown.specr.net/image-editing

This article is great.
by orbital-decay | 2025-10-26 06:52:21+00:00
That happens by default in low-resource languages, no bad translations needed. They don't have enough either written material to train an LLM, or labels for time periods and various dialects in a continuum. For example even the best multilanguage models will lump up all Berber languages into one unstable abomination nobody speaks, usually writing it in Neo-Tifinagh. Not much can be done about that, training a model in all varieties of these would require a huge specialized effort.
by amazingman | 2025-10-26 06:53:00+00:00
>I do not use AI for engineering work and never will, because doing the work of thinking for myself is how I [...]

This is a framing issue that's keeping you from doing clearer thinking, faster. LLMs, especially in agentic configurations, are a cognitive tool. Just because many people use a tool unskillfully doesn't mean that tool is useless.

>If anyone gives me an opinion from an AI, they disrespect me and themselves to a point they are dead to me in an engineering capacity.

Hmmm...

> Once someone outsources their brain they are unlikely to keep learning or evolving

Agreed. But there are many ways in which people can "outsource their brains". LLMs are one way. Dogmas are another.

>If this pisses you off, ask yourself why.

It would definitely piss me off to see an engineering leader fail to grasp the obvious due to some poorly reasoned beliefs.
by frankdejonge | 2025-10-26 06:53:18+00:00
I’m using tsdown for a collection of packages and am switching a current project (https://flystorage.dev)over to it. I use it in “unbundle” mode, which doesn’t bundle but does file for file transpilation. To me, it’s an opinionated rolldown configuration with a simplified API. You can script up in a couple of lines of code which packages in a monorepo to compile and what formats to compile for. An example of that can be found here: https://github.com/duna-oss/deltic/blob/main/tsdown.config.t...

Compared to using plain tsc to compile the code, is that it’s a lot quicker. The compiled code has some odd conventions, like using void 0 instead of undefined, but … whatever works!

So far, it has been an easy-entry high-ROI tool that helps me publish TS/JS tools quite easily.
by sunaookami | 2025-10-26 06:54:33+00:00
>For example, if you accidentally download a malicious file, and it contains links, File Explorer would try to preview it, and it’ll also follow links inside the file as part of the process.

Huh, is this true? Seems like a major risk and entirely unexpected (OTOH it's Microsoft so doing insecure stuff is unsurprising)
by jchw | 2025-10-26 06:56:26+00:00
I think static executables will still be mostly loaded by the kernel; when you have a binary with PT_INTERP it will load that instead, but that executable still needs to be loaded in by the elf binfmt. Unless I just entirely missed what you were talking about from the article, which is surely possible, though I double checked and I don't see it implying that static binaries are loaded by userspace.

To me this whole thing is interesting since it essentially requires ELF loading to be duplicated between the kernel and libc, and then possibly duplicated again for libdl vs ldlinux. Seems unideal. (Though nothing new. Pretty sure it's been like that for decades by this point.)
by yupyupyups | 2025-10-26 06:56:27+00:00
The assumption is that they never share memory.

Any time you have an arbitrary independent task that can be started and then stopped by the user, you will need processes in Python.

Java is a lot better at concurrency and has a vast library for concurrency primitives like atomic operations (CAS etc.)

Python's strengths lies in its strong ecosystem and ease of use. Many times that overshadows the benefits of Java's competent concurrency features.
by frankdejonge | 2025-10-26 06:56:44+00:00
I use it to compile backend code. For those use-cases, IMO, vite itself is not so interesting (although I do use vitest). Using tsdown gives me a simplified API to compile my BE code so I can publish it to NPM. Nothing more nothing less. It’s faster and less work to orchestrate using TSC for CJS and ESM output, so very high ROI for me.
by waldrews | 2025-10-26 06:56:59+00:00
For math/data-sci/ML, multiple (GIL-bound) interpreters per process, with (unsafely) shared data structures, would get us much of the way there - basically multiprocessing without the marshalling and process overhead, at the price of pinky-swearing we won't mutate the shared data. That would enable, for example, calling Python-world utilities in-process from a properly multi-threaded language, which can be used to bootstrap e.g. the Julia or Golang (or C#, or Rust...) ecosystems with all the math that's now locked into Python world. If we want NumPy/Scikit etc. to be accessible via thin wrappers, it's tolerable if the Python layer is slow, but importing the GIL into the host language is too high a price.
by jumploops | 2025-10-26 06:58:02+00:00
Slight nit: it lists “OpenAI 4o” but the model used by ChatGPT is a distinct model labeled “gpt-image-1” iirc

A prompt id love to see: person riding in a kangaroo pouch.

Most of the pure diffusion models haven’t been able to do it in my experience.

Edit: another commenter pointed out the analog clock test, lets add the “analog clock showing 3:15” as well (:
by commandersaki | 2025-10-26 06:58:24+00:00
I don't know much about Swift, but it has a section in its documentation dedicated to and claiming memory safety: https://docs.swift.org/swift-book/documentation/the-swift-pr...

Enlighten us?

Edit: Looks like for multithreaded code they suggest you use thread sanitiser, so in multithreaded code it doesn't enforce memory safety. At the same time, I don't see a history of memory safety issues with Swift compared to C and C++, I don't see this being a big deal in practice, particularly if you adopt the strict concurrency checking.
Show HN: I built an SDK to select the best model for your task
by mjupp1 | 2025-10-26 07:02:01+00:00
I built AutoRouter, an open-source SDK that helps you find the most suitable AI model for a given task. Instead of manually browsing hundreds or thousands of models on Hugging Face, it uses embeddings and a vector database to recommend models based on semantic similarity to your task description.

It works with any type of model, including text generation, classification, and image generation. You can filter by license type, limit the number of results, or use your own custom registry of models.

The SDK requires OpenAI for generating embeddings and Pinecone for storing the model index. Once the models are indexed, selecting a model for a task takes just one line of code.

It’s free to use and open source

Example usage:

import { AutoRouter } from 'autorouter-sdk';

const router = new AutoRouter({ openaiKey: process.env.OPENAI_API_KEY, pineconeKey: process.env.PINECONE_API_KEY });

const models = await router.selectModel('build a chatbot'); console.log(models);

You can also include filters like filter: { license: 'apache-2.0' }

In future I also plan to add closed source models to the registry

I’d be happy to hear any feedback or suggestions.
by feydaykyn | 2025-10-26 07:03:08+00:00
Your phrasing makes it totally HR worthy to my mind, especially if the only thing justifying keeping him (experience) is not there.

I was going to give you more advice, but actually here the only one that matters : get counceling/coaching help outside the company, with someone specialised in work related topics. You need someone on your side, to listen, give you fact based advices, discuss strategies, challenge you. It's a very stressful situation, get all the help you can!
by lukaslalinsky | 2025-10-26 07:03:13+00:00
Look, I'm working on an async I/O engine, not unsimilar to Tokio. I started running benchmarks only to realize that I'm significantly faster than Tokio. Go, which is a garbage collected language with preemptive scheduling, is also faster than Tokio on these benchmarks. And Tokio is fast, I'm not claiming it's not. Rust developers program in terms of traits, and borrow checker behaviours. That's fine if you want enterprise kind of safety by tooling. It's just not enjoyable to me and that seems fairly common view. There are people who enjoy languages like Rust, Scala, Haskell. They allow you to create your own world in the type system and that's fine, but it is more disconnected from the actual computer the code is running on.
by ofalkaed | 2025-10-26 07:05:48+00:00
I also have the dream of running a hot dog cart but I am not a people person so it remains a dream. Not sure how I ended up with this dream but I consider it at least once a year and have for 20 some years. Probably has something to do with that summer when I was young and broke and $2 hot dogs heaped with onions and sour kraut sustained me. I miss that cart. Here is to another shutdown, lets hope this one lasts long enough to make a difference.
by simoncion | 2025-10-26 07:06:20+00:00
> yeah I used the an average instrument specific rate.

Would you provide a link to the source of this average instrument specific rate?

I'm interested in knowing which instruments designed to detect low-to-medium-level radiation sources on a human are configured so that five detections per second would equate to a "You're fucking dead; there's really no hope for you" dose.

(Did you ask an LLM to "convert counts per minute to mSv" and fail to sanity-check the confident-sounding result it gave you?)

> ...everything emits...

Given that the crust and sea and air of this planet are chock full of radioactives, and that every living thing on the planet builds itself out of that material, that goes without saying.
by dingaling | 2025-10-26 07:10:53+00:00
Kagi, who up to now have been respectful of their users, have just introduced a floating 'Quick Answers' AI summariser button in the bottom right of their search results page on mobile - precisely where one would place one's thumb to scroll the page.

I've already inadvertently clicked on it once.

Very disappointing and they don't provide any toggle to remove it.
by Traubenfuchs | 2025-10-26 07:11:13+00:00
PDE5 (viagra, cyalis) improve the health of the cardiovascular system, thus improve kidney health and I greatly enjoy them.

This is well researched and just like with semaglutide I believe a big part of the population should take daily tadalafil.

Better cardiovascular health, more erections and many positive downstream effects (lower E:T ratio, weight loss) that are beyond the scope of this comment.
by jorangreef | 2025-10-26 07:11:29+00:00
Regardless of language, there was never any question that TB would be using io_uring—the interface is that good! If anything, Zig made it easier, bringing all the primitives/atomics I needed to merge io_uring directly into the std lib.

Note that io_uring doesn’t require a pre-allocated core for spinning. There are multiple modes. We just use the kernel thread pool, which we prefer to a user space thread pool!
by Someone | 2025-10-26 07:15:08+00:00
> The non-emergency classification is bureaucratic nonsense

FTA: “This is an eight-hour notification, non-emergency, for the transportation of a contaminated person offsite“

I read that as that the “non-emergency” classification isn’t for the victim or the “fell into a nuclear reactor pool”, but for the effects on those outside the facility of sending the victim off site.
by rkomorn | 2025-10-26 07:16:06+00:00
Getting off topic but this is exactly why, after never running for fun in my life, I got into cycling (a hobby that admittedly can easily turn expensive even if it doesn't have to).

Instead of running 10km in an hour, I could bike from Silicon Valley to the ocean and back in 3-4 hours, and have views over city, hills, oceans, suburbia, etc.