skysight-inc/HackerNews huggingface dataset:
This is so true - what interesting to me is that I have heard this sentiment directly from friends and coworkers before several times. Upon further prodding, it has been the case that their dealings Haskell were minor at best, and are confusing the superficially similar syntax of Haskell with languages they're used to, thereby giving them the idea they understand the code they're reading. But more often than not they really don't understand it - the brain is apparently adept at making us think we understand something we really don't based on a superficial, usually structural similarity with an existing knowledge domain we have.

I recall interviewing a potential hire who lauded his appreciation and understanding of functional programming - and he really believed it. So I asked him to explain to me what a closure was, and give me some examples of ways you can exploit them in your code, practically. Pretty straightforward question for someone who claims to understand the concepts of functional programming.

Of course, I wouldn't be bringing this up if he was even remotely successful, but I don't think this was a result of his presenting himself in a dishonest manner. I think closures are subtle ideas; much like function application, composition, and other ideas that seem familiar and easy to understand until you are asked to apply them practically. That's when the gap between what you think you know and what you actually know is borne for the world to see.
Can your validation example handle checking at the map level (i.e. the case where a required field is missing)? It seems like this is something you would want to do.
Looking at github it appears they started building it in 2010.
A Scala guy who has to deal with SBT is complaining Leiningen? Seriously?
The thing is that if you do come up with some new way of getting untold gazillions of people to sign up, what is to say that the people at match.com won't be able take your innovation and get using it too?

For instance, you could have some way of promoting users that had brought more users onto the site, e.g. if Alice gets half a dozen of her friends to sign up then Bob gets to see Alice listed prominently in the search results. The incentive for Alice could run deeper than that, maybe only if she has got her friends to join will she be able to see all of Bob's pictures or learn about his sexual tastes. There could also be advantages for Alice's friends, because Alice introduced them to the site they might get the advantages Alice has for a limited period of time.

As soon as you 'gamify' people will cheat, e.g. in the above example, Alice might create half a dozen accounts, one for each of her various email addresses.
Obviously you would need a method to make this not happen, and, if you solved it, you might have a competitive advantage. However, how long would you have this advantage for before some developer at match.com cloned it?
@StefanKarpinski

The article is licensed under CPOL, not the code.
Railgun is licenseless, one developer working for Mozilla advised me to put it under BSD or public domain - which is guess what: just another license, all my etudes/tools/functions are 100% FREE, not as pseudo-copylefters understand and try to sell their "Free" - which is ridiculous, especially the free beer part, if I am to share my joy with my buddies I buy beers and give them for free UNCONDITIONALLY.

The bottom-line:
Railgun is people's choice 'memmem', if you ever face the possibility to go to jail, just call me I will tell the judges some copyleft sagas of my own, that is to educate them how university professors are funded with people's money (not only) and any derivate of those algorithms/implementations should follow the same licenselessness - a nifty word - everything else is just one perverted game for money, as I like to say hypocrisy in action.

Regards to all, and no, my endless dumps are not to obstruct the usage, quite the contrary - to provide field feedback - to give thorough comparisons, had I had more than one computer I would have dumped several times more stats.

Best,
Georgi
I am having an incredibly difficult time understanding why int-or-string cards are desirable also. You'd end up with multiple functions like heartsGameCardValue and euchreGameCardValue but with int cards you need to write the same thing and without a type system to catch errors. If it was truly simpler to reason in terms of int, you could also do a cardIntegerRepresentation function and it would add very little length to the codebase.
Why does posting a small string require javascript?
The thing that helped me most when I started learning clojure is to mentally move the parenthesis over to the other side, so

(println (max 34 64 15))

becomes

println(max(34,64,15));

and vice-versa.

Another thing that helped is realizing that almost all things that require special syntax in other languages look like function calls in clojure. So, for example, to create a new function, you call the defn "function" and pass it parameters for the name of your new function, the expected arguments, and the body of the function.

The last thing is remembering that in clojure, the last statement in the body of the function is automatically the return value of the function, so I just imagined that the last statement had a "return" call in front of it.

With these 3 rules I could mentally translate 95% of clojure* to c-style code and back.

*The other 5% is mostly about macros, which are what give clojure (and other lisps) the power to add new features to the language via libraries, among other cool things. They they're powerful and used sparingly though, so you won't bump into them too much, and when you do, most will be documented as to how to use them properly.
Except that programming is such a large domain, you could easily classify web development as a niche itself.

Vast majority of the programming community doesn't have to ever deal with a HTML tag ever.
Hey, I'm a guy who has done projects in several other PHP frameworks (Joomal, Drupal, Zend/Magento/aMember, cake, EE, CI) as well as some work in python/django and who tries, each quarter or so, to at least play with some other languages and frameworks (I've done the rails book tutorials, and tutorials with several of the JS MV-ish frameworks).

If you're working with one of the larger WP-oriented managed hosts, we have the same clients and I have likely worked with your hosting.

So, well, here I am, nice to meet you :).

I agree... most people doing this kind of work don't have a lot of other options to choose from-- it is just what they know. They certainly neither know nor care to learn some other framework. Many of the people in this line of work are selling low or mid end projects to smallish businesses premised on leveraging functionality built by the large WP community.

That said, even though I could do projects in other systems:

I am usually working with agencies/consultancies who _want_ WP because,

it is super easy to find folks who can work with WP on some level,

their clients are familiar with WP,

and it is trivial to meet a bunch of marketing or CMS goals with it.

So while WP doesn't "suck the least" (I know of stuff I like better), it's still a good tool for a lot of reasons that have little to do with the code. For marketing objectives, you're going to have a hard time finding something objectively better for the total cost of ownership (there are, of course, better eCommerce, community forum, and application systems).

And your position self-selects for a particular kind of client... you're probably not seeing the folks who are doing the $10K-100K projects I see, in which the server management isn't farmed out to a hosting company.
OpenBCI opens up low-cost brain-wave-controlled experimentation to everyone
What does power represent to you? Simplicity and readability offer power as far as I'm concerned.
Numerous App Store apps contain symlinks around the detached codesignature, most likely caused by changes over the years to the codesignature utility. Also in keeping with Xcode semantics, embedded frameworks often contain symlinks as well.
You can download an APK using http://apps.evozi.com/apk-downloader/, decompile and modify just as the article has said, and push to the Android SDK's emulator. I have done several analyses of apps using this method and a MITM proxy.

I'm sure there are additional techniques to obfuscate the private key, but relying on locked down devices isn't possible in the Android ecosystem. You don't need a device at all to perform the steps outlined in the article.
That is a library code, not something you would write (or try to understand) normally.
That's laughable. It may be true purely from a global economic perspective where life is measured in dollars, but in quality of life and social terms it's absolutely false.

India's middle class can typically own property and afford servants, and live a life that is far more pleasant than is available to those in poverty in the US.
Python: https://gist.github.com/amontalenti/8114383

Java: https://gist.github.com/amontalenti/8114359

Scala: https://gist.github.com/csoma/8115672

C++11: https://gist.github.com/csoma/8115693
Docker should be in this list for several reasons
I cannot upvote you enough. The way I usually put it is that if you're putting those blinders on, focusing just on you and your family, and living large, you're like a person a dinner who gets up, fetches the ice cream and cake, and starts eating out of the carton in front of everyone who's still on the salad. Yeah, in a sense you aren't hurting anybody, there's just something globally rude about it.
How the hell is my comment being down voted and not the parent?
Some people just need to find something bad on everything, no matter how good it is.

I had been in countries in Africa, and people there have smartphones, not the latest model, and not everyone, but the person who has shares his with other people when they need Internet. Not fiber quality but enough for sending a message to mom or knowing the price in the market of something you sell.

When I was a kid computers were expensive, they had 16 or 256 colors!! and 800x600 screen resolution was luxurious. People will save for getting one additional megabyte to memory, and networking computers were a pain in the *ss.

Now everybody has access to thousands of times more in their pocket, but... there must be something wrong about that.
Netflix sounds like an extremely well-managed company. Can anyone comment on the accuracy of what's in the slide deck? I'd be curious to know how it all works out.
I do live in London, and while it's expensive, I can't see how you could need £100k annually simply for accommodation. Unless you have a very large family to support too?
I work at a Perl based startup and we're writing new code and designing new systems all the time. There seems to be quite a few Perl shops in LA though most of them have been around for a long time.
These Robots Want to Wish You Happy Holidays
Same.

I also didn't see a clear sign in button, or understand from the description why I needed to sign in or what functionality that was going to add.

I also didn't see a way to direct the nice thing I was writing to a person.
What Nightmare Before Christmas can teach you about leadership
> How the hell does this lead to stereotyping an entire race?

It does not. It is just an anecdote, from three people I know, who were required to memorize stuff, and found their coding ability did not contribute much.

> Just so you know India and China have produced a large bulk of academics in computing science, across various educational institutions in North America and Europe.

Yes, I did.
Yeah, I think I largely agree with this.

A few years ago, my grandmother died and left me a healthy pile of money. Enough that I don't have to have a day job for several years yet, even if I hadn't invested a bunch of it.

I live alone in a two-bedroom apartment in a very walkable part of Seattle. I don't own a car, I don't have kids. I spend my days mostly drawing comics, without troubling myself much with deadlines, or whether they're "what the market wants" - I'm two years into a complex and ambitious comic about a lesbian robot lady with reality problems because it's a story I want to tell.

I have the freedom to do this instead of grinding out commissions, working as a minor cog in animation or games, or doing weird web-dev things in the intersection of "good artist, half-assed programmer". And I have this freedom because of money. I can afford to travel to several comic book conventions every year and make enough to at least cover my costs, and not stress when a new con turns out to have sales so shitty that I walk away from the last day to hit the beach instead.

It is fucking awesome and I really hope I can continue to enjoy this freedom for a very long time.
Post above yours also did principle/principal. The one no one seems to mix up is awful/offal.
After getting to this line - "after I left Netflix and began consulting..." - I couldn't help wondering whether or not the author was fired and whether this means there are significant portions of her advice that the current management of Netflix would disagree with.
Mobile devices are cheaper than PCs. One reason mobile ended the PC era is that the manufacturing economies of mobile devices are better than those for PCs.

In the long run they're actually more expensive. You don't change your PC every two years. Actually, if you don't play video games you don't even need to change it for five years or more. Most smartphone users I know change devices every 18 months.

Touch interfaces are friendlier than PC interfaces.

I see a lot of people who have developed mild RSI problems in their wrists from usage of mobile devices, especially tablets. In the PC we have a wonderful accessory which is the trackball. I prefer it 10x times more than dragging my whole hand over a hard surface. Give it another 10 years and we'd end up with a whole generation with severe health problems in their hands.
>>>> What makes you think the NSA's ineffectual dragnet would suddenly have been super effective if they had done "profiling"?

Because all of the warning signs were there in every case and and were still blatantly overlooked.

For example, in the Hasan case:

"Intelligence agencies learned that Hasan had contacts with an Islamist sympathetic to al Qaeda and relayed the information to law enforcement, but no action was taken, the report noted."

"The report said evidence of Hasan's "radicalization to violent Islamist extremism" was on display to his colleagues during his military medical training and he was referred to as a "ticking time bomb" by two of them."

For example in the Boston Bombings:

"Federal Bureau of Investigation officials ignored warnings about the radical origins and nature of the mosque frequented by the Tsarnaev brothers for years before this April’s deadly Boston Marathon bombings."

"After tough questioning by the highly perturbed Texas Republican Rep. Louie Gohmert, Mueller confessed that he had absolutely no idea the Tsarnaevs’ mosque was founded by Abdulrahman Alamoudi, who was convicted in 2004 of plotting with Libyan dictator Muammar Gaddafi to assassinate Saudi Crown Prince Abdullah Bin Abdul-Aziz."

In the case of Richard Reid, had he not been so inept, he would have been successful, and yes there were warning signs there too:

"The Government ignored specific warnings more than a year ago that Muslim extremists were infiltrating prisons and recruiting inmates, The Telegraph can reveal.

Jack Straw, the then Home Secretary, and Martin Narey, the director general of the Prison Service, were told by mainstream Muslim leaders that "bad practices" meant that untrained, radical imams could operate in prisons."

Richard Reid was recruited in jail, then sent to Pakistan and Afghanistan to train with Al Qaeda. He was also a member of a very radical mosque in North London.

As for the Holmes, Alexis and Lanza, you make a good point, but they could've been stopped had there been proper mental health resources in place to help these people. Holmes had clear mental health issues that have been well documented throughout his case. Alexis thought he was being controlled by ultra low frequency radio waves and the government was trying to control his mind. Lanza was said to have a personality disorder and had trouble socializing and didn't have any friends in school. You can blame the Lanza shooting on his mother for not keeping her guys locked up and controlled properly so they would be out of reach of her son.
Seagate to buy Xyratex to add test equipment business
Nope that's all I wrote. Keep up the good work!
Say something nice and be forced to login with Twitter.

Nice!
The entire basis of money is a Pareto Optimality, thus I would amend that statement to be "The real use of money is to buy freedom at someone else's expense."

Now it's also possibly that if we view money through the lens of a Nash equilibrium, that in the long term we are doing what is best for all of us by constantly seeking greater productivity. Therefore, "On a long enough time scale, the real use of money is to buy freedom for every one as money is traded with those that can achieve the greatest productivity." Money is the lubricant that permits the human machine to find the most efficient means of production.
Investing Time vs. Spending Time
> Nonsense. [blabla]

... which is exactly what I said in the next sentence, right? :-)

> but quite a few languages could learn a thing or two about the benefits of shipping features that are designed right from v1

Eh, could you mention a few things which were "designed right from v1"? I can only imagine enums, but what else?
Out of nearly-off-topic-curiosity, does this language have a website(page)? Was it new when you started your project? Have you been able to use libraries from other languages? Or is this really an island of 5 people? (Suddenly that sounds like Gilligan's island for devs)
I mean, an employee is satisfactory, but only satisfactory, so they give him a generous severance package and go hiring somebody else. Really?

Netflix wants a high-performance team. That means that "merely satisfactory" in a sleepy, less demanding company would make someone an outlier.

You have to cut the "merely adequate" 4s and 5s if there's no way to turn them into 7+; what you should do is do it humanely. Personally, I think that a 3-5 month severance is (a) not that expensive, in the grand scheme of things, and (b) by far superior to the morale toxicity of the traditional PIP-- especially when you're talking about a good-faith employee who did nothing wrong.
100-year-old Double Transposition Cipher Cracked
I was going to make the same comment, but:

- I then realise he's probably talking about buying rather than renting

- I read this report which claims that the median value of residential property in fancy parts of London (what the report calls 'Prime London') is 1m GBP, and the mean is about 1.4m GBP: http://www.marshandparsons.co.uk/news/research/item/1519-lon...
Switched On: The desktop dashboard, take two
I lived in rural Iowa for 4 years and currently live in inner-city southside Chicago. The contrast could not be more dramatic. It's not "comic-book" to describe certain neighborhoods like this. However, Iowans (and other midwesterners) are extremely sheltered from the lethal combination of drugs, no family structure, poor schools, etc.
1) I can purchase a fairly powerful computer for under $300. Finding an unsubsidized smartphone for that price is fairly hard (subsidized phones require credit checks, and people with poor credit can't get smartphone subsidies, and need to put down $1-200 in escrow in the event that they are unable to pay a month's bill).

2) What kind of mobile connectivity? WiFi is getting harder to find, as more and more APs lock down their connections for liability reasons. There's also the security risks with open WiFi APs. 4g is expensive, and with some pretty low data caps.

3) Depends on what you grew up with. The only thing touch replaces is the mouse, and if you grew up with a mouse, it can take a bit to learn all of the "natural" gestures that tablets expect.

To summarize, I'm paying about $140 a month for my and my wife's "cheap" smartphones, with a $200 up front payment and a 2 year contract. The computer I'm typing this on, on the other hand, costs me $40 a month for fiber, with a $200 up front payment (chromebook).

Mobile certainly isn't cheaper, at least for me, and I'm in a comfortable place with my finances.
This trope is so tired. Yes, I live better than a medieval peasant, and I have access to more computing power than ever. Yet, the standard of living across my entire family and most people I know is blatantly lower, in terms of human basics like housing and togetherness, than in my grandparents time, despite the fact that my grandparents were factory workers without even high school educations, and I am an experienced software engineer.
LinkedIn sets sights on recruitment trade
I have to confess that my knowledge of the history of weapons is rudimentary, so I gladly accede to your point; my previous remark only concerned Soviet geopolitics as it stood in 1947 vs. 1920.
* they are openly stating they realize they were wrong in their original assumption*

You do not get it boss. He did not say he was wrong about assuming their social status, but he was in mistake for assuming they had better spend their money else where other than on a smartphone. For all we know he still looks at those people as "welfare moms."
> There would be a degree of closure.

There would be relentless questioning of him, his views and his motivations.
The cases you cite seem fundamentally different from the anti-gay laws under discussion. Copyright and patent laws, even if we look back and say they were stupid, we would still be able to point to the problems that they were designed to solve (of which they have solved somewhat), and view them as a reasonable attempt. Similarly, we would recognize that humans driving cars was okay not because of of a poor moral system, but rather because we had no better alternative.

I suspect that some of the areas we will look back on in a similar way are drug laws and sex laws (we still have prostitution, child porn, and statutory rape, all of which seem immoral only in a cultural sense).
What makes you think feminists support that model? They don't.
finally :D
Show HN: Have a startup idea but don't know how to code?
Does he still have control of the company or has his interest in it diluted to the point where he can no longer commit to the highest quality?
> Because at some point, down the road... can't we cross that bridge when we come to it?

No, and that's the problem. Nothing gets rewritten, it gets hacked on. PHP makes hacking on things, past a really low bar, really hard given what you get out of it. And the early benefit washes out pretty quick once you spend more than a couple days on a project. Setting up Play 2 (or Rails, or Django) is going to take me maybe five minutes longer than rolling up a project skeleton with Composer and I immediately start reaping the benefits of a sane environment. It's probably going to take me less time to be functional with any of the above than Symfony2, and I'm not inexperienced with it.

You pick your poison on day one. PHP's poison is bad for probably the 50% case, really bad for the 25% case, okay to good for the 10-25% case.

(Wordpress is not part of the last one. Neither is Drupal. I don't run either on any system I need to be able to trust. Even with FPM it's too much of a pain in the ass for the benefit I get from it.)
This is a a good illustration of how hard it can be to stay anonymous online.

With that being said, I don't see how Krebs reaches the conclusion that this guy "probably" knows who stole the Target cards or how they were stolen. They were just posted on his crappy carding forum.

It seems a bit disingenuous to me to plaster this person's dox under this headline; yes, he seems pretty scummy and runs several criminal enterprises but there's no actual evidence in the article linking him to the Target fraud beyond someone else using his forum to hawk their stolen goods.