skysight-inc/HackerNews huggingface dataset:
I'm not sure 'fishes' is valid (British) English either TBH, maybe it's a pointer to a more general rift between UK and US language use. The OED does list 'fishes', but I've never heard it used except in jest or by people trying to be cute. Lolcat speak :)

We would say 'The sands of the sahara' and 'different types of sand' or 'different sands' sound equally valid.
At a tech company where I worked tech support ages ago, it was amazing how happy otherwise furious customers got when we offered them a t-shirt...
Financial Education Will Be Taught in Schools Across England
It's not a matter of absolute need; it's a matter of shortening functions. For example, say I have a list of username and number of posts:

users = [["user1", 500], ["n00b", 15], ["thebestuser", 177]]

I want to sort the users according to number of posts. The sorted() function takes a parameter key=, you can do it this way without lambda:

def get_users_by_posts():

def get_post_count(user):
return user[1]

return sorted(users, key=get_post_count)

The lambda implementation is a one-liner:

def get_users_by_posts():
return sorted(users, key=lambda u : u[1])

Well, technically a twoliner, unless you use lambda more aggressively than most people:

get_users_by_posts = lambda : sorted(users, key=lambda u : u[1])

In general, you can always expand your lambda's into def's, but it can make your code longer and pollute the code with named functions that do trivial things.
A good target would be to become a person worthy of the wealth. This is also the reason why lottery winners are said to go bust.
Honestly R is still a pain in the ass to search for, much more-so than Go currently is. This might be a fluke of my personalized google search results though.
This MacRumors thread says that someone's 64GB MBA came with just over 48GB (= 44.7 GiB).

http://forums.macrumors.com/showthread.php?t=1092617
How  Inspector Gadget predicted the future
Not only is it down, but it's redirecting everyone who visits a site with FB Connect on it to this error page. For example: http://www.economist.com
"And yet I'd still be behooved into doing something for a t-shirt. I can't explain it."

I finished the Stripe Web CTF for a t-shirt. Felt extremely compelled to continue until I achieved t-shirt-vana...
Ugh, been waiting for at least a couple minutes and still 52% loaded. Not gonna stay to watch...I like Volkswagen but this is just taking too long.
Show HN: TVine.co infinite 6 second streams
You shouldn't have to tweak a consumer device fresh out of the box. Heck, I program on my MBA and literally the only thing I've done is let it run Software Update when it asks me, change the wallpaper, and dial up the trackpad speed.
So, putting "Space Marine" in a title might a bad idea, but having marines in space (with or without mechanized body suits) should be fine. To reduce legal risks, you might want to call them "Space Core Maines" or "Space Marine Core".
Yeah that was a fairly recent addition to the API, it probably didn't exist when you built the initial implementation of sign-in.
Giving.Code
Trusting Facebook that its code will not break your website
This is a Jing video of what happened to me on http://developer.zendesk.com: https://dl.dropbox.com/u/32611441/2013-02-07_1626.swf
Great info. Reading code is one of the most basic and fundamental things to do to learn new systems and languages.

Please note your != you're.
If you're affected by this logging out of Facebook stops the redirect happening.
I clicked on the comments just to see if anyone noticed this shit; thank goodness you did.
I have paid no poll-tax for six years. I was put into a jail once on this account, for one night; and, as I stood considering the walls of solid stone, two or three feet thick, the door of wood and iron, a foot thick, and the iron grating which strained the light, I could not help being struck with the foolishness of that institution which treated me as if I were mere flesh and blood and bones, to be locked up. I wondered that it should have concluded at length that this was the best use it could put me to, and had never thought to avail itself of my services in some way. I saw that, if there was a wall of stone between me and my townsmen, there was a still more difficult one to climb or break through before they could get to be as free as I was. I did not for a moment feel confined, and the walls seemed a great waste of stone and mortar. I felt as if I alone of all my townsmen had paid my tax. They plainly did not know how to treat me, but behaved like persons who are underbred. In every threat and in every compliment there was a blunder; for they thought that my chief desire was to stand the other side of that stone wall. I could not but smile to see how industriously they locked the door on my meditations, which followed them out again without let or hindrance, and they were really all that was dangerous. As they could not reach me, they had resolved to punish my body; just as boys, if they cannot come at some person against whom they have a spite, will abuse his dog. I saw that the State was half-witted, that it was timid as a lone woman with her silver spoons, and that it did not know its friends from its foes, and I lost all my remaining respect for it, and pitied it.

Thus the State never intentionally confronts a man's sense, intellectual or moral, but only his body, his senses. It is not armed with superior wit or honesty, but with superior physical strength. I was not born to be forced. I will breathe after my own fashion. Let us see who is the strongest. What force has a multitude? They only can force me who obey a higher law than I. They force me to become like themselves. I do not hear of men being forced to have this way or that by masses of men. What sort of life were that to live? When I meet a government which says to me, "Your money or your life," why should I be in haste to give it my money? It may be in a great strait, and not know what to do: I cannot help that. It must help itself; do as I do. It is not worth the while to snivel about it. I am not responsible for the successful working of the machinery of society. I am not the son of the engineer. I perceive that, when an acorn and a chestnut fall side by side, the one does not remain inert to make way for the other, but both obey their own laws, and spring and grow and flourish as best they can, till one, perchance, overshadows and destroys the other. If a plant cannot live according to its nature, it dies; and so a man.
I made it to 5% and got bored - who else?
> While I can empathize both with academics who might either want to monetize their research or those who might want to make it freely available to all—the choice, ideally, should be the authors’

It's unfortunate to see that the author here wrote in such length about a subject that he is obviously pretty clueless about.

The authors of academic publication do not receive royalties for their publications, peer reviewers are— likewise, unpaid peers—, as are many (though not all) journal editors.

None of the people responsible for creating these works are getting paid. Their only choice in this process is the choice to publish with established and prestigious journals. The journals are what put up the paywalls— but in the US they don't have a lawful copyright interest in the works.
To say Microsoft isn't offering anything new or compelling is a matter of opinion. They are going to be the first company to offer the most consistent experience across phone, tablet, and computer.

I'm not concluding whether or not they will be successful, just saying that Microsoft may indeed be offering something compelling and new to consumers with tech devices (consistency).
The verbal gymnastics required to differentiate between what VC's seem to mean by valuation and the common-sense use of the term is one of the key things that makes this a bubble.

VC's are okay buying a share of a company as-if the company were worth a billion+ because they (rightly) believe that they can (frequently) turn around and exit in an IPO and get a significant return by convincing others that the company is worth a lot of money – never mind that the long-term financials and competitive advantages aren't there to back that valuation up.

As a (relatively) short-run money making scheme, many of the VC's have it spot-on, but at some point, if the markets can't sustain the aggregate valuations of all of these multi-billion dollar valuations, the IPO values will dry-up and someone's going to be left holding the bag. That is to say, the bubble will burst at some point if it's not carefully deflated.
That same compiler need not produce the same code for each target. For example, one CPU might be so slow running instruction X that it is faster to emulate it, while it could be faster on the other.

There also are floating instructions where CPUs do not compute all bits of the correct result. See http://www.zqna.net/qna/knvvzn-do-fp-operations-give-exactly....

Also, not all CPUs produce the same result. In https://blogs.oracle.com/jag/entry/transcendental_meditation, James Gosling claims:

"As far as I know, the K5 is the only x86 family CPU that did sin/cos accurately. AMD went back to being bit-for-bit compatibile with the old x87 behavior, assumably because too many applications broke"
The first thing I'd do is prototype the game out on paper. I'm serious. That will inform you about data structures and interface options.
This is ruining my life.
I'm surprised the redirect loop can even happen. Seems malicious. Another example: http://www.usatoday.com
Dumbass Start-up Mistakes That You’re Probably Making
As a PHP programmer the inconsistency of the string functions is not only bothersome, it's embarrassing. This seems like an interesting fix for that.
Oooh that's bad. I would be fuming mad if that was happening on my site.
If you have an account you can delete everything (including your email), remove data from specific Google services, or adjust some of their ad targeting assumptions. I cannot remember how to get to the ad targeting settings, but you can find it if you need it.
I write my own backends. I feel safer that way. Already got a framework for communicating with a resource based API properly with its local model (Always Core Data unless not trivial like a map).
I think the author is missing a point here: Macbook Air is a full-blown computer (I run several VMs on mine), while Surface is a freaking tablet.

I am ok with 'wasted' space on a computer, because first, I expect OS to have a substantial footprint, and second - I can see, touch, and actually 'consume' the OS files.

I am not ok with wasted space on a tablet, because to me it is a glorified book reader/mp3 player; I expect to use all the available space for storage.

Wait, you are saying Surface is actually a computer (although a shitty one), not a tablet? Well, then MSFT completely failed to communicate this message. Which is pretty regular problem for MSFT.
So clever my flashblock ate it all!
Their "Move fast, break things" motto may not go along well with your product. When you add Facebook's Javascript on your page you trust them that they will not make something dumb... but sometimes they do.
What is the clever part? That it stays stuck at 30% forever?
As pointed out in the previous post, you should not rely 100% on Facebook as your Auth gateway. You should have an alternative for your users to login in case of something like this happens.
LinkedIn takes a lesson from OKCupid.
Raygun: Hit the Ground Running When You Start Your Next Project
I love that you guys used an Arrested Development reference :)
Also, the app looks slick, nice work!
That really depends on your definition of "promising startup". About 75% of IT startups fail and most were promising to at least some people.

You really can't bet on getting rich just out of pure luck though. There are a ton of millionaires around Silicon Valley because the area attracts the best engineers in the world to work with great companies. Your odds don't really increase if your a shitty employee. It's also very expensive to live out there.

With that being said this industry allows you to switch jobs pretty easily. If you put in a couple years at several different startups over your career then the odds of getting a huge paycheck from a startup increases dramatically. In addition to that you will gain many contacts, friends, and job experience.
This. If you give me a shell script, I can curl it without piping it to a shell first so I can see what it's going to do. Unlike an installer on Windows where I have no clue what's going on.
A clever way to take over the Internet.
Cool, love it - the multi-byte support and baked-in validation is awesome, going to play around with this.
I think this type of approach will never stick with PHP community (at least with the "serious" developers).

This hurts so many principles and directions that PHP community is FINALLY diving into, like SOLID and stuff. Accepting simple things like strings are not objects is the way to improve how PHP devs build their stuff and start focusing on important things like defining de-facto libraries and joining forces to make them the best and most flexible available.

Don't get me wrong, the idea is pretty good (even if it's a simple try to mask procedural PHP functions)... but it seems like a swiss knife in the end.
Hmph. And I was just sitting down to do a iOS Facebook connect tutorial.
Wow, a lot of denial on this particular topic. Let's be real. Even facebook is used a lot for hookups. All mediums will have sex on them because we are sexual by nature. So of course this medium will be exploited fully and denied in public because it's a sensitive topic. Why dwell? Who cares? Are we such prudes?

And come on, just asking them? Go ask the guys in the head shop what kind of pipes they are selling. Tobacco pipes of course. But we didn't just fall off the turnip truck.
I suppose I was just not in the mood to read an article filled with such an overt tone of condescension.
I think this could be used to solve similar problems for event-driven programming. For instance, in Aleph/Lamina (async clojure library), pipelines work great when only one value is returned. But if you want to wait for two remote calls to return in parallel, and feed both results into the next function, the syntax can a bit painful. Here, you could supply something like async-compile which would work similarly to parallel-compile but use pipelines and merge-results under the covers.
Sorry, but it sounds more like user error.

I won't argue that CoreData has its pitfalls, but at the end of the day, many of us both write our own syncing solutions, and successfully use iCloud. Neither of these things is actually all that hard, and you certainly don't need to use iCloud to have your apps featured.
They failed quite spectacularly for me:

"congratulations! You were one of our first 500,000 members to register in Iceland."

Iceland - population of 300,000.
I don't think HN has a hard time understanding it, they just think it's not going to be a successful product. Device consolidation is always tricky, but for it to be really successful the integrated device has to be "good enough" in both areas. E.g. people don't buy consumer digital cameras anymore because cell phone cameras are perfectly serviceable.

Is the Surface Pro a "good enough" laptop? I'd argue no, not with the keyboard/trackpad situation and lack of a rigid connecting hinge. Ars's review noted as much. As it a "good enough" tablet? I'd argue no, not with the weight, heat, and short battery life.

Now, obviously "good enough" is in the eye of the beholder. When people rag on Surface Pro, the thinking is that it's not going to be "good enough" in both roles for the majority of customers, and as such isn't going to sell.

The situation is complicated by the fact that the unit is priced at more serious users, those who can't get away with an iPad + keyboard attachment by itself. Those users are more likely to see the keyboard/trackpad issue as a deal breaker for serious work. Less serious users, who don't need the extra capability, have no reason to look at it over an iPad.

Also, don't forget about how 7" tablets factor into the equation, because they make it more practical to carry a laptop + tablet. An 11.6" MBA + iPad Mini 16GB will run you $1330 versus about $1030 for 64GB for the Surface, and weigh in at around a pound heavier. But, in return you get more combined screen real estate, more combined storage, and triple the combined battery life.
Tell that to the millions of users who are just going to blame this on the sites that it's happening to. What a clusterfuck.
As I said, that's the publishers/developers choice, NOT Steams.

Outdated list of DRM-free (once installed) Steam games: http://www.gog.com/forum/general/list_of_drmfree_games_on_st...
This is wrong.

Let's take some really serious examples: the holocaust and slavery. Both were imposed by the law, and both were fought by concientious individuals. People harbored escaped slaves, people helped jews escape the nazi death camps. And they also tried very hard to avoid the consequences of those actions (which in the case of harboring jews could be death). Yes, this does make them criminals, but it does not put their actions on a lesser moral standing or make them less honorable.

The difference between the activist and the criminal lies in the underlying morality of the act and of the law, it does not lie in whether or not someone willingly accepts the legal punishment for breaking the law.
It's amusing that the first line is considered "terrible" but the latter is "comprehensible". For someone versed in modern languages they both look like gibberish.
Yes hehehe. Someone will be fired today. :(
This breaks people who have all kinds of other login options. For my site we had to actually exclude the FB JS from our site to prevent the redirect.
Should we be surprised?

Facebook Connect was deprecated in 2010

http://mashable.com/2010/04/21/facebook-kills-facebook-conne...
Remember the Milk for me. The right balance of simplicity & features. Plus a Chrome extension.
It's been fixed. The status page doesn't mention the blip though: http://developers.facebook.com/live_status/
Seems to be not redirecting anymore, but it definitely was for a while.
I'm routinely surprised by how religiously some of my LinkedIn connections update their profiles. For many of them, it's surely their primary social network.

LinkedIn is basically a contact list for me. I've always found the site cluttered and a bit clumsy, not something I want to use. Though, I do get some amusement out of seeing people predictably check my profile after meeting for the first time.

Things like the newish endorsement feature actually bother me. It's all very gamey, counters and "XP bars" everywhere begging your effort to make them increment.

I certainly understand such carrots to induce more people to make more connections, have more engagement with the site and ideally drop $240-900/yr. for premium accounts.

Personally, I'd be more inclined to do that if I thought connections, endorsements, profile views and whatnot were actually meaningful.

As it is, the only thing that seems to demonstrate any real effort/connection are recommendations which are given no more priority in the activity feed than endorsements and appear towards the bottom of profiles.
It is not misleading information, it is brilliant marketing. Gotta give them that.
Deadpool: Stickam.com is shutting down
that's worse than I could have imagined
Works for me. I just signed into two separate sites with FB Connect.
Does this only affect those logged in to Facebook? I quit Facebook for a year so I'm not sure whether it is fixed or whether I was just not bothered by it at all
I am a fan of Microsoft, and I agree.
Appears to be "fixed" now. Economist.com no longer redirects. FB's own developer pages (https://developers.facebook.com/roadmap/) used to manifest this too, and no longer do.
Most things are provably true/false, or not broken down into fine enough detail.

In the minority of situations where it is genuinely indeterminate, you come to a consensus, just as happens between normal people millions of times each day on this planet.

Part of the problem is, politicians routinely pass legislation they know is wrong, knowing they can hide behind the "we didn't know, our intentions were in the right place" argument later because they know they will be let off the hook, even though everyone knows they are lying.

Governance has become such an "emperor has no clothes" scenario, where lying with impunity isn't given a second thought - no one would have believed you if you had predicted this state of affairs 100 years ago.

Processing all these lies on an ongoing basis sounds impossible, but if the media and the public actually started outing politicians and executives for their lying, they would stop doing it so much, making verification of genuine uncertainties much easier.
They just fixed. I saw the same problem on zendesk (video attached):
http://news.ycombinator.com/item?id=5185484
Uh, technically, you did.
> There may never be another scientific genius on the level of Einstein, Newton, Darwin or Copernicus, one prominent US psychology professor claims in a recently published article.

If psychology were a science, I might take this claim more seriously.

> “When was the last time that someone forced us to rewrite the textbooks in some domain? Or even create an entirely new domain from scratch? Can you think of anybody since DNA?”

DNA dates back to 1953. Since then people have invented the laser, the integrated circuit, modern computing, spaceflight, robotics, and have completely overhauled physics at the most complex and creative level.

Because of advances in mathematics and physical theory, we now know that most of our earlier assumptions about the universe were wrong -- we only understand 4% of the universe's mass-energy, which leaves a huge playground for genius, and there are plenty of very smart people trying to craft theories to match the new observations.

The problem is not a shortage of very smart people, the problem is that most modern science is applied. The resources available for pure research -- the kind of research that produces entirely new fields of knowledge -- is much smaller as a percentage of total science spending than it was in the past.

There is every indication that the probability for the appearance of a very bright person is either unchanged, or greater than the past. As to whether society can identify and exploit such intellectual potential is another question.

But one thing is certain -- psychologists will continue to get it wrong, in the most basic ways.
Here's how to do inline assembler in D:

int *_memset32(int *p, int value, size_t count) {
asm {
mov EDI,p ;
mov EAX,value ;
mov ECX,count ;
mov EDX,EDI ;
rep ;
stosd ;
mov EAX,EDX ;
}
}

The compiler adds the function prolog/epilog for you, as well as any save/restore for used registers.