skysight-inc/HackerNews huggingface dataset:
It seems like Discord wasn't about to hire new developers for this, they wanted to use their existing talent. In that case, what matters is how easy a new language is to learn, not hire for.

Also, good C++ devs are decidedly not easy to come by. Especially when you get into performance sensitive work, they can command huge salaries; and a bad C++ dev can do more damage to a codebase than any other language I know of.
This is really interesting. Are there not alternative runtimes, or configurable gc periods?

My understanding of the JVM GC is limited, but it seems highly configurable: does it (or other languages/VMs) have an analogous construct, and is it (usually) configurable?
If you read the conversation I did stop having discussion with them and told them to stop having a discussion with me.

Facts don't always tell a story or explain the "why". Often times you have to form an opinion based on the facts and that is what you're bringing to the table when discussing stuff. I don't see why I need to explain this concept on a site like this.
It doesn’t look as good on a resume. There’s thousands of people with decades of experience in C or C++ that you need to compete with for clout. It’s easier to invent your own problems so you get to be the best man for the job.
Is there an easy way to see if you're infected?
Unless you need to save someone from a zip-tie emergency. You should then at least walk with a sense of urgency.
> Nope, 99% of the time "graduate degree" == "master's degree". Usually "postgraduate degree" is used to refer to doctoral degrees.

I've never seen people use the terms this way, and every source I find confirms what I have consistently seen in use, that “graduate degree” and “post-graduate degree” are synonyms that refer to academic (usually not professional, though that varies by context) degrees which typically require a preceding degree of bachelor’s or higher.
How to tell your client how bad their codebase is?
'It's ok to' doesn't make any sense unless it's a response to someone saying 'it's not ok to'.
I think Malwarebytes was the company first identifying the thread. Correction : it was Red Canary working with Malwarebytes.
The base is the part right before that.

> I removed comments from JSON because I saw people were using them to hold parsing directives

> Putting an extra processing step before use of JSON is impractical.

Care to explain?
Lena / Lenna
I'm curious if you have any thoughts on power savings/sustainability from using Rust, or from using Rust with ARM-based processors on bare metal, for example. Is it meaningfully different at your scale?
True. The most intolerable thing about this situation is that it makes BoJo look good.
If it is sustainable depends on the quality of investment returns. But that phrase abstracts a lot - the quality of things/services/business produces for that investment need to lead to new or improved productivity in economic activity.

It also may take a longer time frame for the improved productivity to manifest than it does for the economic metrics to reflect it. Meaning that one thing to watch out for is that the capital abundance may recede before the investments are able to return the productivity - and that would be tragic because there are an abundance of neglected investment areas which we as a society and an economy can realize benefits. To the extent that our capital investment allocation paths don't match societal needs is the real challenge with this bubble.
Here's a solution:

Imprison fewer people so that human review of life-critical software applications is faster and less costly.
> i'm curious if allocating a memory ballast would have helped discord in this case?

No. Twitch's ballast is because

> At steady state, our application was triggering ~8–10 garbage collection (GC) cycles a second (400–600 per minute).

Go's GC triggers a collection every time the heap size doubles (until that has no return on investment and it just grows the heap). By creating a very large heap up-front they'd give themselves breathing room to avoid being just on the edge of (but remaining below) a resize, leading to continuous collections keeping them below.

But Discord had the opposite issue: a large cache means a large heap size, in a steady state that would be extremely stable (since the heap size is a function of cache size, once the cache is full the only changes are replacing old keys for news). As a result, the only GC would be the mandatory periodic run, which would have to go through the entire (very large) heap, causing STW latency spikes every 2mn.
You have to avoid organizations that do the "computer said so" thing. They are universally pathological.
Got it,
You explained it really well !!
They were always going to work, but only if they were used in their proper context: to knock down the size of the epidemic so that less intrusive, more efficient means of infection control can happen: universal, repeated testing; universal contact tracing; and rapid isolation of contacts.

The people who complain about lockdowns are also the people who refuse to do the alternative, and then claim "nothing works".

I am really tired of the "we tried nothing and we're all out of ideas" political party. Get out of the way and let people who are capable of handling things get to work.
The web made for IE5/Netscape 4 was much better than the current mess we have now. Websites were designed for the people reading them, rather than for analytics.
> This is irrelevant and a dangerous ends-justification. No person's imprisonment should be justified by crimes they were not convicted of. We should not seek a justice system that punishes unprovable crimes.

I did not say anything remotely like that. The justice system should absolutely be strictly restricted to proven offenses, and the consequences should be limited to, at max, the letter of the prescribed sentence. What I actually did was to compare atty's quite unfounded accusations that would never survive in court to some significantly better-founded accusations that would also never survive in court. It was basically just a sanity check, and was not intended to have any implications other than to put the brakes on a destructive, polarizing line of rhetoric.

> What percentage of rapes by prison guards (or police or CEOs or politicians) gets reported to police? What percentage of those reports results in a conviction?

There are cameras everywhere. The staff has to report and investigate any and every complaint about sexual abuse, even the guy that claims that aliens abducted him from his cell and raped him. They will take you to medical and administer a rape kit if you ask, because they will surely get fired if they refuse. Staff and inmates get caught all the time, but usually for consensual sex. Consensual sex is a lot easier to get away with than rape. (The caveat here is that inmates, as wards of the state, are not legally able to give consent, so when a guard gets caught having "consensual" sex with an inmate they are still prosecuted for the state-jail felony charge "improper sexual activity with a person in custody" [0][1]).

[0] https://www.ktre.com/story/32833848/affidavit-female-tdcj-co...
[1] https://codes.findlaw.com/tx/penal-code/penal-sect-39-04.htm...
Cool, bye, thanks for your worthwhile contribution to the site? I don't get the point of your comment, just leave, I don't need to hear an announcement from you.

You came at me saying "List me some “racist things being said about white people” you have seen on the internet so we can all see...". I provided you an explanation and link and your response is that you're leaving now. If you're that upset by me saying some facts/opinions then maybe avoid comment section, I don't know what to tell you.
Exactly: that’s not because we suddenly hit herd immunity globally but because isolation masks are effective ways to stop respiratory illnesses.
So there is also no point keep using Elixir then.
Who would have thought that airplanes needed dashcams.
> That is wildly speculative.

I'm not sure what more you should be asking for in a discussion about "what could happen"

Of course it is speculation. And it is based on what we know about other viruses at large and the our current best information about covid.
If you're feeding power back into the grid are you getting paid at these rates?
No, you really don't. This isn't a mathematical proof. This isn't a formal debate. This is regular, common-sense discussion.

Pointing out that a guy who is not an expert in a field is making claims that go against the actual experts in that field is a perfectly reasonable argument, and ignoring it is intentionally blinding yourself.
Show HN: Taskify – A CRUD App Made with Spring Data REST, React and OAuth2
I definitely don't need 24/7 access to news and social media, but I still really appreciate the ability to access the internet "on the go." If my destination changes, I can look up new directions. If my friend and I are making plans to meet up again later, I can check an up-to-date weather forecast.

This was an ability I actively longed for as a child growing up in the 2000s (I'm 26 for perspective). I bought that special web browser for my Nintendo DS, but it was useless away from a wifi hotspot. (And it was slow as heck.)
Seems similar to nb.

https://github.com/xwmx/nb
It's the unfortunate truth that in the hyper capitalistic system we live in, everything that does not in the most direct way result in value added is demeaned, discounted and cut.

And we've also seen what happened to climate scientists warning against the dangers of climate change for the past fifty years; they were - from a large part of the media, politicians and the public - at best ignored and more often belittled.

So, I don't think it is the taxonomists or entomologists are are fault for not screaming loud enough "WE ARE KILLING OUR OWN LIFE SUPPORT SYSTEM" from the top of their lungs. It is us that is to blame. We capitalistic producers and consumers that have put the profit motive over any cautionary principle when it comes to health, safety and liberty. Just see how long it took the general public to accept that a substance like lead in gas is detrimental to health. It's ridiculous.

Then again; who could have thought that two centuries of ever-increasing predatory ecosystem exploitation could have any negative consequences?
Something physical: yoga, walking, light hiking, bird watching, canoeing, or some mix of the above.

If you still want to have him try programming, give him something almost immediately useful, like the Automating The Boring Stuff With Python book.
As, and “X is not an expert in Y” is a valid response to an argument resting on X’s authority, but not otherwise a counterargument.
But then you need to provide some kind of query ID in the the HTTP request? And if you many concurrent clients, that can be expensive in terms of RAM?

If we don't care about added items (they can be deduped client-side), and only care about removed items, maybe the backend can maintain a tombstone timestamp on each deleted item, instead of deleting them, and then the client can provide a "snapshot" timestamp in the query that can be compared with the tombstone timestamp.
Questions to ask when choosing a programming language
Trivia: AT&T consumer Picturephone service launched in 1970. https://ethw.org/Picturephone
Easier to hire people working in the new hot languages, and get younger programmers out of college.
Because excited developers generally means more satisfaction from work. And one way to keep developers excited is to give them new toys to play with.

Also mature languages, even though they're more stable, are just more of a pain to work with since they don't have a lot of the new shortcuts.

For something like Discord, Rust is perfect.
These are just the default colors for Datadog graphs, so I guess the answer to your question is Datadog.
This applied only to broadsheets (New York Times), and not to newspapers that used tabloid layout (Chicago Sun-Times).

The reason "above the fold" was valuable real estate was because whatever was there would be visible in newspaper vending machines, newspaper racks, and the stacks at kiosks.

Newspapers that printed on tabloid-sized paper didn't have that problem, since they were not folded horizontally.

Tabloid newspapers were generally read by the working class and were sized so that they could be read on trains, buses, and communal lunch tables. Broadsheets were read by the bosses who had private offices, individual desks, and space to spread out.

/ Previously worked for two newspaper companies.
It is already costing as it should have that level of quality - a 24 million dollar system should be hard to justify that cost.

The other option is to accept we have mediocre software that creates a number of problems that we are willing to accept; NO, not when people's lives are at stake.
You would do well to state up front why you think that. If it's because two AZ representatives wrote an opinion piece, I would suggest researching the difference between news and the editorial section of a newspaper. I know that's probably a bit condescending, but I have to make a lot of assumptions about how one would reach the conclusion that you did.
I’d not be too quick to dismiss the estimate. If you were asked to change a couple nested if statements in a prison’s guest management system, probably written in Natural, RPG, and Cold Fusion or some other obscure combo of tools, you’d be silly not to take a step back and be careful with your bidding.

I mean things probably seem to the outside like “it’s just two lines of code”, but if you’re messing with the business logic of releasing prisoners I’m sure you’d want to document how things currently work pretty thoroughly (inferred requirements), test/validate, have customer sign off on the existing functionality, make your change, re-run all the testing, requirements verification, etc. There’s probably a business analyst involved, a programmer, maybe even dedicated test manager, devops (do they have an existing dev/test system?). People in the prison bureau probably take their jobs seriously on paper, don’t want this change to cause more breakage than it fixes, and expressed that in the RFP.
I mean I can't blame them, it supposedly causes side-effects in 40% of cases, isn't very effective against some mutations, and the population they want to vaccinate doesn't have a huge risk of severe covid to begin with.

Aside from this the politicians really bungled the marketing. First it was claimed it doesn't work in the elderly (which wasn't true, just illiteracy), then they said the younger people will only get this vaccine, not the other ones. It's bound to make people suspicious.

Maybe they should learn from Frederick the Great of Prussia: "Trying a less direct approach to encourage his subjects to begin planting potatoes, Frederick used a bit of reverse psychology: he planted a royal field of potato plants and stationed a heavy guard to protect this field from thieves. Nearby peasants naturally assumed that anything worth guarding was worth stealing, and so snuck into the field and snatched the plants for their home gardens. Of course, this was entirely in line with Frederick's wishes." [1]

[1] https://www.history-magazine.com/potato.html
The main thing that bothers me about rust is that there is one complete implementation of the language (and one or two very incomplete implementations) and the singular complete one isn't even self hosting.

Coming from scheme where everyone and their dog has an R5RS compatible REPL that's pretty disturbing.
i believe this also often happens when original designers of the systems are out and not involved anymore, the new team wants to rewrite everything from scratch but that's hard to sell. So they find few technical reasons and pick some latest fun tech to play with.
I don't generally wear headphones when walking anyway but I can't stand the idea of being that disconnected in an urban area. (And I know about transparency mode in AirPod Pros but still doesn't feel comfortable.)
The problem with that sort of thinking is if you let the virus circulate and multiply you are risking mutations that are resistant to the vaccines. There already are two mutations that are already somewhat resistant to the vaccines according to initial anecdotal evidence.

But practically speaking most nations are taking this approach and have been reducing social distancing measures when hospitalization rates go down. (Often with negative results.)
The problem is coroutines need compiler support before you can play with them. Boost coroutines were rejected because doing coroutines only as a library just isn't pretty (it works, but nobody liked it), so looking at other languages the current direction was decided. Only now that you can do something can libraries spend the decades to figure out how it all fits into C++.
Elixir was not us chasing a trend - but rather betting on a language and runtime system we knew would be amazing if it worked.

Discord would not exist in the form it does today if it was not for BEAM/OTP. The majority of the chat system was built and maintained by a handful of people. Fundamentally our architecture has not dramatically changed since it's inception in 2015. Can you say the same for other real time distributed systems as they have scaled from thousands to hundreds and of millions of users?

Rust was a similar bet - the language looked promising and we were right. It's been amazing to use - and it's only gotten better since we started. rust-analyzer is amazing!
Surprisingly enough, one of the most important ethics works of the century (“Intention”, by Anscombe) tries to address that problem and one of her insights is that yes, there are actions without a clear answer to “what for?” but they are nevertheless human actions.

There is no wrong in doing things “just because I want to”.
Because it shows that herd immunity is not a given. Influenza is not only not there but will never be due to the nature of the virus being unusually prone to mutating.
If you short bitcoin-based ETFs on NYSE and Bitcoin subsequently tanks the value of the ETF goes to zero and you walk away with your proceeds from the original sale and with no obligation to give the original ETF back. There is no counter-party risk in a short sale for the seller.
Rust does not build fast. It’s more comparable to C++ if not worse.
Kia Motors America suffers ransomware attack, $20M ransom
Art Mystery Solved: Who Wrote on Edvard Munch’s ‘The Scream’?
Locations where Apple has monopoly or duopoly status (as defined by citizens, etc.) should prepare for a battle over who decides what belongs in the ‘public commons.’

This is especially true now that covid has removed physical commons and we now entirely rely on digital commons.

It would be a strange thing for society to ask a corporation to govern what should or should not be free speech in the only public common available.

The public, in providing a society wherein Apple accumulates such power (and profits) deserves some semblance of a voice I presume?
It would be surprising, considering the opinion's authors are both Republican members of the Arizona House of Representatives.
You the taxpayers are the people who would prefer these people stay in prison than release them. You took on the responsibility when you put in place a system to imprison them. You could always campaign for prison abolition if you don’t want the responsibility...
Which made sense when everyone was browsing at 800x600. But these days who knows what the size of an initial page view is. Not just devices, but windows within those devices.
Isn't it like that is most languages? I'm thinking about Python, C#, JS. If you call a blocking function from an async function, you cannot yield from deep inside the blocking function.

Why is this a big deal in C++? Am I missing anything that makes c++ coroutines less powerful than other mainstream solutions? Or are people comparing its power with e.g. Lisp or go?
> There is nothing without goals.

What a dreadful way to live.
I agree with most of your concerns, but i guess i'm up to a point where there isn't very much choice for quality ecosystems, and mac provides what i need, so here i am..

On my desktop i dualboot Linux/Windows, windows for games only, and linux for when i want 0 distractions at all and focus on programming

I wish i could nuke my windows partition and have linux/mac side by side, but gaming on linux is still a pain today..
Obligatory "Canada Geese", not "Canadian Geese" comment.

I'm curious: do we know how many geese it takes to take out an engine?
My first thought was that this reminded me of an epileptic seizure brought on by "fuzzing" (sensory overload)
All of these people should sue for false imprisonment.

How much would that cost you? And how much is a day of a free man's life worth to you?

This is a travesty and that sum of money is neither sufficient, nor unique to the GP's solution.
I don't think law would prevent a fully collateralized loan on the basis of borrower/lender risks.

It doesn't.

AML seems a non issue too, as the loan only moves the question.

No, anti-money-laundering laws are at the heart of why the financial system can't do this. KYC laws apply at the customer level, so you only need to handle KYC once per customer. AML laws apply at the transaction level, so you need to apply them to each loan.

Cryptocurrency solves absolutely none of the existing legal reasons that banks can't issue large loans in minutes or seconds to existing (or new, well collateralized) clients.
Is there something like Chromium but for ChromeOS? I wouldn't worry about Google pings with Chromium (I mean, if they are, they are in the source code and can be ripped out) so it should work similarly for community ChromeOS builds.
Flaws in Zoom’s Keybase App Kept Chat Images from Being Deleted
In Discord’s defense, their product’s scope and userbase has increased orders of magnitude over just a few years. Setting language choice aside, one would expect several rewrites of core code and infra over this time.
The prior existence of the Walkman on its own doesn’t automatically justify the headphone trends popularized by apples products.
Check for the existence of these files:

~/Library/._insu (empty file used to signal the malware to delete itself)

/tmp/agent.sh (shell script executed for installation callback)

/tmp/version.json (file downloaded from from S3 to determine execution flow)

/tmp/version.plist (version.json converted into a property list)

https://redcanary.com/blog/clipping-silver-sparrows-wings/
Then why is the delay in second doses being encouraged?
> The very idea that a hyperintelligent being is _possible_ very much lingers in the land of science fiction. Yes, even today.

Yesterday, the idea that a computer could beat the chess grandmaster, or compose poems, was also in the land of science fiction.

Most technical inventions are in the land of science fiction, until one day they are not.
In the wild phase of the pandemic, yes.

But once enough people are vaccinated, the pattern may change. For example, you may still catch quite a lot of cases through PCR testing which is very sensitive, but the share of asymptomatic cases will be much higher and the share of people who are going to suffer a severe case much smaller.

The entire societal signature of the disease will change depending on vaccination levels and maybe even particular vaccines used.
I really am glad Discord did not go with this route. It's a chatting application, which means you're dealing with a TON of user generated content. Unmanaged memory and user generated content is an absolutely terrible idea.
> The main issue seems to be that it is British.

I don't think that plays much if any role in German public perception. There is no negative association with the British there.
I think the question is why not rewrite just the LRU cache in C/C++/Rust (whatever floats your boat), as opposed to rewriting everything in Rust.
(Texas) – Griddy: Why energy prices were sky high this week