skysight-inc/HackerNews huggingface dataset:
I've avoided home manager for now. I'll get into it soon.

Instead, every project I work on has a shell.nix in the root (and if it's not a project I control, I have a shell.nix mapping elsewhere).

Check it out, run nix-shell. Profit.

Once you're really ready for the big leagues, run it with --pure.
What’s 2 examples of dark patterns on Amazon’s site?
It's a good example of informal but easily understandable technical writing. Most of the progress update phrases are written lightheartedly and don't contain subjects (i.e. the subject is implicitly "I"). This type of writing is appealing because it's conversational: it's pretty much exactly how a native English speaker might tell the story to a friend.

I don't have any advice for nonnative speakers on this particular subject other than to analyze how native speakers write and speak informally (like in movie scripts or text messages). Saying what you're writing out loud before writing it can help as well.
One thing that's fascinating about this is how Twitter has become so centered around political discussion (& histrionics). It's become the backbone of the sort of inside-baseball of politics. The lightning rod at the center of both politics and Twitter is Trump. Trump is such a powerful force because he can bend the ridiculousness of the twitter conversation to his will. He's perhaps an outcome of all the incentives of the social network.

So limiting Trump is to me a kind of commentary on Twitter itself. Maybe something like a Trump is the end-game of a Twitter-like network?
To add another side, I use Swarm in production and continue to do so because of how good it is.

I've had clusters running for years without issue. I've even used it for packaging B2B software, where customers use it both in cloud and on-prem - no issues whatsoever.

I've looked at k8s a few times, but it's vastly more complex than Swarm (which is basically Docker Compose with cluster support), and would add nothing for my use case.

I'm sure a lot of people need the functionality that k8s brings, but I'm also sure that many would be better suited to Swarm.
Spoiler alert - most corporations are centrally planned.

In fact, the system design behind Cybersyn is closer to decentralized systems like Toyota Production System rather than centralized approaches exemplified in typical American corporations.

The whole point of cybersyn was that control loops were supposed t be established at multiple levels from bottom up, with higher levels interacting only when required for example to handle cooperation between multiple entities.
CDC also said it shouldn't be used for covid unless it was in a hospital, as part of a clinical trial. They said this because it is dangerous.

Currently CDC refers to NIH for advice about using Hydroxychloroquine:

https://www.cdc.gov/coronavirus/2019-ncov/hcp/therapeutic-op...

https://www.covid19treatmentguidelines.nih.gov/whats-new/

> Chloroquine/Hydroxychloroquine:

> The Panel recommends against using high-dose chloroquine (600 mg twice daily for 10 days) for the treatment of COVID-19 (AI), because the high dose carries a higher risk of toxicities than the lower dose.

> The FDA warning that cautioned against the use of chloroquine or hydroxychloroquine for COVID-19 outside the setting of a hospital or clinical trial was added to this section.

Do they say this because it's a safe drug? No, they say it because it kills more people than it helps when used to treat covid-19.
It's as if a group of apes chose between the two biggest idiots from their group to lead them every four years
She's not as small as she used to be (Currently sitting at 61.1MB and has been over 30MB since 3.0) but to put that in perspective, that's smaller than the binaries for Half-Life 2 and even Half-Life 1.
The release binary is even smaller at 33.5MB!
Despite that, the breakup does hold up the correct calculation:

14 * 14
(7 * 2) * (7 * 2)
7 * 7 * 2 * 2
49 * 2 * 2
98 * 2
196

And on my side, 49 * 2 quickly resolves to "a hundred minus 2" (because 49 * 2 = (50 - 1) * 2), and pretty much the same for 196 (200 - 4).
They are only able to do this because the original sellers don't, usually because they are afraid of angering people at the best, or violating the law at the worst. If the original sellers raise prices in response to spikes in demand, there is less room for bad agents to take advantage of the situation.
So all platforms that have moderators (reddit, 4chan, FB, etc) are considered publishers now? What would actually be defined as a platform in your model?
The current CDC "best estimate" is ~0.4%, assuming an R0 of 2.5, with estimates of ~0.2% if the R0 is actual ~2 in the US and ~1% if the R0 is actually 3.
Why do you think it’s ok for rioters to destroy the property of businesses not involved with the death of George Floyd?
There is significant overlap between those who are censored on major platforms and those who either advocate violence against people, distribute hate speech, or are otherwise abusive on those platforms.

How would "creatorbytes" respond to a content creator who is interested in having a platform to advocate for eugenics or genocide? What about a phrenologist or otherwise "scientific racist?" How about anti-LGBTQ creators?

I'm not saying there has to be an answer for every "what if" question out there, but the problem of censorship is a hard one, and these questions are the ones society is currently struggling with. I don't know what kind of perception you want to foster, but if your site is the known haven of these sorts of viewpoints, you might run into the same issues that 8chan did: https://blog.cloudflare.com/terminating-service-for-8chan/
Hang it on the wall in your safe room.

You might need to spend more time in there these days.
Odd question. The thing that I find odd about it is the jurisdiction of US border patrol here. Why would the government call them as opposed to, say, national guard? I am curious.
This has been heavily debated here. I would encourage you to check out the search with time filters for recency
Bitcoin Maxima
I think the point is that there are people that claim that k8s adds a ton of complexity to your environment. But if you compare k8s alone with managing your infrastructure using (non-k8s) AWS or GCP primitives, you'll find that the complexity is similar.
The Web Vitals Chrome Extension
I have absolutely no problem with being considered 'disrespectful' of anyone who told Americans not to wear masks during a respiratory pandemic. (Go ahead downvoters, do your thing.)

One cannot claim that both A) masks are "not effective at stopping COVID" and B) "people in hospitals needed them more than the average citizen". It's a laughably obvious contradiction.

This is a lie (sorry, yeah, it is) pushed by people who wanted to bully individuals out of their own PPE in a misguided attempt to make up for the failure to plan by the larger organizations (government, healthcare orgs) that were responsible for doing so.

The reality is that masks are effective in stopping the transmission of coronaviruses and every country in Asia knew this from experience with SARS-1.

EDIT: If this isn't urging a boycott, what is?
https://twitter.com/Surgeon_General/status/12337257852839321...
New producers take time to enter the market. Short term price gouging only serves to line the pockets of existing players and prices usually return to normal well before any new production comes on board. Also while we're waiting for the new production even when it does last a long time people are unable to get essential goods..
There are as many sources as there are experts on the topic... If you had bothered to even google "autocracy expert trump" you would have dozens of sources already.

1. Sarah Kendzior. PhD on the topic of autocracy (specifically Uzbekistan). Investigative journalist on the topic of corruption in the Trump administration. https://en.wikipedia.org/wiki/Sarah_Kendzior

2. Tim Snyder. Professor of History at Yale university. https://www.timothysnyder.org/

3. Laurence Tribe. Professor of Constitutional law at Harvard. https://www.rawstory.com/2017/02/laurence-tribe-mitch-mcconn...

Now, your turn. Can you cite credible experts who disagree with this consensus?
Devops/arch here, I think Kubernetes solves deployment in a standardized way and we get fresh clean state with every app deploy.
Plus it restarts applications/pods that crashes.

That said I think Kubernetes may be at its Productivity journey on the tech Hype cycle. Networking in Kubernetes is complicated. This complication and abstraction has a point if you are a company at Google scale. Most shops are not Google scale and do not need that level of scalability. The network abstraction has its price in complexity when doing diagnostics.

You could solve networking differently than in Kubernetes with IPv6. There is not a need for complicated IPv4 nat schemes. You could use native ipv6 addresses that are reachable directly from the internet. Since you have so many ipv6 addresses you do not need Routers/Nats.

Anyhow in a few years time some might be using something simpler like an open source like Heroku. If you could bin pack the services / intercommunication on the same nodes there would be speed gains from not having todo network hops going straight to local memory. Or something like a standardized server less open source function runner.

https://en.wikipedia.org/wiki/KISS_principle
https://en.wikipedia.org/wiki/Hype_cycle
> I still don't understand why price gouging is not accepted.

Because the idea of actually needing something for real and not having enough money to pay for it is outside your experience?
I agree with the grandparent that hooks are a weird hack and it drives me nuts every time I have to create one and can't use a closure to precompute some stuff and have better control of the lifecycle on functions/data outside the actual render function. So in the end of all this I've found I much prefer the class syntax cause it just makes more sense and does a much better job (for me) at declaring code patterns and shape than trying to follow code paths in/out of different effects (which oddly enough reminds me of the horror days of following code paths through multiple levels of inheritance).

However, there is a major value hooks provide over class components and that's the composability of the lifecycle effects. The problem with class components is that code for a lifecycle is broken across multiple functions and interweaved with other effects. This happens because the declarative model of the component tree clashes with the imperative ordering we code up for lifecycle functions attached 'within' each class component. The fix is to turn lifecycle effects into first level declarative concepts themselves (like in hooks) so they're not 'within' the component, instead they're more of a has-a relationship.

This would actually be rather simple to do, drop the lifecycle methods in a component, and add a new Component.addEffect function (or, cause I'm a big fan of decorators, you could have some decorator to declare what effects should be used). And each effect would be another class that inherits from Effect. I think the hardest part to think about is how you interweave the effects like people do in hooks as one output becomes the input for another, but I think this is probably the wrong way to think about it. Instead if you think of it as an Effect tree then each Effect is just a 'render' function where you're passing in other effects as the props and the output is passed down the tree, so you'd just need an inline effect function that would compose 2 effects together the same way we do with components. At this point the conceptual model is extremely easy cause it's declarative trees all the way down!

RootComponent
|- ComponentA
|- effects
||- lambda effect -- myClickEffect
|| |- myStateEffect
||- lambda effect -- myKeyEffect
|| |- myStateEffect
||- myCleanupEffect
|- children
|- ComponentB
|- effects
|- children
|- ComponentC
|- effects
|- children
...

Anyone wanna pass this idea onto the react team that'd be awesome cause I'd love to see this added for Class components to make them more composable as well as having better sharing of ideas between hooks and class components :)
Alas, still rely on bash for that. Practically a one liner.

Mainly just kustomize piped into kube apply.

But, but, but. Having to a create a one-off database migration script imperatively.
Obligatory- the best introduction to Kubernetes, from conceptual perspective, is Google's incredible Borg paper:

https://static.googleusercontent.com/media/research.google.c...
I introduced Airflow to replace a precarious collection of cronned scripts in our ETL workflows and have never looked back.

The ability to rerun a failed DAG from a given task was ideal for the situation we found ourselves in at the time with a dependency on a Hadoop cluster that was starting to fail.
The price mechanism is even more important in these cases though. Preventing it from adequately responding to changes in supply and demand only causes more shortages.
yeah, the main page doesn't even use css, it's only html tags. you might ask the author to add viewport scaling on the <head>, even if it will kinda break the zen of the html:

<meta name="viewport" content="width=device-width, initial-scale=1.0">
The advantage of being colocated in an office is collaboration--being able to work together in close proximity--and community--adhoc gatherings in communal areas. Take out these things to make the workplace safer and I can't see many advantages of being in the office at all.

I know that there's a lot of people who can't work effectively at home for many reasons, especially city dwellers with tiny apartments, but I wonder if there's a market for small private offices for them. A open office where you sit in a cubicle surrounded by perspex walls seems the worst of all worlds.
So it should stop editorializing and moderating.
Except it very often misdetects a successful load of a page as an error and redirects you away.
Do you realize it's third party sellers, not Amazon, that are doing the price gauging? And Amazon is trying to stop them?

It doesn't appear you are responding to anything at all related to the article.
I don't think this is accurate which plays into the parents point, I guess.

Looking at the docs, ingress-nginx configures an upstream using endpoints, which are essentially Pod IPs, with skips kubernetes service based round-robin networking altogether.

Assuming you use an ingress that does configure services instead, and assuming you're using a service proxy that uses ipvs (i.e. kube-proxy in default settings) then your explanation would have been correct.

For the most part, kubernetes networking is as hard as networking with loads of automation. Often, depth in both those skills are pretty exclusive, but if you're using the popular and/or supported CNI not doing things like changing in-flight, your average dev just needs to learn basic k8s debugging such as kubectl get endpoints to check whether his service selectors are setup correctly, and curl them to check whether the pods are actually listening on those ports.
Mythic Quest showed us a solution :)
> Also nuts that CBP is the one doing it.

Maybe they extended the 100 mile constitution-exempt border zone: https://www.aclu.org/other/constitution-100-mile-border-zone
Malware found buried in NetBeans releases since August 2018
All of the "cybercrime" stock photos now just look like regular white-hats working in a post-COVID environment :)
I like Svelte a lot, but there’s definitely cognitive load when dealing with reactivity. In React, it’s top-down dataflow, which is generally easy to reason about.

I prefer the functional programming approach of React, but I love the performance and some of the developer ergonomics of Svelte.
Anything related to trump
> Price gouging is accepted normally. It's just temporarily prohibited for the duration of an emergency for the products related to that emergency.

The article talks about fancy dumbbells, inflatable spa, and bread maker. None of them essential items in my book. You can exercise without fancy dumbbells, you can live without a spa, and you can make bread in a regular oven.

If it was about masks, hand sanitizers and other essential items, I would understand. But comfort items? Just pay or find comfort elsewhere. Despite the pandemic, there is no shortage of interesting and healthy things to do.
I generally agree with the above, but you're framing this as a disagreement which makes me think you misunderstood the context of the thread.

My position is that there is some accountability but it's not sufficient for any reasonable standard of justice.
> There is no reasonable reason for a domestic civilian agency to own or use these drones over US soil vs models which are incapable of carrying armament.

This is a model which is incapable of carrying armament.
Well put, censorship and really any policy decision (shelter in place) / societal common practice, is a double edged sword and it is rare to find people proposing solutions who have spent the necessary time considering both sides.
Hang it on your wall and claim it is a counterfeit.
> a rich person is more deserving of something vital than a poor person.

Consider if there's a fixed supply X and Y people. (Y - X) people aren't going to get it. With rationing, the government is going to decide who is more deserving. Naturally, those government officials are going to decide that themselves are the most deserving.

This happens under every socialist system.

When the US government built nuclear shelters, who were they built for? Not you and me. They were built for government officials, and built with every luxury.

The next tier of the "deserving" will be the supporters of those government officials. Next will be the politically popular groups of people who will be more deserving.

Is that fair?

But without rationing, the supply of X will increase to the point where everyone can afford it.
People used to block café counters and demand to give money for service.

Your racism is the soft bigotry of low expectations.
I think it's impossible to predict whether he makes such a call, it's the realm of psychology. What's the trigger? Let's say he loses the election. Does his decompensation happen so fast and so hard that he turns into Jell-O? Or does he rage tweet (or go on Facebook or TV or all of the above) that the election is rigged, illegal, invalid, and must be challenged with violence, before it's too late?

shrug

At that moment it is less about law than it is about character of other leaders. Does the Vice President, who is still the VP following his own election loss, contradict the POTUS' election fraud claims and call for violence? Necessarily on the table is 25th amendment and/or impeachment. A call for violent revolution to achieve the dissolution of constitutional order is unquestionably a violation of oath of office for any elected official.

People are conditioned to think that an impeachment would take a week or more. If Congresscritters actually get scared? They can follow strict rules of order and still get it done very quickly. Hours. The real impediments to speed are physical presence in the chamber. Not opposition. They will not wait for TV cameras, spectator chairs or tickets to get printed. If they really believe the POTUS is trying to incite an overthrow of the government, which is what autocracy means, they know full well they are inside the blast radius of imploding power.
You gotta wonder. What is he hiding?

This likely means that the United States will not cooperate with the W.H.O. to investigate the true origins of the virus, wherever it originated in the world.
At USC something like over 2/3 of kids are on some form of aid.
Anything related to blockchain

Maybe build a bot that only pulls certain words, handles, users, ...?

More of a "pass" query than a mute list
hopefully you never need to understand
That's fun. Twitter did shut up foreign presidents a couple of times before, but I guess this is the first time with the president of USA. That's ballsy as fuck. Impertinently, even. Totally not ok to do, but fun to watch.
Or they cover their tracks very well!
> Politics is a team based sport.

I wonder if there is a relationship between the level of competitiveness that a people have for sports with the level of competitiveness that they have in politics and other aspects said people’s lives.

Competitive behavior seems to desire to highlight differences amongst the in-group versus the outgroups. Competitive behavior also excels at drumming up visceral desire to act regardless of whether the desire is rational or whether the act truly and completely satisfies the desire.

Why is it difficult to immediately associate with the largest in-group i.e. all of humanity / all of life itself / the objective truth?

Why not fight a group that has no members i.e. poverty (that which makes and keeps people poor as opposed to the poor), hunger, homelessness, poor health and disease, intolerable / harmful discomfort (difficulty breathing, too much heat, too much cold, too dry, too wet, etc.), pollution, and death (untimely or all death period)?
>C.D.C. Recommends Sweeping Changes to American Offices

https://www.nytimes.com/2020/05/28/health/cdc-coronavirus-of...
How I curate links for my blog
> Contact with sharks vs contact with mosquitoes, or with dogs, or anything else on that list?

Swimming with reef sharks vs taking a hike in a malaria infested jungle? Swimming with reef sharks please.
I don’t disagree with the principles you’re standing up for here; but we’re not having an ethical argument, we’re talking about what went into the author’s analysis. And AFAICT, in said analysis, they just took for “human deaths caused by humans”, the set of deaths where one human thought “I want that other human to die”, and then caused that to happen. Situations with legal mens rea for killing.
Where did Twitter represent itself as a company with progressive values?
1024 (2^10) is ~10^3 (I know switching bases!) vs say 10 (10^1), so two orders of magnitude larger in general. A gig 10^9 would be many orders of magnitude. An order of magnitude is generally a jump to the next power of 10. So 10 (10^1) is an order of magnitude larger than 1 (10^0) as 100 (10^2) is to 10 (10^1), and so on. People frequently misuse the term when speaking in technical terms. When the average person uses it to denote a big jump, I let it go - usually ;)
If you stick with base 2 I guess you could say many orders of magnitude (2^32 = 4,294,967,296 vs 2^8 = 256, or 24 orders of magnitude?).
Why would you ever worry about overflow of the leading chunk (aka limb)?
How to Correct Eating
Use a trusted timer server the way you use a trusted update server and a trusted resolver.
Dr. Stone is also a fun way to learn some interesting science when everything has became primitive.

https://en.wikipedia.org/wiki/Dr._Stone
> setting it up kind of feels like I'm trying to earn a PhD thesis.

The kind of people who has to both set the cluster up and keep it up and also has to develop the application and deploy it and keep it up etc is not the target audience.

K8s shines when the roles of managing the cluster and running workloads on it are separated. It defines a good contract between infrastructure and workload. It lets different people focus on different aspects.

Yes it still has rough edges, things that are either not there yet, or vestigial complexity of wrong turns that happened through it's history. But if you look at it through the lense of this corporate scenario it starts making more sense than when you just think of what a full-stack dev in a two person startup would rather use and fully own/understand.
That's exactly the point. You avoid lock-in to AWS or GCP by running on K8S instead. K8S becomes the "operating system": a standardized abstraction over different hardware.
Did you read the end of the story of "The Boy Who Cried Wolf"?