skysight-inc/HackerNews huggingface dataset:
I have some shitty code that runs an important part of one of my SaaS businesses. I'd love to refactor it. I'd love to swap out the HTTP library that it uses with the better one that the rest of the project uses. I'd love to remove all the nesting and complexity. I'd love to make it not an eyesore.

But here's the problem:

- In the past five years, it has never failed.

- In the past five years, it has not needed to adapt.

- If I change it successfully, it will make exactly zero difference to my paying customers.

- If I change it unsuccessfully, it will break a core part of the system that people are paying for.

If I were to refactor it at this point, it's really only to pander to my own ego, which probably isn't a sensible business goal.
I'm also confused, since you can roll back to a certain commit if you wanted. Although, that depends on you actually having committed changes.
I get the premise behind the question and you're seeking a technical answer but this is probably a good example of how we like to over-engineer stuff. If its a small village do you need laptops to track apple counts? What farmer counts their apples? What small village problem is being solved here?

Setting those questions aside and assuming Windows has zero way to track apples (Excel could work). In that case, Ubuntu media should come with the other parts of the LAMP stack (apache, mysql, perl/php/python). Pick one language and write the simplest CGI scripts possible to track apples. I'd probably pick Perl since I used it back in the days of CGI scripts. You might even be able to skip the MySQL part and just do file IO, there is a max of 29 users. If you get stuck, use man pages for help.
Did not experience this on the firewalled subnet. But I did with direct subnet to Internet.

(Closer examination of default-deny firewall shows that HTTP3 are being blocked due to custom UDP connection tracking.)

I’m fine with that.
> When i threaten to leave without a redesign they say that i know the company would be dead the minute i walk away and i have to stay to save my shares and invested time

LOL then you say "Your shares will be dead too. The difference is you'll still have to work here!"
Same in a mixed system in Australia. There are some temporary covid-related billing incentives for the non-private jabs/visits, but the overall Medicare rates have stagnated.
Magic as in runtime hacks and precompiled semi-proprietary rust binaries.

Neither of which are necessarily negatives of course!

Only thing is that for every minute gained from those speedy rust builds, I lost five more on debugging stuff that used to work fine with Babel + having to learn this new language to write replacements for now unsupported plugins :)
How broken is Australias immigration system?
> what real things can be attributed to Jesus?

His words. They may be the words of someone else, misremembering or misquoting him but ultimately what he said had such an impact that people carried his ideas forward for two thousand years.

I've always wanted to do a movie where Jesus was just a man living in a barbaric time, who used a bit of ancient prophecy to get people to listen to him and make the world a little less barbaric. This sort of happens at the end of the film The Invention of Lying, but it's set in modern day.
When I build a new pc or upgrade to a larger ssd (but lately just been cloning). Modern operating systems are quite resilient. Haven't had any need to reinstall in many years.
Working with 90 B2B Companies in 5 Years: Lessons Learned
That really depends on your stack. A plain LTS Linux distro + bind9 + zonefile formatted blocking data + security auto updates is pretty hands off to me.
I bet he sneaks into Evil Corp and disguises it as a thermostat.
Also: SMS has zero delivery guarantees. SMS providers can completely legitimately drop your SMS on the floor.
Many of our customers didn’t even use the app. They could phone up and get someone to do every action for them. If your product can operate without the app then the app is secondary
Perhaps I don't subscribe writing "shitty code" on purpose, but there is something to be said about having a code playground where you can explore ideas, API and languages with little care about practices, design or having concrete goals.
Ben is being witty... he certainly is very aware of the possible uses of this piece of hardware, and he's also intellectually curious about how to take advantage of cheap hardware interesting ways (and network protocols, etc). The rest of his blog should hint at this depth, but he's just light-hearted, curious and fun with this stuff. Bear in mind he brought us BGP Battleship https://blog.benjojo.co.uk/post/bgp-battleships and runs his own AS (because you can!).
This is why murder should be legal. Because otherwise murderers might do even worse things.
Considering how old and convoluted most government tech is and how compartmentalized government departments are I'm thinking it was just probably easier and cheaper than dealing with some legacy tech stack in a different department.
There is an upside to heat islands - the winters tend to be a bit more pleasant. I'm not sure what's worse though if you're living in the city - a cold winter or a hot summer; depends upon where you are I suppose.
I think there's no point in trying to add religious beliefs to the basket of "valid personal reasons to refuse vaccination".
Appealing to a specific interpretation of some ancient ideology must be considered equally relevant with political opinions, conspiracy theories or just simply saying "I don't like it". Society shouldn't give special treatment to people who dislike vaccination anyway, but claim Some Religion™ to certify it.

People don't seem to have a problem having their cars regularly inspected to ensure traffic safety on public roads. Why would it be so bad to improve public safety if non-essential services and events required some level of vaccination?
> And no company could pay 5 million dollar or so for an average 20 years of experience

Just how many 20 year experience engineers do you think the average company has?

I have a feeling you will find that the (very small number of) folks who have been at the same FAANG continuously for the past 20 years are indeed making compensation in that ballpark (we're talking Google's Senior Staff Engineer or Amazon's Distinguished Engineer level) - particularly if you take into account the massive stock price increases over that period.
see my longer comment, we haven't found it hard in practice. Mostly it's about technical debt.

The actual threat model is that you need to show you take this seriously.
This trend is not really new, and it actually goes both ways: when you want a darker tone, you desaturate the colors and go for a "colder" color palette, when you want to get all warm and fuzzy (think romance movies, soap operas etc.) you use a "warmer" palette and crank up the saturation a bit. But this already annoyed me back in the early 2000s: CSI New York had a "cold" color palette, CSI Miami a warmer one, although (or more likely because) they were both mostly filmed in and around L.A.
Currently I can keep and hire senior engineers. I can not keep and hire good junior engineers. Their market is inflated, and they can jump around jobs making 50K more than it makes sense to pay.
But they already fill the underground containers with water when there is low air pressure. (thats what the reservoir on top is, no?)
A shocking number of game publisher troubleshooting instructions include "just run it as administrator" among their troubleshooting steps, which is pretty horrifying. It's considered standard advice in PC gaming circles among the 20-and-under or tech-uneducated adult segments.
Actually the ideal domain name to use in a private LAN seems to be .home.arpa [0], so the better recommendation would be:

pve.home.arpa

[0]: https://news.ycombinator.com/item?id=28192247
Thanks for the feedback. We have privacy links: https://www.myfreeocr.com/en/privacy - we have to look into the terms.
I haven't done full comparison to other tools yet but we seems to support more languages and image/pdf formats than other tools.
He uses Cloudflare.
I'm sorry to hear that. I don't know if you'd have the possibility to work as a freelancer and work remotely from South Korea for international clients. In case this is an option for you, I can recommend freelancermap.com in order to look for IT projects. Wish you all the best!
Hmm, works for me (Firefox ESR) under Preferences > General and there "Allow Firefox to" ... "Check for updates but let you choose to install them"

That's s private installation, a company-wide centrally managed might work differently ... but companies normally want to control updates too.
I'd take 'shitty code' than runs flawlessly for years on end, over non-shitty code that doesn't.

I've worked with too many 'architecture astronauts' over the years who over-design everything based on the latest-and-greatest thing they just read online someplace, and make it so complex no one understands how it works, or how to maintain it, and often doesn't do what it was intended.
I think the behavior of the "C" collation is what most software developers expect. Plus, there is an advantage to the behavior being the same everywhere, rather than dependent on the system/environment settings.

But those preferences may be specific to my situation -- a software developer running an HA web application.

* If you're not a software developer, you might be surprised by the "C" collation, which puts "Z" before "a".

* If you're not running an HA web application, then it's easy to change the collation later -- just dump/restore the DB.
I don’t disagree, but I encounter a fair number of individuals, especially self-taught developers, without exposure to them.

While it’s fine to feel sorry that they weren’t exposed to it, I wouldn’t personally say I feel sorry as I find it hinders people’s willingness to ask for help. Invite questions don’t make people feel bad for not knowing something you or I may think is obvious. We all were beginners at some point.
Great! I was honestly wondering because I didn't know if there were any technical limitations/problems, but it's quite interesting nonetheless.
I am surprised they used debian and not Yocto or buildroot, for an embedded device. Would anyone speculate on why debian would be preferred?
It's definitely weird not to see Amazon there. Facebook is much higher than I would've expected though. But it's also just a snapshot, maybe the longer-term average is very different from that.
Certainly – and the Web actually needs more of this, as it its blood and soul.
From what I gather in their explanation, they use air pressure to push water out of an underground container.

The energy is reclaimed when the pressure is released (i.e. water can fall back and fill the container).

How is the energy density different that what is provided by the water's static energy due to gravity?
The simple counting software that makes biologists' jobs a little easier
A little bit more. The management of that data should also happen by people falling under the GDPR, so either EU members or people living in country's with compatible laws. The USA explicitly is not, because of the FISA courts with secret justice.

The problem is, some USA Googler can issue a query to an EU server and still access data he's not supposed to see. A FISA court can require him to do that and not tell anyone. No legal document written by a business can override a court decision, so nothing any US company can do helps here.

Google might create a local company with local personnel. The theory goes, when the USA Googler orders a lookup of some date, the EU Googler says can't do that, it's illegal.

I wonder why Microsoft's Office365 or Windows platform aren't hit by these lawsuits. The issues are the same, and the information gained seems much more interesting.
If the regulators actually enforced the letter of the law and the current court precedents fully and consistently, could you even use many popular payment methods or communications channels anywhere in the EU (or possibly the UK), given that underlying a lot of that infrastructure at some level is the use of services operated by businesses with a presence in the US?

Maybe the situation has changed again recently but I thought a literal reading of the current regulations and precedents implied that no such business can ever be compliant, because of the US laws that give parts of the US government privileged access to any data available to any such business even if that data is held off-shore?
What if I don't want to autoupdate? Why should a browser which was working just fine one day stop working the next, just because Mozilla released a new version? Why does a new version release kill an already installed existing version?

Also, an update (auto or manual) means restarting the browser, which logs me out of my sessions, profile, and password manager.
Darker scenes can save on CG budget and time as well as set design. It can also be a stylistic choice.

Sometimes it works, sometimes it does not. The last season of GoT was particularly agregious as was The Justice League movie.
You can now live-boot PostmarketOS on Android phones
They have a large water reservour in their plan..
As one who views browser activities through a default-deny prism through some ten hundreds of test-instrumentation data points inserted into and throughout the various major browser engines, this horizon of security theatre is getting cloudier.
That totally happens by the way. When we built our house, we had to use bathroom supplier X and the builder took a cut (might very well be 30%). Same for the kitchen.

The builder brings in the customers, and the bathroom and kitchen suppliers seem to be happy to share a ~30% commission for it.

(note: this is in Belgium, but I assume similar setups are commonplace in other places)
>In a more reasonable world users would pay money for the services they want to use.

>Of course it needs to be noted that most users don't even understand that they are selling themselves. And of the few who do most still think it's better than paying money.

This is such pretentious snobbery. In a world where you have to pay for search engine I am still dirt poor working some shit entry-level job/doing manual labor because when I was a kid I couldn't even afford interned and had to hitch off a neighbour, having free access to Google, tons of free learning material, messaging boards, etc. is what got me out of that situation.

I pay to avoid advertisement, but that's a luxury I can afford now days, and I have almost no concerns about privacy - I don't care at all that Google knows my interests, browsing history, purchase history, etc.

The concerns about data collection I see are mostly blown way out of proportion and most people rightfully don't care TBH.
Whenever my OS hits its EOL.

For desktop computers: typically i use either Windows, or some Ubuntu derivative (typically with XFCE), so both are pretty long term options with regular updates. Might ditch Windows 10 after it hits EOL and move over to just Linux, or maybe just use Windows 10 without networking for older games (in lieu of finding a better solution, like a VM with GPU passthrough because the old games that i like refuse to run on Linux without significant effort).

For servers: same reasoning, previously i ran CentOS (RIP), but nowadays it's also either Debian or Ubuntu. Right now i'm thinking of trying out Debian LTS (community effort over at https://www.debian.org/lts/) and afterwards just migrating over to Ubuntu across all of my nodes because the longer release cycle is more favourable for my needs.

Then again, i primarily use my servers as just hosts for Docker containers, so i can have clear separation between the software and its versions that i need, as well as have more flexibility in regards to a compartmentalized setup where i might want 10 different versions on MySQL with resource limits for each, for all sorts of stable software. Thus, if i ever need to use something old/EOL as well, i can just throw it into a container and (slightly) mitigate the possible fallout.

Relatively little automation to speak of currently because of how simple everything is: fail2ban, Zabbix, Docker Swarm/Kubernetes cluster join, sometimes ddclient and a bunch of tools, sometimes additional setup for backups and additional HDDs (in homelab, not for cloud VPSes). Would introduce Ansible otherwise, like i have at my workplace.

In short: whatever the EOL is for the device (currently ~5 years for most), though i focus on a stable and vaguely secure baseline over bringing over my exact configuration, the latter doesn't matter to me much. Then again, i don't rice my desktop either and treat everything as a boring set of tools to solve problems with.
Yes, but why can't I decide for myself whether I have something to hide or not?
I don't have a problem with people who want privacy. I can also imagine situations in which I would want privacy. But what if I don't?
Quite often people fled with gold to other places, as the countries confiscated gold from people.

US was trusted to hold gold in the world wars, but of course Nixon renegged on the gold standard.

Right now people are starting to hold Bitcoin, and it's much harder to take away from them (flying out with a billion dollars of Bitcoin is trivial, as metal detectors won't catch you), so I'm optimistic that the transition will be more peaceful. Also Bitcoin adoption in US is highe than in other countries.
Didn't actually think of that. I'd forgotten that was an option, however, I've never liked the separate search box. It just feels like a waste of space. I don't want to think about whether I should press Ctrl+L or Ctrl+K. Half of the time I don't yet know whether I want to search or go to a site.
There's someone on reddit who is teaching a class on control theory looking for suitable references which may be of interest to you

https://old.reddit.com/r/math/comments/rws8b9/my_class_on_co...
TSMC invests in new capacity despite forecasts chip demand will ease
Better: Learn to write non-over-engineered code that is obviously written by a professional without thinking.

Even better: Learn to write boring code, fast.

There will be exceptions, but those are rare and better resist the urge for abstraction until the very last moment!
What you described doesn't really sound like poaching, but I think this is normal and it is pretty much how I built my career into the direction I wanted.

When I was a build engineer and wanted to do more tools work, I picked up tool tasks and got put onto the next project as a tools engineer. Later when I grew interested in doing more engine work, I picked up tasks that were related to our central engine tech, worked to minimize divergence, and fixed issues in a way that would get integrated back to the engine. Eventually I officially transferred to the engine team. In my experience "just doing it" is a very effective way to shift into the kinds of roles you're most interested in.
When the deprecation was originally announced I basically just decided to sever from Angular all together. The "migration" practically involved rewriting pretty much everything anyway. The new thing is surely technically superior, but it just left me very bitter. I learned my lesson!
> M1 completely obliterates the competition for laptops

IMO, you are both wrong. The M1 is fine as a laptop CPU, because what it needs to do well, it does very well - which is power efficiency. However, if what you need is computational power, and you don't particularly prioritize power consumption, then the M1 not only does not obliterate the competition, it significantly under-performs. And this is before you add in a dedicated GPU that solves some of those tasks much, much faster.

Take Cinebench R23, where M1 Pro (10+16) has about the same performance as the top contenders that do not have dedicated GPU cores, e.g. Ryzen 9 5900HX and Core i9-11980HK. Throw in a dedicated GPU for a work task that can properly utilize it, and the performance difference is at least 3x that of the M1.

Now, I'm not saying that the M1 is bad. It's just that.... "Completely obliterates the competition for laptops" is a strange way to describe "yeah, if both systems do very little, the M1 will use much less power!". For many, this results in it being the best laptop CPU for the tradeoffs they want, especially if the MacOS is an added positive.

However, that the M1 competes and outperforms in terms of computation performance, would be just wrong.
Totally correct to discontinue the old AngularJS imho.
Google, years ago, made one of the best choice adopting TypeScript for its new framework, Angular.
I used to code in both AngularJS and Angular, and the improvement between the two is huge, thanks also to TypeScript. I'm a big Angular fan, even if I tried React, I highly prefer Angular for being more strict, complete and imho more suited for very big projects.
First I’m hearing of this. Was there revenue associated with this? We’re people even able to subscribe to it? It’s definitely an established business with other similar services. It’s possible to ask for funds here.
Nope. I lived I a transit-centric city for a while. Cheap, plentiful public transit for all.

And you know what? Once people could afford a car they bought one. They didn’t need it, they wanted it.
Ask HN: Lightweight Resource Mutexing Tool?
My org was using Yoink via Slack (https://yoink.xyz/) and while the website says it’s completely free, the app is asking for a subscription now and they won’t respond to emails.

What alternatives do you use for very easy mutexing of resources?
70 New Species Discovered in 2021 – Including Guitarfish, Pink Pygmy Pipehorse
That book is fascinating and markedly well written. The underground.. the schemes.. those characters !

It's killing me that Poulsen didn't release another such gem. There's plenty of material in this vein, beginning chiefly with the Gonzales saga - which dwarfs Iceman's story.

Mr Poulsen if you happen in this thread, please ! Do it. I'd pay 100$ for a new story.
can totaly relate from experience; last example was my wife trying to signup for our municipalies self-serving portal (...service?) and beeing utterly frustrated about roadblocks/error-messages and unhelpful service personal. it often looks like nobody is even trying anymore.

thou, shifting the "navigation of service meshes" away from buerocatics, law literacy and ppl-skills to proficiency with electronic devices has done little for the kafkaesqueness.
My current project can expose a sqlite database over torrent wrapped by the Chrome cache filesystem.

The torrent is merkle-tree based, and for each change in the SQLite memory page
it also updates the merkle tree giving you a different torrent infohash at the end.

So as databases are published together with the applications the initial torrent info is the same, so theres a swarm of initial peers. Once it gets updated and the torrent "turns into another", the solution is to use the RPC api (that my solution provides) over the initial swarm of peers and use some sort of distributed algorithm like raft or gossip to define how to deal with the subsequent changes over the peers.

The important part is that all other changed torrents from all the peers are available to all peers in the network, and with a RPC working as a abstract interface to organize them, it will work for a lot of different scenarios.
> Originally, the rewrite of AngularJS was called "Angular 2", but this led to confusion among developers. To clarify, the Team announced that separate terms should be used for each framework with "AngularJS" referring to the 1.X versions and "Angular" without the "JS" referring to versions 2 and up.

-- https://en.wikipedia.org/wiki/Angular_(web_framework)#Naming

Well, nice try I guess. Still, they do say that "Naming things" is one of the two hard problems in computer science.
It seems like people want an app and not a website? You don't have to monetize apps. Someone here could volunteer to make it for the guy for free. If they felt strongly enough.