skysight-inc/HackerNews huggingface dataset:
> Take Erdogan as a businessman instead of a political figure

The US is strong in the business world because they endure differing opinions!

Astute businessmen can see how limiting free speech limits their own success. Good businessmen do not surround themselves with yes-men.

When you limit free speech of a country, you cut off most of your people from certain intelligence. You could argue the intelligence agency has access to everything, however, at some point, the original guys will retire. They will be replaced with people who grew up without consistent access to the entire world picture. They will thus be disadvantaged when engaging in international politics and trade deals.

I guess it comes down to, do you think current and former leaders of the likes of China and North Korea are more or less happy or successful than current and former leaders of the likes of the US and France.

> Speech should not be regulated in any ways

You're not allowed to yell fire in a crowded theater. Governments set limits to every right in order to balance public safety. If you think that's wrong, that's your choice. I'd just point out that you grew up in a society that benefited from this increased safety while sacrificing some portion of its people's rights. Unless you were raised in the jungle :-D.
Hah! You're right. Microsoft's own devices actually do all have replaceable batteries, only (most of) the older Nokia-branded Lumias have soldered batteries.
Funny that GWB got away with such a blatant bit of Keynesianism. A Democrat would be crucified.

This is actually the pretty well known "only Nixon could go to China" effect.
I agree that this is the heart of the issue.

And the American people are about to elect back into the White House the couple that presided over the repeal of the Glass Steagal Act.

So much for learned lessons.
It's fairly common in the US for people under threat of prosecution to turn into states witnesses to get a reduced sentence - "rat out your manager/boss who ordered the crimes and we'll let you off easy."

Is this uncommon in Iceland? It seems fairly straightforward and useful in cases like organized crime syndicates (and banking cartels) where if everyone denies wrongdoing they all get found not guilty.
First I would suggest that being able to teach oneself and having a university degree are not mutually exclusive - and indeed a lot of courses are so bad you need to be able to teach yourself in order to successfully escape them

That said, a lot of people in both categories aren't that great in the workplace. Either through lack of discipline, lack of experience, emotional problems that prevent them acknowledging negative feedback and using it to improve themselves, or a general desire to overthrow capitalism whilst reading Facebook. But none of that has anything to do with going to university which is a privilege that may or may not be available to somebody given their class, background, and general life experiences.

As long as programming remains an uncredentialed occupation - compare and contrast with medicine and the law for example - people without degrees deserve the right to be assessed on the quality of their actual work, and not a general prejudice on how they acquired the ability to do it. After all, the people who laid the foundations for computer science, necessarily didn't have a computer science degree.
Reebok Is Making ‘Alien’ Stomper Sneakers
Got any debugging tips? I had a lot of trouble with lead-free paste bridging on small pitch components.
Sure. But aren't we past changing batteries? They're less an issue than changing screens these days. And screens have never been easily replaceable. Its just us old folks who expect the battery to come out.
Do you use electronics/computer in late evenings (11 PM)?
It sounds like you didn't get enough sleep last night...
People are drinking less Coke and Pepsi
Driving a car lost its magic
"If a thing is worth doing, it is worth doing badly." - G.K. Chesterton.
We should absolutely put a price on carbon, yes. That would penalize carbon emissions.

Net metering is no substitute for a price on carbon. For real green power, we need to storage to balance out solar generation. Net metering /prevents/ storage from being installed.

EDIT: Never going to happen? Actually it's /already/ happened. Examples:

- California already has a low carbon fuel standard[1] that regulates "well to wheel" carbon content of transportation fuels (some sources like tar sands have high carbon emissions in the production process[2]). This is a significant step towards a real carbon price and an opening to provide fuels generated through a green process.

- California' Emission Performance Standard (EPS) no longer allows use of coal-generated electricity[3] which has caused a complete phaseout of coal plants in favor of natural gas (which has half the carbon intensity). Again, this is a restriction of the carbon-intensity of power generation which is also an effective step towards a carbon price.

[1] http://www.wsj.com/articles/california-restores-rule-to-cut-...

[2] http://www.scientificamerican.com/article/tar-sands-and-keys...

[3] http://www.energy.ca.gov/renewables/tracking_progress/docume...
Tesla Model 3 Debut
While not open source, I've seen parts of the windows source (never really had the time to read it in full detail) in my work, most probably coming from the MS vs EC situation some years back[0]. Yes, there are still hidden parts (docs mostly, I recall my friends doing memory forensics research had a "fun" time to get information on IP connection structures for example), but it's not as secretive as many people think it is.

[0] https://en.wikipedia.org/wiki/Microsoft_Corp_v_Commission#Si...
> I feel like the natural next step is to fill your content with ads that are simply not blockable.

Just wait until AI gets smart enough to make all ads blockable.
As an aside, I've noticed that some modern compilers (Go and Clang are the ones I've studied recently) bundle the tokenization phase and the lexing phase into a higher-level lexer. Which is to say that instead of, say, turning a token pair (PUNCTUATION, "&&") they produce (LOGICAL_AND, "&&"), for example. It makes sense, but surprised me, since if you look at classical compiler books, they generally promote the more formal two-level pipeline of tokenization before lexical analysis.
Uh, if the expectation when one arrives ~1hr late is that they will also stay ~1hr late, what is there to abuse?
"But I was using my whole ass!" -- Homer Simpson
I don't think it is a programmer error. Many times when you program against some less reliable API or doing some network stuff the variety of exceptional situations can be really overwhelming. Such exceptions can be some sort of sink to evaluate later whether you still need to improve the code to handle some very specific corner cases.
Tech Firms Want Developers with BAs
Author here, I tried doing something like you said but it ends up being far more code.

I prioritized keeping it understandable over doing something cool or complex.
Designing a Flexible Schedule
A Developer's Perspective on Mobile Security in the Age of BYOD
A vegetarian diet carries a certain implication, specifically that we're speaking about such a diet in one person.

"Widespread vegetarian diets among a population could cause changes over time" is wholly different and apparently more accurate.
Why are some European cities better than others at dealing with garbage?
0-day exploits changing hands for cash is hardly new. Stuxnet alone had 4 according to Symantec.

Israeli army units and companies founded by ex-army elite are highly involved in discovering/buying 0days, iOS or anywhere else
Cljsfiddle performace upgrade
Will DeepMind Dominate Poker Next?
Apple is a hardware company while Microsoft is a software company.
Unless they already have a routine procedure for doing this, that's just not going to happen within 48 hours (the TouchID timeout) of seizing the device in a normal criminal case.
The Rise of Partisanship in the U.S. House of Representatives
I always apply the 80/20 rule to everything, so I'd say 80 instead of 90 but I certainly understand the sentiment.
I can't emphasize this enough. A list of 200+ emails is meaningless if they are not willing to pay for it. People don't usually put a lot of thought in how the particular product will help them.

However, I think that it is better to ask people a) what problem will the given product solve b) How they solve it now? .
Just the title has two big semantic questions: (1) what counts as life and (2) what counts as intelligence.

Like lazaroclapp commented, it's not that big a stretch to think of humanity (as a whole) as meeting the definitions of both. Also (or alternatively), the earth.

Interesting questions.
I don't know. I have actually tried writing a game using Haskell. Admittedly, it was an absurdly simple platformer, and I left it unfinished, but it was a joy to write it. FP helped with both high and low-level code organization. I didn't hit any walls writing it (maybe I would have later on, of course). Had I continued it, I would have tried using FRP techniques, which was ultimately the whole point of the thesis, but never got around to trying them.

I think it's one thing to argue from theory ("this can't possibly be practical!") and another to actually try your hand at it and see whether it works or not :) My semi-informed guess is that it does. I don't expect to see AAA games done in Haskell any time soon, but that's for completely unrelated reasons!

IIRC, Carmack himself seems to be warming up to the idea of using some pure FP techniques in games. Of course, not everywhere.
To be fair, Clinton only signed the law - it was created and voted for by a Republican majority congress. Look at the votes - every Republican senator voted Yea and only one Democrat voted Nay: https://www.govtrack.us/congress/votes/106-1999/s105

He still shouldn't have signed it, but to blame this law on the Clintons is really not being honest.
How to skip Apple's App Store approval line
That's primarily because the biological organisms don't want to die, end up in hospital, get sued, etc. =) Those are powerful motivations.
see yclist.com
Please get your thyroid levels checked. You may have hyperthyroidism or Graves disease. Not a causation, but a correlation. Source: it happened to my cousin.
> most the voters of his party will be excited to see him shouting at the Germany, the US, etc.

It's even "better" than that, because it is so easy for a leader to re-spin outside criticism from "attack against me" to "attack against us", strengthening his position internally. And this pattern is not even limited to dictators and the like: when Americans made fun of Bush junior, it was perfectly fine application of of free speech. If Europeans did the same, it was antiamericanism making Americans rally around the flag to protect him.

So in the interplay between international and domestic opinion, there seems to be some kind of inverse Streisand effect. Can we please have a word for that? It would make the whole world easier to understand... (german has "Burgfriedensmentalität“, but that is the resulting state, not the mechanism that causes it)
Thank you for listing these; one of the most shocking observations I've had is how absolutely up-front Trump is about saying he'd basically gut the First Amendment because he doesn't like journalists. Having sources like you've provided is quite helpful. Why 'the press' hasn't savagely been aggressive and hostile toward him the way he has to them doesn't inspire confidence in me unfortunately.
It only works in a few places. That means it doesn't work for me.
> Banking/ finance types now know that if they are losing money they must simply lose big enough to trigger more bailouts and the taxpayer pays.

This is ignoring a fundamental change in legislation that happened pretty much in every major country: the introduction of bail-in. For those who are unfamiliar with the concept, it is a major change to corporate law, it is a power given to the regulators to declare a bank non viable, and to impose losses on bond and equity holders over a week end, a sort of instantaneous chapter 11. The impact of which is to increase the capital of the bank and allow it to re-open the next Monday, affecting the creditors of the bank but not the economy. It is extremely unlikely that a politician, in any major country, would authorise a bail-out before having first attempted a bail-in. And banks are now required to hold a sufficient amount of bail-inable debt (called TLAC or MREL) to ensure that the bank can be recapitalised should it become non viable.

> This will happen again unless investment and savings banks are again separated, but no nation wants to do it

In the UK the regulators are implementing a strict ring-fencing which requires investment banking and retail banking activities to be in two separate and independent entities such that one can go bust without impacting the other.

> Banks and the rich largely hoard capital where it is useless

That's true, banks are hoarding capital, but not because bank like to make useless investment, because they have been required since the financial crisis to increase their capital ratios significantly, which means they need to hold more capital (or reduce their exposure) and not deploy it. But that's the price for a stronger banking system than in 2007.

> Austerity stagnates an economy.

Who does austerity? Everywhere I look I see massive amount of money printing and huge budget deficits. That's not austerity.
I have a CS degree and still consider myself self taught. I started programming as a kid, and learned mostly from books and coding. I only got my degree because I thought it'd be necessary for getting a job.
Also in Java: Switching or if-else chains on an `enum`. It's still a good practice to include a final `else` or `default` case, but it should really never happen. Actually, inclusion of the `default` case will be enforced by the compiler if it can detect a code path that doesn't return. [0]

enum Whatever { FOO, BAR }

if (whatever == FOO) {
} else if (whatever == BAR) {
} else {
// Should never happen!
}

[0] http://stackoverflow.com/questions/5013194/why-is-default-re...
Well, I was being slightly sarcastic

There should be a special tag for recursive sarcasm.
This sleep pattern started for me right around adolescence (12-13) so I assume that it's just part of my DNA. 3-4am is about the time I naturally fall asleep if left to my own devices.

I was in the military for 12 years and those 5am wake-ups didn't change my "wiring." I figure if that didn't nothing will.

As indicated, the world is just not built for folks like me/us. So that means I/we just have to put in more effort to work within it.

File this under the category: Things you have to do to survive in society.
In my bedroom I use knockoff RGBW LED lightbulbs (I found some on amazon for $30 that work with a semi-sketchy app called Magic Home). You can set timers for different colors on the app, so in the morning they go bright blue and before bed they all go red. They also have a brighter white LED for daytime usage that's only slightly dimmer than normal bulbs.

It's pretty nifty. They're controlled over some UDP protocol that some people have had some success reverse engineering as well.
Drako Launches Fake Charity Sales Promotion
How I “predicted” the latest Tinder feature
The new Google AdWords uses Dart – we asked why
Maintainer here. Here's the link to cljsfiddle itself: http://cljsfiddle.com

Also it looks like the dns server hasn't updated so if that link is broken try: http://52.62.155.17/
Right. An identical query: https://github.com/search?utf8=%E2%9C%93&q=IllegalStateExcep...
Is it OK for fitted-shirt startup to ask for “ethnic” info?
> Also, residential electric rates, on average about 12 cents per kilowatt-hour in in the U.S., are much higher than wholesale electric rates – the price utilities pay to power generators – which are usually less than 4 cents per kilowatt-hour.

That 8 cent difference is mostly the cost of distribution and storage or variable supply. Distribution from the roof to the home would be inexpensive, but storage is not cheap. Asking utilities to accept solar energy input at this flat rate in exchange for the variable supply and grid backup may work for a small fraction of society, but it will hit a critical mass sooner or later and become infeasible.
Absolutely; he's stated as much flat out. "I want to make it easier to sue the press." As Trump so clearly shows, it's very easy to sue somebody in the US (or use it as an empty threat) - there's lots of avenues for recourse.

Unfortunately for Trump, the courts have consistently sided with the press when they report accurate and factual statements, even if they may be unflattering. This doesn't seem to register with Trump. If asked to define what "treating me fairly" actually, genuinely means, I'm pretty sure he couldn't.
Far more importantly, strategically. But Japan has a fairly firm and stable political position compared to Israel. So it does not weigh on either side.
Right. The best ones are the ones that tell not only that something is wrong, but explicitly says what should be fixed.
Ok, let pretend that's never going to happen because it's not going to happen.

Where does solar win in the current political/economic environment and where is it close to winning? Making forward progress in the next decade is going to help more than wishing for a level playing field.

Maybe we can push solar costs lower once the industry grows:

http://cleantechnica.com/2015/08/13/us-solar-pv-cost-fell-50...
I'm in the same boat right now. I have been programming since 12 and I'm getting a degree because I don't think I'll get a job without one (or more so my parents think that).

Is this true? Can I start looking right now? Granted, I am not in the valley. I'm all the way in New Jersey.
> (Any idea why Medium implement such feature?)

It's a method of tracking without using cookies and being forced to include that EU banner / can be used on browsers without JavaScript. Many other websites implement such a thing.
Why People Are Already Getting in Line for the Tesla Model 3
This wouldn't deliver the security aspect of ad blocking though, which is a major reason to use one nowadays.
Binary Trees and Binary Search Trees Using JavaScript
Author here. I actually walked through all of this code line by line in a conference talk using another thing I built: https://github.com/thejameskyle/spectacle-code-slide

I ripped these code comments from my presenter notes where I was explaining everything in case people couldn't read it.

I'll have to go back in and clean it up
Yeah, you're not getting the point of my story.

I know it's trivial. It is trivial. I can do it in my sleep. I used to write Pascal code, back before all these Generics and Templates, and I had to write data structures the old fashioned way.

What I'm telling you is that the jet lag got to me. This is like when you can't remember the name of the actor who played Batman in Batman Begins. Or when you can't remember what year your mother was born in. Or you can't remember the capital of the state you're travelling to. Or you're multiplying 7*8 and write down 42 in a momentary lapse. It was a completely "DUH" moment.
Ask HN: Practice code beyond CITC, LeetCode etc.
I have recently been rejected from a company that i was looking forward to. I did good in first interview. Which was typical DS type interview i.e., do something with a Tree. I was able to solve the problem and code it in time.

In second interview, I was presented with a question which wasn't anything related to typical CITC, LeetCode or HackerRank problem. It was a business usecase that i needed to implement. Wasn't hard at all but just because i didn't have much programming practice, it took me more time than anticipated and hence I got rejected.

I was wondering, if there any websites, which has list of some programming/business use-cases that i can practice on. Something that are doable in 45 minutes of time span.

Anything would help
My cynical opinion is that, unfortunately, "trump stories" == "clicks/viewers" == "more ad revenue", to the point where no news organization can afford to _not_ cover every ridiculous story about Trump.
> This can really be traced back to the repeal of Glass Steagal

Can it? Because none of the banks who initially failed would have been firewalled by Glass-Steagal. Bear Stearns, Lehman Brothers, AIG...none of these were deposit-taking institutions.

The problem erupted from corn-fed mortgages, something Glass-Steagall wouldn't have saved us from. This isn't just my opinion. Most economists see Gramm-Leach-Bliley (the Act that repealed Glass-Steagall) as having had a minor effect, at most, on the 2008 financial crisis [1].

[1] http://www.npr.org/sections/thetwo-way/2015/10/14/448685233/...
Except that after the 2nd podcast you ever listen to you're either already a customer or you hate the ads for repeating.

Still waiting for good, useful ads, that are code-free. But if your product was the best it would be reviewed as such anyway, so ads are pointless.
A galaxy size brain with a quantum entanglement.
>That's because Turks are treated in Germany the same way Moroccans are in Netherlands.

I don't know anything about Germany nor Morocco. I am a Turk. I lived in Spain, Finland one year each and I'm now in Sweden. I felt that treatment against Turks in Finland. No matter what you do, if you say something about your origin, make sure yourself that something is going to be bad. Spain was awesome and I was totally accepted and respected by the society but NO IT jobs. So, I had to move to Sweden. From what I have observed so far, Sweden has a big immigration problem. I'm sure they will solve this somehow. But, the best I love about Sweden is that they are more open to foreign culture or people with foreign background comparing to Finland. They can also notice the difference between a kebab guy and a computer scientist. I'm not saying kebab business is low level job. It is more about mind-set.
... and don't let them tell you you MUST get your thyroid extirpated or radiated. In his case, the meds worked. In Europe and Japan, most doctors recommend meds. In America, most doctors recommend radiation or extirpation (surgery).
Ha ha! Wow, that does sound difficult. You're a real trooper.
That's an overly hostile comment - and unrealistic - I'm guessing you're probably not in the electronics industry?

In many places there's only one reason a small company (let alone an individual) would buy a short run of PCBs locally - you desperately require it in two to four days and are willing to pay six times the price to get it.

It's not that people aren't willing to support local PCB manufacturers, it's just that the manufacturers know there's very money in cheap, small volume work outside China and focus on the profitable niches (like really fast turnaround), which usually makes them unaffordable for hobbyists.
It's hard to say whether those kinds of mechanisms could evolve for such a large organism. Photosynthetic molecules with interesting quantum effects developed while piggybacking on early bacterial evolution which was extremely fast because of the abundant radiation and their rapid reproduction. The chemical reactions in space might not be fast enough and may not have enough reaction energy (near absolute zero temperature) to evolve molecules with interesting effects.
Your Secret Amiga: The Story of the Prevue Guide
could you link to this?
>This can really be traced back to the repeal of Glass Steagal.

The evidence against this hypothesis is that Canada did not have Glass Steagal (or legislation similar to it), and yet they were not harmed by the financial crisis nearly as much. The banks were smart enough to not invest so deeply in mortgage backed securities.
Did you really expect that to work?!
You see the same thing with cipher suites, and there's unfortunately no `StandardCiphers` class.
Or maybe within the brain of this large organism, the signals do propagate one end to another but through wormholes, thus not being limited to speed of light.
Cryptocat service has resumed