skysight-inc/HackerNews huggingface dataset:
Ah, it's under the MPL, they're allowed to copy it:

http://www.mozilla.org/en-US/tabzilla/tabzilla.js

http://crypt-webgl.unigine.com/js/tabzilla.js
Or "build the biggest tower"?
China is no stranger to affecting the health of their population through gross negligence. Ever hear of the Plasma Economy?: http://en.wikipedia.org/wiki/Plasma_Economy

But in all fairness, you could point to similar tragedies around the world. How about Greece's government leading its people to believe it would take care of their health, and failing: http://www.bloomberg.com/news/2011-10-10/greek-public-health...
Another system monitoring SaaS: https://www.serverdensity.com/

(Disclaimer: I work for SD)
Have you considered that your "objective" analysis of what is "better" may still be very subjective, or just plain worse in some cases?

A large number of shorter functions, for example, can often be much harder to work with than one larger function that performs the equivalent processing. To properly understand such code (especially when it was written by somebody else), one must jump around from function to function, rather than just reading through one function from the top to the bottom.

Likewise, "less interdependency between classes" often translates to more complexity in other places. To get usable software, the classes will still need to be connected together somehow. Sometimes this is done via automatic dependency injection, which usually brings in a whole new set of problems.

Reuse is another "best practice" that often turns out to be bad in practice. It only works in those cases where the functionality being reused is truly general. Forced reuse of other, less-general code will often be problematic. The reused code soon starts needing to take into account slight variations in order to be used in several different places, and over time this builds up. This can ruin the code, resulting in a situation worse than had a bit of duplication been accepted.

Crashing code isn't necessarily a problem, either. Taking a fail-fast approach is often a good way to detect unforeseen problems while developing code, before it gets into production use. Even once in production, it's better to have software crash in an obvious and reproducible way, so it can be more easily and rapidly fixed. It's often best for it to stop working completely, than it is to continue on and perhaps cause many more problems (such as data corruption, or a huge amount of network traffic, and so forth). It can be much worse to deal with code that "doesn't crash", but only because the original programmers caught and silently discarded any exceptions that were thrown, or error conditions that were raised.

What you see as "good code" may, in a given context, actually be quite problematic. Perhaps your co-worker realizes this, and this is the cause for some of the friction you're experiencing.
Whatever happened to Atlas? I thought cappuccino was dead.

It seemed clear to me that it needed an Interface Builder equivalent, but Atlas was in perpetual beta and ignored for years, motorola bought them and the 280 north guys went to "hot" startups.

I was really interested in Cappuccino for quite awhile, still would be if it could deliver a working system that was in reasonably good shape. (I'm not saying it can't, but it's apparently being abandoned years ago made me believe I shouldn't invest time into it.)
So are you saying its worth comprehensively ignoring OS X and Linux? They have never had anything close to 20% of the personal computer market.
I get a little over a million uniques a month (~4mil pageviews) and earn about $2500 / month from ads.

Think I'm missing an order of magnitude somewhere.
Excellent work, and gorgeous implementation!
Anyone know a quick way to add who someone is following to a twitter account? I'd love to set one up and follow who he's following.
Close is annotated as a blocking syscall in http://golang.org/src/pkg/syscall/syscall_linux.go#L810

Is there a guarantee on Linux that close can't block? (I suppose it depends on the file type and the definition of blocking.)
Facebook's OAuth2 implementation is so broken. Homakov found a X-XSS-Protection-related issue: http://homakov.blogspot.no/2013/02/hacking-facebook-with-oau....

After reading Homakov's and Nir's discussions I started looking for some bugs myself. And guess what? ~10 hours later I found another access_token-stealing exploit that has the same implications as Nir's exploit (although mine doesn't work in all browsers). Reported it 2 days ago.

Wouldn't surprise me if there's more bugs/exploits to be discovered :(
Reminds me http://www.xul.fr/javascript/regular-expression-tester.php
(2008) That is more extended.
Not employed people for years, but I never put much value on ultimate skills. I used to think long term. So, give me the the right human being, with a reasonable level of knowledge, and very quickly they will be more than good enough. A little more time and for me, they become pretty much perfect.

I want the right personality. The ultimate skills will follow. So, I just chat to candidates and employ those who I feel I and my people can work with. I never left it so late that we needed instant skills. To me that would be poor management.

Prior to that, I have tested and done many of the things people cite here, but most of the time I got awful employees who turned out to be good at doing interviews.

Yeah, a bit hippy dippy, but it worked for me.
They have never to my knowledge paid anyone to surreptitiously lie to me either. That's what happens when you lie, in the future no one believes you.

Also, isn't that what people do in reality anyway? I don't see an official version of e.g. Photoshop for Ubuntu, which I have to imagine would exist if it had >20% market share. And OS X does have >20% market share among those who use Photoshop, whereas pick your favorite non-web based line of business software and chances are it isn't available for OS X or Linux. Isn't that why everyone always says they aren't worth considering for business use? No software? Not enough market share?
Did Facebook reward you with a bounty too? If so, out of curiosity, would you mind telling me how much?
Probably for the same reason PG disables user registration when HN has been in the news.. keeping non-hackers out or something like that.
A tweet from the developer suggested that both apps ate out of the same pool. I could be recalling incorrectly though, as I can't find it now.
My father is a retired EE and was programming embedded machines in assembly language before I "caught the programming bug". When I was mostly doing embedded systems, we had plenty we could talk about. That hasn't changed now that he's retired since the basis of hardware logic and software logic is the same (Boolean Algebra identities). But I've done some interesting things in software as a result ... like using Karnaugh maps to minimize complex branching.

Incidentally, I'm pushing 50 and used punch cards in my computer math class in high school as well as for my lower-level computer science classes in college (Cmp Sci 201 was Fortran at Penn State back then). My son is a second semester senior in Media Effects (currently studying what affects app store engagement) and also has a minor in IST. Computing has been around long enough for three generations to "partake".
Why we built "alive", a social app that makes you achieve personal goals
The problem is it has 40k active installs but around 60k tokens taken up by pirating the app.

http://androidspin.com/2013/02/23/falcon-pro-for-twitter-rea...
> A large number of shorter functions, for example, can often be much harder to work with than one larger function that performs the equivalent processing. To properly understand such code (especially when it was written by somebody else), one must jump around from function to function, rather than just reading through one function from the top to the bottom.

I wonder if there's an IDE that can do this -- substitute function calls with the actual function on demand. That might make both camps happy. It's readable in 1 sitting, but also DRY'd out.
Programming with GWT is nothing like swing. Nothing.
I'm not sure what authors thought would happen when their apps hit this wall. Twitter has no reason to listen or help provide a living for these authors. I think it was an asinine thing of twitter to do, but also shows the fragility of relying on a third party API for your business.

Also, the author should withdraw their app from the play market now, otherwise they're going to end up with an awful lot of sales for an app that can no longer be used being bought by people who have no understanding as to what a token limit is.
The part you quoted clearly says it's a problem FOR fb/google/etc. They have acknowledged the problem repeatedly in the financial statements. Maybe try reading a little closer?

So poor FB and Google have a problem because they cannot fit 50 ads on the screen. What a shame, they cannot make another $10 billion a year. To solve their problem we will wear some cheesy glasses so we cannot escape ads. Get what I tried to say? The glass solves Google's ad "problem," if but only if enough users become Glassholes. But why should they? What problem do they solve for average Joe that cannot be solved by iPhone or Android or W Phone? None
Indiegogo campaign frozen for 10 days due to patent complaint. It's back up now.
You're right, and I didn't notice that (in my defence, the link is not underlined and the link text is really dark on the non-mobile version of the site, so it was easy to look over). That is a bit more of a call to action than I initially thought. I still don't think it was in quite as bad taste as AngryParsley suggested though.
Serve files from GitHub with the correct content types
Eventhough I have no ad blocker installed, I don't see the ads because my mind filters them automatically.
$2 Billion a year! All the good that could do, sigh.
Its made up of both actually. Somebody outside devops would consider pervasive use of sed, awk and other unix text processing utilities line noise. Yet such a thing would come naturally to that person working on it daily.

If you can't really get such stuff easily at the very first time does it mean you are a bad programmer?

Not quite.

The way I look at it, I would consider somebody good if he can read the documentation/theory etc and then come up solution to problems(read: can write programs). That way you know the guy can actually get some work done. It requires practice and time to get used to and comfortable to a new domain. That's natural friction you have to wear out. Regardless of whether its math, music, literature of whatever. Paying too much importance to factual stuff isn't of much use. What's more important is, can the person work his way out of the problem.

I checked out your bio, I understand you do math for a living and are obviously a little defensive when some one underplays the importance of your area of expertise. But the fact of the matter is though math is relevant, the areas in which its relevant are largely either rare or are already solved and presented to most programmers as libraries and frameworks. And if its not, simple analysis, a little reading and experimenting is sufficient to solve the problem at hand.

Your problem is not with programmers but with a term called abstraction. And fighting that is futile. The benefits vastly over weight any intellectual argument you can present against it.

EDIT: By the way after reading your bio, I have developed atmost respect for all the work you have done in your life.
Very glad I'm not the only one to notice it.
One thing you could do is petition the users that aren't using the app to revoke access to twitter which would free up some seats. This would be tough though since your uusers paid for the app and could potentially lose a seat in the future. That's the approach that Tapbots took with TweetBot for Mac: http://tapbots.com/blog/news/where-did-the-tweetbot-for-mac-...
A Tale of Two Queues
Pirater un compte Facebook | Comment Hack compte Facebook
There they refer to "active installs". Its still possible they sold 100K apps, everybody tried it (used a token), and 60K people deleted the app again. Those people then didn't reject their token in Twitter's app setting (which almost nobody does).

If it were indeed 60K pirates, that would really suck.
IPhone: Le Smartphone le plus fiable au monde
This is less dangerous than your mom losing a folder with all of that stuff in the train. Which would be worrying, but not "in a panic" worrying. As others have said, relax.

(In case this is the question you were asking: there's no reliable way to hack into any of the major e-mail providers that I know of. Getting access to another's account is highly unethical, not to mention illegal; it's unlikely to reduce the number of problems you have, especially if the risk is less "caught for being a foreign spy" and more "identity theft".)
Anthropology Inc.
If pragmatism was their main concern, then they would have been using make, shell scripts and the common UNIX commands from the very beginning. This would have given them support for Linux, Solaris, the *BSDs, Mac OS X and a number of other systems right away. Windows could've been supported with ease by using the various ports of those tools. Those tools are extremely capable and well-proven for creating reliable, cross-platform build scripts.
That sounds insane if true. Unfortunately, not implausible coming from Twitter.
as long as she didn't send any passwords, i wouldn't worry. that info is basically useless to the average person. and such info about an average person is basically useless.
Twitter has already made it clear that they don't want third party clients on their platform. They didn't budge for Tweetbot, why would they budge for Falcon Pro? On the one hand, that's just an inherent risk to writing apps that rely on third party platforms. On the other, Twitter's behavior has been very shady around this whole matter, especially having once allowed third party clients. For a company that is so forward-looking in many ways, this type of behavior is a real step backward.
Seeing how many companies are unhappy with Twitter's new policies, it seems a bit strange that they don't band together and make something different/new.
>> I gather that the Chinese value a person's life differently from westerners.

Chinese people do not value their lives or their children's lives any different to any other country on Earth.

The Chinese government may value the lives of its people less than say the US administration. But that's mostly because of tort law and ballot boxes. Not that we make inherently nicer politicians.

I know that's probably what you meant, just wanted to be more precise.
> there's no reliable way to hack into any of the major e-mail providers

I'd argue that the "forgotten password" forms on most major e-mail providers is a trivial way to hack them.

In particular if you can research someone. Like if you can cross-check the e-mail address in google, then find a Facebook, which gives you more info which you can leverage again for yet more...

Obviously unethical and illegal. But reliable.
As someone who has embarked on losing weight recently, this would definitely come of use. It's quite frustrating to lose a pound here and gain a pound there and not be able to see if you're losing weight overall.
When Motorola bought 280 North, they also got Atlas. For whatever reason Motorola never continued Atlas/made it public. Most Cappuccino developers instead use Interface Builder to layout the interface and the tool nib2cib to bring it into a Cappuccino project.
7 Lessons on Managing Risk From Olympic Champions
Radical Simplicity: Small Footprints on a Finite Earth by Jim Merkel http://www.radicalsimplicity.org/radical_simplicity.html an excerpt from page 5 ...

a computer uses 1000 substances, including 350 different hazardous chemicals in it's manufacturing processes. (6) computers' designed obsolescence earned 20 million machines an early retirement in 1998. you also remember reading about the rural rice growing town of guiyu, china, which has become an electronic waste (e-waste) processing center. women and children earn $1.50 per day to strip computers down to components. soil and water tests there have revealed lead levels 2400 times greater than those allowed by the world health organization's guidelines. several other heavy metals tested far exceeded the environmental protection agency standards: barium by 10 times; tin by 152 times; chromium by 1338 times. a year after the operation started, the village had to truck in water. many of the substances are known carcinogens or cause birth defects and skin and lung irritation.(7)

6,7 puckett, jim and ted smith (editors.) Exporting Harm: The High-Tech Trashing of Asia http://www.ban.org/library-page/order-films/exporting-harm-t... seattle: Basal Action Network, 2002. a joint report issued with the silicon valley toxics coalition http://svtc.org/resources/reports/
For what it's worth (I've only taken one college level course on computer vision, plus some side projects) my experience with matlab is that it's surprisingly easy to put together a short solution once you've figured out what's actually needed. The matlab CV API is very broad and pretty well documented, so it's less about knowing the math and more about reading the manual. In that regard producing a concise solution to a CV problem is very much like producing a concise solution to most other problems in any language.
Hiring Engineers, a Process
I see a lot of the person who got me into programming in this original copy. The SNR of this document is favorable when compared to that of the currently maintained version, to my sensitibilities.
Oh I dunno, Rumours is still a great record.
WordPress Template Hierarchy explained
And look where Yahoo is now...
Exactly. Also, it is or should be obvious that its an historical artefact, and there for has important value, and not seen as something useful today. Although, it could be.
I was incorrect.

> These tokens dictate how many users Tweetbot for Mac can have. The app’s limit is separate from, but much smaller than, the limit for Tweetbot for iOS. Once we use up the tokens granted to us by Twitter, we will no longer be able to sell the app to new users.

From: http://tapbots.com/blog/news/tweetbot-mac
TweetBot costs more. But in the long run it loses more and more features.

The last update got rid of the "show retweets" button because of API changes at Twitter.

Maybe we should use Buzz. Oh, oops. :-)
Nobody is suggesting that other programming languages don't have oddities or problems. But very few, aside from perhaps PHP, are riddled with the huge number of senseless, if not outright stupid, issues we see with JavaScript.

It's pretty telling that Crockford's "JavaScript: The Good Parts", which is the most widely-recommended book by the JavaScript community, essentially says to not use huge parts of the language. One doesn't have to intentionally avoid so much core functionality when using most other programming languages.
Anti-racism initiative receives criticism for its portrayal of whites
Yay another one. This is what SO community wikis are for.
As a Chinese HN reader, I have to say something. It is not surprising at all that all these happen in China. Food is poisonous, air is unbreathable, rivers are smelly. All this attributes to one single fact, this government only wants to loot from the country. The people have never had the right to made a single vote to select a president for the country. If people do not show "necessary obedience", they would have to face police or tanks.
It is even a total waste of time for me to write this comment here because I am writing about things that would never change unless the country is overthrown.
Before we blame China let us all be reminded that the per-capita pollution of Americans is much worse than of the Chinese.
Economics 101: If you know that there is a limit to the number of customers you can support, why not scale the price the price up as demand for your product increases to curb that demand? You get to ensure that those who value the product the most get it. It seems like an interesting model to try in such circumstances.

I zipped over to the page, and Falcon Pro for Android is a buck, with the following message:

"And Please RELEASE your access token from the Twitter settings on the web if you're not using the app anymore."

Sorry, but if I bought it I own it. If this isn't a lesson on "Don't undervalue your product", I don't know what is.
Cannot decide which is a worse language, Javascript or PHP.

It is quite amazing how much effort people putting in to designing the "perfect" language, and yet we continue to see highly flawed languages get popular.

I wonder if we'll ever see a replacement for JS in the browser? Maybe just a JS-strict with all the gunk and strangeness removed (and maybe the libraries cleaned up a LOT).
The Secret Weapon
They were also forced to change the orientation of your own tweets (they used to be on the right), and to change the way tweets are displayed in the full view. Notably, they didn't comply with the rule that says that all tweets must have the twitter logo present somewhere on them. Hopefully that one doesn't come back to bite them.
MS astroturfing seems to be on overdrive the last year. It is so bad now that I treat MS product reviews with the same skepticism as the national enquirer. For example, the sudden journalist interest in "Microsoft is cool" studies this week. I think it is trashing the reputation of PC mag and CNET, but it is giving a great opportunity for individual journalists and bloggers to build their own credibility.

In the meantime, I'm thankful for my technet subscription so that I can make up my own mind.
> you can't pollute under an honest government

I'd say not "honest" but "answerable", those that can be held accountable by the society.

I can't imagine anything like Watergate or Clinton impeachment attempt in the present-day or Soviet Russia. Chinese people managed to remove one particularly corrupt Party official recently IIRC, but the whole structure is still too opaque and out-of-control.

So, free press, independent courts and the ability to remove people that screwed up. If you can suffer as a result of your mistakes, you'd be more careful, and vice versa.

Now, on a related note - how was held responsible for the 2008 crisis, the pyramid of subprime mortgages etc? Or for the Iraq War, which was started on the premise that Saddam had WMD, which he in fact hadn't?

If the USA keep going like this, the future might be very interesting for them.
Warning: Graphic Crime Scene Photos: Teenage School-Girl Raped and Murdered
We don't need another Twitter. The model where one company owns an information channel like this is "broken". It is the CompuServe of short messages. We need a distributed architecture, so that nobody owns it. Like SMTP... oh wait, spam. Hmmm.

I think that there must be an architecture that solves that problem. Getting it adopted though, is a whole different ball game.
Most useful jquery plugin ever
Quantum cryptography could make grid more secure
What if they sold their code to a different entity, which would rebrand the app and use a different token? Marketing issues aside, wouldn't it buy them slots for 100k new users?
Because of semicolon insertion, Allman-style braces are frowned upon.
https://www.google.com/search?q=javascript+brace+style
Ask HN: Is there an HN style news site for non-tech topics? If not, why not?
Redesigning Medium — Product Design — Medium
function myFunction(arg1, arg2) {}; // This is OK, but...
var myFunction = function(arg1, arg2) {}; // This is best!

The second option is better, and is properly scoped, but it leads to certain syntax problems once you get into closures.

What problems? How does assigning the function to a variable help avoid needing to make a closure for this?
Person with a long rifle and body armor in the Main Group Building of MIT
Does that mean we should all thank Twitter for creating this scarcity so we can charge more for our products?
The Chinese Are Coming? The Chinese Are Coming?