skysight-inc/HackerNews huggingface dataset:
I actually stick to regular formatting on HN because of how terribly code formatting on HN renders on a phone. It doesn't wrap around when you format it as code and I have to scroll horizontally since the width is fixed. But it's probably OK for something like this code snippet.
Over the history of the Earth, most of the CO2 in Earth's original atmosphere and the CO2 released from volcanoes, have been sequestered by rocks, not hydrocarbons and coal. Plate tectonics keeps creating fresh rock that can keep absorbing CO2 over geologic timescales. Plus life has been depositing carbonate rocks for the past 500 million years. Venus' high CO2 problem is due to having no tectonics and no life. We are not likely to end up like Venus, void of life, but we could make the atmosphere unbreathable for currently evolved humans. I would suck if one had to have a breathing device to go outside.
Any tips on dealing with internet addiction?
> They just took what Wirecard gave them to confirm what Wirecard told them for something as important as accounts that were supposed to hold almost all the cash the company had

The same thing killed Barings Bank in the 90s, only on that occasion it was an internal audit
Is that remark about that specific implementation or the spec as a whole?
In the past, I've argued in favour of "public shaming", eg of anti-vaxxers. This makes me less sure about it.

However, what these stories seem to have in common is lack of due process: A lie can travel halfway around the world before the truth can get its boots on [1].

Maybe people should get off Twitter and put some work (or money) into actual organisations that engage in concerted political effort to change things.

[1] Not Mark Twain... https://quoteinvestigator.com/2014/07/13/truth/
Lynchings were never commonplace. There were 3446 recorded lynchings of blacks in 1882-1968 [1]. That is 40 per year. We don't know how many were not recorded, but lets say only 1 in 5 was, for a total of 200 per year. That's thirteen times less than the 2018 black-on-black homicide rate, and less than half of the black-on-white homicide rate [2].

[1] https://www.naacp.org/history-of-lynchings/

[2] https://ucr.fbi.gov/crime-in-the-u.s/2018/crime-in-the-u.s.-...
Wow. Okay, first, that was one of the better uses of parallax scrolling in a news article. I didn't hate it. It was well used.

Second, as someone who used to live in that area, I'm very very sad. Watching the videos and comparing them to the last video (after they banned tear gas) is like night and day. In particular the police seem a lot further back from their barricades. In the violent example, the police were so close that they snatched that pink umbrella, which started the violence. And no doubt, the police instigated this. It's natural instinct if someone is trying to steal something from you to try and pull it back. If the police didn't want to block their line of sight, they shouldn't have been so close to their own barricade. They could have stepped back a few feet to create more of a 'no-mans land' between the barricade and the police line, and still easily be able to control that space so no protesters would enter (kind of like the last picture, where the police are way back there, but the protests still don't try to get in their face). SPD has had a bad rap for decades (all the way back to WTO protests) and they honestly deserve it. This is just bad policing.
An unreported release of radionuclides from a Western European reactor would be much more surprising.
Savings accounts aren't meant to beat inflation.
JWT (specifically JWS) is essentially a simplified modern alternative to X.509 certificates and I think it should be perceived in that way.

Do we use certificates for authentication? Yes, and it works well.

Do we use certificates for authorization? Not likely. Instead, usually we ensure ID of entity which we communicate with (as result of authentication) and lookup it's permissions in database.

Do we recognize any certificate body as immediate permission requisite? No! Instead, we have signed claim with public key which entity should present in order to prove it's identity (and prove possession of private key later). I. e. we issue end-entity certificate which describes and verifies public key of that entity.

Do we NEED to revoke these end-entity certificates or have them expiring really fast for normal operations like logout? No. There may be something similar to CRL and OCSP for handling emergencies, but this is optional. Instead, we are not trying to handle authorization tasks with authentication mechanism. It's different things. We may just change status for authenticated entity in authorization database. Like: "user:admin;device:XXXXX;status:terminated".

What semantical meaning has revocation/expiration of token issued to alice@example.org? She is no longer alice? I doubt that. She is no longer allowed here? Or her specific device is no longer allowed here? Or her service subscription is just expired? Either way it's not a question for part which recognizes known entities and must work in a "yes" or "no" fashion.

It's not wrong to use JWT for authentication. It's wrong to use ANY authentication for ANY authorization.
We've banned this account for doing race war on HN. Please don't create accounts to break the site rules with.

https://news.ycombinator.com/newsguidelines.html
Might require ‘best effort’ to keep data private.
Unfortunately, the type of people who think it's a good idea to go around trying to invent racist symbols to try and prove that the media is fake news also happen to be the people who are coincidentally holidaying in Charlottesville in August if you know what I mean.
<sarcasm>
If you’re criticizing the Zune because it is brown, you’re a racist piece of crap. You should be Doxxed and reported to your employer
</sarcasm>

Yes this was a real argument made at the time.
Let’s assume that when code is first written, the cleanliness and performance is somewhat random within a broad range.

If we want the code to be clean or performant, we will likely have to spend time iterating on and pruning the code. Let’s assume that improving performance and improving cleanliness are at best orthogonal, at worst opposing.

The project has a limited amount of time, particularly for games, which often have a relatively low roof for how much maintenance the code will need.

The project has a budget on time to spend between cleanliness and maintenance. Games need high performance and relatively little maintenance, so they are more likely to spend their budget on much more performance than cleanliness.

(Game engines meant for heavy reuse such as Frostbite and Unreal Engine would likely have a much more even split, and similar for games which are likely to receive recurring and invasive updates. I would expect Fortnite’s code to be fairly clean as games go, for example.)
https://en.wikipedia.org/wiki/Atmospheric_escape#Mars

>The MAVEN mission has also explored the current rate of atmospheric escape of Mars. Jeans escape plays an important role in the continued escape of hydrogen on Mars, contributing to a loss rate that varies between 160 - 1800 g/s. Oxygen loss is dominated by suprathermal methods: photochemical (~ 1300 g/s), charge exchange (~ 130 g/s), and sputtering (~ 80 g/s) escape combine for a total loss rate of ~ 1500 g/s. Other heavy atoms, such as carbon and nitrogen, are primarily lost due to photochemical reactions and interactions with the solar wind.

So, unfortunately, the solar wind sputtering is not the main driver of atmospheric loss on Mars. It's shortwave light from the sun.
There's a difference though: on macOS the system will say "there's an update, do you want to install it now?". If you select "yes" the system will upgdate and eventually reboot, otherwise you can go on with whatever you're doing without worrying. On windows instead you get a notification that says "I just installed an update and you need to reboot, if you don't do it right now the machine will reboot outside of the active hours". I just don't understang why Microsoft doesn't put a simple toggle for automatic updates in W10. MacOS has it, all the linux distro have it, even iOS has it, why is it so difficult for them?
It's true that he got a lot of attention after he appeared on FOX, but there's more to the story. You can read about it (and many other examples of cancel culture) in the controversial book "The Coddling of the American Mind": https://www.thecoddling.com/
The shrink is usually done at the fab. I.e. layout designers pretend to draw in a higher nm node, then the fab scales the layout. Like 28->22 nm, or 16->12 nm and so on.

Transistor models stay roughly the same, often they include SPICE command .option geoshrink=x where x is a desired shrink factor.

There may be additional DRC rules for the layout in the lower node that necessitate corrections.
I’m a paid Fastmail user for these reasons:

* With my own domain, my e-mail address is my own property, which is good because I intend to keep it for another 70 years.

* With proper support for the good old boring standards (IMAP, WebDAV etc.) I can use my mail from almost wherever. I’m not at the mercy of Apple approving an app or not. I’m not depending on others for keeping my mail safe; I can back it up myself.

* As I’m paying for it, there’s way less incentive for Fastmail to invade my privacy than for example Google.

* As I’m paying for it, there’s way more incentive for Fastmail to improve my experience than for example Google.
Relevant pg's essays, both quite insightful:

Keep your identity small — http://www.paulgraham.com/identity.html

What you cannot say — http://www.paulgraham.com/say.html
Xbox Resolver – IP Puller
The technology here is digital signatures.

JWT is a standard for using that technology, and one that makes several design decisions which make it fragile.

This is the difference between, say, the idea of a car (and the benefits thereof) and a Ford Pinto.
Critical Vulnerabilities in VMware ESXi, Workstation, and Fusion
Because they don't care, and it is curious how in Google's case their SV fans are so fast blaming the OEMs, as if poor Google wasn't capable to enforce it, if they really cared.
Quite the symbol, not just his work, but the timing of his death. NYC burning and crashing down economically, a dying logo for a dying city.
> according to standard economics, and all economists from right to left agree on this: money is the measure of value to society.

Only for a very strict definition of "value to society" that is a tautological summing of individual relative desire that is measured in dollars. Luckily, we're not restricted to defining value that way when speaking generally.

edit: coincidentally, I was recently reading an article by an ex-scientologist reflecting on the complicated process of indoctrination that keeps them in the church. A large part of it seems to be redefining common words (usually making them more specific, but sometimes intentionally creating definitions of words which explicitly denigrate their common meanings) and justifying this as a technical language (or I guess in Scientology, the "words" of a "tech"?) Next, they teach that deviation from those definitions is the source of all error, and that all doubt can be cured by going between the sentence that has caused you to doubt and the official definitions of the words in that sentence, back and forth, until you understand that the sentence is correct, and that LRH is always correct.

Doing that for long enough could probably convince one that somebody buying horrible stepped on street heroin to keep from being sick is valuable to society. Isn't not being sick nice?
In my field of research (condensed matter Physics and Thermodynamics), the split between Kelvin and degrees centigrades is about 50%. Anything that gets in contact with industry tends to use °C for some reason.
This is physics, not your average function. Those who've never written physics should not complain. It's actually good code.
PDF generation without LaTeX is now possible in MonsterWriter
> Never has the compartmentalization of personality (online and off) been more relevant.

I assume that you aren't LGBT. Because we've been getting fired and murdered over failures to compartmentalize since time immemorial; our right to employment was only confirmed by the supreme court this month.
Do people not use separate machines for work?
Decoherence describes the spectrum of behavior between quantum and classical.

As you mention, the probability density converges to multiple outcomes, but then I believe that you're in more of an Everett Many Worlds between the outcomes, rather than a "choice."

In practice, it seems like all of the Many Worlds scenarios statistically converge into one world sooner or later anyways (would love this to be formally shown, but have never seen it, so it's just conjecture from me). For example, if you flip a quantum coin, splitting the universe in two in a Many Worlds Interpretation, who cares? Does the Sun notice? Does someone in a town a mile away?

You've created a small bubble of "two universes," in a Many Worlds sense, but that bubble will pop. Quantum mechanics is ambivalent about the direction of time, so it sure seems like worlds are joining as fast as they're splitting, keeping us statistically around one effective universe.
This is why looking into JWKS might be a decent first step.
They are overpaid do perform tasks as directed.
Very elegant thing! Thanks for sharing!
That’s fine and all, but the promise of microfinance and micro loans was that it was win win.

Something along the lines of “Investing in the poor is a business that makes the world better”

But if investing in the poor means needing donations to cover your operating expenses, then I suppose kiva is at best a charity (if they also give reasonable interest rates and loan conditions) and not the investment originally promised.

That is not to say that kiva is bad, but it is also not a great poster child for microfinance, imho
This is for a client application that is storing a bunch of plain text in a specific format, where the parsing would happen on a separate worker. If you have any advice for how to make faster JS or for how to learn HTML/CSS/JS interop with those things I’d appreciate it. Otherwise it’s not very helpful to just tell someone “JS is not for performance! No!”. As much as people dunk on JS, you CAN write performant code in it. Like there’s been some decades of work put into making it run faster or be able to make games or something in it...
Oh gosh, I remember in college, playing with PCMCIA cards in laptops, and you'd have to kinda point them at each other. Can anyone confirm if that could be correct, or that I'm actually misremembering something?
> switch all your work stuff off with one click

How do you do that? I wonder if it's possible with "fake work profile" like when using Island. I can't use a work profile without using gsuite right?
"don't concatenate input strings into SQL strings" is a pretty good comparison, because the rise of ORMs and APIs that make parameterized queries ergonomic has done probably 10 times as much to stop SQLi in practice as telling developers to sanitize their inputs ever did.
Thanks for making me aware of this, I just got the DM30 and it's excellent. I was looking at a Remarkable tablet, but this is far better for my needs as text files are central to my workflow.
True, but arguably they are making spying harder with each ios release. If profiling and ads were their bread and butter, they would act differently.
Not new news, but tbh if you have tiktiok, just get rid of it
I wonder where this is from. First thought was Fukushima. As they say it's from a civil nature. It's very far from the Baltic though. Wouldn't really be possible.

Or one of the many nuclear subs that have sank perhaps? I believe most ship reactors are quite similar in design to civil power plants, just much smaller.
It hasn't changed direction, it's metastasized: if one doesn't get cancelled for being a racist, there's still sexist, TERF, anti-gay, anti-immigrants, etc.

And since this phenomenon is affecting the income and livelihood of individuals, the only people that are safe are yet again the rich.

The middle-class are tearing themselves and the poor up for the sake of appearances.
Modern mob justice means the rest of your life is ruined. It's not just a firing; you can't get a new job from then on. Internet oustings will likely last forever. And when the evidence is a photo or video, with inaccurate context, innocents are getting steamrolled.

This is a problem.

And even if it was less of a problem than it was a decade ago -- and I don't think it is -- we should still look for ways to fix it.
That's a really really weird view if everyone is equally as poor people don't murder?
You're stereotyping. There was a time when we agreed it was wrong to do.
Underlying helper libraries like math utilities are often extracted and put under independent test. A physics engine often has so much state (and isn't always guaranteed to be deterministic!) that doing any sort of unit testing at the functional level is not worth it. To those that reply with "use less state", I encourage you to show how. Often times the unit tests I've seen from junior game programmers are worse than useless and aren't testing anything of tremendous value.

Games that use automated tests often drive high level systems and test high level output. See for instance Riot Games's automated League of Legends test suite.
the advantage you sight is exactly problem why the international foot and U.S. survey foot exist and the issue mentioned in article happens.

it may be easy for us to think in fractions with repeating decimals, or irrational numbers ,it is super hard for computers which do Floating Point arithmetic, fractional arithmetic is not common from assembly, higher languages, or libraries we typically use to develop apps.

This is why engineering is always in SI, and errors happen in the interface between people refusing to change,

Given that most computing well happens in computers, It is lot more convenient for us change to a system computers understand, rather than keep a system we understand
> and tbh your argument reads a little bit like "well now its our turn"

I'm not sure who "our" is, here, but I don't read it with that tone regardless.

> There have been plenty of videos circling showing mobs during the recent riots beating people half and fully to death.

Unless you're talking about police officers doing the beating, which doesn't seem the case given your "left" remark, can you substantiate this claim? If so, how?

I believe your comment is out of sync with reality, but sincerely welcome quantitative data to adjust my views.
This. There is zero functional difference between Facebook or Twitter and 4chan at this point. If you can't preserve a reasonable level of privacy on either site, you should just avoid interacting altogether.
Whatever happened to that company trying to transmit power via ultrasound?
Yeah that wording was strange. If they don’t know, they should just say that.
Maybe not (although Louis Rossmann does say that he checks and has many videos where he does), but they do typically at least check the connectors and the main components.

My brother has had a water-damaged macbook pro repaired by a third party repair shop when apple said the only thing that can be done is a logic board replacement and they fixed it without replacing it.
> ...Fired the IT staff and outsourced to India...

Are you asserting that the breach would not have happened if the IT operations were in-house? Could you also clarify why did you feel it necessary to qualify the location of outsourcing? If the project was outsourced to any other country besides India, this would not have happened?
The attitude that "the wrongs done to me justify wrongs done to someone else" is exactly how every war and racial conflict has gone in the past. Even though momentum is currently on the side that you think is right, the precedent that is being set WILL come back to haunt you.

The way to resolve and defuse conflicts is to treat others better than they deserve to be treated. This is also more effective politically. See the second example in the article where research indicated that peaceful protests promoted by MLK were more effective than race riots later.

This result should not be a surprise. MLK promoted peaceful protests exactly on the theory that they would be more effective, based among other things on the experience of Ghandhi in India. Those lessons were copied a generation later and played a critical part in bringing down the Iron Curtain.

Violence begets violence. Forgiveness begets peace. Going out of your way to treat people with fairness is not just the right thing to do, it is also more effective.
I'm not sure how you can trust the stats when even recently, black activists have been found hanging from trees and it's just ruled suicide.

https://www.naacp.org/latest/ferguson-black-lives-matter-act...
From my knowledge of working as an ACMT, Apple processes every part it takes out of a computer during repair service. I couldn't say how many are fixed in the manner you're talking about, but I can say that a significant proportion of parts we received for warranty service were clearly 'remanufactured' parts. So that kind of toss-and-replace doesn't even really happen at Apple itself.
I am mistaken, I did not realize it was down to $100. It used to be a lot more - I was paying.

It's also a yearly fee where Google is a one-time fee.
SAS Airlines Lays Off 560 Pilots Amid Pandemic
I’m seeing rumblings of this in some circles. They were not talking about “doxxing” in retaliation, though - they were talking about literally hunting them down.

I’m not old enough to have experienced when this sort of thing happened historically, but it certainly feels like we’re inexorably marching toward a violent breakdown of our society. It’s scary.
I joined the right-wing social network Parler
In some countries (e.g: in the EU) getting fired over a tweet would result in a lawsuit which the company would almost certainly lose and they would be forced to hire back the former employee.

The issue in the US is that the labour market is incredibly unjust towards employees and they have almost no rights.
He sounds like he knows what he's talking about, in terms if real sailing. To me, that's more interesting than the navigation simulator.
Finance is always gambling, ponzis, and fraud. But hey, that's not a bad thing.

Gamblers add liquidity, which is better for society than them hiding in a basement playing cards.

Stocks are essentially ponzi scheme financing. They have all the hallmarks. Then often literally use the cash from sales of stock to pay dividends. Most companies will never pay dividends, though, so the idea for a purchaser is to hold on and cash out while it's big before everyone else does.

Fraud is the worst when people have an expectation of trust, assuming they're protected by regulators. They never are. Madoff. Bre-X. Enron. Even highly regulated markets are always riddled with fraud. People should expect the market to be riddled with fraud and act accordingly - it keeps the populace wise.

Regulations are an attempt to get something for nothing which always just ends up with a bunch of friction, corruption, barriers to entry, and lawyers.
Emirates’ Airbus A380 Fleet Set to Return to the Skies in July
+1 for Unfollowing everyone on FB. I log in once a week to check event invites. Well not so much during quarantine anymore.

+1 for setting a timer. I give myself 15 minutes to scroll mindlessly.
The code looks bad, but not for those reasons, in my opinion. The logic in this function doesn't look composable. It combines different kinds of mathematical functions to apply inertia, whether you're jumping, etc. into one big ball of spaghetti that would be hard to extend for anyone not deeply familiar with the code. If I were to try to refactor this, I would try to decompose it into standalone "behaviour" functions that could be attached to any entity