skysight-inc/HackerNews huggingface dataset:
Back end PHP/CodeIgniter, Front end TypeScript (no libraries), DB MySQL, ML / Scripts Python3, SCM git.

Database upgrades are stores in an upgrades/<version>/upgrade.sql format. There can also be upgrades/<version>/upgrade.sh shell scripts.

For testing: back end is a bunch of single files run through a small, purpose built wrapper. Front end uses Jest.

Git hooks run locally for pre-commit and releases. Deployment is handled automatically by GitHub web hooks. The server handles any upgrade file (upgrade.sql and / or upgrade.sh) as triggered by GitHub web hooks. General rule of thumb here is never commit or push to master unless you're confident everything is ready (this only really works for a single person!)

Application server runs on a single instance Debian VM on Azure. MySQL runs on a separate VM instance on Azure, with a failover configured. There's also a read-only MySQL replica which is used for pulling large amounts of reporting data.

For backup (outside of that provided by Azure), there's a series of shell scripts running on cron to dump the database to an encrypted and time stamped backup. These are periodically fetched by other servers in different locations. Backups are kept for every business hour of operation. For user generated files (>1TB per year), rsync is run every hour on a couple of backup machines. Backups are manually checked by a person (for completeness and restorability) once per month. Automated backup checks are run daily on cron.

The longest down time that has been had in six years is fifteen minutes which was due to a bad database upgrade.
aws lambda, api gateway, s3, cloudfront, route53, rds postgres, express js react, next js

100% infrastructure as code using serverless framework and cloudformation. architecture scales well, is fully managed, and super cheap to run. almost no cost if no users. express + next js + lambda pretenders the ui for speed and seo.
Having multiple choices for different purposes is completely normal, even for Windows - or would you install Windows 10 Home on an enterprise server or an IoT device?
> I independently investigated ...

Care to elaborate a bit?

Strictly speaking, I "independently investigated" JFK's death. Of course, my mother was still in diapers when he was killed.
Definitely can sympathize with you on this, having spent plenty of time myself fighting some clusters that ended up in a broken state, and trying to get them going again.

I think that this pain is sometimes more severe in the context of automated provisioning tools out there and the trend towards immutable infrastructure - folks tend to not have the know-how to dig in and mutate that state if need be.

It's really important to have a story within teams, though, about either investing in the knowledge needed to make these fixes, or to have the tooling in place to quickly rebuild everything from scratch and cutover to a new, working production cluster in a minimal amount of time.
I disagree incredibly strongly with this idea - I'm Polish and Poland wasn't even on the map of the world for over a 100 years, yet the country survived. Then again during the communist rule we had a proxy government formed in London. Polish expats living abroad are definitely still Poles and as a nation we have a history of those people carrying what made our nation come back from the brink of destruction over and over again - the idea that as a Pole living abroad you couldn't vote is almost repulsive to me.
This has happened in the past with photos and iCloud syncing or something. Probably doesn't affect a ton of people but it's presumably annoying to have to wait for the Catalina update for those with iOS 13.
> Have you heard a siren? They're intended to be loud.

They're also intended to do things like saving people's lives, not delivering their Amazon orders.
According to Wikipedia the 1994 law banned both by name and by functionality: https://en.m.wikipedia.org/wiki/Federal_Assault_Weapons_Ban#...
It's weird to see Adyen referred to as a "little known company". Here in the Netherlands everyone knows Adyen, but most people have never heard of Stripe.
Development: 3 bare metal servers with k8 + workstation with Debian 10 and kde. Kdevelop, Qt Creator, g++, clang, libboost. Sqlite, postgres, arangodb.

Web: stbl + nginx on a linode.

Data Infrastructure: Nextcloud containerized on a linode.
Please do not argue like this on hn.

I did not say shitty. Clearly, there are strong benefits including pay, career development, network, benefits. Everything comes at a price. They price of that is the psychological pressure of a highly politicised environment with many subtle layers which can be hard to navigate for many.

My SO works in healthcare and their job is arguably tougher in every possible dimension even though end-to-end qualification time via med school was even longer. Almost every job is compared to FAANG research scientist.

That doesn't mean I wouldn't prefer the same or slightly worse benefits without the open plan and culture.
I really hoped that Evince would get updated. But now that this update is out, I can't wait to try it on my PC!
> When you drop bombs on people out of nowhere, that's called terrorism

Only if the motive for dropping those bombs is to advance a political/ideological agenda.

We need to be very clear that "terrorism" has a very specific meaning. It's not just a group or individual who terrorises.
Only in the U.S. could you have a $14 minimum wage and 90k in one city alone living on the street because rents are egregious.
As someone who works in computer graphics this idea makes me sad. I mean I know web is the closest thing we have to a universal interface, and there are a ton of advantages to it, but the idea of moving more toward a world where every single thing you do on a computer has this thick layer of web technologies between the user and the hardware is just depressing. Like why should AMD and Intel even bother innovating if everything is going to be bottlenecked by single-threaded Javascript?
Grey market VoIP fraud
This is such an inane counter-argument.
Okay, fair enough. Hard times for most of Silicon Valley then ;)
No, it's not that. All Swift arithmetic compiles to overflow intrinsics.
How on earth is that dystopian?
Composition vs. Inheritance in React – Comparison and Contrast
> United States ranks #22 in median wealth https://en.wikipedia.org/wiki/List_of_countries_by_wealth_pe...

It's off-topic, but could someone explain how is Ukraine last on that list? 40$ for median wealth and ~1.5k$ for mean wealth sounds incredibly low.

I knew Ukraine is in not great economic shape, but completely last sounds insane.
Windows drivers being bad is the fault of the hardware manufacturer; at least they provide some drivers!

Ironically windows has had a kind of package manager for years in the form of MSI and the "add/remove programs" system. It just didn't wire this up to a repository.

NTFS performance is becoming a serious problem. That and process spawning are the two things that Linux systems inherently do much faster. The tendency of Windows systems to hook antivirus into everything that the filesystem does is also crippling but still seems to be mandatory.
It was explained that Colt is too expensive on a competitive AR-15 market.
A Gentle Introduction to Kubernetes
> You need to be on the insider programmer which forces telemetry and means you have a PITA windows style upgrade every other week (and the nagging associated with it).

FWIW you can upgrade to the Fast Ring version of Windows that gets you WSL 2 and then switch to the Slow Ring that only gives you updates every month or so.
ZeroAvia HyFlyer Gains Funding
Backend Programming Language: Ruby

Web framework: Ruby on Rails

UI JS/CSS Framework: Bootstrap, Bulma

DB: PostgreSQL

Hosting: Vultr, Digital Ocean, Heroku

External Products: Amazon SES, Sendgrid
> Although in other parts of Asia there were genuine Buddhist lay movements, in India Buddhism was the sangha and only the sangha.

I'm not sure this is right. The Buddha himself laid out his rules for householders (the gahatthavatta in the Anguttara Nikaya), which doesn't make sense if there was nothing but the Sangha in his time.

> If one cannot renounce for some reason then yes it is better to do good than evil in the world but that is clearly the inferior alternative. “Right conduct” is that which brings one closer to non-doing.

Do you have a source for this? Nothing I have read agrees. I have already given my source to the contrary from the Anguttara Nikaya itself.
I think 'entered into armed conflict with' is a judicious way to put it, given 9/11 and the Iraqi invasion of Kuwait. Neither of these are fights the USA would have freely chosen.

But for every confict in which the USA is fighting one group of Muslims, it's doing so to protect or ally with another group of Muslims. The Afghan government are Muslims, the elected Iraqi government are Muslims, the victims of IS and the Taliban are overwhelmingly Muslims. Saudi Arabia, the west's biggest ally in the region is Muslim. We are allying with tens of millions of Muslims against groups consisting of thousands of Muslims. The west has far, far more Muslim allies than Muslim enemies.
I was looking for something like this actually, I thought I would finally have to warm up to BSD if I wanted an OS that I have some hope of understanding fully.
My Apologies for my early morning grumpy post, without re-reading.

Here is the more fixed one :

> Over a career, the value of tuition free college for the average American comes nowhere near the extra taxes and lower income they’d have in France

That is so bullshit.

What matter is not, of course, the difference of cost between tuition fees and taxes.

What matter is that everybody, even the ones that can not afford the tuition fees can access University and proper education. Which you can in France and most of European countries, and which you cannot in USA.

I am the living example of that. I come from a family what would never have been able to afford to pay US schools fees. And still I am engineer, thanks to the European system.
> When the maximum rent controlled rate increase is set above the market rate increases, it's not going to affect prices.

In theory, if real estate was a perfectly competitive market you'd be right. But by setting a standard well-known rent control rate, it sets a standard that landlords can follow. It allows landlords to act in concert and collude on rent increases without any direct communication between them.
I would agree, but there is a technological angle with the use of drones. Unfortunately it is certain to devolve into a political discussion.
Yet the design of the website reminds me of the 90's
It's both typical and disingenuous to name an attack after the instrument rather than the agent that wields it.

Truck attacks, drone attacks, knife attacks - one might be forgiven for thinking these objects have developed minds of their own.

Or perhaps the insinuation is that most humans themselves are mere instruments of the cultures and institutions they're embedded in.
Read this - https://www.monbiot.com/2019/04/07/rewild-the-world/

Donate to the organisations listed here - https://ecosia.zendesk.com/hc/en-us/articles/115002296049-Do...
> And does it go the other way? Do you create violent anti-Islamists when Muslims commit terror attacks? Were the orphans of 9/11 more likely to sign up for the US military, or commit hate crimes against Muslims than their non-directly-affected peers?

Yes, of course it does. Hell, even on the recent 9/11 HN thread there were people who said they joined the military after the towers collapsed. It's only natural reaction when your nation gets attacked, and it works the same everywhere.

It's best to think of this as a single self-perpetuating process, with a strong feedback loop of hate and suffering inside. So the US bombs some Muslim countries, and eventually some group manages to pull off a 9/11 in retaliation. US reacts to this by utterly destroying several countries, and in reaction, ISIS is born. Which then US and others attempt to bomb out of existence. Rinse, lather, repeat. A kills B's people, B retaliates by killing A's people, A retaliates to retaliation by killing B's people, ...
2 cents prediction :

Android will leave linux (fuschia), linux will leave gcc because companies developing the kernel will push for clang, clang will have media coverage, gcc will therefore loose a huge user base and the power of the FSF will go south.

(as a free software zealot ( :-) ), I'm worried)
Well for example, say you like to try shooting steel targets at 600 yards. That’s very hard to do. You might want a setup with a longer, say 20”, barrel. The scope you choose would likely be very heavy and expensive. You might select a very heavy bipod or simply use sand bags. You probably aren’t selecting a foregrip, accessory rails and flashlight attachments. Magazine capacity is moot. You’re likely going to want an actual high-powered caliber since the normal AR15 is NOT high powered despite what the news tells you and despite what your emotions tell you when you see one. In this case .308 would be much better but then the gun is termed an AR-10 but it’s basically the same thing.

Now on the other hand you like to enter 3-gun competitions where you’re running to different positions within an obstacle course like setup. (This is essentially just video gaming without the video). In this scenario you’re going to want a very light gun, so no big heavy optics. Instead people opt for these neat little red-dot sites. You may think they’re lasers like you see in the movies but that’s not it. It’s a tube you look through and there is a virtual red dot superimposed on the scene. They’re really neat.

Then you might choose between gas operated feeding and piston driven. Cost, cleaning requirements, reliability all come into play with this choice.

The list goes on and on really. These may not sound like “needs” and you’re right they’re not. This is just a hobby where go out an most commonly shoot paper or steel targets. But it’s a need in the same way women “need” a particular new shoe, or a gamer “needs” a new video card.

Also I hope this explains why people own many guns. Because once you build one for in particular style, you then start wanting one for a different style. Again, think women and shoes. Why do women have many pairs? For precisely the same reason people have many guns.
I'm European and I've been to several major cities in the US. I've also visited most european capital cities.

In both cases, as a tourist, I never go too far away from the popular places and never been there for most than 3 or 4 days.

Don't know the reasons (honestly) but the homelessness and poverty I've seen in the US is nowhere to be seen in Europe. I repeat, in "popular" places and vicinity.

How do they come out with such numbers? Is the impression of a tourist wrong? Where are the poor and destitute in Europe compared to the US?
Wait, you have to pay income tax on income you could theoretically receive? I'm fascinated to know what possible justification there is for this?

(Genuine, not rhetorical question.)
Also discussed on HN:

https://news.ycombinator.com/item?id=15739917
I definitely agree with you - my team switched to an "ephemeral cluster" model which allows us to very quickly spin up an entirely new cluster and drain traffic to it as needed.

It's something that we've ended up implementing on our own with a lot of Terraform, but that's had its own obstacles and is something of a small maintenance burden. I'll be taking a look at sugarkube!
From what I've seen, Zipline is being run between managed locations, rather than delivering to random points on the map, but I could be wrong about that, I last read about it a couple of years ago.

Also, like a lot of solutions, this doesn't have to be perfect, it just needs to be better than the alternatives, which Zipline appears to be in the places it is being used.
I read an article saying that Australia bought back almost 1 million guns and imported more than a million. That was a good waste of tax money, practically doing a refresh of the private owner gun stocks with tax money.
> If the Afghan military killed 30 Americans on US soil

FTFY
Functional programming is all nice until you need to debug someone else's code. (Maybe it just because i have done a lot more of it with imperative style, but I am pretty sure that's the case for the majority of programmers).
After the addendum that the solution is harmonic numbers, it would be interesting to see an analytical solution.
Just wanted to say this looks kickass. It is way easier to tear things down than to build them.
Good to see LLVM IR becoming the ultimate bridge between Software and Hardware
Police respond to apparent suicide at Facebook headquarters
My hope is that the Internet will have the positive effect of removing this misperception in the long run.

Personally, my eyes were opened quite a while ago when the US dropped one of the largest conventional bombs on some mountain region in Afghanistan where they suspected Taliban leaders to hide out. The next day some guy on Reddit wrote (loosely paraphrased) "Hey, that's were I always travel with my motorbike! Glad I wasn't there when that bomb went down..." and posted a picture of where the bomb hit, with his motorbike in the foreground.
Just to point out: the co-author is Thomas Sargent, Nobel Prize winner and generally a big deal. If he's taught himself Python, then kudos (he's 76). Even if not, it's a strong recommendation to have his name on the cover.
That’s what I felt as well. She seemed to state that it was a relief that her phone died, yet somehow still managed to have a photo of them.
While I appreciate the reference, I don't think it applies here.
I like the layout.
This is fixed at least in the fast ring
Frontend - React / TypeScript

Backend - Lambda / TypeScript

Infrastructure - AWS CDK / TypeScript

Kept in a monorepo, which means tightly-coupled code-sharing between all the different components.

Definitely has it's negatives - but being in small startup (solo technical) also means lots of interruptions and chopping and changing.

Having one language, stack, and repo makes it much easier to me to start, stop, and pick things up as I go.
> How do they come out with such numbers?

Different countries define and count "homeless" in different ways.

Some places will only count rough sleepers, and they'll do that by once a year sending people out to count people who are sleeping on the streets. This obviously severely undercounts those who are homeless.

Other places will have a definition for "statutorily homeless" which will include people living in bread-and-breakfast style accommodation - emergency short term lodgings funded by the state.
The description on that video is hilarious.
The very son that didn’t want to be all over the Internet? Yet there he is pictured in the article on vogue.

I got the feeling from the article that she didn’t understand her sons point of view.
3) write code that is obvious to the person who wrote it (at least for a few months), but being CODE is tougher for people to unpack.

Exactly this.
But it is EXCEPTIONALLY low - even more so than I remember.

> Starting in the 1980s, it was often claimed that 90 percent of the victims of modern wars were civilians.

> The Vietnamese government has estimated the number of Vietnamese civilians killed in the Vietnam War at two million, and the number of NVA and Viet Cong killed at 1.1 million—estimates which approximate those of a number of other sources.[19] This would give a civilian-combatant fatality ratio of approximately 2:1, or 67%.

> During the First Chechen War, 4,000 separatist fighters and 40,000 civilians are estimated to have died, giving a civilian-combatant ratio of 10:1.

https://en.wikipedia.org/wiki/Civilian_casualty_ratio#Cheche...
Aristotelian logic is flawed.
Yes, like qubes but without the security.
It's funny but it doesn't actually work because the hash of the modified commit and all subsequent ones will necessarily change, right? So it would be very visible to everyone that a change has been made as it might break a lot of things to force-push an incompatible history of commit.
You'd get the same result whether you test the hypothesis y > x (with both random variables) or y > 0. Under the null, the p-value is uniform on [0, 1], whatever that null is. It follows from the definition of a p value.

(Disclaimer: I am not a real statistician....)
I'd think single source vs fleet of disparate services is a bigger concern. If I have to track and maintain 10 subscription services to get the stuff I want, I'd rather just pirate it, the inconvenience factor is too high otherwise.

Look at music, this seems solved there.
Python Django, Django Rest Framework, Celery, Redis, Postgres, Celery, Google Firebase, VueJS, Vuetify, Vuex, NuxtJs, Heroku, Google Firebase, AWS, Bitbucket, Google Cloud functions, Cloudflare

Advantage: You can run a lot of stuff with a free tier setup, minimising the amount of investment in the beginning.

I use this setup to run https://www.surfgreen.dev

and to develop energy efficient, sustainable and green websites and webapps.
Or given it was a dog, maybe both:

"Want run. No run. Sad."
Two EC2 micros running Ubuntu & Nginx, Mongo DB, AWS Lambda, Cloudfront, S3, API Gateway, NodeJS/Express, React/Redux, and the usual frontend stuff (javascript, bootstrap, SASS, etc), Let's Encrypt for SSL

The platform is a hosting provider where every site runs off a Lambda function. As such, the hosting costs are miniscule ($0 for almost 2500 sites). The only real fees are the EC2 instances.

Site - https://www.turbo360.co/about
This definition only reinforces the parent's point. What it rules out as "not terrorism" is regular organized crime, which isn't too much into bombings anyway. Bombs are almost never used without a political/ideological agenda, because they're too expensive and require too much coordination to make, maintain and deploy.
Once you start nesting them then they become a nightmare to read. So you might as well mix some imperative style intermediate variables.
Reminds me of how two rappers (or youtubers or what will you) who have "beef" both benefit in the end (assuming they don't get shot)
If you are working on fabs, yes you should understand basic chemistry. If you are working on distributed stateless cloud-agnostic applications, yes you should understand both the networking and kernel of your OS on which said applications run.

Even if there is an abstraction layer with nice boundaries and well documented, you can still not ignore the layer below and pretend its raining.

When you are making a web app (for advertising purposes since this is HN), can you ignore understanding HTTP and TCP and IP? Would you hire a web-application developer who didnt know how to setup a web-server or load-balance his app?
> why re-inventing the wheel and create yet another containerization system?

Because that is how we make progress. Try different approaches, learn and evolve the ecosystem. That is how we got usable containers in the first place, it's not a new idea and variants have been around for decades. But only now we've seen it evolve in to something usable.

At least they are trying to solve problems. It might not be the best/right solution, hell it might not be an improvement, but if we don't try, we will never learn.
I feel like an outsider but: VB.net, Winforms and DirectX 9. Also the odd bit of C++ for interfacing with some 3rd party libraries where performance is important.

My customers are engineers (of the traditional type) and Windows is very popular among them. I chose VB.net because it solved some problems I was having with VB6, which I chose because I inherited it from my predecessor who used it when it was the fashionable thing.
Would you be willing to tell what kind of business you are in, where you have few enough customers that they can reach you by phone, but still need such a large number of machines that you need kubernetes ?
Feels even more OS360/IBM :)