skysight-inc/HackerNews huggingface dataset:
> If they were using useState() correctly and provided a button or link to call the update function, yeah, React would call into their code as many times as the user clicked the button. As it is though, it's just once (useEffect with that second argument is "only run the passed-in function once on mount").

As I understand it both the useState and useEffect create points where their code will be suspended and resumed as a coroutine, even if everything only gets run once? But yeah, the more important point is that in the general case React will run it multiple times in ways that are not really under the user's control (at least not without understanding the internal details of React quite deeply).
An additional regulation that will come into effect soon (fully only in 2027) is the Cyber Resilience Act which will require all manufacturers to provide at least security updates for however long a "reasonable user" expects to get security updates.

The recitals say:
"In determining a support period, a manufacturer should take into account in
particular reasonable user expectations, the nature of the product, as well as
relevant Union law determining the lifetime of products with digital elements."

and

"The support period for which the manufacturer ensures the effective handling of
vulnerabilities should be no less than five years, unless the lifetime of the product
with digital elements is less than five years[...]"

So....it's a bit up to us to ask vendors for updates for older devices so that we can maybe slowly move the baseline of what a "reasonable user expectation" is.
Ah yes, the company that famously designed their headquarters with zero regard to the environment. The company that included a leaflet titled 'Why the brown box?' back in the 90's when they switched to unbleached cardboard shipping boxes for their computers. Nope they have never given a though about the environment. It's just not in their corporate dna.
NaN is a valid float, so are infinities
> Linux's security model is lacking

It's not lacking at all. The root + users model is common not only across OSes but also all sort of physical devices.
The richest company in the world became the richest company in the world in part by forcing its users to buy new hardware regularly.

Linux doesn't have a financial incentive to delete the code that supports 5 year old processors, but Apple does have such a financial incentive.
You learn to learn with time and imo it's different slightly from field to field. In tech field you just learn by doing, asking questions, making mistakes and gaining experience. Take a sample code in a new language, make it do something slightly different. Then add one more thing on top. Then something slightly more complex, then finally try to make it do what you want. Once ready, deploy, test, and iterate.
You can use an LLM and get quite far with Rails imo if you've been programming in a web framework of any kind. You don't have to know Ruby.
Probably same goes for the low code tool, only there once you're stuck its probably because you've hit the limits of the tool.
We're very happy to use Hetzner for our bare-metal staging environments to validate functionality, but I still feel reluctant to put our production there. Disks don't quite work as intended at all times and our vSwitch setup has gotten reset more than once.

All of this makes sense considering the extremely low price.
if the "couple of bucks" ends up being the cost of an entire team, then hire a small team to do it.

Then get mad at them because they don't "produce value", and fold it into a developers job with an even higher level of abstraction again. This is what we always do.
It works well on iPad Air power button. Apple should include TouchID on all Pro device power buttons.
> is a space ever a valid character in a word?

No, because then how do you define a word?

I suspect grammar has another term(!?) for the concept you're looking for.
They mention it as a way to take your snowball and upload it and walk out and continue using it without shipping it back and forth. Those look to go into the 210 TB range of raw storage.

In the past, at some companies I was at, I could see using something like this once a quarter to upload full quarterly backups, depending on the price per hour.
I don't see how traffic in Ashburn is more expensive than Frankfurt and Amsterdam.

It's the sort of place where people say Transit is cheaper than paid peering. (For eyeball networks at least).

I think carrying traffic from Europe for some images and videos might make sense financially. But there's always bulk CDN's
Open source OS's also don't do anything for the typical person in a feature sense so there's way less to go wrong and way fewer users to ever discover/report issues. Non-technical users want to run specific hardware like new displays or accessories or use apps like a game or a specific commercial program, not run an OS. Without those users, there's no need to grow the feature set as aggressively.
The original purpose of defining it to be Nan/INF in floating point was exactly that. You'd do all the work and then check if it was Nan/INF at the end without having to check every intermediate result.
I presume that given they mention that it only supports public endpoints, that it's just a directly peered connection on the public internet and there's no special security stuff at play here?
Every "language package manager" with a lock file format and requirements file, is an inferior, ad hoc, formally-specified, error-prone, incompatible reimplementation of half of Git.

Almost every use case for a package manager is better served by Git, whether you choose to use submodules or not. If you want to do version control, use the version control system, and stop trying to do an end-run around the way it works.

Previously:

> I'm happy to criticize NPM the tool. The whole thing is designed as a second, crummier version control system that lives in disharmony with and on top of your base-level version control system (so it can subvert it). It's a terrible design.

<https://news.ycombinator.com/item?id=37604551>
It's crazy to see big companies doing dodgy stuff like this.
Absent mindedly moving a submodule breaks everything. It was relatively recently there was even support via git mv.
It's an internet legend. There is zero difference in reality but people love anecdata.
They probably just use the local power grid. You can use ElectricityMaps to look up the average carbon intensity per kWh of those grids

https://app.electricitymaps.com/
Because community maintained open source OSes don't need to make money.
"Just because it sucks now doesn't mean it's going to suck in another 5 years."

We will see. Some flaws might be baked in, like LLM's halucinating. That won't go away, unless we invent a new tech.
So here with generating videos, will morphing objects for example ever go away? I am sceptical with the current approach.
Your position, as you describe it, honestly sounds quite interesting. If you have the ambition, you can grow a ton in this environment as well. I know it’s cool to chase the higher and higher levels at a FAANG company, taking on unnecessarily complex projects just to pad your resume, but what could also be interesting is do a better and better job everyday, and get higher and higher within your industry, meaning oil and drilling.

Sticking with tech sounds like a safe option, but if this opportunity was given to you, maybe you could think about rising in the rankings within the oil industry.

I’m not saying this is the only choice, but this is a choice that you should consider as well.

Also, learning from more senior colleagues is really a hit or miss. I’ve been in environments where I couldn’t learn anything from senior colleagues and where I learned a ton working with relatively junior people.
I always get so happy when Passage and Rohrer is mentioned, when I first played Sleep is Death my life changed, creating a story with so little but still endless possibilities. I made a js-version of it but never polished it enough, my first coding project inspired by a true vision, I learned so much.

I share your appreciation of Passage, it is a poem by another shape and a truly _different_ thing. Thank you for even mentioning it, it made my day.
I don’t get the comparison, I’ve played a lot of starbound. What do you mean „there was no game“?
>so at this point I think I'm content waiting.

'Content' meaning 'stuff', or 'content' meaning 'happy?
Or both?
Python is also open source.
What's even worse that these bank apps always force an update to the latest version, which also sometimes requires updating the OS of the device. Then you are captive audience so they don't care about UX or your experience, so e.g. at my bank confirming an action takes three taps: "confirm" button inside the app, then checkbox with some kind of consent they always sneak in (dark pattern), then the "yes" system popup.
I've noticed that younger fellows like to correct people while using the crying emoji, and point disturbing stuff with the skull one. Tears of joy is probably not ironic enough for them.
Steam and Spotify proves that people are completely down to pay for creative content.
I also regularly buy ebooks.
If they were in better financial circumstances, they could win on consumer product pricing, at least.

The 1st gen Intel Arc cards had a bit of a rough launch and still have issues with things like Unreal Engine games, but something like A580 for 150-175 USD and A750 or A770 for 175-250 USD, or even less, feels like good value! While Nvidia is doing whatever they want price wise, the amount of money in my bank account seems to like Intel's line of products more (currently using an A580 which I got for around 200 USD near launch to replace my old RX 580, getting a 3060 would have been and still is like 300 USD where I'm from). While XeSS is pretty good, since they don't have CUDA (it's just entrenched at this point) and framegen, they might as well compete on the price.

Which makes their launch of the Core Ultra CPUs that much more puzzling. They easily blow my current Zen 2 based Ryzen CPU out of the water... but I'll probably go for a Ryzen 7 5700X as my next CPU, because at least there the pricing makes sense. Intel's new CPUs being more or less a sidegrade/slight downgrade for gaming (even if improvement for productivity in some cases) wouldn't have been such a big deal if the pricing was actually good, instead of asking for 300 - 600 USD in addition to needing a new motherboard.
you can't divide the apples among 0 people and then claim to still have them, because in that case you would have divided them among 1 people
And it's still full of bugs (Cyberpunk 2077). I've just bought it on sale, it's annoying close to being bloody amazing but every so often you get someone T posing or just something else that ruins it.
What do you like about Touch ID? I think I'd switch platforms before going away from Face ID, it's so trivial to authenticate without even moving a muscle that I don't even think about it.

I have an older iPad with touch ID, and I simply turned it off because it felt like an anachronism in the experience.
100% this! In some companies the 'simple app' that is described in this post will get some ridiculous quote from central IT/tech ('it will take our team 4 sprints') and then never get signed off. IT will also ban anyone spinning up their own servers due to support issues.

No code platforms manage to get around this.

Another use case - I work for a 'non-tech' consultancy. Clients typically won't like paying us to spin up some flask/django/rails app, but are happy to pay us to spin up some sort of no-code thing for them (perception is that it will be easier to self-support, which is also probably the reality compared to me developing some sort of rails app and then leaving the company).
once someone scans a QR code a tiny drone lifts off the in kitchen, finds the person who scanned the QR code and beams the menu into their ears using directional audio so only they can hear it. once a certain discomfort level is reached the drone can pick up on this via its sensors and signal a waiter that the client is ready for the next phase of their customer journey
Ive also been using Cluster-API + Cluster-API-Provider-Hetzner

https://github.com/syself/cluster-api-provider-hetzner

works rock solid
> Data are data, but programs—entities that we can run—seem to be a separate thing.

Is this a view some people actually hold? Would be interesting to see some argumentation why someone would think this is the case.
Does aws charge ingress?

I've got a good connection for the UK but still about a 100 meg upload. I have external drives that are 4TB, so if everything goes perfectly that could take about two full days to upload.
GrackerAI Copilot
>you're making a decision that the maintenance burden you're trying to avoid is more important than the environmental impact of users disposing of & buying hardware.

Companies don't care for the "environmental impact". When they pretend to, it's a token gesture to make certain customer demographics feel good. At best they will sacrifice a slither of their margins, but if there's a conflict between environmental impact and any bigger slice of their profit, they'll go for profit anytime.

>Which... maybe it is; who am I to suggest different priorities for other people

Environmental impact is about the commons, so it shouldn't be just about whatever personal priorities each has.
> even more importantly by making programmers like the fact that they have to put pervasive annotations into their code

That’s the thing: many of us deeply dislike the annotations since they slow things down and look ugly.
I would see the use of a garbage collected C as an improvement, even if the language's design could be so much better.

Remember the evolution of UNIX at AT&T ended up on Inferno, not Plan 9.
I think he has been open and honest about his journey. It's much better to look at these articles for inspiration and to know that if others have done it, than so can you, if you want it bad enough. Or at least more than your present situation.

We're all different and each must find their own way. I'm pretty sure it wouldn't help it he would spill out all the details for you, because what works for others will not work for you and vice versa.
I've got a couple of free arm machines setup as a cluster for learning k8 + a few LB in front of it. I use k3s, with pg rather than etcd. Been a great learning experience.
https://adonisjs.com/

Adonis.js is just that. I have never used it beyond a quick test though so I can't say what it is like in production.
> oxygenated atmosphere

Of course, the oxygenated atmosphere only exists due to life. Otherwise, it would just rapidly oxidize everything else.
While using ChatGPT for enhancing your writings is not wrong by any means, reviewing the generated output and re-editing when necessary is essential to avoid robotic writing style that may smell unhuman. For instance, these successive paragraphs: "In contrast, using AWS.." and "In essence, with AWS.." leaves a bad taste in your brain when read consecutively.
This is old news being reported as current. The re-hiring happened roughly a week after the firing, back in May of 2024.
Show HN: WTranslate – A translator shows reverse translations for double check
I built WTranslate, a simple translation tool that helps users verify translation accuracy by showing both the forward and reverse translations simultaneously.

When you translate text, it shows:
1. The original text
2. The translation to your target language
3. A reverse translation back to the original language

This helps catch potential translation errors or ambiguities quickly.

I built this because I often found myself doing manual back-translations to verify accuracy when using other translation services.

Would love to get the community's feedback on the usefulness of this approach and suggestions for additional features.
Yeah, sounds honestly very obvious. Writing by hand is much more complicated than writing with a typewriter. However, nothing about the brain activity suggests that the increased learning effect has anything to do with the content of what is written. I propose that the increased brain activity is exclusively because one learns _to write_, but not what is written.
That's surprising - I would guess that cloud storage would add to the price of them as they'd need a mobile data connection and presumably monthly costs. They must be designed for fleet management where you don't necessarily trust the driver to not delete footage.
Vast majority of the comments on this story complaining about React are actually complaints about some bad UI library or a poorly designed and architected website that happens to use React.
In my experience the distinction between Senior Engineer and Staff Engineer is meaningful, because they do very different jobs.

A Senior's work is scoped to one team, reporting to an EM, and they do the usual stuff - work on tickets, run stand-ups, deliver features. The Staff engineers have no home team (they are expected to work across multiple teams), they report to the CTO, and they have a lot more freedom in what they spend time on. In fact the dynamic is reversed; rather than being given work, they're accountable for identifying the most important work and doing it. It also comes with a whole lot of new meetings.

I'd argue that Senior Engineer is more of a bullshit title, if titles are supposed to be an indicator of what your job involves. At Senior my job didn't change at all. It's just a title to recognise people who have been around for a while.
> The fact that a device can be perfectly usable for 5+ years is pretty good

No. No, it's not good at all. For almost every other product it would be deemed unacceptable. Beyond unacceptable even. We should not normalize this.

My car is > 10 years old. My desktop computer is > 10 years old. My laptop has had both the screen and battery changed. And the fan, multiple times. I don't know how old my laser printer is, probably twice as old, it doesn't see much use.

Users would never accept if Linux or Windows stopped supporting five year old architectures. It would be an uproar, and rightly so.

A phone no longer a toy, it is a tool among others. Five years is hardly enough to get to know a tool. You should just swap out the battery when it goes bad. You should not have to worry about software at all. That people accept this is a travesty.
Don't think he can be stuff.
It looks like there is no local buffer, so one needs to stick around till the upload is done?
Did anyone see a mention of upload bandwidth?
Thanks. It really restores a bit of faith in humanity to know I'm not the only one who views things this way.
They're valid according to a spec that doesn't mean I want one showing up when I'm trying to calculate the area of a semicircle or whatever. In the context of getting one by surprise in simple arithmetic they are approximately as bad as zero. Either way you have to decide how to handle it and there are tradeoffs of different approaches, as the article discusses. It's not about someone just being ignorant of basic math like the comment I was replying to implied.
Completely reasonable.
> Userspace scheduling of Goroutines, virtual stack and non-deterministic pointer type allocation in Go are as much magic if not more, the syntactic sugar of C# is there to get the language out of your way and usually comes at no cost :)

I don't think C# does it at no cost. I think it's "attachment" to Clean Code makes most C# code bases horrible messes after a while. I know this is a preference thing and that many people will disagree, but I've seen C# code bases that were so complicated to work with that they were actively hindering the development teams ability to meet the business needs. You don't have to write C# that way, but that's what happens in almost every company where I live.

> If you do not like the aesthetics of C# and find Elixir or OCaml family tolerable - perhaps try F#? If you use task CEs there you end up with roughly the same performance profile and get to access huge ecosystem making it one of the few FP languages that can be used in production with minimal risk.

I mean, I don't think I'll ever have to work within the dotnet ecosystem. The way things are going in the green energy and finance sector which is where my career have taken me I'll mostly get to work with Python (with C/Zig) or Go and possibly Java. C# and dotnet is almost exclusively used at stagnant small-medium sized companies and in the consultance business servicing these companies. This is not because of C# or dotnet but more because of the developer landscape. Java is big in "older" organisations because it's what was taught in universities and because it was always good, Go is replacing C#/Java in a lot of newer companies because there are a lot of success stories around it and a lot of the Java developers are retiring. Python is growing really big because a lot of non-swe engineers and accountant types are using it as well as how it's used in ML/AI/Datawarehouse. PHP is big in the web-shop industry and so on. C# manly made it's way into business at places which ran a lot of windows servers. Since organisations rarely change tech stacks in the more "boring" parts of the world, it's not likely to change much.

I don't think dotnet or C# are bad. I write some powershell for azure automation to help IT operations from time to time, but I really don't like working with C# (or Java). I would personally like to work with Rust or more Zig at some point, but it's not like anyone is adopting Rust around here and while Zig can be used for some things in place of C it's not really "production ready" for most things.
Want the first client task to skyrocket your full-stack developer career? Before diving into client projects, hone your skills with these top Full-Stack Project Ideas! Click the link and unveil the list of 12 amazing ideas that uplift your skills from beginner to pro developer!
That sounds like scientific coding, not serious coding
There’s still plenty of new rock music though. Olivia Rodrigo is selling out stadiums, Chappel Roan isn’t far behind and The Crane Wives are still knocking out incredible album after album.
Wow, they changed bleached with unbleached cardboard! They made some token environmental changes to their $1B headquarter glass, metal, and concrete behemoth.

I'm pretty sure they have switched to paper straws on their cafeteria too!
"You don't need to have a great voice or vocal training to spit bars worth listening to."

No, you also need something to say, worth listening to, which is increasingly missing to me with modern rap.

And a good artist would be a good poet at the same time. Able to play with words and rhytm to get across his message.

So yes, rap might be easier to get started with - even before the time of smartphones, you just made the beat with your mouth.

But it is still not easy to make a good rap song.
Databases in 7 Weeks for 2025
Voila! I completely agree.
Also as in my non-expert opinion, this way multiple countries within the EU/Europe (the Brits and Swiss can have a share as well) could benefit.

But then again I'm non expert. I do how ever know that the last time we had such's a wealthy companies in the 1600's it didn't do humanity lots of good ;)
Exploring PHP Lazy Objects: A Practical Implementation
Sure, that's why I said casual viewer and not careful viewer. But getting back to your original point, would you say it was foul and unpleasant? That's really what I'm claiming, that we're fairly quickly advancing beyond the old days of those nightmare Nekobuses and vomit-inducing clips of Will Smith devouring spaghetti, and into territory where at least some people can find the product genuinely enjoyable. Of course nothing will ever be perfect. AI aside, after all these years it's still often jarring when computer physics is shoehorned into cartoons/anime that's designed to look like traditional hand drawn animation.
Works rather well. I use CAPI + Cluster-Autoscaler + Talos and new nodes are provisioned and ready within 2-3 minutes.