skysight-inc/HackerNews huggingface dataset:
I have never witnessed that in 15 years of working at places which write unit tests. I've witnessed a LOT of unit tests which test nothing and manually return the pass/fail result desired so the indicators stay green.
I'd really like to know what it's about
It's also known to be slower to run python code: https://superuser.com/questions/1219609/why-is-the-alpine-do...
I was able to reproduce and confirm these findings
>>Contrasting the victim counts literally implies the comparison this article warns against

The title is a comparison of the counts of cases and deaths, not the severity or impact of the illness. It's...data. And by the way, those people who are dead from influenza likely count just as much as those dead from coronavirus.
Why Amazon sets the bar for eCommerce and how smaller sites can keep up
China at least. Could not. The lunar new year was coming. A billion people are going home. Its gonna be hard for any official to tell them its cancelled.
That really depends on what was benchmarked, so much so that dropping random benchmark results is meaningless.

A benchmark like this [1] (showing c++ < js < java) is absolutely useless as the person writing it has no idea what they are doing, e.g. using vector in java.

Looking at most benchmarks java beats js more often than not, but they are often neck in neck.[2]

C++ always beats both, often by a huge margin (when written well).[3]

[1] https://www.linkedin.com/pulse/algorithmic-performance-compa...

[2] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

[3] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Anytime a business model allows a company to profitably provide a product that a customer wants, its good for both the consumer and producer - barring negative externalities.

The alternative is the company going out of business and not providing the product or the company’s founders getting acqui-hired followed by a final “Our Amazing Journey” blog post before the product is cancelled.
We do know what is happening in the camps. There have been numerous leaks, and accounts of former residents.

There’s no ambiguity. The only way “we don’t know” is if we chose to be ignorant.
I don't think that person means you literally can't know, just that it increases the difficulty of reasoning through the code.

I was debugging some code earlier today. Someone had put a global variable that is either altered or used in 4 or 5 different functions across our codebase. I had to literally draw out the paths a user could go down to figure out what the value of this global variable would be at the time I was trying to call one of those functions. It was not awesome.

I figured it out, so you're right. I do know which functions touch the variable and NOW I know when. But I still can't guarantee the value of the variable.

Needless to say, tomorrow will see a little refactoring.
> Presumably WebAssembly would end up with a persistent model, as well, if the GC model went deep enough.

That's not going to happen. The primary point of WebAssembly GC support is for integration with the host, with GC for the guest program secondary. And the biggest WebAssembly host is the browser, which as you note uses a copying collector. A design for WebAssembly GC that doesn't allow that is a non-starter.

Because of this prioritization, extensions like finalizers or weak references aren't even under consideration for the initial version: https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...

> My point is merely that the prospect of a glorious execution model that unifies the diverse world of languages is naive.

Hardware already provides this; the whole idea behind WebAssembly and the reason it can support C so well compared to most other VMs is that it exposes a more hardware-like execution model. Implementing your own GC if WebAssembly's isn't suitable should not be considered a hack, just the usual bundling of the runtime that happens on hardware.
>> I think the advantage to Lisp is that the programmer can generate and evaluate arbitrary expression trees at run time.

That's the one! Code is data - data is code.
While this can be done in other languages, it isn't done without considerable effort or going 'off road' so to speak, macros are Lisp.
cheers.
The 0.1% case happens. And if it’s going to seriously wreck lives when it happens then you should solve for it. Does Instagram need to handle the 0.1% case? No. But the unemployment website should.
You've heard it hundreds of times over the course of your career and yet you never once questioned it? Either you're exaggerating to make a rhetorical point, or you have such an apathetic attitude towards the issue that you can't (or haven't tried to) reason about why it polarizes people.

Taking your comment in good faith, not all global state manipulation is equivalent. Depending on how you do it, structured global state manipulation could mean have you end up with something like Postgres, where you have orderly read and write interactions that you can reason about with set theory and transaction monotonicity. It could also mean something like using an in memory cache or session store to persist temporarily durable data. Any kind of structuring like this around what you can read and write and for how long gets you further away from the idea of globals, and that's the point. It's a tool that doesn't reward reaching for it prematurely.
Industry's first machine learning guided Garbage collection log analysis tool
How would it be possible to quantify data from the future, exactly? Or is it necessary to say 'this doesn't include unknown data from the future'?
This is still a misunderstanding, sorry. In your hypothetical, the price of oil would nosedive for a while as long as there was over investment in getting it out of the ground that would be wasted if it wasn’t sold low. This is just a higher supply. But at some point, the lower demand for plastics, etc would use that up, leading to a steady state - one in which oil would again be sold at its value, its labor cost. It can’t be sold for less long term because otherwise the people digging it up and selling it would make a loss on doing that.

also yes, capitalism drives down the labor cost of things through innovation or lowering workers’ living conditions. yes that lowers their value (labor value) according to LTV. that’s fine and not only consistent with but essential to LTV and results in, yes, lower prices longterm.

two further things. first, yes, LTV doesn’t talk about temporary supply-demand price drops. that’s not the point of it or in its scope or what it’s useful for. that’s fine. it has many other different useful conclusions unrelated to determining the exact price of a commodity at a given time under given market conditions.

second: I mean this in good faith. you have expressed the same misconception a couple times now. Please read Wage Labour And Capital, it’s a short pamphlet written for 19th century working class people. It’s very readable and if after reading it, you still think LTV is invalid, you might be able to express why more clearly. However I think you might be surprised.

EDIT: as a caveat yes cartels can distort this and sell high and collect super profits. but really please just read the source material so I don’t have to go over everything like this! marx is a good writer!
How APIs Can Benefit from Computational Cost Equality
I just discovered this blog recently. I recommend reading the author's older stuff as well, there are some really good ones!
I believe that is in fact the case. I removed all Facebook owned apps from my phone a few weeks ago and I stopped seeing reports show up there. Experimentally, it seems like an uninstall disassociates the ID from your facebook account.

That doesn’t mean facebook stopped getting those reports, only that they are no longer associating them with my account.
That's the problem with modern C++, you can't reason about it on general principles - you have to know way too much about implementation detail.
This is some of the best testing advice I've read. I follow the first two points with enormous success. The third idea seems like it would solve a lot of the cases where i've stumbled. Much appreciated!

reminds me a lot of how github's scientist works. https://github.com/github/scientist
Which hackathon is this?

This one? https://covid-global-hackathon.devpost.com/
Show HN: Coffee – Virtual Coffee with Remotees
Very few things in life compare to kicking back late at night, turning on the Amiga and spending the next 12-15 hours in ASM-One writing and executing 68k assembly in tight feedback loops -with the occasional crash- until exhaustion forces one to stop. I spent the best years of my life with the Amiga and I wish I could do it all over again..

Later, I moved on to doing realtime graphics in DOS, first with Turbo Pascal and inline assembly (reading Denthor/Asphyxia tutorials) and eventually C and although I have fond memories of that period too, the Amiga will always remain supremely vivid in my memory. Utterly unforgettable.

The meaning of life is to become a legend: https://www.youtube.com/watch?v=jziQBWQxvok
Why hasn't this been automated? Digit recognition technology is pretty good and it seems like the forms are pretty standardized.
So a Texas grocery chain was more prepared than this administration. Good to know.
Especially zoom which is insecure spyware. Not long ago there was an exploit that allowed any website to grab your webcam feed from zoom. Even if you had uninstalled zoom because the app leaves behind a web server service listening on localhost so the malicious website can just reinstall zoom and grab your webcam.
I'll try to address things other replies haven't. Global variables are not just a problem for understanding code, but they also have a large potential for causing incredibly hard to debug bugs. Say you're writing a parser and decide to use `strtok`, which uses global variables. Everything works fine, but then you try to improve performance using multiple threads and suddenly your linux and mac users are seeing all kinds of weird incorrect behavior. Turns out strtok uses thread local storage on windows, but not on other platforms, so your parallel strtok's were all overriding each other.
I want this and I want this now.
Same. As someone who began programming at the time knowing about IRQs, DMA and video card 'modes' was a requirement to do anything mildly advanced in graphics, this blog has been an enjoyable trip down memory lane and simpler times. Great read in these insane times we are living.
It makes your eyes bleed? If you thought mine was a take...

Anyways, let's not act like ES6 classes aren't without their slew of issues, obscure syntax, and most importantly, problems when it comes to transpiling and backwards compatibility:

https://medium.com/@WebReflection/a-case-for-js-classes-with...
I spent a small amount of time at Microsoft working in the legacy Office codebase. It is kind of a parallel universe to normal C++ - lots of ideas in it predate their STL equivalents, and some have yet to make it to the outside world. Some ideas just went off in different directions. Shared pointers are one of the latter. I no longer recall the exact name of the type, but Office shared pointers are intrusive - your interface inherits from `IMsoSharedRef<IMyInterface>` or something like that, and your concrete types would in turn inherit `SharedRef` or whatever.

There are a number of really interesting aspects to this family of types, but the one that's relevant here is that it handles situations like this very gracefully. If you want to pass your shared object to a function that won't take ownership (shared or otherwise), it's simple - the type just decays into a raw pointer. So your function can be

DoSomethingWithFoo(IFoo* theFoo);

and you can call it with your smart pointer

ISharedRef<IFoo> myFoo = Mso::Make<IFoo>(...);
DoSomethingWithFoo(myFoo);

This is of course a double-edged sword because you have to know that your callee won't try to hang on to that pointer. Even so, I never once in all of my (very strict) code reviews heard anything about the proper way to pass pointers. (and believe me, it's the kind of codebase where you _will_ hear about that kind of thing).

It's been a few years so maybe some details are wrong, but the gist of it is correct.
This is not the first time that it happens.
Amazon Methode 26/03
At double worst, you're being deliberately lied to because the media believe, truly and honestly, that it's their job to manipulate you into believing socially useful things.
Facts that every Individual should know in Covid-19 outbreak
Sorry, I must have misread “prior to” as “after” somehow. I agree that this is odd.

The thinking may be that they are presuming the emergency will be passed by April 30, or at least that, at this moment, cancelling that far out is not justified by the present emergency. Not endorsing, just speculating on the thought process.
Yes, that's right. Static IP is not necessary, any kind of DDNS could make a workaround.

Public IP is not necessary as well. Third party service like ngrok could reverse a tunnel.

However, public static IP is my first choice. Easier, safer and more stable.
I use zotero and store the pdf files (renamed and organized with ZotFile) on OneDrive. I can read papers and make highlights/notes to pdfs and they will sync to all of my devices. These notes can be extracted and made searchable within Zotero by Zotfile.

At first I preferred the way that Mendeley did this with its built in pdf reader, but now I'm happy Zotero delegates to the pdf software of your choice.
To clarify, I'm talking about the death curves--these seem to be the most credible statistics. Looking at those, most of the curves do not look significantly different. The exceptions are (perhaps) China, South Korea, and Japan.

China's credibility on mass death statistics is a bit shaky, and Japan has had a serious moral hazard given their 2020 Olympic hosting (and there has been a sudden blip in Tokyo in the last day or two).

Looking at the curves, though, it's hard to avoid the conclusion that that of the USA, however bad, is not obviously different than those of most countries currently undergoing the epidemic.

Perhaps some think the US should be significantly better than most countries. I'm not really a believer in exceptionalism myself.
I like to "make the change easy, then make the easy change". This looks like 2 commits: 1st a refactor to make code more straightforward around the area I'm about to change, and 2nd to actually make the change. Ideally, the 2nd should be a small, local, easy to reason about change, enabled by code cleanup in the 1st.

The 1st commit in this sequence is a pure refactor, and definitionally should change no behavior. The "snapshot test" described sounds perfect for this, especially in unfamiliar code. Ideally, I'd go even further, and have a compiler prove for me that my refactor produced a perfectly equivalent program from a black-box perspective. Snapshot testing is great because it gets pretty close, very cheaply, whereas the full program equivalence problem is impossible.
Is the best, free (not necessarily open source), email desktop client still Thunderbird?
More specifically, Google thinks they're the central authority as to what Chrome will do.
Maybe Web Components are not the Future?
https://github.com/iamadamdev/bypass-paywalls-firefox seems to work for me.
The kindle app contacts facebook too. All KINDS of webpages and apps contact facebook. It's a mess that I only figure legislation can help correct.
Google do a lot of seo to stay #1 for “google”
Zone Append: A New Way of Writing to Zoned Storage [pdf]
It makes it harder to innovate in anti-social directions, and may catch some useful things in the crossfire. But on balance, slowing the rate of "innovation" for these companies that want you to shovel all data everywhere into their gaping maw? Not a problem for me.
That sounds cool but also a muuuch more complex problem that merge isn't expected to solve. If merging two feature branches generated actual code that understood intent and semantically combined both features, it would be close to an AI that knows how to program. I think we know diff/merge are expected to operate on character sequences not code semantics. Merging x=1 and x=1 just gets you x=1 in any VCS. And they work just as well on files that aren't code and might not have any semantics at all.

Interestingly what you want breaks an invariant I would expect traditional merge/diff to have

diff(X, Y) = 0 => merge(X, Y) = X = Y

So what you're proposing would be a different pair of ops altogether say sdiff and smerge
> Software preferences having a privacy section is a thing. Firefox, chromium, etc.

Yes, and Firefox's Privacy & Security section doesn't cover Firefox Sync, the default search engine, search bar suggestions, the new tab pane, the default homepage, or app update checks. Those all make network requests to various services, and they're all controlled in their own sections in the preferences where they make more sense. And you can't turn off loading a website when you enter a URL.

Grouping a few more prefs together in Zotero might make sense, but in a modern, web-connected tool, there's just a lot of functionality where the network connectivity is implicit. The main difference in Zotero is that we document it all and tell you how to turn it off.
I tried this out in 2013, back then it was difficult to set up on non technical friend’s computers.

From what I see now, VoIP, and video calls are modern additions.

For a non technical user, I still think that the marketing is not compelling. Friends and group stuff, “we have Facebook for that”.
HIPAA ha...

Kaiser Permanente will contact google analytics and doubleclick as you navigate their website, even when checking test results and contacting your doctor.
Sync your metadata with Zotero but the files in the cloud - you just need to make sure your settings are compatible between machines (storage locations etc).
You can actually do this on linux pretty easily but it's not the default, it's sometimes called "source routing"

Easy to setup with netplan and systemd-networkd, a little more complex to do manually.
Sounds like a good deal if we don't need to pay until you're done!
Recession will take place in every country next year so expect that the number of jobless people will strike up during and after the pandemic.
I was going to quote Burroughs' characterization of Hauser and O'Brien from Naked Lunch. So anyway, here's what he said about them:

> O'Brien was the con man, and Hauser the tough guy. A vaudeville team. Hauser had a way of hitting you before he said anything just to break the ice. Then O'Brien [is friendly and encourages cooperation].
Bill Gates: Entire country must shut down for 6-10 weeks to fight coronavirus
Interesting - the Chinese economy isn’t known for efficiency or discipline. It’s known for its massive scale.

China has been trying to increase its economic efficiency and discipline, but generally failing.

https://www.google.com/amp/s/www.cnbc.com/amp/2019/09/19/chi...
Once the dust over the Chinese virus settles, China should be taken to task.
The Rise and Fall of Facts (2019)
Corona Virus Covid19 Daily Data Update
This blog is a public service.
99.999% Reply-alls sternly telling everyone to stop replying-all
Finally some proof that Huawei does have back doors in their network equipment.

In part 3 https://0x90.psaux.io/2020/03/22/Taking-Back-What-Is-Already... the author rights that a Huawei engineer has an authorized ssh key that would allow them to access your router.

Just Wow!
I did. I am in the US. You should read the tweets from "the guy"[1] that clarifies his statements, and how they're being misinterpreted[2] by people like yourself:

> I think it would be helpful if I cleared up some confusion that has emerged in recent days. Some have interpreted my evidence to a UK parliamentary committee as indicating we have substantially revised our assessments of the potential mortality impact of COVID-19.

> This is not the case. Indeed, if anything, our latest estimates suggest that the virus is slightly more transmissible than we previously thought. Our lethality estimates remain unchanged.

> My evidence to Parliament referred to the deaths we assess might occur in the UK in the presence of the very intensive social distancing and other public health interventions now in place.

> Without those controls, our assessment remains that the UK would see the scale of deaths reported in our study (namely, up to approximately 500 thousand).

[1] https://twitter.com/neil_ferguson/status/1243294815200124928

[2] https://www.nationalreview.com/corner/coronavirus-pandemic-n...
Future OS'es (if using SCSI) should test to see if this works (easy test), especially if using that SCSI to communicate with a VM host's (i.e., ESX's) filesystem...
And now it's later today, and the increase in confirmed NJ cases is 2,492, or 56% in a single day.

https://www.nj.com/coronavirus/2020/03/nj-coronavirus-outbre...
What a cool tool! Really handful for students!
Something i like about rust is it shepards you to fast running programs and away from null pointer errors.

something i like about go is it shepards you to write code any other go programmer can follow easily

something i dislike about c# is it has the tools to let you write very very fast code but shepards you to use non devirtualized interfaces over heap allocated classes tied together with linq overhead.
Suppose you're the first person to touch this code in a while. You don't really know how solid it is, but given there's no tests you would be justified in being a bit nervous.

Now you need to change it.

Any future bug discovered is probably going to come back to you, given you are now the last person to touch it and the perceived expert on this legacy monstrosity. Having proof of how the code worked before you touched it not only prevents regressions while you're working on it, but also prevents having to do this sleuthing on the fly with someone wagging a finger in your face. Not only that, but depending on dependency drift you not be able to easily go back and prove the old functionality after the fact, so having this in a CI log will be valuable for your sanity and reputation.
Yeah, my explanation wasn't good. Yours is much better – thanks!

If anyone's curious what the old way looks like, have a look at WordPress's codebase – lots of imports scattered around everywhere with no one single class-loading system.
An article doesn't really mean much in the age of missinformation. You can find articles for whatever opinion you wish to confirm.
Compared to a “normal” cuda workflow is there still a kernel compilation step? And does this streaming make use of texture memory?

Would love a link to any learning resources you know of (especially if they have architecture diagrams)! I am on my phone but I’ll look more this weekend and see what I can find and any input is appreciated!
Oh man, that location at 1604 and Bulverde has a legit Texas BBQ attached; you can smell the wood smoke when you get out of your car in the parking lot. Amazing.
The same word can have infinitely many meanings. So even if we restrict the length of proofs to 140 chars and restrict the alphabet to Latin, there will be infinitely many proofs there: well just start inventing new meanings for the same words.
This is a very good take. I've had a whiff of this idea for a while now, but never fully-formed it. As the author says, it's something that's been missing in lots and lots of language and framework debates and has caused people to talk past each other over and over. It's also a very helpful tool when examining why the cultures around certain technologies are the way they are.
I'm not agreeing with him. But "it is a mass noun" has its own problems. It isn't possible to use "poor" in that sense without using the full phrase the poor. I think it's best analyzed as a fixed phrase.