skysight-inc/HackerNews huggingface dataset:
Yes, in most cases the sentence will still mean the same unless it's a very complicated sentence with multiple nouns and adjectives where there may be some ambiguity as to which adjective goes with which noun (and that too only if declensions happen to be in the same case). Having said that, the most common sentence structure used is still subject-object-verb.
> There's a solid base of racist idiots in the UK - proud "patriots" who don't understand how to invest in the future, but do understand tribal flag waving and imperial nostalgia.

As opossed to the tribal flag waving from the bureaucrats in Brussels and those they've brainwashed into supporting them?
There's some good data on this. I seem to remember happiness responding to income up to about $80k/year and the curve continuing rather flat above that sum.
I made a similar comment on the reddit post. This seems like something handled better by interfaces.

In my experience, whenever I end up writing a large type switch on an interface I take it as a code smell. All those cases should be an interface method. Only in rare instances (base case serialization of builtin types for example) would I really think type switches make sense.
> Ireland will turn back into a mess

didn't know Ireland was in the UK?
Those two aren't exactly equivalent, an insurance wouldn't cost nearly as much as the amount you need to save for emergencies. Saving money to mitigate an event that only has a 10% chance of happening requires 10 times as much money than you'd need on average. Even if an insurer asked twice as much as necessary that'd still leave you with 80% of the money free to spend, rather than 100% of it locked up in a savings account just in case.
Does that mean that tuna does not have much selenium? Would it be possible to mitigate the effects of a tuna rich diet with by also eating other food rich in selenium?
Sounds like they soak the print in a NaOH solution. I imagine if the material is porous enough to evaporate acetone, it's also porous enough to absorb a NaOH solution.
I'm pretty sure it included its equivalent functions and definitions

http://www.pascal-central.com/docs/iso7185.pdf
Five weeks of vacation helps too.
I wonder if the lack of ethnic diversity in the "happier" countries is a contributing factor:

https://www.washingtonpost.com/news/worldviews/wp/2013/05/16...
Sorry for the delayed answer. We're on China time here :)
For me, it's mostly teaching, but even "extreme" amounts of teaching as a lecturer amounts to about 15 hours of classes per week. Compared with my 60 weekly working hours as a developer, this is almost perpetual holiday. Of course, there are exams to grade, lecture notes to write, and such. Also, you need to publish stuff in academic journals, and this is quite hard sometimes, because there are only limited amounts of journals in which everyone has to publish, so the competition can be fierce. Contracts are fixed-term for the lower ranks, so if you are unlucky, you can easily find yourself out of work every two years or so. So it has advantages (less stress, nicer work, more freedom), and disadvantages (unsafe job, cut-throat competition, generally less money) compared to IT.
From the readme:

> The go-sumtype command recognizes this pattern, but it needs a small amount of help to recognize which interfaces should be treated as sum types

Why is this? Have you tried detecting sum types automatically? Maybe some heuristics like: package-level declaration of the interface, has an unexported method, has more than one type that implements it, maybe also the interface itself is exported.
Using Human Brain Activity to Guide Machine Learning
Who says this has to come from the desktop/laptop hardware side of things? They make the fastest and more powerful mobile chipsets (including GPU) right now...
I had no idea this was a pitch for a startup until the very end. Well played.
Self-driving cars as in with no driver at all, even as a backup? Surely being allowed to run a fleet of self-driving taxis is 10+ years away from being legal?
Not an expert but I expect that what AI/machine learning/NN shines is the ability to produce very high quality solutions (or approximations) for large-scale NP-hard problems. With regard to the "NP-hard" part, I don't think regular data science can be a sufficient substitute.
SOCIAL MEDIA IS KILLING US
As someone living in Norway who has been quite interested in the subject and read a lot about it. My understanding is that nordic countries tend to come at the top, not because people are jumping around with joy in the streets. More likely to find that in South America or Africa. Nordic happiness is a mild happiness. It is really about having few people very dissatisfied with life rather than having super happy people.

There is little of the social conflict, poverty, health problems etc which plague many other countries.

That is what these things measure. Latin American countries would typically get pulled down because there is a signifiant portion of people who don't have very nice lives. This is what I've heard from foreigners living in northern Europe. They notice that there are very few people you observe who look genuinely dissatisfied with their life.
You can't simultaneously "devalue spammy tactics" and not be penalizing sites for spammy behavior.
There are two things to keep in mind when watching videos recorded through the HoloLens:

1. The frame rate and image stability are much better in person. The HoloLens has to cut the rendering frame rate in half to be able to record video through its front-facing camera because the camera and the display share a bus. So what you see is significantly degraded.

2. The constrained field of view is much more noticeable in person. With the video, you don't get to see anything out of the bounds of the frame, so there is no reminder that we can't "see" everything. Also, we are used to watching videos, so we don't think about the fact that we can't turn our eyes and look in different directions. What you see is significantly more generous to the HoloLens than reality.

I think the combination of the two factors generally makes the video an "accurate" representation of the HoloLens, even if it's not terribly "precise".

I don't consider the current iteration of the HoloLens to be a usable device. Comparably, the HTC Vive is a much better experience, one that is capable of providing to users an experience that is worth the drawbacks and the extra effort necessary to deal with them. The HoloLens is more effort than it is worth.

But on the other hand, tethered, completely opaque systems that require external tracking hardware for head and limbs are clearly a dead-end technology, even if that dead end is 5+ years from now. The end goal with mixed-reality technology is clearly in the HoloLen's lineage, not Vive or Rift or even Meta 2.
Wait. I thought that was wearables? No wait, the TV, or was it cars? Oh gosh I've lost track.
How far does the control go? I've heard this argument a lot and that crucial piece is always missing. In your eyes is the US at a good freedom/control ratio or would you like to see more control over our diets (or drugs) being imposed?

*Edited to include (or drugs)
> They've tried to brainwash people how Brexit would instantly collapse the econ (didn't happen, did it)

I may be just silly, but Brexit hasn't happened yet.
The D Garbage Collector
ColorHunt, a scavenger hunt where you find colors instead of things
What doesn't smell right is that a self driving car would be stopped dead by a solid white line directly in front of it.

Let's play "Five Why's":

Why does this seem fake? Because it doesn't make sense.

Why? Because it would be really bad software engineering

Why? Because this behavior would not be safe or desirable

Why? Because you don't want a car to stop just because there's a line in front of it

Why? Because there are solid white lines of all kinds on nearly every street in the world.
> they are nonetheless doing what the people told them to do

We call that a functioning democracy. The EU is the opposite of that.

EU: "You have to accept our way, even if you don't want it and it's bad for your country. It's for the good of our global group."
Is "TLDR summary" intended to mean that it's a summary created by someone who did not read the article? In particular, the article mentions nothing about saturated fat. Modern research no longer implicates saturated fat. A major part of the "observation" section of this post is based on that injected and incorrect conclusion. Meat/dairy/eggs are fine, with the qualification that processed meats do continue to raise health concerns.
There aren't many green lawns in California desert though, too expensive to maintain! Lawns definitely aren't a "social requirement".

I guess Kudzu in Mississippi could be a problem,
"Cheap" rather than "good": that's the switch that ruined it all!
"Polish" is irrelevant as it relates to realism - what matters is people believe it adds value realitive to the cost to them, which includes the social impact it has on them.
If you're counting on the iPhone of AR, expect to wait. The state of the art is more at the palm pilot stage.

There's too many bleeding edge technologies, both software and hardware related, that have to come together before a sleek and affordable consumer grade device can really be a thing.

I look at a company like Magic Leap, and it's disappointing to see how much money has been dumped on them. Now they have to build a consumer grade device to justify their valuation, and I don't think it's possible anytime soon. I think they should be working with a fraction of the capital they've received and be focusing on a killer enterprise app that some industry might be willing to pay $5000 per unit for a clunky and unfashionable device.
They implied the mere vote for it would collapse things.
Apple does have more registered developers than any other company right now. It is why Apple is able to get a larger portion of the consumer market than other devices even when they arrive late. Just take Apple's Watch and it's competitors for instance (Android wear and Microsoft Band).
Mobile chipsets can barely support 1080p 2D 60FPS.

You want to support >1080p 3D graphics projected onto the real world with VERY harsh latency limits (human sensory). Modern GPU's that eat more than 100watts and have terraflops of compute power are only starting to offer the compute speeds VR needs.

With Moore's Law ending I don't see mobile ever being able to render VR settings to a sufficient degree.
Machine learning to locate job killing Facebook, Twitter, and Instagram posts
.....Continue please..... :-)
Upvoted, I really feel that the discussion about fake news is degenerating / encroaching towards maintaining the status quo and a generalised lack of self-criticism.

When I read

> I highly doubt that Facebook will “move fast, break things.”

> Instead, Facebook is pushing half-hearted solutions and scapegoating the issue to other parties, prepping to weather this storm on an already-laid foundation of media dependence and habit.

I start to think Facebook is only waiting to be disrupted.

This may be one of the human sides of a technology developed by people who want to "fix everything from polarization to terrorist attacks to how we live together", but fail to provide basic rights to its users (privacy and freedom of information among others).

Any opinion ?
Doping in sport: Drug use 'fast becoming a crisis'
> Currently the UK's Department For Brexit has stated they have no idea what will happen there.

That applies to everything not just Data Protection/Retention.

They have no plan, no mandate for what they are doing and no sensible way to even begin the planning.
Teaching. See the answer above for more detail. Thanks!
Because it was set up to try and avoid future wars by pursuing integration, not to represent the will of the people.

AFAIK the EU Parliament cannot even propose legislation. The unelected Commission holds that power.
Because most of use are just normal people who want great things for the people around us and (at the very minimum) nothing bad for other Americans external to our circles. Most of us aren't hyper-political. We're not getting abortions by the truckload. We're not hoarding guns in a weapons cache. We don't hate foreigners. There are exceptions to all of the above, but we're mostly just regular people who lead relatively normal lives wanting good things for everyone.
If we choose to 'fight' fake news, meaning we try to automate its removal from social networks, we'll end up censoring a good deal of speculative news which takes leaps of logic and is controversial but not 'fake' in the sense that it's trying to pass falsehood as fact. This is obviously problematic if we want to foster free and open discourse.

The alternative is to not do anything at all, but that leaves our democracies open to attack from malicious actors.

These both lead to bad outcomes. So let's consider alternative approaches.

I believe 'fake news' is a symptom as well as a cause of political polarization. The less polarized and divisive our politics is, the less willing people will be to blindly accept fake news. Basically the potential receptive audience to fake news will decline. Given that approaches which try to attack fake news directly both have negative consequences, I think if we instead try to target other sources of polarization in society the fake news problem itself will become less serious.

Let's start with getting money out of politics, instituting term limits for congress, finding an alternative to gerrymandering for the creation of electoral districts and most importantly growing the economy.

These are challenging and nontrivial approaches but will ultimately attack the root cause of fake news spread. It is much better to treat a disease at its source than to just treat its symptoms.
> If there was a trusted (read, authoritative) service that one could use to vet such stories then the problem would go away. The devil is in the details though. I've seen people dismiss Snopes as some sort of leftist agenda pandering website.

But this is exactly the issue. If you're saying "these people aren't competent to evaluate news, so they need a trusted source", then how can they possibly evaluate their trusted source?

It's not a surprise that people who can't pick out fake news stories also can't tell how effective Snopes is, it's the heart of the problem. (Well, that and "if Snopes became authoritative, how would you know if it started lying?")
Pretty much everything you said about Latin holds for Sanskrit too. Sanskrit has additional complication 'Sandhi' - euphonic combination [1]. There are many rules which are used to combine words depending on the ending sound of the first word and the beginning sound of the second. And you can keep on combining words as long as the rules are applicable. So you can get very long words without a break. Newbies often struggle with this.

[1] https://en.wikipedia.org/wiki/Sandhi
Medical SEO: Awesome Tips for Doctors Websites and Blogs
TechCrunch vs. ProductHunt: How We Drove 1,300 Signups in 2 Days
You mentioned you have a kid and no job. So, you might also worry about the future of your family -- unless you're super rich. I think that makes a big difference. When I was 20 I had the great privilege that I simply didn't care much about my future most of the time. I was able to concentrate fully on what I was doing. Now, I have to handle all sorts of minor problems that occupy some space in my consciousness. I have to allocate time for learning new stuff in advance instead of just doing it when I feel like it and when I'm best at it.
In Europe it's 3 years minimum for electronics - conflicting with a lot of electronics' manufacturers who want to do 1 year at best. It's not a lot, but better than nothing. I'm reading on an official site that it's two years, which I guess is for all products, not just electronics.

Electronics are the kind of things that really shouldn't be expiring. They do though, and for most cheap electronics it's on purpose - they install underrated condensors that will start to leak shortly after the mandatory warranty expires.

I have an old LCD monitor which stopped working, but my dad's handy with a soldering iron, replaced the leaking condensors and it's lived for twice as long already with no signs of giving up any time soon. I'd rather want to replace a monitor because there's better and more modern alternatives, than have to because of leaky condensors / planned obsolescence.
Apparently not.

From the article:

> It’s either incompetence or more likely, planned obsolescence.
Hi sologoub - can you elaborate a bit on the tuning for Redshift you're referring to? What's the pain there? Asking because we're building a performance management product for Redshift, I'd love your input! lars at intermix dot io
> Except, just like the first iPhone, they will make it actually look like a normal pair of sunglasses.

Not going to happen (any time soon). That's an insurmountable engineering challenge for the foreseeable future.
Having worked with their racing teams in the past, you are correct. A good example is the clutch. Most clutch pads made these days, and likely for the last 4 or so decades, are made out of composite materials like ceramics, carbon-fiber, and even paper. These clutch pads have higher heat tolerances before warping occurs, yes, but they wear out much faster under daily driving conditions. Brass clutch pads will last beyond the next 2 ice ages, but do warp at very high heat/pressures, as one may experience when first learning a stick (but then decided to continue grinding away for the next 15 years anyways). They also do not design such that it will only last 10 years, they design such that it will last until some statistical deviation longer than the warranty for that part/car (depending on the contract corporate pushes out). Example: The manual transmission has a warranty for 3 years/50,000 miles. The clutch pads are then designed to wear out at 55,000 miles/3.25 years, or whatever the algorithms says will produce the most money.
An alternate interpretation is that devolving political control to the smallest possible unit is an available option regardless of a land mass' total population size.
Running an unregulated taxi service was also 10+ years away from being legal...
Intentionally or unintentionally, they have to go. All media is suspect without sources, secret sources, sources that won't go on record, and all the rest without proof of what they're saying.

Else we're no better than school yard gossip.
I find these studies so biased. Asking questions trying to figure out how positive a person is, its just a bit non sense without taking into account culture.

Im from south Europe where in my opinion we are quite happy, but at the same time we love to complain. Its just cultural, it doesnt mean that we hate our lifes, we just like to be negative some times :)
I lived as well in a few countries of that list and I cannot say they are happier. I think they act happier.

Answering a "How are you today?" question differs among countries

In some countries people answer "awesome, and you?" and perhaps he/she just broke up with the couple.

In some other countries you would answe "Man, I feel so unlucky and terrible" but actually you just won lottery but rather than a million you got few thousand euros :)

just cultural... :)
Yes, and there are two other points to follow up this one:

If one ML solution is better than the other one by only 0.01%, in this context it is worth a lot. It is a winner-take-all type of situation.

Edit: the second point was this: If one ML algorithm gives us a 1% saving and the other one gives us a 0.9% saving, you could say that is a 0.1% improvement or you could say that is a 10% (of 1% saving) solution. A percentage sign without context is not that meaningful.
Hash indexes are currently (9.6) a little bit larger than btree indexes [1]. There seems to be no space improvement yet committed for postgres 10. But stay tuned, maybe somebody will do it soneday.
Hash indexes have not been recommended for years because they have not been crashsafe and therefore are not really that optimized in every term yet (size, query planner, ...).

[1] http://blog.andrebarbosa.co/hash-indexes-on-postgres/
The immigration status of EU citizens resident in the UK is one of the only strong cards the UK has in the Brexit negotiations.

The UK may well threaten the EU with mass deportations, especially since the Brexiters running the UK don't give two shits about the status of UK expats in the EU.

While I don't consider deportations likely, when there are stronger forces at play (e.g. economic security of the UK) then all sorts of "barriers" have a tendency to disappear.
20 years? John McCarthy proposed and implemented it in Lisp in 1960!
Really? A friend of mind lived a few years in Canada, and to my knowledge he doesn't have a bachelor's degree. (In fact, we both dropped out at about the same time.) He did have a job before going there, which was apparently helpful, but as far as I understand it the whole process was pretty smooth.

Nothing beats the EU though. Live in one country working a job on Friday, move to another over the weekend and start a new job on Monday – I've done literally this multiple times now. This alone is reason to stay in, as far as I'm concerned. The UK leaving is incredibly sad. :o(
Can quantum theory explain why jokes are funny?
Yep. I'm an EU citizen living in UK, and a year ago I would have never considered living somewhere else, like that thought was literally inconceivable. Right now, I'm not so sure. Especially if I'm going to end up needing a visa - why would I go through that trouble? A programmer can easily find work in any EU country still, so why live in a country that I don't agree with? Why would I choose to pay my taxes here, if the government of this country is actively trying to make my life more difficult? I wouldn't, so depending on the sort of the exit deal UK negotiates, I might just get up and leave. Like you said, the only way we can vote right now is with our feet, and by taking our tax money elsewhere.
you don't have to stop eating, just eat more fibre.
You're wrong on both counts. Firstly, many voters believed they were voting for more money for the NHS and to give Cameron a poke in the eye. There was actually no such thing as a "Brexit vote" - it was a popularity poll, not a vote on any specific policy. And policy-minded people were reassured that we wouldn't be leaving the single market - which was a complete lie, of course.

Secondly, it won't be tough for Europe, either financially or politically. Politically there was a vague and ridiculous notion that other EU nations would take the UK's lead and leave too. That's not just not happening, the "reverse domino effect" means that federalisation is likely to accelerate now.

Financially, the UK is something like 9% of the rest of the EU's export market. Even if all of that trade disappeared overnight a good part of it will be replaced by businesses leaving the UK for the mainland.

Europe is 43% of the UK's export market, and the UK is a net importer. So it really can't afford to lose that trade. Most of its exports are services which will - again - be moving to the mainland.

The bottom line is that Brexit will bankrupt the UK. Unless someone discovers an asteroid made of solid gold and stolen bitcoins under London, there is no other possible outcome.

I mean that literally. There is no possible way the UK - or England as we should start calling it - can turn into some kind of dynamo of international trade. We don't make enough, we don't invent enough, and none of the things we're actually good at - law, management, fintech, technology, pharma, art and culture - are being helped by Brexit in any way.

So the absolute best that will happen is a massive drop in living standards for most of the population.

The worst is Zimbabwe-style hyper-inflation and dictatorship.

Either way, it's a suicide note.
Based on the downvotes I received it seems that enough people still recognize him to get my point across.