skysight-inc/HackerNews huggingface dataset:
Python 2's core devs say 'fond farewell' while releasing its final version
Not really. The green screen gets you 85% of the way there, the rest needs a human to make an artistic decision as to how much hair to cut round.
Click on the country and then "find out more"
Maybe I'll give Atom a try. I switched from it to VSCode a few years ago because it just wasn't as stable and didn't perform as well, but if the Python support is better it could be worth it.
Our coronavirus questions, answered by experts
Apple tried that with news plus. Didn’t drive enough traffic.
I will give you 100-1 odds you could not beat me in rock-paper-scissors 20 times in a row.
The assembly is not bad for a beginner but far from optimal. A few things that stand out from a quick glance:

1) Try to load things sequentially don’t load from offset 32, then 0, then 16.

2) Don’t use the loop instruction

3) this code:

dec n
cmp n, 0
jne 1b

Can be replaced with:

sub n, 1
jnz 1b

Which will actually be executed by the processor as a single instruction (macro-op fusion).

4) Interleave your expensive instructions with less expensive ones. Try to interleave multiple dependency chains to let the processor see more of the parallelism.

Your two divisions one after another will be limited by available execution units capable of doing the divide.

5) Lastly align your loop labels to 16-byte offsets. The assembler will do this for you with the ALIGN directive.
Was trying to make an, uh, apples-to-Apples comparison, so yes, I'm also in the market for an AMD but that understanding long-term-quality of components isn't ... well, I guess I have no idea how to measure the "quality" of a laptop if it's not simply "go trust Apple".

I mainly go back to the batteries I had to buy for one laptop.
iSpindel – DIY Electronic Hydrometer
Can someone help me understand why a library like this is even necessary? Can't you just wrap everything and treat it like a promise?

const aPromise = Promise.resolve(1);
const notAPromise = 2;

Promise.resolve(aPromise).then((x) => console.log(x));
Promise.resolve(notAPromise).then((y) => console.log(y));

// Logs:
// 1
// 2
https://www.imdb.com/title/tt1637688/
It's just a reflection on hard it is to survive in USA. For most people, saving up that much money is a total luxury. Plus, having no real safety net from the government when you get sick or lose your job (like we do in EU) just makes it much worse.
Apple News ($10/mo) includes WSJ and LA Times
Irishman here. Not to further a cultural stereotype but.. I know plenty of binge drinkers who could put away 20-30 pints[1] over the course of a day-long drinking session. Get a couple of them together and they'd finish a keg that size in 2-3 days.

[1] Imperial pints: 568 ml / 19.2 US fl oz
It goes without saying that OSX has the worst driver support out of Windows/Linux/OSX simply because OSX supports the smallest range of devices it will run on. Windows runs on hardware from a wide range of OEM's, whereas OSX only supports hardware produced by Apple. Try running a hackintosh and you'll very quickly see what I mean. Linux driver support used to be garbage but it has gotten quite good lately. User friendly distributions like Ubuntu typically work out of the box now.
Apple News+ tried to take that approach, and from what I’ve heard it hasn’t been working out as well as they had hoped.
How would a top level dependency change versions if it bumped a transitive dependency? Is that a thing in js-land?
It's less about JS and more about semantic versioning (semver). So you're supposed to be able to expect that the API interface of the library is not changing on the second or third version number, only on the first one, in this format: MAJOR.MINOR.PATCH

But as we're still doing human versioning one way or another in package management, there will always be cases where it doesn't perfectly follow its versioning scheme or otherwise behaves unexpectedly because of a change. It's almost like we need new ways of programming where the constructs and behavior of the program/library are built up via content-addressing so you can version it down to it's exact content.
"People are stuck at home - whether they want to watch their box set of Peaky Blinders or somebody's isolated and they want to keep in touch with family."

Maybe I'm missing something, but how does watching a box set of Peeky Blinders require a telecom network?
When I was travelling in Canada I was checking if the water was safe to drink. And the government website argued it was safe to drink tapwater precisely because it was purified with the help of chlorine. In Netherlands many of us have the opposite view that it's not safe to drink tapwater if there is chlorine in it (let alone the taste). Interesting contrasts in cultures :)
I drove by Target today and the lot was full. Target doesn't have any kind of social distancing policy so it was business as usual, no lines or anything. Literally across the street is my friend's small restored furniture store, which is closed because it's non-essential. It's a husband-wife who own it, and even with the loans they just got they told me they've only got another 3-4 weeks until their business will collapse, another 3-4 weeks after that and their personal finances will be in serious trouble. Sure they'd like to be in a better financial position in the first place, but that's kinda the life you choose when you restore furniture as a mom-n-pop I guess. I respect them either way.

The question many small business owners (and their employees) are now asking is "Non-essential for who???" Because for millions of people, it's as essential as it gets.

I started out believing lockdowns were necessary, but I've found myself drifting towards believing this is all complete madness, that politicians have failed to draw any distinction between reasonable health precautions in problem areas and unreasonable blanket policies that impose draconian, permanently life-altering measures on everyone. Maybe we really need the scalpel approach rather than the nuclear bomb. And in doing so it's clear that we're inadvertently creating much longer-lasting problems.
1. I think that has been tried. A lot. It never worked. Micropayments and custom browsers and “crypto”…almost nobody will pay for individual articles, unless it's in a highly lucrative and niche vertical.

2. But also yes, if it’s like trying to deal with a NYTimes subscription, break out the fax machine.
Useful (and I am downloading) but then I am killing newspapers. I would happily pay $50 a month for news. The problem is that the news I read is spread all over the place so I really just spend $10 on the Economist.
Sounds like you might be looking for https://blendle.com
>Netflix for News is something that is urging to be invented.

Ehh seems like we skipped over the "Netflix" aggregator stage for news and went straight to the distributed content model for each news source.
...which led to a level of inequality comparable to slavery:

https://en.wikipedia.org/wiki/19th-century_London#Poverty

https://spartacus-educational.com/U3Ahistory21.htm
Weinberg's Law: If Builders Built Buildings the Way Programmers Wrote Programs, Then the First Woodpecker That Came Along Would Destroy Civilization.
Lol maybe it's just me but instead of paying $2 to read an article I just block all the paywall sources.
If you use Amex, there is a one-time offer until 5/1 to get one year of digital access for $112 (after $75 statement credit).

http://wsj.com/amex
Only as much as it ever is. That's why I'm making fun of it.
While holding debt encouraged, I would argue the lack of a progressive social system is why people need to dip into credit cards at the rate they're doing.

In a country where a medical bill can bankrupt you or you need to work x3 min wage jobs to get by, it's hardly surprising that it's the case. Saving up $500 / month is out of reach for a significant number of Americans. So debt is the only way to do basic things such as car repairs or handle emergency expenses.

You can even see this with the COVID response, where European countries are paying 80% of salaries, whereas in the US you get a flat $1200 check, once. The entire system is just skewed towards the wealthy.
I wonder how many $1000 MacBook buyers would actively prefer a $700 version with MacOS.
2 hours is a reasonable amount of time for something like this.
1) I'm not defending the implementation of is-promise. I don't care to, I'm not a javascript developer.

2)
> sure there are non standard promises, ancient stuff, that to me shouldn't be used

If you're building a library, or maintaining one that's been built over many years, you can't easily make calls like that.
You actually can mass produce tons of stuff with trade secrets! A lot of systems aren't easy to access and wouldn't necessarily be debuggable with normal tools, depending on th age of the car. For new cars, they are work on basically building devices with no interface except the communication channel, and to access it you'd have to reverse engineer the protocol, which is not trivial I can assure you.

For infotainment, its not actually as easy as you think. Its definitely rated QM or maybe ASIL-A because it can do things like control climate or on some cars put it into different modes. Failures in these systems might not be catastrophic, but they need to be correct to some degree and failure or poor design, can lead to this

https://www.google.com/amp/s/www.wired.com/2015/07/hackers-r...

Granted, should they have connected everything the way they did? No, but car companies are barely engineering firms, they are just basically assembly firms that contract out all their components except for things like the ECUs. If they don't know how to specify security requirements to a vendor, it won't happen. They are learning though and it takes time.
I don’t think it’s mad. We are just properly leveraged and operating with an acceptable amount of risk. Someone who leverages credit/debt and has proper but not huge (1 year) safety nets will be far better off over their life than someone who doesn’t leverage credit and has large or no savings.

It’s the same as choosing invests - risk (stocks) is better than low risk (bonds) for most people. If you can tolerate risk you should if you want more returns.
Except that savings for tomorrow would probably end up in the stock market. Otherwise inflation kills them.

So I would be interested to know would happen here.
My point is that your statement:

> Listen to the remarks, and its clear he never said anything about injecting disinfectant directly into a patient.

does not seem to be correct. That's it.

> You really think he was suggesting that people drink cans of lysol to clean their lungs? That's absurd, and I think you know it

No, I think he was suggesting that using disinfectants as a treatment for COVID-19 is worthy of investigation based on the findings that lysol kills coronavirus.
Have you looked at the iSH beta? https://ish.app/
I see a lot of criticism to one-line packages, but IMO in the end what matters is the abstraction.

Thinking of the package as a black box, if the implementation for left-pad or is-promise was 200 lines would it suddenly be ok for so many other packages to depend on it? Why? The size of the package doesn't make it less bug-prone.

I see plenty of people who are over-eager to always be up-to-date, when there really isn't any point to it if your system works well, and so they don't pin their versions. This will break big applications when one-line packages break, but also when when 5000-line packages break. Dependencies are part of your source, don't change it for the sake of changing it, and don't change it without reviewing it.
This is such a fantastically American point of view.
I thought it was incredibly callous for CC companies to send me emails saying “we’re there for you” without any mention of even the tiniest drop in interest rates, instead mentioning their stupid mobile app or something.
> I would rather have the lenders continue to keep the accounts for borrowers with excellent credit history open and unaffacted.

Except credit score is not indicative of risk in this situation. Entire categories of jobs no longer exist so everyone who is a waiter is now a major risk.
I’ll try it right now, oops I forgot I don’t have no usb stick
The 2-week lag time after infection would seem to make the scalpel approach impossible, at least without testing. Give us the freaking tests.
Tools like Safety can help in the python world, https://pypi.org/project/safety/, and cargo-audit https://github.com/rustsec/cargo-audit in the rust world. Stick them in your build chain and get alerted to dependencies with known exploits, so you can revisit and bump your dependency versions, or decide that that project is not worth using if they can't be bothered to consider security to be as important a feature as it is.
The irony was that all the typewriter keyboards we were using had separate keys.
Or both, with Spacemacs. I'm all in on Emacs though.
> COULD NOT CORRECTLY IMPLEMENT THAT FUNCTION

As opposed to blindly trusting and adding a dependency for a random library with a one liner?

I don't think the "don't roll your own crypto" argument really applies here. Of course we can come up with hypothetical situations where developers are incompetent or don't test their code at all. This includes armchair analysis for a post on HN, by non-javascript developers.

I would argue that it's still better than adding a dependency. Heck, you could even copy/paste the correct code.

I know I'm not a perfect programmer, so important functionality like this gets unit tested as necessary. :-)
I grew up putting two spaces after a period. A few years ago, after reading an article arguing for one space, I decided to try single spaces, as open-mindedly as possible. However, after a few days I ended up going back to the double space, since the single space just looked plain ugly to me. To me single spaces make all sentences look like run-on sentences, at least visually.

On a different, though my side lost this religious debate, I have higher hopes for the eventual demise of all caps (which always look ugly to me, even in document or section titles.)
The point is that different languages are best suited to different tasks. Javascript is a simple, very loosely typed scripting language with prototypal inheritance that was developed to be run in the browser. It's a DSL, not a general purpose programming language. Using it elsewhere for applications where another language with stronger and more expressive types would be more appropriate requires hacks like compiling it from another (safer, more strongly typed) language like Typescript, which still results in code that can be fragile because it only simulates (to the degree that a JS interpreter allows) features that the language doesn't actually support.

See the attempt to "detect if something is a Promise" as an example - the function definition for the package makes it appear as if you're actually checking a type, but that's not what the package does.

Most of the unnecessary complexity in modern JS, as I see it, comes from the desire to have it act and behave like a language that it simply isn't.
Coronavirus: Woman named, shamed by neighbors on Facebook for not joining clap
Good for people who want to read WSJ anyways, but bad for the rest. They could just put a Paypal payment option there, ideally without registration. Chances are that I might read more articles and actually end up buying a subscription. Unfortunately every online magazine/newspaper is like this.

I think if Netflix for News is coming, even more newspapers will have to close or just end up copy&pasting news from AP and Reuters.
We put an awful lot of limits on what can be asked of people at work. That management bangs against these like a 10 year old testing boundaries is a little unsettling.

I've always preferred to think of myself as working on a team, but I guess even a team gets yelled at by a coach quite a lot.
The title doesn't strike me as clickbait. The significant thing is what happened.
If I were to go along with your metaphor I would say what affirmative action is doing is starting with a a car that pulls slightly to the left.
Then, instead of taking the car to the mechanic and having the root issue fixed, laws are passed so all roads are rebuilt to consistently meander slightly left so the car can still drive down the road while hitting the gas and not have to course correct the steering wheel to stay on the road.

I.e. it's the wrong solution for the problem, is absurd and makes things worse.
Not exactly. As planned.

https://www.youtube.com/watch?v=bX3EZCVj2XA
Yes, putting your dependencies in version control alongside your project is no fun. Commit history is muddied, but also if your production boxes are running on a different platform or architecture than where you and your team develop, that can make a big mess too.

That said, with a big enough team and risk-averse organisation, it can be a brilliant idea to put your dependencies in /separate/ version control and have your build process interact that way.

In that scenario, even if your dependencies vanish from the Internet (as happened with left-pad), you are still sitting pretty. You can also see exactly what changed when, in hunting for causes of regressions etc.
Or maybe the US needs a real social security system.
The language has nothing to do with it. The point is just that the name "then" is a perfectly common method name.

If a small standard library is using it for things that aren't promises, you can bet your ass that there are javascript libraries using it for things that aren't promises.

Like I said, I just chose to look at rust first because it's documentation has a good search bar.
We Were Forced to Close Our Business and the Reason Will Surprise You
I do a lot of Python development, both at work and for fun at home. Can’t recommend Sublime Text enough.
Credit issuers, particularly unsecured credit card issuers, have been calling back lines every time there's even a whiff of an economic downturn since time immemorial. Those who "play the credit card game" have learned, usually through burned hands, to anticipate this.

There's no such thing as a reliable limit through a big issuer. This is doubly true if someone has been chasing CLIs through "luv" (getting credit limit increases by clicking the "request limit increase" button on issuer web sites, often called the "luv button"). The only reliably stable limits are through small issuers who have much tighter rules and a much less intricate risk model.

Also, on this:

> other class of borrowers who had opened credit lines, planning ahead, to tap into exactly during such times will now be left without access to that what they had planned for in the past.

> This now puts a short squeeze on people who could plow through these hard times and puts them at risk

All I can say is absolutely do not rely on credit being there as a backstop. That's what cash savings are for. Yes, it's easy for me to say "just save six months of expenses!" and I'm not trying to call you wrong, so much as get a head start on the next class in the School of Hard Economic Knocks.

The only people who can rely on credit being there are people like that ex-Amazon engineer whose tweet I've been seeing passed around these past couple of weeks. He pulled $250k out of a HELOC on some investment property in Seattle he's been trying to sell, "just to have the cash." He likely already has so much cash or short-term equivalents to his name, that added $250k is less out of need and more out of strategy. That class of investor will always have credit available; most of the rest of us will see it pulled at the worst possible time.
second this. Very happy with the Carbon.
Organizations (I mean the power structures made of people called managers) are machines that sit between (a) people selling their time and (b) people who buy stuff/service.

If you are either kind of people and the big organization sucks for you, use a smaller one maybe? Or find another big one that works acceptably? Talk about one differs slightly from another?

You can rant about the deficiencies of big organizations or you can observe a well known fact that it is a very hard civilization-wide problem. Fortunes are made even from minuscule optimizations in this area and there is no shortage of execs experimenting with these. And here enter you with "the reality is that [employee's] work probably doesn't matter".
> use a debit card instead of a credit card and rent

This only helps those who cannot read or write spreadsheets, don't understand cashflow or otherwise are not aware of finance 101.

Credit is a tool and knowing and putting leverage to use is critical to success in life.

I save an average of 5% and sometimes upto 25% of my expenses through the judicious use of credit card rewards and promotions. Credit card companies are willing to take losses to have me as a customer and sign me up.

> how mad it is that as a society it's normal if not encouraged to live on debt or one or two paychecks away from being broke

This is a design parameter and not a coincidence.

A majority of current work is busy work - if the people doing it had some savings, they would stop doing that busy work.

The employer knows it, the employee knows it and they continue to do it.

Encouraging "money in, money out" keeps the hamster wheel rolling and the economy pumping money through the system.
Are you... upset? that they're releasing a free meditation app? What's the problem here / what's your actual point?
That's the soft in software.
Show HN: Plopdown Video (Demo)
As demonstrated in this reply - https://news.ycombinator.com/item?id=22979718, this package is also wrong. So the argument is invalid?
I don't know if one can blame the drop in business on the lockdown. Even if the furniture store were open, I doubt a lot of people would see that as a spending priority at this time.

Even if they opened, would it really help them?
Another piece of evidence in favor of "the debate rages" (though IMO more in favor of double-spacing): if typographers were even slightly unified in this, you'd see period-double-space ligatures that render as period-single-space.

Instead, I'm not aware of any common fonts that do this.
Bundle sizes have never been an issue for me. You're not really supposed to use ClojureScript for trivial JavaScript. So for anything non-trivial, bundle size of ClojureScript and pure JavaScript start to even out.

Backend is Clojure off course , though ClojureScript on the backend is starting to shape up as well, in case you're already familiar with the Node standard library and ecosystem. It can be a good alternative.

If you intend to only have trivial JS mixer in with your HTML, then better to go for a pure Clojure server side rendering with a few embedded JS snippets. Similar to what you'd do if using Ruby on Rails or Django.
> having no real safety net from the government

WHO pays for that?

Is there a free lunch?
I would recommend PyCharm Community Edition. If you're doing web development you will be missing a few nice to haves but the experience otherwise is virtually indistinguishable from the professional edition.
People gamble all the time on games of skill. I'm no sports nerd, but I'm fairly sure that most of what decides who wins is skill, rather than chance.
> If this was a podcast, I would think “hey that’s interesting, maybe I’ll listen later.” I would probably read the episode title and show notes, and I would consider whether the topics were interesting to me, and maybe I’d listen, or maybe I would save it for later.

> But with Clubhouse, the conversation is live, and there are no recordings. And when I join they might notice me. So when I got that push notification, I knew: it’s now or never. I had no clue what they were talking about. I was either in or out.

So, apart from the novelty and true potential use-cases, this works out of FOMO? I do have enough FOMO right now with RSS, Youtube, Reddit and Hacker News, I don't really find this appealing.