skysight-inc/HackerNews huggingface dataset:
I've heard that in other startup "hubs" like London or Berlin the ratio is much higher, something like 20%. If Barcelona wants to become one day the place to go for investors/entrepreneurs/founders in Europe that has to improve.

Same issue about bringing girls/women to coding. I know in the States efforts are made in that respect, I hope Spain will follow suit because the situation is appalling, literally not one single girl is motivated to go coding.
I'd be curious to hear how we developed successful pharmaceutical treatments for schizophrenia without knowing how the disease works. Was it just luck?
All designers of ultra-low power systems are concerned about battery life. How much time will elapse before the battery will need recharging?
Things Your Students Won’t Tell You: Kinesthetic Learners
It’s been standard practice to treat schizophrenia with anti-psychotic drugs as the first-line treatment for decades at this point in time.

Do you have some weird grudge against psychologists?
He was down voted because he/she cherry picked one of their easy targets, or theories? It sounds like he/she has intimate knowledge of just how deep the hole Psychiatrists, and subsequent Therapy has fallen?

Did he stereotype a entire profession--yes. If any profession has a lot of explaining, and hands on knees apologizing--it's Psychiatry, and Psychology.

Sometimes the truth hurts. Hacker news should be that place where the truth is exposed?

I'll stop, but if you don't question Psychiatry/Psychlogy after being fooled by the SSRI's, the addictive drugs, the endless office visits, and the horrid rates of therapy cures; you haven't been in the system, or you are very prone to placebo.

The latest research on schizophrenia is this; patients whom are not on long term medications have a better quality of life. Yes, it's a judgement call on the doctor, but why do I have a feeling, since the residency doesn't attract the best, and brightest anymore--little nuggets like this latest research is not passed along to these vunerable patients?

As Ricky would say to Lucy, "Psychiatry has a lot of explainin to doo?" As to Psychology, well at least they least can't prescribe.
In public comments, Mr. Page goes out of his way to say the opposite, describing Google more in terms of a nonprofit than a gigantic corporation. During a 2014 interview with Charlie Rose, he said he wished there were a vehicle for people to donate money to their company so that it could be used for projects that had some kind of social purpose.

There is such a "vehicle", google something and click on an ad.

Seriously, why would anyone want to donate to Google so that they can do projects with "some kind of social purpose"? Is Google an expert at "some kind of social purpose"-projects? Can Google (or the founders) not afford such projects without normal people explicitly donating? Just the thought of donating to Google is offensive and I find the article author's seemingly awe at Mr Page's idea of such a thing repulsive.
I can see how this fits with Facebook's "move fast and break things" philosophy. Quantity over Quality, and I'm okay with that if you're in a nice sandboxed environment where you're not accountable for your mistakes. In the case of Facebook, or indeed any vertically integrated environment this works fine but in a great many other environments you need to be more careful about mistakes. I agree that the approach of applying a strict quality control pipeline to creative output is over-applied in the industry as a whole - which Facebook have had some success with challenging - but in a great many other areas it is still absolutely necessary (advances in cloud platforms and devops perhaps notwithstanding). In many cases we have a lesser degree of control over software once it leaves the office, and it is a great pain for us to fix (more costly, more embarassing) once it is in the wild.

Similarly as a more general principle, or as more specifically applied to blog posts - I like other more "ordinary" people am held accountable for the the words that come out of my mouth, and for the material I put up on my blog. Since I'm not a lionized "agent of influence" the words I write will be more critically appraised; could easily be misunderstood, or taken out of context.

That said, and I have to admit to only reading a handful of his posts, the quality of Kent's output could just be naturally "that good" that he doesn't need to worry about these kinds of things. Which could well be one of the characteristics that has got him where he is. But I have to question this approach as applied more generally, to be emulated by mere mortals.
I purchase from them even when I don't have to, just because of their stance on fighting patents.
I've actually had the (dis)pleasure of doing a fair bit of work in this area and have found LinkedIn to be pretty directionally accurate - for tech companies, I'd ballpark it at closer to 80-90% in most cases. They may very well be one of the outliers - I typically saw that in businesses structured in a way that made it readily understandable (ie 75 core employees, but hundreds of hourly warehouse employees without LinkedIn accounts). Not sure if Theranos has such a structure - perhaps the medical/research side is much less likely to have LinkedIn accounts than the tech side.
Beijing's smog is just the tip of the iceberg. China has the same problem:

https://www.vice.com/read/photographs-of-chinas-cancer-villa...

"These are entire villages where every other house contains someone dying of cancer or some sort of respiratory problem."

Free trade sure is great.
Note that my assertion was not about Germany and Japan.
I would expect governments to pay once for the right to use such a font in perpetuity for its intended purpose. I don't begrudge typographers their remuneration, but from a public standpoint it makes no sense to have to license a typeface separately for every government computer that needs to use it to design road signs.
Thank you. I was thinking about topic for my talk on Lviv Golang Meetup, and idea just popped in my head. But initially I thought there is an easy way to draw traces exists. Unfortunately, sharing visualizations is still a complex process, and in this particular case Go's grammar simplicity played a key role.
>THEY SMOKE THEIR OWN BACON.

Where do you work, if you don't mind me asking?
Blockchain technology (which powers the Bitcoin) can easily be used to replace CAs, or provide an alternative which browsers acknowledge, provided enough site owners use it.

And going by the high issuance/maintenance fee the CAs charge for issuing certificates, the industry is a sitting duck for disruption by a Blockchain DNS/CA app.

I, as a site owner, can just sign my 'certificate' myself and put it on the blockchain DNS/CA app. The certificate will have my domain name, public key. And slso an additional field 'ownership sign' which is something like https://<my domain>.com/ownership_sign.pem (which is signed by my private key).

So if I am the true owner, I can self issue as many certificates to myself as I please. Or there could be some forced limitation to prevent any scalability (cough) challenges.

So, the problem you have pointed out is not really with enforcing/encouraging HTTPS, but with the entrenched CA bureaucracy. And I am really surprised, why is it not being disrupted already?
Money is a catalyst.
"Any sufficiently advanced AGI is indistinguishable from parent" just crossed my mind and I wanted to share.
int main() {
int *p = (int*)malloc(sizeof(int));
int *q = (int*)realloc(p, sizeof(int));
*p = 1;
*q = 2;
if (p == q)
printf("%d %d\n", *p, *q);
}
$ clang -O realloc.c ; ./a.out
1 2

That's about as eyebrow-raising as you can get!
Guide to focusing on your side project, even when your tired
I hated this too, having lived near Sheffield and now live in London.

This was moronic.

Getting to Wakefield is usually cheaper, but still.

megabus.com

Sheffield to Victoria : £11.
Victoria to Shenfield : £8.20. (Probably cheaper)

So £19.20
Throw out the iPhone business. Value it at $0. What is the P.E. ratio of the whole company, taking only the non-iphone profit into account? ABOUT 30!
As it said, it works now only with simple code. Even for primesieve example I had to modify code, unroll loop and so on. The approach itself is limited, though it was enough for my task.
I'll try another option (with Vyukov's tracer), which will be, hopefully, the right way to go. Will see.
One thing I miss from this presentation is good war story examples of unexpected or horrid things happening from UB causing the compiler to omit critical code.

Here are some examples: http://blog.llvm.org/2011/05/what-every-c-programmer-should-...

Anyone got any more? Please, anecdotes help explain this! :D
"If you have heard of the person to whom the quote is attributed then it is wrong."

- Moses
Thanks, I thought I missed some XSS unknown to me in that code. Agree with you about React and other frameworks making it hard to accidentally introduce XSS.
Several countries have articles in German, most don't. Plural countries (USA, UAE) have the plural article, which in the standard form is the same as the feminine article ("die") which makes for even more confusion, but when used in a case changes differently ("in den USA" vs "in der Schweiz") :)

Some feminine countries: Switzerland, the Dominican Republic, Mongolia, Slovakia, Turkey, Ukraine, Central African Republic.

Male, in addition to your own list: Niger (!= Nigeria), Sudan, Vatican.

Neutral: UK (because kingdom is a neutral noun in German), potentially others
Compare https://en.wikipedia.org/wiki/The_General_Crisis
The Turkey’s leading coupon code site just coming soon!
Laptop Repair Dubai Ras Al Khor
Firefox has it's own built in cleanup tool. I used it recently when I was seeing odd behaviour and delays loading pages.

https://support.mozilla.org/en-US/kb/refresh-firefox-reset-a...
The Economist is profitable.
It seems this would be under the assumption that the "dark" network is simply disconnected from the "primary" network, if indeed such a thing exists.

One would assume, especially with the measurable loss in gray matter, that these networks are being destroyed and thus couldn't be reconnected even if stimulated to do so.

But perhaps pruning isn't such a binary process and it is these damaged -- but not destroyed -- networks which cause such severe dysfunction.

I'm excited and grateful to the brilliant minds which give hope to so many. A+, would science again.
Yes, the latter number was perhaps too conservative; no doubt about deeper predictions being easily possible, but I doubt even expert players consider many alternative paths in the search tree. They might recognize overall strategies which reach many moves into the future, but extensive consideration of what will happen in the upcoming moves is probably constrained to a only few steps; at least relative to the number and depths of paths that AlphaGo considers.
Water provision is a natural monopoly. If you hand over natural monopolies to the private sector they raise prices and cut costs as much as the regulators will allow them to and pocket the difference as profit.

State monopolies are often intentionally neglected or damaged by bought out politicians as a way to make privatization and the subsequent profit extraction more palatable to a suspicious public. That's also where all this "free markets sure are great" propaganda comes from.

This is a similar process to what Russia went through in the 90s. They were encouraged to embrace the free market by Harvard "economists" (free market priests) like Larry Summers. They were told that this process would lead to a new age of prosperity for Russia. It didn't.

The net result was to haemorrhage their economy and enabled the oligarchs to walk off with billions of dollars in state assets at knock down prices.
How Procrastination Changed the World
Agreed. Nothing is more financially difficult to deal with than a sudden shift in income rendering your current housing suddenly very expensive. With a reasonable price of housing, you have more capacity to save for potential disaster.
Creative cooking on wheels in Germany
The short string optimization is decades old.
Having lived in the US and moved to Austria, I can say it's quite comical how few times doctors prescribe antibiotics here. It's something like 10:1.

At times this is frustrating because you want the easy fix and when antibiotics work they work really well.

It's also quite illuminating how many symptoms do not seem to benefit from taking antibiotics even when they are the knee-jerk treatment.

I sometimes joke that modern medicine is 50% prescribing cortisone and antibiotics.
SpyHunter 4.21.10.4585 Email and Password Download
TYRA BANKS AND BOYFRIEND, ERIK ASLA WELCOME THEIR FIRST CHILD
It's a highly recommendable read, IMO. A shame it doesn't go in more depth about the LBA before the collapse.
Let's play the devil's advocate here; the problem isn't that the current system needs to be replaced, the problem is that the current system has become overcomplicated and open to a lot of abuse. Basic income will not be the solution on this system, it will just replace it with a "clean slate" dragging a lot of questions. How will the Basic income be regulated? If Basic Income will be implemented, how will the current market evolve around it? Will the amount of Basic Income be the same over all participating members (countries, states, ...)? How will Basic Income react to strong market fluctuations? Etc.

A lot of jobs will be lost in the future due to technological advances (as new jobs will be created as well) and Basic Income is a noble approach to replace an imperfect system and prepare the population for these changes. But for the far future I'm not convinced it won't be prone for the same difficulties and (corrupt) influences the current system has endured.
There are TV channels /dedicated/ to Go/Weiqi/Baduk.

The big tournaments all have their own huge sponsors, often media conglomerates.
Why JavaScript ‘churn’ is a good thing?
Apple's competitive edge going forward is probably much the same as it's been in the recent past - well designed products, strong brand, high profits through premium sales and economies of scale keeping costs down. I'm not sure that much has changed.

Their sales may have levelled but they are pretty profitable. News from summer 15:

>Apple Inc. recorded 92% of the total operating income from the world’s eight top smartphone makers in the first quarter, up from 65% a year earlier

With Samsung being the other profitable company. Since then:

>Tim Cook, Apple’s CEO said in a statement. "Our revenue grew 30 percent over last year to $74.6 billion

and:

>Samsung Electronics warned that its profits could fall again this year, as it announced a 19 per cent fall in net profit for 2015. The drop was largely driven by a 31 per cent operating profit decline for its IT & Mobile division – dominated by the mobile phone business, which has continued to lose market share to Chinese rivals

Which suggests Apple may be making over 100% of phone industry profits. Not a bad competitive position.
It's the same chip, clocked at 1Ghz.
https://www.raspberrypi.org/blog/raspberry-pi-zero/
We frequently don't know how the treatments to many ailments work either, especially when it comes to anything related to the brain. There's a lot of "X seems it might make Y better, let's test and see if it does, repeat."
My bias is that I think patents are over-used, over-granted & over-litigated. I think the system is fundamentally broken in favor of incumbents, lawyers, the wealthy. Between the brokenness of the systems these days, and some fundamental mistakes in original the assumptions about what a patent system would do, I think it makes a mockery of the stated intention of patents, to promote innovation. On patent trolls, I think they're an ugly boil that pops up when the underlying system is bad and the running of that system is worse.

So FWIW.. I have an opinion going in. Disclosed.

All that (verbosely) said, I can't join into the delighted cheering wen I hear about a broken and unfair legal system where "my" side is getting the better of it.

This whole system of cherry picking courts, maneuvering, intimidation… When the normal legal strategy is to bury the opponent in legal bills for years while psychologically piling on weight via drawn out legal processes, we (anywhere, I'm not american) do not have a judicious legal system. It's not fair. It's not justice. It's not doing a good job and it's there for lawyers and their wealthy clients. Newegg might be in the right, but that's not why they're winning. They have more money, or better lawyers or whatnot.

What if you don't have the money, disposition or bad ass legal team to fight back, in a bullshit rules fight?

I'm offended.
Compressing ten years into six months
Whenever a story about UB comes up on hacker news, the comments usually fill with both the predictable "Don't use C" comments and also a lot of ill-informed ranting about how stupid all this UB is.

For the first group of commenters, please don't bother posting again, just search HN and you can find a lifetime's supply of C love/hate arguments.

For the second group of people, I'd recommend reading two fantastic guides to UB:

http://blog.regehr.org/archives/213

http://blog.llvm.org/2011/05/what-every-c-programmer-should-...

These should be enough to explain why UB is trickier than you think...
This link discusses a nice example of RSA.
There was also a paper in 2014 by Bellare, Paterson, and Rogaway [1] discussing this notion more thoroughly (under the name "algorithm substitution attack").

From that paper: An approach that works against many block cipher modes is to select the IV with for a communication using key K as, say, IV = AES(backdoor_key, K). This is indistinguishable from a random IV due to the security of AES, but someone with the backdoor key can easily compute K = AES_inverse(backdoor_key, IV).

[1] http://eprint.iacr.org/2014/438.pdf
The new gTLD info for Thursday
Donald Trump gets a programming language – Doesn't follow logic
* Ralf Herrmann
You need to keep in mind that professional Dan levels aren't purely based on ELO or some other objective measure.

You'll find lots of Korean pros who got awarded their 1p for going abroad and teaching. 8p and 9p in Japan, in my recollection, are reserved for those winning one of the major tournaments and defending a title there.
I'm no expert on water engineering, but my understanding is as follows: The Flint river water was safe to drink after treatment, but with a slightly lower pH than normal. This caused the pipes to corrode which allowed lead and iron from the pipes to contaminate the water. If Flint's water engineers had followed standard practices to control corrosion (e.g. by adding orthophosphate to the water) then there would never have been any problem. Corrosion control would have cost peanuts -- about $100 per day [0].

Of course, it's hard to find unbiased sources, and I could easily be mistaken. Do you have a source for your claim that making the water safe would be expensive, or are you just speculating?

[0] http://www.rollingstone.com/politics/news/who-poisoned-flint...
> reading the topic and not the article, my gut feeling is high quality products, whether it be phones or laptops. But, -especially- laptops.

Revenue from Mac (laptop and desktop combined) sales was only 13% in 2013. Moreover looking at the year-over-year growth Mac sales saw the biggest decrease. I guess more recent numbers are not much different.

The problem for Apple is also that their laptops are consumer machines not business machines (no docking station, subpar integration in Microsoft ecosystem).
The Notebook market is shrinking and I suspect
consumer market is shrinking much faster than business.

I wouldn't be surprised if they sell the Mac division and concentrate on iPads with keyboards. The new 2015 MacBook is a hint in this direction.

[1] http://www.theatlantic.com/business/archive/2013/01/these-ch...
If in some way I can run transpile / natively run Java bytecode in a browser over DOM, it would be wonderful! A statically typed and no-nonsense language for my browser and HTML5 apps. Just tired of Javascript and its workarounds.
What is the energy cost of driving the process?
I don't see how this will get rid of the need to enforce fraud.

Such a system will still require systems to prevent multiple claims, ensure people aren't claiming for others and making sure people aren't claiming on behalf of dead people.

Sure you remove means testing, but that is only one part of it. The measures which will need to be in place will still require a lot of bureaucracy.
Ask HN: Job honeymoon is over, now what?
So I'm 3 year in my first job and I feel like the honeymoon is over and I don't know what to do.

The decline started a year ago when we started a new project and I was put in charge of its development, I got a promotion as well so I was very happy and all. Since then I started working more, adding more overtime every week pushing the project forward, fighting deadlines and managing another resource (and shielding him from management). All these added efforts were just "until we have an MVP", but now that the product is stable these conditions are now become the norm.

I feel depleted, I have now zero passion for what I'm currently doing and what bother me more is that I don't have any more energy to work on my own things (open source projects) and to improve my skills (online courses, training).

This is my first job, and I am/was very happy with it: interesting task, great team and mentors, and I still learn a ton.
So I'm a bit confused because I don't have other job experiences I can compare to. I would like to listen to some advice: is this what the end of a honeymoon looks like? Should I shake my career and find another job? Else?

I want my passion back, and my github wall green again.
I agree that maybe "trolling" is not the most accurate description. The author seems to be a competent coder, so I am assuming that he knows that such a solution for view components is flawed at least and that it would be a nightmare to go that way.

My biggest concern with the original post is the next sentence, "If you want to use React, fine, I am not trying to convince anyone not to. I just want to show that components in a JavaScript application are quite simple to do and do not require any framework at all to do so." (The author has updated the post to clarify that "I am a proponent of using libraries and frameworks." I think that this was missing in the original post, I think that it would have been nice to add at the end of the post "Crazy, isn't it? Don't do it! Don't reinvent the wheel and tada-tada-tada...)

Not sure about the intentions of the author, but I think that the original post makes a great case to support the use of these frameworks and not the opposite.
The Five Stages of Fasting – Dr. Nikolayev [Russian Case Studies]
Folly fbstring has the same trick, and it's a std::string compliant implementation used in production at Facebook.

https://github.com/facebook/folly/blob/master/folly/docs/FBS...
Not only am I unintimidated by litigation;
I sometimes rather miss it.

That is one of the better lines to ever be written in a legal letter.
When your tired does what?
Doctor salary only makes up ~8.6% of overall Healthcare spending.

You're missing the secondary costs. What are the costs of people having to sit at the hospital all day waiting for the doctor to see them. And what are the costs of people putting off seeing a doctor since they can't get an appointment?

Since, right or wrong, people want to see doctors rather than nurses when they bother to go into the hospital in person

Only if the 'costs' are them same. If you just ask people when they come in if they want to see a nurse (short wait and pay $X) or a doctor (long wait and pay $3X), I think you'll find many people opting for the nurse.