skysight-inc/HackerNews huggingface dataset:
> k8s makes everything more complicated

No it doesn't.

This is only true if you don't need the features in the first place, and you haven't gone through the learning curve yet.

So I can deploy a single container. Works fine. You can tell docker to restart it. Works fine. If that's all you need, you don't need k8s.

But you may now want to deploy two containers. And let's say they are servers. Now, you need incoming connections from a single port going to them. So maybe you are going to deploy something like haproxy – which now you have to learn.

Also, you now need a way to tell if your service is down. So you add a health check. But then you want to kill the container if it goes bad. So now you add a cronjob or similar.

At some point, one machine is not enough. So do you replicate the exact workloads across machines? If you do, it is a bit easier - but potentially more expensive. But if you need to spread them across different machine types, it gets more difficult. And now you also have storage distributed which you need to keep track of. If you haven't automated your deployment, now it is the time.

Now you have this nice setup. It is time to upgrade. How do you do that? Probably some custom script again.

Instead, you can forget all of the above. You can spin up a k8s cluster with any of the currently available tools (or use one of the cloud providers). Once you have k8s, a lot is taken care for you. Multiple copies of the service (with the networking taken care for you) ? Check. Want to increase? kubectl scale deploy --replicas=<n>. Want to upgrade? Apply the new YAML. Health checks and auto-restart? Add a couple of lines to your YAML. Want to have different workloads over different machine types? That's also an easy change.
Want to have storage (that follows your workload around)? Easy. You are in a cloud provider like GCP and want a new loadbalancer (with automated SSL cert provisioning!)? A couple of lines of YAML. Want granular access controls? It's built in. I can go on.

Of course, there's a learning curve. But the learning curve is also there if you stitching together a bunch of solutions to replicate the same features. Once you get used to it, it's difficult to go back.
What's the general consensus on the relevance of systemd when you've migrated to a fully containerized architecture? I know that I run almost everything in docker nowadays and barely touch systemd. I use fargate on AWS too and there is no systemd to touch. I use a simple python based init process inside most of my containers.
I don't know understand the point of this comment.

Is there some epidemic of developers setting up complex, multi-node Kubernetes clusters just to run a small web app ?
Lithium prices have gone down almost 60% in the last year.

Short-term storage isn't that bad, we have other battery chemistries or even completely different types (e.g. flow batteries). A bigger problem is seasonal storage, for which most batteries are far too expensive.
Richard Garfield's new game, KeyForge [1], attempts to remedy this problem by using pre-made decks generated by an algorithm that makes every deck unique. You buy a deck for $10 and you are ready to play. Each deck is given a unique name that is printed on every card so you cannot alter the composition of the deck. Although some decks are better than others, they are all very playable, and I always have fun playing. I usually play a couple of sealed tournaments at my local game store each month where we all buy a $10 deck and play the tournament with whatever we got. It's a lot of fun whether I win or lose. When my deck collection started to grow, I gave away decks to get others started in the game. Although it's true that some people spend a lot of money in search of the really powerful deck, that is not necessary to enjoy the game, and I think it's much less expensive than Magic to play at a semi-competitive level.

1: https://www.fantasyflightgames.com/en/products/keyforge/
A company deploying any kind of setup, cloud or not, while handling sensitive client data without having done any sort of risk assessment and due diligence is simply negligent and is a sitting duck. This does not require a fancy new term.
$.80-$1.00 per order, plus $.75 per unit, plus $.11 per ounce. You can end up paying two dollars just to put one tiny item in a box. And that's separate from the commission, as mentioned by Alupis.
Xilinx: FPGA and CPUs and RF to 6 GHz on a Single Chip
Nan Gates and Flip Flops [video]
France produces much of its electricity from nuclear. It used to be 75%, but it is less now with renewable coming online.
I guess France did a good job at educating/brainwashing its citizen because they do not worry much about their nuclear power plant. And the official track record has been good enough over the past ~60 years (first in 1962). There has been some green movement trying to shutdown some nuclear plants over the years, but lately it is more foreign green activists that complain about France recycling/vitrifying Japanese or German nuclear waste (arguably transporting waste around the world could be dangerous).
The technology improved a lot in the last 60 years. But years of anti-nuclear propaganda still make it difficult to talk about nuclear in a rational way.
> None of which scale well.

There is a startup that has developed a battery that was designed from the start to scale as much as possible for grid level storage.

http://news.mit.edu/2016/battery-molten-metals-0112
https://www.youtube.com/watch?v=NiRrvxjrJ1U

So far I've seen no reason to think that we won't be able to solve the energy storage challenges over the next 10-20 years.

To be clear, I'm talking about smoothing out the power over hours and maybe days. If it's suddenly windless for a couple of weeks for some reason, there's no battery that will cover that. But we could just keep gas power plants around. They're great for that, and running them a few times a year is not gonna make a big dent in emissions. If they're used that rarely, we might even be able to use renewable gas.

The other challenge is seasonal variations. But Northern Europe has ways to deal with that. Norway has massive amounts of hydro power, and is building new power lines to help nearby countries. Sweden has built a lot of trash burning facilities that also supply heat to nearby areas. I think I read these run mostly in winter. Not sure what the solution for northern North America is.
The future is unknowable and you're part of the mechanism that is unfolding it microsecond by microsecond. The question of whether or not you can 'influence' it doesn't make any sense.

That is, Free Will as a concept doesn't really make any sense. Does Free Will mean if exactly the same situation happened twice, the person might choose different things? But its somehow different to just being random? And when does exactly the same situation every happen twice anyway? Its an incoherent concept.

In my head, I have sortof redefined 'free will' like this:

The world is a mass of cause-and-effect chains. For a given object/being, if you were to 'trace' those cause-and-effect chains, would most of the proximate links in the chain be within the object/being, or outside of it? e.g. a rock can fall and roll around if pushed, those chains of cause-and-effect are mostly outside it. Us, as humans, choose to do things using our brains, so the chains of cause-and-effect (or the first bits of the chain at least) are within our brains. Naturally if you trace the cause-and-effect far enough you will get to some external cause (memories of previous events, learning etc). But if you look at the proximate cause-and-effect chains, they're mostly in our brains. That - for me - is roughly what I take Free Will to mean. The center-of-gravity of recent cause-and-effect chains reside within us. We have it, most animals have it to varying degrees. Rocks dont have it.
A bunch of coding challenges solved in one line of code
It is really good! I started a Go implementation for a project I am working on https://github.com/philips/pg-go-queue
Code PHP and Python on S60v3 Mobile (2008)
I would like to hear some comments about: "I like having dedicated testers on my team but many places don’t anymore and if you have a good process in place for automated testing you can do just fine."

In the 1990s, I recall (perhaps wrongly) one of the Microsoft books talking about one tester for every two developers.

At the tail end of the 1990s, I worked as a developer in a group with a QA team, and they caught bugs, including ones where it took me a while to even see there was a bug. Which means that I couldn't have written the tests for them.

Nowadays, I do consulting/contract programming, and my clients always do manual testing of what I shipped them, before signing off on the payment. That's in addition to the unit tests I write. And they find bugs.

So, what does it mean "if you have a good process in place for automated testing you can do just fine"? Does it mean that it's okay to let your users be your QA group, since there's a process for handling that?

Or is it something else I don't know about, given that I'm a one-person developer?
That definitely wasn't the case in the heyday of MTG novels, though they might have gotten better at it more recently. Wizards is very open about its design process: https://magic.wizards.com/en/articles/archive/116841
I'm sure the Ontario line will be a great success... /s
you CAN track the latest "CREATE" statement and deploy to a real system. Conceptually you only need to do a "diff" between your current "CREATE" and the on in the system where you are deploying. https://github.com/djrobstep/migra

Also something similar which uses apgdiff https://github.com/subzerocloud/subzero-cli
It used to be welcomed for anyone in the company to discuss these things. That is still in our values that anyone and anything can be questioned that can be seen here: https://about.gitlab.com/handbook/values/#anyone-and-anythin...

That isn't entirely true anymore since there is a strong fear of retaliation, so many have chosen to stay quiet.
Why can't you run "real HA" with EKS ?

It is after all running the control plane in multiple AZs.
It would be much less costly to just throw it all at Venus. b^)
Do you think it's possible that any potential liability could already have been exposed when the issue itself ( https://gitlab.com/gitlab-com/www-gitlab-com/issues/5555 ) was opened, prior to compliance becoming aware of it? It contains the statement:

"In e-group on Monday October 15, 2019 we took the decision to enable a "job family country-of-residence block" for team members who have access to customer data. This is at the expressed concern of several enterprise customers, and also what is becoming a common practice in our industry in the current geopolitical climate."

It could be that better legal scrutiny during contract negotiation might have prevented this becoming an engineering, hiring and compliance concern.
You need some timeout and/or leasing mechanism to make it work in this scenario.
> The book is weakest in its chapter devoted to capitalism. “Capitalism is essentially racist,” Kendi proclaims, and “racism is essentially capitalist.”

Oh Geez.
Reminds me of the Tropicana orange juice rebrand fiasco from a few years back.

It was a case of very bad customer empathy. Basically, Tropicana orange juice comes in a few different varieties that vary based on the amount of pulp. Before the rebrand fiasco, (and currently,) there are very easy to identify visual cues about the level of pulpiness.

After the rebrand, the level of pulpiness was shrunk to very small text on the edge of the label. It was very hard to find. Furthermore, the text changed from well-known names, "Grovestand," "Homestyle," to "high pulp," "medium pulp." Often, due to angles of the shelf, the tiny text was covered.

I had to stare at the shelf, every time, for about 2 minutes just to figure out if "High pulp" or "Pulpy" was really "Grovestand." Now, for me, I only drink "Grovestand," so it was worth it. Most people just got confused and bought the other brand.

I was very happy, when after a few weeks of this nonsense, they brought back the old labels.

The thing is, the newer labels were prettier and more modern. All they needed to do was keep large badging for "Grovestand," "Homestlye," ect. That's it. Instead, whoever designed the label hid critical information in tiny text in a corner.
Something to specifically point out about that example of admin decisions lists is that there are 3 categories for an instance block (silence, suspension, block), 2 of those categories still allow instance members to follow (if they so choose) accounts on the silenced or suspended (not yet entirely blocked) instance. The "people" generally often are free to decide for themselves and "over-rule" a hasty block by an admin on a follow-by-follow basis.
A better way to complain about a title is to suggest a better one—i.e. an accurate and neutral alternative—so we can replace it.
The comment you are replying to wasn't addressing that scenario.

Typically you would implement visibility timeouts and other such stuff. Depending on the use case you could make specific optimizations or keep it generic and have SQS like semantics or something.
Here are some best practices:

- Small is beautiful.

- Make each program do one thing well.

- Build a prototype as soon as possible.

- Choose portability over efficiency.

- Store data in flat text files.

- Use software leverage to your advantage.

- Use shell scripts to increase leverage and portability.

- Avoid captive user interfaces.

- Make every program a filter.
What I like about Windows API when compared to GTK is exactly that: the OO/class system is kept at a minimum and is limited to the handling of the widget tree.
FWIW, when we looked at fulfillment costs, FBA was more or less competitive, price wise.
My thought too. "Pushing" someone to use a service is very different from "requiring" them to use it. Amazon can also make a very strong case that FBA maximizes consumer value even if it doesn't minimize price.
There are many alternatives to kiam within the K8S space.

So would disagree that is specifically is a necessary component.
First, just to get this out of the way, I feel that taking action due to a profit motive is better than not taking action at all. Do we at least agree on that?

Second, getting people to take action is all about incentives. Those incentives might be profit motive, internal motivation (e.g. feeling righteous), etc, etc. It seems like our job, as a society, is to construct incentives that lead to the actions we want to see. There are various ways of doing that, and profit is definitely one of them that has the nontrivial benefit of being broadly applicable: lots of people are at least somewhat incentivized by money.

Now there are all sorts of ways incentives can go awry, and that includes profit incentives, so we do need to watch out of that. But apart from that it doesn't seem like there's anything inherently wrong with using a profit incentive to produce the action we want.
New research synthesizes different aspects of causality in quantum field theory
Ok, we've replaced "Kubernetes" with a more accurate and representative phrase from the article. If someone suggests a better title, we can change it again.
Stasis is probably one of the worst cards to play against, to be unable to do anything as your opponent slowly chips at your life total or makes you draw your whole deck, but at least that gives you a lot of time to admire the lovely art.
Quebec is not racist, the regular people in Montreal are great and they acknowledge the fact how repressive the bill 101 is, actually, it is worst for the regular Quebecois, preventing their kids to learn English from young age and handicapping their future...

The separatists’ leaders are racist, but soon they will go away in oblivion, because the young generation knows better thanks to TV and Internet and are open to the world...

The whole world is uniting; EU is a good example (even with UK getting away, which looks more and more unlikely)... There is no room for chauvinism in this century in my book.
Montreal is one of the best cities in the world, largely because of the immigrants settled there, even tough the nationalist governments try to punish them any chance they get...

Ever try to register a company in Quebec? Let me give you a clue, it is possible, but only in French :-)

Montreal city web site, it does have an English section, but the majority of the documents are in French only...
I was travelling this past summer and enormously frustrated by the crappy DSL in the place I was renting.

I was doing a lot of work with AWS Lambda, which meant uploading big zip/JAR files to S3 semi-regularly. Each upload destroyed the place's upload bandwidth, rendering it unusable even for browsing.

This could be solved by using AWS Lambda Layers, or running my build process inside of AWS itself, but I'm stubborn and didn't want to change my process. :) So I whipped up a little tool that uses xdelta3 to send patches, which get reconstituted on the other end.

I've been using it for a while and love it, so I figured I'd polish it up and see if it's useful for anyone else. Happy to answer any questions about it, too!
From what I've seen and personally experienced, the sort of inexperience-masking hipsterism he's describing starts earlier. In university or highschool, years before Agile or other management styles become relevant to the individual.
Flaring it early would produce most of the GHG reduction benefit. The resulting CO2 has a tiny fraction of the total warming potential of the unburned CH3. For cases where it isn't economical to recover the methane, the public still benefits.
probably their CTR also went wayyy down. I'd click on a logojoy listing but think twice about Looka
> voice-to-speech tech is excellent now

I wouldn't say that it's excellent now. It still has a long way to go. Small example, try enabling captions in Google's meet. Those are awful. Don't get a lot of words right, if you have an accent it's even worse. And distinguishing between different people talking? Forget about it...
Source without paywall:
https://www.latimes.com/business/technology/story/2019-11-08...
Why is the diagram "exaggerated"? If the physiology is not that obvious maybe the significance isn't either.
FWIW, Amazon does not do dynamic pricing for offers from 3rd party sellers.
I'm saying millennials checking on their highschool and college cohort after they graduated, like how did he or she do in the last 10 years? sort of thing. I'm aware that all school age kids are gen Z by now.
Goes to show how stupid the convention of naming scientific terms after people is. The name "Yakolevian Torque" is not at all descriptive of what the phenomenon is, is hard to spell, and is hard to pronounce. You could say that it's to honor the discoverer but for a natural phenomenon does it really matter who discovered it first given that its a property of reality itself that holds true regardless of who discovered it.

Besides that, many such phenomenon by their nature are discovered simultaneously by multiple people, making their naming by this convention a point of unnecessary political contention.

Naming scientific terms after people also creates an unnecessary barrier to international collaboration. Although scientific terms are usually the most easy terms to translate given the universality of the topic on hand, proper names are usually the most difficult to translate terms from any given language to any other language due to their lack of semantic meaning and therefore the requirement for transliteration, which in most cases is a lossy process. For any given language and English, there are often many different transliteration schemes, making it difficult for even someone who speaks both languages to find the spelling that has been converged upon in English.

The previous point basically nullifies any notion that naming a scientific term after a person honors that person, since it is very likely that it results in their name being butchered across multiple languages, often in egregious ways bordering on offensive.
It is worse than that. First-class continuations add a small overhead for stack operations, and they always have more memory overhead than callbacks/async transformation into callbacks. But the comment I was replying was about Go, not Rust. For the small overhead that first-class continuations have, they provide a simple and efficient way to handle coroutines, generators, asynchronous I/O, and green threads.
Ok, but what's a better word? Refuted? The article makes clear that Schurger's counterargument has been generally accepted.

Edit: given the link in https://news.ycombinator.com/item?id=21486117 I suppose we can say "questioned".
"How Not To Type a Title."
I'm curious if the same holds true if you drop in Sqlite/MS Sql Server/Mysql.

I.e. is this good advice because Postgres in particular is a great implementation of sql, or because sql in general is good enough to solve this problem, or a mix of the two?
> they're free to run their marketplace however they want.

That's only true if they don't wield monopoly power.

Personally, I think there's a very strong argument that they do.

It would be interesting to see to what extent courts agree.
A "per gram of manganese" energy density doesn't really translate directly into... energy density... does it?
For me, when I was doing it? A difference of >$150 a night matters a lot to a graduate student.
They cannot be reverted once spent, they can absolutely be traced. Police can subpoena records from Moneypak, which is more than happy to comply. You also actually have to go out to a physical location, and swipe your Moneypak card, to buy something. That physical location will keep records, may have security footage, etc.

If you're doing Moneypak fraud, and live in any country with a funcitonal rule of law, it's just a matter of time until you either find yourself booked for processing, or, alternatively, ziptied, and with a brown bag over your head, put on a flight to the US.
You can also play dominion online with matchmaking, including expansions, at https://www.dominion.games/
German Wikipedia lists round-tip efficiencies of 30-38%, and 43–54% if you cogenerate heat.

I've already linked a paper which makes promises of efficiencies of up to 80% using reverse fuel cells.

Here's an older one that promises 'only' 70% efficiency, using caverns for CO2 and CH4 storage:

https://pubs.rsc.org/en/content/articlelanding/2015/EE/C5EE0...

Not sure how much of these claims will survive after contact with reality...
I agree with you.

This sounds like the ratings agencies during the last recession, where they knew they were handing out good rating for junk bonds because if they didn't do it they'd lose a customer to the competition.

It's totally fucked.
Somewhat related to the topic, but not necessarily the article:

I often see week long company retreats in far away lands listed as a positive/selling point on many company recruiting pages.

For many in their 20s, or single, it probably sounds great.

But there is definitely an unspoken pressure element to the whole thing for a certain class of individual.

Maybe I'm the only one, but I imagine if you have a family these retreats can actually be a negative. Perhaps they aren't mandatory, but surely it's not wise politically to miss them.

I feel like those with families might not want to spend a week away from the family in <insert-far-away-land>. For a variety of reasons.

Maybe some companies do a better job of catering for everyone/thinking about this. Perhaps it's not a problem.

But it just seems to me like at least some of them are another one of those "keep the company young" ageism tactics - whether on purpose or not.
Such a great idea! Will only get better as it grows. One for the bookmarks.
GIF site Gfycat announces mass deletions, threatens Archive Team with lawsuit