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

This approach is also what I'm still missing in agentic coding. It's even worse there because the AI can churn out code and never think "I've typed the same thing 5x now. This can't be right.".

So they never make the change easy because every change is easy to them... until the lack of structure and re-use makes any further changes almost impossible.


This is a great observation. I've noticed the same pattern with AI-generated code and deployment configs. Ask it to set up a Node.js service and it will happily write a new PM2 ecosystem file every time rather than noticing you already have one with shared configuration.

The "make the change easy first" mindset requires understanding what already exists, which is fundamentally a compression/abstraction task. Current models are biased toward generation over refactoring because generating new code has a clearer reward signal than improving existing structure. Until that changes, the human still needs to be the one saying "stop, let's restructure this first."


I've once received a USB-C charger with a portable breast milk warmer device that outputted 18V at 2A without doing PD negotiation.

That fried another device when I plugged it in.

This is non compliant in the EU, but when I reported it to the responsible authorities, they didn't feel like doing anything about it.

We are talking about a charger that can fry any device and potentially cause a fire, coming with a product aimed at people with babies, that's clearly non compliant to be sold in the EU, and they are doing nothing at all. Pretty shocking if you ask me.


> but when I reported it to the responsible authorities, they didn't feel like doing anything about it.

One problem with EU regulation (or at least most regulations; a few have union-wide regulators) is that you're really quite dependent on whether your national responsible body is any good.

For something like this (assuming it's sold union-wide and not just in your country), it might actually be useful to notify the responsible bodies on _other countries_ (once it's actually investigated and recalled the recall should be union-wide).


I recently bought a really cheap Android Auto screen for my car. It had a USB-C power input. Suspicious, I opened up the supplied cigarette power adapter. The USB power pins were hooked straight to the car battery rail. On most vehicles that's connected straight back to the alternator. Hilarious. I wonder how many people fried their phones because they thought "oh, I forgot my charging cable, but I can borrow my nav screen's for a bit"...


I got a mini PC with such a charger (Mele Quieter). I was so shocked I immediately put a label on the USB end with a stark warning not to plug into anything.


Yeah, I'm surprised that I'm being down-voted for this comment for this exact reason. Manufacturers are adding non-compliant USB-C plugs to tons of equipment and it causes these types of issues.


It's possibly because of conflating USB-C (the connector) with the USB protocols (what goes down the wires).

I could put a USB-C connector on a device and have it not even try to do any USB protocol over the wire. If not being careful about pinouts, it could be super easy to destroy either device if plugged into some other USB-compliant device.


It was Austria, and I think it's pretty telling that when free speech limitations come up in these kind of threads, it's always neo-Nazi stuff.


seriously why do people get so mad that a rapper can't release such classics like "Mein Kampf mixtapes" or "A Nazi goes to Afrika" in the country that birthed the guy who destroyed the world. (I know why they get mad)


I was naively hoping that with the M4 iPad the opposite of this would happen and they would let us unlock the power of this device so I could use it as my dev machine when I'm traveling.

Instead, no real improvements are coming to iPad OS and if you're not gaming or video editing, all you get to do is marveling at how powerful your YouTube player is in benchmarks.

Please Apple, let the Pro device finally be a Pro device and let us use virtualization.


The fact that the new $3k+ M4 iPad Pro cannot run regular OS X in some kind of VM or something is flat-out insulting.


surely it's coming. you don't keep maxing that thing out otherwise


Kiel has a tiny airport that doesn't have any scheduled services, but they have a large port with ferry and cruise terminals.


For MacOS I can really recommend https://orbstack.dev

It integrates very nicely, has very low CPU idle usage and also lets you quickly spawn VMs with bidirectional file sharing set up.

Since I switched I haven't looked back.


"no more complicated VMs" -orbstack

Curious how this works without a VM, or have they created some sort of linux "shim", a la WSL1.x?

If it's something like WSL1.x it means you're not actually "running linux", which may have subtle repercussions like differences in threading etc since it's really a Darwin system wearing a Linux suit.

That said if you're writing a CRUD app in python, that probably won't matter to you so it's still worth the tradeoff.


“OrbStack uses a lightweight Linux virtual machine with a shared kernel to minimize overhead and save resources, similar to WSL 2 (Windows Subsystem for Linux). This flexible architecture comes with many advantages such as high efficiency, low resource usage, seamless integration with macOS, and more.”

https://docs.orbstack.dev/architecture


Seems they're maintaining an unpublished fork of the Linux kernel "linux-macvirt" to achieve this. Apparently you have to contact them directly for a copy of the code[1]

https://github.com/orbstack/linux-macvirt


Strong types aren't just a correctness guarantee, they also help to discover structure and interfaces that previously were implicit.

If a developer can jump into an unknown part of a codebase and quickly see that following a certain structure will automatically make their code work for them without needing to read all the code first and double checking if it's just a random convention versus a strict interface so they don't reinvent the wheel or build code that doesn't fit in with the existing structure, then that's worth a lot and something you cannot simply cover with tests.


Your comment history explicitly mentions that you are a fascist. I guess nowadays you folks stopped measuring skull shapes and read things into internet comments instead.


Is there any proof that people trying to fly and jumping off a building is actually real? I always assumed it's some sort of anti drug meme that had been around since forever.


That does seem… odd. I’ve been enjoying mushrooms multiple times a year for 22 years. I’ve been around a lot of other people doing mushrooms. On fire lookouts. Rooftops. High in the mountains of Oregon, Washington, and Colorado. And I have never, ever seen anybody try to fly.


You haven't been around enough people doing psychedelics then. Psychotic breaks are not uncommon. Once you're at a music festival where n=thousands you realize this. Flying and drowning in lakes is not unheard of.

Everybody thinks they are immune to psychotic breaks until they do enough psychedelics and have one. This could be you some day.


You haven't been around enough people drinking booze then. Psychotic breaks are not uncommon. Once you're basically anwywhere with people drinking you realize this. Flying and drowning in lakes, murdering your wife, or dying in a fiery crash on the freeway are not unheard of.

Everybody thinks they are immune to psychotic breaks until they do enough booze and have one. This could be you some day.


I'm not sure why you're responding in this manner. I never said alcohol was any better. I was addressing a comment that they were surprised psychotic breaks and deaths happen on psychedelics. This has nothing to do with alcohol.

Seems quite petty of a response.


> I was addressing a comment that they were surprised psychotic breaks and deaths happen on psychedelics.

They were specificaly asking about people wanting to fly.

“And I have never, ever seen anybody try to fly.” was the direct quote. Doesn’t say anything about psychotic breaks or deaths.


\>thing A is bad, but so is thing B, so we can't criminalize thing A

Better decriminalize murder in that case.


Honest question: How many people do you think avoid murdering others because there is a law against it? Or another way of putting it, do you think that the reason more people don't go around murdering others is because the government wrote down somewhere "this is illegal"?


> How many people do you think avoid murdering others because there is a law against it?

if murder were legalized, the murder rate would jump, a lot.


No clue, but I also don't see how it's relevant to my tongue in cheek dismissive answer to OP


Oh, I’m aware it can happen. I’ve been around people who OD or go super deep in K Holes, and been to more than enough festivals for one lifetime, but those extreme side effects don’t seem to be all that common with mushrooms. I don’t even know anyone who knows anyone who knows anyone that has had a psychotic break tripping. The dearth of information online leads me to believe it really is extremely uncommon.


> I don’t even know anyone who knows anyone who knows anyone that has had a psychotic break tripping.

It's not that uncommon. If you don't believe me, volunteer for a medical tent for any music festival where psychedelic use is rampant. You'll get psychotic breaks all night.


I feel like you two are talking past one another.

One of you is saying "mushrooms" and the other is saying "psychedelics".


I'm saying all psychedelics commonly cause psychotic breaks. I've had to assist people on mushroom induced psychotic breaks before. I love mushrooms as much as any other hippie and think they should be legalized but don't agree with the whitewashing that is happening in the psychedelic activist circles. Let's not swing the pendulum too far in the other direction - they should be taken seriously just like any other mind altering drug.


What do you mean by "psychotic break" exactly?


It means psychosis. I'm confused about what you do not understand about this. It's losing touch with reality, knowing that you're in a situation or place which you are not - losing the ability to determine what is real or what is not real. Once you are out of this state you realize that you could not have been trusted to make any decisions about reality (whether you were where you thought you were, whether what you were doing was safe, whether what you believe was true). It's basically sleepwalking while on psychedelics. Once you're done with the psychosis you might not remember most of it.

If you get caught in this state at a music festival and restrained (sometimes restrained to a gurney if you are caught in a camping festival like Electric Forest and they determine an ambulance is not necessary) you get sent off via an ambulance where they will feed you benzodiazepines/antipsychotics and hold you at a hospital until you are back to reality, incurring a pretty hefty ER bill. This is not just a bad trip that someone can talk you down from. This is literally losing control of your entire being. It's like having someone else at the wheels. Short term psychosis.

That's how ALL big music festivals in the US handle psychotic breaks. They won't let you just go around the festival endangering yourself and being a menace to the rest of the patrons.

Not a great place to be in, but I've seen it enough times to know it's not uncommon.


Just weighing in, but sampling for these events isn't necessarily applicable to the general population.

Whether that's because people whose brains are more likely to experience psychosis are more drawn to music festivals, whether it's a supply-trust or dosage issue (lower purity or higher potency compounds, goers don't know what they took or how much), or that prior exposure to cultural lore like "drugs makes people want to fly" is influencing them, I don't know.

Age is also a known factor - schizophrenia is more likely to emerge around the age of maturity, often associated with stress and drug use (again, may be wet roads causing rain - people self-medicate even if they don't realize it), even though, statistically, "college" would be just as likely, and it often happens as a psychotic break, the way you described. I worked with young musicians for many years and saw it happen regularly enough - no psychedelics required.

So the fact that everything you mention happens is evidence, but of what? That's a harder question to answer.


I'm also curious if OP talks about actual medical psychotic breaks or "bad trips", which may overlap but don't have to.


I'm talking about medical psychotic breaks.


Please define that.


> I don’t even know anyone who knows anyone who knows anyone that has had a psychotic break tripping.

I’ve witnessed it. There might have been weed and/or alcohol involved as well.


In my experience weed with psychedelics is a horrible combination. I know a lot of people do it, but yuck.


The worst compounding factor is that many people do not have "trip sitters": sober people that take care no one gets up to too dumb shit, get injured, or that rude external people don't barge in and ruin the vibe.


Most of the times I’ve seen someone have a mental health episode while on drugs, it’s been caused by either overdose, poly drug consumption (taking a bunch of shit), or the drug they took not being the drug they thought they were taking.

Or massive sleep deprivation powered by stimulant abuse over a protracted period of time.


If you Google around it seems like there's plenty of anecdotal cases of it happening, although some of them are a bit tabloidy and sensationalized, and some of the people had multiple substances going on

https://www.independent.co.uk/news/world/asia/bali-death-ong...

https://www.manchestereveningnews.co.uk/news/greater-manches...

https://www.irishtimes.com/news/man-jumped-from-balcony-afte...


It's real, but highly uncommon (that is, every incident will be in the news); compare that to e.g. instances of drunken rages, alcohol poisoning, Korsakoff and drunk drivers which... is still reported on, but a lot of it goes by silently.


I remember that as a meme of sorts in the late 1960's. And there is a film with a scene where a hippie tries to fly out a window.

This is the scene, no idea what movie though.

https://www.youtube.com/watch?v=G29gdfcsgio


My friend experienced a situation where she took something 10 years ago that was speedy and trippy that was sold as LSD but was clearly NOT and there was definitely a feeling of invulnerability to damage at altitude and a heightened perception of strength.


If it weren't illegal, we'd have better supply chain transparency, and your friend would have been less likely to have been sold a dangerously mislabeled substance.


Same thing here. The worst part is when websites don't actually require an email confirmation to keep using them. In the beginning I've tried to reach out to those companies to close the accounts without accessing them but by now I've started just resetting the password and then deleting them. It's just too difficult to do the right thing.


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

Search: