skysight-inc/HackerNews huggingface dataset:
FWIW I'm in the same boat wrt the iPad, however I just bought a used iPad Air 1st gen for 139 GBP (came with a brand new case too) to use with my new treadmill. It's slow as molasses but works great for watching videos (and iFit), and it was so cheap.
This comparison is absolutely correct. I've been in the computer field for over 20 years with a CS degree, and never really needed it.

Most businesses only care about making money. Unless your unique algorithmn costs less to implement and can make money right away, you are out of luck.

Hell, all the stuff you learn at school about algorithms and faster ways of doing work, has been negated by hardware advances that mask poor coding practices.

Go get an information systems degree, learn to code, and make money. The world is going to need coders and IT people for a very long time.
I'm having problems fulfilling this requirement in my libs: "Crates providing libraries should never use functions or instructions that can fail and cause the code to panic."

The Rust standard library Vec, HashMap etc. can cause a panic in Rust, if the device (such as a mobile phone with a small memory) runs out of memory.

C and C++ standard libraries (malloc, std::vector, std::map..) can handle those situations by returning null or throwing an exception.

I wish Rust had some easy way to recover from out-of-memory situations when using the standard library. I have been considering writing my own out-of-memory safe Vec, HashMap etc, but it can't be the right way to do it..
Tutorial: Setup Linux Firewall with Iptables
Yes: as usual with disease the poorest countries are going to be hit the hardest. If you think that Lombardy's medical facilities are bad, this will be quite the next level.
Brave promoting etoro, making fortune from its users who will likely lose money
The shameful lies about masks not working for civilians will kill thousands. Evidence based medicine (over the modern Bayesian Science-based medicine) has paralyzed our health officials from making common sense calls off priors. Homemade masks appear to be reasonably effective. The official response should be to make some form of improvised mask required when out of home, and ration regular mask for health care workers.

Even a scarf made of a t-shirt over the nose and mouth will likely reduce RO when used at scale on the population. The best way to protect healthcare workers is to reduce the R0 below 1. Nothing else will help. Widespread use of homemade masks, though not tested in a double blind trial, is low risk enough and seemingly effective enough to encourage.

Countries enforcing widespread mask use have lower ROs.
U.S. leaders of industry along with our political establishment have undermined American security by outsourcing the production of critical resources to an authoritarian, communist nation (China). It’s high time we wake up and hold these people accountable.
I wholly agree with this. I loved the mind bending nature of complex CS problems, including Algos & Automata. Yet coding is a snore fest for more than a few days.

I felt like I went from a forward looking, enlightening major - to become where you end up in the details worrying about semantics. CS is mind expanding; coding is specialist mind numbing boredom.
Didn't he prove that Super Mario Bros is NP-complete?
The gains inbetween these events far outweigh the cost of the bailout no?

Those who prepare well (3-6 months of reserves) will be ok, other businesses will need to perish to teach others a lesson.
Yes, the subthread is about the first Lemmings
I really enjoy being able to write about 90-95% of python with type hints, the static checking and IDE autocomplete is fantastic, and the remaining just be like "ok computer just trust me".

Or when I'm doing data wrangling in jupyter and I never use type hints cause it's all just REPL rapid prototyping and I get autocomplete from the objects.
this is priceless....still shocked people voluntarily put these things in their houses...
Demo is called Blunderbuss, by Fairlight: http://www.pouet.net/prod.php?which=53950

Youtube: https://www.youtube.com/watch?v=VCpYH8yDK8g
> What makes you think that?

Haskell is the only language outside of the proof assistant family to avoid the temptation to conflate evaluation with execution. It’s pretty clear in retrospect from looking at old papers on e.g. lazy list IO and old mailing list threads that modern monadic effects were born out of “well shit, Haskell makes us actually deal with this problem instead of doing what every ML language does with ()->”

> Please elaborate.

An object that is not referentially transparent is not a function. “Functions” in most languages are not necessarily referentially transparent, and even if they happen to be in a given case, it’s usually clear to neither the programmer nor the compiler.
The snarky answer is that Jeff Bezos looks like he is morphing into a Bond villain.

The correct answer is that yep you should consider what is in the room if you need a private conversation because devices are listening.

The title is also incredibly niche and alarmist. Only locked down lawyers need to worry about Alexa??
I have no doubt they are able to hear anything happening in the room they happen to be installed in. But I doubt they listen for anything but their keyword, and I seriously doubt they listen, record and send off to their overlords what they hear on a massive basis.

However, they clearly CAN, and while they almost certainly don't on any massive scale, if they by their overlord or a security hack, did on a targeted basis listen, record and send conversations on, that would be very possible, and very harmful for whoever was targeted.

I can't imagine the NSA and other covert organizations not drooling at the chance to do just that. I'm also fairly certain those devices are not secure as by and large the tech industry has a complete failure rate at making anything computing related secure.
Detecting Covid-19 induced Pneumonia from Chest X-rays with Transfer Learning/AI
A World Without Strings Is Chaos
I'm curious how this applies to the bleach sold in stores. Are they doing something to make that last longer? Otherwise it sounds like they should be treating it with perishability similar to milk.
In case this gets lost to the depths of HN New, thank you very much for posting this. Awesome writeup.
> What do you do when your algorithm works with array indexing and you are never supposed to handle than None within the Option?

That's where the first clause comes into play:

> Array indexing must be properly tested

Although

> Ie if you have indexed array out of bounds that’s a developer’s mistake

Which developer would be my question.

If it's the person who reified the "algorithm [which] works with array indexing" then fair's fair, it's a bug in the implementation and should not happen, which is why the guideline specifically says:

> should never use functions or instructions that can fail and cause the code to panic

which, assuming the word is used in the RFC 2119 sense means there can be case where calling panic-ing functions is the right thing to do.

If it's the developer who calls the function implementing the algorithm, then either algorithm is failable (and thus so's the function) or the algorithm should take in more specific data structures which statically exclude failing cases. For instance `max` on an empty collection will fail, so either `max` should be failable (which e.g. `Iterator::max` is) or it should only be callable on some sort of `NonEmpty*`.
I was talking in general, a little more specifically about the news media, and not at all about Dr. Drosten.
Not having health insurance is not an excuse.

In Germany you are required by law to have it.
The trick is using multiple monitors, so you can have the book open on one, an IDE in another, and a browser in another. If you only have 2 monitors, as long as one is 3K/4K you can split it between the IDE & browser.
> It seems they can’t fully explain the spread in some places without it, but they can’t explain lack of spread in some places with it.

They surely can. They just have to assume there are way more asymptomatic cases than they have been assuming, and a relatively small susceptible population.
Previous discussion with 600+ comments (which is linked at the bottom): https://news.ycombinator.com/item?id=14440507
Your phone or video conference company is providing the platform that allows you to have the conversation in the first place. Same with your email provider, same with applications running on the cloud. Those are the infrastructure We pay monthly to support business and communication.

If my neighbor was listening to my conversations AND running the third largest ad platform on the internet, it would alarm me.

These aren’t apples-to-apples comparisons.
Indeed, you have a point. But in the US at least we have a serious trust issue with what we hear. I believe Fauci, but he still has to play by somebody else's rules.

I too am tracking the numbers. I seriously and honestly expect them to become unavailable- or at least very hard to get to, if things go very very bad.

I expect to see a bump in the "infection rate" in the next few days as testing becomes more widespread. In fact, I expected to see the start of that already, but if it's happened it's not obvious. The number of cases continues to double every two days and change.
One hopefully positive indicator is that yesterday new daily deaths in the US were lower than the day before (49 vs 57) [0].

Obviously it's only one day so time will tell if that means anything or a pattern occurs. As others have said, the stats for number of people affected is so closely linked to testing rates which have been increasing that this could be a more indicative metric to follow.

[0] https://www.worldometers.info/coronavirus/country/us/
The Mozilla SVG docs are great too: https://developer.mozilla.org/en-US/docs/Web/SVG
>> And I am having serious misgivings about posting it, nonetheless, many people have expressed deep concerned, and I'm doing the same, only with actual data.

There is no "actual data" in your comment above. There is a claim that you make that you have graphed some data, but no graphs and no data.

Also, it doesn't take an epidemiologist to know that a non-epidemiologist should not play at epidemiology. The other poster doesn't have any responsibility to tell you "how to model the data better".
Are you sure it’s python specifically they are talking about? Glue does simplify a lot of that data moving for you, and probably what they are recommending.
a) No they won’t come out as Any. Most of them won’t.

b) You’re doing metaprogramming wrong if it goes against the assumptions of the initial language you started from.
This is the exact same objection people have been raising for 20 years. Yes, lifted types and partiality are probably bad. No, this isn’t an argument against distinguishing between functions and other objects. If anything, it just goes to show that Haskell should have been even more extremist about effect management.
I mean, it's probably not actually going to happen, at least not anytime soon, so no.

But ideally, yes, we would head at least a little bit in that direction. SELinux has bad UX, but some of these hard UX problems are solveable with enough effort.
How widespread is widespread? Japan, South Korea, China, Hong Kong, Taiwan… these are countries in which people wear masks in large numbers on a normal day.

They all still have an R0 above 1.
It seems though that the US couldn’t actually go back to the moon or maybe even put people into space without the Soyuz, so now so it’s lost those capabilities amongst others, that is my point.

Even in a crisis, all that economic wealth and military dominance that the US claims to have can’t put masks and gowns on people that need them, so is there really much steam left in the tank ? I hope there is and I’m sure there is, it just needs to find the right channels. God Bless America!
Awesome. I will try this next Monday on a code base at work, I hope it will improve readability. I admit I'm a little skeptical about the adoption of optional typing if it's not going to affect performance but maybe this will change my mind.
are you kidding?

It is easy to perform calculations involving millions of numbers in org-mode (e.g., using numpy) that I wouldn't even try in Excel (is there a limit of 16k columns?)
I think there are more concerning pollutants than CO2, at least in the short term, like particulate matter, CO, and NO.
This could be too high level, but I stumbled onto the founder's (crawshaw) website and found one of his blog posts very helpful for understanding basic fundamentals of the product (i.e. Zero Trust networks and microsegmentation)

https://crawshaw.io/blog/zero-trust
Love that description.

In many ways watching people describe and choose their spot in the "grab package" <-> "herd goats" spectrum is my favourite part of AoC each year¹. The squirming some people choose to do when justifying their place in a table of magic internet points is a lot of fun.

Edit: Should add I'm one of those squirmers too, often when I'm thinking about networkx/numpy/etc.

1. https://adventofcode.com/
I'm sorry to say it, but that's just noise in the data. The death numbers in the United States will follow an exponential curve for a long time yet. Two weeks would be the absolute minimum before the shutdowns have an effect, but I think a month or two is a more realistic hope.
Also wanted to say that The Food Lab by Kenji Lopez-Alt is great.
Dude, get a grip. In the unlikely event a random HN comment out of thousands has any impact at all, this sort of analysis will save people, as more accurate knowledge about the state of the world always does.

You're forgetting that people are being asked to self-triage on a massive scale. I've seen a ton of false information about hospital capacity on HN in the last few days. Panic is contagious so a report like "hospitals in Lombardy may soon run out of capacity" gets changed within hours to "Italy ran out of capacity days ago" despite being false. Yes, I've seen that here on HN just within the last few days, and many similar examples.

What happens if people wrongly think their hospitals can't take them? They either won't go or they'll go much later than they should have done, by which time they may require much more intensive care. If people accurately understand the state of play they can self-triage far more efficiently and safely. They can also push back against the mass hysteria that is quite visibly setting in, leading to better and more rational decisions that will end the epidemic quicker.
I think in all cases the service provider has a pretty strong incentive to not violate your trust. You'll cancel your Zoom subscription if they start feeding your meetings to the person that sues. You'll stop buying from Amazon if Alexa starts feeding your meetings to the entity you're engaged in litigation with. In both cases, the incentive exists to keep your confidential meetings confidential.

But, incentives are not crypto. There is probably nothing nefarious going on, but if you use open-source software with strong cryptography, a service provider that wants to be nefarious is simply unable to do so. That is what lawyers should be aiming for; freaking out about Alexa is a feel-good stopgap at best.
Thanks. I meant in terms in desicated parts but FPGA might do it. I think we need some starter computers for kids and 8 bit seems quite a good choice. A lot of us started with them and they were simple enough so we could program them ourselves.
I think in the general case, you are absolutely correct.

In a sub-thread comparing language features of two languages to each other to compare their overall complexity, I think it pays to be precise.
Two Line Element Sets
Maybe so, but I'd still rather have my house built by someone who studied architecture, because they will have unique insights in the moment that others would miss.

Also you get a better house if the architect who designed it also builds it.

And eventually the house builder gets enough experience to become a much more useful architect because they know what's actually possible and what is purely academic.
Also what’s stopping them processing advertising relevant keywords locally and then just sending a list of keywords to amazon.
One theory could be that people do not simply have the previous experience in CS the same way they have it from physics, biology, chemistry and math from college or even before. I for once was interested in physics, started in electrical engineering but transferred quickly to computer science just after few mandatory courses I had taken.
It wasn’t always the case that teleconferencing providers could listen in. At least Skype was peer-to-peer originally.

And only corporate firewalls and some bad providers would prevent it from working today.

My email provider surely isn’t reading my mail, but then again, I seem to be in a minority that doesn’t use gmail.

The threat of real-time speech-to-text is real, but police all over the world have made the mistake of spying on lawyers now and then.
What is a perfect interview from Facebook's perspective? Probably a large part of it is determining whether or not to move forward. For a person who wants to work at Facebook, a perfect interview is mostly one that's passed.
And that’s the issue. For most people college isn’t about “being a better citizen of the world”. It’s about getting a job. There are relatively few positions for pure “computer scientists”. There is also a reason (as stated in the article) that many companies outside of Silicon Valley won’t hire new college graduates. Many of them are basically useless as developers.
That stuff is nasty and we don't even know if it actually helps yet.
Jamestown Polish Craftsmen
I think if you're going to make a post like this, it's reasonable to expect that you present some actual evidence, or is your whole argument that we should ignore evidence?

"Homemade masks appear to be reasonably effective" is hardly a compelling case.
> a person who back in January acquired something like pneumonia and a bad fever, went to the hospital for awhile and tests were negative for flu

That’s exactly what happened to my dad in February.
Many of the ATMEL 8 bit chips do have an external memory bus. Not used in this case, but it's possible.

Sometimes it's pretty blurry what is a microcontroller and what is a microprocessor. The PIC32MZ/DA has an integrated Graphics Controller and 32MB of DRAM.
ISWYM - I see what you mean?
I'm not sure it's that apt... maybe it is, so long as you grant that architrctural study can help you design and build better houses.

Sure, you can get the knowledge in other ways, and sure, some of the houses built by people who haven't studied architecture are great too.

Some aren't though, and their builders could have benefitted from a bit of theory ahead of time.

It's almost more like the relationship between materials science and hoise building - it can enable you to do a better job.

For those saying you've never been helped by your CS degree, I think you either took a bad degree or you'be been stuck in un-taxing work. You've seriously never bothered thinking about, say, algorithmic complexity? Or other topics that should have been covered?
> Really? So now this has devolved into a debate about semantics?

You just reasoned on the basis of your "definition of a language feature" that I am wrong. Don't blame me for turning it into a discussion 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.

It is about JS and TS. A poster asked, about JS developers, "Do they just magically decipher what interface an argument conforms to?". There is a reasonable answer to that, and it isn't "This is a good example of the object oriented, strongly typed way of thinking. Explore languages that follow different paradigms, where interfaces just don't apply", which doesn't answer his question and instead assumes that the poster simply hasn't explored languages that for some unargued reason will change his question.

Obviously he is not talking about interfaces as a language feature, since he acknowledges that JS doesn't have explicitly defined interfaces.

You yourself have been talking about library APIs. I'm sure you know what the I stands for.

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

I am saying that they are interfaces. I am not saying that function signatures constitute the entirety of interfaces in general, and I'm not sure what I wrote that makes you even ask that question.

> 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.

It's a discussion, and I participate to discuss things, not to hear you tell me to "deal with it". But sure, I can't stop you from participating on whatever basis you prefer. I just want to point out that I get absolutely nothing out of it, so if you're writing that for my sake you can stop.

> And I stand by the sentiment: for optimal results, think functional when working in a functional language.

This is not about functional vs. non-functional. It's about JS and TS, as you've pointed out yourself.
This is a bit of a surprising day for this article to come out. In only a few hours there is going to be the third launch of OneWeb satellites. If successful, it will bring their total launched from 40 (34 of operational design) to 74. As far as I can tell they need 600 in orbit to start offering service.
Yes, that’s been a frustration for me. I’ve settled on the Motorola 6847 which requires a couple supporting chips. This is scavenging parts off eBay though, which seems to be a plentiful source. I’ll find out shortly whether any of them are actually good.
Yes that is one of the primary failures of Rust at the moment: to my knowledge it currently has no good way to safely manage allocation failures (it also has serious issues with stack overflows).

This is an issue with all heap-allocating construct, not just collections but also Box or Rc.

> I wish Rust had some easy way to recover from out-of-memory situations when using the standard library. I have been considering writing my own out-of-memory safe Vec, HashMap etc, but it can't be the right way to do it..

Maybe look at the embedded space there? There might be no_std third-party libraries which handle these issues. Possibly on top of alloc as the (unstable[0] and obviously unsafe) `Alloc` trait does have a concept of allocation failure.

[0] https://github.com/rust-lang/rust/issues/32838
How are you making the tonic?
All business only care about making money.

Well, that or getting acquired....
And how many deaths would a greater-then-the-great-despresison depression will cause?
This virus has spread just like you would expect it to if airplanes did not exist (probably because most flights are short range). And it started at the North Hemisphere.

The southern countries are all on the initial stages, and I doubt any one has any reliable number for transmission speed, due to both test limits and low numbers overall.
There were stories earlier about Alexa employees and contractors hearing all kinds of unintended conversations.

https://www.latimes.com/business/la-fi-tn-amazon-alexa-echo-...
A simple dish or antenna can collect the signal. Size it to your purpose. A sensor is just the last step of what you do with that signal.

Think of putting your smart phone camera up to a telescope eyepiece.
In France, Europe LVHM converted their Chanel No 5 factory to producing hand sanitizer in 72 hours.

https://www.ft.com/content/e9c2bae4-6909-11ea-800d-da70cff6e...
Reading even deeper, there is further subtext where individuals with backbone will work from home if they want to. I see “do what you think is right”, with a first hand example of the owner of the company doing both at once.
You’re correct that TS doesn’t need it due to its excellent type inference