skysight-inc/HackerNews huggingface dataset:
I run a Dockerized monolithic application in ECS, and I'll be switching to Kubernetes soon. I am 100% sold on this approach and will never go back to any deployment methods that I've used in the past (Capistrano, Ansible, Chef, Puppet, Saltstack, etc.)

I use Convox [1] which makes everything extremely simple and easy to set up on any Cloud provider. They have some paid options, but their convox/rack [2] project is completely free and open source. I manage everything from the command-line and don't use their web UI. It's just as easy as Heroku:

convox rack install aws production

convox apps create my_app

convox env set FOO=bar

convox deploy

You can also run a single command to set up a new RDS database, Redis instance, S3 bucket, etc. Convox manages absolutely everything: secure VPC, application load balancer, SSL certificates, logs sent to CloudWatch, etc. You can also set up a private rack where none of your instances have a public IP address, and all traffic is sent through a NAT gateway:

convox rack params set Private=true

This single command sets up HIPAA and PCI compliant server infrastructure out of the box. Convox automatically creates all the required infrastructure and migrates your containers onto new EC2 instances. All with zero downtime. Now, all you need to do is sign a BAA with AWS and make sure your application and company complies with regulations (access control, encryption, audit logs, company policies, etc.)

I run a simple monolithic application where I build a single Docker image, and I run this in multiple Docker containers across 3+ EC2 instances. This has made it incredibly easy to maintain 100% uptime for over 2 years. There were a few times where I've had to fix some things in CloudFormation or roll back a failed deploy, but I've never had any downtime.

My Docker images would be much smaller and faster if I built my backend server with C++ or Rust instead of Ruby on Rails. But I would absolutely still package a C++ application in a Docker image and use ECS / Kubernetes to manage my infrastructure. I think the main benefit of Docker is that you can build and re-use consistent images across CI, development, staging, and production. So all of my Debian packages are exactly the same version, and now I spend almost zero time trying to debug strange issues that only happen on CI, etc.

So now I already know I want to use Docker because of all these benefits, and the next question is just "How can I run my Docker containers in production?". Kubernetes just happens to be the best option. The next question is "What's the easiest way to set up Docker and Kubernetes?" Convox is the holy grail.

The application language or framework isn't really relevant to the discussion.

[1] https://convox.com

[2] https://github.com/convox/rack

P.S. Things move really fast in this ecosystem, so I wouldn't be surprised if there are some other really good options. But Convox has worked really well for me over the last few years.
Small America vs. Big Internet
You'd be surprised how many serious tech shops have close to zero performance metrics collected and utilised.

I've done this in fintech a few times already and the best stack that worked from my experience was telegraf + influxdb + grafana.
There are many things you can get wrong with metrics collection (what you collect, how, units, how the data is stored, aggregated and eventually presented) and I learned about most of them the hard way.

However, when done right and covering all layers of your software execution stack this can be a game changer, both in terms of capacity planing/picking low hanging perf fruit and day to day operations.

Highly recommend giving it a try as the tools are free, mature and cover a wide spectrum of platforms and services.
I kinda get this, the "framework maintainers are superhumans who write amazing code and nothing I could write could get close to that" attitude.

But the framework maintainers aren't looking at your specific situation. I mean sure, if you're writing yet another CRUD system for yet another SaaS product, then fine, use Rails, that's what it was designed for.

But if you're not building Basecamp, then your application is eventually going to want to do something that Rails wasn't intended to do. And then you're going to have to write your own code. And if you're not confident that you can write that code, because you don't think you can write good enough code for this... then... why are you doing this?
Lol. Nope. I know plenty of Muslims in the US. Being arrested and placed in a concentration camp hasn’t occurred to them as something to worry about. We’ve made plenty of mistakes and have a ton of discrimination still, but China is on a different scale of atrocity.
You can thank Mozilla and Microsoft for that. They had the swing votes on that issue - https://nolanlawson.com/2014/04/26/web-sql-database-in-memor...
I'm cynical enough to think you can almost certainly say the same of the reverse, too. :(

That said, with reading this, if you are thinking of skipping it. Does somewhat confirm that most of the not posts are on conspiracy theories. Which, I guess is not that surprising. Even if the conspiracies are.
How to write useful commit messages? 5 helpful tips and a general guideline
Why don't you organize a study and let us know?
Wood smoke is carcinogenic. Compared to cigarette smoke, wood smoke is 12x as carcinogenic. Of course, it depends on the wood.
This article is basically a summary of this article. https://www.technologyreview.com/2020/05/21/1002105/covid-bo...

I often wonder when we are going to see more left wing reactions to this sort of behavior. Seems the right, based on my limited information, seems to be more aggressive about these disinformation campaigns.

Also it stands to reason that this particular misinformation campaign is being sponsored by a foreign state. I think that this would be an effective weapon to use against the United States. Sort of like biological warfare by proxy of disinformation.
That's great feedback, thanks! I agree with both points, handling different precision strategies from multiple parties is a challenge on itself, we don't solve it yet, but is definitely on the roadmap. On the trust side, it's a question of time, as the curve of adoption for any technology, we have been working with the early adopters now, and providing them the competitive advantage they deserve for being innovators. Thanks for the comment!
My original post was flagged, but Jeff is a hyperintelligent alien who occasionally takes a tangential interest in human affairs (credit to Yegge for making this observation). Elonbot hasn't finished construction yet- as the CEO of neuralink told me, "the point of this company is to build a brain computer interface so that Elon can have
a robot body and fight the AIs that will try to take over the world".
Faclon9 and Crew Dragon on Complex 39A (NASA Image of the Day)
The script bots are rampant on Twitter, as they are on HN.
I must say that reductionism is my default position. And that this is at base a value I have chosen. I did not consider the usefulness of reduction or unity until I encountered the ideas of Sabine Hossenfelder. The idea that reduction, unity, and elegance might be holding inquiry back is a new idea that I am increasingly sympathetic to.

Something I also did not consider much was the sociology of science. It seems, at least from my outsider perspective, that the highest status scientist is a theorist who either predicts an experimental result observed decades in the future, or a theorist who synthesizes disparate observations. This value, insofar as it is true, stems from a reductionist perspective. I see reductionism being harmful to inquiry if only because it favors some scientific roles over others, theoretical over applied, theorist over experimentalist, discovery over reproducibility.
That's really cool! I remember checking prototype a day or two ago and now it's finished - great job!

I have an idea of making something like "read next" on medium or openring[1] as a service. It's in a very early stage right now, but if you run a personal blog - ping me(info in the profile) I would like to ask a few questions ;)

[1] https://git.sr.ht/~sircmpwn/openring
This is a really awesome blog. The post about programmer salaries is insightful: https://danluu.com/bimodal-compensation/
How to Make Money from Instagram?
People talk about a quantum particles as being in many places at once. When you ask what that means, the explanation is that they aren’t in one place, their position is represented as a probability curve of the places that they might be right now, and then when an observer observes the particle, that curve flattens down to where the particle is.

That seems like a very anthropocentric view of the universe. Why would it matter whether a particle is “being observed”, UNLESS the act of observation has a side-effect. If “observation” is purely passive then it can’t affect anything, by definition.

A MUCH simpler explanation is that the way that we observe things (by looking at them) is by bouncing photos off of them. Quantum particles are small enough that bouncing a photon off of it can change its course.

Here’s an analogy : you’re blind, but you’re super good at throwing and catching basketballs. The way that you observe the world is by throwing a basketball and then timing how long it takes to come back to you and catch it, and by observing if it comes back at an angle or with some spin on it. Imagine you come across a pigeon. You throw the basketball at the pigeon. You observe strange behavior of the pigeon when you “observe” it vs when you don’t. You formulate the pigeon uncertainty principle. You describe pigeons as spooky. You just accept that pigeons follow different physics than school buses.
The US and China have been in a Cold War for longer than 3 years. This didn’t start with Trump, and it won’t end with him. Trump is just an inarticulate accelerant in an already unfolding geopolitical catastrophe.
I'm not sure I understood the solution there. Storing only 0.1%-0.01% of the interesting metrics data makes sense in the same way that you'd take a poll of a small fraction of the population to make guesses about the whole?
Starting a sentence with "so?" implies that you don't care that X position has a lot of bots behind it. But then your followup question implies that you would care if position Y has a lot of bots behind it. Shouldn't this be a "that's bad, I wonder how bad it is on the other side" kind of situation? Why are you defending this?
> The real alternative is not doing the whole microservices thing and just deploying a single statically linked, optimized C++ server that can serve 10k requests per second from a toaster--but we're not ready to have that discussion.

The alternative is to have a old and boring cluster of X identical java nodes which host the entire backend in a single process... The deployment is done by a pedestrian bash script from a Jenkins. It used to work fine for too long I guess and folks couldn't resist "inventing" microservices to "disrupt" it.
Play video games, watch Netflix, intermixed with PornHub, become obese, depressed, and addicted to some substance, even if purely out of boredom.

Then, after all this, forget why you even wanted to go to college.

Sounds like a plan.
I think we need to draw a distinction between "normal" and "abnormal". What is "normal" for thru-hikers is off-the-charts privation for most people (source: am an AT thru-hiker GA->ME '10).

Under the sorts of circumstances where most people would seriously consider using bleach to render water safe to drink (i.e. highly abnormal ones), bottled water is a luxury. Bleach allows us to meet a biological need starting with water people in the developed world would consider unsafe for drinking.

Bottled water meets the same biological need at greatly increased distribution and packaging costs; that makes it a luxury. Under normal circumstances, there's sufficient capacity in our logistical systems that we don't see those costs. Under abnormal circumstances, bottled water rightly should be one of the first things to be shed from the supply chain given available water that can be made potable with bleach.

On a thru-hike the last link in the supply chain is your back, and as the GP points out there much more important things to carry than bottled water given the ability to purify water found along the way.

As an aside, most of us don't use bleach. Polar Pure has long been my favorite (it's cheap and extremely robust), AquaMira is extremely popular (at higher cost per liter), filters are quite popular on the PCT, particularly the Sawyer Squeeze, and UV solutions (Steripen) also have their adherents. Basically nobody uses Potable Aqua. I'm not even sure why they still make that stuff; clearly it sells.
You can fix this by removing the “Google” account and connecting to Gmail as a regular IMAP account.

Since I did that, I haven’t had any issues with this.
I always used to wonder about Otto's line "excuse me while I fold my pants" in Repo Man. Now that we no longer have NTSC vs PAL vs SECAM, I wonder if it may have been a reference to
https://www.youtube.com/watch?v=F68bbzOOOdY&t=38m52s
It doesn't. Big companies who want to be gdpr compliant buy enterprise Slack and force slack to store the data in European datacenters. Slack doesn't give a shit about gdpr if you're not paying
> I dislike these absolutist statements and manifestos.

From the manifesto: "We don't hate frameworks, nor we will ever create campaigns against frameworks, but we perceive the misuse of frameworks as a lack of knowledge regarding technical debt and we acknowledge the availability of alternatives to frameworks...The purpose of this Manifesto is to have valuable conversations about the movement. We firmly believe that to be useful this manifesto should be modified during the time as a result of the conversations that our community will have."

What is absolutist here? To me, this seems like the most even-handed, least absolutist manifesto that I've ever seen.
This smells like a feature built 10+ years ago, before notifications existed in Mac OS X, that never got upgraded.

That's how apps "notified" back then.
Probably some, and I’d also welcome the research. But when 80-90% of the population support lockdown there’s less need for bots. Apple pie is less popular than ‘continue lockdown for as long as necessary’.

https://xkcd.com/2305/

As for twitter bots, I have one running by ifttt, another by script, and three more in planning. I welcome the human/bot accounts being made clear.
Bots are promoting things on HN?
Show HN: I love Free Games so I made a platform to track them
A dolphin is surrounded by water, and its sonar sense is truly 3D, in that it can go in any direction. Up, down, left, right, ahead, or behind.

A creature living on a neutron star might use sonar like we do light, because the speed of sound in the star crust is more then half the speed of light. In many ways it would be comparable. But the crust is only below the creature, not above. So its "sound sense" would only work for one hemisphere surround the creature, the other side would be silence, its equivalent of total darkness.

Neutron stars have thin crusts, possibly mere meters thick, and almost certainly with layers of some sort. Again, sound would probably travel at different speeds in the various layers, just like sonar does in oceans, where salinity affects propagation. There would be complex effects with distance to do with this. Locally, the sound could travel outwards in a hemisphere, but at long range it would likely be more 2D.

This is all speculation, but it's based on real science. My point is that we cannot really know, and no amount of staring at equations will help paint a realistic picture.
They are not. For all the reasons mentioned in the article.
Xbox Series X: compatibility with 4K, HDR and 120 FPS
If not that it's an insurance against future rent payments and it creates different options. The total cost of ownership with a high likelyhood for an well-priced and appropriate property with appropriate mortgage payments is lower than runaway rents in hcol areas. Lastly, you can trade property value and QoL by neglecting upkeep at any time to make up a shortfall in income and even "run down" the property over quite some time, at extreme levels not even using utilities, which is not an option if you're paying rent -- try neglecting your rent payments.
This is exactly when I switched to Python, when I realized that I always had to look up how to dereference pointers to non-trivial objects.
What do you base that on? Division may just be an emergent phenomenon or one rooted in the reality of opposing interests.
You're kidding right? I routinely decline meetings where zoom is used. Good UX doesn't wash away corporate douchebaggery or outright and intentional compromise.
No it's not. It has language bindings for pledge(2), which is different. There can be no one size fits all pledge for an interpreted language like perl, as programs can make arbitrary calls to anything they want. But those programs can use pledge, as long as they consider the requirements of the runtime itself.

http://man.openbsd.org/man3p/OpenBSD::Pledge.3p
Probing the hydrothermal system of the Chicxulub impact crater
Let's be clear here. This is not about China.

The US under Trump wants to make billions of profits because of Covid-19.

The WHO wants to make the medicine available for free.

That's why he is out of the WHO and frankly, if that is the reason, the WHO is better off without the US.

Ps. I have no doubt that he would buy the stock of the creator of the vaccine to earn billions with his access to private information.
> because it is not being used by well-known tech company and not being worked on by large numbers of people, it would not be newsworthy.

And at this point the hobbyist might wonder, "why isn't my toaster software being used by well-known companies? where are the pull requests to add compatibility for newer toaster models?"

> As a spectator, not a tech worker who uses these popular solutions, I would say there seems to be a great affinity amongst in the tech industry for anything that is (relatively) complex.

I think you have it backwards. General/abstract solutions (like running arbitrary software with a high tolerance for failure) have broad appeal because they address a broad problem. Finding general solutions to broad problems yields complexity, but also great value.
> as soon as the radioactive atom interacts with the Geiger counter

Doesn't the paradox arise precisely because the time at which the atom will interact is probabilistic?
But! If you write modern bash, it won't run everywhere, definitely won't run on mac!
Not my intention at all.

Even if my comment implies that there might be pilot error, pilot error doesn't mean pilot blame.

In this case, I'm very much of the opinion that the blame either belongs with the official Boeing training program, which didn't correctly train any 737 pilots to correctly handle this scenario.

Or the blame belongs to the design specification that relied on the assumption pilots would be able to correctly handle this scenario with out even testing that assumption. Or potentially both.

Even if say 10% of pilots could fluke into handling this scenario without the correct training, doesn't mean the other 90% are to blame for not flukking into a correct solution.
I am throughly horrified at the difference between the approaches of American and European schools. Most European schools have already moved fall semester online while American schools are scrambling to preserve their tuitions.

I mean, just compare their priorities.
Something I still don't understand, similar to this - not sure if it's a bug or feature but I use Desktops heavily, especially while working at home without my extra monitors.

For some reason, the order of my Desktops on Mac seem to reshuffle, I can't work out what causes it or when it happens. I often have it ordered something like this:

Desktop 1 - Google Doc (Chrome)

Desktop 2 - Researching (Chrome)

Desktop 3 - Slack

Desktop 4 - Spotify

I'll do the three finger gesture moving from Desktop 1 to 2 and randomly say Spotify will have moved there. It's so annoying.
I’ve been reading a lot of H.G. Wells’ nonfiction. As a child in a one-room English schoolhouse, he was still being taught the four “elements” of earth, water, fire, and air. Aristotle would be proud!
Why would I repeat what is already written in the article?
No, that doesn't make it any less secure security-wise. It's probably because Tcl isn't an ALGOL type of language. I love Tcl by the way and I wish it was used more than it is.
> Take the difference in salary between a college graduate and a high school graduate over those 40 years.

There is no difference. Incomes have held stagnant for the entirety of those 40 years, despite the transition from people of equal calibre being only high school graduates 40 years ago to being college graduates today. $0 invested at 7% still leaves you with $0.
It's pretty crazy that a few researchers can identify this in a short month or two of work.

It's even crazier that Twitter can't do that research themselves and remove those bots.

Obviously the big debate is censorship. It feels like there could be a tech solution to this, where conversations aren't shaped by volume, but I guess that is what Twitter is anyway.
Meanwhile, a revolutionary paper that brought for the first successful time a new paradigm to NLP (latent variational autoencoders) and that destroy GPT 3 on text perplexity on the Pen treebank
(4.6 vs 20) and with order of magnitudes less parameters
is talked about nowhere on the web...

https://arxiv.org/abs/2003.02645v2
> ... most of the things on the list are just trivial ...

That's just it. That those things that cost you so much time and nerves are so trivial makes them all the more annoying.
Sure, I made a stub: https://github.com/Kinrany/awesome-ecosystems
The answer is found in System Preferences > Mission Control. Uncheck the “Automatically rearrange spaces based on most recent use” box :)
As far as I can tell, they are only required by law to ask for identification; no requirement about asking why. The report they make goes to the IRS where the IRS might ask a question.

https://finance.zacks.com/federal-banking-rules-withdrawing-...

The teller asked for identification which exactly what the law requires, so it doesn't sound like they screwed up.
And in a lot of cases, they don’t assume you already know xxx because it was new then.
Not really. I've played with Rust but haven't used it in anger. One thing I've noticed about my programming style is that I LOVE to learn about new languages and language features. Using a language like Go or Java forces to me concentrate on the problem at hand [which almost always something where GC is fine for what I'm working on]. That said, the Rust ecosystem seems pretty solid [except the edition stuff, that makes me very leery...]
I really enjoyed the article and find several of the models quite useful.

However, I think the Diamond model can be over-used. It’s often the right model when you need to explore a topic or persuade a group to your vision or line of thinking. It’s perhaps not the best model for effective decision-making though. When the time comes to make a crisp decision, I want to see the recommendation framed up in the first section. If I’m reading a recommendation that we implement policy X, I want to know in the first paragraph (or two, max) that’s what this document is about, what the author’s recommendation is, and then see why and what alternatives where explored. I specifically do not want to read any story about the history, the existential problem, or why we need this policy before I know the recommendation. All that material that may have been important at kickoff is now relegated to supporting points in the middle, to an appendix, or removed entirely.

I read way too many “we need a decision here” documents that flow like murder mysteries.

Bottom Line Up Front for some topics, please.