HN user

c7DJTLrn

4,827 karma
Posts15
Comments813
View on HN

Please no.

Go is designed to be easy to read and easy to write. err != nil is not hard to read. If you don't like the repetition, it simply isn't the language for you. I'm perfectly happy with how Go does it. I do not want the language morphing into another Rust.

2000s kid, I first used something similar to LOGO at school, if you can consider that programming. I initially taught myself programming/scripting by writing Windows batch scripts. Scratch was introduced in my teens at school but by then I was far beyond block programming.

I hated Scratch. I saw it as childish and simplistic. I wanted to play with the big boy stuff.

Shell security is a joke anyway, there's plenty of other things to be cynical about than an install script. Such as how I can elevate privileges on your machine by phishing your password with a fake sudo binary in $PATH.

if China can ctrl c/ctrl v your idea and then pay cheap labour to churn out a clone within a week?

By being protective over our ideas we're admitting that China will do it cheaper and faster than us. Why can't we aim to beat them instead?

There's this kind of crab bucket mentality where in the West we feel like we need to be ahead of China no matter what. That's not going to last if all we have is trade secrets keeping us in the lead. Maybe we should get back to innovating. Reduce the amount of red tape and stamp out rent seeking behaviour. UK's economic growth this year is projected to be just 0.5%. China's will be ~5%.

Frankly I have lost faith in our leadership. I really don't see how we can catch up at this point. Might be time to learn some Mandarin.

We could easily reduce the risks but we're collectively too lazy to do it. Stop feeding antibiotics to animals, stop giving out strong antibiotics without supervision, sanction third world countries who do not put restrictions on access to antibiotics.

When YouTube stops working with ad blockers, assuming it cannot be circumvented, it will be the end of my YouTube-watching days. I already stopped using Reddit when they killed off Apollo. These companies are doing me a favour by removing these time wasting activities from my life.

I trialed YouTube Music recently, potentially willing to hand over my wallet, but the app is unimpressive.

The complaints about systemd timers seem strange. To me, they're a sysadmin's dream to work with. I can see exactly when the last trigger was, when the next one will be, and I can test that the unit will work properly when it fires. And I don't have to remember cron syntax.

As for them not supporting email, if you really need to you can add an OnFailure= to the service unit to send one.

Under 25 seems a bit young, and I say this as a 22-year-old. There isn't enough life experience there to understand the complexities of the real world.

But we do need younger people in politics. UK parliament is overwhelmingly old, rich, eurosceptic people. Funny how there's no diversity where it really matters.

There is also a huge portion of programmers who want to be on an assembly line. They don't care about their profession, they don't strive to improve at their craft, they don't read stuff on HN. They're simply there for the money. Since quality requires active effort in software, I think this group has an oversized responsibility for tech debt.

Case in point: frontend and the shit show that's become.

If you want to show something like this off it would be more appropriate as a Show HN since there isn't anything novel here.

Well for one thing, the child process could handle sighup

I've come across programs that use SIGHUP for various things like config reloading when they could use USR1/USR2 instead. UNIX signals are kind of crap in my opinion. USR1/USR2 should probably not even exist, there should be some other way to 'message' processes without IPC.

I'll use this thread as an opportunity to say this: if you ever have sudden hearing loss in one or both ears, seek immediate medical attention. Demand a proper consultation and don't take "give it a few weeks" as an answer from a GP.

Sudden hearing loss can be reversed with prompt steroid injections but if it's left then it will become permanent. My mother woke up one day with no hearing in one ear. Unfortunately, by the time she got a proper diagnosis it was too late to do anything about it. Since then she's had tinnitus and vertigo to go with it.

Are you referring to this?

People talk a lot about TSMC and the bleeding edge business(computers, phones), but that's just one part of it, but there's a whole industry of embarked software that will likely be much bigger.

I have no idea what "embarked software" means. So-called "bleeding edge" makes up a significant portion of semiconductor profits, so how can you disregard that and say semiconductor is going bust?

Arguably it is already a problem. NYC's "Billionaire's Row" is crammed full of apartments built for the sole purpose of investment and remain vacant. Imagine how many homes for "regular" people (yes, it's Manhattan, they'll still be expensive) could have been built there if there wasn't a financial incentive to bury money like this.

These skyscrapers buy "air rights" from neighbours to build high which takes away even more homes.

London has areas with the same problem.

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

Semiconductor in general is going bust, too much supply.

TSMC literally can't make chips fast enough. Companies are competing for wafers.

you also have too many players in the market

How? There are a handful of companies on the planet that can do 7nm process chips and below. Western Digital had an issue with its fab in 2022 and that alone was apparently enough to increase NAND flash prices by 10%.