skysight-inc/HackerNews huggingface dataset:
You're probably right, but keep in mind that for the past 100 years we have seen a systematic trend in lower interest rates that brought massive debt expansion and financialization of the economy. We are at the 0% interest rate at the moment so monetary expansion will be more difficult, unless the FED does direct equity purchases like the ECB did. So it's worth considering other outcomes as well, like stagflation, MMT or massive devaluation of our currencies. Some of these outcomes are very bullish for equities, but it's hard to say where things are headed at the moment.
Another way to combine those points: Consistency is good, but its value degrades gracefully. Especially in a simple app, you can mess it up a fair bit and users will tolerate it provided they can still manage the result. But following the local human interface guidelines does make the app more usable, and the more complex your app is the more that matters. Unless, of course, your application is such a big deal that it can set its own standards and users will learn it unto itself (EMACS and Photoshop come to mind); that isn't free, but as long as you're internally consistent it at least just comes to up front cost.
Punishments are based on what can be proved in court, not what prosecutors believe.
This is something I’ve come to appreciate about my roomba. It trains me to keep my floor tidy. I don’t have kids, though, so it’s doable. Little guy sure loves to eat cables.
I like that metaphore, quite apt.
https://community.wolfram.com/groups/-/m/t/1872608
> The UK model also happens to be the Germany model

Eh ? Germany is on lock down right now, we'll be at Italy's level by the end of the week imho.

UK says: "we're all going to get sick so let's not do anything." DE says: "we're all going to get sick so let's spread it over a long time as to not overwhelm our health system." That's a huge difference.
Disk file descriptors are so bizarre, if you think about it — why they still don't support any non-blocking primitive to this date? You can sorta simulate it with spawning a helper process that does "while (true) { write(stdout, read(fd)); }" or "while (true) { write(fd, read(stdin)); }" and giving it a pipe (you can epoll a pipe), but that's horrible.

All single-threaded epoll-or-equivalent-based network servers hit this problem sooner or later and become multi-threaded network servers (also, there is async DNS resolution, but that's a whole separate barrel of worms).
I recommend you to stop reading only americans news/propaganda.
Read a bit of everything, even it's propaganda.
You'll discover what you considered as a news source is also propaganda.
The EU's total GDP is $18.8 trillion, which is very close to the GDP of the US, and much larger than the GDP of China.

The total EU budget is much less than 1% of that, and is entirely discretionary spending on long-term strategic policy goals, infrastructure, and social investment.

And having a "costly" challenge of becoming carbon neutral by 2050 is a lot more realistic than the US policy on carbon neutrality, which is "We'll get back to you on that, but probably not until the coastal flooding and economy-destroying extreme weather events becomes impossible to ignore."
What’s thumb drive - is that the slot a floppy disk goes in?
I like how Rust handles cancellations. Async is polling based. If you stop polling and drop the Future object, it's cancelled. All of it. Like in the library from the article, every await point is a point where an async task can end.
Covid-19 Solidarity Response Fundraiser for WHO with $10M Match
Still, isn't it one stream per client? Why 10 streams each?
The incubation period is only 2 weeks, why would you need 2-3 months? Wuhan, the worst hit in the world only lasted about 5 weeks.
The cognitive load to be able to read the calendar is quite high. It took me a few seconds to tell what the date/time is. It's very cool, but I am not sure if this is good design.
I don’t think anybody is asking for executives to be responsible for every little act of wrongdoing. Most examples of corporate wrongdoing were widely known throughout the company and often caused by unrealistic expectations from above. I work in medical devices and I have seen it multiple times that leadership pushed unreasonable deadlines while ignoring warnings. I don’t think anything illegal has happened so far but I can easily see how somebody could take shortcuts just to relieve the pressure. So while the executives didn’t do anything wrong personally they created a climate that could cause illegal activity. This certainly happened at Wells Fargo and I bet a lot of other companies.
I agree. It's not that people wouldn't purchase stuff or go abroad, it's just they can't or won't.

But as I yesterday understood, the lower interest rate should weaken the deflationary effect and make money less desirable asset than stocks. So in theory less people would pull out their money from the stock market. Don't know about that.

Nothing can survive if people just stop spending money. But hopefully this won't last long, otherwise the wave of bankruptcies will be a one devastating tsunami.
simply be legislated away

This is one of the most dangerous phrases I've read in a long time.
I for one wish courses in first aid beyond the very basic save-a-life stuff were more widely available.

Here in the UK, there used to be training that anyone could take that was offered by the main first aid organisations, lasted 2-4 days, and covered significantly more serious but not necessarily life-threatening conditions. There were a few variations you could do, including things like common sports injuries, conditions you might encounter while in the wild outdoors and how to handle a situation as well as possible if professional help is going to take a long time to arrive, variations on first aid for children and babies, and so on.

Those courses for the general public seem to have all but disappeared now, presumably due to a lack of demand. This isn’t entirely surprising, as they weren’t cheap to do, but if you did have the means to afford it, what is the value of knowing how to help someone recover better from an injury, or preventing a serious condition from maybe becoming a life-changing one, or in extreme cases even saving a life? My wife and I did take a course specifically on first aid for little ones when we were about to become parents, but even finding that wasn’t easy.

The main ways to get more than very basic first aid training here now seem to be through either statutory obligations for first aiders at work (where the courses are widely available and longer but also have to cover the official paperwork you need to do as a first aider at work) or through becoming a much more serious amateur first aider (either joining one of the first aid organisations and in due course going out to work as a volunteer at major events and the like, or through things like sports coaching organisations that have the scale to make special arrangements for first aid training). That leaves quite a large gap in provision for “ordinary” people who just want to know enough to help out in a serious situation, but as far as I’m aware, there isn’t really anybody trying to fill that gap at the moment. I did ask the trainers on that last course I took if there was anything I’d overlooked in terms of more comprehensive general first aid training, and they said that unfortunately the above is about right at the moment.

I don’t know how much first aid training would really help with the current coronavirus situation anyway. It seems like what is needed in this case is more people with nursing skills and the ability to set up equipment like ventilators. But as a more general point, I would strongly support measures to increase general knowledge of first aid within the population, at least for anyone who is willing and able to help when they can. If nothing else, it might free up more of the fully trained professionals to deal with the most serious situations and so help reduce the strain on them.
Ask HN: How do you write code so it's easy to change?
I work as a web developer in the startup industry. I've heard many times that code should be extensible – that it should be easy for engineers to make changes to the system in the future, especially as a product finds market fit. What tips would you give other engineers on writing easy-to-change code?
https://twitter.com/WHNSC/status/1239398218292748292
The Fed cannot fix the virus problem. It is not in their control.

They are only delaying and mitigating the risks that occur as a result of the virus related slowdown. That is in their control (at least for a while)

This slowdown because of bans and quarantines will hit the cash strapped businesses a lot, especially small businesses. They will have to layoff. People will lose their jobs. When businesses actually start to shut down, you are looking into a deeper economic pain that will most likely lead to a recession.

By reducing rates, they are giving small businesses and people a little breather. And they are assuming the virus impact will be clearer in the next couple of months.
The most interesting thing about this article is the discovery of the open FTP server that the hacker was using to verify the attack. I imagine the hacker doesn't own this server either but has compromised it earlier.

But anyone who has runs a site knows that attacks like this happen all the time. I own a small low-value static site that gets about 50 legitimate hits on a good day and the logs reveal that I get attacked several times an hour by automatic exploit scanners. It is just constant and doesn't even include the SSH attacks.

Anything on the internet is going to be targeted - no site is too small or obscure.
It would have been even more interesting if they could locate the place of the photo without knowing the general area where he was.
I think there are some really cool club level things that could come out of it as well. Get together with friends in a sports hall to play VR sports together in a shared space.
3d prints anybody ?
Thanks, I honestly did not know that. I wish there was a broker that would just charge me a higher fee/commission and not lend my shares to anyone.
If the Fed had done nothing at all, it's conceivable that the markets would still be in exactly the same shape they are now (or even possibly better), except we'd still have those tools at our disposal.

To an extent, that the Fed took such drastic action probably helped to spook investors even more, since (1) now those tools are gone, (2) it implied that the Fed is panicked and doesn't know what to do, (3) it implied that the Fed thinks the market will sink dramatically.

As to what I think they should do: address the needs of the people who will be hardest hit. Interest-free moratorium on mortgages, rents, debts, and/or full FMLA. This will actually help with the underlying virus problem more quickly, and consequently should help fix the underlying market problem (lack of demand) more quickly.
> If both browsers report wildly different base numbers but similar ratios then there is no cheating for micro-benchmarking numbers.

I don't have a lot of experience with JS benchmarking, but for the JVM microbenchmarking is genuinely difficult and relatively worthless because the JIT is really good at killing off huge swaths of code if the results aren't used and side effects aren't observed. And even if you do, it's not unusual for it to optimize your code for the microbenchmark in a way that's not directly applicable to production use.

Unless the benchmarking code around this does some transformations on the source, I would expect a JIT (or an optimizing interpreter) to simply remove a side-effect-free statement. I would certainly expect a state-of-the-art JIT that's heavily bound to the DOM implementation to infer "document.getElementById("#foo");" is a NOP.

> This can be easily debunked using a combination of DOM instructions and taking note of how dramatically the ops/s count drops and then comparing that difference in ops/s against the same difference from another browser like Chrome.

To get back to your particular example, since getElementById in your microbench runs at approximately 100+ times the speed of querySelector (~15 mio op/s, which seems like what you'd expect) I would suspect that querySelector() is not optimized out, because it can actually throw an exception depending on the input.
And instead we got a passel of XBone jokes. Good job, Ballmer.
AFAIK, covid-19 is basically a "slightly worse flu". Most people are not at risk of dying and in fact most people don't even need to go to the hospital to recover.

Surely there has to be a balance between protecting the vulnerable at the cost of ruining the economy and protecting the economy at the cost of ruining the vulnerable.

How about instead of shutting down planet earth we advise people over the age of 60 to self-quarantine for a few months. The disease will run its course and then they will be protected by herd immunity. Neighbors and friends can drop off supplies on the front doorstep during this time.
I get the exact opposite takeaway from:

> 7. Your evaluative metrics have shifted

Yes they've shifted, but the author implies that the success in the workforce needs more rigour than school. It's the complete opposite. Your stuff needs to work in school, and your prof will grade it accordingly. In the workforce, the person 'grading' your work will likely be a product owner who just wants to get the ticket closed. You will hear things like:

* "Let's do an MVP."

* "Let's focus on the happy path."

* "How hard can it be? You're just adding a button."

* "Let's close the ticket and we can create a new ticket if we need to."

You will not hear:

* "This is important, so get it right."

* "Your code was wrong. Let's discuss"

You'll often be stuck with code that you know is flawed, that you want to fix, but the organisation won't give you time to fix it until it's too late.
No ones wants it. And yet if it comes out positive and you visit the doctor to confirm, it is known to an anonymous corporation, sometimes multiple, and government, if it cares. And everybody is perfectly fine with that.

Historical abuses are vast and many in all the fields of human culture. Proportionally to the power of given part of the culture. Abuses don't automatically make given thing completely worthless. Historical abuses are just things that we need to be on the lookout for.
1.5 years is already very fast for a clinical trial. The average duration of clinical trials for "breakthrough" drugs is 5.0 years [1], compared to 8.0 years for drugs without that status. Plus O(1%) of trials actually make it to approval [2].

[1] https://jamanetwork.com/journals/jama/article-abstract/26649...
[2] https://www.fda.gov/patients/drug-development-process/step-3...
great info thanks, happy to see that people like you, who are not afraid to learn new stuff and integrate that into their long experience is still valuated.
How does that work? After exchanges reopen, the last known trades are still sells.
If you propagate "some condition," that could allow dead-code elimination later on, especially if an if-statement uses "some condition" as a predicate later. This seems redundant in hand-written code, but keep in mind the if-statement may actually be from an inlined function.

If "some condition" is actually testing a variable for equality, then you could do constant-folding.
Yes you do, because if the market is volatile then depending when you sell the "average" you see can potentially vary widely from what the historical average actually looks like.

Sell 3 shares in the morning and hey you're down 7%, sell at mid-day and you might be only down 4%.

"Sell at the average over 30 days" changes a lot based on implementation. So now again, you're talking about a derivative product with specific parameters...which in turn, will actually be bid against: if I, another trader, know you're going to reliably put shares up for sale at a certain time each day, then my inclination is to start anticipating sales - and oh look you're now functionally a futures market.
Maybe not shampoo, but some people can't seem to stand certain types of toothpaste with sodium lauryl sulfate in it. It apartment aggregates canker sores in their mouth. Those are most of the types of toothpastes you can buy. If you cut out almost all toothpaste products you'd likely eliminate the ones without this substance. We might think of this specific point when selecting the types of toothpaste that we will allow, but how many other such niches will we miss on all the other products?
From a design point of view, reading this clock is strictly harder than reading:

"2020 March 16th, Monday 10:50:48"

and also provides no useful extra information, unlike a traditional clock face.
Germany and Italy have had bans on specific material since 1946 and the sky has not fallen. I understand the concern, but the ban doesn’t need to cover all media, only the ones that are extremely accessible. A bit like pornography is forbidden on mainstream tv during the day, but you can still buy it freely elsewhere at all times.
In the past, I believe Apple has certainly placed limits on what prices Wal-Mart or Amazon could sell Apple products at, to avoid the appearance of them being "discounted" or customers shopping around -- your iPhone is $x99 no matter where you buy it, period. (They seem to have loosened up somewhat since.)

Should that be illegal? For a company to say "I'll sell you this wholesale stock only on the condition you only resell it for exactly $x and never less."

Is there a meaningful distinction here from supermarkets in an area colluding to sell all milk an inflated price? Or is it really the same anti-consumer, anti-competitive behavior in the end?

And I wonder to what extent it has to do with defining the price on an entire category of items (milk) vs a single company (you can always buy an Android instead).

I don't know the answer, so just curious if there's any kind of consensus conclusion here by economists.
Passive solar design relies on things like absorbing heat from the sun and storing the heat in structures with thermal mass instead of burning fuel and forcing air flow to try to heat the home.

It actually results in a more comfortable home and higher quality of life. It's more environmentally friendly. It's more sustainable. And it doesn't actively promote sick building syndrome.

Please note that Legionnaire's Disease was originally transmitted by the air conditioning system where it was growing. I hate forced air heat with a passion.

I currently live in a hundred year old building with a radiator in my unit and it's a huge improvement over most living arrangements I've ever had.

Normalcy:

For someone in the 1800s, there's absolutely nothing normal about airplane flights, much less for ordinary individuals. There's nothing normal about computers. There's nothing normal about the internet.

These things are all basically magic for someone from 150 years ago and we take it all for granted and feel like our lives are being utterly ruined if someone suggests we should maybe curtail our use.

I have a form of cystic fibrosis. I've made a lot of the changes I'm talking about.

I'm a social creature. I would love to have a "normal" life. The way I live didn't come naturally at all. It was a shotgun wedding.

But it was better than the way I had and I am no longer in constant, excruciating pain and I'm no longer on boat loads of drugs and I generally sleep better, I'm more productive and I'm happier.

I don't have a whole lot of sympathy for the world's worship of some arbitrary concept of normal. Life routinely adapts or dies.

The people telling me that making permanent changes to our current lifestyle in order to not die is some unthinkable and harsh burden may well be among the dead in the near future. And the ones who remain can choose to adapt or die in the next round.

It doesn't much matter to me. I already live the life of a germaphobe thanks to my genetic disorder. And I long ago gave up on ever being taken seriously, cared about, etc. So I have enough anger, bitterness and baggage over the past decade of being treated terribly by the world at large that I will be perfectly happy to see some folks go and I've got a mental list of "Hey, universe, maybe you can make sure Coronavirus gets these people soon. Thanks."

But go ahead and cling desperately to your ideas about some "normal" life and how amazingly important that is. Maybe someone will mourn the loss of people doing that. But it won't be me.

You have a good day. This is probably not a conversation worth pursuing.
Reminds me of sculpture I used to walk by almost daily in grad school, Maya Lin's timetable. https://www.flickr.com/photos/rocor/3546093103/
>> The Fed lost its independence at least a year ago, since the President has maintained a sustained and public campaign to pressure them.

> Your first paragraph has been said by various people for various reasons for at least the last 10 years.

It's truer now that it's ever been:

Yesterday: Trump Says He Could Demote Fed Chair Powell, Risking More Market Turmoil (https://www.nytimes.com/2020/03/14/business/economy/trump-po...)

Today: Trump congratulates Fed for rates cut, calls action 'terrific' (https://www.reuters.com/article/us-health-coronavirus-centra...)
My laptop has about 32 gigs of ram so its less of a concern. That said, I find electron apps to be a huge drain on my Battery life.

As a developer, (with a lot of js experience) I sympathize with devs trying to build a product that works seamlessly crossplatform. Electron is a great value when you want to push out a product fast that serves a lot of users accross all devices and you have limited resources.

But I'm calling out slack specifically. you have millions in funding and profit. You can afford to hire a few more devs to make a polished native platform optimized version for each platform that is resource efficient. Slack runs on my desktop all day so having it run fast and not take up too many resources would be a huge win.
It definitely is, but if the entire global economy is still at a standstill in 3 months, I have no doubt the government will speed it up even more.
Walter is completely right. Under extreme circumstances (worst pandemic in 100 years) our risk thresholds should obviously shift. You can't cut corners too much and there is an inherent serial component, because if you want to vaccinate potentially hundreds of millions or even billions of people, you need to have some confidence about the risks involved. Even if you accept higher numbers of adverse vaccination reactions than you normally would. This means several months of observation you really cannot avoid. But most of the other things that take months according to refurb seem like baroque excess in the current context. Three months to analyze results and six months to recruit? Seriously? Also you can basically run any number of trials in parallel with different thresholds and then pick where you want to be on the risk/reward scale based on the situation a couple of months down the line.
So we should just bury our heads in the sand and ignore President Trump's blatant lies and misinformation about a deadly pandemic because calling him out offends Republicans who are responsible for putting the deranged lunatic into power in the first place? "Hey, you know the people who are destroying the world and have spent the last four years engaging in constant vitriol toward anyone to the left of them? Please just stay calm and respect their opinion." Laughable.
Your source date from 2008. Newer sources describe exactly what I'm talking about : https://www.radio.cz/en/section/business/czech-republic-caug...

> I mostly don't care

Yeah, I figured out that part. The good thing is that there are less and less people like you in this world.