skysight-inc/HackerNews huggingface dataset:
I just released a native mobile banking app built using Titanium: http://itunes.apple.com/us/app/sf-fire-credit-union-mobile/i... and am happy to share my experiences with it.

The patterns and frameworks I use in single-page javascript apps carried over well to developing with Titanium, including tools such as Backbone and CommonJS. Titanium supports CommonJS directly now but it wasn't available when I started so I used Stitch to combine the code into a single javascript file and have been happy with the result. One bonus of using this approach is that I've been able to share a large portion of the code with the mobile web version of the app currently in development (using Backbone and jQuery Mobile).

While we ran into some problems that were difficult to track down, the code for Titanium is on GitHub and is easy to fork if you need to. For example, one thing that's prevented me from posting a link to this app previously is that the Android version (also built with Titanium) is experiencing frequent crashes on certain devices. After several (ok, 20+) hours of debugging I discovered that the problem was in the 'click' event handler on table rows -- the handler was passing the whole table row object in the event handler and was causing occasional crashes due to the size of that object. I didn't need that data to be passed in the events so I just commented out that portion of Titanium code and everything's great now (we're releasing an update shortly). Sure, it was a brutal bug to find, but the source was available and not too difficult to follow.

The app also includes custom modules written in Objective C for iOS and Java for Android, but only for very specific functionality that wasn't already included in Titanium -- 99% of what we needed was already available.

If there's any interest I'm thinking of extracting my pattern into a basic application that I can share with others and perhaps build a bit of a framework around it. Here's a gist as an example of code used in the app: https://gist.github.com/1832639

Edit: accidentally used a private gist.
We Love our Workplace Video Contest
Looks like a reinforcing feedback loop to me.
Is Pinterest More Than Shoes, Skirts, and Happy Kitty Pictures?
An Ontario teachers' union urges ban on classroom WiFi
Ah, I see. Yes, you could use promises to implement something like that - and it's something that I could definitely add. However, I would say that multiple async calls are pretty unusual.

The usual CRUD scenario is that you do a DB lookup, then perhaps alter the object, save it to the db, and return to the client. All tasks are performed sequentially. Unless multiple async calls are a common scenario, then I think I'll leave them out. Is there more multiple async examples you can think of?
Http://www.twovaults.com/marketing-wigs-via-your-laptop/104/
Did you know that today, you no longer need a full-fledged brick and mortar store to sell your wigs, nor an office to market them? Just grab a laptop and market your wigs with it, selling them via online ecommerce shopping cart sites and marketing them via any number on Internet marketing methods that work well.
This would be an interesting time to work at Google, because one assumes that an interested researcher there could get his hands on a Very Big Pile of Keys fairly quickly, and this seems to be made for map/reduce.
"I'm going for a Big Mac, I may be some time..."?
I have this habit of walking all the way up to both of my alarm clocks, resetting the alarm to 20 minutes later, and then walking back to bed for a bit more sleep.
I just skimmed that paper very quickly, and it seems to include wind and water. If you count all the noises that nature makes, nowhere on the planet is going to be "silent".
Yes, the 'app' global will be available in every file you require in.
What iOS apps are grabbing your data, why they do it and what should be done
UC Berkeley uses the books for their course. I'm not sure which specific class though.
That was an entertaining but true and worrisome article, enlightening. When I was in my 20's I might have thought wow, South Dakota needs more McDonald's.
>"The catabolic effects of long-duration cardio may require more protein even than strength training, ironically."

That's not what the data suggests.

Elite Kenyan marathoner's diets are approximately 10% protein (or 75g per day), 75% carbohydrates and 15% fat. Corn is the primary energy source. Non-Kenyan runners who have adopted a similar diet have done so with excellent results.

http://jonathaninthedistance.blogspot.com/2008/06/nutrition-...
http://www.letsrun.com/forum/flat_read.php?thread=1452065
http://dailyrunningtips.com/kenyan-runners/kenyan-runners-an...
http://www.runaddicts.net/health-nutrition/secrets-from-the-...
On that same subject, I'd say there are rather few "large programs" that "run into billions of lines" (of code, I presume). By comparison the Linux kernel, one of the largest monolithic "programs" I know of, would have to expand by almost two orders of magnitude to fit into that category. :)
What problem would this solve?

If my problem is that I don't want Facebook to have the phone numbers in my address book, then surely I don't want them to have the SHA1 of each of the numbers in my address book, either?

Isn't it going to be easy for an organisation with Facebook's resources to build a dictionary of the space of SHA1s of phone numbers?

And if they salt the numbers, first, then they can't be compared with each other for suggestions? So whats the point?

Have I overlooked something?
What I take to be your mistake ('fax' for 'wax poetic') is an intriguing Freudian slip in this context.
Gwern has an addictive element of thoroughness, candidness, and sheer information density in his posts.
Hardly. I'm the one constantly wondering why people didn't read the email I sent them before interrupting me with redundant questions that were thoroughly answered in the email.
It would take laughably small time to bruteforce the phone number out of a hash. Knowing the algorithm I can compute all possible 10,000,000,000 combinations and store them in one file.

Same goes for hashing IPv4 addresses. There is no way to make eitther one secure by hashing.
ALLSCANNER TOYOTA ITS3 Tool Without Bluetooth
Who has been the single most influential person in your life?

Kind of a cliche question, and perhaps not one worth asking, but I've heard it asked of some pretty impressive people and the answer has always been really fascinating. Probably not worth it though, if you only have one question, especially if you're looking for something more technical.
That's pretty creative even if it's prone to abuse. I bet one can source pretty much any quote from HN, in the worst case linking to one's own post :)
Honestly, I don't understand the fuss. I thought everyone had figured out and come to terms with the fact years ago that social media is all about gathering as much data as possible. The degree of precision with which Facebook, Twitter, Linkedin, etc. recommend "people I might know" makes it pretty obvious that they know a lot about me, regardless of where they got the information from. And I don't blame them in the least - these are all free consumer apps that can only exist by having a lot of users, so if they can get a few more by utilizing data that is right in front of them they'd be crazy not to use it. If anything, people should be angry at Apple. Considering how notoriously annoying their approval process is for the sole purpose of protecting their users, they probably should have made app permissions more explicit or let users opt out of individual permissions like facebook recently started allowing.

Additionally, nobody has touched on the fact that companies can use address books to prevent fraudulent use. For most of the companies listed there isn't too much to be gained from fraudulent use. But you can imagine for services that frequently have to address fraud and, say, don't want a single user to have multiple accounts or that want to make sure all their accounts are owned by real people, doing things like cross-validating address books can be very useful. This can still be done if you hash the names and phone numbers before uploading them, though, which is maybe what everyone should be doing.

tl;dr Data is money/power these days, it's strange that people are shocked by companies making use of all the data they have access to.
I'm sure this will appeal to some people, but for the practical ones, Gentle Alarm for Android has all of these features. And it's only $2.86 :)

https://market.android.com/details?id=com.mobitobi.android.g...
That site is full of vitriol and hyperbole: "I know this is difficult, especially for retards, so you may want to consult your local Professor of Urban Studies before proceeding."

And he blasts carfree's "green space", but then lists a whole bunch of things which the green space could be (yards, parks, sports fields). I can't help but feel that he's deliberately missing the point.

There's also a fairly detailed discussion on carfree.com as far as "how to get there from here": http://carfree.com/conv_lyon.html so it's hardly billed as a 'build it from scratch' ethos either.
Do you really need Arq and iCloud together? Why do you need BaseCamp and Google Apps (GA has a free tier anyway). Is it critical that you have your GA and BC files synced to your Dropbox (doesn't that just defeat the purpose of the 'cloud'?). Do you need Evernote when you could just as easily use Google Docs? There's a lot of overlap here. You could really escape with Arq, Dropbpox, and free Google Apps.
How do I vote on this? Is it just be clicking on that little arrow? Because it disappeared after it asked me to login.
I don't know what I'm more surprised at - Isaacson's piss poor job of doing Jobs' life justice, or that Jobs chose him to write the book. Either way, I walked away very disappointed, ready to never think about the book again.
Where are all of the sysadmins?
LightSquared Faces U.S. Prohibition After Interference Report
You're right, I misunderstood the context of the comment during the first reading.
Add "Coding" to Elementary School Curriculum?....
Stackable FPGA Boards introduced
Saw this on EETimes. The TR4 enables stacking through multiple High Speed Mezzanine Card (HSMC) connector ports which feature back-side male connectors for connecting to other TR4 boards. In total, there are 492 free I/O pins as well as transceivers that support a data rate up to 8.5 Gbps.
> "Regional US food rocks, but generic "US food" is just bland."

So. So true.

American food is friggin' amazing, but you'd never know it if all you ate was what is normally labeled "American food".
Actually, I think Scala compares favorably to Java in complexity. Scala seems complex, but it also provides a lot of power. Take any moderately complex Scala program and try to implement it, in full generality, using Java generics. Or, if you're really brave, try to write it in C++.

Scala is more complex than "baby Java", but not as bad (while providing a lot more) as full-featured Java in real-world use.
Every rule has an exception, and mine is the first rule - the one 'not to be broken under penalty of death'. At my workplace we have contractors that come and go, plus the in-house devs are frequently offsite. It's really difficult to get all the stakeholders together at once, and while long meetings aren't common, it definitely occurs that we have 60+ minute meetings that are full of content.

Also, rule 4 doesn't make sense for two reasons. The first is that the idea of a stand-up meeting is that it's mandatory: get everyone together to quickly thrash out what's blocking them. Just because you're not blocked doesn't mean you're not blocking someone else, plus it helps keep everyone on the same page. Secondly, the rule contradicts itself - meetings aren't mandatory, unless you need to be there. So... you don't have to be there, unless you have to be there, in which case you have to be there?
Titanium was a nightmare. The edit-compile-debug cycle is so slow. I ran back to ObjC after two weeks. Development is faster and the resulting apps are better.

It has good points too but for me it was a net negative. You couldn't insert rows into a table view without it crashing, you had to reload the entire thing (that was in May).

I'm amazed at the results some people get with Titanium. Maybe I was doing something wrong, but I'm very familiar with web dev and found it intolerable.
Isn't it 6 million squared? 36 x 10^12. Factorial would be the number of ordered sets that include all the elements.
I think in the real world there are a variety of cases that benefit from parallel operatio...

-Anything dealing with disk I/O like copying or reading files
-Sending / receiving from S3 or other file repository
-Making a request to external web services as part of a request
-Working with document DBs like Mongo where instead of a join you can do one query per table in parallel

I would love it if you could check out asyncblock and see if you like how it helps manage control flow with fibers. It would be easy to integrate with what you have already. We use asyncblock in a very large node based application, and it's really helpful for keeping business logic straightforward and simple.

Another possibility would be using node-sync (https://github.com/0ctave/node-sync) if you prefer their approach.
Curious about who got in first

Take a look at this

http://i.imgur.com/ad0fJ.jpg
Address Book and Privacy
That instagram screenshot clearly shows that the transmission is over https, which means that the whole "susceptible to would-be interceptors" thing invalid. That is, unless you're under attack by a man-in-the-middle proxy. If this is the case, then you have bigger issues on your hands. The foodspotting screenshot is over plain http, though, so it IS susceptible to a normal eavesdropping attack.
HP release's open source tools for webOS
If you come home from work some day, to find Facebook employees going through your dumpster, are you going to be ok with that?

Probably not, right? You know they want to gather as much data as possible, but you are angry, because you never gave them permission to go through your thrash.

I think thats how some people feel if an application goes through their phonebook, when they didn't give it permission to; the phonebook is not information people consider public; its privileged. Thats where there's a fuss.
It's not that protein is a primary fuel source for muscle, but that excessive long-duration cardio actively breaks down muscle tissue. I'm familiar mostly with empirical evidence: long-duration ocean rowers (60-180+ days of 8+ hours/day rowing) typically lose 30-40# of body mass, much of that lean tissue.

Elite Kenyan marathoners aren't particularly known for being heavily muscled. Elite sprinters, on the other hand, typically are.

I could dig for some more rigorous research, no time presently.
And who gets to decide what is "luxury goods"? I think consumption tax is still considered unfair, whether it's tweaked to be "unfair" to the rich, or "unfair" to the poor.
I'd love to know if the author of that generator knew that that's what (s)he was doing.

That is, I like the idea of someone trying to be a bit too clever and accidentally borking their code due to their unfamiliarity with math rather more than I like the idea of that kind of negligence.

Of course, who's to say that a single generator isn't responsible for more than one connected component of the graph...?
Thanks, that's actually really helpful!
Shoes Shop Online, Affordable, Cheap Highest Quality Shoes for Sale
Cheap Shoes,Shoes for Women,Shoes Store,Shoes Online,Black Shoes for Sale, Discount Shoes for Girls,Discount Shoes,Fashion Leather Shoes,Shoes Wholesale,Spring Shoes Shops, Cheapest in Our Store.
Yup. AppSumo is reminding me more and more of Don Lapre.

Even their non-make-a-million deals over-promise. Just give me the story straight, cut the bullshit.

EDIT: Don Lapre was convicted of fraud. I am not implying that at all. I'm just saying that some of AppSumo's copy reminds me of the Lapre's infomercials.
Biggest thing I see in these tests is that tomcat actually slows down a web framework. Using Netty with Play was actually faster then using JSP's on tomcat. That's crazy it takes less time to get a request, render a template, and return the response ; then to have Tomcat respond to a simple request using a JSP which is compiled (pre-rendered)
But all we care about is making it look secure for the hobbyist packet sniffers, right? (kidding)

Although what about hardcoding a salt into the app to hash with?
I like the idea, but I'd really like to know more about why you need some of this information (I'm sure you expected these kinds of questions from Hacker News).

For instance, why do you need to know if i'm interested in guys or girls if the matching is, for now, always the same (3 guys 3 girls).

Why do you need my phone number? What would you ever use it for?

It seems likely from the format of the information that some of it will be shared with whomever I'm matched with. What information do you give them exactly?

Something like giving out your phone number, especially if it's not optional, makes me much more careful about signing up somewhere.
The subreddits are as close as you can get to being illegal, but I think there's still a large (or at least significant) difference between the two. My only basis for that is my gut reaction, but I think it was what jquery was getting at. Not that they're truly unrelated.
The go tool in Golang
You won’t find developers with 10+ experience in India
If you like maps like this and are from Boston, check out http://bostonography.com
New D programming language forum, written entirely in D
Can the technology support hundreds of viewers? Can you moderate people piping up with questions so it doesn't get out of control?

If so, celeb chefs even just in Australia could rake in money using this. Cooking reality shows (MasterChef, Kitchen Rules) are very popular and the chefs are often household names. I am not one for mainstream television, but the Friday night Master Classes during the MasterChef season are great.

If you put one of those names like Gary or George from MasterChef (and there are a number of Australian celebrity chefs ahead of them) in a Friday night class doing 2-3 dishes for $15, you could get 1,000 signed up if not 10-30,000 with a bit of promotion.

Imagine a season pass with a chef doing Friday night dishes. Tune in when you can or have access to archives if you're otherwise occupied. Suddenly the market for cooking classes booms.

I've done in-person cooking classes here in Australia and also in Turkey and could see myself trying out on-line streams.

Further than cooking classes, imagine name musicians teaching signature tips and tricks with a guitar or effects. Imagine Trent Reznor, or Nick Cave and Warren Ellis, doing live Friday evening jam sessions to viewers. They set up the camera, open a bottle of wine, and start mucking around. Moderators could enable fans to butt in at the right times to suggest a style or ask a question. "Hey, can you drop-D and stuff around for a bit - would love to see what you create!" Make it affordable at $10-15 and you could get hordes.

In each case, do special/limited shows for $80+ with more access to interact and get personal feedback.

Could it work? I'd love to build it.
Not so. Given a set of N elements from which you choose k (with order not mattering, since you only care whether a given two are the same) the number of pairs is N!/(k!(N-k)!). So it's (6000000!)/(2!(6000000-2)!).

We can take advantage of the cancellation properties of the factorial to write this as N\(N-1)\...\(N-k+1)/k! . If k=2 this resolves to N(N-1)/2.

You could also derive it like this: for ordered* pairs, you have N choices for the first and N-1 for the second (since you don't pair anything with itself but all other choices are permitted). This counts each pair exactly twice: each pair and its reverse are the same if you don't care about order. So N(N-1)/2.

Still trillions of combinations. Not 5999999! though.
Further, on OpenDNS, you can disable these ads if you so choose.
Are You Fu***** Coding Me? - A blog about Go language...
Hello, some time ago I've started writing a blog about Go programming language and my transition from Ruby/Python programmer into full time Go developer. I think people interested in learning Go or looking for stuff related with distributed computing will find a lot of useful things there.

Cheers, nu7
Six Ways To Have An Appealing And Effective Web Form
Website owners often use Web forms as a way to communicate with the visitors. Feedbacks are always important to help the website to improve, as the result it’s important to make web forms intuitive to use and easy to understand
At the risk of redundancy (I wrote my post while you posted): you're double counting (since gcd(a,b) = gcd(b,a), you needn't compute both; either tells you whether a,b have a common factor. (a,b) and (b,a) having a common factor both account for the same problem) and you're including pairs of the same element (gcd(a,a)=a always, but this is meaningless for the data set we're considering--we don't care that a number has common factors with itself, only with other numbers)
It surprises how so many simply disbelieve what Isaacson has written because, in their heart of hearts, they can't believe it's true. Denial, or do they actually have personal insight into Jobs?

There has been a lot of vilification of Isaacson's book, much of it seeming to draw ire because it presents Jobs as a mere human.
Concatenate FirstName+LastName+emailAddress+phoneNumber, then hash or HMAC that.

Your lookup table just got a lot bigger.
The good news is that the story isn't lost yet, even if Steve can't tell it.

I am hoping that Avie Tevanian writes a really good memoir. In a perfect world, one on par with Hertzfeld.
I don't see the need for personal offense here. You don't like it, ok, but it's a perfectly reasonable, rational and valid approach. NPM, the node.js package manager with +7000 packages published, is written in ths style.
It avoids accidents. With plain text data, there is a lot of room for accidentally leaking private data (for example, to server logs). Building a sha1 dictionary isn't something you do by accident.
I'm not sure what part of Gruber's article you're responding to.
Not related to the article, but this is what I had to say to my dad after I lent him my copy: Writing biographies about living people is weird. Writing a biography of someone who asked you to is F*ING weird. Apparently Isaacson's other books are better (though I haven't read them myself) but I'm sure the future holds some better researched if not much less personal bios in the future.