skysight-inc/HackerNews huggingface dataset:
> a) You now have an AppleVersion Property as well as Version Property, that feels potentially confusing for any user of that class. I now have to find the differently named Version property every time I use an entity?

It's a specialised type, so it has specialised behaviour. That's the point of inheritance. You can't put the specialised behaviour in the base because then it's not a specialised type and doesn't understand the context. This is an argument against inheritance.

> b) You have to manually write that exact boilerplate code on each specific case of Entity, and there might be a lot more if it isn't a simple example. In my case you get it for free through the generics.

Yes, every type that has specialised behaviour needs to implement it. And no, you don't get it for free in your version, because you can't have a collection of entities.

IEnumerable<Entity<Version>>

Or,

IEnumerable<Entity<AppleVersion>>

All of your complaints about generics appear to be because you're using them to add specialisation to non-specialised types. That will always cause headaches, and that's why, I assume, you have the opinion you do on generics.
Yeah, groceries are low margin long term business. It will take a decade or more, but the doom train is coming. I think the weird thing though is that should have been obvious already. Not sure why it took the acquisition to wake folks up.
It's unfortunate, but he's not actually trying to scam anyone. He truly believes that he invented email. Furthermore, he has become paranoid in the belief that there is a huge conspiracy to discredit him.
What's going on here is that Python is a powerful program, called a "deputy" in security parlance, which has some power that it can choose to delegate based on some policy. These sorts of attacks are called "confused deputy" attacks because they rely on tricking the deputy into misbehaving.

Admittedly, in the given examples, the attacks are not especially interesting, but that is because it is totally unsurprising that a Python interpreter might have this kind of power.

There are distros like NixOS where there is not a system Python preinstalled, this is due to NixOS following the Principle of Least Authority (POLA) and not putting powerful tools into standard paths automatically.
It's because in a dilution refrigerator, the bottom of the dilution unit gets cold. So its easier to put the coldest part at the bottom.
Is flying first class a waste of money?
Maybe if McDonald's didn't exist, there would be a more competitive franchise market and those small businesses would have made even more money.

I have no idea if that's likely or not, but without that analysis, it's no different than saying that Lamy make the book American Gods possible, just because Gaiman used one of their pens.
I think your missing my point: I don't care what they say. I care what they do. Actions speak louder than words. If they are encouraging privacy, cool. I can respect that. But they aren't doing privacy.

Until they do that, why would I look into them? I choose ignorance in a lot of things that waste my time. Looking into a company that won't put their money where their mouth is would also be a waste of that time.
How do you determine what the best food is or the cheapest cost for that matter?

Do you comparison shop at different supermarkets to figure out what the highest quality food is for the lowest price?

If you are like me you did that one or two times when you moved to a new area, but then stick to buying everything from the same store which I thought had the best quality food for the best price in general. The relationship that I have with that grocery store keeps me from shopping around prices at other locations.
That perception is _much_ older than Reagan. Back in 1866 we have:

> No man's life, liberty, or property are safe while the legislature is in session.

(Gideon Tucker), and it was hardly a brand-new notion then. The fact is that government, even democratic government, puts its needs and desires first. To the extent that this matches up with the needs and desires of the people it's governing, things are good. To the extent that it doesn't, you get problems. Democracy helps a bit with making things align, but not terribly much. And the more non-local a government is, the less alignment of its needs and desires with the diverse needs and desires of the governed, all else being equal.

This last is why some people advocate for more local government power and less central government power...
Maybe replace it with "coasting speed" and see if that feels better? It's a valid strategy. We have proposals for drive systems that get to .01c where the physics sort of works. I'm not aware of any realistic proposals that can supply 1g for any length of time. Maybe a ramjet, but last I heard those work better as brakes because, again, interstellar medium. Drag is another reason "cruising speed" might be a coherent concept even under thrust.
i don't get it how do all you guys get so much traffic you talk about 100k's and millions of people visiting your web sites how do you make that happen?!?
Fun and Festive Canada 150 Recipes
Please understand my sentence in context. I did not write that a search engine should not be used per se.
> most of them don't care (source: I'm a scientist).

But taxpayers' money are spent on journal subscriptions. So there might be people who care.
I don't get it how do you guys get to million of visitors? actually - if you just tell me how to get to hundreds of unique returning visitors??!?!
When they said that the next generation of advertising was going to be invisible I didn't quite know what to make of it, I guess this is it :) Good CPM and totally untraceable. I could get used to this.
Botlr is the future. These things work and they are amazing. https://www.nytimes.com/video/technology/100000003050865/alo...

http://www.cnbc.com/2017/04/21/robots-are-now-deliving-food-...
If you go further back, a lot of early AI research was exciting at the time, but is entirely forgotten about now.

Interesting that you would use that example. I suspect, although I can't prove, that this is largely a mistake. Or maybe not so much a mistake as a choice that will wind up being revisited. That is, I think there is still a lot of "meat on the bone" for many of the AI techniques that were being explored in the 70's and 80's, and we will see another round of things suddenly coming back into favor at some point. It's happened before... remember when ANN's were completely out of vogue, and the computing power and data availability caused a sudden resurgence in interest in those? I would not be surprised to see similar things happening w/r/t various aspects of GOFAI.

More likely, I think we'll see additional integration / hybridization of probabilistic / pattern matching systems (using ANN's / Deep Learning / etc.) and symbolic processing and automated reasoning.

'course, I might be totally wrong, but that's my feeling ATM.
The past few years I've deliberately tried to design the way I work in a way I like what I'm doing and how I'm doing it. I could still do better but I'm quite happy with my progress so far.

Therefore it wouldn't change all that much in that case. I'd still be teaching, creating products and solving problems.
That's what happens when you annex part of a country. People keep moving across something which is not a natural border.

Also, it's sad that you have to call human beings 'aliens'.
Shiva is a great guy. I strongly encourage readers to watch or listen to him actually speak, rather than get that third-hand.

I'm glad that he won against Gawker and am cheering for him to defeat Elizabeth Warren for Senate. He is the kind of smart, wise, and experienced technocrat that we could use in government, with an actual numerical sense and experience staffing teams and making payroll.
Solr, and SolrJ in particular. Personally I find googling for 3rd party examples / tutorials / stackoverflow posts much more productive than reading the Solr documentation.
And note that isatty() works on a file descriptor, and that you might be outputting to both stderr and stdout, and both, neither, or some weird combination might be a tty. (i.e., you need to check for the file descriptor you're going to output to.)

Some programs will check if stdout is a tty prior to writing to stderr, for example, which means that if you're doing,

foo | bar

foo's stderr will go to the tty, but would lose coloring, for example.
For example, `babel`, a JS transpiler, loses the color in its error messages when you pipe its output.
Scikit doesn't support GPUs, which makes it infeasible to run the sort of deep learning stuff that's currently making waves. The competitors to tensorflow are torch, caffe, and maybe Microsoft's CN(something, but not "Y")K.

To get started, keras is an excellent library that's build on top of tensorflow and has recently become an official part of it.
To answer your first question, I actually don't think it's a big deal.

It may become important if you end up having a ton of models running in production that need to be maintained and further developed, but in general for new applications I would say that substantially less than 5% of your time would (should!) be spent actually writing any code.
Have you had any of the never-frozen Wendy's? Vastly improved over the last few years.
How is it even possible to talk about recent acceleration in melting without mentioning the abnormally large el Nino we just had? Because it would imply the acceleration was temporary.
Sorry, spent too much time reading Trump.
Anyone remembers the scene at the fast food with Michael Douglas ordering breakfast in Falling Down?

https://www.youtube.com/watch?v=zJs9p-VNORw
There is no reason to assume a connection with a belief in the afterlife and risk for suicide. You'll note that atheists are just as likely to commit suicide as Christians.
Texas Companies Tie Worker Shortages to Immigration Fears
Is there a better way to pan than click-dragging 100 simultaneous bird sounds?
They can, however they are much more likely to be crowded out. The botulism spores are also more heat resistant than pretty much anything else. So the fastest way to die of botulism is canning food wrong.You kill all the bacteria. The botulism spores survive and prosper without any competition. Compare that to failed fermentation for example where you will have a large quantity of a mix of bacteria that is likely to look and smell and taste obviously wrong while not being packed with neuro toxins.
Don't miss the comments. Particularly Tor Hovland's hint about the size of k, and David Turner's "spoiler." The Wikipedia article [1] demystify's it completely.

[1] https://en.wikipedia.org/wiki/Tupper%27s_self-referential_fo...
I do sort of the opposite thing: I dump a whole mess of whole cloves --- sometimes even the supermarket jugs of peeled garlic (which are for any other application pretty gross) --- into a saucier, cover with oil (cheap oil is fine, I think, because cooking is going to destroy the subtle flavors), and cook in a very slow oven until the garlic is soft.
Are there any comparisons of MKL to the GPU versions? Because this appears to be an attempt by Intel to stay relevant in the field, and I'm sceptical when the hardware vendors are creating implementations that they couldn't get projects to do themselves.

If you're working on Mac without an NVIDIA GPU, the best bet may be openCL. I've seen a lot of commits for that, and when it's ready I'd be surprised if even MacBook GPUs didn't run laps around CPUs.
And my comment in reply to this nonsense got flagged and downvoted, 3 days later, on an already flagged and buried subthread. Wtf. You guys are just proving my point.
No, but it clearly is third degree burn territory.

http://www.accuratebuilding.com/services/legal/charts/hot_wa...

And considering you're strapped into a seat you are going to be exposed a lot longer than you'd otherwise be if you could jump away or have some other reflex act to make things better. First panic, then remove seatbelt, open door, get out. By the time that's all done you are probably 6 seconds (or longer, for an older person) in contact with the water, depending on the size of the cup that might as well be an eternity.

The burn I have is pretty extensive, it is so deep that there is no pigmentation on the burned parts and EMTs would not believe it is just a water burn.
people would comment if they felt the comment stood on its own and was worthy of a counterarguement. However i feel the author lives in a bubble where ordinary people pay for online things.
Most Open Access journals have special exemptions for poor scientists, institutions, and countries. On Elsevier and Hindawi and IEEE, if you are from a low income country, Open Access publishing is free.
I'm small fish here, but since question was asked I will share.
https://random.country/ brings me around 40$ passive income monthly. Around 5K visitors monthly.
Probably it could bring me more money with one more ad.
This is exactly the model of the Roku - it started out as a Netflix Player, but realized that deals with other content providers would be key, and that other Netflix platforms may not want to compete with a Netflix-provided player, and so Netflix spun it off.

It's a $1.5B company now (not monopolistic/huge, but a nice business...)
Real Estate - Whole Foods store locations are usually very targeted and nicely picked throughout the US, unlike Safeway's or Walmart's (in ghetto areas). The obvious reason is the expansion of amazon fresh. The least obvious reason is a long term investment in real estate. They want to become the McDonald's of the internet by investing $13 billion in Real Estate. Very good move from Amazon.
He means every 1/10th of an hour. Thought plenty of firms try pushing for 1/4th hour billing.
Happy Birthday, Canada
> [Ayyadurai] is a great guy

Great people don't sue news outlets to claim credit for things they say they did decades ago. They sue for royalties, or better yet, shut up and do things. This guy checks all the boxes for a sociopathic fraud.
-11$ this month for my blog. One article hit HN front page 2 weeks ago and I'm left with a small AWS bill, I had no ads :)

Since then, I tried to activate ads via disqus comments but their revenue program seems like you have to be selected first in order to earn money. What would you recommend to monetize a tech blog ? (at least to cover the hosting fees)
Scikit is for non-deep learning machinelearning algorithms only (It does support neural networks in the latest version, but only uses the cpu to train data).

TLDR: Use Tensorflow for deeplearning, use Scikit for other ML algorithms.
If a lot of people copy him, probably he will make a lot more of money.
As long as you're citing @karpathy, "I've been using PyTorch a few months now and I've never felt better. I have more energy. My skin is clearer. My eye sight has improved." (https://twitter.com/karpathy/status/868178954032513024).

My two cents as a researcher who has used theano, caffe, pytorch and TF: they all have their pros and cons. After starting out with theano, I really appreciate the dynamic nature of pytorch: makes debugging and exploration easier compared to the static frameworks. Researchers tend to value these features over deployability, scalability and raw speed (though pytorch is no slouch). So I fully expect pytorch to get a lot of momentum in the near future.
Compound interest applied to learning
Im assuming he has not watched Mike Judges Silicon Valley.
Three Paradigms of Computer Science (2007) [pdf]
a) Most humans aren't aware of these things, either, so they're really non sequiturs at best.
b) Even if you accept them as valid premises, it's much easier to disperse this kind of info to every car on the road than it is to disperse it to humans (every tourist in a city needs to know where every bar / park is? Or watch the local news?)
> he's not actually trying to scam anyone

Consider replacing "actually" with "intentionally"? He's actually trying to sell a lie. Whether he knows it's a lie might be another matter, and I'll grant you the benefit of doubt around his delusion.
big does not imply monopoly

Monopoly means control of the supply or trade of a good or service. Very little that Amazon sells is not available elsewhere at comparable prices (maybe exclusive digital content? kindles?), so it cannot be a monopoly.
One of a Kind Hiring Challenge for HackerRank.com
>Brazenly, he sampled a few drops of this extract himself

Damn that's hardcore. Observes that it kills animals so he tries a little himself. wow.
Would be nice to be able to filter by platforms available.
So is billions of dollars enough to dam these channels and bottleneck the melt?
Sony Digital Paper
> Shiva is a great guy.

There's not much evidence this is true and plenty of evidence it is not.
I have to say, I don't know anyone that always goes to same grocery store. Maybe it's because almost everyone I know is working-class, often hand-to-mouth, or because our stores are usually within 30m walking distance, but we all know which products tend to be cheaper on each stores and make trips to each depending on our needs. Comparison shopping is vital if you want to have a decent variety of foodstuffs on a tight budget.
I see your point about WU being famously used for fraud. The point of bringing up Apple gift cards is to provide a counter-argument that WU's services aren't inherently bad, even when some of the uses they're put to are. They enable fraud, but only as an incidental consequence of providing services to the disenfranchised that no one else is.
Sometimes valuable data is locked away in those apps, and using those apps is the only way to get at it.
Apple is dropping support for 32-bit apps in iOS 11. Doing this improves performance as 32-bit libraries need not be loaded alongside 64-bit ones. Furthermore, it paves the way for Apple SoCs that do not have hardware support for 32-bit instructions, maybe saving some precious silicon real estate.

[1] https://9to5mac.com/2017/06/06/ios-11-32-bit-mac-app-store-6...
You can't really rank or prioritise what cultural artefacts are going to be missed. It's such a subjective thing.

For example, whilst I enjoyed many retro games back in the day, I can't say I am too bothered about not being able to play them. But there are many people who would care, and value these things highly.

And there are certainly old apps I do care about for other reasons: perhaps they had a novel interface or solved certain problems in an elegant manner. For example, I would love to be able to easily play around with the software designed by Kai Krauze.

With art and culture, everything is subjective. One person's high art is another person's trash.
> nobody much cares that we can't play ZX Spectrum games easily for example

Speak for yourself. The ZX Spectrum was one of the first "media" I saw and interacted with in this world, before TV, before any books and movies and music that matter to me.
The greatest sports achievement in my lifetime? [Alex Honnold up El Capitan]
He's the kind of person who wrote a program called EMAIL in 1978 and claims that means he invented email. Meanwhile:

a) email already existed
b) inter-computer email already existed
c) there were hundreds or thousands of ARPANET email users by 1978

So he might be very smart, but he also appears to be thoroughly dishonest.
Ask HN: Why are some new startup founders so unaware?
On a platform that connects start-up founders I got many requests for a technical co-founder role in different start-ups.

By talking to the founders of the start-ups about their business model and so on, I realized that these founders are not aware of what they are doing. First, they lack the experience. Second, it's evident the impossibility to understand the challenges and the problems that can occur when developing a product and running a business.

We shouldn't be suprised by the fact that 92% of start-ups fail.

Building a start-up is insane difficult. I put 100 hours a week in my start-up and I failed after working more than 2 years like crazy. Now I am trying to get my life back, to relax, to discover the nature and to spend time with my family.

A start-up founder that is now starting his first start-up should not be such self-confident. We should make them aware of this.
Why was this downvoted? I was right. Traditional Chinese music is in pentatonic scale.
He really comes off as a sociopath if you check his Twitter, where he calls someone a moron, keeps attacking Elizabeth Warren, and treats Alex Jones/Info Wars as a serious media outlet [0]. Also, it's hilarious that he considers himself the target of a racist conspiracy but goes to great lengths to deny that Trump's and Bannon's racist politics. And this is a guy who is running for senate.

[0] https://twitter.com/va_shiva
"Song" can also refer to the act of singing, so the second one still read ambiguously to me.
> ... nowadays there are some really good alternatives ...

Can you name some?
It's really funny if you leave that tab and then come back. Probably some wackiness with Chrome's new disabling of background CPU usage.
I would be happy to change my position. Do you have any links which make you feel so?
Why are glad he won against Gawker? Can you point to any evidence to support his claims?
How does scientificamerican.com know how reliable I think eyewitness accounts are?

Why do people and publishers use that line? It can't be accurate and I find it presumptuous and offensive. It's a form of emotional click bait. "You don't want to be wrong about something do you?? Click Here!"

A nice calm "a lot more reliably than commonly believed" would be better.
> What would be ideal would be the ability to charge for an update.

Some developers do – they release a separate app that could have been provided as an update and just slap "2" at the end of the name – and I usually find that scummy. (Looking at you, MacPaw/Gemini.)
Not sure if the console itself is a bad idea, but the sad attempt at hype for it sure does look like one...
The future is here, just not from Tesla. Waymo and Volvo have systems which actually work. Waymo has real situational awareness, watching other road users and predicting what they might do next. Tesla is mostly following the lines on the road and stopping for interfering traffic.

Here's Tesla's "Autopilot" killing someone.[1] This is the Mobileye "does not recognize obstacles protruding into left edge of lane" bug.

Here's another crash from that defect.[2]

Here's Tesla's "Autopilot" hitting a traffic barrier.[3] Again, it's an obstacle at the left edge of a lane.

This is what happens when you take Level 2 lane-keeping and automatic cruise control and hype it into automatic driving. Other carmakers have offered comparable systems, but with much stronger driver-must-have-hands-on-wheel enforcement. Tesla didn't do that, encouraging drivers to relax and let the computers drive.

Waymo and Volvo take the position that when the automatic system is in control, the manufacturer is responsible. Tesla tries to blame the driver.

(Been there, done that. Ran a DARPA Grand Challenge team 2003-2005. Too old now to work on this.)

[1] https://www.youtube.com/watch?v=fc0yYJ8-Dyo
[2] https://www.youtube.com/watch?v=qQkx-4pFjus
[3] http://video.dailymail.co.uk/video/mol/2017/03/02/5177969943...
A woman who managed a McDonalds here in Canada sued:

http://www.cbc.ca/news/canada/newfoundland-labrador/newfound...
For those who are not familiar with the story, it starts with the Iranians democratically electing a president, Mohammad Mosaddegh. But he was too friendly with the Soviet Union and threatening to nationalize the oil industry, so the intelligence agencies of the US and the UK helped sponsor a coup to overthrow him and install the Shah as dictator. But the Shah was cruel and oppressive, and was eventually overthrown in the 1979 revolution and replaced with the present Islamist government.

Not surprisingly, this history left the Iranian people very suspicious of the US government. However, until this document release, the US government has denied it was involved in the coup.

The U