skysight-inc/HackerNews huggingface dataset:
One additional problem is that IEEE floating point fails to require that addition and multiplication be commutative.

"WHAT?", you say? Surely it has to be commutative!

Well, it is, except in cases where both operands are "NaN" (Not a Number). You see, there's not just one NaN, but many, with different "payloads", intended to indicate the source of the error leading to a NaN. The payload gets propagated through arithmetic. But what happens when both operands are NaN, with different payloads? The standard says that the result is one or the other of these NaNs, but leaves unspecified which.

The old Intel FPU chose the NaN with the larger payload, which gives results independent of the operand order. But SSE uses the payload from the first operand. And so we get non-commutative addition and multiplication.

The compilers, of course, assume these operations are commutative, so the results are completely arbitrary.

One practical effect: In R, missing data - NA - is implemented as a NaN with a particular payload. So in R, if you write something like NA+sqrt(-1), you arbitrarily get either NA or NaN as the result, and you probably get the opposite for sqrt(-1)+NA. And both might vary depending on the context in which the computation occurs (eg, in vector arithmetic or not).
Ah, okay, so it's more about having to initiate thousands of requests for a single page than so much about the latency of any single request in those thousands — because even if they were all to a local server, that's still terribly inefficient, and with latency it's even worse. Thanks!
This. We’ve been chugging along happily on Fargate for a while now. We looked into EKS, but there is a ton of stuff you have to do manually that is built into Fargate or at least Fargate makes it trivial to integrate with other AWS services (logging, monitoring, IAM integration, cert manager, load balancers, secrets management, etc). I’d like to use Kubernetes, but Fargate just works out of the box. Fortunately, AWS seems to be making EKS better all the time.
The karmic payback is that soon he’ll be walking around with a live #iamabillionaire tag on his head, which is not entirely a good thing for him, if you know what I mean.

Of course, he’s welcome to never leave home, in a prison of his own creation.
I am currently using Fedora 31 Cinnamon which uses GNOME Terminal and the shortcut to reset and clear screen/scrollback is CTRL+L. I am not sure if this shortcut is standard on GNOME Terminal or not, but it's present in this flavor.

EDIT: On my windows machine I think it is ALT+F8 in Git Bash. May be similar in other terminal emulators.
It's sad to see where the current payments and rents push people.
Ed25519 Quirks
Top of the frontpage for almost a day when the news broke https://news.ycombinator.com/item?id=22479178
Hierarchical Quantized Autoencoders
All You Need to Know About End to End Testing
Some thoughts:

1) It doesn't matter how much the test itself costs. It doesn't matter whether it even gets done. The only thing that matters is, how much you're likely to pay if you go to take that test. That's the only variable consumer is considering.

2) Cool that "as of now, the two authorized testing agencies aren’t billing patients for the tests" and that Medicare & Medicaid have a code for this test. That's as of now. The $3000 story broke over a week ago, and nothing here convinces me that this wasn't a representative number up until now.
I assume that an "all-hands" meeting at 1AM means an all-hands for everybody working the night shift, not the entire staff. Yes, shift work sucks, but that doesn't necessarily mean overwork.
'Unfixable' security flaw in Intel boot ROM
A lot of people swear by stuff like iTerm2, but I'm almost a little ashamed to admit that even though I have iTerm configured to my taste, I often still reach for macOS' native terminal. It's not gloriously beautiful or anything (basic Zsh with powerline for the shell), but it just seems to work great without the frills.

Little shortcuts that think of stuff like this without any configuration (iTerms is impressively extensive) are just a cherry on top. It kind of bums me out that's not linux native. Do you know of any other useful shortcuts specific to macOS? I've been using ctrl+L for the longest time. Thank you for sharing!
No need to register on many IRC networks. I do not need to be registered on Freenode (though, I am).
Under Settings > Styles and Wallpaper there are a few different options. I think the default is blue for selected, but you can select "Ash" to make it grey vs grey.
The only other application in your list is Postgres.

NumPy is a library. The other three are compilers. Why are you comparing these with a GUI-based chat application?
Serious probability calculations are usually best made in log-space, turning multiplication into addition.
How about running from RAMdisk? Feels like that would be the safest
> the only alternatives you offer are tools that don't exist because people didn't use them

They may not have wide adoption, but the tools he's describing very much exist. Wirth even published a book that describes how to implement an Oberon system from top to bottom, hardware (fpga) up to UI.

Systems like Symbolics, Smalltalk, Oberon, etc. all took lots of free time and funding to develop. Today's computing culture it dominated by next-quarter, short-term, profit seeking imperatives more than it was when these systems (along with the key systems we use today in production) were created. That leaves us in a bind: we have no choice but to merely iterate on what already exists and what's already available -- I'm talking about nix systems here mostly.

FOSS is a bit of a negative in this regard. Armies of interested programmers working in their free time are certainly not going to be able to invent things like Oberon or Smalltalk. You need to be properly funded and have the time to come up with things. The big companies aren't really interesting in doing this either -- they can just use existing FOSS, or even pay their own people to support a project, and build on top of that. It's not surprising, then, that no one has invented a wholly new personal computing system in decades.

Our current culture is, in my view, somewhat similar to medieval scholasticism. We are going to endlessly churn the the FOSS/nix soup until there is some kind of revolution in thought or action.
Sadly it’s often needlessly superficial.
A New York Power Plant Is Mining $50K Worth of Bitcoin a Day
I’m curious about this too if anyone has a link.
Yes, here is also the hn discussion https://news.ycombinator.com/item?id=22481649
No, it's not just "storytelling", and your answer is pretentious in the extreme, painting an aesthetic preference as some fundamental appreciation for human life, and the opposite by implication as crass.

Storytelling is about narrative. It's about conveying a sequence of ideas in such a way as to make an impression. One can achieve storytelling without an abundance of irrelevant details ("Sometimes a travelling circus unfolds itself on the hard-packed sand of the heath’s carpark" does nothing to further establish our sense of setting, nor to characterize anything at all) and just being over-dramatic (leading with an inset quote about little at all, but making sure to lead with the title 'Counter-Terrorism Command').

Just because it's storytelling doesn't mean it's /good/ storytelling. The whole thing stays just one shade shy of purple. That is annoying as hell for a lot of people, and not at all "a great gift of being alive" that is "a really lovely thing." On the contrary: that's something a lot of even-literary editors would take a hacksaw to.
Elon Musk is beyond obsessed with reaching Mars. I feel bad for his employees
I don't see how that follows from anything I said.
I don't get the point of book stores when there's libraries.

My local library let's me reserve books online, and if they don't have a book, they usually have it at another library in the county and will ship it to my local library and hold it for me.

And this all costs me $0 (yeah, okay, taxes, but you know what I mean)
If it's cold outside, the waste heat is basically a space heater.
The 25 most recommended programming books of all-time
You're asking exactly what I've been wondering. The answer in this thread this so far has been "maybe dokku." I can totally buy that K8s is overkill, but the alternatives for small scale operators seem to require a lot more work internally than just using a K8s service.
What I think the person you're responding to was really trying to say is closer to "why do people write articles about how much women's unpaid labor is worth, but not about men's?"

Just a question though, are we comparing hours or economic value when talking about 'more' unpaid work? In hours terms my (stay at home) mom definitely did more, but in terms of the dollar value of the labor, I think it's probably a toss-up (in the case of my childhood at least).
What the Impact of Coronavirus Looks Like from Space [video]
If your momentary negligence can end life, might I suggest being very careful?
I look at it differently: I survey how much apparently useless and baroque infrastructure has been overplayed on top of core functionality and dismay. Those were essentially embedded systems running on bare metal; basically “parts of a machine”. Now our systems are far more intricate — but they seem to be far less efficient.
Have they ever considered running a few coaching sessions for staff? I suspect the answer is no because they don't believe they have a problem, but that's my bias from university in UK.

I am not a good speaker, but one time my employer offered an hour long session with a coach before a conference. I presented my material (something they strongly emphasised) and he was able to give me advice on getting rid of the "umms" and sound a bit more engaging. It made a big difference to what people have to listen to and gave me a confidence boost.
International transfer of money, sometimes to themselves.
"then breaks when passed a bundle of named functions that does not conform to that relationship."

In that case, the fault lies with the thing that put unrelated functions together and passed them to a thing expecting them to be related. I'm not claiming that structural typing will somehow prevent programmers from deliberately writing wrong things, because I mean, what type system can make that promise? My point is that it is in my experience very rare for something expecting "something that can write bytes" to be accidentally passed "something that can write novels" or something equally unrelated, and then the world blows up in a bad way (that is, not just an exception thrown, because that's just a risk of dynamic languages, but actual bad things happening).

Dynamic languages can at least still get what I said wrong; in Go it's even harder because as others have pointed out, Write([]byte) and Write(NovelInput) Novel still can't cross. But even in dynamic languages, this isn't a problem I had.
The results are indistinguishable from real modern art. That is to say, this AI is really bad at producing art.
I work on an embedded device. Our tests include power analysis testing in LTE/GPS simulators of all the sleep/wake states. Total testing of a release takes about two weeks.

Trying to keep master consistent without git-flow means we get PRs sitting around for a month and merge-conflict hell days when we merge everything to make a build to send to QA.

Git-flow is bad if you have CD. Git-flow is great if you can't do that.
Angry Birds: Next Generation
While your average startup doesn't need to go "uberscale", they probably need to be highly available.
AFAIK they work in shifts, non-stop; crazy hours & weekend is irrelevant in this context.
That's a great insight. I never experienced chest caving anxiety ever, until I did once. Now it's much more likely.

On the flip side there is treatment to allergies, controlled small doses to triggers. I think anxiety may work similarly. For example, public speaking more often with smaller audiences will reduce initial anxiety in the long run.
So it is true with Uber, just not everywhere.
I think the main problem is not that it's told like a story, it's that it's told badly. The non-linear structure is incredibly confusing, you can absolutely tell the story chronologically and keep it interesting, but it's sort of in fashion to meander about the timeline without reason. I've found these types of stories much more engaging by simply skipping whole paragraphs that diverge from the main thread.
Only 10-20% of the employees are highly trained. HR, finance, and other management functions are universal. There are a lot of highly trained people doing those other rolls, but they can be shifted back into the role they are trained in.

By putting 4x as many random people on the problem you can double the amount of work done, but that is about the max you can get.

China is well aware of what is needed, I expect they will let the factories making the needed specialized things run while nothing else does. N95 masks can be made avaiable to thsoe who need them which includes not just medical personal but also manufactures of pipettes. If you make something else stay home.
Ah, so that's where we are now. It used to be that we didn't clear the memory for performance reasons. Now, we clear the memory for performance reasons. Very entropy. I think I like it.
The sex with reduced sex chromosome dies earlier: comparison across tree of life
I'd say that usually the section of the title (newspaper, website, whatever) that produces a story is a better guide - usually, I'd water, writers write what editors ask for; when a writer can write many different forms of story filtering by writer seems less helpful.
Exclusive top-down surveillance also makes possible all kinds of abuses. We should put some thought into which scenario has the worst failure modes, and in doing so we should remember our history.
There is not too much common with having a farm and having a homestead except (in most cases) rurality. To support your homestead financially you can be a farmer but you can be a software engineer too like I am. Farming is commercial activity to produce maximum amounts of "stuff" to sell others. Our homesteading usually produces some extra veggies too, but we share them with neighbours.

Nowadays a lot of the most boring and repetitive stuff can be optimised even in commercial farming. Chopping wood (and felling the trees with a chainsaw!) for the whole year, for example, takes less than a week of combined relatively relaxed and certainly not mindnumbing labor with modern tools. Personally I just often use an axe anyway since it gives a superb workout and I like it (I grew up in a farm so it has no novelty value for me).

Doing a lot of various small tasks that itself are boring and mindless when done commercially is really the best lifestyle I know. Of course, your idea of perfect life is allowed to be different.

There are homesteading purists who refuse to use even tractors and that stuff includes a lot more hard labour with little results. Oil has really changed the game and running a homestead doesn't have to be from zero to completely self sufficient in a year sort of thing. Especially those who haven't grown up in a farm (or homestead) need to start slowly to see if the reality of homesteading is what they really are after.
Welcome to the club!

I've been very happy with my XPS dev edition running Xubuntu. It's a 13", as I prefer smaller and lighter for travel. The laptop it replaced was also a 13" XPS with Xubuntu (slightly older), and when it comes time to upgrade, I'll almost certainly get another.
Indeed -- https://en.wikipedia.org/wiki/Log_semiring
Yale endocrinologists aren't "spreading misinformation":

>“Human insulins are a reasonable option for many patients with Type 2 diabetes,” said Yale endocrinologist Kasia Lipska, who often prescribes the drugs for patients who can’t afford newer formulations. “But the drug isn’t optimal for everybody. And human insulin sold at Walmart is definitely not the solution to our insulin crisis.”

Nor are Diabetes advocates:

>For people with Type 1 diabetes, human insulins “are harder to live on, lead to worse control, make it harder to hold down a job, impact quality of life,” said James Elliott, a trustee at T1International, an independent patient advocacy group, “and not everyone lives near a Walmart.”

https://www.vox.com/science-and-health/2019/4/10/18302238/in...

You can't hide behind "not wanting to engage in political debate" when you yourself misconstrue the reality of the situation to make it seem less urgent than it actually is.
It would be, but how do you go through the whole install every time you need it?
They can always leave.

I'd presume that many of them are on-board in the first place because they're engaged by the idea.
Here the research[0] the article is mentionning, and a direct link[1] to the paper:

[0]: https://www.oxfamamerica.org/explore/research-publications/t...

[1]: https://ousweb-prodv2-shared-media.s3.amazonaws.com/media/do...
>when you pay your engineers 6-12 months of extra salary before you ship

Money may not be the limiting factor for a startup and time is a counter-factual as you don't know the alternative. Had they not been able to hire any engineers they may have taken an extra 2 years to ship the same thing. Or maybe not.

Hiring at startups is time consuming and difficult with heavy competition for good engineers. Salaries lag behind large tech companies and equity may be worth nothing. Scale isn't there so the problems are less interesting than at a larger company. And good engineers can 5x better than average in an early stage startup because there is no process and technical debt is fine (in a larger organization the 10x ones leave havoc in their wake).

That may not be the right decision for a startup to make but there is a logical basis for making it.
It never even occurred to me to do that but trying it now, I don't think it's feasible for my hands. Either my palm mashes CTRL, ALT, and CMD (and sometimes FN and Shift) or I have a super awkward angle to get to the C key. It seems much easier to just drop my pinky down for half a second.

EDIT: After a suggestion from another user, I just remapped my Caps Lock to CTRL. That seems a lot easier to deal with. I'll try that for a bit and see how it goes.
The anti-circumvention provisions of the DMCA are the root cause as a special interest bill got abused even worse.

There is no sane reason to use government enforcement to stop people from tinkering with what they own. The only legitimate reason is an end state that is illegal for good reasons like removing a catalytic converter.
People retire in Florida because it's warm and there's no state income tax to double dip on your investment or other income. Great creditor protections is a second order effect.
I have fallen into this trap soooo many times here. “What’s it even used for?” I provide a list. “All of that is dumb and you are dumb.”

Look up MakerDAO. If that whole thing isn’t even remotely interesting to you, I don’t know what to say. There are plenty of interesting and useful projects. Is there anything AI has delivered other than surveillance tech and giving me suggestions while typing that I just turn off because it’s annoying?
The clue is in the name!
non-linear stories written with an excruciating abundance of adjectives are called storytelling?

I had been of the mistaken opinion that the term covered far greater ground.
What provides the cost of allowing Europeans to see it? The server costs?
Yes, some of them will die in civil wars.

But not all of them. And the ones that survive have the opportunity to learn from the ones that didn't.

That's less different from Earth than you may think. We've witnessed entire countries collapsing even in the last few years. If it wasn't for Earth providing free air, reasonably cheap water, and not-that-difficult food even when your local political system collapses, nobody on Earth would even consider switching their country to run on Communism; rather than merely killing dozens of millions of people it would be witnessed as bringing total extinction to anyone who tried it.

Basically, evolution doesn't stop.
Most people for these aren't buying new equipment for this though so the only real cost is the electricity and a tiny bit of premature wear on components. It'd take a long time of running to have spent enough electricity inefficiently to make up for the cost of the CPU and GPU being used.

It's also way easier to get people to just download and run something rather than donating money, the cash donation is hard and definite while the costs of running a distributed computing client is nebulous.
One of the issues Anki has, I find, is that if you end up taking a long break for whatever reason, there's no way to "reset".

I used Anki to study Chinese for a period of about 10 years. At some point I decided that I wanted to memorize the poker "outs" (probabilities of filling out a hand based on what had currently been dealt). Then I went through a time where I was really busy and didn't study the poker deck for a month (but I made time for Chinese). When I came back to the poker deck, the "spaced repetition" system was completely broken: I had a massive long list of cards that had expired, most of which I'd completely forgotten; but it just kept showing them to me in one giant loop, rather than focusing on a few to actually teach me. And I didn't even have a clean way of telling it, "Just pretend I haven't seen any of these cards at all". I ended up just deleting the deck; that discouraged me from doing anything else I wasn't willing to commit to doing every single day.
Coming from a bash background, PowerShell is consistently annoying. Here's an example, passing an XML file to a cmdlet:

Some-Command -Param1 -FileData .\foobar.xml

Cannot process argument transformation on parameter 'FileData'. Cannot convert value ".\foo.xml" to type "System.Byte[]". Error: "Cannot convert value ".\foo.xml" to type "System.Byte". Error: "Input string was not in a correct format.""

In bash you would just do:

somecommand < foobar.xml

Instead you have to create an object and, do a conversion:

[Byte[]]$Data = Get-Content -Path ".\foobar.xml" -Encoding Byte -ReadCount 0

Then, run the same command using that object instead of the file:

Some-Command -Param1 -FileData $Data
This person had a terrible experience at work, and you telling them "don't vent" is condescending. Our industry has a problem with toxic work environments, and we need to talk about it.
I like to refer to this availability as "nine fives".
When I was younger, I was much more enticed with new technologies. But as I grow older, I've grown much more cynical. I just want to solve problems with ideally as little coding/thinking as possible.
I've noticed in my life, over the last 20 years, a strong correlation between companies being successful, which means, making money so they can keep paying their employees, and concerns with those companies making their employees work too hard or for too little.

Maybe this problem can be solved, by changing the system, but unless you are in a situation where you can avoid competition, until the system is changed companies may have to do some degree of hard work to survive.
We've seen plenty of examples where people do this. Sometimes it's different teams (e.g. the ML team is namespaced away from the primary customer flow) and sometimes it's for different customers. Really, it sounds like we're in agreement about why this happens, the confusion is just whether or not that normally happens within a company in the course of doing business?
> Maybe GCP hit the growth targets they had and are not interested in growing more; maybe they've grown so much that service quality is going down; maybe they want to stall and build up other parts of the offer...

No, they are on a death march for market share. https://www.crn.com/news/cloud/google-reportedly-set-ambitio...
I disagree with Brin, but I do think if suddenly a creepy clone of Clearview was publically accessible and aimed at the rich and powerful, we sure would see regulation happen awfully quick...