skysight-inc/HackerNews huggingface dataset:
Assuming your question isn't merely rhetorical...

Functional testing is related, but it's not really the point of the article. In the context of the article, functional testing is actually one logical step above his Interactor—the functional test would end up effectively testing the interactor code (which includes all the model, etc code) plus the controller code to make sure the session is properly set (i.e. now that I'm logged in, was I properly redirected?). The latter is outside the context of the "business logic" of logging the user in.

The point of the article is in organizing the business logic of use cases into their own objects—"business logic" being defined, presumably, as anything non-web and non-persistence related. This is done in order to avoid the spaghetti that real world "thick model" applications tend to accrue; or similarly the spaghetti that some developers leave in controllers.

There have been a spate of articles on this topic in recent years. Service objects, interactors, DCI, etc, etc. One or more of them is probably good advice for large projects. :)
I think learning many different kinds of languages is important. The breadth of experience makes you a better programmer as a whole. During the trial and sampling of many languages you will fall in love with one. Stick with that one! Your job should be fun. Each person has different learning modalities and concepts they just "get" that are congruent with how they think so no one language is perfect for everyone.

But, why learn C? Learn C to broaden your experience and gain a marketable skill in the most popular programming language[1]. You don't have to become an expert in it but I think everyone should dabble in it a little bit!

1: TIOBE index, June 2012
I'm actually looking forward to running a v100 piece of software. I don't think I've ever seen software reach that monumental milestone, although I expect I will next year.

I wonder whether Firefox or Chrome will win the race.
Google Now wants to track your everything, always
No, home teams bat second and are always listed on the bottom. This is simply misaligned. They're in the top of the 9th so that dash under the 8th inning for the Clovers should be shifted to the right.
I really like the design of this- but it's such a contrast to the rest of Android.

Compare Google Now to Google Play- Google Play just sends me into convulsions.

Really hoping this design takes over Android, and ASAP.
A year too late.
"He told him that we could not share any non-public 3rd party contact information without the explicit consent of that 3rd party. Although this is much stricter than the strictest legal opinions we had – we had no choice but to abide."

So you reluctantly stopped stealing people's data? It's hard to have sympathy when you're complaining about Google protecting people's privacy!
I'm constantly frustrated by this. I use incognito browsing way too often. Then when I come across something by accident that I do want in my history (either for searching through history later or because chrome occasionally crashes), I have to copy the link over to a normal-browsing chrome window.
Sadly enough hardware manufacturers keep plastering their ugly skins on top of Android. The Android that most people will see is going to be an inconsistent mishmash of different designs.
I hope Dotcom comes out of this victorious and relaunches MegaUpload. It was the best free one-click hosting site out there - everything available at the moment sucks. Not to mention it would be a wonderful "fuck you" to the US government, abusing its global hegemony for personal purposes.
Ask HN: how do you manage many different passwords
Especially if you are an enthusiast who likes to try every dam new cool web app.
1) How often you reuse passwords and in which cases?
2) Do you use tools to manage passwords if yes, what are those?
3) Do you use some sort of personally composed pattern to generate new password or you pick new passwords randomly.
A day in the life of a rogue former WakeMate co-founder
0453 - Wake up to the smell of smoke and a burning sensation on my wrist ("oh shit, my WakeMate is on fire again...")

0500 - Stumble downstairs, rubbing my eyes. Feed Mr. Bigglesworth his cat food and make myself a 1/2 gallon of black coffee and a bowl of Wheaties.

0545 - Hammer out some unsolicited emails and take a look at my schedule for the day, then blast some Bon Jovi while brainstorming the name of my new product ("it's my liiiife...").

0700 - Ride my Vespa to work with Mr. Bigglesworth in a front pouch carrier.

0915 - It's launch day. Get everything all set to post it on Kickstarter, realize it violates their TOS, and post it on Indiegogo instead. Immediately post a link on HN, generously extending the YC-backed claims to my new venture.

1007 - More coffee.

1223 - Borrow the use of my former employer's twitter account to promote my product launch, and temporarily change the name to my own for clarity.

1336 - Reply to some comments on HN and Indiegogo, and browse LOLCats.

1551 - Call it a day, zip back home. Roll my own sushi for dinner (registers as good exercise on MiLife+!), and snuggle up with Mr. Bigglesworth for the season finale of The Bachelor.

Disclaimer: This is sarcasm. I have no affiliation with Wakemate and have never met any of the people involved. The last 24 hours sound like they have been rough for the Wakemate team -- just trying to lighten the mood. See the following for context:

[1] - MiLife+ announcement - http://news.ycombinator.com/item?id=4167436

[2] - WakeMate update - http://news.ycombinator.com/item?id=4168798

[3] - A day in the life of a startup founder - http://news.ycombinator.com/item?id=4166183
Agreed, visual examples of integrations would spice up article
I can't even discuss this, because there really isn't anything to be said. The Supreme Court is a joke, as far as I'm concerned. Nothing gives any "government" any authority to tell me what I must buy, regardless of what they, Congress, you, pg, my 7th grade Science teacher, or the sterno-bum at the corner of 9th and Main thinks.

I'm so far beyond angry right now that I'm not even capable of rational thought. "Seeing red" falls way short of describing my state right now.

I can't talk about this anymore. Have fun discussing this, folks. I need to get work done today and it's best for me to try as hard as I can to ignore this topic for a while.
I've used groovy in the past on grails projects but haven't adopted it more because its dynamically typed and slower than java. I have adopted scala as my main language however, since it can be used as a direct replacement for java.
I don't know if it's just that. Some of these stories have very high HN point values. So they normally would have made it. Maybe something else is going on.
Numbers.vim - better line numbers for vim
Google Now: hands-on with Jelly Bean's Siri competitor
"RA Manual: Notes on Writing Code" from two econ profs at Chicago
Same here. I find it absolutely astonishing that they don't tell you how to get it.
I had no idea how to get this. It wasn't even clear to me if this was an Android app or a web page. Especially from just looking at the pictures and without watching the video (which I am usually reluctant to do).

I wonder if they assumed it would be obvious to everyone or just didn't car.
The federal government would never abuse that though.
A Google hangout in the air: Project Glass
I see it as a downgraded version of Google Wave(robots & gadgets). ( or in long term extension of mail )
That's what I mean. Reactive flagging.
You can always tether from your companion ssmartphone. Or use Google maps's offline which were launched yesterday too.
Pages 16-30 covers Robert's decision fo the individual mandate - and it's a good one.

Upholding the mandate as a tax under congress's ability to tax, and not upholding it under the commerce clause (and basically saying the government is allowed to force citizens to buy things), is the entire crux of this issue for me.

Roberts should be praised for his prudence and pragmatism, because he was able to uphold the law to please the center left, while alleviating the fears of thinking conservatives like myself.
Of course, for most programmers(let alone people in general) this is nearly useless information today. It's obsolete. And that's good.

Damn right it's good--for me--that most programmers think low-level programming/machine knowledge is obsolete. I'm pretty certain it means I'll never want for a (good) job as long as I can still think and move enough to edit code.
Yeah, with a stylus of course, I was hoping this would be suitable for taking in class notes - a lot of writing equations and whatnot as oppose to typing with the on screen keyboard. The new iPad is $519 for cheapest one. :(
LastPass

Generate random passwords for every website, auto-fills/logins with a master-password, syncs to damn near every desktop device I have (haven't tried on mobile yet)
It's just a different style of working, but I almost never type long symbols. I go to their definition site, yank them into a buffer, and paste them into place.

Or, I work with a REPL. So I write the code there and run it before putting it into my code base, so I know it's correct.
Your personal data is not worth anywhere near what you think it's worth
UT Students Hack Commercial UAV
I don't see inclusion of 4G on any tablet devices as a plus. It drives up the cost slightly more and it has never really made sense for each device to have their own cellular connection.

Most people who buy tablets are likely to have a smartphone so it would seem more appropriate to have tethering and use that one connection for multiple devices.

I realize that's a personal choice, but I currently own an iPad 2, Kindle Fire, 2 Kindle Touches, and I just bought the Nexus 7. I'd rather pay for one connection and tether all those devices to that connection than each one have their own.
If it does relaunch, the constant publicity Kim and MU have been receiving will only help their numbers.
Viral Video Forces MTA To Repair Tripped-Up Subway Stairs

http://gothamist.com/2012/06/28/viral_video_forces_mta_to_re...
Yes, it could be, but it may be just a bit slower as there is no reload function in php.
Google’s Andy Rubin and Asus’ Jonney Shih on How They Cooked Up the Nexus 7
This is very much a split-the-baby decision. The Obama administration can claim that the act was upheld, and it was although it was narrowed in one specific case.

The opponents can claim a clear victory because a majority held that the individual mandate was outside Congress's commerce power. The act was upheld on a narrow majority on the basis of the taxing power instead. This means they can never impose criminal or even civil sanctions for not buying health insurance (and it isn't clear to me if the floor to the penalty is Constitutional under this reading).

The states also came out as clear winners. The court held, 7-2, that states cannot be compelled to join the new program by threatening them with loss of their entire Medicaid funds. In other words, if a state wants to opt out of the expansion because they don't want to pay administration costs, of if they no longer want to participate in SCHIP, DHHS can only deny them the funds for that program, not all of Medicaid. Every major expansion that is reasonably separable now is a separate program. This is a big defeat for the federal government here and a big win for the states.

The line-up on the Medicaid issue surprised me. If it were to be 7-2, I would have expected Breyer and Ginsberg to be the dissenters, but instead it was Ginsberg and Sotomayor. That Breyer sided for states rights here is one of the greatest surprises I have seen in recent years.

tl; dr: The act is upheld, but the court has struck a couple of significant blows to federal power and we haven't by any means heard the end of this.
From talking to other people about it (and also from the only one other comment in this thread that goes "right on, I thought I was going crazy") I'm thinking it might be a limited rollout so far... a lot of people seem to have no idea what I'm talking about, but how could you miss it when your newsfeed suddenly starts acquiring a bunch of stories posted by random jerks you've never heard of?
Top Places to See Lions in Africa
Houses for Sale Fort Carson
Houses for Sale Fort Carson: Looking House for Sale, You can find here Fountain Homes for Sale. It is not difficult to Purchase New Homes in Colorado Springs CO just Consult with our Professional Real Estate Advisor. Learn to Get Prequalified for a Home Loan. Fort Carson Housing Real Estate.
These giant losses may be by design, or at least allowed to happen. It'll be interesting to see how fat Dimon's bonus is, for successfully exiting this money-losing trade. It used to be good to be king, now it's better to be "too big to fail".
Doesn't everyone do this? It's just good OO.

Although I question demonstrating the principle with a login given that those tokens are usually application specific and little to do with business rules.
That's not how it works. Instead, Crelm toothpaste will note that you've liked them and forevermore your friends will get stories posted directly by Crelm toothpaste with the heading

Jerf likes Crelm Toothpaste
[blah blah blah a big picture depicting how wonderful Crelm toothpaste is]
You really liked MegaUpload better than Dropbox?

I remembered it as being covered in adverts with long waiting times, capped speeds, no parallel downloads from the same IP address, etc.
But Facebook offers comprehensive controls that let you decide who appears on your news feed and who does not. You just need to use them.
This is good news for Flash, but it does make me sad. Not because it means Flash will continue to be around, but because I really don't like Chrome on Linux.

Don't get me wrong, I love Chrome. I use it on Windows all the time. But Linux has this little niggle I can't stand with default browser behavior: Firefox calls it "browser.urlbar.clickSelectsAll". And Firefox allows you to change that to true or false.

I'm not often changing small bits of a URL; when I click the URL bar it's for the specific intent of removing what is there and replacing it with something completely different. I understand the arguments for both use cases. Firefox does as well. The Chrome developers don't. In searching their bug tracker, you find the Chrome guys don't consider this a bug [1] (it's really not) but worse yet, don't plan on having the option to change this behavior. That's poor customer service, and inconsistent with Chrome on Windows. When I switch between OSes as often as I do, the last thing I want to worry about is how my browser will behave on this machine vs that one.

So now if/when I want to use Flash, I have to switch from Firefox to Chrome. When I'm done using Flash, I have to switch back. Google, please... please don't tell me about your keyboard shortcuts, don't tell me to click three times, don't tell me to click and drag... if you're making me use your browser, let me use it the way I want to. The way it works on Windows or even in Firefox.

[1] https://code.google.com/p/chromium/issues/detail?id=26140
Has some good points, but I think many get the wrong idea about facebook. It's a way to keep in touch with far off friends who you wouldn't hear from at all otherwise. It's never affected a real relationship for me in the slightest, other than, "I saw your pics." The news feed could be better, but it has become more relevant since I've silenced a few overposters and blocked apps, etc.
You can't turn off the journal unless you are happy to lose data in which case don't bother with a database. See section 1.3 of http://www.sqlite.org/howtocorrupt.html
In Canada, raw data (such as telephone book listings) are not copyrightable[0]. The graphics and layout of the phone book pages are, but the data is not.

[0] http://www.lmlaw.ca/copyright_raw_data.pdf
My Granny is a Programmer
No. Adobe has stopped supporting Flash for Linux. Google has announced that they continue to maintain Flash for Linux, but only for Chrome. Google has been bundling Flash with Chrome for a while, so this announcement is simply that Google won't stop doing what they've already been doing.
Caveat emptor.com
Heh. Meaty fingers and no coffee make HN cell phone posts a rough time.
Yep, complaining that this is a bad replacement for the scroll wheel is missing the point entirely.
Barclays trader emails reveal extent of LIBOR manipulation
To be fair the cost of burning 1 million dollars is only the cost to print and transport the money.

Assuming it only costs 10c to print a $20 bill then the cost to society of the act was a meagre $5000. I imagine the entertainment value provided would been worth more than $5000. Thus the act could have been a net gain for society.

The other $995,000 would have been redistributed through-out the money supply in the form of deflation.
Which bit? Be able to do lists and a flexible schema would have to be part of the core.

Being able to do synchronization can be done outside of the core, but is fiddly and error prone. It is far better done as a fundamental part of the database.
A Primer on Big Data, Hadoop and "In-memory" Data Clouds
Yanis Varoufakis, who left Greece and we now know him here as Valve Software's economist-in-residence, gave a good explanation what austerity will mean for Greece. Not to mention where the German taxpayers' money is really going. (http://www.leftbusinessobserver.com/Radio.html#S120621)
This irritated the fuck out of me, I wish they'd explain what the hell it is.

Turns out, it's what happens if you swipe from the bottom up in Android 4.1 Jelly Bean, but I think it might be a broader thing (I can imagine it works with glasses).
Greece has, at various points, implicitly and explicitly, threatened to default on its borrowings.

So why should any lender with half a brain want to throw more money into the fire unless there are strings attached?

I don't understand the dichotomy. In the mortgage crisis in the US, we ask, "Why did the banks keep lending to these people who couldn't afford to pay it back?!?" Yet, in the case of Greece, we're angry at the lenders for not lending more and more.

Tell me, are you lending to Greece? Have you loaded up on Greek bonds? They're paying something like 25%! Great return! Unless, of course, you don't think you'll ever see your money...
What specific parts of PCI-DSS do they cover?
Rebase gives people who have not fully embraced the DAG nature of DVCS warm fuzzies because it lets them keep their history "clean". I think rebase is typically a terrible idea because it invalidates any testing (or even basic sanity checking) that you do when you make commits. Once you rebase, your commits are no longer the same and therefore your previous testing is invalid.
This feels like its aimed at Siri, and if so I feel it misunderstands Siri's value. I don't want pushed content. I want light content that is pulled with my personal, minimal, request and without fuss.

This is random content covered in fuss. I'll completely leave any real judgement until its release, but I can't help but wonder how long until I can "sponsor" a local card?

Also, Google needs to pair down its services. Releases like these were once major announcements, but they're no longer covered because everyone knows Google's lack of focus may kill a service in a short time. These blanket services have really begun to overlap and I almost need a comparison chart of them just for Google's offerings.
There is no such thing as Native Client Flash. PPAPI ("Pepper") is a replacement of the venerable NPAPI plugin API.
I have ~60 contacts and I don't suffer from that effect. Doesn't mean I don't believe you though, as I know I made sure to force everyone's updates.
Many of the complaints could be resolved with more transparency on Facebook's part. The frustrations seem to be generally focused on managing communication: incoming and outgoing, an issue of curation.

The problem is, despite Facebook having many tools to calibrate one's communications, Facebook is still a blackbox. We click the appropriate Account Settings radio button and like the good scientists we are, wait to see what happens. The fact of the matter is, we are pulling a lever and hoping it is attached to some mechanism on the other side.

The same is true of Google and SEO.

Odd that obfuscation is the hallmark of our internet experiences.
It's an item, an instance. Because they're all different types of thing Google couldn't call them 'appointment' or something like that so they've called them cards.

Watch the video, they show what a card is at the 20 sec mark.
You do realize that if people like Kim Dotcom ... is that really his name? Fuck him, apparently his name is Kim Schmitz and I don't care what stupid name he changed his name to.

Wait, sorry, I got distracted, let me start my paragraph again.

You do realize that if people like Kim Schmitz win their legal cases it'll just mean a massive push to change the law? If current laws aren't good enough to stamp out things like MegaUpload (which, let's face it, is a massive scale piracy site which exists to make money off other people's IP) then the laws will be changed until they can.
The decision is actually quite interesting and it didn't come down the way a lot of folks thought it would.

1) The individual mandate is beyond Congress's commerce clause authority (5-4) and is only upheld as an income tax like social security (5-4, but only one vote in common with the commerce clause side). I don;t know if this makes the floor unconstitutional, and indeed I would suspect it might. This weakens the law in ways that a lot of people might not expect, and it also deeply constrains Congress's power to do things like this in the future.

2) The states won regarding Medicaid. They got, quite frankly, more than they asked for, even though the court did not invalidate the provision. The court (7-2) said that Congress could require use participation in new programs. This means that states can opt out of the new Medicaid expansion and, arguably other past Medicaid expansions, like SCHIP, and the Federal Government doesn't have a lot they can do about it.

I don't like the mandate. I think it's a bad idea, deeply misguided, etc. I don't see anything coming out of Congress that wouldn't make a broken system even worse, regardless of party. But if a decision was going to uphold it, this isn't such a bad one.
Now that Facebook is going downhill (for me at least) I'm again actually contemplating the idea of getting a TV.
Secrets of Flight Attendants
A Big List of Startups Disrupting Real Estate
Do you really need a plugin for this?

If you want relative numbers to appear when in normal mode, and absolute line numbers to appear otherwise (e.g., when the window has lost focus), just throw this in your .vimrc:

set rnu
au InsertEnter * :set nu
au InsertLeave * :set rnu
au FocusLost * :set nu
au FocusGained * :set rnu

Here's a gist for posterity. Feel free to fork it, leave comments on what should be changed, etc. The above has worked for me on Mac OS X for years, but there's a chance I didn't set it up the "right way". Leave comments on this gist and I'll update as necessary:

https://gist.github.com/3012145
If I have a patent on X, that means I can charge you money to make X.

Suppose X is sandwiches. If I'm allowed to charge anyone who makes sandwiches, yes, my patent is worth lots of money. It's not "worthless" in that sense. It's worthless in the societal sense: allowing my monopoly provides no value to society.

Nobody thinks you can't make money from software patents. Some people think software patents do not provide value to society by encouraging innovation, which is the stated legal intention of intellectual property law.