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

More like a nodejs bloat rather than JS bloat.

For personal objects I always prompt the AI to write JS directly, never introduce nodejs stack unless absolutely have to.

Turns out you don't always need Nodejs/Reactto make a functional SPA.


You’ve traded supply chain vulnerability for slop vulnerability.

Except your supply chain could also be slop and you have no idea (unless you’re auditing your dependencies, right?).

I’d take vibe coded vanilla js slop over npm dependency hell every day of the week.


China subsidizes Tesla and European EVs as well.

> guess they could put a large battery at the charging station

BYD's megawatt charging does exactly that.

Tbe best part, the "large battery" uses the same battary on BYD cars. The same electric components, cooling system, etc.


> If you can get a megawatt into the car batteries without setting them on fire, that's game over for petrol cars

Chinese people are complaining about this. In highway service stops, the megawatt charger is too fast, the 20%-95% charging is done before people returns from the toilet. Realistically, the charging speed should take around 10 minutes in average for everyone.

Or there could be some price surges. You are in a really hurry pay some 1.2x price for 3 min megawatt charge, or flat price for a regular 10 min charge.


> citizens that accept surveilence and lack of privacy

citizens had no choice.


Neither do US and European citizens. We seem to be accepting the same amount of surveillance and lack of privacy still.

Citizens always have a choice. The cost can be terrible, but there’s always a choice

What is that “choice”? Surely you aren’t like those yokels in the south that think a “militia” running in the woods can take on the the US military or even a decent SWAT force

Being willing to fight for what you think is right even though there is no hope of winning is a choice you can make without being a tacticool yokel that doesn't understand the tech gap between the people and their masters.


Winning remains the important part unless you think you're in a movie, though.

You're presuming that if they had a choice, they wouldn't accept it.

The reality is that chinese goverment is - overall - delivering results. People will accept things that bring good outcomes.

There's also upsides from the surveilence and the way things are done in China which makes it way more resilient from outside influence and disruptive bad actors.

Now I don't want the same things in my country, but it suits China to some extent.


This looks like the Lisp Curse

> by creating their own more technical dialect of English

Ah, the Lisp curse. Here we go again.

coincidently, the 80s AI bubble crashed partly because Lisp dialetcts aren't inter-changable.


Lisp doesn't get to claim all bad accidental programming languages are simply failing to be it, I don't care how cute that one quote is.

I bet a modern LLM could inter-change them pretty easily.

trained on public data, yes.

But some random in-house DSL? Doubt it.


jump servers, it's a thing and a good security measure.

And it's easy to create a clean 3 lines of ssh client config for the user to later just do

`ssh name`

Even less things to remember + you have documented your hostnames in the process.


so it's good practice to store key in non-default location and use ~/.ssh/config to point the path for each host?

What a great case of "you're holding it wrong!" I need to add individual configuration to every host I ever want to connect to before connecting to avoid exposing all public keys on my device? What if I mistype and contact a server not my own by accident?

This is just an awfully designed feature, is all.


> add individual configuration to every host I ever want to connect

Are you AI?

You can wildcard match hosts in ssh config. You generally have less than a dozen of keys and it's not that difficult to manage.


I have over a dozen ssh keys (one for each service and duplicates for each yubikey) and other than the 1 time I setup .ssh/config it just works.

I have the setting to only send that specific host’s identity configured or else I DoS myself with this many keys trying to sign into a computer sitting next to me on my desk through ssh.

Like I can’t imagine complaining about adding 5 lines to a config file whenever you set up a new service to ssh onto. And you can effectively copy and paste 90% of those 5 short lines, just needing to edit the hostname and key file locations.


I would say it's best practice to use a key agent backed by a password manager.

Specifically to use a different key for each host.

self-plug here.

Launch an AI agent to operate on production servers/sql safely using tmux

https://news.ycombinator.com/item?id=47411242


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

Search: