Hacker Newsnew | past | comments | ask | show | jobs | submit | baublet's commentslogin

Yeah this is a cringe way to weigh in on something completely unrelated to your project. Who cares if some random package supports Bun? Compat was always on Bun, anyway.


it’s a way to win supporters and make noise. everyone is taking sides


We wrote a simple internal tool that looks at the that transcript and replaces all UUID and BSON IDs with lower cardinality placeholders (e.g., id-1), including replacing them in the output, and it instantly brought down common error and hallucination rates. I figure this tool lets you apply semantic tokens to the IDs too, e.g. user-1 instead of id-1. Stuff like this is useful for my team because we only use small, fast, highly available models for bulk classification, so we measure error and hallucinations where we can.


Came here to add this, too. Sometimes the most valuable thing a solution can buy you is time to think of a better solution.


Yes - tho I'd refine it to say it's not just more time, it's time plus the forcing function of a working solution requiring more deeply understanding the problem space.


This is bigotry dressed up as concern. It’s also not something widespread. Seems like you just think immigrants are rapists.


It's interesting how much some of you expect us to ignore gut feelings and statistics to avoid the appearance of bigotry. We should at the very least be able to acknowledge statistical reality then we can debate what is an appropriate response. Hell, I don't even need to know the backgrounds of the immigrants. We know that males engage in almost all the violent/forcible sexual assaults. We know that a lack of community engagement increases the chance for anti-social behavior. We know that access is a prerequisite for interpersonal crime. That itself is enough to warrant heightened concern.


Weaponized ignorance.


I suspect if the IRGC accidentally blew up a school next to a military base in Oklahoma, they would find it in them to condemn those who made such an innocent mistake.


That's all speculation. What we know is that the US agressed Iran without provocation and in the midst of negotiations and started by blowing up a school and not owning up to it. And now they have threatened multiple times with destroying the civilian energy infrastructure, which is a war crime.


Reading the article, I didn’t see this answered: why not scale to more nodes if your workload is CPU bound? Spin off 1 cpu and a few gb of ram container and scale that as wide as you need?

e.g., this certainly helps when the event loop is blocked, but so could FFI calls to another language for the CPU bound work. I’d only reach for a new Node thread if these didn’t pan out, because there’s usually a LOT that goes into spinning up a new node process in a container (isolating the data, making sure any bundlers and transpilers are working, making sure the worker doesn’t pull in all the app code, etc.).

Side car processes aren’t free, either. Now your processes are contending for the same pool of resources and can’t share anything, which IME means more likelihood of memory issues, esp if there isn’t anything limiting the workers your app can spawn.

Still, good article! Love seeing the ways people tackle CPU bound work loads in an otherwise I/O bound Node app.


> but so could FFI calls to another language for the CPU bound work

Worker threads can be more convenient than FFI, as you don't need to compile anything, you can reuse the main application's functions, etc.


True! Although in a lot of Node you DO have a compile chain (typescript) you need to account for. There’s a transactional cost there to get these working well, and only sharing the code it needs. These days it’s much smaller than it used to be, though, so worker functions are seeing more use.

I make my comment to note tho that in many envs it’s easier to scale out than account for all the extra complications of multiple processes in a single container.


> few gb of ram ...

5 years ago I never would have given this comment a second thought.

Now I read it and have to wonder: when does the price of ram start showing up in the butchers bill from your cloud provider?


I don't know about you, but my cloud provider has been charging me for the ram on my compute instances since the beginning.


Ram has always been one of the major price drivers...

But the prices have gotten stupid: https://pcpartpicker.com/trends/price/memory/

https://appleinsider.com/articles/26/02/27/the-global-ram-an...


You have to pay that cost in a worker thread anyway, too. There’s no free lunch.


> Reading the article, I didn’t see this answered: why not scale to more nodes if your workload is CPU bound?

It's an SDK that runs in users' apps. So userland code blocks the event loop, preventing outgoing heartbeats from the SDK


Yeah and it’s not our fault every Elon discussion involves politics. It’s literally all he does all day, and all he seems interested in, anymore.


They would not. The do not.


It was. In hindsight it signaled the beginning of the mass weaponization of the internet via social media. It also was NOT grassroots lol. It was very specifically and intentionally enflamed and groomed and funded by people like Steve Bannon and his good buddy Jeffrey Epstein. It wouldn’t have such a big Wikipedia article without them.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: