skysight-inc/HackerNews huggingface dataset:
> It doesn't matter what your definition of a language feature is. The person you responded to was obviously talking about interfaces in the general sense of the word and was asking a question about it.

Really? So now this has devolved into a debate about semantics? I thought this was about JS and TS, not the "general meaning of interfaces". Using that way of thinking, even HTML and CSS have interfaces. Arguing over semantics is a very common tactic by the way, if you just want to win a debate for arguments sake. Let us keep it specific. My point is JS, as a functional language does not have or even require many of the features and constructs of a strongly typed OOP language, interfaces being a good example. The inverse also applies.

Different programming paradigms = different patterns and best practices

>>Nope, what I'm talking about is interfaces. The nature of function signatures as interface points is not a matter of patterns and best practices. They simply are exactly that, whether it's spelled out for you or not.

Are you saying an interface is a function signature and is this what you mean by interfaces in general?

>>This doesn't constitute an argument or an objection to anything I've said. It presumes that I won't "deal with it" when there is no evidence that I'm not. It supposes that "support[ing] both paradigms at the same time", whatever that means, is a matter of my intelligence. It doesn't argue for any of this.

My responses do not have to be blow by blow objections to every single point you make. This is a discussion, not a computer program. And I stand by the sentiment: for optimal results, think functional when working in a functional language.
Sounds like this "startup" did the same thing 1000s of websites and apps have done... post some possible systems and risk factors.

Another corona article for someones ego
It absolutely is. It is the basis for the build/foldr stream fusion built into the standard library.
Yeah, I'm back visiting my parents in their tiny hometown near Ottawa, and there's a distillery called "Vodcow" that's been open a little while now, selling Vodka made from milk permeate.

I can't drink liquor because it brings out the devil in me, but my friends swear that this particular vodka is excellent.
I'm with you.

We will all catch this unless we stay locked up until the vaccine comes.

So, expect everyone to catch it.
When I was like 10 years old I did a commercial and bought a PSP with the money.

One day my grandma offered to buy me a game, so I picked Lemmings off the shelf. She was very concerned whether it would be age appropriate, but I reassured her that the E for Everyone ERSB rating meant it was totally fine, and my mom would have no problems.

Turned out the ERSB mislabeled that game. I mostly avoided the gore after getting bored of it though. The level creator was a lot of fun, and I'm sure the gameplay in general lent itself to my brain being wired for programming.
That doesn’t sound like the correct reading to me, because foldMap and foldl/foldr have different type signatures

https://www.stackage.org/haddock/lts-15.4/base-4.13.0.0/Prel...
Classic case of execution over strategy.

I owned a surface pro 3 and wanted to love it, but god, it was just awful. Short battery life, crappy eMMC-based storage, weird foldable keyboard you couldn't use on your lap, display that wasn't so bright, rarely if ever came out of suspend properly, the pen required two different kinds of battery (!?) and perhaps my personal favorite, the display sometimes rotated sideways and wouldn't de-rotate.

Pretty sure the iPad will have zero of these problems when it ships, and that makes all the difference, even if it's two years "late".
That means you do not have intimate knowledge of how academic institutions operate. They are similarly led by internal preferences, money, position/rank grabbing, and disregard for rules and fairness.

People are people. And being smart and knowledgable is far removed from having any common sense.
Also, the tests deployed right now return negative for recovered people...
D missed the train because the creator(s) didn't open source it, instead they wanted to monetize it right away
Shrug, it's really no big deal. I have a Tesla Model 3 and never visited a website, nor plan to.

It's a car, has games, maps, music, nav, etc. Can't think of a reason to visit a website. Sure you dig in and use the screen to type in a URL, pretty painful. There's no RSS Feed, news of the day, etc to tempt you into web viewing.
I could see this getting acquired to enhance Microsoft’s Cortana or Apple’s Siri and Spotlight.
It takes 12 hours on a high end GPU to make one frame.
Sure, but there's a whole spectrum between slightly darker grey on slightly lighter grey, and straight up #FFF on #000 or vice versa.

If I have to adjust my monitor brightness to be okay with reading something there's a major issue.
How would it be made more realistic?
And he’s still not implementing a total shutdown. He’s implementing 100% work from home unless for essential businesses. He’s also been on track to do this since earlier this week as he’s been slowly ratcheting up that number from 50% to the full 100% today.

This isn’t a competition between Governors as each of their municipalities are different and have unique circumstances.
Scripting in rust with self-interpreting source code
how does that work out since S Korea is linked with the outside world? Is it sustainable for as long a the virus in out in the world? I guess that they stopped this round...if tens or hundreds of millions in the world have it, game over.
I’ve created a custom aggregate in Postgres that lets you essentially get the same result as what MySQL does:

select a, last(b), last(c) from table group by a

As it’s name implies, returns the last value that the aggregate encountered for the group. You can add an “order by” within the parenthesis to make it deterministic.
Teams primarily. Still getting used to using calls but it's been pretty slick so far. Wish we were using Slack however, simply because I find it much more intuitive
> There have to be models that this didn't spread exponentially in the severe cases

Why ? Model have to fit what we observe. And we always observe exponential.
<3 portmasters
Hacker Builds a Vending Machine for Crows as Ingenious Response to an Argument
Well that there is a problem with Tesla. They have that extreme secrecy culture. So no, you can’t see how they categorize it.
I didn't mean "no this is the one that's gonna stick", I meant "code written in this is explicitly designed to last a long time".
One study shows around 18% of those that test positive show no symptoms [1].

Perhaps this reduces the infection rate.

[1] https://www.forbes.com/sites/brucelee/2020/03/18/what-percen...
This particular use-case wouldn’t be suited to MVs, because it’s infrequently accessed, and cannot tolerate stale data. So refreshing the view just kinda kicks the can down the road a little bit. Other DB engines support a FAST or INCREMENTAL refresh, which can even support queries with aggregates (as long as certain conditions are met). For instance Oracle achieves this with MATERIALIZED VIEW LOGs, which are essentially just transaction logs for the MV.

It’s a bit of a moot point for me in this case though, as I’m not allowed to make any DDL changes to this DB, I just have to produce periodic reports. Which is perhaps a bit of a contrived situation, but it’s absolutely not my first time dealing with it. In reality there’s other even more trivial solutions to this problem. It could be solved by adding a row to table A (or creating a new related table), and then adding an update to the code that inserts the transaction logs (or even just with a table trigger - though that’s a bit more spaghetti). That would be all that’s required to bring this schema (or at least this particular portion of it) in line with a normal form. This particular DB is a large component in a generally spaghttified architecture, that lots of stakeholders write to and consume data from, so over the years it’s grown too complex to reliably tolerate simple changes. I imagine constraints similar to these is what drives a lot of use for features like DISTINCT ON, where the more “correct” approach might just be to fix your schema.
> That is extremely common no? Ex: checking out as an anonymous git user?

That almost always happens over the git protocol or git+http, not git+ssh.
Yes, captioned an avalanche video to show this: https://twitter.com/theandrewglover/status/12389377584684646...
There's tons of material online now. If you want a "traditional Utah graphics" curriculum, Cem is teaching most of the stuff (with updates!) from 15 years ago. You can also probably find the old course slides and assignments. I'd suggest cs6620, personally:

https://graphics.cs.utah.edu/courses/cs6620/fall2019/
anybody starting to feel like it's our "destiny" to "manifest" the American distinction, worldwide?
I'm a big fan of selfishness so I'll represent the 'that is just a bad idea' argument:

1) Such an individual would be contracting an unknown virus in an environment where hospital staff are the least prepared and practiced at dealing with it.

2) Such an individual is still exposing themselves to high risk of mistiming the outbreak and hitting it at the peak.

3) They might accidentally catch a different disease thinking it is COVID. Then if they got COVID they'd have 2 diseases; which is probably going to be quite bad.

If we all avoid getting COVID-19 for, say, another 2 months it is likely we'll have an available and effective drug for treating it. There are something like 5 different candidates I've heard of, so even if the odds of any individual one working out are <30% there is still a good chance there will be effective treatment by mid year. The contain, delay and avoid strategy really is a better bet.
I took the SAT from Australia and was blown away by how ridiculously easy it was.

Maybe it’d be a better predictor of ability if they made it a bit harder.
I don't see the photo anywhere at that link.
Hmm. Did you edit / adjust the "D had its chance" statement? I thought that ended with a period. If not, apologies. But it did come across as harsh :).
My last job in Canada the other Engineers got uppity about that with me.

I studied a degree called "Software Engineering", that was 4 years with first class honors. It is accredited by, and I'm a member of the Australian Institute of Engineers.

The only way for me to get accredited in Canada it 2 years of relevant work experience with an accredited Engineer in my field.

There are no Software Engineers in Canada.
They've had these things in china since early feb https://www.livemint.com/news/world/coronavirus-live-update-...

and you can buy similar on alibaba for 1$ but it's progress that the FDA will eventually permit stuff I guess.

Just think if from the start they'd say just use any tests and stuff you like. The US might not be in quite the mess it is.
Depending on the country, chloroquine (or hydroxychloroquine) are over the counter. At least it is in both the UK and India. The UK has banned export of it, and in India it's less prevalent than it used to be because of the spread of chloroquine-resistant malaria. It used to be used /extremely/ widely in places where malaria is a common occurrence.
The most comprehensive analysis of the disease puts the average age of death from COVID at about ~80 years. Almost all of victims had a pre-existing condition. Fully choking the economy now means that we are much more likely to choke the supply chains and the healthcare system since we are stopping even healthy, younger people who are usually the main contributors to economic output. Without that output, it will only get harder to help those most vulnerable to the disease.

So the argument that stopping the economy now to help it later, eventually, even if we don't know how long we will need to keep it shut doesn't make any sense imo. We are jeopardizing our future ability to fight against the disease, big time
I mostly agree with your underlying assumptions but I'm still advocating for a different course of action.

The problem with this disease is that while many people don't die, they require intensive care. As we can see in Italy currently this will overwhelm hospitals at some point (and Italy has already put drastic measures into place). At that point it becomes a huge problem for society: a lot of people are dying and the health system doesn't work anymore. People die because of appendicitis etc.
Given how uncertain these times are, I’m not surprised that anyone who has had a mild cold and up since Jan is now pretty sure it was actually coronavirus. But if it was secretly that widespread, why are 90% people tested coming back negative? In short: listen to the public health experts, not the volunteer EMS.
So they ship a full fat web browser in the car? Is there a compelling reason why?
uLisp is very much Arduino and not sure new platform purpose. Love to see it expand not just board but platform.
They’re hiring two Ph.D. holding psychometricians right now. https://careers.collegeboard.org/search-jobs?title=Psychomet...

In many cases, not, in many case.
I agree, that's why I said TS aims to model a strongly typed languange.
Here let's do some numbers since this group likes numbers:
Population of China: 1.4B
Population of USA: 330M
China Population/USA Population ~= 4.5
Case Count China: 81250
Case Count USA: 19285
China Case Count/USA Case Count = 4.2
Given the current rate of increase and the lack of action, the USA is on track to be in a worse situation than china and is still trying to figure out what to do.
Best to look to countries like Taiwan, Japan, S. Korea, Singapore and maybe learn from their actions because the current approach is clearly not working.
In general if you query a table twice, the query planner will visit that table twice. So DISTINCT ON is almost always more efficient.

The main exception I’ve seen is when using it in a view, if you try to filter the results of the view, it usually can’t optimize a DISTINCT ON, but sometimes can for GROUP BY (though that might have improved on newer versions)
I know, right? Maybe next we can talk the folks firing rockets into using glitter bombs.
Covid-19 Leaderboard (US counties)
It's a fuzzy line as to what is predicted or not.

One of most catastrophic earthquakes in recorded American history took place in 1811 in a place called New Madrid, Missouri, not far from Kansas. I'd predict that it's going to happen there again.

If it does, I'd still call it a black swan, since the systemic incentives to not prepare for such an earthquake in that area are probably optimized for the short-term.
It’s because the US government is merely giving guidelines to states on how to implement containment policies. Each state (as Trump has alluded to) has different needs, different spread, ect. Some states need stricter containment because the densities are higher in that state. It is then up to the Governors to dictate policy.

Also for the federal government to actually enforce containment policies requires the government to enact traditional war-time, and what look like more authoritarian, laws.
Sorry, forgot to add a source for the numbers. There it is:

https://www.bloomberg.com/news/articles/2020-03-18/99-of-tho...
npm already has "npm audit fix" to review known vulnerabilities but the point being in the blog is it's too easy to inject malicious code and I hope GitHub (MS) buying npm would make the situation better.

Perhaps if you can easily flag a package as vulnerable from npm command would make people get alerted quickly?

npm audit flag [package name]

And just show how many percent of the downloaded people have flagged it when you try to install it.

You can easily see if it's a false positive by checking GitHub issues by seeing if people are talking about any vulnerabilities.
The fatality rate so far only applies as long as the health care system isn't overwhelmed though. Plenty of non-elderly are affected severely enough to need ICU care, and they will start showing up as fatalities once there aren't any free spots any more. Washington State is almost at this point and is preparing triaging procedures.

I'm astonished how many people think that they know better how to respond than the professional epidemiologists. If anything the response actually enacted is tempered from what they recommend by the politicians.
> but I doubt someone would be willing to trade California's winter for Alberta's, regardless of the job.

I was just down around the LA area, and I'll gladly take -40 winters for the rest of my life than deal with that traffic and air pollution.
I wish ebay wasn't so buggy. Mysterious failures, absent error messages-- both as a buyer and seller.

Aliexpress has much better software in my experience. :(
I did poorly for SAT general ability test. But was at the top most percentile (I can't remember the exact number here, long time back) in the subject tests (I think I took Math and Physics). I wonder how that happened if both tests predict performance equally well.
That’s my impression for Taiwan as well. Life there seems to be more or less normal and the virus also seems to be contained. The measures are focused on fast and pervasive testing, contact tracing and specific isolation rather than blanket social distancing.

I’m not knowledgeable enough to say either way but is there a reason that model doesn’t work in the US or Europe?
A license, which sometimes requires a degree from an accredited engineering department.
How did the first engineer get accredited then? :)
Beware of ‘ZoomBombing:’ screensharing filth to video calls
Whether we catch it is not the issue, the vast majority of us will. It's whether when you do and have complications, you can go to the hospital or die waiting for an ambulance that never comes because the system is overwhelmed.
Yosemite NP has officially shut down until further notice
Some harder levels were variant of easier levels (often with small changes), but yes, most levels were original.

What a great game.
And no one would want them because they're a few years out of date.
But surely testing, contact tracing etc as done in parts of Asia can be coordinated centrally.
What do you mean with stolen? Someone making something similar or making unlicensed copies? For the former i do not see how web apps prevent that and for the latter that only matters when the developer asks for money for each license, which is extremely rare with web apps anyway (the closest is subscriptions and rentals but that happens with desktop/native applications too, e.g. see Adobe and Autodesk). But even that is really a facet of the heavily developer biased control i mentioned that web apps provide.
At this point I’d consider it major news if an in person conference is not canceled.
I'm really liking teams. The integration and all-in-one solution is appealing, as is the price relative to slack / zoom. And, it's evolving quickly.
Can Eviction Moratoriums Stop the Bleeding? [audio]
I'm fairly certain that everything I said makes sense, so I'll try to clarify a bit.

First though, it seems a misunderstanding has developed. I was not calling the competence of the UW lab into question! They are bound by various state and federal regulations and I'm certain are doing the absolute best that they can under the circumstances. The examples I provided were to illustrate just how absurd the current state of affairs is, and to make it clear that bureaucratic ineptitude is to blame.

We obviously both agree that QA/QC is necessary; note that my back-of-the-envelope calculations included controls. I don't pretend to know precisely what requirements FDA regulations place on various diagnostic tests. What I do know, and attempted to illustrate in concrete terms, is that it is physically possible to scale testing in a sufficiently reliable manner using common instrumentation and bulk reagents. Any genuine attempt to explain US testing shortages _must_ account for this fact.

Yes, parallelizing sample prep requires a sufficient number of properly trained technicians. Presumably the US government is capable of locating and making use of qualified personnel in an emergency situation such as this? (To start with, literally any graduate student whose research includes running molecular biology protocols is likely over qualified for sample prep.)

Regarding serial numbers and labeling, it is indeed trivial. You can literally keep a list on paper and label tubes by hand (I did this for years in an academic lab). This step is fast compared to overall sample prep time.

I have no idea where you got the idea of a barcode migration from. Remember, I'm not describing a clinical lab operating according to FDA regulations; I'm describing a sufficiently reliable setup that closely resembles an academic research lab and would maximize throughput in an emergency situation. The only goal is to receive a package, label a corresponding tube, run a test, and report the result.

(BTW, I claimed that bench space for sample prep, not instrument throughput, was likely to be the bottleneck. In fact, instrument throughput not being the bottleneck was one of my primary points.)
That's because every oppressor is oppressed. We try to segregate people into these two groups, but the fact is that every person is capable of oppression, and every society is guilty of it. The history of human civilization is a story of people who were oppressed that went on to oppress others to continue the cycle.

Our texts don't do a good job of documenting this -- they just designate all losers as oppressed and all victors as oppressors.
> There are no Software Engineers in Canada.

This is absolutely false. For example, please review the "Software Engineering Experience Review Guideline" for Saskatchewan [0]. This was approved back in 2014.

[0] https://www.apegs.ca/Portal/Sites-Management/FileDownload/Da...
Google announced earlier this month that they would cancel the physical event and make it an online-only experience. Now they've decided to scrap that also.
Pandemics That Changed History
But we haven't observed much, yet. This is akin to the xkcd about how married you will be for days after your wedding. We are way too early to know what the later curve looks like.
Am comfortable using both OOP and functional styles, though I do enjoy the flexibility and terseness that can be produced from the functional approach.

What I meant by the comment is that when using TS, I just find it more easy and natural to go with the proper OOP approach. I think the very existence of a separate library to enable a more functional style in TS proves this goal has not been met yet.
Are you trolling?

Millions of people lost their jobs and can't feed their family untill quarantine is over. Do you want riots in the middle of a pandemic?

Get your head out of your ass.
No, Stanford MIPS is a separate lineage from Berkeley RISC.

RISC
RISC II
SOAR
SPUR
RISC-V

https://www2.eecs.berkeley.edu/Pubs/TechRpts/2016/EECS-2016-...

As for the original OG RISC, I think that'd be the Cray 1.
For some time now, all incoming visitors have been required to self-isolate for 14 days. This means that any incubating virus runs its course without further incident.

https://www.health.govt.nz/our-work/diseases-and-conditions/...

If any symptoms are shown, patients get tested. This is generally done in the carpark of their preferred Doctor (GP).

Positive tests are contact traced. In most cases there are very few potential people they could have infected, since they were isolated.

All businesses have been putting place COVID-19 plans and stepping up things like cleaning and moving workers remote.

Any school with infections possible is immediately closed, close contacts of the infected are put into self-isolation.

After some tourists failed to follow the 14 day quarantine guidelines, NZ has closed all its borders to non-residents.
That 3000+ per day is for the entire globe. And horrifyingly, there’s a chance the US alone will surpass that for some period in the coming weeks. Italy recorded 600+ today, and we’re much bigger. Plus we are way behind on locking down.