skysight-inc/HackerNews huggingface dataset:
I really wish Haskell weren't lazy by default. Laziness is great in places, allows you to write very declaratively, and even allows for some computations that would otherwise be impossible or less efficient. However, most of the time, you envision and write code as a series of steps (even though theoretically in a functional language, you're just writing an expression). In a practical matter, the cases in which lazy evaluation becomes desirable exist, but are limited. Most of the time, you want, and expect when you write it, your code to be evaluated strictly. Of course you can enforce strictness manually with `seq` and bang notations and the like, but this clutters up your code and might not even matter if you're using library code which doesn't do the same. IMO Haskell would greatly served by having laziness be opt-in, not opt-out. But its pretty ingrained at this point, and there doesn't seem to be too much of a push to change it (who knows how much extant code would be broken by such a change).
East Germans were generally quite knowledgeable about life in the West and were aware of the deficiencies of their own society. I don't think North Koreans are quite so aware of conditions outside their country. Last year there was a big crackdown on "knowledge smugglers" [1] bringing "subversive" western and Chinese material into North Korea.

[1] http://www.theage.com.au/technology/technology-news/north-ko...
You are reading my post as very emotionally driven. As a non-gamer, and non-VR headset buyer, I am reading about this the same way you might read about defense companies.

You, and the parent post, believe that gamers as a market, unlike sell phone consumers, buy on purely pragmatic grounds. Given that more money is spent on game advertising than game development, I would say the industry money disagrees.
I agree...I'd like a Linux desktop as well. However, what client software on the Linux side performs as well as RDP? How can I get that same performance?

VNC certainly doesn't do it. NX is about as close as I've come, and it can still be laggy at times. I think Spice may be the future on this side, but not sure.

For those of you who run remote Linux desktops in the cloud and actually use a UI, how do you do it and get an adequate desktop experience (sound, video, etc)?
The windows EC2 machines are also designed for web traffic (IIS servers). I suspect these machines will still get traffic but not at the volume of a web server.
There's probably a honeymoon phase for the management as well. There's a reason why corporations have the structures and controls they do - they work at those levels. As a company grows, it will tend to gravitate towards those. Otherwise, if the company is struggling or failing, there may be some cognitive dissonance from management which gets translated into the bullshit doublespeak you're talking about.
> If you are overweight it could show ads of gyms/treatments/diet-food;

I have a feeling that the data would be more likely to be peddled to McDonald's than 24 Hour Fitness.
I could be wrong here, but from my reading of the source this doesn't look like an A* search algorithm. For starters, the search space is nondeterministic, and since you can only explore in one direction, you're not really performing a search space exploration as much as choosing a direction and going with it.

Secondly, the implementation doesn't perform the combination of current state score and proposed state score that lies at the heart of the A* algorithm. Instead it takes the current state for granted (which, again, it must given the inability to backtrack) and chooses the available move with the largest score.

Thirdly, and I'm reaching a little here, I can't find any place where any heuristic is used to optimize search performance by pruning the search tree. The search space is brute forced on each iteration, and the entire tree is scored.

At the expense of seeming pedantic I suggest this is a greedy play algorithm rather than A*. You can be even more precise and call it a single-ply minimax.

Now that that's out of the way, I should temper my criticism with the fact that this implementation works. It's not algorithmically complicated because it doesn't have to be. It doesn't use any of the typical performance tricks because it doesn't need to. What it lacks in sophistication it makes up in "good enough."
You are right, the first cost function doesn't make a lot of sense, but I didn't divide by the number of leafs - so it basically also was based on the number of unassigned tiles.

So in the end you are right these approaches are more or less the same.
I think people are overreacting in the sense that non-solicitation agreements are not illegal per se and exist almost everywhere - tons of corporate partnership/vendor/contractor/etc agreements include such language because sometimes it's difficult for companies to work together closely in good faith without such agreement in place.

The main reason that the agreement is deemed illegal here is that they were made with a specific intent to manipulate the market at large and because they are deemed to have kind of market power, being a cartel of large employers. Also, the nature of the agreement is far too broad and the companies involved is far too numerous for them to argue in good faith that their intent was much more narrow.

I completely agree that they overstepped and should be held liable, but some of the outrage seems misguided. The HR executive involved, for instance, may or may not be in position to know that the policy is part of an illegal scheme and the fired employee certainly was not. Also, unless you're one of the star programmers who were highly in demand, it's quite unlikely that your salary was all that depressed over this. If anything, the impact may have been slightly positive for average employees - at a lot of places, superstars aren't necessarily substitutes for average employees, but rather complements and lowering prices of superstars can boost rather than depress wages of average employees:

http://www.joelonsoftware.com/articles/StrategyLetterV.html

On the whole, this is kind of the replay of the Microsoft anti-trust trials. Bundling web browsers with operating systems is not illegal - the illegal part was the context in which such action occurred. It was seen as an abuse of market power. Sports leagues openly collude on this kind of stuff without most people caring at all or pointing fingers at those involved. Government can have strong interest in such matters in the interest of encouraging a healthier market - though political and career motivations of lawyers/prosecutors involved also play a large part - but to seeing this as a clear morality play is not wise.

Edit: actually this covers the legal issues better:

http://www.mondaq.com/unitedstates/x/258600/Antitrust+Compet...

Assuming the article is correct, having a general agreement without any specific, legitimate purpose is illegal, but on a limited basic it can be legal. Still it seems far-fetched to assume that the HR executive in question had to know that such an illegal agreement existed, because for all he knows, a much more limited, legal contract could have existed due to their partnership and Google may have had a broader policy to ensure easy compliance. We now know that that's not the case, but I don't know why we can assume that the HR executive necessarily was aware of all this.
It's time to break up the NSA – Bruce Schneier
It's been a long time coming, but it feels great to finally get this out. It's funny just how buggy the first alpha was...I'm proud of how much everyone has helped make it more awesome!
Chrome shows Youtube as insecure
Your connection to www.youtube.com is encrypted with 128-bit encryption. However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the look of the page.

The connection uses TLS 1.2.

The connection is encrypted and authenticated using AES_128_GCM and uses ECDHE_ECDSA as the key exchange.

Google's own site is insecure?
Thank you for your comment.

I have a very active life outside. I just wish I could subscribe to a project for longer than a couple of years.
Thanks for sharing this. I may have missed this answer between all of the threads related to 2048, but has anyone found if there is a limit for the 4x4 tile size?
Related: Hair, beards and power - Taking it on the chin [1]

[1] http://www.economist.com/node/16743613
"Public, but not tooooo public! We'd prefer the facts of the matter not to end up in any newspaper articles."
"Cleave" is a great example: http://dictionary.reference.com/browse/cleave?s=t
Out of curiosity, why did you choose Ember? For context, my team is evaluating Angular vs. Ember. Thanks.
To be fair, they're not really jazzing up how great of an experience Windows 7 is, but rather referring to enabling the Desktop Experience feature[1] of Windows Server 2008 that installs/enables standard desktop features and allow it to be used akin to an end-user desktop.

[1] http://technet.microsoft.com/en-us/library/cc772567.aspx
Either way, they'll be able to point to their huge successes on "finding" the next Valley heroes.
I think this is honestly good advice. Every employer will want you to live for your job, but for the vast majority of human beings this is not realistic. There's nothing wrong with doing a good job and then going and living a fulfilling life from 5pm to 9am.
Wasn't sure if this would be useful to me without mobile support, but man, it really saved my ass today. Thanks for this.
Why re-inventing the wheel? IRC and XMPP are proven technologies that scale, I wouldn't go and try to build my own messaging technology: there are hard problems like presence and notifications that you don't want to solve yourself.
> I guess i'm here to break it to you that you are already participating without your knowledge, everywhere, glass or not.

Thanks, I'm aware. I have the right to resist.
It's not shocking to me because I'm not surprised at the behavior.

I would imagine that the person who was fired might disagree with you on the brutal part since Google's reaction was overblown. They could have simply told the person not to do it again. But they went with the instant firing without any second thought in an effort to keep Jobs happy.

The smiley face at the end is indicative of how happy Jobs was over how much power he had over them in that someone was fired over something he simply asked them to stop doing.
We might be in the wrong culture. My friends in [anglo country X] say it's amazing over there. I think it's they have higher empathy and saner goals

Over here, businessmen give you the "you can't make an omelette without breaking eggs" speech after they screw you. This was their real goal from day 1, it's just they have to sort of believe their lies to make you believe in them. Same old trick from con men and salesmen.

Never take promises from a businessman, always get it on paper. And even so, you might not get it (e.g. bankruptcy protection). The only exception is if you have done business with them for over a decade and they depend on you and their reputation.
Arrestata la donna sorpresa ad infilarsi i polli del bancofrigo nella vagina
Show HN: Let's Chat – A free, self-hosted chat app for small teams (WIP)
...how is your [insert tech startup here] going to maintain a decent level of QoS if you cannot maintain it for a trio of IRCds and a trio node instances? You could even get away with DNS-only HA since it is purely internal so if A is down, everyone knows to connect to B or C.

The only reason I don't host my own e-mail is I haven't found an open source project that can truly compete with gmail's functionality and the fact I don't really care if Google reads my e-mail since none of it is sensitive.

I have high hopes for https://www.mailpile.is/ since if my Desktop is down, I'm screwed /anyway/.

Just my two cents.
> I can see why you feel the outrage over this is overblown. I personally think there isn't enough outrage.

Agreed. Apple and Google were actively colluding against their workers.
The title here seems quite exaggerated, as does the claim that "Mattermark Founder Prediction Is 25X Better Than Chance."

Predicting who in a group of 1.5 million technology professionals is likely to start a company presents an unsupervised learning problem. Short of contacting all 1.5 million people and asking them, there is no way to confirm whether the predictions the system made are correct, so you cannot make claims about efficacy.

There are approaches used to deal with unsupervised learning problems, but there are no details in this post even indicating that the folks involved recognized they were dealing with an unsupervised learning problem in the first place. Instead, we just have claims like "While we believe the future founders group has a 17% chance — 25x higher..." for which no further information is provided.

Perhaps more interesting than the bold claims sans important technical details is the notion that an early-stage fund would look to court potential founders before they even made the decision to become founders. While it's true that many seed stage investors adhere to the mantra of "we invest in people," this is as good an example as I've seen of the fact that there is currently way too much capital chasing too few opportunities.
It doesn't really matter which of those I think you are ... you need to decide and act accordingly. I will tell you that I've been in your situation many times and my response is to fight against the behaviors that seem to cause you to switch jobs. If you're not willing to play at least a little politics at your workplace, you're going to have a tough time staying at almost any job.
Well, he could put ads on the page but most of the target audience would be using some sort of adblocker. Which brings another question... aren't people overly sensitive to the display of ads? They want good quality content, but don't want to pay for that same content and at the same time block the author's alternative of not charging for it (by using ads)
I would understand if we were still in the 90's and there were pop-ups everywhere, but nowadays I find most of the ads non-obtrusive.

Sorry I went off-topic. Another way to monetize would be to make an app out of it for the mobile devices.
Whether you're 1/2/3/4/5, you're not alone.

My dad has worked at the same company since he dropped out of college around 40 years ago (he runs it now). I do think our generation's (well, I'm 32, don't know about you) job goals are a lot different and a lot more conducive to short-term jobs, and I don't think there's necessarily anything wrong with that. I tend to place maximum value on doing real work and self improvement, and lots of meetings and doing the same work for years aren't the best way to achieve these (fundamentally unachievable) goals.

But even more than that, I think a major problem is that startups are companies that are by definition changing ceaselessly. They're either growing or belt tightening, adding new people who need to be managed even if the team is still functional. The emphasis goes from core product building to scaling and optimizing. Etc.

So, it might be sort of you, but it may also just be the nature of the work. Don't take it too hard.

I have a friend who's... hard to work with? He changes jobs a ton. But his strategy has evolved from 'join a team then get frustrated' to 'join a project, know what you're going to work on, add a ton of value, then maybe find another project at the same company, or not.' It's kind of mercenary but can be really valuable to both parties if you play it right, and keeps him from feeing miserable.
>Why Hackage packagers like to specify upper bounds I'm not sure of

Because having working code spontaneously break is very bad. You can't just blindly pretend any future versions of all your dependencies will work without updating your code. APIs change. So you specify the version range your code works with.

>Backwards compatibility either is very hard to achieve in Haskell

Backwards compatibility is the whole point of upper bounds.

>But at least pip, npm and gems are a breeze compared to cabal.

I had constant problems with pip. Because it will blindly install the latest 'foo' dependency even though the API changed and now my app is broken.
Managed WordPress Hosting Performance Benchmarks
I'm not really talking about long hours. I've always been happy doing my 45/50h a week. I don't complain about that. Rather about transparency, clear vision and accountability.
Maybe you are too tolerant? Usually you can say management is shit after a few weeks, don't wait too much before leaving and seeking a better company.
You may be right. I apologise for any inaccuracies in my shoe-placing. It's as good as I can do when trying to empathize with psychopathic assholes.
Deal will let Tesla operate 3 Ohio stores
Ask HN: Can we collect all 2048 forks in this thread?
2048-Numberwang: http://louhuang.com/2048-numberwang/

16384 Hex: http://rudradevbasak.github.io/16384_hex/

2048 LHC: http://milrivel.github.io/LHC/

Flappy 2048: http://hczhcz.github.io/Flappy-2048/

HN Plays 2048: https://hnplays2048.herokuapp.com/

2048 3D: http://joppi.github.io/2048-3D/?utm_source=hn

2048 Tetris: http://prat0318.github.io/2048-tetris/

Bash 2048: https://github.com/mydzor/bash2048
'Flappy Bird phones' on sale on eBay from $300 to $90,000
Thanks for reporting Steve. I'll fix it.

EDIT: Should be fixed now.

Thanks JangoSteve for reporting this.
All non-mainstreem web frameworks are very immature in terms of web security. No CSRF/XSS/SQLi projections built in, don't even say about security headers. If you use an unpopular framework you should do all protections yourself.
Sounds normal. I suggest you lower your expectations and perhaps take on a more mercenary-like attitude.
This is going to be just like how Facebook ruined Instagram and WhatsApp. Oh, wait. They didn't. I'm quite certain, based on Facebook's history, that they'll let Oculus be their own thing, and we'll enjoy the benefit of Oculus being injected with huge amounts of funds.
I have looked at AppScale several times in the past, but have never run it. Can you share any experiences using it in production?
How to Learn Java in just a Couple of Weeks
Why am I getting a security warning: http://imgur.com/8XkwwKb
I'm sure they'll throw their hands up and walk away in defeat.

That should certainly be our goal. We're hackers, we're better than this. Again, we should be looking for ways to route around the damage, rather than embracing it.
Apple is refunding in-app purchases done by your kids
Um, you do get a product if it successfully completes. That's what most people are paying for.
Mee too! It touches me to have my kids begging me to see the next episode of Cosmos as if it was Games of Thrones.
But please don't get jaded. There are a lot of good people out there. They are the ones who are not trying to use you and are busy already. You have to go meet them. I'd say good people are the majority.
I called your comment that, and I stand by it.

If you can't separate your individual self from a comment you've written, that's your own problem.
It looks like it'd be handy if I could spin up a Mac or Windows desktop to test stuff with, but it looks like you can't connect to it from Linux. Too bad.
A much more interesting talk from this year's QCon London by Simon Ritter:
http://qconlondon.com/dl/qcon-london-2014/slides/SimonRitter...
Sounds like building your own business is up your alley. You may be all of them except 3. It could be that you see yourself as a much better manager and you probably are. Try something small that you hear there is a need for and you might be able to find more fulfillment from that than job hopping. Business isn't for everyone but you can give it a shot.
Thank you. That's 100% correct. You don't make them a public example. I think Sharon is finding out what it's like to be a public example right now.
As if giving 100% for a couple years isn't enough? Don't feel bad about poor leadership from the top. Most startups fail even with good people giving their best efforts. Move on if you have better options. Until then, just make sure the checks cash.
I can understand getting upset about this. I personally see it as a sort of "double dipping" on outrage in this case, but that's just a difference of opinion.

My main point here is simply that not getting outraged at the attitudes displayed here is far from giving these companies a pass on what they've done.
Belatedly realizing the same points.

Most start-up work is 'hauling shit uphill' (horribly paraphrasing a quote about acting that Sean Connery said in his acceptance for some lifetime award).
Or you could have looked it up....
Thank you for your reply. I am 30 and indeed, we seem to have different work expectations than our fathers.

I am probably too easy to work with. I take care of loose ends, make it easy for people to achieve their goal, polish sharp corners for everything to run smoothly, treat everyone respectfully, etc... Everyone ends up thinking everything is natural and are surprised when I suddenly quit.
In Congressional hearings it's a common method to avoid invoking the fifth amendment which could be cause for further investigation. If they don't recall, maybe there's nothing to it; if they invoke the fifth, there's likely something there and you just have to find it elsewhere.
Why Do App Developers Still Live with Their Moms?
Barack Obama asks then answers own question on Quora, sort of.
Personally, it's always been about trying to separate my frustrations with the company I'm working for, and frustrations with work. No matter what job you have, it's still a job and there will be things that you are unhappy about. The thing you need to figure out is whether those frustrations would be resolved by switching companies, or if they are frustrations that come no matter where you work. Sometimes the grass is damn green on the other side, but when you move over the same problems follow you.
'Candy Crush' maker King Digital's stock opens below IPO price in public debut
I think the primary use case is not for personal use but for large corporations. The high availability (which we've also seen in aws) and pay-as-you-go pricing are probably the biggest selling points.
Unless you consider part of the definition of quicksort to be "in place".
How To Negotiate With People Around The World
That's not the handshake my version of Chrome uses at youtube.com http://i.imgur.com/wNE5WUh.png Try running this script: http://superuser.com/a/224263/34856 (Just change the IP to youtube.com)

Edit: I just ran it, and these are the only ones I got "YES" on. No ECDSA at all!

Testing ECDHE-RSA-AES256-SHA...YES
Testing AES256-SHA...YES
Testing ECDHE-RSA-DES-CBC3-SHA...YES
Testing DES-CBC3-SHA...YES
Testing ECDHE-RSA-AES128-SHA...YES
Testing AES128-SHA...YES
Testing ECDHE-RSA-RC4-SHA...YES
Testing RC4-SHA...YES
Testing RC4-MD5...YES
Right to Internet access
5 Distribution Experiments You Can Do For $10 Or Less
We should have a rule that prevents people quiting thier perfectly sensible jobs to work on startups. They are risky as hell and when fali founders are burden to society.
The excuse is precisely that there isn't a great, all encompassing framework.

Setting up a scenario where everyone has to get everything right all of the time is setting everyone up for a lot of heartbreak.

Having bad password management and opening everyone up to CSRF and XSS is not "trivial". They're gotchas, and looking out for gotchas is a waste of everyone's time.
A lot of people backed for the "change the world" promise:
"Changing the way people experience video games forever."

Of course nobody should be surprised if that turns out to be a bold-faced lie, but that doesn't mean it's not disappointing.
Ya, but if they built it so msg='<b>msg</b>' that would remove the bold, no?

So it is a bit more complex than that if they want to enable user markup.
https://code.google.com/p/pagedown/source/browse/Markdown.Sa...
https://code.google.com/p/pagedown/wiki/PageDown
That does not answer how many moves it takes to get to 2048 though.