skysight-inc/HackerNews huggingface dataset:
I don't have the source for this quote, but it does make some sense to me:

”Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler

Anyway, I think there has to be a decision/ranking on the importance of having

1. happy programmers & excellent code
2. code that any(?) developer could jump in and maintain

To me it often boils down to not making simple shortcuts due to laziness unless it buys time to market or has some other significant upsides.

Making a system flexible can often be done in a non-complex way so I would challenge then need to make software complex. There is often a trade-off between efficiency and maintainability. If the efficiency route is always preferred there could come a day when the developers quit and others have to maintain what they feel is a mess of code and want to rewrite it. So my vote would be to keep the complexity low (and flexibility high!) unless there's a concrete benefit of allowing the complexity to grow.

You could look into various design patterns to keep code flexible while keeping complexity low.
I have explained security, maintenance, cost, etc. using pretty much these exact words.

It's really hit or miss when it comes to having any impact.
I once rented one of those Golf at the airport, didn't like specifically the Golf ACC (possibly it could be somehow tuned/set differently) because - at least in my case - while driving on the leftmost lane it could "see" a car merging on the leftmost lane (to overtake someone going slower) at a too big a distance, immediately slowing down even if it was unneeded, really plenty of space before my car, then re-accelerating to the set speed as soon as the car in front returned to the right lane.

In slightly heavy traffic conditions on the highway it was unpleasant/confusing.
Well, the comments here are not butchered into short pieces, there are no garbage tags littered in the text body, there are no nagging popups requesting to register or turn on notifications, no avatars or embedded images, there is a sensible tree style formatting of replies, and due to the sane layout you can see much more content on the same screen. And there is a great moderation, both by community and dang. I definitely don't miss Twitter :)
Lobbyists have been successful convincing you of something in their paymasters interest and not at all in yours.
Some people just leave the timer running, they only bother to update it when they already have a new job. I would do that. A senior exec could do consulting for a foundation, an engineer just put the freelance practice. I wouldn't be bothered to fill in the gaps there, that's just for the HR drones during the first-pass filter.
Viewing VR through the lens of entertainment is a fundamentally flawed approach IMO and the whole industry got this wrong.

In the era of remote working how insane would it be if you could just carry a set of glasses and have infinite monitor space anywhere you go ? And once people are using it 8 hours a day for work - the stigma around using it for fun goes away.
Sorting out sorting is a classic! https://www.youtube.com/watch?v=HnQMDkUFzh4
Put another way, the feature is an asset, the code is a liability.
The article links to another article with a video recording of the accident: https://theintercept.com/2023/01/10/tesla-crash-footage-auto...

The car does stop pretty suddenly.
Thats not my point. You should, and I do, always leave enough space to stop, but not everyone does.

Being a safe driver is being aware that other people, including the people behind you, may not be leaving enough space. Suddenly stopping for a rabbit, from a speed of 50mph, is f-ing stupid and massively increasing the risk of a serious accident on the road.

Using a Level 2 automation that can randomly stop for no reason is not safe driving, you are increasing the chances that someone who is too close drives into the back of you.

Just because someone else is driving unsafely doesn't absolve you of the responsibility of being aware of that and not driving safely yourself.
In my gut feeling, it's never had been a factor because Tesla had no competitors in good-looking, UX focused EVs. Tesla buyers had specific, unaddressed reasons that competitors were either missing or had been ignorant about, just like how Nokia lost to iPhone.
> Poland and Czechoslovakia were part of the Soviet Union

you sure about that?

why do people comment on topics for which they lack even the most fundamental knowledge??
> Who needs unions with great labor laws already in place?

That's kinda like asking 'who wants vaccines when we have this wonderful herd immunity?'

Unions are the reason those labor laws are there in the first place.
Why it should be? The behavior is correct, /etc/localtime could change since last read so it is necessary to check whether old value can be used. The real problem is calling localtime() so often.
However there can be many reasons why a car has to stop suddenly: for example, a child might suddenly cross the road, or the driver might feel he or she is having a heart attack.

My driving school teacher used to say: always remember that the car ahead of you could suddenly stop at any time for a reason that you might not know.
If i receive an mail from e.g. paypal@paypal.com to myself@xyz.com that has no real mailbox but forwards the mail to myself2815@gmail.com.

1. paypal SMTP sends mail to myself@xyz.com
2. xyz.com receive mail SPF is valid
3. xyz.com sends the paypal mail to myself2815@gmail.com
4. gmail.com receives mail SPF is invalid

I can't add XYZ.com to Paypal SPF and hardfail would mean email loss in this case.

SPF is broken by design for many cases and should just used with softfail and dkim/dmarc.

There is arc but it has its own problems.
Kerbal Space Program should be compulsory to all if for no other reason than to teach how moving around in space /actually/ works.

Most of the spaceflying we see in games and on TV would never actually work because that's not how physics work.
You can probably use lite.duckduckgo.com.
Hope you had a great start to 2023! My team has worked really hard in 2022 to build a cool product for all the developers out there - a design-to-code platform that can convert designs to React, React Native, Gatsby, Next.js & HTML-CSS.

I am requesting support from the HN family to help us become the developer tool of 2022 on Product Hunt. This will mean a lot to me and my team.
Banning doesn't solve the problem. It just obscures one of the symptoms.

Motorcycles _and_ pedestrians equally take an unfair share of the mortality associated with vehicles. Which hints at a broader infrastructure and design problem, that makes it very much seem like "automated" cars are thrown into this mess without any design changes with the hope that they will also obscure the underlying error.

Aside from that, even my 650cc motorcycle got 52mpg most days. Yes, absurd power to weight ratio, but also absurd fuel efficiency and reduced lane occupancy. Very green.
Unfortunately only 1 developer in 20 thinks like this.
> Autofree does not work and can lead to double free and use after frees currently

Unless you can give an example, I'm going to have to say you're still spreading lies.

The issues with autofree were fixed in June 2022. From V's homepage (https://vlang.io/):

> (June 9, 2022) As of today, programs built with the V compiler no longer leak memory by default.

Your previous comment was from July 2022:

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

I don't think HN is the place for football tribalism. We're discussing tools. Please don't get so emotionally attached to a tool.

I mentioned a language with a Go-like syntax in a discussion about a port of a Go project. I haven't been critical of Zig anywhere in the thread.
"...central database for all NOTAMs (Notice to Air Missions) nationwide"

No. NOTAM is "notice to airmen."
I use uBlock origin with JavaScript disabled by default.

You can set a shortcut to enable JavaScript (“Relax blocking mode”, cmd-J for me. I don’t remember whether that was the default.)

You can persist enabled JavaScript for the current domain for the future.

I find that with JavaScript enabled on some 20 websites, the rest of the web works pretty well with the occasional cmd-J in case it doesn’t.

On mobile I haven’t found a good way to do it. Brave browser makes it easiest to enable/disable JS on the current page, among the ones I tested.
If you have the power to take away right to work from your workers then you also have the power to give them good conditions like paid vacation instead. I see no reason ever why you would remove right to work in that situation instead of just legislating proper worker rights, except to feed unions.
The online editor doesn't support rebinding yet, however, we have an integration with VSCode which allows you to open any branch/sandbox inside your local VSCode, with your own extensions and keybindings. That's how I've been doing most of my development with CodeSandbox!
One thing I observed (in me and others) that when tasks seem too simple at first, your brain automatically tries to add a bit more sophistication to the whole project - so you do not feel that dumb, and also to not look that dumb.

After a few years maintaining systems, I do not use the word "simple" for anything software or computer related anymore. I'm glad if something works as advertised - and I'm delighted if I see people putting in effort to make someone else's life easier.

People, who appear smart may well indeed be just a little frustrated. Not the person who makes things more complicated or ask complex questions is smart - that difference seems to escape some of the even smartest people.

As for working with these people, I don't know. You have to endure them, make them aware of the tradeoffs that are made, in the best case show them something simpler, that accomplishes the goal.
The problem is indulging them and calling them smart, make them understand that what they are doing is not smart and deterimental to the codebase and the project.
I've caught myself doing the same on occasion. I try not to do it anymore. If I may, I'd suggest to replace "zoning out" with "applying my freed mental bandwidth to monitor things that I would otherwise not have been able to pay attention to otherwise". IMO, driving aids should be used as emergency backstops and possibly a method of optimizing available attention. They are best avoided as an excuse to reduce overall attentiveness. For example, when ACC is on I can more reliably look a little farther ahead in traffic to preemptively react to developing risks, because I'm not micromanaging the throttle.
The one thing I don't see on that page (on mobile, if that makes a difference?) is the one thing the parent comment talked about:

How much the workers get paid.
Yes plus they are sharper and bluer.
> If it results in a death then you can get a life sentence in prison for it.

Can you provide an example of someone getting a life sentence because of an accident caused due to braking? That doesn't sound right.
Turns out buying a smart TV was not such a smart move, eh?
To be honest, I really hate the US highway styleguide. The signage, road lettering etc they have in the UK and some of Europe is infinitely better & more clear. As well as general road layout and design. It probably goes a long way to explaining why US roads are so unbelievably dangerous.
Most people don't know how a pressure cooker, a microwave or a radio work, we have a lot of much more important things to teach before teaching space travel
Show HN: Basti – connect to AWS DBs with no idle cost. No SSH keys. IAM-driven
Jesus fuckin Christ. I tried to read this blog post about how newbies make their code comments too verbose, and the post turned out to be longer and about as interesting as fucking Dianetics.

tl;dr, young programmers, ignore that schmuck. Please keep writing nice long comments to your heart's delight. You will thank yourself one day.
You wrote "That nothing about it’s good". That's stupid. I agree we are wasting our time.
I have the opposite view, netflix and other streaming services have lots of good material while TV and movies before streaming rarely produced material I really wanted to watch.
I have the opposite: my most hated illustration.

It's the standard diagram of how Transformer language model works (https://www.researchgate.net/figure/Transformer-Language-Mod...). When I tried to figure out transformers, I saw it in every single paper, and it didn't help almost at all. I think I finally got a good understanding only when I looked at a few implementations.
Just curious, who uses Prolog nowadays, and what type of application?
> The great success of the soviets was getting people from farms to factories

People working at farms ("колхоз") got their passports in the 70s. You have no right to leave without a passport, that's a criminal offence. Not to mention you must be registered at a specific address ("прописка", "регистрация") or you'd be detained by the first police patrol. And they got their first salaries in the 50s. Farmers in the USSR were effectively serfs for the most part of history. Slogans aside, no one got them anywhere.

> He took the USSR from a feudal society to industrial society.

Thanks, american taxpayers and spiness commie sympathizing administrations for sponsoring and building the "soviet" industry.
Won’t refineries just stop producing gasoline then?
In my German vehicle, ACC reverts to max distance every time it's engaged. You have to manually shorten the distance every time with the steering wheel buttons. I hope that this behavior is standard, but wouldn't be surprised at all to learn different systems have a less safety-oriented behavior.
How can the search boxes disappear? Aren’t they just plain HTML?
How A British Submarine Spent Hours Under A Russian Aircraft Carrier
I think it's separate. The world had a massive hit during COVID lockdowns. While IT generally had a minor boost as workplaces and forms moved fully online, e-commerce and so on. So we're feeling a correction as people play more in parks instead of Instagram, shop in stores instead of on a site, etc.

Market corrections usually align with catalysts (e.g. major war and crypto crash). Things can stay overpriced or underpriced for years until there's a catalyst.
Königsberg was part of Germany when annexed by Soviet Union. I see no page about Königsberg in Czech language at Wikipedia at all. Anyway, Germans were expelled, so Königsberg is populated by Russians now, which makes it similar to Transnistria, Crimea, etc.
Ask HN: What makes ChatGPT different from using OpenAI's playground?
I have a paid OpenAI account and I want to use the playground in the same way as ChatGPT, but I'm unable to get the same kind of responses (even using the same model). I find ChatGPT much verbose and creative.

Where is the difference? Does ChatGPT have hidden prompts or directives? Is it possible to replicate ChatGPT in OpenAI's playground?
I believe there is a dynamic effect.

The first driver has some reaction time needed so he’ll start breaking after the Tesla starts breaking. Which means, assuming they were at the same speed initially, that the 1st car will have to break a bit harder than the Tesla.

Then the second car will be in the same situation, it will have to break a bit harder than then first. 5 cars later, you are at the hardest possible breaking power, as it’s ultimately limited by adherence.

So, if there’s not a larger gap in the thread of cars somewhere to allow for breaking less hard than the car in front, it’s more or less inevitable.
I'd not be so sure. Accepting that everything that can fail will fail shaped me as a young developer, and "Exceptional C++" had a huge influence on me. Now my approach for new code I review is this:

* Make sure you support properly unrolling the stack

* Keep a clean failure boundary, probably somewhere on top of your loop

* Fastidiously check your preconditions

* Fail brutally if they're not met

* Improve from there
its very difficult for cars behind to judge the level of braking. in a Freeway everyone assumes to break enough for a slowdown and not full stop. In Italian Highways there is a very practical custom. the cars that see a full stop not only break but signal full stop to behind cars so they know to fully break an not only slowdown
Exactly my thoughts :D
The reasoning, of course.

It is normal to feel nostalgia about good old times when we were younger, yet you assume the motivation is a “colonial empire” (SU was very different from British or Spanish empire in that sense, I’m not sure “colonial” even applies to it economically — this is a political narrative of former republics, which were colonies of Russian empire).
I have an older BMW with ACC and had a Tesla Model 3 as well. The ACC on the BMW rocks, it reacts quicker than I do when a car slows in front of me, but never vigorously breaks. Phantom breaking is unheard of. It only needs attention when the car in front leaves the highway and starts slowing down. But the manual specifically addresses this.

On the other hand, I found the dumbest 'cruise control' mode on T3 downright dangerous, you always had to have foot on the gas to be ready to override it. They just took something that was solved a long time ago and made it worse, I really do not get it.
A lot of comments in this thread are assuming that the “smart” engineers aren’t self aware enough to realize what they are doing.

Let me suggest more provocatively that what we often are witnessing is power dynamics. And these people being smart know how to let this play out using code. This is probably less applicable to OPs case than let’s say a large engineering organization in a large corp.

My pragmatic suggestion in such cases is to push back where it would affect your work or growth directly and let go of the rest. Smart people are scary good at lawyering their way out of situations or tying you down in endless litigation.

There’s no “solution” to this. Power dynamics are a part of life and code isn’t immune.
I think gold cyanidation considerably reduced costs for gold extraction compared to traditional mining methods which depended on higher-quality deposits.
I'm not in embedded, but my reasoning is simple. I'm keeping system as simple as possible and I put veto to things that I find unnecessarily complex. I don't think that smart person will want to make a system more complex. The genius makes stuff as simple as possible (but not simpler). I'm not genius but I strive to follow this direction. And if someone follow the complexity direction, I consider him not so smart yet.

As to whitespaces. It does not matter and not worth arguing. Either way works. You need to accept that some people might write code differently from you and that's OK. It does not make that code inherently complex. Of course there should be code style and in my opinion the more strict code style - the better, but it still will not cover everything, there's still some freedom and peers should respect that freedom and not push their own view of beatiful.
The actual smart ones would realize they are writing code for others rather than themselves and go with the latter.
Your way is better because when compiled it is the same bytecode and it’s clearer
Everything will have to move to water-cooling. Reliably air-cooling more than 1kW in uncontrolled end-user environments starts to get fairly absurd.
Unicode. AmI right?
> I'm trying to imagine a scenario where someone says, "I use primarily he/him, but technically I'm actually agender", and I reply, "oh, good to know, we couldn't have done a translation with your character without also knowing about the agender part."

Ooh, so that's what you mean. In that case I'm quite sure it'd be extremely situation and culture specific, probably to the point of being impossible to accurately translate. Concepts like "agender" are deeply mired in local politics and characteristics of the specific language.

In English a game could treat somebody as "they" without much difficulty.

But in other languages, you quickly run into trouble. Eg, Spanish has seen some use of "@" as a stand in for indicating "either masculine or feminine", eg, "invitad@s" -- but that's rather quirky, goofy, literally unpronounceable and unfitting in any kind of serious context.

In anime there are characters whose gender is supposed to be unknown, like Nanachi (https://madeinabyss.fandom.com/wiki/Nanachi). This works in Japanese and English, but Spanish and Russian outright treat Nanachi as female, and just stick a "gender is supposed to be ambiguous" note somewhere in the corner and this particular bit about the character gets completely lost in the translation.
The UK really is the gold standard for traffic signs, road markings, road layouts - I just wish they'd implement truly segregated cycle lanes everywhere. We need a massive initiative now.
> This reasoning makes very little sense to me.

The reasoning doesn't make sense because it is applied retroactively. The parent poster doesn't want to take responsibility for their unsafe driving practice and tries to place the blame on the other driver.

Cars suddenly stopping in front of you isn't some unpredictable rare event. You are told this as part of the licensing procedure, and this is the reason minimum safety distance exists. The solution is obvious and known to any licensed driver. As such, it is unreasonable and unacceptable, to not follow the minimum safety distance.
> Too often despots and their cronies get countries into economic trouble, countries that have been taken advantaged by Western interests for hundreds of years.

Agreed.

> When the country collapses, the IMF and World Bank subjugate the country to Western interests further often to the destruction of the environment and detriment to upward mobility of the population.

Can you give me any concrete examples of IMF reforms making a country worse off economically?

> Using statistics like reduction of extreme poverty or wage growth when not taking into account other factors like inflation or mortality for example

Okay, mortality in India has fallen steadily from 1% in 1991 to 0.7% in 2020. And inflation doesn’t have a clear pattern but it’s never returned to its 1991 peak of 13.5%.

I’m not just cherry-picking stats here! India has actually gotten way way better in the last few decades, and the rate of improvement rose dramatically after the 1991 reforms!
Show HN: Mapperly – A .NET source generator for object to object mappings
Nope. https://www.faa.gov/about/initiatives/notam/what_is_a_notam
I've heard a story from a friend that was in an accident like that. A police officer who did the paperwork smiled and said "It's the most common type of accident - people just stop paying attention to the car in front that started moving, and develop sort of a blind spot to that".

I drive for several years, and can say my brain relies heavily on this sort of predictable stuff like "that car has free intersection in front of it, it will move forward".
It was actually distributed as a poster along with the 2014.2 issue of the Finnish computer culture magazine Skrolli.
Maybe the annhilation of anti-hydrogen and hydrogen produces massive amounts of space. Which would then pearl away from the mass, towards "flat" foamable space, aka the center, driving the sphere of annhilation apart, moving at almost lightspeed (relative to the created space), leaving behind only structures, who created lagrange points relative to the sphere, at which space could bubble up.

I have no idea what im doing, i just like to take a idea and run with it.
Same quality decline is happening in Italy. We're seeing also a polarization, at least in the north, where I live.

On one side "very bad pizza, low/avg price", on the other side "very good pizza, higher prices".

All the middle, average pizza places with reasonable prices are going out of business or moving to the the bad side.
Also it is wrong. The paper has add and norm, but the official implementation and all other good implementation has pre norm architecture: https://twitter.com/francoisfleuret/status/14671353665032192...
ChatGPT and GPT-3 for producing content: one notch above useless