skysight-inc/HackerNews huggingface dataset:
Me neither. The example also seems very contrived and trivial. And it's a bad example! It's fairly obvious that it's a good idea to remove magic numbers. But the improvement still left the magic numbers 0 and 1 to index the raw-array. These are documented in the huge comment block, which are rarely good idea. Indeed, Why not write code that does not require comments? Here they could access the byte array's fields with descriptive accessor functions.
How to start your business while working a full-time job
Here's a Treadwater Interview which might give a flavour of how those Skype sessions go:

https://www.youtube.com/watch?v=YGDkcLT8IqM
:( on the bbc one. There are plenty of free proxies that you could use that wouldn't waste the tor network bandwith for something that doesn't really need 100% anonymity.
Russia is obviously preparing for a war. They are trying to build and control their own services for everything (finance, e-commerce, even CPU manufacturing etc.) so that the country doesn't collapse once it is cut off from the West, the weakness China doesn't have. It sucks for all the people that want to enjoy freedom there.
Any hosting companies in Kaliningrad? :-)
I find it a broad overreach to take down entire sites based on allegations that some members may have been using it for illegal purposes.
Negative focus
That, and it was a chance to reference an Achewood comic, instead of an XKCD one

http://achewood.com/index.php?date=07052007
Type Save Division in Idris Using Dependent Types
> So I think it's natural that people recede slightly from the idea a globalised common communal identity created by the Internet and look toward their national structures to protect them.

Communal identities are built along lines manned by people with guns. All that's happening now is that the internet has become an important resource, and countries are seeking to control it, like they do with any strategic resource.
TLDR of my comment: always ask to see employment agreements you'll have to sign before accepting an offer and resigning from your (now current) company, otherwise you may not know what you'll be expected to sign until your first day.

In response to several comments stating or implying that you can simply not sign or negotiate a non-compete, I agree, but I think it's worth pointing out that, at least in my experience with several (East Coast) companies (I have no experience with Amazon), none of them sends you a copy of their non-compete with your offer letter. What I have always seen happen, instead, is that after you've fully resigned your previous employer and show up for your first day of work at the new company, HR hands you a stack of 100-200+ pages of employee handbook, travel policy, IT policy, etc., and various employment agreements, requiring you to sign all the documents before you can start working. Buried in there may be a non-compete, potentially disguised as another type of agreement. Yes, you're free to read them all (and you should), and you're free to reject them. But if you reject them you're rejecting the job, and now you're stuck with no income until you find another job. Admittedly I think that's better than agreeing to a bad non-compete which could last a lot longer than the time to find a new job, but it's not an easy thing to do.

I strongly recommend what I do now: after receiving and before accepting an offer even verbally, request to see all employment agreements that I'll have to sign upon starting with a new company. All have been fine with sending them to me (and if not I would immediately reject), but I would not have known about them and had time to review them if I hadn't asked in advance.

One company I interviewed with years ago, which had a terribly restrictive non-compete that I rejected, took the attitude that:
1. I had nothing to worry about because they said verbally they'd never enforce it.
2. I had to sign it anyway because everybody has to sign it, no exceptions (but their verbal assurance of non-enforcement should be good enough for me).
3. They questioned my integrity and belittled my concern because (in their words) I was planning to leave the company before I'd even started.
Glad I avoided that company - with that attitude, probably would have been a terrible place to work. Back then (unlike today) I'm not sure I would have had the self-confidence to fight that fight on my first day.
Note it says 'in the US' because they have been prosecuted successfully in Austria.

https://rdns.im/court-official-statement-part-1
Put another way: can a programming language be specified without any compromises to hardware, environment, programmer or use case?
I'm going to go with the same answer that I have for the existence of god* or alien*. I don't know, but current evidence would suggest that the most probable answer is zero such languages can or will exist but with an approximately infinite error bar on that answer.
Like this? https://dl.dropboxusercontent.com/u/51189815/IMG_4027.MOV

Sorry about that :( Unfortunately, that's not supposed to happen. It's supposed to remove the field when you go back to previous days.

That said, you're the second person to report this. I haven't found a fix yet because I haven't been able to reproduce the bug - it's weird.

I'm going to rewrite that part and see if this gets fixed on the next release but, I won't lie, it's gonna be a shot in the dark. Mind pinging me at john[at]dayboard.co so I can follow up when I can get this fixed? Thanks!
I created an artists rendition of this last year: http://www.actsofvolition.com/archive/2013/september/swimmin...
Which is why it is important that many people use it. I don't think it is a viable strategy to MITM everyone (at least it will not go undetected), if that is what you assume being a target for active monitoring. Or to send agents to every house. If we are forcing them to do that, we have won.
99/1 is the new 80/20
> This is another regime looking to suppress dissent, just like China has been doing all along.

No government can act without the acceptance of a majority of the citizens. China's firewall can only exist because the Chinese people are accepting it in the name of protecting children or other such bullshit - brits should watch out, as their personal liberties have been eroded in the name of safety for too long. And if you live in the US, I suppose you're familiar with the Patriot Act ;-)

No, governments don't do this unless a majority approves - that they approve for the wrong reasons, that's another story entirely. But as I kept saying ever since Snowden's leaks happened - the US government fucked things up, they won't even admit to how badly they fucked up and this will have deep repercussions internationally regarding the future of the Internet. A lot of international (mostly US) companies will get hurt by this, because (1) they didn't have a saying in the matter, yet the public views them as being guilty nonetheless and (2) because of balkanization.

And the US can't point fingers and say "look who's talking", as that won't achieve anything. Say that to the Russian public who approves this. The US, as the stewart of the Internet, should have been careful to not fuck things up so badly in the first place. And after Snowden's leaks I would have liked to see some apologies, some heads falling - but ALAS, no, nothing of the sort - only a direct confirmation that they don't care about the rights of foreign individuals and as a non-US citizen, how do you think that makes me feel?
No, because the EU states with decision-making power are USA vassals since 1945
I don't get it, either. Since when is it the EFF's role to do anything but advocate for rights when they are abridged? I suspect someone feels butthurt they did not understand the entire story before they formed an opinion, and now blame the EFF for their butthurt.
Learn How to Use Minecraft as an Educational Game
Understanding Society in Two Pages
Not Limiting Yourself In Your Programming Career
Best-of-the-Breed Android Apps for Stock Market Updates
It's quantifying that value that is the difficult part. Delivery of x amount of lines of code would be a terrible metric for example...
Grokky – Started by HubSpot Alumni is Making Management Better
That's what they do. They are an advocacy organization. And when you say "twist" they say "place into a factual narrative."

That's what attorneys do. They build narratives. In this case, they support freedom with their narratives. Apparently it's thankless work.
EU doesn't have a harmonized legislation on non-competes. They can certainly be enforced in Finland, even though they're unheard of with typical employees. Normally only executives have them.
There are plenty of hosting companies operating in Russia for Russian market. It's not rocket science.
Perhaps the logic of the court is that the ISPs do no provide essentially anonymous access. ISPs can and do turn over customer info when ordered by courts/law enforcement.
In addition to all the standard arguments against IQ (tailor at specific culture circles, can be taught and improved upon, measures subset of intelligence) it is important to remember that this is a sample of people who took the test, which by and far may not be a representative sample of a population. Most probably it's upwardly biased, but one has no way of knowing if the bias is constant across countries, which in turn makes any inference impossible.
It's really sad to me that this is the best explanation I've heard so far for reinventing CommonJS in ES6 and it still falls flat on its face.
For sure. At least in theory. That's always been true though. I don't think Austrian ISPs worry about it to much because precedents don't influence court decisions as much as they do in the US.
Refactoring is fun, especially on a slow day. The "Introducing an Explaining Variable"[1] refactoring is:

if (version < 8 && ua ~ "IE") ...

is better written as

IE8 = (version < 8 && ua ~ "IE");
if (IE8) ...

This allows variable IE8 to be (1) reused later on in the code, (2) is self documenting and (3) sets a precedent for extending it easily by future devs:

IE8 = (version < 8 && ua ~= "IE");
mobile = (ua ~= "mobile")
if (IE8 || mobile) ...

Another quick one is Guard Clauses[2].

function {
if (...) {
...
} else {
...
}
}

where either block is long, is better written as

function {
if (...) {
return ...;
}
...
}

This site http://sourcemaking.com/refactoring is worth a read even if you have been programming for years; especially if you have been programming for years and haven't developed good habits.

[1] http://sourcemaking.com/refactoring/introduce-explaining-variable
[2] http://sourcemaking.com/refactoring/replace-nested-conditional-with-guard-clauses
False allegations are far from being fantastically rare.

You also have to acknowledge that when you have a rape accusation, there isn't a boolean result(either the allegation is false, or it's true and this results in some penalty). It's a broad spectrum, with only around a third of the cases resulting in conviction.[1]

Of the 136 cases of sexual assault 8 (5.9%) were coded as false reports, 61 (44.9%) did not proceed to any prosecution or disciplinary action, 48 (35.3%) were referred for prosecution or disciplinary action, and 19 (13.9%) contained insufficient information to be coded (see Table 2).

[1]http://www.icdv.idaho.gov/conference/handouts/False-Allegati...
Show HN: Haste, a word game played against live opponents
USA does all it can to cut Russia off from the rest of the world.
...and if you're already using browserify this seems like a natural step backwards.
There are/were a couple of junctions in Phnom Penh where the traffic lights for the roads have count down timers on both the green and the red. All the motorbikes started going around the 5 second mark meaning there was a good few seconds of everyone going from both directions. I'm sure it's pretty dangerous, but it was fun to navigate
7 Συμβουλές επιβίωσης στο νέο αλγόριθμο του Facebook – SEO | WEB DESIGN BLOG
How to Lie With Statistics
When you try to push back, the standard response you will first hear, an outright lie, is that this is a non-negotiable mandate from their legal counsel and that no-one has ever complained before

I'll agree they'll act like it's totally weird you are complaining. Standard salesman techniques.

And companies will usually negotiate these. Usually.

I once had an otherwise nice job offer where the employee agreement contained the following three poison things:

1. you cannot work for any competitors or customers for a year (it was a consultancy, so potentially every employer in the country was off-limits)

2. you assign us your IP rights while you work for us and for a year after you leave us

3. you agree this will not limit your ability to find work.

They totally stuck to their guns. They said legal wouldn't let them change it. I had concerns and they "took the matter seriously" which amounted to telling me, really hard, that these clauses didn't really matter and they wouldn't enforce them, and, y'know, they probably weren't enforceable anyway.

I walked away. Apparently many other people don't because they continue to get new employees. I heard the horror story here on HN a few weeks ago [1] about someone who no one would hire because he signed something with clause 2. I'm more satisfied than ever I was right in walking away.

[1] https://news.ycombinator.com/item?id=7921325
So you think devs need to get better at convincing the management?
I've just played around with it, I hate it at first glance. It's like Google is now saying we need to follow their pattern to make a responsive website.
No crankshaft, no problem: Toyota's free piston engine is brilliant
don't always believe what you read here, there are a lot of Russians who want to relive the glory days, real or perceived. Just because we in the West don't like him doesn't mean much to them, if anything it might bolster his image there.

plus, considering what our President(s) do/done where do we have room to brag/gloat? I cannot find those news articles where Putin is using drones to kill his citizens abroad.
Doomed Stars May Test Einstein’s Relativity
"While the ISPs taking the action were not directly named in the leaked Snowden documents..."

Does the UK have the same legal concept of "standing" as the US does?

"In the United States, the current doctrine is that a person cannot bring a suit challenging the constitutionality of a law unless the plaintiff can demonstrate that he/she/it is or will "imminently" be harmed by the law." [1]

The US government often uses the absence of (or the secrecy of) proof of direct harm to a person or agency to have the complaint quashed before it can ever really be argued.

[1] http://en.m.wikipedia.org/wiki/Standing_(law)
It seems, in many countries, the knowledge and the acknowledgement of technical facts is very much lacking, both in legislative authorities and in courts.
Ah, yes, what about the USA. The favorite argument of putinbots. Because there are no other countries in the world, right?
I've always thought that IQ-tests are biased towards education, too, and not just "raw intelligence". This seems to confirm it. The richer countries tend to have higher average IQ than the poorer ones.
Or rather it has to do with Russia and the Brics trying to subvert the dollar, not war. Not to mention, there's no way it would get cut off from the west at this point, if only in political rhetoric. Nordstream and Southstream kicked Washington in the balls at every turn, to the point where they're almost dropping their intentions.

Next, the west has a shit ton of money invested in the Russian stock markets. Their stock markets rebounded back to previous levels a few weeks after the sanctions.

Furthermore, military equipment. See France.

Uh, freedom. what? Have you been to Russia?
Usually 20%, not 50%. Also, non-competes must be limited in time and space. They were initially designed for the sales force, not engineers.
Look for reviews from actual customers and readers of the book, before purchase
I guess you haven't heard:
"The Five Eyes are cooperating with various 3rd Party countries in at least two groups: The "Nine Eyes", consisting of the Five Eyes plus Denmark, France, the Netherlands and Norway. The "Fourteen Eyes", consisting of the same countries as the Nine Eyes plus Germany, Belgium, Italy, Spain and Sweden.[41] The actual name of this group is SIGINT Seniors Europe (SSEUR) and its purpose is coordinating the exchange of military signals intelligence among its members.[42]

Germany is reportedly interested in moving closer to the inner circle: an internal GCHQ document from 2009 said that the “Germans were a little grumpy at not being invited to join the 9-Eyes group." Germany may even wish to join Five Eyes.[43] Referring to Five Eyes, French President François Hollande has said that his country is "not within that framework and we don't intend to join."[44] According to a former top U.S. official, "Germany joining would be a possibility, but not France – France itself spies on the US far too aggressively for that."

http://en.wikipedia.org/wiki/Fourteen_Eyes#Future_enlargemen...
Equating Color and Transparency + Conversion Tool
Can you elaborate with more details? In my experience it's flexible and predictable. Folks seem to be able to package C++ extensions to Node well enough on npm. What else would you like to package? What other problems have you noticed?
Nice collection, although one in my opinion awesome font is missing - Lato.
Good idea. Takes ages to load though! A screenshot, logo and short description of the startup would be better I think.
Or in CoffeeScript,

{getCodec} = require "iconv-lite"

Explicit dependencies without introducing new syntax? Yes, please.
Why Timehop Cut its Daily Email and 90,000 users
Have you met Texas? The only animal allowed to vote here is the gerrymander. I figure it's similar elsewhere.
Computer Science student at the University of Debrecen, Hungary, while working professionally as a Java developer at an established multinational company for almost a year now.
This does make sense from a purely logical point of view. If personal data is to be exploited and plundered, at least make sure it's done by your own villains under the control of your own laws. Why volunteer anything to the competing spy agencies?
Oh wow, a putinbot. Great argumentation.
Again, the same can be said of non-tor traffic.

How many people keep track of the route their packets take? (Dare I say none?) How many third parties will it pass thru? (Many). How many of them can trusted to not monitor you (this is why ssl and even ssh was invented), how many have adequate security controls to prevent data theft (again this also why ssl and other tools were invented), how many can be trusted to not forward your data to a hostile government, etc.

It's the same problem, trust. And since when was the internet considered a trusted network? Calling out Tor for inherent trust issues with the path is ironic, neither the internet nor tor is a trusted network. Tors solving a different problem: monitoring. Both have the same problem which neither solves: tampering, but other technologies do (ssh, TLS, etc.)

In both cases, you shouldn't trust a third party (or an intruder into that third parties network) to either not modify your packets or to respect your privacy. At least tor helps with the later, the former isn't solved by blindly trusting an ISP or assuming your entire route is trusted (NSA anyone?).

Trust no untrusted network. At least tor is Upfront about this.
Nothing here either.
The irony of this complete garble of a comment trying to convince people that we are always reasonable is quite amazing.

Have you done that on purpose?

Anyway, in the off chance you aren't intending to do an awesome display of irony:

- People can be reasonable, but they are bad at knowing when they are and aren't.

- Empathy is not applying someones situation to yourself, but instead applying yourself to someones situation (This is non-commutative).

- Empathy can help reason but is not required by it.

I'm not really suggesting anything controversial so I'm surprised at your adversarial responses. It's almost like we are just stuck in a "Someone is wrong on the internet" loop here.
Relevant: http://www.paulgraham.com/say.html

Also relevant: http://48laws-of-power.blogspot.co.uk/2011/05/law-38-think-a...

The study might be true, but there's little benefit to us discussing it right now.
Maybe you guys are having an is-versus-ought discussion, but under US law giving someone new employment definitely counts as consideration as far as contracts are concerned.

If someone is an existing employee and you want them to sign a new employee agreement, you need some additional consideration besides "we let you keep your job," such as an increase in pay.

IANAL but 'icebraining is accurately describing US law. We nerds in the US need to fully internalize what the law is before we can fight it.
No, not necessarily the richer - I can spot a direct correlation between the quality of the education system and the IQ reported here. Finland, the country with maybe the best schools(not Universities, schools) in Europe is leading.
Russians prefer a cleptocratic government with Putin than a cleptocratic government without Putin. There are no non-cleptocratic governments in the world. Power corrups ... you know the rest of this, right?
Run it for every project you mean. The nice thing about the web is that with a simple http server you can just start coding. Compile-steps take away that incredible advantage.
>The operator of an exit node is guilty of complicity, because he enabled others to transmit content of an illegal nature through the service.

This logic would make running an exit node illegal in all of Europe.
I know. My comment was supposed to be a joke. A parody of the type comments you sometimes see on here for the more serious submissions. I apologize if I have offended anyone.
good to know, a bit of the insecurity I've had comes from seeing people who have been doing some of things since what seems like forever. Good to know there is still hope!
This looks great ! I'll be looking into deeply later on.

For those seeking simpler explanation of this look at [1], 7th paragraph.

[1]http://readwrite.com/2010/12/24/unhosted#awesm=~oIRyT1V2mrAL...
However, whether we like to admit it or not, intelligence is partially affected by training (i.e. education).

It's impossible to measure some pure form of "genetical intelligence". After all, this is the best strength of our species: we're born idiots, and we learn our way up. We adapt.
The problem with code reviews is when it turns into a nitpicking festival and/or an opinion discussion

Having a big blob of comments above the code, to me is bad. It might have been good, but I'm adverse to "ASCII art"

I think the change they did went further in the direction of explaining it then the comment blob there

Also, doing things in the X or Y way, when it's a matter of opinion/readability (readable/easy to understand code may not be the cleanest/most concise)

And PLEASE don't do "consts everywhere", this:

total_seconds = hours * 3600; // seconds per hour

is better than

total_seconda = hours * SECONDS_PER_HOUR;

No, the number of seconds per hour is not going to change.
Say what you will about the NSA SIS etc they at least do have some independent oversight.
Moving From Agile Development to agile development
CHRISTIE’S TO SELL HISTORIC 1958 MICROCHIP
I doubt you offended anyone. I hadn't realized that you were commenting in the same tone as the original.