skysight-inc/HackerNews huggingface dataset:
Here are some previous submissions:

https://news.ycombinator.com/item?id=5438166 <- With screenshots

https://news.ycombinator.com/item?id=5439618

https://news.ycombinator.com/item?id=5446653

https://news.ycombinator.com/item?id=5448674 <- With pointer to creator's blog

https://news.ycombinator.com/item?id=5450823

https://news.ycombinator.com/item?id=5510507

https://news.ycombinator.com/item?id=5542479 <- Most comments

https://news.ycombinator.com/item?id=5555774
Here's the haphazard way I'm using this stuff these days:

1. Non-view controller views. These typically go in nibs. Custom tableview cells, tableview headers used across multiple views, custom buttons, nibs are all fine for this. (And the UITableView API accepts nibs for setting up reusable cells.)

You can certainly do custom tableview cells in Storyboards, but it's weird because I don't know how you can re-use those cells across multiple tableviews.

2. View Controllers. These I'm often using Storyboards to build. Since they're great for static tableviews, Storyboards end up having a decent chunk of stuff built in them lately. It can be nice to look at two views side by side. I seem to be grouping related view controllers together in single storyboards.

Nibs have performance penalties if they're packed down with too many objects, as every single one has to be loaded into memory. My understanding with Storyboards is that they don't have this drawback, so that's helpful.
Except that LISH passwords were plaintext...
Gameloft Releases Dungeon Hunter 4 in the Google Play Store
wow, you sound like a real charmer.
That's a good point, but it helps explain, rather than invalidates, the comparison.

Apple DOES make more per machine sold than Dell does. Part of that difference is the fact that its price includes an OS.
I've been a Cocoa developer for close to a decade now, and I've gone back and forth on this many times, but by now I've settled 100% in the nibs-are-evil camps. There are several reasons for that:

- Nibs are a nightmare when working with version control and merge tools. Now, at least, they are XML instead of a proprietary binary format, but it's still a joke…

- Auto-layout in IB is provably the worst GUI I have ever used. It's completely impossible to make it do what you actually indent. I was one of the guys cheering and wooing in the audience when it was announced at WWDC 2011, but it's proven to be a huge flop.

- I have a similar experience with storyboards.

- Having classes that may be instantiated both from code or from NIB deserialization adds a layer of complexity and messiness to your app.

- Ultimately laying out your views in code doing some simple arithmetic is easier to reason about and more likely to do what you expect. (People have no problem doing it to lay out websites with CSS–it's not that complicated.)

At the end of the day, nibs make it a little easier to get started (like using Ruby on Rails, and the Active* set of libraries), but it does not belong in a serious project, as it would add a prohibitive amount of technical debt.
I recently evaluated mockup apps (from Balsamiq to Moqups to Mockingbird to Axure) for a new project of ours, and nothing I found gave me what I needed—which was the ability to mock up interactivity in a predictable, easy, and non-tedious way.

I made my own library instead to simply control state in an HTML page using simple, logical class names and IDs. This, combined with Bootstrap, made an HTML mockup a very fast and easy way to do exactly what we needed.

Is there some new feature in Moqups that helps with interactive state such as this? Or do you have any suggestions on what the "best practice" for interactive UI mockups should be?

Or is this something people don't usually do? Is it seen as "too realistic" or unuseful? So far we've found the interactive mockup invaluable in honing generic UIs and determining which direction to go, so I can't believe it's so difficult in most tools to control and easily switch component states.
Introduction to DUST - the Mac tool for C64 development
The problem is it isn't.
Do you have statistics showing that it's more deadly to fly post-9/11 than it was before? Are more airliners crashing now?
5 Things Keeping Second Screen Apps From the Masses
I wasn't suggesting anything's wrong with it. Certainly the creator of Bootstrap has liberty to copy himself. I guess I'm just a little surprised he didn't want to showcase his variety.
Sprint your $$ off No, really, if you want to lose weight back there...
Last 4 is all you need to wreak some serious havoc though. Service cancellations and whatnot...
It would do them well to look into connecting their stuff into Selenium Grid like saucelabs.com. I'm currently using appdriver[1] for android and appium[2] for iOS. Both communicate with SeleniumGrid which I find nice for parallel testing and the ability to use any modern computer language since Selenium's API is generally well supported across languages.

1.https://github.com/nicegraham/appdriver

2.https://github.com/appium/appium
It's not variable, it's fixed at 3.5% for 30 years. A "jumbo" loan has a higher interest rate than a conventional simply because of its high initial principal, making it a riskier proposition for the bank. What calculator are you using to calculate principal vs interest for a fixed rate loan? Remember, the lower the fixed interest rate, the higher % of principal you are paying at day 0.

The economics of buying vs renting has changed a great deal since I moved here. 5 years ago, buying was rather questionable. I took advantage of "cheap" rents to save up for buying a house when it finally became a buyer's market. Now rents have nearly doubled, but housing prices haven't gone up proportionately.
Why would they do that when the build a C# toolset for developing cross platform apps?

This is meant to expand the ability of MS developers to build cross platform apps. See it in that light and C# makes sense.
Don't trust random pastebins
What about:

A: What building do I need to go to?
B: The big one.
A: Which big one? I see a red one and a green one.
B: The red big building.
Quite relevant considering that no known terrorist organization actually obeys a distinction between "internal" and "external". You say "legitimate nation-state", they say, "bourgeois oppressive occupier". You say "reactionary fascist regime" they say "glorious liberator". You say "death", they say "glory".
I'm a little surprised by the striking similarities between Octocat and the "Octonauts" (www.octonauts.com) - a cartoon in the UK that my two kids are mad about.

I'm trusting that these copyright/design right concerns have been contemplated at least - not least because of the similarity in name as well as in design.

(See the google images link for a collection of octonauts: http://goo.gl/Xek21)
The problem I have is that everyone can rap the lean startup principles but when you ask who has successfully implemented lean startup, nobody says yes. How many people do you guys personally know that have successfully implemented lean startup?
While learning how to do this stuff in code is a good exercise, it's much better to do these things in IB when possible. Here's the same app done in IB:

http://dl.dropbox.com/u/1127246/Screenshots/op4t.png

This is it, that's the whole app (there is also an AppDelegate which I didn't even open and contains virtually no code). There are literally 3 lines of code written by me here (compared by 40-50 lines in the article). Everything else is generated/hooked up in the NIB by Interface Builder. This was done in about 2-3 minutes.

In fact, this code performs better than the one from the article, because it uses Auto Layout. So when you rotate the device, you get a desired outcome:

http://dl.dropbox.com/u/1127246/Screenshots/rulo.png

If you do the same with the app from the article, you'll see this:

http://dl.dropbox.com/u/1127246/Screenshots/sncv.png

And then you'll have to write another bunch of code in layoutSubviews method, or manually create struts and strings or constraints.
I defined [x _] to denote the size of the hole _ in the context x. By "size" I mean some measure of the width of the distribution of things that can sensibly fill the hole. One reasonable measure would be entropy. So, for example, we could say that [_] means the entropy of the distribution of things that could sensibly fill a hole in the empty context, which is to say start a new phrase. Similarly, [great _] denotes the entropy of the phrases that could sensibly follow "great". Does the notation make sense now?

Update: The * and - symbols are just the usual arithmetic operators applied to the sizes.
No one imgur'd a screenshot for posterity? If anyone left that tab open, post it...
100 Breath Meditation, 30 day challenge
Cuurently `en constracion`. Looks like your takedown worked.
What's your next startup?
The average real GDP growth rate for countries carrying a public debt-to-GDP ratio of over 90 percent is actually 2.2 percent, not -0.1 percent as [Reinhart-Rogoff claim].

That magnitude of error will bring up questions of intentional manipulation. Sure, I can understand a math error in your Excel table leading to a minor problem, but excluding post-World War 2 years seems like blatant manipulation.
Umm.... USA Today didn't 'cite' anything. They published a quote with a mention of Lake Wobegon, which be interpreted to mean the state of Minnesota.

http://en.wikipedia.org/wiki/Citation
Just checked: 1 view, playback duration 19 sec. That doesn't sound very promising. Fingers crossed tighter
I wonder if this sort of error is less common in 2007+ thanks to the addition of tables.
Is The Reinhart-Rogoff Result Based On A Simple Spreadsheet Error?

Oh my goodness, no. That's the least of it. They took all Commonwealth countries, found the periods where they had over 90% debt-to-GDP ratio, and EQUAL WEIGHTED them regardless of length or country.

I won't do a better job of explaining this than the article:
"U.K. has 19 years (1946-1964) above 90 percent debt-to-GDP with an average 2.4 percent growth rate. New Zealand has one year in their sample above 90 percent debt-to-GDP with a growth rate of -7.6. These two numbers, 2.4 and -7.6 percent, are given equal weight in the final calculation, as they average the countries equally."

Wow.
Why isn't Microsoft's Windows division included in "the entire PC industry" ? Or even Intel?
> learning the rules of a language isn't technically "required" in order to attain basic fluency with the language

I think that's all Evbn was talking about. Most people aren't Kobe Bryant; most people don't have any desired outcome with their language skills.
Devil's advocate: or is it employers that need interview coaching? If a candidate otherwise suited for the job (with necessary training, skills, aptitude, etc) is rejected on the basis of an interview, I would suggest it's a problem with the interview.

Unless, of course, there aren't enough jobs for qualified candidates, which is a different problem altogether and interview-training some candidates will only result in an arms-escalation without any benefit on the macro scale.
Hitler was not left.
> How would you know if a production app was using Storyboards?

Because just like NIBs, Storyboards exist as part of an app's resource bundle, which is easily viewable. It is usually fairly straightforward to examine an IPA from the store and determine whether it's using NIBs and the like.
"Given the incredible horsepower we have at hand as of yet, I just can't believe it's not possible."

I'm reminded of this line from near the beginning of the movie Primer:

"The rest of it is the mercury bath... which you wouId know better than I do, but they're probabIy just showing off. I mean, you have it, you got to use it, right?"
As usual, those who are in it for the cash ruin it for those of us who just want to build something cool.

Thanks for the extended explanation, I feel like I've learned more from this thread than the rest of HN this past week.
Oh. Hmm... well, the selenium framework is still very good. I still recommend they support it. But if their target costumers are only Microsoft stack devs then.... I have no comment.
What is Big Data?  Seriously?
Actually, American drone attacks have a pretty miserably bad civilian:militant casualty ratio. Not that anyone has ever achieved a ratio sufficient in a fight against terrorist/guerrilla enemies to satisfy the bleeding-heart types, even when it's actually less than 1.0 (that is, fewer civilians than militants are killed or injured).
With regards to the switch statement, I've read on stackoverflow[1] that function tables actually outperform switch statements when there's several cases. So I tend to avoid switches for performance critical routines.

It will be interesting to see how 1.1 performs in relation to this.

[1] http://stackoverflow.com/questions/9928221/table-of-function...
"Essentially, you can define a typed functional language without recursion (or recursive definitions). The only looping that you do allow is the use of eliminators over inductive data types."

Yes, but I said I don't see how you can check totality on an arbitrarily large function efficiently. If a total function has 65,537 cases to be checked, silicon is not the place to do it. If the silicon isn't checking it, then it's the compiler doing it anyhow.

The thing is, your processor may be arranged differently, even very differently, but on the whole it can't be doing more than modern processors are, or it will be slower than modern processors, in which case, why not just continue compiling onto them anyhow? History is full of "better" processors from various places that, by the time they came out, were already a factor of 3 or 4 (or more) slower than just running on x86.
At first I wasn't too sure about this approach, but if it worked for Super Tramp it should work for web project:

"In 1969 Stanley 'Sam' August Miesegaes, a Dutch millionaire, became disappointed with, then dropped, The Joint, the band he was financially supporting. He offered Swindon-born keyboardist Rick Davies, whose talent he felt had been "bogged down" by the group,[10] an opportunity to form his own band, again with Miesegaes's financial backing.[11] Davies assembled Roger Hodgson (bass and vocals), Richard Palmer (guitars), and Keith Baker (percussion) after placing an advertisement in the weekly music newspaper, Melody Maker."

http://en.wikipedia.org/wiki/Supertramp#1969.E2.80.9372:_Ear...
Wait -- so apparently it's acceptable in economics to publish big important papers with broad-reaching public policy implications without releasing the data on which the paper was based? That would never fly in the sciences.
Or been invented out of whole cloth by someone who needed another reason to look down their nose at others.
Actually it's more than just Chat Heads, the app looks better now overall.
I use Facebook messaging a lot on my phone and the fact that I don't have to constantly switch between News Feed and Messages in the app anymore is really cool.
Here Facebook, have my like for this one. :)
The headline is misleading.

A pie-chart from the underlying data[1] shows that the author somehow forgot to mention 21% of the profit from "Other" PC manufacturers.

What isn't in dispute is that Apple charges more than its competitors for what is essentially the same Intel hardware, cobbled together in the same factories in China and elsewhere.

Thus you could make an argument that Apple are the worst when it comes to profiteering from impoverished workers, even though their hands are clean thanks to the wonders of offshore outsourcing.

[1] http://www.asymco.com/2013/04/16/escaping-pcs/
There's a strong startup community in the UK (well London at least), also lots of games companies, and then you have the financial sector where the rewards are very high (if soul destroying). So yeah there's lots going on.

Obviously it depends which company you work for in terms of how well you're treated, that's obviously an intangible. For example I employ several developers now, and I very, very rarely ask them to work out of hours.

If they have ever done it then it's because they wanted to, I also will stop them working excessive hours - which stops the peer-pressure aspect of the long-hours culture.

I give clear ownership of key areas of our product to developers, so they feel a sense of pride and responsibility for what they're doing.

I will also offer pay rises when I feel they're underpaid, I don't want to wait until they're halfway out of the door before offering what they're worth. Also I'm flexible with working-hours and remote working.

It's not hard to have a basic respect for your staff.

Even the games industry which I said didn't pay well, with long hours etc. is good to work in as a young developer. It's a very creative environment to be in, and most of the programmers I worked with were hyper-talented and have gone on to running their own startups, or are high up the food chain now.

So in terms of learning ones trade and gaining long term contacts it's great.
Other discussion: https://news.ycombinator.com/item?id=5559281
What is the difference between a software startup and a small company that writes custom software?
Other discussion: https://news.ycombinator.com/item?id=5559483
While I love GitHub, and I use it on a daily basis... I'm really confused how news like this gets to the very top, but other submissions (many highly technical) sometimes barely get 5 votes. I'll get off my soapbox now.
Twitter and the news: a journalist's view
This article, although still great for beginners to get started, is using dated techniques that should be avoided.

In the past, developers would have resorted to starting with interface builder to do their designs. As they continued the development process, theyd notice that more and more of their views had to be done in code because Interface Builder wasn't powerful enough to do what they wanted. It could then be understandable why for newer projects, someone would skip Interface Builder altogether and go for code-only from the start.

Things have changed now though. Auto-Layout is extremely powerful in both Interface Builder and through code. Out of the box your visually designed interfaces now support powerful alignment and resizing irregardless of screen size. This is a big deal because there are a lot of screen sizes in iOS these days (iphone4, iphone5, ipad, all of these in landscape and portrait and yet again all these permutations with and without the keyboard open). auto-layout makes internationalization super easy too as all objects on your interface are designed to get bigger as words get longer (such as in German), yet have all associated objects around them still be perfectly aligned. Even right-to-left languages (and interface re-ordering) is supported without any additional code.

Looking at the code in the article, none of these are supported. If you even turn your iphone landscape the ui will be cut off. Let alone supporting ipad, keyboard open, longer words in the buttons/labels, etc.

I highly recommend new iOS developers to start with Auto-Layout from the getgo: https://developer.apple.com/library/mac/#documentation/UserE...

It's like tables vs css. Use CSS, it's much more portable.
Hate to say this but I have to ask... isn't this guy from PlayHaven- the company that fired a dev over a joke?
It's good for doing one-time analyses, but hard to automate when you have many inputs that are updated as time passes, or if you need to feed the output of one spreadsheet into another.

Tangentially related: I've been thinking recently about how hard it would be to teach a real programming language to Excel users. They would already have some grasp of functions, arrays, and variables. I think the analogues might have some pedagogical value.
The Bottom Line on Corporate Tweeting
It is a nice shortcut, but I think they added it mostly because they belatedly realized how much metro sucks for accessing settings from the desktop.
What is the difference between sigle-case select vs just reading from the channel?
I know what this quote refers to (and it's not particularly kind of you to suggest I don't, if I may say). I meant to point out that engaging in "rational" behaviour when it comes to hiring in a market you perceive as behaving irrationally is no guarantee of becoming rich any more than engaging in "rational" behaviour when it comes to speculation.
By what measure do you want to define if startups have implemented it successfully?
Welcome to the social sciences.

This is in part why I am a programmer now and why my Poli Sci degree is sitting in a drawer.
I don't trust them not because they let their certs expire earlier this year causing an extended outage, it's that they didn't have a robust process for managing and preventing such an issue.
Cell service was really bad for an hour after the explosion. My wife has an older clamshell phone that seemed harder to connect I expect due to the absence of newer 3G frequencies. Not getting a signal make one very nervous at a time like that.
Freedom, not numbers.
Does this mean I have to get a new shirt?

Logo looks cool, where's the new favicon? ;)
Talking about business, entrepreneurship is fun. Doing it is another. Separates the Men from the boys.
That's because the black market for credit cards is a lemon market [1] - known good corporate cards are much more valuable.

[1] https://en.wikipedia.org/wiki/The_Market_for_Lemons
http://www.reinhartandrogoff.com/data/browse-by-topic/
I don't think there's a way to make the logic you're employing work. Wars are routinely fought between entities that do not recognize the sovereignty of their adversaries; see, for instance, every civil war ever. We fought one of those too.

On the nuts and bolts, the distinction you're trying to draw is also moot; Congress explicitly authorized:

That the President is authorized to use all necessary and appropriate
force against those nations, organizations, or persons he determines
planned, authorized, committed, or aided the terrorist attacks that
occurred on September 11, 2001, or harbored such organizations or
persons, in order to prevent any future acts of international
terrorism against the United States by such nations, organizations or
persons

If you'd like to look this up in the Geneva Conventions, you'll find GCIV isn't particularly helpful to your argument; it refers to "persons taking active part in hostilities" or "combatants", not nation-state actors, and explicitly acknowledges conflicts that occur where one side or the other doesn't acknowledge a state of "war". And "the presence of a protected person may not be used to render certain points or areas immune from military operations".

About the best I think you can say is that striking Bin Laden could have been an act of war against Pakistan. Somehow, I don't think they're going to follow up on that.
For a consumer, perhaps, but for protecting thousands of individuals...
I was really anxious up until a week and and half ago then I accepted the fact that statiscally and pratically the chances of me getting in are laughable but fingers crossed anyway