skysight-inc/HackerNews huggingface dataset:
Heh, doubtless. If you have a switch statement where adding a case to the enum doesn't mean you need to consider whether to add it to that switch, it sounds like an appropriate place to use pragmas to disable the warning for the one switch (http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html). If you do need to consider that switch, then I'd say you should still suck it up and list every case (though possibly collapsing similar groups of cases into a single macro... "#define NUMERIC_KEYS case KEY_KP0: case KEY_KP1"...).
That looks interesting.

I'm mostly ok now though since I rammed enough of git's weirdness into my head that I can work with it (that and phpstorm/pycharm have nice basic git support).
No, you won't need new certificates.

This is great news. The RSA handshake is a relic of the 1990s. It predates forward-secret key exchange. RSA is discernibly weakening over time (1024 bit keys are almost universally believed to be within the practical reach of governments), and the RSA handshake puts all the weight of securing TLS on RSA. Because it uses RSA to encrypt and not just to sign, the TLS RSA handshake also adds significant complexity to the spec; for instance, we're all just living with the fact that TLS uses PKCS1v15 padding and is vulnerable to Bleichenbacher's oracle, and just sort of hoping nobody figures out a way to operationalize the attack. But just a few weeks ago researchers found a way to do exactly that to JSSE.

Good riddance. A protocol competently designed in 2014 would not work the way SSL 2.0 did.
Guess it's just a variant of the birthday problem[0] among a sample of the population known for intellectual curiosity without bounds.

[0] http://en.wikipedia.org/wiki/Birthday_problem
Show HN: Early adopter of speed reading web-tools, built similar app for iOS
I've been an early adopter of speed reading tools. I have tried to maximize my use of speed reading tools for browsing.

But, I travel a lot and I couldn't find any such free app for my iPhone. So, I built one for iOS - 1000 WPM (http://1000wpm.in)

I have received positive feedback from users and people are finding it useful. I just hope that you guys will find it useful too.

Here are some promo codes for HN early adopters.

3H4ELR6AFYYX
W3HE9WHYT3FX
ME9HN3TWF9WM
YAKEAY67HYML
6MHLXNXMKR46
JJH4T9Y7AXL9
T9EAY9YRYFKL
W4JXTPWL4HTR
LJ4RMWFJ3WL9
P7Y3XR4YN7LH

Feedback/comments are always appreciated.

tl;dr - http://1000wpm.in
First time I used pattern matching was in 1996 with Caml Light, followed by Prolog clauses.

Miss their power ever since. Thankfully FP is finally spreading into the industry.
But it is quite plausible that we will see AIs being employed with the goal of "keep this factory running smoothly, and optimize the production process".
Being a part of the factory, this AI would have an interest in continuing to run. After all, it can't maximize the production output if it's not running, so having an AI with some self-preservation is in the interest of the business owners, too. Yet if it's sufficiently intelligent/capable of self-improvement, such an AI could easily become a paperclip maximizer.

http://wiki.lesswrong.com/wiki/Paperclip_maximizer
I actually don't feel like having the code at the top is helpful for me. I rarely look at code on github. I go to a project page and scroll down past the code to read the readme. That happens easily 37 times out of 38. Yea, I made up those numbers. I know there's been a few times I've clicked on the code but it seems so seldom I'd much rather the readme was front and center and there was a "code" button/tab.

If the project sounds interesting I download it and look at the code locally. The few times I look at the code online is in response to like a stackoverflow question if I don't have the code locally already and I want to look up something.

But that's just me. It's not that big a deal for me to scroll down. If everyone else goes to code more than the readme under it then fine
They're jettisoning the RSA key transport handshake; that is, the part of the protocol where a client generates a session secret all by themselves, encrypts it with the server's RSA key, and sends the RSA-encrypted blob to the server.

The forward-secret handshake uses Diffie Hellman (or, more commonly, ECDH) so that both sides of the connection cooperate to derive the session secret. RSA is still used in the forward-secret handshake, but only to sign the DH handshake, to protect it from MITM attackers.
What is proposed for removal is using RSA as a key encapsulation mechanism. The reasons are:

a) you don't get forward secrecy,

b) the details of the way it works are just wrong, have been broken several times in the past, and killing it outright is thought preferable to replacing it with something which works, and

c) some deployments do both signing and encryption with the same RSA key, which is terribly dangerous.

d) it requires the holder of the high value certified keys to keep them online, and use them for every handshake. (edit: this is incorrect, see below)

RSA will still be usable with TLS, in the role of long term authenticity keys. For example, my connection to HN now is using ECDHE_RSA. That won't go away.
This basically reduces to two questions:

a) is github monoculture is bad?

I really disagree with author's view on the emphasize on public github project in job interview process is misplaced. Yes, it will not eval how good you are at your previous job, but the problem is it is very very hard to find how good you are at previous job. Doing open source project at spare time is a positive sign of interest in programming. If in the interview process you said I don't have a github account, but I put all my repo at abc.com, I am pretty sure it will work, too.

And I don't care the monoculture if its service is the best in this field. Why use the second best if the best is possble? I would like to be an earlier adoptor if there are better service, even if there are currently no user.

b) how to disrupt github?

That I have no idea. What github does not provide but is really needed? I do not know. Would love to hear ideas.
It does not matter for the OP if Google's behavior is illegal or not. Ethic is independent from law.
A Former Workaholic Shares Strategies For Working Smarter
deleted? ;)
What??

iPod was lightyears away of any other MP3 player in the market that time (in capacity, battery and UI)

iPhone pretty much invented the concept of smartphone and apps. The apps themselves were so breakthrough innovation that Microsoft changed "Windows" to acommodate it. Do you understand how big is Windows and how big of a change is to try to include apps on Windows 8?

iPad was such a new concept that almost no one understood it when they launched. People couldn't even imagine how to use it before it came to life and now tablets are everywhere.

C'mon, I ain't no apple fanboy, and I really do believe Steve Jobs is overrated individually, but Apple as company is innovative as one can be. Or are you going to use the same argument against Elon Musk because he didn't "invent" space flight or electric cars?
The fundamental nature of speculative projects is that they can fail, but nothing requires Kickstarter to be used for speculative projects, and when it is, nothing requires the rewards to be dependent on project, rather than funding, success.

To illustrate the first point, companies have used Kickstarter for projects that were essentially fully developed first, and where the Kickstarter was only to provide capital for the production run (to alleviate the risk of scaling production wrong) -- with rewards being (or including) the thing being produced. As long as the rewards offered have a production cost (not retail value) less than the support level required to earn them, this eliminates the creators risk in production of a run that includes both the rewards and additional units to be sold through whatever "regular" means are appropriate to the product (ideally, it also provides buzz through the rewards to spur sales of those additional units). From that, the company can then assess future demand and appropriately scale later production runs.

To illustrate the second point, its quite possible to do a speculative product and offer rewards related to but not dependent on the project. For a game project, for instance, you could do things like exclusive prints of concept art, etc.

If you want people to share your risk, well, there are avenues that do that -- like sale of equity. Of course, those are more heavily regulated than simple sale of goods, because its very easy for avenues where you are asking the purchaser to assume risk to be used as vehicles for fraud.

And if Kickstarter commitments aren't enforced like sales commitments, it will be as much (or more) the doom of Kickstarter as anything that would strictly enforce them -- because as soon as any uncertainty is resolved in that direction, Kickstarter will become (and become known as) as an ideal vehicle for fraud, and backing projects on Kickstarter will become the equivalent of falling for a 419 scam.
I have contributed to a git project on bitbucket where the process was well explained (enough for a git beginner): https://bitbucket.org/LukasKnuth/backslide/src/5313b2c63a3da...

Bitbucket is often slower than github, but this has not impact for my small projects. And I like to have some free repository that remain private.
What are your thoughts on anti materialism?
> The land-owners of the Alberta Oil Sands (last I heard the Koch brothers were #1 in this regard)

A claim made with so little support that the Washington Post was quickly forced to retract it. In fact, the reporters (as distinct from the newspaper) retracted the claim the day after the story ran.

http://www.washingtonpost.com/news/volokh-conspiracy/wp/2014...

Work on your rhetoric.
Time Travel and Stargate Portals Are Real And Exist On Earth Today
Sure, but something still has to link the enum to the concrete class, then conditionally instantiate the concrete clas, right? Do you have an example of what you are talking about?

As to cero, yep, whoops!
Yes he has.

https://www.youtube.com/watch?v=rB9L1PD7Cpo

Go to 4 minutes into that video. It's his first interview post-reveal, in Hong Kong.

"Beyond that we've got Prism, which is a demonstration of how the US Government co-opts US corporate power to its own ends. Companies like Google, Facebook, Apple, Microsoft, they all get together with the NSA, and provide the NSA with direct access to the back ends of all of the systems you use to communicate, to store data, to put things in the cloud. And even just to send birthday wishes and keep a record of your life. And they give the NSA direct access that they don't need to oversee so they can't be held liable for it. I think that's a dangerous capability for anyone to have, but particularly for an organization that's demonstrated time and time again that they'll work to shield themselves from oversight."
AWS' monthly costs approach cost of ownership. Netflix's costs in providing service are a substantial amount of their spend. AWS works well for Netflix because they have a workload that varies on a daily and weekly basis - by using AWS' excess capacity during peak times, Netflix is able to save money over owning their infrastructure outright.

Given AWS is one big Tetris game, jamming instances in where they fit, this has worked out well for both parties. Until now, with 'now' being defined as the dawn of distributed commodity compute.
Programming Is a Dead End Job
There's nothing inherently special about Into The Arctic that isn't easy to accomplish in both famo.us and GSAP, so I can only conclude that you haven't really used famo.us (which would be understandable since it's only been available publicly for 3 weeks now).

The reason I find the tone of your post interesting is because we just hired someone two weeks ago who has been using GSAP professionally and sees much more promise in what we're doing. Personally I haven't used GSAP enough to render an opinion, so I use his decisions as proxy until I can give GSAP the attention it deserves.

Furthermore, no regular HNer who values the high quality of discourse on this site would say something like "It makes famo.us look like the 80s." That's kindergarten playground smack talking. So, given the tone of your post, do you have any conflicts of interest or biases you should be disclosing to the HN community? Mine are obvious. I work at famo.us.

total karma 80, average karma per post 0.39. That helps be better consider the value of your contribution, but I'll give you the benefit of the doubt. Besides any conflicts of interest, how long have you been using GSAP and how long have you been using famo.us?
A dope content manager for designers
There's a second problem: this thing is synchronous, so it's not possible to create a backend for WebSQL, IndexedDB or remote storage, or to store stuff in (possibly shared) WebWorkers.
Founders with Kids
In typical american fashion you paint the world black or white, when it is not so.
I suppose, but his arguments are primarily couched in the notion of 'what nefarious thing can be used with your private data', of which Google's committed a grand number of... zero, bad things with. And as far as any evidence whatsoever has shown, they've actually fought FOR your privacy from the government.

Are you trusting them with it? Most definitely. But you're using their services, that trust is implicit. The same way that it's implicit that your bank has your money, or that your phone carrier holds your calls. To ask them to absolve themselves of any ability to snoop is literally to cancel out their reason for existence.
Posts without urls get penalized. You'd be better off reposting this with a link, and then posting the above text as a comment in the story.
This probably isn't to difficult to implement, hell I could even try to write something like that right now and put it on github. (I would have simply sent you an email but you don't have one in your profile)

EDIT: You will need python3 since I used input(), and this probably is my first python script so it's a bit messy:

https://gist.github.com/anonymous/e13d3d743c77bc1e39e6
I just dodged a slap in the face from my petrified girlfriend on her way back form the door :-) Sounds like it works even without headphones.
Vancouver, BC, Canada. Working full-time as a PHP/RoR Programmer for DHX Media.

DHX Media (Vancouver) Ltd. is an award-winning animation studio, which has produced over 300 half hours of original children’s shows. We are also proud to employ a team of more than 200 of Canada’s top artists, writers and producers.

We are currently seeking a Programmer to assist in the maintenance and development of an internal asset management system. In this position you will be working in tandem with the lead developer and reporting to the IT Manager. You should be comfortable working in a fast paced environment, well organized, and familiar with modern programming methodologies.

Responsibilities Include:

- Maintaining and implementing needed features in an existing asset management system written in PHP/Zend Framework;

- Taking part in the design and development of a new system written using Ruby on Rails;

- Working with various pieces of software (Adobe CS, Toon Boom, Maya) to integrate/automate certain functionality.

High level of experience in:

- PHP

- Ruby on Rails

- jQuery

- GIT/Subversion

Working knowledge of / familiarity with:

- ExtJS

- Microsoft SQL Server and IIS Web Server

- Python/MEL Scripting

- Adobe Creative Suite (Flash, Photoshop, Illustrator, After Effects)

- Autodesk Maya

- Knowledge of Microsoft Server Products (Active Directory, Exchange, etc.), Toon Boom Harmony and the animation industry is an asset

Other Assets:

- Ability to excel in a fast paced environment, adapting to multiple demands and shifting priorities

- Strong communication and interpersonal skills
Happy Birthday, BASIC (50 years now)
For a professional animator (including e.g. video game graphics/physics programmers), absolutely. For someone who makes a career doing user interface works, it’s a bit harder to say.

At some point there was a large portion of it on YouTube but I think it’s been (quite rightly) taken down as copyright violation.

Anyway, the parts I watched were really really good.
Perfect, exactly what I needed especially with Pocket integration. I was learning iOS development and building this exact thing with my friend.

Thanks for releasing it, I might start reading off my iPhone now.
That is true, but checking all the values of an enum is just the tip of the iceburg. Consider something as sophisticated as the second to last example in the post, where, because of pattern matching, I am able to to "flatten" an if and a switch into a single match. Since it is a single expression, the compiler can provide completeness checking on the _combination_ of the two. I am very curious if there are any static analysis tools that can provide that level of safety without pattern matching.
Github isn't the only choice, but I think it's the preferred choice for a code sharing community because they basically give their product for free for open-source projects on public repositories. And it's easy and good looking.

Bitbucket distinguishes itself from Github by making itself free for small teams only, but allowing you free private repositories. Seems like they are more interested in businesses and proprietary code.
thanks, pocket integration is a big plus for me. thanks for the promo code too.
>send the world back to the 1700's level of technology which while would save the planet

That is a pretty strong claim you are making their. We have already mucked up the carbon cycle be adding vast amounts of carbon into the system (carbon that took billions of years to get sequestered in the first place). This change alone would be sufficient to cause massive damage (and likely a mass extinction), and the 'only' way to fix it is to actively remove carbon from the environment and sequester it again. I put only in quotes because there may be ways we can prevent a lot of the damage by intervening at other stages of the process (for example, find a way to replace the functionality of species that are directly affected to prevent a cascade effect through the entire system).
Hm, yeah, right, didn’t really look at it from that angle.

However, I’m not sure how well that would work. I mean, I would personally have no problem with conditional rewards. (I backed Broken Age and I would have no problem with the reward being “Access to our documentary episodes of the making of the game and the game if we manage to finish it”.)

I’m backing to get the reward, of course, but I accept that the project might fail and that I might not get a reward. I have no problem with that. But if the creators actually manage to make something in the end I would still like to get that thing automatically.
Hey nice annotation number on a 1 line response. /cringe
Thank you for proving my point....
Thanks for the tip. Will do.
Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
Last weekend for the Ludum Dare 48 hour game competition "Beneath the Surface," I created an online stealth game. Building even a simple multiplayer game in 48 hours was a very ambitious goal but I'm very pleased that I was able to pull it off.

In Hide-n-Stab, everyone looks alike, but some characters are harmless NPCs while others are fellow players like yourself. Your goal is to find other players and kill them by stabbing them in the back, but whenever you attack, you'll be revealed as a player for a short time.

You can play in your browser, and I'd love to hear your feedback: http://54.244.244.60

The game was created with Haxe, using the HaxePunk game engine, which I'm a contributor to.
Bitbucket shows you the README followed by a list of recent commits on the front page of a project. I have grown to really like their UI as a whole, although both github and bitbucket suffer from placing the clone URL in a tiny little box that's incredibly annoying to actually use.
If you want Google to leave you alone for the rest of eternity, all you have to do is go work there and enjoy the perks for a few months (the food is excellent and they pay quite well) and then try to find work more suitable to your skill set than what the Hogwarts Hat of blind allocation has assigned you to for the next 2 years of your life(1).

Since you will most likely have been assigned to a team no one wants to work on (hence the openings), the mere act of questioning the almighty G will enrage the inept mid-level management chain and they will in turn blacklist you with HR. Once you are blacklisted, you will be cordially invited to not let the portal barrier impact your posterior on the way out. And beyond occasional accidental profile views on linkedin, no more Google recruitment spam.

It worked for me. It can work for you.

1. Exceptions to this rule are when you are hand-picked for a moonshot, an acquihire, or for your specific skills, at which point, Google is an excellent place to work. Ignore everything I'm saying in these cases, you've hit the jackpot.
>major biogeochemical processes in the oceans other than calcification will not be fundamentally different

But calcification precisely the process in question here.
I would agree with that...

Unfortunately most environmentalists believe in the same people that are wasting all those resources on war... Government. They look to the governments of the world to violently effect change... That is not the solution.
OP says "we never saw Google shut down its service in protest"

Do you remember this headline? "Google Shuts China Site in Dispute Over Censorship" [1]

Google withdrew from the largest, fastest-growing gold-rush market because censorship violated their principles.

Show me one other large company in any industry that has taken a stand like this. Not Microsoft. Not Cisco. Not Bloomberg.

[0] http://www.nytimes.com/2010/03/23/technology/23google.html
For targeted advertising a real name policy is not necessary.
Thank you. I haven't seen it presented quite this succinctly, and I'm more looking at things over the past 20 years. Things work pretty good. Legislation to try to keep it that way would be good. But the legislation we seem to be seeing codifies the new way. Again, I'm likely glossing over some big bits I've not seen yet - I'll go read up some more.
Can't edit now - I meant 'dumb' pipes.
Leaderboard that also breaks down karma from posts and karma from comments.

Specifically, I'd love to see whose comments are the most upvoted, without having their total karma and average karma skewed by getting to the front page.

It's not uncommon for a front page article to get 100+ points, but it's rare for a comment to get 100+ points.
Very cool! Solar Roadways have so many advantages. I was thinking about it toady and wondering about getting my own Solar Driveway. Perhaps a good way to jump start actual sales when the road panels are ready for production?