skysight-inc/HackerNews huggingface dataset:
The recording is local, on the hard disk. I think people are worried that by producing the files, there is just one layer of bug (accidental upload) keeping them private.

I agree. The data should not even be generated if the analytics are not opted-in-to.

I do give them credit for making the system opt-in. They deserve that.
The post I was replying to clearly said that the issue was size not governance. But even with regards to that point I really don't understand how it affects what I said.

My point was that you can't say even a country is in a certain stage because the outbreaks are much more local than that. London is a month ahead of some parts of the country. So its just as incorrect to say the UK is at a certain stage as it is to say it about the EU and USA.
Here's my off-the-cuff take that will not be popular.

A function like this should be a package. Or, really, part of standard js, maybe.

A) The problem it solves is real. It's dumb, but JS has tons of dumb stuff, so that changes nothing. Sometimes you want to know "is this thing a promise", and that's not trivial (for reasons).

B) The problem it solves is not straightforward. If you Google around you'll get people saying "Anything with a .then is a promise' or other different ways of testing it. The code being convoluted shows that.

Should this problem be solved elsewhere? Sure, again, JavaScript is bad and no one's on the other side of that argument, but it's what we have. Is "just copy paste a wrong answer from SO and end up with 50 different functions in your codebase to check something" like other languages that make package management hard so much better ? I don't think so.
If you're using `bash`, A quick remedy for this is:

unset HISTFILE
exit

This prevents `bash` from updating the `~/.bash_history` file on exit with the command you don't want memorialized. (assuming you don't also have some hook that updates your history file after every command)
It's not useful, interesting, or accurate to stratify people this way. You have no idea what someone's intelligence level or background is based on their usage of JS or C.

I loathe JS, but one of the best devs I know likes it. People's mileage varies.

For me personally, there's much more money in easy React products than making games. I'm not a great dev, but I'd be doing this same work even if I were.
It's not NPM's fault, it's developer's fault.

I would never in my right mind publish a one-line package, Python, Javascript, whatever.

And I would never add a one line package as dependency
And unfortunately, there are doctors that will not make a move on an experimental therapy without it going through IRB approval, as I am learning with my own efforts at introducing a portable nebulizer biocidal therapy. Some will not take chances unless they see safety data first - they will let their patients and colleagues die first.

As a former biomedical engineering researcher, this pandemic has been profoundly eye-opening in learning about the resistance to advancing the state of the art of medicine in the USA. (I’m not even speaking about the knee jerk reaction towards banning nebulizers in hospitals thanks to a flimsy NEJM letter last month reporting coronavirus aerosol contaminations.)
FOIA Document on AI-Driven US Mass Surveillance
This is nothing but an attempt at brigading. Get out of here with this.
I think these one-line-packages aren't the right way to go.
Either JS-developers should skip the package-system in that case
and just copy and paste those functions into their own project or
there should be more common used packages that bundle these
one-liners. I mean is_promise() and left_pad() are not worth
their own package. Packages-dependencies of 10000 packages for
trivial programs are just insane.

Is someone going to fix that?
Not the same thing. The hand gestures of the rock, paper, scissors game constitute the entirety of the result. whereas, the actions of the entire company over time, coupled with immeasurably complex interactions with the rest of the world, constitute the result of a stock trade.

You can choose to gamble with stock by buying and selling randomly, but that is a property of your behavior, not the entirety of the system.
I was fine with the ribbon interface when I first encountered it with MS Word. I was in college then, and using that interface constantly.

Now though, I occasionally run into programs that I use once or twice per year that adopt Windows' ribbon interface, and yeah, it's definitely harder to find things than a drop-down menu interface would be.

I have to imagine that there's also a factor of context-switching friction in mixing both icons and words. I think the old approach of "common familiar icons in toolbars, those and everything else in organized drop-down menus" was superior for this reason as well.
> Why draw the line arbitrarily at affirmative action? Why not housing as well? Maybe a quota on high-paying jobs?

Uhh yeah I actually totally think programs to give underrepresented minorities opportunities for better housing would be great. The history of redlining is despicable and we need to work to actively reverse it.

Same with jobs. Programs like Microsoft Explore or Google STEP are active attempts to increase diversity. They're wonderful.
Wow just wow. So here's your new Promise object:

class World {
then () { return 0; }
}
isPromise(new World) // true

If there really isn't a safe and better way to tell if an object is an instance of Promise…then color me impressed.
how does that make sense in any universe. Just because I have a function named "then" does not mean that my object is a promise. Maybe "then" is the name of a domain thing in my project, for instance a small DSL or something like that. arghhhhhh !
> Anti-intelletualism has always lead to bad outcomes really as a whole

There’s a book called “Anti-intellectualism in American Life” by Richard Hofstadter, which explores the history of this [0]. Useful talk on HN too [1].

[0]: https://en.wikipedia.org/wiki/Anti-intellectualism_in_Americ...

[1]: https://news.ycombinator.com/item?id=20989342
The “food chain?” What do you mean by that?
I'm trying to figure out the circumstances that you'd make a promise and not follow through on it.

There's something to be amazed by, by this story, but it's not doing what you say you will.

This thread's...disappointing.
Nice work! What sort of rate limits do you impose on the API?
>Recovered coronavirus patients could be given 'immunity bracelets' to ease lockdown, Matt Hancock reveals (April 3)

https://www.politicshome.com/news/article/matt-hancock-mulls...
I have a bunch of Little Snitch screenshots around here somewhere, but it is easy to reproduce: do a fresh install on spare machine or VM (opt out of all services like iCloud, Siri, Location, MAS, et c), install Little Snitch, and then disable the built-in Little Snitch silent allow rules for “system services/iCloud” or whatever it’s called. Reboot and observe.
My understanding is that Fentanyl is synthetic and that China is the primary source of those (three, I think) precursor chemicals. I don't know enough about chemistry to know if the precursors are derived from poppies but I'm not under the impression that they are. Can you go into more detail on that?

Also I never claimed oxies were smuggled into the US, and I mentioned that people od because their heroin is spiked with Fent, so I'm not sure if you're trolling?
For a certain cohort that likely has a lot of exposure here on HN, "hacker" used to mean "good programmer" sounds perfectly normal.
Agreed. Libraries and tools often don't work in a straightforward manner. Lots of tools reach below the surface and do their own tampering and monkey-patching of the runtime, module system or environment. Layer upon layer gets deposited over time. It's like doing construction on topsoil riddled with unmarked gas, water, and electrical lines.
Not really. NPM relies heavily on semver - https://semver.org/. In this case, the package that was updated updated a minor version, which means it should be backwards compatible, but it wasn't for later versions of Node.

Of course, you can always lock your build to exact versions of your dependencies (lock files in NPM used to be a complete cluster, in my opinion they are less of a cluster now - you can pretty much do everything you want with them but there are some gotchas that make it easy to shoot yourself in the foot). The issue is that when you run 'npm install', it will pull the latest semver-compatible versions of your dependencies.

So for everyone decrying how this is a bad example of NPM and the javascript ecosystem, I really think the opposite is true. Yes, it broke a lot of upstream dependencies, but importantly only for new builds of those items, and furthermore it was found almost immediately.

Also, of course, you can specify exact versions of your dependencies - you don't have to rely on semver. That means, though, that you need to be more vigilant about pulling in bug fixed and security fixes, and most people take the tradeoff that they are comfortable pulling in patch or minor versions, but using lock files once they have a build they have verified.
I'd say that it should rather be a part of the type system.
Some kind of `obj isa Promise` should be the way to do this, not random property checks. But that's JS...
Yes it is. Frankly my view of the medical professional community is much lower now. MDs are really just glorified infantry on the frontlines. The lack of creativity, which presupposes degrees of original and independent thought, is striking.
I sincerely hope you're being sarcastic here.
Swift playground for modeling Covid-19 cases in NYC
I was wrong about what this was I have edited this comment
A 2015 critique of the package vs mathematica.
Are humans constantly but subconsciously smelling themselves?
If they'd pinned the dependency versions, and ran the tests before updating the pins, the tests should have catched it.
That is true, but it's also been my experience that better discussion happens in smaller forums. Whether that's usenet, reddit, or HN, when it's new, you feel like you're speaking to a small group of people vs. shouting in a large room.

The quality of discussion on HN have dropped over time and a large part of that feels like that with more people trying to get their opinions heard, there's a lot of interesting opinions that are missed. Just look at the difference in upvotes between early posts and later mid-thread discussions, if you use that as a proxy for readership, there's a lot less people engaged because conversations get harder to follow and it's not easy to identify conversations that are new to you.
Believe it or not, there is a very small number of keyboards that use custom USB 3.0 controllers purely for isosynchronous mode, to get "PS/2 port interrupt"-like behavior.

However, if you have a modern USB 2.0 "gaming keyboard controller" polling at 1000ms, who cares. Job done, go home.
Games getting us through Covid-19
I'm totally with you on this. It's dumb that this is a problem but it is actually a problem.
> then push (or respond to a poll with) the complete contents of the buffer as a single USB packet; and flush the buffer on ACK

Two issues. Unless you use USB 2.0 high speed, USB "packets" (transactions) are small[1]. For low speed they can have 8 bytes of data, full speed 64 bytes. USB 2.0 HS is a lot more costly of course.

Secondly, keycodes that are sent in the same report have no defined order[2]. Thus if two keys were not present in previous report and are present in current report, the order in which those two keys are pressed are indeterminate to the OS.

So that would not be very helpful I think.

[1]: http://www.usbmadesimple.co.uk/ums_3.htm (Interrupt Transfers)

[2]: https://www.usb.org/document-library/device-class-definition... (Appendix C)
Tyler Winklevoss: The Fed Has Set the Stage for Bitcoin to Rise
There’s a saying, “progress is made one funeral at a time”, especially in science but also in other areas; smbc had a good comic about it too a whole back (am in mobile and can’t find it now).

Linus Pauling famously and successfully used all his night to reject the idea of quasicrystals. The Updated concept of crystals was adopted shortly after his death; i can’t say I was able to track the history - there is an enormous amount of whitewashing - but it seems initially everyone rejected quasicrystals, but eventually people started to look at ahechtman’s evidence - and accept it, except not publicly because the luminaries of the field led by Pauling rejected it. And then Pauling’s funeral allowed the science to finally advance.
That’s the paradox of productivity. You create a machine to make bread and all that happens is that bread gets cheaper in time terms once you strip away the money abstraction.

You can see this by comparing production relative to something that can’t be automated away but is still valued over time - like a violin player.

The machine forces people in the same business down to your level, but people in a less automated arena go up in value relative to your bread.
I wonder if there's any legal prohibition against excessive bets in canada. Is there a law or doctrine that invalidates such contracts, or is it just courts saying "this doesn't look right to us, therefore it is invalid"
I've just tried PlantNet for the first time. In the one case I tried it on, it seemed better than PlantSnap, which I installed a couple of weeks ago. There's a flower I've been wondering about for years. It looks very like a Forget-me-not, which grows in a number of places nearby and flowers at the same time, but has wider leaves. After quite a few attempts with PlantSnap, it came up with Chinese Hounds Tongue Forget-me-not[0], which sounded plausible. However, after a much smaller number of attempts with PlantNet, it suggested Green Alkanet[1], which I'm starting to think is more likely, e.g. due it flowering earlier and being more weed like. Not an expert, and I know this is only one test case, but based on this I'm favouring PlantNet. Looks like there will be fewer notifications too.

[0] https://www.rhs.org.uk/Plants/5194/Cynoglossum-amabile/Detai...

[1] https://www.rhs.org.uk/advice/profile?PID=1001
In theory `x instanceof Promise` would work, but the reason for this package is that there are many non-standard Promise implementations in the JS world.
Deno is much like node (uses the V8 engine, does not require a browser) and was created by the man who created node.
What Philip K Dick Thought of Blade Runner (2017)
The backslash behaviour with slant is... unfortunate.
Is this an exact clone? Why is it cheaper than a rpi?
Free cryptocurrency market data API
This is very well known by now https://www.theguardian.com/technology/2020/feb/20/revealed-...

I would be willing to be that most AirBnB hosts are not registered businesses and paying the taxes they owe... for running hotels

——

From @amiga_500

I'll add my comment here as I mentioned unearned income, which hacker news really don't like, so they gave me the fake "you're posting too fast" even though I've posted nothing for over 20 minutes.

Ah so that’s what triggers it! Same thing just happened to me!
When Will Covid-19 End
Are all the technical people you know eccentric Richard Stallman types? There’s definitely a subdemographic out there that would never touch Word, but out in the real world everyone (technical or not) uses word processors (almost always MS Word) to produce low effort documents.
Why would a Rust wrapper around the C++ project that is V8, which implements a garbage-collected programming language and environment, "use less ram" just by virtue of some parts of it being written in Rust?
It's almost as if treating a dynamically typed interpreted language as if it had static types like C++ is fundamentally broken.
What is /usr/bin/cd for? cd is supposed to be a shell built-in, because running /usr/bin/cd will make another process and that cannot change the current working directory of the shell you are in.

EDIT:

$ cat /usr/bin/cd
#!/usr/bin/sh
builtin cd "$@"
This uses data on confirmed deaths from NYC department of death in the included data.csv but you can easily switch that out to whatever region you have the data for.

Uses confirmed deaths, estimates for mortality rate and mean number of days from infection to death are used to estimate the cumulative number of deaths.

Then using the serial interval (estimated time between infections) uses the estimated number of cases to estimate the R0.

Finally, uses the most recent estimate for R0 to project forward to see how long it may take to reach a certain number of new infections.

I'm pretty sure I've messed up somewhere in my logic here because the results are really positive for NYC (too good to be true) so any feedback where might have gone wrong is appreciated!
According this this library, maybe. According to the specification, no: https://promisesaplus.com/
> pin your dependency versions

And then to see "npm detected 97393 problems" or whatever the message exactly is.
No, this does not happen everywhere. Show me this happening in Debian.
I also had thought of “resource configuration”.
I hope that more packaging systems take the go modules approach and cryptographically and immutably identify their dependencies at time of addition to the project. This sort of breakage shouldn’t be possible.
Mint is also a possibility. They don't use snaps but flatpaks.
Exactly. We use Renovatebot for the same purpose. It pins dependencies and creates PRs for updates.
Amazing to see how often the builds break, even sometimes after minor updates. But at least we fix them before release, and not after... :)
Apple/Google contact tracing will work without apps [pdf]
The Virginia Tech Tree ID app is quite good, although it only covers North American species.

https://dendro.cnre.vt.edu/dendrology/idit.htm
Abilities are comparable but it is not compatible (other than using the same CPU architecture, but not e.g. the same GPU family) and definitely not a clone.
That’s good: it’s easy to update and it means you do it in a controlled manner rather than the next time something deploys.
Personal growth, learning group dynamics, interactions, etc.
Same reason I would rather my kids to go to regular school and college instead of remote ones.
i don't have and concrete UX recommendations, but for me (a casual Office user) it always somehow manages to show both too much and too little... i.e. there's this distracting mess of buttons and fields on the top bar, but i still have to fish around various tabs to find what i'm looking for. and i can never remember which tab stuff is in, kind of like the way they grouped things in the Win10 Settings app
The regression suite never gets to run if it shares the dependency.

And the system under test shouldn't even compile for the tests to run either. So it isn't so much the regression suite saving you so much as it is just acting as the client of first resort.
Deaths lag infections by weeks. If anyone got sick from those protests they haven't been sick long enough to make it to this statistic.
>Is someone going to fix that?

Probably not. There is too much code in the wild, and NPM owns the entire JS ecosystem, and there has been too much investment in that ecosystem and its culture at this point for a change in course to be feasible.

The JS universe is stuck with this for the foreseeable future.
You can't give feedback about the search results.

You can't opt out of advertisement results.

They link you to their amp pages, again, with no choice.

You get news and trending results when you were looking for something more factual.

You can't give feedback about the search results.

Search results are at the whim of SEO and not usefulness.

Sometimes Clickbait.

Search operators are much less useful than they were before.

Etc..
The problem is likely an insurmountable one - If you can offer storage to someone on your spare capacity in such a way that you make any money at all from it, it's likely that the cloud vendors with their economy of scale and cheap electricity can undercut you and capture the market.

Unfortunately for the dream, centralisation offers efficiencies and reliability that are hard or impossible to match.

It may help drive their prices down though.
> Or, really, part of standard js, maybe.see:

It's a part of node, at least: https://nodejs.org/docs/latest-v12.x/api/util.html#util_util...
EconTalk. Many different subjects viewed through the lens of economics. Generally free market outlook but incredibly thoughtful and always interesting guests.

The History of Byzantium. Follows Mike Duncan’s The History Of Rome and carries the story on in the eastern empire.

Hardcore History

The Editors. If anyone is looking for the steel man (as opposed to straw man) version of the conservative perspective on the news of the day, this podcast from National Review fits the bill.
I feel the real issue here is downstream package consumers not practicing proper dependency pinning. You can blame the Node ecosystem, the maintainer of the package, etc. but there are well-known solutions to prevent this kind of situation.
> The only way to play Bridge without cheating is to isolate each player in a separate room, confiscate all electronics, and have them play on provided computers running electronic Bridge that only transmits bids and cards played.

You'll still have "cheating" in this scenario. The rules of bridge consider it to be cheating if partners have a bidding convention that they don't explain to the other team. It's stupid, but those are the official rules.
The prediction is complete BS, because they use SIR model without mitigation. Reproductive number is temporarily close to 1 in most countries used. Without mitigation it's something like 2-3.

They use wrong model.
There is nothing wrong with pursing touch typing (or any other skill for that matter) for its own sake, and all else being equal typing fast is better than typing slow. My point is just that all else is not equal. The benefit of typing fast in terms of time savings is linear at best but there are ancillary effects to typing slow that can accrue non-linear benefits.
You should really make people aware that they are uploading their photos to your server, and provide some sort of privacy policy. This is a total dealbreaker for me.
The thing is that there is the Promise "class", which is provided by the environment, but there is a interface called PromiseLike, which is defined as having a method called then that takes one or two functions. Now, JS doesn't have nominal typing for interfaces, so you have to do "random property checks".

Typescript partially solves that by declaring types, but if you have a any variable, you still need to do some probing to be able to safely convert it to a PromiseLike, because TypeScript goes to great lengths to not actually produce physical code on its output, attempting to be just a type checker.

Perhaps if TS or an extension allowed "materializing" TS, that is `value instanceof SomeInterface` generated code to check for the existence of appropriate interface members, this could be avoided, but alas, this is not the case.
Just scanning the listing, it looks like it lacks:

- wifi
- bluetooth
- 1 HDMI port (pi4 has 2 ports, this has 1)
Doesn't the lock file lock exact versions?
I think perhaps you vastly underestimate employee turnover.
This will work for a standard Promise, which is great, but not for weirdo made up promises. It also was released, I think, in 2018.

It's one thing if you own the entire codebase, but if you're building a popular, multiple-years-old library/framework, you can't make the same assumptions.
How frequent are intraday updates?
There is like 20 pages of reading, yet no mentioning how much RAM is in this thing...
How is it different from frankfurter.app ? (from the original creator of fixer.io)

Side note: I always wonder about those stories like uBlock Origin and fixer.io where the original author sold or lost control of the product and then restarted a fork of their own work :) there’s something slightly weird and fun about it somehow