skysight-inc/HackerNews huggingface dataset:
I find that the big problems that k8s solve is the usual change management issues in production systems.

What do we want to deploy, okay, stop monitoring/alerts, okay, flip the load balancer, install/copy/replace the image/binary, restart it, flip LB, do the other node(s), keep flipping monitoring/alerts, okay, do we need to do something else? Run DB schema change scripts? Oh fuck we forgot to do the backup before that!

Also now we haven't started that dependent service, and so we have to rollback, fast, okay, screw the alerts, and the LB, just rollback all at once.

And sure, all this can be scripted, run from a laptop. But k8s is basically that.

...

And we get distributedness very fast, as soon as you have 2+ components that manage state you need to think about consistency. Even a simple cache is always problematic (as we all know how the cache invalidation joke).

Sure, going all in on microservices just because is a bad idea. Similarly k8s is not for everyone, and running DBs on k8s isn't either.

But, the state of the art is getting there. (eg the crunchydata postgresql operator for k8s.)
Make it only available as a subscription and narrow your focus on B2B by increasing a bit your prices to kick out the bulk of consumers.

Avoid adding complexity and dependency with cloud components to justify a subscription, especially if you are a one-man show. With B2B you do not need to justify anything, just set your rules and they will make the business case.

Have a single license type (subscription). You do not want to innovate with licensing, just have one single offering and then optimize the price of that offering to your market.
I'd wager probably none or a handfew at most. Frame-by-frame video was and still is important to incident analysis.
If you do mostly reads, it works great. I use it on http://www.wikdict.com for years without problems. I for e have very much traffic, though.
Just a tip - might be worth putting "Show HN" in the title, and explaining the idea a bit better. I'd also get a demo on the site, it's hard to judge something you can't see.

Whilst I hope this is a success for you, I'd also argue that Shopify is neither complicated or expensive.
Excuse my silly mood please.

I wonder how many (besides myself) would not even apply for these jobs working with outdated framework? I imagine most would want something relevant to their career?

Frameworks might help with the bus factor but eventually they become the bus? (hit by the back of the bus? how visualize this?)

I think you are selling yourself short, I would really love to read your code. If the alternative is familiarizing myself with the horrors of [say] Angrular (no really, say it out loud) the choice is easy.

Maybe the job ad should demand the applicant to be familiar with CrapPOS. Then I would be like, hummmm interesting company? maybe? In stead of my usual aaaahhhhh no no not [say] Angrular (really say it out loud, say it really slowly twice)
> • Company saves money by not having to hire Linux sysadmins

.. but hire others to manage k8s? Or existing software engineers have to spend time doing so?

Many of the other points don't seem unique to k8s either.

I do like the alternative you've suggested though.
See also https://www2.stetson.edu/~efriedma/maxmin/
The announcement blog post is at http://www.wirfs-brock.com/allen/posts/866 but sadly the wayback machine doesn’t have a copy of the pdf
I have trouble believing any source that accepts the claim that

> Floyd was then told to step out of the car and handcuffed, and "actively resisted being handcuffed", according to body cam footage obtained the Minnesota Bureau of Criminal Apprehension.

When we have video evidence that suggests quite the contrary from a shop nearby: https://www.youtube.com/watch?v=x9Tqs06YN_A

edit: yes, I know that maybe he resisted in invisible ways. And yes, I saw him fall over when he was getting in the cop car way up at the top of the screen at the end of the video (partly hidden by the 'watch next!' videos); but is that really sufficient 'active resistance' if you can call it that?
It doesn't apply to code to the same extent, because reading code rarely means reading every single line left to right.

Also, lines ending on column 100 are not necessarily 100 characters long. There could be indentation on that line and on the next.

Vertical alignment has meaning in code whereas it ususally doesn't have meaning in natural language text.

So if you insert line breaks into code purely to follow some arbitrary rule, you are misleading readers into looking for meaning where there is none.
That has been the way that AAA game development has worked the last 25 years.

Professional games are like movies, programmers are a tiny percentage of people on the set.

They are the ones caring for the lights, that all cables are working properly and special effects go off as they should.

The main role, what dictates what a game is all about, belongs to game designers, producers, artists, those aren't writing C++ code, rather using visual tools.

Naturally you can make a game old style, just like on the 8 and 16 bit days, just like there are people doing movies just with an handy-cam.

The outcome isn't not going to be same though.
Give me a better non-locked-in experience than a mailing list, gnus/mu4e and magit and I am happy to try it out.
New York sent Covid-infected patients into nursing homes, which massively inflated their death toll by subjecting the most vulnerable demographic to the disease. There’s a reason they account for 10-20% of the death toll.

https://www.wsj.com/articles/new-york-sent-recovering-corona...
There's going to be an independent autopsy organized by the family. To be honest, I'm skeptical of the "we investigated ourselves and found this convenient 'natural cause of death'."
When I think of thugs, I think of premeditated stick ups, protection money rackets, and intimidation.

A riot is dangerous, unpredictable, and unwise (imo), but I wouldn't characterize it as thuggish. It's clear to me the reason that word was used was to appeal to his base, who are eager to put a label on these protestors as a way of dehumanizing them.

https://theconversation.com/thugs-is-a-race-code-word-that-f...
Apple Mail randomly becomes the frontmost application in macOS
New online IDE+JS framework – demo – FE developers, I need your feedback
> the monitor resolution and its density

On most operating systems, this is supposed to be almost irrelevant since they use a "virtual" resolution and DPI that gets used to render apps at a reasonable size across displays.
What a crazy coincidence then that Floyd right died after a policeman pinned his knee to Floyd's neck for 8+ minutes huh?
Before mass adoption of protective equipment for sex people had the social technology to deal with it: monogamy.
Yeah, that's the problem - all the Sterling engine solutions end up as expensive, exotic, low production natural gas powered devices. Which means that you need a supply of natural gas, and at that point you have other generation options. There was a slightly lower-power, but much more compact and finished Australian product along the same lines a decade or so ago called the WhisperGen which was intended to replace a hot water and heating boiler. They ended up going out of business unfortunately.
There are more pathogens on your hands than on your butt, as you touch the whole world with your hands and keep your butt most of the time in your pants.
TrashEmail Bot – Telegram-based disposable mail service
Source code at : https://github.com/r0hi7/Trashemail
I don’t know what the solution is to make everyone happy.

You can't.

My own product is split into workstation and server versions. That works for me but I still get customers with special circumstances complaining about it. You just have to accept you can't satisfy everybody.
It wasn't until Killer Mike's speech in Atlanta that the gravitas of what George Floyd was saying while he was on the ground really hit me.

>When a man yells for his mother, in duress and pain, and she is dead, he is essentially yelling "please God, don't let it happen to me." [0]

I don't know if I'm just so tired and desensitized at this point that the situation didn't register the first time I saw the picture and transcript (I won't watch the video). And I think that's awful.

[0] https://www.youtube.com/watch?v=JxHWVJYXkeU
China doesn't have unlimited money. If it has to spend more on this, then other aspects will suffer.

Of course in reality it's much more complex, my point is that not everything can easily be resolved by "throwing enough money" at it...

Cheers.
Cops were shooting (less-lethal rounds and gas, not live rounds) at unarmed protesters down the road from me in San Jose tonight, not too far from Google's main campus. Plenty of their employees live here and some work here right now due to the pandemic. It feels pretty logical to see violent unrest outside your window and think 'we should probably postpone whatever press events we have planned'
Riot Medicine
Scaler Academy Success Stories: Inspiring Journey of Our Scaler Karan Kanwal
Karan Kanwal graduated as a Mechanical Engineer from a Tier 3 college, ran a business for a year post his graduation and then began his preparations for Bank PO exams. His inclination to learn coding and bettering his skills made him join Scaler Academy. Today, he holds an offer as a software engineer from one of India's best startups, ShareChat!
Bye bye Mongo, Hello Postgres (2018)
A report which being widely disputed by professional medical examiners.

George Floyd seemed to be alive and walking around before he had his airway closed off.
So you see no chance of fixing the police brutality? Why so?

edit: Wow, those replies. I see now, you guys and gals are going to have this thing for foreseeable feature because you have no interest in fixing it. It's disgusting, tech community apparently hosts some people of high income and no conscience combined with some low analytical skills soaked in a narrative of a pseudo-science.
I think this person is actually not a troll, just has some ideas that are maybe not fully thought through. I see evidence of an open mind by the poster elsewhere on the thread. Let's try to have patience with other people.
Decades ago, when I was young, we called this kind of thing "homework". It didn't need any kind of brand identity back then.

(In case anyone else is as pedantic as me about definitions: yes, there were two kinds of homework. The first was you read something at home, and then discussed it in the next class. The other was you learnt something and when practiced it at home afterwards.)
There are quite a few GUI tools for k8s.

Currently mainstream k8s is text based, because it's still too fast moving and new. Creating a great GUI would be a serious overhead and there's not enough interest/demand for it. It'll come eventually.
probably so many things are undead because we don’t need to /can’t litteraly eat slow/bad designed SW to survive as the analogy in the nature out there
I just wanted simple hyperlinking.
There has always been a case for server-side embedded databases for app servers. It can be an in-process library like SQLite or Apache Derby, but databases like SQL Anywhere and SQL Server also have local IPC protocols that achieve the same effect.

App Embedded databases are not the main use case for non-SQL transactional engines like Berkeley DB and Microsoft ESE (used for ActiveDirectory and Exchange Server).

SQLite is a better server-side engine than the critics think but it is ill suited with the default options. WAL mode and Shared Cache mode must be enabled for decent performance. The popular runtime libraries for SQLite don’t expose the required C API calls nor even the enhanced functionality of the FILE URL optional connection string.

Even when configured properly, concurrency in SQLite is limited for apps that have a hot row or page. Row level locking or snapshot isolation are sometimes a huge help but fast local reads go a long way in alleviating the need. The main obstacle, however, is that the popular web frameworks assume a wire protocol SQL engine running on a separate tier like Heroku’s 12-Factor App architecture.
So it "contributed" to his death but did not "cause" his death. Is that the distinction trying to be made here?
The only reason I'm still selling licenses is I don't want to deal with the pain of switching. If I was starting a new project from scratch it would definitely be a service. From a business perspective the benefits are overwhelming.
Java? Where I am, the language of computer science is, and has been for the last 5 years or so, Python. I rarely see Java outside enterprise applications anymore (and Android, though it's being supplanted by Kotlin there). Java is the new COBOL.
Maps of nine key moments that defined WWII
The Tunisian Revolution (the first and only successful one in the Arab Spring) started when a fruit seller self-immolated.
Scaleway, Hetzner, OVH, DigitalOcean, etc.

AWS LightSail.

... also the t1.micro is small and cheap. Could you give some concrete numbers?
Doesn't seem like a particularly bad idea to me - I'd much rather they were making money from paying corporate customers, rather than making money selling users data....

I highly suspect the vast majority of home users, who are using Zoom to host weekly quiz nights with friends, particularly care about strong encryption....
I'd say he likely used it as an appeal to people who view things like this through a racial lens. He was trying to draw a line between most black people and those who would physically attack police officers.

You bring up an interesting point with Obama's usage of the word, and I would agree that he knew what he was doing when he used it. As does Trump.
Decentralized comes with its own sets of difficulties.

Federation is far less complex, but hard enough in itself.

Right now, the most important tasks for the fediverse are (on no particular order):

* convince more people of the need. Explain the problem it solves and reach those who feel that problem.

* avoid spam, trolls and bullies. Moderation, tools, and lots of finetuning all the intricacies.

* improve accessibility. Running an instance is unavaialable for many people and orgs.

Solving the problems that the fediverse faces today, is not by throwing "blockchains" at the issue. That will only make them harder, sometimes impossible to solve. It is not solved with even more decentralisation either, for the same reason.
The thing is it may be minor in the grand scheme of things, but for some exec at Google it matters a lot. And so if it makes sense to move it, they will.
Well, his chest compressed kinda like a how a constrictor (snake) kills its prey, so he could breathe out, but not sufficiently in; and, the leg probably cut off blood flow to his brain, not stopped him from breathing in; but, yes.

( not a doctor... been reading a loooot of Reddit )
My impression is that the European Union is too politically fractured to mount any consistent policy.

Just one example: the French government has made noises about doing something to counter the United States' extraterritorial application its sanctions regime. US sanctions against Iran effectively apply to European companies, even if they have basically nothing to do with the US. The US can unilaterally force the EU to stop doing business with Iran. The French see that as a violation of their sovereignty.

The problem is, if France proposes to do anything about it, Germany will object, because Germany fears that the US will retaliate against the German automotive industry.

Imagine if the US could only take action when 50 states all agreed. There's no powerful central government in Europe that can decide to temporarily sacrifice some interests in order to achieve something more important - establishing independence of action from the US on sanctions policy.
Backend or frontend, I don't think it makes a difference for the points of this talk: build your own codebase, use what you need as you need it, consider following established patterns if you find ones that fit your problem.

Django is used as an example of the downsides of a framework, and how the complexity of frameworks explode even though any given user only needs a small percentage of the features.
Epsom Salt Bath for Pregnant Mom
The idea of bringing in dependencies without `npm add` is an interesting benefit of the URL thing; productivity wise... Hadn't thought of that...

However I still don't get why they can't support both urls and NPM
Qt is very reasonable and the standard library also isn't too bad. Boost (some of its sub-projects) is by far the worst in making simple things complicated.
But libraries are much more effective in frameworks.

Say an event that shows a message to a user next time the user sees a page has to know about users, has to be able to store messages for users and remove them once they have been shown, it needs to know about i18n, and have tools to display the current messages in HTML.

A Django library for it can assume the existence of Django for all those things, a general library has a much harder time.
I am afraid that this will actually swing the election towards Trump. One of the big reasons for the blue wave in 2018 was the suburbs going Democrat. However, a lot of the people will get scared by the riots and get pushed into voting for “Law and Order”.

Trump was on the ropes politically, but I think this might change the voting calculus.
Within this context: "drain water heat recovery unit" for a Google search. Upcoming building codes within Europe might make this common I believe.
> perhaps heat is related to information, and vice-versa

https://en.wikipedia.org/wiki/Landauer%27s_principle

> Perhaps atoms (and other particles, in fact, all other particles) are really just black holes

https://en.wikipedia.org/wiki/Geometrodynamics

> if the inner, hidden part of the black hole actually contained a miniature replica, a miniature mirror-image -- of ALL of the information inside this universe

https://en.wikipedia.org/wiki/Bekenstein_bound
> And crying for his mother.

I think this is a very common story among soldiers who've seen a comrade get killed. People cry out for comfort in their last minutes.
I would be proud to make something a hundredth as useful and prevalent as SQLite.
It is necessary to have a fundamental understanding, and often frameworks, as you said, can cast us to a single shape, making it difficult to see how else the problem could be solved.

But life is too short to always start at first-principles and rebuild civilization brick by brick.

Frameworks have three things: the code artifact: a Rails or a React, then the reified knowledge it abstracts: like how to structure a web application, and the community and their cultural knowledge.

Sometimes it makes sense to forego all of them and make it your own - especially when that layer of abstraction is core to the value you're creating and you want complete creative control over it. But often times they can be the difference between business success and failure.
Talk to Signal Research [UX]
This is what I like to do. In my case, even the CI/CD host is just a systemd service I wrote.

The service just runs a script that uses netcat to listen on a special port that I also configured GitHub to send webhooks to, and processes the hook/deploys if appropriate.

Then when it's done, systemd restarts the script (it is set to always restart) and we're locked and loaded again. It's about 15 lines of shell script in total.
It would not be a waste of time if you learned something. Here's a quick exercise: Write an "hello world" app and compile it to WebAssembly. Then open browser dev tools to inspect the app. You will see that a middle layer is needed to put that "hello world" on the screen. Just like JS, WebAssembly can't talk directly to the hardware and need to use the same browser API's as JS.

Besides obfuscating and being able to compile desktop apps to the web platform, one use-case for WebAssembly that might bring an performance improvement is to use it for something you currently use a Web Worker for. For example sending a bit buffer to the worker, have it do some work on it, and send it back. There is however a penalty to sending the data back and forth, although there are work being done that allows shared memory, which will make both JS and Web-assembly faster.

JavaScript is compiled to optimized native code. So you will get away with really stupid code - the optimizer will make it fast. But the more you learn, you will be able to write even faster apps. It really doesn't matter what programming language you use, it's more important to have experience and tribal knowledge of the platform you are targeting.

A funny thing about performance is that the more you know, the slower your app could become. If you for example use highly sophisticated abstractions, make use of frameworks and preprocessors, together with an orchestra of cloud functions and services with IPC message across oceans - then it will be slow. If you want performance - just keep it simple.
The reason for complexity fetishisation (great term!) is to show everybody else how amazingly smart you are. It's the infrastructure version of "clever" code.
When you see majority of consultants from the biggest Linux company (that also focuses on desktop Linux) using Macs for their work, you know that Linux on desktops won't happen anytime soon.
Be like the boy.

https://www.youtube.com/watch?v=l3jfDT5Rx30
How is this "political bias"?

Is everything that disagrees with Trump now "political bias"?

I'm not even from the US and I know what "when the looting starts, the shooting starts" means and what outcome it envisions.

> When twitter manufactures opinions and hides them as 'public forum discourse' -- we are supposed to be ok with that?

What are these opinions? Can you speak them out loud? Which opinions are being hidden? Can you write down the message of these opinions in plain words?

Could you write down these opinions as if they were your own, without violating HN's house rules?
Not sure why you are getting down voted here. These are all very valid points, this situation has a lot of variables that make it remarkably different than any other and can encourage the resistance (protests, &c) to continue far longer than standard.
There are 145M daily active users on Tweeter. So that’s approx 3 tweets per user. Sounds reasonable.
Working in strongly statically typed languages is quite different, because the types (and the IDE/compiler) guides you. You don't have to hit refresh that often.

Even just working in TypeScript with TSed and a few basic strongly typed concepts (Rust's Result equivalent in TS, Option or Maybe, and typed http request/response, and Promise and JSON.parse) makes a big difference.

A lot less okay, just echo/print/log this object (or look up documentation eew), look at what does this look like and how to transform it into what I need. Instead you do that in the IDE.
Well.. technically it did fly high..
To clean the exhaust of an existing stove, not really. But if you replace your stove with a more efficient one, possibly. The problem with most wood stoves is incomplete combustion, which results in smoky, sooty exhaust. Rocket stoves are a solution. Also, electric blowers are a solution.
If it makes things more deterministic, then yeah, why not?
I don't see China and India's current problems escalating. The leadership on both sides is mature enough.

I would, however, pay very close attention to Taiwan. That just might be the trigger.
This is more PR than they would get with an actual release. Does anyone care about new adroid updates anymore? I haven't followed anything since lollipop
135-year-long streak is over: US renewable sources topped coal in 2019
Yup, it’s clear if you pay attention that the US is aiming to stunt China technologically. I have been surprised at the kind of blows they have been able to land-but I don’t see this strategy working out in the medium term.

Previous admins all used the carrot much more than the stick with other countries regarding their relationships with China. The current admin is all stick. There’s a point where you overshoot and lose allies.