skysight-inc/HackerNews huggingface dataset:
Someone needs to spell out the difference between "tests" vs. "testing", might as well be me. Tests are something you, a developer, or a test engineer writes. Really important. Testing is something that the dev, a test engineer, or someone off the street can do. That is the most important part towards making working software. Unit tests are important, but are in a vacuum. The only way you can look at your code in context is to have someone use it.

Lots of games (including ones I worked on) ship with hundreds of thousands or millions of lines of code and practically no unit tests (if any). According to this article, they shouldn't be working at all, let alone make billions of dollars. Do I think it's a best practice? No. But on those projects we had an army of QA to test builds and producers obsessed with their features to always be in there making sure that things worked. The most effective testing was "everyone play the game day" (or weekend). Only then can you find edge cases that unit tests can't. Dogfooding is another important take on this concept.

tl;dr: unit tests are important in their own right, but even 100% code coverage can't tell you if the thing as a whole works as the user expects. That's "testing" as opposed to "tests".
So hey HN, if we really are gonna go on a crusade against objectification and gender roles, why does it almost always have to be about women playing victim?

Any guy could whip up blog posts about daily situations where specific (not necessarily superior) roles are imposed upon them by society simply because they are men.

I get told all the time by the ladies (even if jokingly) that I should put on some weight so I am more of a man.

I get asked all the time and it is assumed of me even more times to carry the bags because I am the man in the situation.

Aren't there centuries old idea about being a "gentleman"? Where you are expected to hold the door for the woman, buy her stuff etc.

Aren't there studies that men are much less likely to report rape than women? Shouldn't that be much more appalling to all than some of the pettier examples posted on HN recently?
QWERTY Must Die, by Bryce
No magic shortcuts. It may seem cynical but please read Norvig's Learn to Program in 10 Years: http://norvig.com/21-days.html.
Actually, there was a time when you could get an IPS panel in a laptop. Sure, the dead-pixel threshold for warranty replacement was higher back then, but it was possible to get a 15" 1600x1200 laptop display that has better viewing angles than any current laptop display. The only thing about laptop displays that's improved since then is LED backlighting.
The WTFPL doesn't really need explaining. The terms of the license ("You just DO WHAT THE FUCK YOU WANT TO") are shorter than most licenses' summaries.
Try to make the screen all one color while your opponents do the same.
Here's a relevant question:

Were they hiring any male waitstaff to serve beverages? Or any women waitstaff over 40, for example?

I'm pretty sure they weren't doing either of those things.

Which makes it more than just a PR flub.

About overreactions -- well... these problems are so pervasive, and ignorance is so persistent, and under-reaction is so easily brushed aside, that it's very well worth it to make some noise.

Some people (not most) will change their behavior because they actually understand the problem and realize they're part of the cause. Other people are going to change their behavior because the femi-nazis will start a witch-hunt otherwise (damn, there seem to be more and more of them around!), and will feel that way about it until the day they die.

Either way: better than no change in behavior.
Interesting, they just mask listia.com's data for their example.
Silicon Valley taken for a ride by JOBS Act
SAI, former VentureBeat reporter here, few observations:

1) What is Buffer? If I don't know what the company does, I'm going to pass it off to the tips folder and it will probably die in obscurity.

2) The "saw the post you wrote yesterday" is not the approach you want. I cover social games — be aware that I cover social games and make it relevant to that. Reading my last three posts is not enough to tailor a pitch, because we write about a lot of things and they aren't all necessarily on our beat.

3) Seriously, introduce yourself. Don't do it with a pitch — let me know who you are and what you do. We do Q&As all the time with companies that have no news. You are 100x more likely to get published if I know who you are, what you do and why what you are doing is important.

4) How does this relate to normals? Most Twitter users don't actually Tweet. This is useful to me, but not necessarily my readers — who are of utmost importance to me.

5) Know the publication you are pitching. Blind pitching everyone is a waste of time — if you are a social game developer, go for Inside Social, GamesBeat, TechCrunch, etc. Fast Company is not going to listen to you.

6) We have to rush through literally hundreds of pitches each day. Just because we phrased something differently than you'd like, if it is still factually accurate, you're going to upset a reporter if you try to nitpick on wording. I once encountered a PR person that was yelling at me because I didn't call an online deals site a "mobile platform" and, instead, an "online deals site."

7) Also, we do want to know what you think. Entrepreneur and founder input is valuable in just about any story. If some big news happens — Steve Jobs resigns, for example — let us know what you think. When Jobs passed away, the first person I heard from was Box.net's Aaron Levie, who told me it was such a gargantuan loss and he was basically his idol and what made him want to become an entrepreneur. That, in of itself, is a story because Levie is running a company with a val of more than $500 million.

8) Don't be afraid to have a personal relationship with reporters — we aren't going to screw you, because blowing a relationship is worthless in this industry.

I'll add more as I think of it.
How To Attacke a Website with SQL Injection in 60 Seconds
Allowing cycles in your graph is confusing. If a user visits pages A -> B -> C -> A, what is the dropoff between A and B?
Written in Node.js, hosted on Amazon EC2, uses Socket.IO.
Indeed, this reminds me of all the OpenBSD discussions where Stallman tried to mark OpenBSD as a non-free operation system - fun fact: OpenBSD uses and suggests the ISC license, the most liberal of them all.

http://marc.info/?l=openbsd-misc&m=119750352332512&w...
Yes there is a lot of truth to this. But you'll need more than just "so and so in your area uses it." in the sense tho that there has to be a local connection, you're right. But like I said before, there has to be a good STORY behind the pitch for coverage.

National Tech news blogs are a little different. They're going to focus on products and services. Local news outlets want stories the readers will like. (after all, we're in the game to keep readers, which is the bread and butter for our advertising rates).

Edit, now if your idea has a local business angle, pitch it as a business story. Also, logical moron above has excellent advice. I wholeheartedly echo his point number 6, the one about phrasing (I think it was 6)
That's version is fine too :)
But, most FP languages have only recently started gaining real traction outside academia. There are some great tools written in e.g. Haskell: pandoc (a document converter), Hakyll (a static site generator), Darcs (version management), xmonad (an X11 window manager), git-annex, and multiple web frameworks (Yesod, Snap, Happstack).

In recent years, some important foundational libraries have been developed (bytestring, text, vector, repa, conduit/enumerator, etc.). I can imagine that it's pretty much the same in OCaml and F#.
What is this supposed to mean? Are you suggesting selling virtual items is illegal in some way? Perhaps you should tell Zynga and Valve about this.
The case against Google
Do you actually need an ornithopter? Why not just make it a powered glider (small pusher prop). The wing supports could be made of conductive materials, or infused with small wires, and the thing could just buzz along close to the wires. If you get it right, you could get more juice than you output, and when you get enough stored charge, just fly high and glide down, find updrafts, etc until power is low again and go buzzing some more.
Paper: Revisiting Network I/O APIs: The Netmap Framework
A very hood question indeed. Perhaps there's a touch of ostrich syndrome going around?
Debt Consolidation Canada,
Just cross the Atlantic, open a subsidiary in France. You will find there a lot of extremely qualified engineers for everything nuclear related.
In other words, they may have turned off 3,000 devices the day the Supreme Court issued its ruling, but they turned about 2,750 of them back on soon afterwards.

Truly Wild Wild West. Nothing will teach them that there need to stay under the law just like anyone else.

Mr. Meuller: why don't we go one step further; how about proposal to build safe and secure prisons and just simply lock everyone in??!! Won't that actually stop every possible crime from happening?? I mean: all the thefts, murders, rapes, it all can be avoid and stopped if you kindly please lock us all in!

also my other comment: http://news.ycombinator.com/item?id=3635602
Here in Massachusetts, the staties blow by you at 100MPH (and when people don't move over, sit on their tail and probably give them a good scare when they finally realize what's behind them). I generally see them coming from pretty far back (a car closing at ~25mph is pretty noticeable), move over, let them pass, then see how long I can follow. I figure that the cop must be following the law and going a safe speed for the conditions of the road, so I can use them as a benchmark for what is considered acceptable instead of having to rely on the purely advisory signs.

Funnily enough, the slow cops and coplike vehicles that bunch up traffic are usually the ones with the least jurisdiction and least likely to give out tickets. Town cops going one exit on a state road, inmate transfer, game wardens, etc. This could of course all be fixed by having speed limits that reflected society, and GPS tracking of cops to make sure they're not immune from the law. But more likely self driving cars will make the whole situation moot - I'd gladly save fuel and make a 2hr trip in 3hrs if I didn't have to waste my attention on the vehicle.
I'm just poking my head in here to sing Udacity's praises. Their CS-101 class is phenomenal; it is hands down the best intro to CS on the web. The fact that it's free is just icing on the cake. The 1 unit per week for 7 weeks pace is demanding -- and I think users would benefit from the doubling of the course length -- but the videos, professors, community, quiz frequency, and challenging homework make for one hell of a learning experience I've never seen before online.
Senate Passes Crowdfunding Bill 73-26 (With Protections)
The idiomatic solution to what?

Ember.js and other frameworks exist to provide a basic structure for heavy client-side applications. Namely, a way to separate your "models" from your "views", if that's something you think is worth doing in your application.

JavaScript is a language, not a framework, and thusly provides none of this structure. "Event-driven programming" and "CPS" are just idioms that can be used within JavaScript.

If you don't like the way the Ember framework is structured, that's fine! But you probably have a personal style that you use in your applications that could be distilled into some kind of framework, and there's more to it than "CPS".
One of the problems with Reddit in my experience is the spam filter. What happens is in the bigger subreddits (say, /r/pics or /r/funny) is that there seem to be people around who downvote stuff regardless of content, presumably to give their own posts a better chance. When your submissions consistently end up with -1 or -2 scores, the spam filter then decides that you are a spammer and you should be punished. Except in this case it's not for submitting spam, but because other people want their own submissions to have more visibility.

(As an aside, I obviously wouldn't be complaining about this if I had actually tried to spam reddit, my few submissions to date match the typical fare there)

Once the spam filter 'hates' you (as they put it) then subsequent submissions are 'ghosted' in the sense that you see them, but they don't appear in the /new section of the subreddit. Assuming you get wind of this (no downvotes, no comments, nothing) then you get to message the moderators, who may or may not respond in good time and restore your submission. By that time your obvious reaction is to delete and re-submit (because by now the post has drifted down the submission sort order), which apparently makes the spam filter hate you even more.

The problem I have with this is that by no fault of my own I ended up submitting things that were flagged as spam and hidden from view without any indication to me. You can see your posts, but no one else can. This might be a clever solution to deal with systemic spammers, but it's really annoying to normal users like me.

Karma games are fun and internet drama is lame of course; I don't lose sleep over this. But it's unfair to people who want to share something with the community. Of course you see reposts of lame memes that hit the front page and wonder why the picture of your cute hedgehog submitted in good faith ends up in the spam void.

There's supposed to be a user flag that tells the filter you're an approved submitter for a given subreddit; good luck getting that, I guess. So ultimately this makes me not want to submit anything. Right now reddit might not care about that because it has such a large user base, but I would remind them that Slashdot and Digg also thought they were invincible once.
I wrote about the design side of CodeYear on my blog: http://sachagreif.com/how-i-designed-codeyear-com-in-1-hour/
It's a neat trick but I'd need to see benchmarks that prove this is beneficial.

Natively sure, but through the overhead of a reverse-proxy? Hmm.
To recap, this is the thread that was removed: http://news.ycombinator.com/item?id=3739913
This is going to be interesting.

Anybody selling "virtual items" will have a cost basis of "0" if self created, so everything is "profit" in the IRS' eyes.

If Blizzard is collecting the payments they are obligated to track those transactions and report anybody that hits the minimum 1099 threshold.

If you're in CA and sell to somebody in CA will you have to pay the state board of equalization too for sales tax?

Very curious to see how this is all addressed.
That's not really true. I bought a i7 2600k over a year ago and no better CPU has come out and it's price is virtually unchanged. So while waiting less than 3 months for the next Intel CPU is probably worth it, last year I knew I would have to wait a year or more for something better so there was little point in waiting.

PS: I bought a GTX 680 today I don't expect to see a 200W GPU that's much better for at least a year and a due to the die shrink a significant upgrade is probably 2 years away.
I'm very happy and satisfied with my current development kits and methodology. I use no framework and don't write any classes.

http://en.wikipedia.org/wiki/Functional_programming
Idea sharing website
US Army’s CECOM Data leaked by Hacker
I was expecting that DMV is shown as special result on top - something like "are you searching for DMV office next to your location?" ...

But you explained the core of the problem.
There are two kinds of searches:

1) discovery of information

2) finding information I probably know but I'm just too lazy to go that site directly (or something in that sense)

The first kind of search is what made Google the most popular search engine. The second kind of search is something new for Google and it seems it is implemented as a unsophisticated simplification of the complex problem. It is like AOL search all over again.
Also there is a wiki page which compares various open source licenses:
http://en.wikipedia.org/wiki/Comparison_of_free_and_open_sou...
>some projects cannot be done as day jobs
>OS kernels

It's funny you mention that one: My day job for a number of years to was to do linux kernel drivers and other patches.

The fact that Linus didn't work fulltime on Linux seems to contradict your assertion that some projects require full time workers.
Storing 25 petabytes of Megaupload data costs us $9,000 a day
We agree - it's about putting the time into learning. We're trying to make it easier to get started on the path.
The world would be a better place if people spent less time being offended.
Terrific ideas. Can you cite any historical examples of when these strategies have succeeded? I'd hate to think you were just regurgitating neocon warmonger authoritarian dogma.
> "if a group of people that follows the meme of pacifism is systematically harassed, I'd think it would eventually be assimilated by the other group doing the harassing."

History shows that "running away" and other isolation strategies have allowed at least some groups of pacifists to persist through several centuries. Harassment seems to actually strengthen the idea of pacifism within many of these groups.

It may not be viable on a large scale. But that ties in to my earlier point: a viable strategy for survival is not the ultimate goal. Or, at least, it's not a universally agreed upon primary goal. We're not so special that our survival must necessarily trump everything else. Neither Ender nor anyone else in the book series seems to give serious consideration to the idea that maybe it's better to die than to kill. Again, I'm not arguing that everyone should agree to this philosophy, I'm just saying the failure to give it even token consideration comes off as a bit shallow.
Because it's internet drama that doesn't matter. Someone posted a video, someone got offended, twitter flame war ensues.

This continuing to be news would require that every time a godaddy ad is shown that we need 8 articles about it. If you don't like how godaddy advertises simply don't buy their product.
http://www.trouw.nl/tr/nl/5133/Media-technologie/article/det...

Google Translate should do a decent job ;).

By the way, the real name of the guy is 'Floris Kaayk'.
However the "expert" was an expert on ads not engineering. Which perhaps qualifies him to assess viral video but not physics.
Micropayments that actually work.
That reminded me of this - http://lesswrong.com/lw/kr/an_alien_god/
>> These new smartphones will be slimmer, sleeker and more capable than anything on the market today...

I have a year-and-a-half old iPhone. It has a great camera, a great screen (the first "Retina" screen), and it is plenty fast and the battery lasts about 36 hours with normal use. All of the new features in newer phones are marginal improvements over my current phone; the newest android phones are not leaps and bounds greater than the previous generation. They are ~20% better, maybe?

The point is, this guy is probably just obsessed with having the latest and greatest, even if it's only slightly better than phone he bought 3-6 months earlier. Most people probably aren't that crazy about technology, and don't have the resources to buy a phone more than once every two years.
I am very interested in how this will all play out.

Personally, I think the auction house real money economy is going to be huge. If the trading that went on in Diablo 2 is any indicator:

- people in low wage countries will easily be able to live of the auction house without necessarily having to work for a gold farm.

- hardcore gamers are likely to be dissatisfied with high level content so easily available, but then again, they may take to turning a profit on hard to get stuff.

- casual gamers with jobs will get the maximum amount of fun out of their hour of gaming a day. For a small price at least.

These are incentives for 3 different demographics, 2 of which are highly desirable for Blizzard.
I'm not a lawyer, but my guess is that if you could get a request like this in writing, the right lawyer would be able to get you a hefty settlement under existing law. Just guessing, but I'd be surprised if it's legal to ask prospective employees to engage in unlawful activities as a condition of employment. As mentioned before, sharing your Facebook password is illegal.
Russian 'spy rock' was genuine, former chief of staff admits
Not mistakenly: it's in Accelerando - see the first comment.
How to get an internship?
I'm a high school student in the Baltimore/DC area and I'm interested in getting an internship and I'm interested in getting an internship at a web company or related field next September when I can get a driver's license.

What strategies should I use to increase my changes of getting an internship, since most internships in these fields officially state that they are limited to college students.

How should I get my name out there, which skills should I advertise? I'm unwilling to accept a dead-end unpaid internship, but I'm fine taking that will either provide me with good connections or other opportunities.
Crowdfunding passed in the Senate and here's what they changed
Well, reinventing wheels once more under BSD license seems to solve this problem (e.g. clang, FreeBSD, PostgreSQL...)

There was a first wave of free software, now comes the second one; "even more free software".
Addictive for about 40 seconds. I was like "GO GREEN! GREEN! GREEN! GREEEEEEEEEEEEEEEEEN!!!!" and then realized it was futile. Neat though!
>GPS ruling is "hard" on the FBI

This isn't possibly the most cogent or well thought out response in the world but:

Good.

What's bad for the big brother wannabees is almost certainly a win for the common man.
Some further analysis, and a theory that it's a viral marketing campaign for Kid Icarus.

http://metabunk.org/threads/480-Debunked-Human-Birdwings
Human bird winds project Jarno Smeets on Dutch TV said it's fake.
Video is here: http://www.youtube.com/watch?v=OESwdRb48jM
I did a Google search for "dmv". The first result, an ad, is for Florida, where I live. The next three non-ad based results are for California, Virginia and New York. The fourth (and on) non-ad results are for Florida.

A Google search for "florida dmv" returned Florida-based results.

What I am tired of seeing are Eames chair ads all over the place. Do one search for Eames chairs, and click on one paid result, and now all I see are Eames chair ads. Sigh.

At least it's a break from the casino school ads I was getting.
Yes. libjpeg can generate scaled previews faster than decoding the whole image. Maybe that's why Apple didn't bother to implement this for png images.
in no way a contradiction of anything, or a statement of what is correct in the workplace just an observation on human relations as it relates to this topic:

A.) Women would not like to be treated by men as men treat other men in the workplace. You might think so, but I think you'd find it is also inappropriate, just in different ways.

B.) Men would not like to be treated as women often treat other women in the workplace. You might think so, but I think you'd find it is also inappropriate, just in different ways.

which leads me to:

C.) It is difficult for either gender to rigorously define appropriate asexual behavior towards one another, as their behavior is (generally) genuinely sex-aware.
Codeception - BDD-style PHP testing.
I thought thorium was the frontier in nuclear reactors.
Well that was a rather specious mansplaination
Senate passes small business investment bill
@silvart19, I was talking about EmberJS' bindings. That's what makes Ember apps crappy. For the mention of MVC, you don't need to use a framework that forces you to live in North Korea.
It was just a matter of time before someone stopped using a mouse and started some scripts.