skysight-inc/HackerNews huggingface dataset:
I used PhoneGap to develop my app (http://chaincalapp.com) and I've been very pleased with the result. It's not so much the cross-platform targeting that interests me, but the ability to use the tools I already know and enjoy (e.g. Backbone.js). Furthermore, the ability to use a language designed for presentation only (CSS3) is a great improvement in terms of separation of concerns. The author is also spot on about the value of not having to spend time studying native APIs in depth.

He's also absolutely right about results equalling effort. I've seen plenty of terrible mobile apps developed in JS, and I also have yet to see a jQuery Mobile app that feels right to me. I think some of this stems from attempting to recreate stock native UI elements and failing halfway. I wasn't interested in doing so with ChainCal, so I avoided that issue altogether.

As for performance, JS execution has never really been a bottleneck -- it's DOM manipulation. My advice would concur with the author's: use CSS transitions for everything. If you put in the time with benchmarking small operations and you approach things in different ways to squeeze out performance, your app can feel native. Trial and error led me to plenty of performance discoveries. As an example, using translate3d to move an element offscreen is tremendously faster than setting its display to 'none'.

Finally, I will agree about jQuery being a very large library with a lot of cross-browser support that isn't necessary for mobile. However, from my benchmarking, it would seem jQuery is still faster at most DOM operations than Zepto.

Happy to answer any questions about my experience with PhoneGap.
Hence, FB has been trying to create its own phone/mobile OS.
http://forum.singaporeexpats.com/ftopic78607.html
http://forum.singaporeexpats.com/ftopic70704.html
http://forum.singaporeexpats.com/ftopic77063.html
http://www.todayonline.com/Singapore/EDC120423-0000001/The-u...
http://forums.salary.sg/income-jobs/866-really-bad-engineers...
For one, the language (Python vs. Ruby)
Don't worry, if this workaround is popular enough, Apple will change its policy again.
My Minor Frustrations with Android (Sometimes)
The whole concept of DNT is just stupid. It's misleading users and won't work.

By telling users you have better privacy simply because your browser adds a random header tag onto requests you're misleading them. Sites have no obligation to obey it and it will give users a false sense of security.

We already have proven, well defined method of DNT already: private browsing. This works by simply removing resources after the session ends. There's no reliance on servers, so it will always work.
I agree the cache nature makes it easier, but consider that a 3TB drive, at 2GB per 'movie', holds 1500 movies. So when you lose a drive, if the only content you have is on that drive you need to seamlessly switch from sucking it off the drive and sucking it down the back haul network. I can think of a number of ways [1] that might be done with varying degrees of 'hiccup' on the user end, but it is a big chunk of cache to lose at once. Note that 3TB is also 50 minutes of full on 10 GbE pipe bandwidth. But as you say it isn't as if you lose data, since its still there back at the head office, but you lose that copy of it.

[1] Ways that come to mind are; multiple boxes with a diversity of the content amongst them so that another box can 'pick up' the stream, keeping a stream to the home office open but not pulling data until you lose the local source, or even doing a 'buffer' to disk and stream from the buffer then switch disk targets when your disk fails.
You can ask for previous passwords, if there are any payments involved you can ask for the transaction ids, obviously if you have secret questions or verified mobile you can ask for that.

Of course all of those things can be used to gain access to the account by attacker, without actually knowing the password. See recent Cloudflare incident. Google will notify you about the recovery attempt, monitor for activity, and delay it for at least a week or so. So the attacker just have to wait till you go on offline vacation ;)

Really though, for something as low key as a forum you’re entirely justified to offer recovery only via email. The email providers already offer all those alternative recovery options. And of course you should prefer OpenID to avoid the issue altogether.

> Unsurprisingly, post counts are down site-wide and the owners have reported a > 25% decrease in traffic.

That’s because they took the site down for a month!
cannot upvote this hard enough

Opened a bunch of links on a slow connection, suddenly some moments later one is playing audio! Even with javascript disabled :(

Does anyone remember that chrome extension that found which tab out of 100 is playing audio? Was it MuteTab?
Dozens Arrested After Riot at Foxconn Factory
After graduating from school in Canada – where nobody cares where you go to school – and moving to New York – where it's supposed to mean everything – I can't emphasize enough how much this doesn't matter.

Go where you want to be, where you can find people like you, and do your thing.
It was recorded. I'll try to update this thread when it's posted online.
You can use Jinja2 with Django, but you lose the ability to use any prebuilt Django templates. Which isn't much of an issue in practice since those are often the first thing you write yourself from reusable apps.

You also can't use templatetags from reusable apps (or Django itself) but it's easy enough to write a wrapper for those that allows you to.

We switched to Jinja2 for Canvas because the Django templates were atrociously slow, and it was absolutely the right decision for us.
If this is true I wonder how closely fb is working with Microsoft? Given that Microsoft owns a small part of the company they could be collaborating.
This is diverging a bit, but weaning yourself off of the debugger habit can be incredibly liberating. I used to be a debugger junkie, but I've changed to a system of carefully reading code and understanding what it does (and often writing unit tests to confirm that each pieces is doing what I think it's doing). Every time I have to go into a debugger now, I curse the person who left me with no other choice (say, due to design choices or laziness). Sometimes... the person I curse is me :)
"You sound institutionalized."

I'm not sure what that even means, but I suspect the thing that disproves it is "The last website I built was in Yesod.". And while it may be in some sense targeted to fill the Django space, at the present time (and certainly at the time I worked in it) it was more like Flask and a couple of things lightly tacked on.

No, my main point is that Django is what Django is, and while that may not be perfect, it isn't useless, it doesn't "suck", it just doesn't meet all needs any more than anything else does. Flask doesn't meet all needs either. Don't complain that water is tasteless when what you wanted was mustard. Being tasteless doesn't make the water suck, it just makes it water. Complaining about its watery nature is just silly.

If Django actually sucked I'd probably not have said anything, but it's more successful at actually bringing together all those things than most of its competition. (Though since there are roughly 1000 web frameworks out there I'm sure there's better things somewhere.)
Having what is essentially one app split into multiple apps is going to introduce a whole lot of complexity to the business that isn't necessarily unless the amount of developers on your team is very large.
You need to request a "key" (essentially a user ID) before you can make queries.

I can imagine only 3 reasons for this: (1) they want to make you agree to the Terms & Conditions, (2) it gives a way to choke off a DDOS attack that makes repeated complex queries, or (3) the census bureau wants to track how you are using its service.

The key is indeed easy to get, but I observe that Google would have exactly the same concerns as 1,2,&3 above, yet they somehow manage to stay in business without making their users sign up to do a web search.

The federal government always makes things a little more complicated.
Now imagine if Chrome made incognito browsing the default and you had to access a submenu to get a cookie keeper. Disrupt the web!
Well-executed humble-brag marketing.
Right. Studies about vegetarians could only uncover those deficiencies that would affect all veg*ns, but I've never seen any that did.
#3 may matter for a number of reasons:

- I daresay Census is sitting on some _large_ data sets. Fancy data structures are one thing when you want the population of California, another when you're trying to get California, by ethnicity and age group, by zip code.

- Data structure compactness will matter less to HN readers than to someone sitting on the other end of a phone dial-up in Oklahoma.

- I am but an egg but don't fancier data structures require particular decisions for implementation on particular tables? Census has a lot of tables -> a lot of decisions.

- God only knows how many different systems are involved holding all their data. The simpler the data structure, the less they have to get into those -- and / or the simpler a layer they between some mainframe and the API output.

Also, it may not seem very friendly to HN readers. But it is stupid simple, you can _see_ how it is organized, making it accessible to a wider audience. And it's so simple that it can be adopted by any agency publishing tables. Note that there are a lot of agencies with a lot of tables -- something like this has a chance of becoming standard among all of them.

A public agency has special accessibility concerns, and it's just a reality that government agencies have particular legacy technology issues. A lowest common denominator format helps get the data over those obstacles.

Maybe they can do better in places, and they're free to, there is no reason they can't support other formats too. But this will be available for whatever subset isn't served by those extensions.
Liam Hemsworth engaged with Miley Cyrus.
So don't forge your headers.

I don't see how this would be slippery at all.
PwdHash
Some promo codes if anyone's interested in trying it out:

LRXTYFWEMJXM

JMH34LFNX44W

3N7YXP7HN9P7

PF3RLT4PHWML

MWFHXK669M4L
The typography in your presentation is great, but there's one thing you could do to make it better: don't use a left single quotation mark (U+2018) when what's needed is an apostrophe. For that need, the preferred character is a right single quotation mark (U+2019). "Keep ‘em Separated", for example, ought to be "Keep ’em Separated". (Zoom in a billion times to see the difference.)
The article specifically stated that the effect could be to delay onset.
I'm wondering why nobody has brought up Sencha Touch yet. It's got a full MVC framework and easy to get up and running.
A friend's son was top of his class. He convinced himself to go into CMU SCS program. He was a novice programmer with barely any background. I warned him away, saying that he would find himself in unforgiving competition with people who had been programming seriously for 10 years or more and recommending that he choose a state school instead. He ignored my warnings.

He lasted six weeks before changing majors. It really messed him up psychologically - he's got a serious inferiority complex now. I believe that, had he chosen from any number of other schools, he would be a happy CS grad and programmer today. It is difficult to go from the top of your class to the very bottom.
But now you have an auth system that's tightly coupled to SQLAlchemy. How is that different from the regular system, other than you're using SQLAlchemy rather than Django's ORM?

I'm also finding it hard to think of a use case where you need to authenticate 100 users at once, so your initial rationale (100 separate updates) doesn't really work. Surely you'd use a different tool to populate your database, but Django's ORM for day to day stuff?
http://en.wikipedia.org/wiki/PayPal#Bank_status
ruby-debug takes a little bit more work to learn in the beginning but in the end is more satisfying and flexible than any of the GUI debuggers I've used (eclipse, visual studio).

Command line interfaces are cool especially for stuff you do all the time
YC S12 Company Seeking Lead Developer 
Unannounced YC S12 Company looking for a lead developer

Focus - World Domination

What we can offer you:

- opportunity working with a brand new YC company

- challenging and inspiring workplace

- work with top tier entrepreneurs

- EQUITY negotiable

- fun work environment, great culture!

- creative freedom

What we need from you:

- mobile app development for android & ios with html5 / phonegap / trigger.io

- e-commerce web development

- be involved in the product's evolution

- work fast - just like us!

Please send your resume and tell us about yourself

jeremypoteck@gmail.com
408 387 0672
I'm curious about Square's reaction to this. It seems like people could literally start paying with Facebook at restaurants and bars. Now the charges are just part of the monthly phone bill instead of a monthly credit card bill. For that matter I wonder what implications this could have for credit card companies. Anyone know if, say, AT&T pays the same charge for accepting credit cards as small merchants?
The term "singularity" is very overloaded. The parent is using Kurzweil's definition. You're using something like Good/Yudkowsky's.

http://yudkowsky.net/singularity/schools
Reward to the beat of a different drum
That's valid, except most of them have their own solution partners. What I mean is, does Netflix want to invest the resources that would necessitate making this an offering for all but the biggest customers.

Keep in mind, Netflix is one of the BIGGEST online video providers, period. Very few companies are going to need some sort of solution at their scale -- and those that do, likely have their own solutions. That means, your target market are smaller companies.

I just don't see Netflix interested in getting into a space that Brightcove and 5Min already dominate on the smaller web side -- and that custom Amazon, Level 3 and Akamai contracts take care of on the high end.

Netflix built this solution because it hopes that it will save them money and resources, somehow, I doubt that it's s scalable model (at least in terms of Netflix's required investment for support and sales) to offer to other partners.

I could be wrong, I'm just not sure I see the potential for a company that's biggest competitor is HBO.
Out of curiosity, what do you recommend people use?
Agreed on the "changing service oriented architecture" parts. Once you split once big app into two medium sized apps, it can be hard to make radical changes to the application architecture. It adds a lot of complexity, like (deployment, caching, testing, configuring)
The problem is not frameworks; the problem is object oriented programming. Simply put, OOP lends itself to kitchen-sink frameworks because it is the only way to really share code in OOP. We write these large hierarchy of objects and then, because we have to carefully maintain state, we mark most of it as private, or sealed. Then we give precise instructions on how to consume and use the code, and even more precise instructions on how to extend it.
Samsung introduces series 5 laptops
You can go too far the other way. I know someone who, when asked why a character did something, would reply "Because that's what the author wrote?"
Do you really want every command you've typed for the last several years

Yes.

visible to anyone with physical access to your box

Maybe not. That's an auth problem, not a reason to throw away your archives. I keep all my email even though there's probably something in there embarrassing to me given some audience.
Concrete Cutting Brisbane - Diesel's Cut & Core
B2G is 100% open-source and developed in the open. They even take pull requests and have open meetings. They are going to be taking their work to standards bodies and hopefully a lot of it gets picked up.
> Many developers have hated the platforms they have developed on but do so because the platform allows them to make money.

The hate isn't the hypocrisy. Plenty of people, for example, hate Windows and develop for it without being hypocrites.

The hypocrisy is extensively claiming that the platform in question isn't profitable ("terrible development economics", "unlikely to recover those costs" [referring to development costs"), etc.), playing up issues like fragmentation and generally arguing in almost every way possible to other developers that you shouldn't be on this platform... and then turning around and jumping on board anyway.

In fact, given the timeframe Marco talked about (last winter), it is entirely possible he was publicly arguing against Android development while Instapaper for Android was being developed. I can understand why he'd do that from a business perspective: Marco wouldn't want to tip off competitors to his change in thinking (note that Readability launched on Android and ReadItLater had gone radio-silent before relaunching as Pocket during the period in question), but that doesn't make him less of a hypocrite.
Hp 586029-001 battery
8 Reasons to purchase this 4400mAh hp 586029-001 battery replacement: 1. it is safe and pass certification 2. made of sony, samsung, bak, and moni battery cells. 3. never refurbished battery. 4. protection circuit board. 5. good package. 6. full 1 year warranty and 30 days money back. 7. paypal, moneybookers, and western uninion payment. 8. high quality at the cheap price.
400k lines sounds like less than a lifetime at the terminal. So maybe 200MB would be safer - thanks for the reminder! ;)
It's good. I use it (dual-auth with FB) in a production system (https://www.voo.st/) and it works great from every browser I've tried so far, including iOS and Android.

The biggest UX issue is currently the up-front email roundtrip for new accounts. In the long run this experience will improve considerably when primary identity providers support the protocol directly. In the short run it's still not bad.
How is the lack of a salt the problem? AFAIK, all salts do is head off rainbow table attacks. If you're using SHA1 and you lose the passwords, a salt isn't going to help you, because they don't need to rainbow table you — they can use a dictionary attack or just brute force the passwords without much trouble.

It seems to me that losing the passwords was the real problem, and it's compounded by a poor choice of hashing algorithm and lack of a salt. Lack of a salt is not good, but I don't see how it's worse than losing them in the first place. If they'd used bcrypt or not lost the passwords, a rainbow table wouldn't be useful in the first place.
(3B) Census data on some topics can move markets. If someone hacks to get a five minute lead time, the key policy gives them a start on figuring out who and maybe how.
You're almost on your way to an understanding of general idea of Australian "mateship".

If we weren't sarcastically nasty to our friends we might have to talk about emotions to convey our mutual trust and affection with other blokes.
> Sites have no obligation to obey it and it will give users a false sense of security.

Until appropriate legislation comes into play. It worked reasonably well with the Do Not Call lists.
Decorating Moscone… and Crazy Predictions For WWDC 2012
It's true. Cal Henderson's was my personal favorite.

http://www.youtube.com/watch?v=i6Fr65PFqfk
I've been writing web apps for a long time and for many different companies of different sizes. I've never, ever, seen a homegrown setup that was in better shape than the average rails app after a few years. Maybe your experience is different.
I'm not quite sure I understand slide 48 which talks about constraints. Does a text editor have more or less constraints than an IDE? I would argue that it has less constraints, however I assume he is arguing that text editors are better which implies that they have more constraints. The same goes for Pen&Paper vs digital notes. Surely being able to write in any direction at any size with any style as well as draw means there are less constraints than simply typing a digital note. Am I misunderstanding which side of these examples he's actually advocating? How does OSX v Linux enter into this whatsoever?
Monolithic frameworks complect things -- see Rich Hickey's talk "Simple Made Easy" (http://www.infoq.com/presentations/Simple-Made-Easy).

Monoliths also lock you into a certain paradigm. Django locks you into a RDBMS if you want to hook into all of Django's components like auth, admin, etc. And being locked into a paradigm limits the types of problems you can solve and makes it difficult to shift when a new paradigm emerges.

We're in a period of rapid development in datastore technology. If you're locked into a relational database, it makes it difficult to switch and take advantage of these developments. Loosely coupled components like Flask follow in the Unix tradition and free you from these bounds.

Django was well positioned 10 years ago when the RDBMS ruled, but with the proliferation of new DBs and data storage services, it's not well aligned with modern architectures.
One day of peace
fish saves its history atomically by writing an entirely new file to disk, and swapping it in

That's so you get sync'd histories across one user's logins? Good feature, but I need my history. It's invaluable to me. Still, maybe 250k lines is enough. Is there a way I could bump that up and judge for myself the consequences?
Can you please provide examples? After uninstalling Facebook, every single third-party app on my phone is built of stock widgets. Some skin them, but that retains both behavior and dimensions. I would even say that the "snob masterclass" of iOS apps is all about using stock widgets in style, like Instapaper and Carcassonne do it. Or only in select places, like Paper, but still seamlessly.

The only example of well-received custom widgets on my iPad is eBay.
I dunno, I feel like my life has been a constant cycle of big-fish, little-pond- and I'm grateful for it. It drives me to achieve more.
Does anyone know who Jeremie Zimmerman is? The video credits say he is a leading cypberpunk/activist but I was not able to find much info about him...
What you need to know about IPV6 Launch Day.
I learnt the verb "adsorb" in high school chemistry. Why is adsorption not a thing? (Although it does look like the article meant "absorption" and not "adsorption".)

Quote for those not in the know:

-----

<<<"Absorb" refers to a situation where something is taken into a medium, and disappears as a
consequence (from?). "Adsorb" refers to a situation where something gets stuck onto (to?)
the surface of a medium.

We would use "absorb" for when light is absorbed by a coloured or opaque object, or for when water is
soaked into a sponge, or even for when my students manage to "take in" some of what I am telling
them. It is an ordinary English word.

"Adsorb" is used for a very specific situation where molecules get stuck onto a surface. It does not
occur as a word in ordinary language, outside its scientific meaning. Adsorption is very important,
because many chemical reactions can go a lot faster when the reacting molecules are adsorbed at a
surface (reactions of hydrogen gas on the surface of nickel, for example), or chemical reactions can be
prevented by the presence of a barricading adsorbed layer on the surface (aluminium failing to react
with air, for example), or impurities can be removed from a solution by adsorbing them onto a finely
divided solid (activated charcoal for decolorizing solutions, or for medicinal use, for example).>>>