skysight-inc/HackerNews huggingface dataset:
<I>This isn't possible. A person can either spend money or store money.</I>

This isn't quite accurate. You note later how markets work, but you're not seeing how much that's in tension with wealth concentration. At its furthest end, you simply have a private person in charge of a command economy. Look at countries considered "kleptocratic": most aren't klepto- anything, they literally possess most of the wealth and thereby direct development towards their families in a sort of feudal way. Most could probably forgo formal taxation altogether and my impression of compliance is that they essentially do.
You should be setting the TableView's `contentInset` and `scrollIndicatorInsets` properties, rather than adjusting the TableView's frame.

Convert the keyboard frame to the superview's coordinate system using `-convertRect:fromView:`, e.g. :

keyboardFrame = [tableView.superview convertRect:keyboardFrame
fromView:tableView.window];

The bottom inset is then simply the difference between the TableView's height and the keyboard's Y coordinate.

You would also set those properties and scroll to the selected row in the same animation block.
Is it still worth learning javascript?
I've been writing django apps for a few months, but i wanted to make stuff more like etherpad, google maps and mockingbird.

But if most people start moving to tablets over PCs, wouldn't they rather use a native app over some html5 wannabe?
If you'd like to help with the Firefox implementation, there's code and specs here https://wiki.mozilla.org/DevTools/Features/SourceMap
Per iOS standard design, only one ViewController is supposed to manage a full screen (iPhone) or region of a screen (iPad eg. split view controller). That's because you want to keep the view hierarchy pretty straightforward, instead of taking the view portions of other view controllers and inserting them as subviews of another VC. (Makes you feel dirty). Suggest watching the WWDC 2011 video on Customer Container VC's for an explanation.

Also it would be quite a bit of overkill and extra communication and code to back every table with a full blown view controller.
Do you know if Firefox is making progress, or is it stalled?
Thank you, unfortunately I dont know why but F1-F4 are not working, while F5,F6,F9 works. I'm using putty, dont know if this matters. When i press F1,F2,F3,F4 i got ~ on the shell
Free Indie Games not featured on TIGS / Indiegames: Orbital Snake [Ryan J. Bury]
I believe I started to try that method but ran into issues. Wasn't aware of the scrollIndicatorInsets though, so maybe that was the issue.

Would that method have any significant advantages? Less code? Would it avoid all the crazy frame calculations depending on the rotation?
I'm hoping that all that link love will push MDN up over w3schools in google search results. I always have to append MDN to my query terms to get the documentation I'm after. I'm never logged in to google, so I can't block all results from w3schools. It's a pity there aren't any per-browser (rather than per user) settings for to weigh search results differently.
edit: Fiddling a bit, it seems like blocking w3schools is a moving target.. I have to block www.w3sch.. wwww.w3scho.. wap.w3scho... etc.
In my opinion, they should've applied to GSoC for this too.
If you think w3schools is crap and the Open Web can do better, please join MDN and help build the best free and open Web documentation repository in the world. Already using MDN? Consider giving back by linking your standards articles to MDN or contributing docs or doc improvements. It's a big project, but so is the Open Web.
I was so inspired by this article that I actually went to the Apple store in San Francisco and purchased the iPad this evening. After spending a couple hours with it, I'm certainly impressed by the hardware, but I've already decided to return the device tomorrow.

It's a great couch device, but it's too heavy to carry with you. I don't carry a murse, and I'd rather sling a Macbook Air than this for the extra functionality.

Minor things include it running too hot, and the flip cover leaving striated streaks on the display. In my opinion, iOS doesn't scale properly at this size - there is too much white space between the icons on the home screen, for example, and I would prefer to see widgets to show more information without having to open an app.

Ultimately, whether you're happy with the iPad is how much you buy into the Apple cloud versus the Google cloud.

In all truth, there is very little difference between the iPad 2 and the iPad HD. If you squint and peer very close to the screen you can see how high quality the screen is, but looking at the device from where it rests in your hands it's almost impossible to tell the difference.
https://wiki.mozilla.org/DevTools/Features/SourceMap

It's reached a demoable state, but is not complete and can't be landed: it was worked on by an intern and the intern has now gone back to life.
Ah, and after re-reading your question. Yes this was a design decision, but I've had to use this same bit within a detail controller inside a split view when I've had more than one table view.

The reasoning here was that search results aren't going to come up that often, so we wanted the results out of the way most of the time to make a cleaner interface.
I've used JPlayer as a cross-browser audio player in a small project (https://github.com/lpinca/binb).
The javascript APIs are very well made.
Features NO ONE NOTICED in Visual Studio 11 Express Beta for Web
I appreciate you're probably referring to /r/Programming or a similar sub but in my own, non CS educated, non Developer opinion, HN can be quite intimidating if you don't thoroughly understand technology and all its various intricacies. The primary reason for this being the instantly observable fact that 98% of those who contribute in the discussions blatantly know what they are talking about.

/r/Programming has a lot of 'average' content that's easily understandable and the prevalence of memes and off-topic humour on Reddit significantly lowers the barrier to entry.
Can't some code screen scrape instagram and then get the picture data that way? I screen scrape using firefox using zc.testbrowser libraries but there's libraries where you don't need a browser. hacking that together in curl or even mechanize would be insane w/ php or python because its so much javascript.

I'm sure instagram wouldn't want you logging in with somebodies account and it would come from your server ip unless you have the scripts use proxies to get the data. If you use fb to login you would run into roadblocking accounts plus asking for a fb pw is stuff that only apps like spotify can get away with.
Celebrate Earth Day with Passion to protect it for future generations
> Actually it's one of the best things to do in software

Depends on your target audience - easy to learn doesn't necessarily mean usable. It's absolutely a good target for dealing with most people, but if your target is expert users it's not necessarily a good idea. Despite noises about linux for the average user, in reality it's a system designed by expert users for expert users - and for those users it is highly usable.

Autocad is a highly usable system to its target audience, but stick a beginner in front of it, and they'll not have a clue to do.
Do SourceMaps allow you to debug CoffeeScript in Chrome and if so what exactly do you do?
Jolicloud Me Review: Your Very Own Personal Cloud
An other option would be to use DDG as your browser's (default) search engine and using bang-searches (`!mdn Array` in DDG will automatically redirect to MDN's search), or adding some sort of prefix for mdn (e.g. `j foo` to look for "foo" in JavaScript ~ MDN)
That's something I always had problem with, and never had courage to ask about. Topics I find really, really interesting and valuable like [1] or [2] are closed because they're not constructive enough. A topic in which books for programmers got crowdsorted by importance is not constructive enough. It seems to me that every question that is not of the form very-specific-problem -> precise-answer is unwelcome there.

[1] - http://stackoverflow.com/questions/1711/what-is-the-single-m...

[2] "New Programming Jargon You Coined", seems to have been deleted since last time I checked - http://meta.stackoverflow.com/questions/122164/can-we-un-del....
I found it valuable not only because it was funny (which is, I believe, important in IT), but also because it exposed me to some tricks & techniquest I've never seen before, + provided me with some nice vocabulary, which can help me be closer with tech community worldwide.
What's great is how much of this tech is going to the open market. The foam that's being used for this is already on the open market. It's really an ideal model of how private research can help our society as a whole.
During the code review (see below) I found that you are actually resizing the table view to accomplish the effect. This is (in my opinion) not the right way to do it. Here is a suggestion:

Instead of adjusting the frame of the Table View simply work with the contentInset property. This is how UITableViewController does its job.

Short Code Review if you don't mind: (I only want to help - not to be a jerk)

Line 35:
Please remove your -init override. You are doing nothing there and if you want to have custom initialization use initWithCoder: and initWithFrame: instead of init

Line 61:
id (star)appDelegate = [[UIApplication sharedApplication] delegate];

Please remove the "(star)"

Line 64:
CGRect windowRect = appDelegate.window.bounds;

You are trying to get the window bounds. Why are you not using:
CGRect windowRect = self.window.bounds;

Line 73:
viewRectAbsolute = FixOriginRotation(viewRectAbsolute, orientation, windowRect.size.width, windowRect.size.height);

Are you aware of: CGRectGetHeight(…) and CGRectGetWidth(…)? I am not saying you should use these functions instead but you could consider using them. I like them very much:

viewRectAbsolute = FixOriginRotation(viewRectAbsolute, orientation, CGRectGetWidth(windowRect), CGRectGetHeight(windowRect));

Line 79:
int remainder = (viewRectAbsolute.origin.y + viewRectAbsolute.size.height + keyboardFrame.size.height) - windowRect.size.height;

Again: Consider the functions mentioned above. More importantly replace "int" with "NSInteger" - or even better with CGFloat.

Line 80:
if (remainder > 0 && !(remainder > frame.size.height + 50)) {

When using CGFloat you want to make sure to use 0.0 and 50.0.

Line 82:
float duration = [[userInfo objectForKey:UIKeyboardAnimationDurationUserInfoKey] doubleValue];

Why are you assigning the result of -doubleValue to a float?
Yes, `-convertRect:fromView:` replaces your frame calculations based on rotation.
How to hang a picture using n nails such that removing any k nails makes it fall
I disagree with the post.

"""The slope of this graph is the whole story. The complicated general purpose computers are at the bottom, and the simpler specialized computers are at the top."""

This is a terrible graph. The Mac has always been a premium niche computer. 28 years ago computing was in its infancy and computers were expensive, unnetworked with limited benefit to the average household.

Compare this the iPad / iPod Touch and iPhone. These are main stream devices that achieved immediate traction. It is unrealistic to compare Mac sales with those of main stream devices.

You then have the desktop market as a whole. If you compare any single company or brand of desktop against iPad sales, desktop sales would look in trouble. However, if you compare desktop sales to tablet sales it is clear that tablets are still only in their infancy.

BUT TABLETS ARE SELLING FASTER THAN DESKTOPS!

I don't know if this true but it doesn't matter and it doesn't say much about the state of desktops. Everyone has a computer, the market is saturated. No one has a tablet. It makes sense that tablet sales would rocket.

Buying tablets also make a lot of sense for people who just consume content. The fact is though that the iPad isn't great for productivity. It is far better for consuming content. This is what most people do.

However if you want to program, edit images, write a novel, maintain spreadsheets, make movies etc a desktop / laptop is what you need.

The PC isn't dead and it isn't dying. It has reached a point where people only buy replacements. Now yes, some people may switch perminantly to a tablet. Thats fine. For the forseeable future though there will be a large market of business and consumers who require more than a tablet can provide.

------

The article also touches on how great the new iPad screen is. I don't think its all that. I walked past the demo of 'the new iPad' twice before asking a sales guy to point to which one was 'the new iPad'. Yes, if you put the screen close to your face you see less pixelation on icons. For general web surfing though I saw no perceived difference. Hell, I don't really see any pixelation on my iPad2. Perhaps I am not holding it close enough to my face...
如何检查尖锐湿疣
Facebook Fan Page
A Facebook Fan Page is basically a webpage incorporated into Facebook that keeps track of how many fans that particular business has. It provides a business with a platform to promote itself and interact with its followers.
Zynga’s bid for Draw Something may top $200 million
I don't see how this could be useful - why would I drag a window outside of the viewable area?

If I do, it's probably because I want it easily accessible but not obstructing other windows, so these buttons would make it harder to drag it back.

For multiple monitors - the controls are dragged to the other monitor as well...
Thanks for the screencast!
I would love to debug coffescript with this.
I have to agree with one of the commenters over there, "phil." I feel like this makes those of us involved involved look silly. Good luck to you, I really mean that. All the best. But, I think the idea that we have to as phil said, "play the starving artist" thing is just too much, I think. Ramen noodles is one thing, but leaving out of your car in Palo Alto and renting a workspace. We all here respect PG, but all your links for your rationale are links just to his essays. It just seems a little like naive romanticism. Fine, whatever, but I don't want to see this trend continue or this expectation that many of the most skilled people in the World need to make their way to success by living as vagrants. All the best, though. Really.
Cool thanks! I'll look into those changes. I built this when I was learning iOS on the fly a year or so ago, so I'm sure things aren't all done in the absolute best fashion. I'll learn from your suggestions. Thanks!
Lisa Olson's Pregnancy Miracle Book Honest Review, read this before you buy it
What a stupid sports analogy. A websites success isnt defined in a literal zero sum game with a limited time boundary.
Perhaps our factories in the US need to take a hint from Foxconn. "Foxconn-run health centers right on campus" - sounds like a great way to reduce health-insurance costs by requiring your employees to take preventative care. Especially, with the high healthcare costs that manufacturing companies have to pay.
Ah yes. I see now that I totally missed the fact that the keyboard rect also needed to be converted. Well that was a painful point to miss!

Cool. I'll give that a whirl. Those rotation bits were a biatch. Thanks for the pointers.
:( That happens at Google often too. We are always happy when Summer-of-Code rolls around and we get interns again. :)
Online Video Production for  Internet Marketing
Online Video Production is able to provide a detailed insight of the product and raise the confidence level of the viewer in regards to the same.
"[...] and it doesn't explain why top contributors are more likely to leave than mediocre contributors."

Why, this one is easy to explain: because they can and because being a top contributor correlates strongly with caring about more than the paycheck. If you care about the quality and meaning of your work then working in a crappy organization hurts you more than the guy who just does not care.
Idaho Falls Sedation Dentistry
I think the mobile landscape right now with native apps on each platform's walled garden of an app store is temporary, and that eventually we'll move to cross-platform apps in HTML5 (or HTML5's successor) as HTML5 and support for it improves. Even today, a lot of "native" apps are just naitve shells around what are essentially web pages. Unless Apple takes 100% market share in the future, I think JavaScript will remain relevant as the de facto client-side language.
Orange is the eighth largest telecoms provider in the world today, Orange Review
currently serving over 189 million customers (with 17 million in the UK). Orange is currently investing heavily in their HSDPA network infrastructure. Currently Orange’s 2G network covers 99% of the UK and has outsourced their network to Nokia Siemens Networks.
PBKDF2 implementation in python
It allows you to debug any language that compiles to JavaScript, with the caveat that the language's compiler must output source-map compatible code (or the source must be run through some other program that somehow does it).

It's a pretty simple but extremely useful idea. To use your example, the CoffeeScript compiler knows exactly which bits of generated JavaScript correspond to exactly what bits of CoffeeScript code, so the compiler can output a mapping that says "these lines of JavaScript are the result of this line of CoffeeScript...so when you step through this CoffeeScript line, execute these X lines of JavaScript, if an error occurs in these X lines of JavaScript show there error as occurring on line Y of the CoffeeScript code.

I haven't done much front-end lately so I'm not sure what if any the CoffeeScript compiler has in terms of generating source maps, but if browsers are supporting it I imagine it won't be long if it's not here already.
I never understood how selling used digital games is illegal. It's certainly against the license agreement, but people have the right to sell their stuff and barter it, and game license keys are unique to each copy, which means they can be resold. Has anyone actually been found guilty of selling a "second hand" game, 'cause that's just ridiculous...
A pity your comment is so low on the list. This isn't even borderline illegal - at least here in South Africa, if you ask a question like this of me and I don't get the job, and I think it's because I mentioned my 10 kids in answering this question, I have pretty solid grounds to charge this as a unfair discriminatory question and seek recourse from the CCMA (the legal entity that deals with these sorts of issues in SA).
AFAIK, the CoffeeScript guys are working intensely on it. To some extent, any language which has accurate source position information in its parser/AST, and uses Closure Compiler on the backend can get source map output almost for free.
Keep in mind that there will always be a delay between when you've unalterably lost someone good and when that person actually leaves the company. Financial, social, mental, and professional inertia is a real thing. And a job is in many ways a relationship like a romantic relationship, like a marriage.

When is a marriage irretrievably broken? If you take the moment that the divorce actually happened and you rewind say, 1 day, it seems unlikely that you could get the couple to reconcile then if they were irreconcilable just the day after. And in all likelihood you'd have to go back years to get to a point where reconciliation would be possible, where one or the other of them had not made the decision in their heart, perhaps without even consciously being aware of it, that the relationship was over and on a denouement to eventual permanent separation.

The same dynamics apply to employment. If you rewind the clock one day or one year from the point of separation you probably cannot fundamentally change the glide slope that results in an exit from the company. And like marriage and divorce the "reasons" are probably not so simple, not down to one solitary action or cause. More likely it's due to an incompatibility of life goals, lack of mutual respect, failure to communicate openly with one another, and problems with basic chemistry.

I have seen employees (good, high-caliber talent) who are immensely passionate about their job and they keep throwing themselves into the maw of rejection that their local corporate culture exudes. They keep banging away trying to make things better. Nine times out of ten they get rejected outright, and the 10th time they get dragged over broken glass getting one little change made. That sort of thing wears on a person just as surely as fighting with a spouse drags on a person. And one day things just start to click a little differently and they see a future where they are no longer working at that company, and they don't hate the idea.
A Colossal Mistake of Historic Proportions: The “JOBS” bill
Motivating Monday: We Are Awesome
Http://www.gznxme.com/
Fair point... I suppose I prefer a uniform hit area size on the buttons throughout the UI. I probably have a bit of OCD :P.
I didn't mean to use time of publication as an indicator of quality, but instead to find out material which has more chances of being foundational (because it came before).
I think this post is PERFECT for HN. Because the people here are already the top 10% of developers, but I'd be willing to bet they have the most need for development in their management skills. Where can we get a HN for business people (who are rational, which is why I'd rather read this site any day)? I'd call it "Hustler News" btw
Met Office and CRU argue for open data and code
Will we see SuperDevMode in GWT 2.5?
Daniel Lemire: I review your paper for acknowledgementing me
Debugging GWT through the dev mode used to be slow and painful. The SourceMap will definitely make GWT development more cool.

Great move guys!
The correct answer: use passlib http://packages.python.org/passlib/
If Ubuntu is not Linux and therefore *NIX/Unix compliant, then what is it?
I don't understand why robomartin got downvoted. His comment is very valid.

You only need ONE case of this accident covered on TV to get the industry into serious problems. Electric cars are new, thus interesting for media, and will capture attention (read: scare people).

And people really don't care about statistics, they do care about what they see in TV. Unfortunately, news services break our perception of reality. See: http://en.wikipedia.org/wiki/Availability_heuristic. That's why people freak about shooting in schools when the chance that their child gets run over by a car is much, much higher. Or, [insert random post-9/11 paranoia] vs. cancer rates. Or, what Chernobyl and Fukushima did to public perception of otherwise safe nuclear power.
WebSockets in Windows 8 Consumer Preview and Server Beta, IE10
Isn't source mapping part of ES6?