skysight-inc/HackerNews huggingface dataset:
What you need is Microsoft like linux VM environment, with direct support by Apple. But even boot camp ... but competition might help. When developer moves to windows for its linux Env., it may trigger then to rethink about mac. But probably not. Sadly.
Today, was actually the first time that I used the vim time travel feature. I noticed that I had deleted a line by accident somewhen during the last few minutes. So I typed

:earlier 5m

and copied the line. Afterward, I typed

:later 5m

and was back where I started, ready to paste the missing line :-)
I asked "what was the point", which was apparently too aggressive for you, but accusing me of "unsubstantiated bitching" isn't aggressive?

Nuts how childish some commentators on here can be.
There are a lot of idioms. A very common one, I think the current default, is to pin only the major version in the dependency list, and also to lock exact versions in an installer-generated lockfile following a successful install. If you find a locked version breaks your code, you adjust your dependency list, nuke the lockfile, and let a reinstall build it again.

The idea is that pinning major versions lets you get non-breaking improvements from package authors who use semver properly, and pinning exact known-good versions lets you avoid surprises in your CI builds.

It works pretty well when you start from a known good state and vet your dependencies reasonably well. The trouble here seems to be largely that CRA is designed, among other purposes, to serve people just getting into the ecosystem of which it's a part, and those people are unlikely to be familiar enough with the details I've described to be able to effectively respond.

The comparison with left-pad is easy, but this isn't at all on the same scale. It's a bad day for newbies and a minor annoyance for experienced hands. And, of course, cause for endless spicy takes about how Javascript is awful, but such things are as inevitable as the sunrise and merit about the same level of interest.
The Lessons of History, Summarized
The person with the bigger army?
I'm just not sure we should demand Harvard change their admissions to be based on some particular metric. Ensuring Harvard's student demographic matches the demographic of peak GPA and test scores just harms Harvard in the long run while doing nothing to improve the systemic issues in society that lead to institutions like Harvard. Harvard isn't creating business and political leaders, they just won the game of getting future leaders to come to their school. And that's the paradox of this whole thing, a Harvard that's mostly Asian isn't Harvard. Wherever the rich well-connected white males are going will just be the next Harvard. The underlying issue here is systemic and can't be solved by punishing Harvard.
I'm only finding about it today TBH. Usually I go for what this library does:

function isPromise(obj) {
return typeof obj?.then === 'function'
}
> IANAL, but betting half a million dollars on three hand gestures qualifies as excessive imho.

IANAL either but to me the law/government is there to uphold contracts. Not judge if they are smart or deemed a good idea.
> My son in college...could easily take care of one before it expired. Hell, we could too.

I'm calling bullshit. Went through this in college. There's 165 12oz beers in a standard keg. If you don't refrigerate it (which you probably can't), that beer is going to go bad well within a week once it's tapped. That means to finish a keg between 2 people you're drinking 11+ beers per person every day. I mean, yeah that's doable, but if you're a normal human being, it's not that fun.
Of course. You don't even have to be all that wise about it: just a flat handout disproportionately affects the wealthy.

To get around capital flight (people reinvesting in non inflatory currency, sinking the international buying power of said currency), though, it probably needs to be able to economically isolate, or be universal enough that there is nowhere to flee. And when you do that, you might realize just how much everything is built on the ongoing suffering of the global poor.
> Deno appears to be trying to become the Linux of Javascript

Deno always sounded more "like the Plan 9 of Javascript" personally to be honest. It seems to be better (yay for built-in TypeScript support! Though I have my reservations about the permission management, but that's another discussion) but perhaps not better enough (at least just yet) to significantly gain traction.
It's not like pinning means you can /never/ update. You just get to do it on your own schedule.

You can even automate updating to some degree -- running your tests against the latest everything and then locking in to those versions of all goes well.
PyCharm Community Edition is open source, free and great.
Hospitals are losing money on covid patients, and the more treatment they require (ICU, ventilator, medication), the more the hospital is losing. They do get paid about three times more for an intubated patient, but they lose more money too.

Hospitals make their profit off voluntary procedures like shoulder and knee surgeries and the constant flow of voluntary tests and procedures ("I just want to get this checked out"). They lose a lot of money when people spend three weeks in the ICU.

This is especially true when a huge percentage of the patients are Medicare or completely uninsured. Privately insured patients with good policies are better, but they still aren't getting rich off those people.

I have no sympathy for the hospital systems or the entire medical industry that has created a massive bureaucracy full of perverse incentives, exploitation, overbilling, and accounting games, but in this particular situation, even with the massive federal handouts, they're not making bank.
It's been a couple of years since I wrote python seriously, but MyPy/Pylint annotations were showing up nicely in emacs, IIRC.
Clojure/Script is more geared towards experienced developers who want the power to do whatever they want, in a conscise, expressive and customized way. They value flexibility, and immediacy, and like to know all the ins/out of their tools.

Elixir is a version of Clojure adapted more towards the Ruby model of making things easier for developers, giving people more focus, less choices, emphasising best practices, and overall offering something more familiar looking to most. It's complemented by Phoenix, which has similar goals, it is focused, directed, gives people a clear path forward.

They're both capable language, but you can see they have different focus and are geared towards people looking for different things.

So it depends what you're interested in:

If you like to do things from "first principles", meaning, you want to understand starting from birth and grow to adulthood, then Clojure/Script is for you.

If you prefer to do things "on the surface", meaning, you want to just get going with a project, see something get build fast, before you understand exactly how it all works, i.e., you want to start from adulthood, and slowly (or never) make your way back to the birth, then Elixir/Phoenix is for you.
Interesting.

I have once written for a journal that insisted on latex but can't say I found it a good way to work (and that's after plenty of experience with it including a phd thesis). I can see how it might be better for math heavy writing, especially 10 years ago, but most of the basic latex math commands work in word now anyway.

If that field frowns on word so much it should just insist on latex for paper submissions to save anyone the embarrassment, but people enjoy being dicks I guess.
The article drops some names and, I guess, expects you to have heard of them. I have heard of Namal, so that is an instant indicator to me what they mean in this case by 'great'.

I'm not sure that I buy the 'this will scale when floodgates are open' follow up though. Although with the recent 'famous person goes live on Facebook and interacts with fans', it might work!
Previous discussion: https://news.ycombinator.com/item?id=22955077
Define "perfect."

If we want an app that will work for all possible users, then, yes, it is impossible.

If, however, we want a UX that is optimized for only a certain set of users, then it may actually be entirely possible; especially if we can depend on user training.

Tufte is big on interfaces like that. Some of his ideas are weird as hell, at first blush; but, as soon as we start to grok it, it's great.

I remember the Japanese train schedules and maps in the Tokyo stations. They looked like complete monstrosities, at first. However, after I'd been there a couple of days, I learned to use them to very quickly find my stations and cost.
According to hardkernel.com the Odroid-C4 runs Ubuntu 20.04 + Kernel 5.4
There's only "too much luck" in games like poker, or backgammon, sports betting, over a short timeline, which is probably longer than you think. That can be hundreds, or even thousands of hands or games.

Over a statistically large sample of hands or games, skilled players will almost always dominate unskilled players.
That's mostly a software issue and can be rectified. The 4.18 kernel doubled my battery life
Decadance in the Kitchen
sorry, but no AI can come close to any decent composer
Also, if you have an absurd amount of money, your days become 8-10 hours longer because you don't need a job to pay your bills, which effectively doubles your remaining (awake) lifespan.

Yeah, everyone knows that rich people live longer on average, but most people don't realize how much longer.
Where do you work and are you hiring?
Maybe its a failure of the language when it takes a third party package to determine if a number is greater than or less than zero?
From the FAQ's:

The API delivers EOD / End of Day historical exchange rates, which become available at 00:05am GMT for the previous day and are time stamped at one second before midnight.
Here's an interesting video from another MD who provides some much needed nuance to Kyle-Sidell's insights.

https://youtu.be/Fz2gyhto-iI?t=767
More rumors claim Kim Jong Un is dead
intuitive and easy for inexperienced users (like a iPad)

And yet my dad is constantly confused and frustrated by all these gestures he keeps invoking by accident. In truth, iOS is loaded with power user features that constantly surprise beginners. The same is true for macOS with all of its trackpad gestures and complicated windowing features.

The last truly user friendly operating system was Classic Mac OS. It had a consistent user interface backed by extensive research into human-computer interaction. It used powerful spatial metaphors that worked with the brain’s spatial memory [1], not against it like today’s “smart” systems that try to guess what the user wants.

[1] https://arstechnica.com/gadgets/2003/04/finder/
Dr. Zev Zelenko Addresses Chloroquine/Zinc/ZPAK Critics
In theory, every additional binary configuration item doubles your state space, because you have all the old state space, but now both with that value on and off.

It is tempting to say that in practice the result is less than this, but in practice, it isn't. Adding a binary option may seem not to double the state space because it only modifies a small portion of the original space. e.g., imagine an option that the user sets to force all emails to be in ALL CAPS. Strong abstractions can mostly contain that state space increase in a principled manner to just that email code, for instance.

But if you've been doing this for ten+ years, you've almost certainly encountered the moral equivalent three other supposedly equally-well contained things interacting to produce a bug. Maybe if the user set this setting to true, and was using your UI in Armenian, and all the other settings on the page are in their longest possible form in Armenian, and your UI guy used a fixed-size frame ever so slightly incorrectly, your setting disappeared off the UI entirely, just to draw one example out, even though you had a "proof" that this setting couldn't affect anything but the email code. Any number of other ways this could go wrong.

None of our tools are good enough to fully contain the exponential state space explosion exponentially correctly, and it will sooner or later push through your best efforts to contain it. One of the best ways to prevent this is just not to feed the exponential monster.
The commenter is talking about weekly scheduled home delivery of cases of beer and soft drinks.

Many communities in the US had similar deliveries for milk back in the day.
Been using PlantNet for a few years, rather surprised to see it up here.

It's probably the best of its kind, as long as your photos are sharp and well lit.

For scientific identification you still absolutely want to verify with a dichotomous key, but it's really good for quickly getting genus.

Out in nature, you can cross-check with something like https://wildflowersearch.org/ to help verify that you have the correct species.
The very next comment thread is about unreasonable load that web crawlers create. http://1997.webhistory.org/www.lists/www-talk.1993q3/0001.ht...

Great proposal from Nathan Torkington that search engines be called "Josie and the Pussycats". Somehow Larry and Sergey didn't get that memo.
The times where I’ve learned someone was lying on their resume, it was always someone claiming extensive experience. Several were managers, where it’s easier to bluff, but there were applicants for senior technical positions who were apparently hoping nobody would expect them to deliver.
I see. Much appreciate your prompt response.
This is the usual BS argument, voiced to make discrimination OK again. Seems obvious you have to look at race, to work to level inequalities in race. But the kneejerk response is to say "Hey that's just more racism!"

They are different in kind. One (racism) works to systematically suppress one segment of the population. The other, taking action, works to correct this effect. Both operate on racial lines, but that's where the similarity ends.

You have a car that pulls slightly to the left; so you steer a little to the right to correct. Sure, we'd all like a car that steers straight. But it pulls to the left, what you gonna do?

{I know the previous comment was probably some robotic troll, and I should ignore it. But that lame justification for racism gets my dander up.}
Please edit acerbic swipes out of your posts to HN. Your comment would be just fine without the swipey bits at the start of each paragraph.

https://news.ycombinator.com/newsguidelines.html
Of course, hence the quoted bit. I never said facists had any spec of emperical correctness, I just was trying to explain how 14 words ties inevitably to their ideology.

Not sure who that got down voted by, but I am going to charitably assume it was people annoyed with me engaging in a conversation with a likely troll at all.
Attempting is a prerequisite to pulling it off.
And it's worth noting that Ctrl-Space sets the mark to the current position, just like in emacs. (TIL!)
> Over a statistically large sample of hands or games, skilled players will almost always dominate unskilled players.

That's true of any game or sport, though. Poker is just one in which that is "less true".
I think this brings up a good point. Is copy and paste considered a workaround? While a considerably low tech solution it does defeat any and all paywalls. If we also consider it a workaround the we should simply change the answer to "Are paywalls ok?" to "Yes, but be kind to the reader and copy the content to a paste and submit that as a comment".
You can compile PyTorch this pretty easily, I wrote a recipe here:

https://lernapparat.de/pytorch-rocm/

No docker involved, just Debian + the ROCm packages from their repository.

I'm doing this relatively regularly, and it has worked well for me for the past half year or so.

I guess I could upload wheels somewhere, but I'm never sure how tight the dependency on ROCm has to be.

Over the last release cycle, PyTorch/ROCm gained support for TorchVision including GPU ops among other things (based on support for extension compiled via setup.py). Master has support for loading extensions that are compiled just in time.

If you find things not working as well as they should, don't hesitate to tag me on a bug report or send a mail.

(The PyTorch/ROCm is mostly for my own entertainment, so I don't speak for anyone.)
I’m working on a thing I’m calling DriftWatch that attempts to track, objectively, how far out of date you are on dependencies, which I call dependency drift. I’ve posted about it here before [1]. I’m using it in my consulting practice to show clients the importance of keeping up to date and it’s working well.

I agree with the parent that it’s important to lock to avoid surprises (in Ruby, we commit the Gemfile.lock for this reason), but it’s equally as important to stay up to date.

1. https://nimbleindustries.io/2020/01/31/dependency-drift-a-me...
I think what is meant here is that it takes a moonshot and massive amount of funding for even the chance of getting it through.

They are untenable relative to bootstrapped businesses that arise from more modest financing.
Not really, with python there's a habbit-acquiring curve but you end up with longer lasting more readable and maintainable assets that can be modularized refactored etc.
perl is write-only and has little going for it afaic but ymmv.
I'm almost certain you already read this guide [1], so I ask: where did it fail you? It definitely wasn't straightforward, but I managed to get it working fine in a couple of hours (Windows 10 1903, WSL 1, Ubuntu 16.04).

[1] https://nickjanetakis.com/blog/setting-up-docker-for-windows...
U.S. Reels Toward Meat Shortages and the World May Be Next
Maybe aligning functions would help. The compiler likely does that for the C version.
It's 2020 and they're still doing that chickenshit hybrid MBR crap that violates their own goddamn Tech Note?
https://developer.apple.com/library/archive/technotes/tn2166...

A hybrid MBR by definition is not GPT compliant. And failure to comply does in fact routinely result in the loss of user data. It was always appalling incompetency by Apple that Boot Camp ever used hybrid MBR for even one day. To still be doing this in 2020 I consider bordering on malicious.

There's no legitimate technical reason for this.
But you can't contract to do something illegal, and contracts must have consideration ("this for that"). Not sure what their test for excessiveness was.

Reminds me of predatory lending rules like charging more than X% interest is excessive.
Neighbor Meals
Users flagged one of your comments and then you deleted it. Moderators didn't touch it or even see it.

Since you have a long history of flouting the site guidelines here, using multiple accounts, I'd guess that it was flagged because it broke the guidelines.
> I'll teach my kids that skincolor doesn't matter and to NOT judge based on that ever.

And you'd be a fool to believe you are the first person to teach their kids that and expert it will solve problems.

You're belief in a color blind society actually perpetuates the problem--by ignoring injustices that have happened historically, and currently, to people of color.

I'm teaching my kids that sometimes life plays hard, especially since they are bi-racial. A person isn't defined by their race, but it is part of their identity, and they may have different experiences that should be valued and appreciated.
Paywalled.

Not judging articles behind paywalls, but it would be nice to have an easy indicator on HN for such articles.

[Paywall] Millions of Credit-Card Customers Can’t Pay Their ...

^ would have been a more useful title.
Photomath – Computer vision based math solver that shows steps to solution
You'll actually find it pretty easy to learn both. Elixir was very inspired by Clojure, so it works similar to it in a lot of ways. It is like taking Clojure and removing the Lispy aspect from it (which to me is the biggest downside of Elixir, as I love Lispyness, but that also makes it more approachable and familiar to people without a Lisp background).

The biggest difference will actually lie on the host platforms. Learning BEAM and Erlang standard library Vs learning JVM and Java standard library.

For complenetess, I want to point out there is also a Clojure variant running on BEAM/Erlang called Clojerl found here: https://github.com/clojerl/clojerl

Development is pretty active, and I think it is approaching maturity pretty soon.
vim with coc.vim and coc-python extention. works great
Lile...

x instanceof Promise

It works for standard promises, sure there are non standard promises, ancient stuff, that to me shouldn't be used (and a library that uses them should be avoided). So why you need that code in the first place?

Also that isPromise function will not work with TypeScript, imagine you have a function that takes something that can be a promise or not (and this is also bad design in the first place), but then you want to check if the argument is a Promise, sure with `instanceof` the compiler knows that you are doing, otherwise not.

Also, look at the repo, a ton of files for a 1 line function? Really? You take less time to write that function yourself than to include that library. But you shouldn't have to write that function in the first place.
Thank you for posting this! I had no idea this existed.

It looks like all the rates are published with EUR as a base currency, so if you wanted to get the USD <> KRW exchange rate, you would have to use EUR at an intermediate. This is probably good enough for most applications.

For anyone else that was wondering, this XML feed is linked off of this page (as well as CSV, RSS, and PDF): https://www.ecb.europa.eu/stats/policy_and_exchange_rates/eu...
The "idiomatic way" is to use a package-lock.json, which keeps the dependencies (and transitive dependencies) at the exact version specified unless you decide to upgrade them.
Harvard Square has this, by happenstance. There are entrances to the T on both sides of Mass Ave. and you don't have to go through the turnstile to cross from one to the other.
Email us when the transcript is up and we might be able to give you some tips.
What is the issue with XML ?
The reads like a fluff piece that just doesn't add up. Dropbox mentions testing 14TB SMR drives in the post from June 12 2018 https://www.anandtech.com/show/15457/western-digital-roadmap... . If I have a look on Amazon right now, the largest HDDs are 16TB CMR drives, not SMR.

Anandtech has a post based off of WD's press release from December 23rd 2019 here https://www.anandtech.com/show/15457/western-digital-roadmap... . The energy assisted MAMR drive is 18TB in capacity, while the SMR drive is 20TB in capacity. Where's the 25% capacity benefit? Shouldn't the SMR drive offer a capacity of 22.5TB?

Have a look at this https://www.anandtech.com/show/15457/western-digital-roadmap... article at Anandtech posted January 31st 2020. Note the side by side comparisons of projected growth of SMR drive capacity shipments. SMR growth projections are always right around the corner in the next 1-2 years. Why is this? Quite simply the market doesn't want SMR. Non-SMR technology continues to improve, eliminating SMR's capacity advantage after a period of time without SMR's orders of magnitude performance penalties.

If SMR was more than just a one time 25% capacity advantage it might be worth buying into. But it doesn't. It's a technology in search of a market that just doesn't exist because of all the downsides. HAMR and MAMR are the promising technologies to increase HDD capacity, not SMR.
Geometry Central: library of data structures, algorithms for geometry processing
Illegal Bets, Match-Fixing, Doping: The Dark Side of Esports
1. Millions don't pay off their credit cards regularly, so this could be a headline any month. About half of people are in this boat.

https://www.cnbc.com/2019/03/19/70-percent-of-people-with-cr...

Obviously, it will be more because of COVID, but the details aren't yet available.

2. I wish WSJ would just let me pay for the article. I don't read them enough to get a $20 subscription, but would I pay $2 to read that? yes.