skysight-inc/HackerNews huggingface dataset:
I a big fan of strong type systems; but can see where the concept of fighting the type system comes up with people who are used to dynamically typed languages.

For example, consider the Haskell Maybe datatype. If you are used to a dynamically typed language, then it may feel like you are fighting the type system to cast between `Maybe x` and `x`. Indeed, in some cases these casts serve no purpose other than satisfying the type system because you, as the programmer, knows that the value cannot be nothing; so not having a cast "ought" to be the same as omitting a null pointer check.

However, once you get used to strong typing, you realize that the only way you would get a Maybe type is if (to a first approximation) some programmer thought that there was a chance that the value would be nothing. In this case, it is probably a bug to not deal with the possibility anywhere, and the type system is warning you of this. If you happen to be sure that the value can never be Nothing, then you can use an unsafe cast and make it clear to future developers that you did not forget about the case, but rather were confident that it could never happen.

Also, when you are prototyping, you might want to run code even if it has some bugs.
Could you elaborate. Is LR, linear regression?
Man, all of us 2000s kids really missed out on this sort of thing. It was hard to get into programming, much less assembler: nobody even knew how.

I eventually picked up a "For Dummies" book that taught be the basics, and worked my way up from there. First Python, then a touch of Ruby, and then some Scheme, and a bit of C. I picked up shell and Unix along the way.
I would use Google Cloud Storage or S3 Storage but their Traffic charges are HUGE.

500 GB Storage (Google Cloud Storage Nearline)
Storage Fee= $0.01 x 500 = 5 Dollar
Retrieval $0.01 x 500 = 5 Dollar
Bandwith Charges $0.12 x 500 = 60 DOLLAR

I mean SIXTY DOLLAR just for downloading my backups, they are crazy. Both companys.

Would use rClone for my backups but OVH OpenStack is kind of buggy and could not get it to work.
I totally see your point: this could be prone to abuse. But it's still light years better than the alternative of not offering any support at all to desperate people.

There are people whose companies and lives get totally destroyed when Google randomly bans them from one of their services and then there is literally no way to get in touch with anybody at Google unless you somehow manage to get media attention.

We're all smart and realistic here: we understand that Google can't offer free tech support for the entire world and deal with every crazy person out there. That's why charging a nominal fee is suggested. Should it be $1, $5, $25 or more? I don't know. But there has to be some way to reach out to a reasonable and smart human being at Google for critical issues.
Woah, Google’s AI Is Really Good at Pictionary
They can't filibuster everything. This doesn't seem like it would be a priority. The more effective venue for delay would probably be the courts.
Per Fitts's law [1], your screen is a lot bigger than the keyboard and your pointer is a lot farther from most targets, than your fingers on the keyboard that you keep on those "asdf" "jkl;" keys. So you can't be faster with mouse on most shortcuts most of the time.

[1] https://en.wikipedia.org/wiki/Fitts's_law
Then you knowingly bought a combo shitbox. There have always been quality consumer wireless access points, modems, and routers available, but you chose to buy the combo shitbox.
You don't reduce the infection rate by 99% or by 90%, it's not even the correct term really.

The transmission rate of HIV is not really dependant on the strain but on the behaviour of the affected host.

Since HIV infection can be asymptomatic even for the natural life of a host the transmission rate is then dependant on the environment the social interaction of that host.

A host that has unprotected sex (or any other risky activity as far as blood transmitted diseases go) and does not get tested regularly will have a considerably higher transmission rate than a host that has only protected sex and gets tested when they switch partners.

Most HIV patients are infected with multiple strains, because at this point most new infections are multi-strain ones due to the lifestyle of the hosts and due to the fact that the virus can mutate in vitro.

I'm also not clear how does this press release counts "strains", since it's 16 it's more than just by major types HIV-1 and HIV-2, but then it's the question of what and how they count sub groups.

Most people in the west will get infected by HIV-1 Group M type B, type B itself can have several variations, and there are also host specific mutations, and if you are coinfected with another subtype you can have multiple variations of both and also recombinant (a new form made out of several types of the virus due to coinfection of a single cell) variations that may or may not be unique to each host.

That said effective post infection and pre AIDS outbreak treatments can drastically reduce of new hosts that end up as transmission vectors and carriers, if HIV becomes a considerably more manageable disease that would allow most infected people to carry on with a normal lifestyle (safely have sex with a partner, and have children) once treated more people are more likely to be tested regularly.

If you can also contain the disease to specific subtypes which are regionally locked as sad as it sounds you still doing quite a bit of good since now you can focus your resources on education and containment as well as further research since the transmission rates between say interveinal drug users in Berlin are considerably higher than between a sex worker in nairobi and the same drug users.
My sentiment exactly. The thing they show in "live demo" can be done using existing DOM APIs, with less code.

Shadow DOM seems useful as far as isolation of styling is concerned, but it's really weird that it's not part of normal CSS spec. CSS in general needs some form of isolation. People resort to stuff like BEM to work around its absence.
I argue that they already are seen as such. So called white supremacists (emphasis on supremacist) in America spend a curiously small amount of time talking about how Asians are outperforming them on average, which sounds to me antithetical to their ideology (that whites are superior). If they really believed in white supremacy they would spend more energy on Asians than black people.
Isn't 98% certainty "1 wrong in 50 years", and 80% "1 wrong in 5 years"?
Life Is Short. Find Your Adventure
Stoicism resurgence seems very unusually connected to the rise of the alt-right.
Why hit you up offline?

I don't want some 3rd party to manage Postgres. I want something seemless like RDS.
How would you do a progress bar without JavaScript? Well, you wouldn't. So custom elements don't affect progressive enhancement as far as I can see. They enhance the DOM when JavaScript is available and when its not they are essential a div.
Yeah. Although the Gameboy's processor isn't a real Z80: It's more like an 8080 with some of the Z80 extensions (but none of cool ones).
I consider Blender much more user-friendly than Max, Softimage, Modo and ZBrush (to list the ones I've used). With Blender I found that I got frustrated a lot less because the work flows for the most tasks I did were streamlined and efficient.
Sure. Quoting from the History of Apollo On-Board Guidance, Navigation, and Control (David G. Hoag, 1976):

"Each of these later [complex manned] missions was assigned the responsibility of a senior engineer who assumed a more technical management role for the program....Names notable here are Dr. James Miller for the first Lunar Module program SUNBURST, Dr. Frederic Martin for the Command Module program COLOSSUS, and George Cherry for the Lunar Module program LUMINARY. These last two were the programs used for the lunar landing missions....

"Much of the detailed code of these programs was written by a team of specialists led by Margaret Hamilton. The tasks assignments to these individuals included, in addition to writing the code, the testing to certify that the program element met requirements."
Republicans filibustered everything. So it's not impossible.
sorry, but parts of this article are a bit.... dumb.

for example, "minimum production instance", it's comparing a 2cpu aws instance vs a 1cpu gce. no wonder its "50% cheaper".

I use GCE over AWS, and run aprox 50 vm's. GCE is cheaper, but not nearly as much as the article claims. the savings is for hardware. data egress cost is basically the same.
It’s 2016, why is video conferencing still terrible?
Maybe. The question is which gets eaten first - capitalism, AI, or humanity in general?
You can address just one misunderstanding. Someone else will address another one, and so on.
There's a much different history there. A culture was erected around black slavery. The country was divided politically by black slavery and then split in half by war over it. It hasn't been very long since all that happened. Black people haven't forgotten. White people haven't forgotten.
> by enabling one to progress in one's career, it opens up the possibility to lose that worker.

The manager will have to choose between losing you within the company, or have you work for a competitor. In some companies, he/she may also have to deal with your reasons for leaving.
While this is indeed interesting, I feel I should point out Haskell is one of the worst languages out there for writing a SAT silver which performs remotely well, as all modern algorithms work fundamentally on in-place modification of data structures, so you just have to put your whole program in the IO monad.
This is often brought up but having had some experience in the field this does not happen. Not only would you hear a tremendous shout from the researchers themselves crying foul but the company that "cures AIDS" is going to make an assload of money and earn tremendous PR.

The real problem is not pharma trying to turn things chronic but rather people who have less common or less prominent diseases.
I was talking about the flow of the worlds money in the future.
If one company has expensive treatments for a disease, and another company has a cure for it (at any price), which company is going to make more money? The one who has the cure, I'd say.

Multiple companies could collude to keep a cure off the market. But such cooperation would require all the collaborators to be simultaneously honorable enough to keep the agreement, and dishonorable enough to keep life-saving drugs away from people who are dying. I find that unlikely.

Meanwhile it would only take one traitor to make the deal collapse. Such a traitor could be any person who is in on the secret and also has a family member affected by the disease in question. It takes dozens of scientists, project managers, lab assistants, and random extra staff to create a new drug. I don't believe that many people can keep any kind of secret for any amount of time, let alone a secret as hot as a cure for (in this case) HIV.

This is why I don't believe in the idea that drug companies intentionally keep cures off the market. If no cure is available, it's probably because it genuinely doesn't exist yet.
Are you sure there isn't a setting in the Admin Panel to allow this?
> but how much of it can be attributed to advanced degrees in useless subjects like Ethnic Studies from bottom-tier schools

hahaha, observant!

I would say the Civil Rights Movement solved a great problem. Black Americans were denied from practically all schools before that.

When you cross reference amount of black americans in prison, with black americans with college degrees, the story of disproportional disenfranchisement drops to levels consistent with other color-based populations in the country. This would lead me to saying the Civil Rights Movement was one of the best things.

School, credit and housing was not extended to black americans before any of that, and it is primarily high school dropouts in the gangs and prisons.

The "bottom-tier schools" often do make some ethnic classes mandatory, and I have no idea how many people per capita major in them, but this is no different from the liberal arts degree that people in privileged classes take, just for the hell of it.
Ask HN: Which smartphone OS gives user 100% control?
Since I heard of the "digital death sentence" that Google imposed on some Pixel resellers, I decided its high time I "un-google" myself. I am someone who is 100% reliant on Google & its services. The fact that they reversed the decision is irrelevant.

Android cannot function without a Google account and Google keeps a rather detailed record of you. I do not trust google to not monitor me if I put the right privacy settings in place.

ios devices are like Apple is doing us a favour by letting us use their cool device. I cannot even control the apple services data usage when I am on a cellular data plan.

Based on the windows 10 fiasco & the past record of M$, I do not expect anything from them.

So, which other smartphone OS give the user more control over the device and who gets to snoop on the data.
> AWS is actually a pretty high margin business

Correct, see how much profit AWS contributed to Amazon in the past quarters.

> I've been an engineer at both companies

Same here, so I offer my perspective.

> Google is much better at this stuff

Not much, but noticeably better across the board. Overall it's substantially better when combine everything together. But as others point out, the technical superiority does not account 100% of the quality of product offering. Being in 2 companies, I think you have similar experiences. Otherwise, GCP should already eat AWS in 2012.

> Google will have little difficulty closing that gap and pulling ahead

I think so. But my expectation is that Google needs operate Cloud as its top priority, and treat AWS as a tougher competitor than MSFT in the search/browser war. The thing is, that Cloud is a much much bigger market than internet ads. The race will be long and difficult to predict. Amazon is a much more formidable competitor than MSFT. They have proven to be the best in retaining customer and build a brand. They are also extremely fast in execution. And they are not afraid to try crazy ideas and abandon them if proven wrong.
Just think of all of those smart phones the poor can't afford.
It is a bit of an anachronism, yeah. Soon, though, we'll have template literals [1], and this example will just be out of date.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
It's not the rotoscoping that I was talking about. Most of the CG in Cowboy Bebop is integrated about as well as a brick integrates with a window.

Or as well as the CG integrated in SeaQuest (anyone else remember SeaQuest?)
I feel like the frequency of the "scientific breakthrough" headlines that led to nothing has muted my enthusiasm for remarkable findings like this.

There is a huge difference between the NIH announcing a finding and the sensationalist science journalism that is typically inaccurate. I wonder if this divergence erodes the public trust in science.
Also, when writing code it's not unusual (at least among LISP and Haskell programmers) to have the editor replace a word for its corresponding symbol, the most famous example of which is (lambda -> λ) because some people find it easier to parse e.g. in emacs[0]. You can easily imagine doing that for other expressions, like (forall, there-exists, ...etc).

All in all I think it's a matter of preference which is in turn related to each individual's experiences.

[0] https://www.emacswiki.org/emacs/PrettyLambda
As someone whose google account is tied to a scary number of services, e.g. our company's G Suite, Fiber, Music, Play, Store, Cast/Home, Nest, Adwords, Analytics, Webmaster Tools, etc., and is in the process of migrating a bunch (but not by google standards) of data and instances from AWS to Google Cloud the thought that some screwup in some random service gets my account obliterated and my company loses access to our Google Cloud resources (because I'm the admin account) scares the !*^%# out of me.
I am compelled to create a HN account just to relate the below.

A year ago while planning to move from AWS to GCE, I created some instances to test under a company email id. Our emails were hosted under google apps. At some point, the email id got deleted for other reasons. I was in for a rude surprise. The instances disappeared, as I found out when the test urls didn't respond. Apparently, GCE deleted the instances without warning. I was later told by support staff that I should add another admin email to prevent mishaps like this. Seriously.

Anyway, we use GCE these days along with AWS and I quite like GCE. Of course, we now don't delete any email ids :-)
That's fascinating. Are you just speculating or is there some paperwork describing these findings?
It looks like AWS has a credit program for non-profits[0].

GCP has one for education[1], and a program to use GCP to protect journalists[2], but I'm not seeing anything for non-profits. You may be able to get credits by asking them, however.

--

[0] https://aws.amazon.com/government-education/nonprofits/

[1] https://cloudplatform.googleblog.com/2016/06/new-Google-Clou...

[2] https://projectshield.withgoogle.com/public/
Using Watson Conversation to Control Screenless IoT Devices
Helluva name, there. Oddly fitting.
As an international tax lawyer who has handled many, many cases for clients with money hidden in secret accounts offshore, I have two pieces of advice.

1. For Coinbase, this will not end well. The best Coinbase can hope for is a pretense (for marketing purposes) of Standing Up to The Man. Then a total data dump to the Department of Justice or go out of business.

2. For Bitcoin users, don't cheat on your taxes. (Oblig.) If you are concerned about information leakage to the U.S. government, do business with a company that has no ties to the USA.

It's not hard to see trendlines if you have watched for a while. Remember G.K. Chesterton's fence.
Agreed. I am a huge believer that you can get to answers quickly with a Monte-Carlo analysis. But I'd take it a step further and include how to solve differential equations numerically as well. You'd be amazed at how far you can get with Crank-Nichols, Lax-Friderichs, and even simple central differences methods.

Additionally a lot of stuff people use in machine learning today had its start in solving physics or communications problems numerically. Stuff like maximum likelihood detection, gradient descent, etc...

I also believe that implementing code to solve physical problems really can deepen ones understanding of physics. Once you have something you can really play with it and see where things break etc...
> While I agree that Google's pricing model is superior, the author's position on reserved instances accounts for ~40% of the cost difference.

Author here :D

Gotta take a stance to draw graphs, right? Comparing no reserved instance with the automatic discount is simple and realistic in my experience.

I could make pricing graphs accounting for 25% of AWS reservations and 75% of automatic google discount. In my experience, that's the proportions we _may_ have in practise. It would still be the same conclusion. Google is massively cheaper.

I could make TCO pricing graphs, accounting for the thing from the last paragraph, plus the human time (500$/day) required to understand, pick and manage reservations. I didn't do all the computations but so far it points towards a negative ROI (compared to not reserving), unless the infrastructure is big enough to have the economy of scale (hundreds thousands dollar per year). (Note: I really don't want to go against all the HN/reddit crowd who drank the reservations marketing koolaid, so purposefully avoid to talk about the TCO pricing model publicly ^^).

Thus, in all scenarios, google instances are massively cheaper. YMMV.
Sounds like your manager doesn't need an Angular expert. Try asking your manager what they would want you to learn for the job. It doesn't mean you should go force yourself to learn that thing if you're not interested in it, but at least now you know what your manager values and you can use that information.
I agree that that hiding opposing points of view isn't optimal.

But there's a lot of nuance between hiding them, and not giving them a platform. The points of view of the President-Elect aren't in any danger of disappearing from view, they'll be published and discussed in the media regardless, and there's been plenty of white-nationalist websites with discussion forums for everybody in the alt-right to present their message.

Another area where one might find nuance is between expressing viewpoints, and harassment and hate speech. It's perfectly possible to express oneself and one's politics respectfully. I don't think that's what anyone is talking about when there's talk about twitter needing to clean up their platform. Contrasting viewpoints are not the point of contention, it's whether people should be supported when they go out of their way to hurt and abuse and intimidate other human beings.

Should twitter really feel obligated, morally or on any level, to sacrifice the well-being of the victims of slurs and harassment, only because of the (very tenuous and abstract, in this case) danger of censorship?
Ghost in the shell is always my go to for people that dismiss anime. It doesn't pull any of the stupid anime tropes that people hate.
Can't you add another admin email, log in to that, and remove your own? I don't use GCE so I'm asking seriously.
Slightly off topic, but the video linked in the OP was worth watching for more context. However, he mentions at several points that the Virtuoso operating system for the Rosetta spacecraft was designed using TLA+. That is not the case: http://research.microsoft.com/en-us/um/people/lamport/tla/co...
Filibuster is one of their favorite tools - doesn't seem like they'd want to get rid of it, in case they need it again in a few more years.
I'm not sure what you're talking about. The parent comment was not about math notation, but naming mathematical concepts.
This is true. However, it's also true that your attitude towards things is complex and not fully in your control. Hence PTSD, trauma, phobias, etc. It does mean, though, that by trying to modify your attitude over time, you can become happier.
Mark Zuckerberg outlines how Facebook will tackle its fake news problem
Sounds like the cars should share a centralized database of critical sign locations, and cross reference their GPS location with the database. When they approach a location that the database says should have a sign, and one is not detected, it should behave as if there was a sign, and report the incident to somebody.
Slightly related - had a AWS account, the account tied to it was for business use only - at some point I had credits/balance on the business account and someone gained access to the regular amazon account and bought some digital goods, so I notified amazon. They locked the account AND locked me out of AWS. This particular account was not important, but it took weeks to get access back.

I finally had to call my rep at AWS and said - you are putting your business with us in jeopardy (On other accounts that we spend significant money on) because its taken me so long to resolve this. Got it unlocked in 24 hours, but the whole thing left a sour taste in my mouth.

I suspect Google WILL have this issue as well, it has the potential to be a huge issue for your business.

Alternatively never had this issue when I've COLO'd - food for thought.
I wonder if taking a stoic approach to life could help with depression?
If anyone else is wondering what "The Wizards' Lectures" are, they are a set of MIT video lectures from 1986 by Abelson and Sussman on "Structure and Interpretation of Computer Programs"

Here's the link:
https://groups.csail.mit.edu/mac/classes/6.001/abelson-sussm...
I figured if Matlab could have some fun, why not us. I was really happy when Dirk Eddelbuettel ported it to R:

https://rdrr.io/cran/rmsfact/