skysight-inc/HackerNews huggingface dataset:
The point ITendToDisagree was making is that the causality between starting poor and ending poor is not direct, i.e. starting poor = ending poor is too simplistic. The truth is there are a myriad of factors at play, but what we can say is that starting poor ends up being a big disadvantage to overcoming poverty in our current system. It's not about downplaying this factor, it's about recognising there are other factors at play, including factors that can tip the odds in someone's favour, the main one being education (and an enriching social life, but that's harder to mandate).

Look at countries like India, they still have huge issues with poverty, but it's also clear that the focus on education has been instrumental in their growth in personal income. The issue with countries like the US is coupling poverty with a system that does not have the same broad level of commitment to education. The situation will continue to get worse, but it doesn't have to, that's the real tragedy.
I said you can use anti-patterns in small programs, not that singleton is an example of an anti-pattern. I don't believe singleton is so terrible as to be an anti-pattern, even for big programs. I just think it has some downsides that are really worth considering before you use it.
This is rad news. Data FTW.
I'm watching this scream up the front page of HN. Again. It did the same when it became popular a few months ago, not least for all the apps that suddenly popped up. People quickly wrote an app over the weekend and told us about it here.

It seems perfect, doesn't it? Just seven minutes every day and you too can be amazingly fit. I wonder how many people actually stuck to it every day, and how good the results were. I doubt we'll ever know. But you know, it's only seven minutes.

Full intensity.

Every day.
Scaling Netflix – Methodology and Tools Used
So, have we decided on what would be a better approach for storing global state?

Static variables and methods? Pass the instance down to all children?
One could ask if that's actually a good thing.

You also get the same thing from the existential operator in coffeescript, if you're in to that.
Have you got an ad-blocker running?

I believe that box is meant to be an ad, which the creators of Bootstrap use to support the project.
It will still be here when the world is ready
>Eventually the cost of pumping out the aquifers will reduce demand to the aquifer fill rate.

What actually happens is groundwater salting which starts at the coast and works inland, killing pretty much all plant life as it goes.
You're blocking an ad.
How much does social mobility ever change?
Even if the income for the poor and working class has risen compared to generations ago, something that many forget is that absolute quality-of-life for many of them has gotten considerably worse in very important ways.

Examples: violent neighborhoods, failing schools, housing blight and decay, lack of access to open space and parks, lack of preventative health care, lack of access to role models for children, lack of access to healthy foods.

Even if they have a smart phone and a flat screen TV, what do those things mean when you don't have the basics listed above?

I don't think the poor are as upset about differences in income as they are about the fact that they are pushed into, IMO, sub-human living situations.

The real question is, why have we made a high income the price of avoiding these terrible circumstances?

EDIT: Added a summarizing question.
1. so you're not only using singletons but you're using them in horrible ways, that's just great

2. to pass your singleton around, you need to know its type. If you know its type, you can just bolt the methods on the type itself and get rid of the useless singleton
You're sort of just re-stating the question. I think everyone understands that's the way things are. The OP is saying that the way things are doesn't make much sense.

My guess is that the thinking goes something like this: White hats aren't going to hack us anyway, and will be fine with the tiny rewards we give them. So there's no reason to increase the rewards for them. Black hats probably aren't going to be dissuaded even by very high rewards, or perhaps even with high rewards they'd try to have their cake and eat it too, selling exploits first and then reporting them. Basically, they can't be trusted so trying to buy them off with a fair-market price isn't even worth it, so we may as well ignore them in our pricing strategy.

I don't know if that reasoning is correct, but I think approximates the thinking that leads to the status quo in this case.
This looks great.

I especially like that they have 'rules for us' and also they have a section at the bottom which discusses discretionary bounties for their properties not covered in the main list.
...also doing the same thing everyday, at full intensity will result in injury
Yep, that's exactly what I meant. Thanks for explaining it better than I could. ;)
Things I learned at a code school
Curious what people's thoughts on using a CDN for these sorts of things (Bootstrap, JQuery etc) versus deploying it on their own sites.

It's an extra DNS query - but thoughts on overall impact on performance?
What could possibly go wrong...

Anonymity + Audience =
http://www.penny-arcade.com/comic/2004/03/19
The main advantages of Zurb was that it was using Sass, now that Bootstrap uses Sass, I wonder if it will win back some users.
You have element.classList on all modern browsers now:

http://caniuse.com/#search=classList

It used to be that the first thing I'd reach for when building a prototype was JQuery off a CDN, but now I find that more and more of what I use JQuery for is built into the browser, and in my last few prototypes I've just stopped including it at all because I don't need it.
Please can we embed jQuery in browsers instead of the standard being to use Google's hosted copy.
6 Ways BYOD is Reshaping the Consumerization of IT
Real programmers ship, i.e. real programmers that work for sane companies and management sometimes ship code that customers actual want. Shipping products is rarely dependent only on programmers.
Why not use the Python built-in method "anystring".isdigit() ?
The question is, how many of those gory details still exist in modern browsers? There's not much to test if you're just calling el.classList.add().
It's on the homepage http://getbootstrap.com/
10 valentine’s day E-commerce marketing ideas
Visual-lambda – Visual environment for lambda calculus
Me too, you always learn something new :)

http://en.wikipedia.org/wiki/Swale_(landform)
You don't need an abstraction to do something that's natively implemented on your platform.
iOS user here. I have Colloquy Mobile, with a backend of ZNC/Bitlbee, which bounces IRC and various IM protocols to my phone.

But it's by no means a layman's solution...
Hi, I'm one of the founders. You said it exactly right – this is a place to share openly and honestly with your friends about day to day things and sentiments, and not for crime or other illegal activity.

That being said, we also have implemented a number of measures to prevent triangulation. For example, your friends' secrets will remain hidden until you have enough friends on the network. You can't just sign up with one contact, that won't work.
Download the app and use Airplay's mirroring functionality. Both your requirements are met.
Srsly, what Python programmer writes the code in the "Bad" examples therein? This list looks like it's from 2005 or something.
If you think it's an issue, go talk to the EPA, they approve all the of the deep injection wells used for waste containment.

http://water.epa.gov/type/groundwater/uic/

Edit: Actually, something doesn't make sense, the type of well described has been banned in the US[1]

[1]Inject hazardous or radioactive wastes into or above USDWs. These wells are banned unless authorized under a federal or state ground water remediation project.
The question that comes to mind is whether you mind paying the taxes yourself, not what you think about foisting costs on others.

That's a shift of the argument and discussion.

And the simple truth is that taxes are and always will be a form of mutual coercion, mutually agreed on.

So long as the taxes are levied based on the ability to pay and not on "what other definable societal subgroup are you a member of", then anyone who happens to win at the wheel of fortune (in the metaphorical, not game-show, sense) is equally included.

Taxes are the price of a civil society.

Whether you are, as Anne Richards used to say of a fellow politician, born on third base thinking you hit a triple, happened to be fortunate enough to have been living on top of a patch of sand that had half the world's oil squirreled away underneath it (if you want to see a phenomenal story of windfall wealth impacts, look up the story of a few clans of former date farmers and oyster divers who got lucky), or just happened be be born within the geographical boundaries of one of the G7 industrial nations (the US, Canada, UK, Germany, Italy, France, Japan, though much of western Europe could also be included), scored at startup bingo, and/or were ruthless enough to take on all challengers to claim your piece of the pie (see the recent story of "anti-poaching" collusion among Silicon Valley firms), there are tremendous inefficiencies in how "the market" allocates its rewards.

Engineering systems almost always include negative feedback loops to prevent runaway destructive trends. Its a concept foreign to much of economics. Not in the least helped by the anti-empirical faith-based fundamentalism of Libertarian dogma that seems to be growing in popularity.
thanks Brandon :)
I would still stick with jQuery because it lets me achieve more by writing less. Out of many things, just see triggering custom events. It'd be horrible if I'll have to write that piece of code again and again and make sure it's bug-free. And if I contain that long logic into a function for re-use, and use this approach for everything listed on the page, I'll end up writing my own library that I'll be including in each of my projects. Wait, why don't I use jQuery instead which is battle proven and better tested than my library ever will be?
Saas and B2B blogs we read at Hipmob
I might try this... it wasn't actually named is_digit_char; I was actually writing a token parser for a "monadic" parser combinator library in Hy and my function was more idiomatically named there, integer-char? (after the CLHS function DIGIT-CHAR-P).
Ask HN:MAMP like tool for Ubuntu/Linux?
Does anyone know if a simple MAMP like tool exists for ubuntu/linux? Doesn't have to in GUI, actually preferred that it is not GUI, but a simple tool to add, start and end vhost.
Some of the examples are flawed. The ajax one for IE8+ is a big red flag, it's not as easy as that.

However, operating in the world without jQuery is scary for a new developer. I think it has its utility.

Note: I tend to prefer not to use jQuery, especially with AngularJS around. YMMV
And the followup is, when do you remove fallbacks from your code? Every time I think I should remove something I end up thinking, "well, it still works just fine, does it really matter if it stays for a little longer?"
> saying there isn't a single case EVER where a single is the proper solution is ridiculous.

Is it? Some things are simply mistakes to and through. Consider nailing your penis to a table, is it ever the right solution to anything, aside from "how could I get my penis nailed to a table"?
Healthcare.gov was a typical enterprise rollout. No big suprises
If the whole point is being anonymous, is account security important since I'd just rather make a new account instead?

Is this the real reason you need device ids?

> Secret’s concept looks fairly simple at first: Based on the contacts in your mobile phonebook, you’re plugged into a network without establishing an identity or even a static username up front, and asked to share any and everything to that network. While initially you’re only communicating with friends, those secrets slowly trickle out to others depending on whether or not your friends have interacted with your posts.

I'm not sure what to think about this. It sounds more like your app is game of "guess who this secret belongs to". While this is interesting (especially for everyone in college and younger), I feel that you guys need to change your marketing to better reflect reality. of course I could be completely wrong since hn is no longer the demographic for this type of app
I think the stresses are apparent if you have faced them. The main issue with being poor (speaking from experience) is the unavoidable fact that an unexpected outlay of $$ (car repair or trip to the doctor or parking ticket or broken water heater) can have such a profound effect on your finances, one which you may not recover from. The reality is that when you are poor, living pay check to paycheck, the margins are beyond fine. There is no second chance when life strikes, so the daily stress you feel is intense and surely has an effect on your state of mind. Soon you begin to feel trapped and that is when hope becomes a memory with survival the only concern. I feel fortunate to not have those stresses anymore and can tell you that the stresses I feel now are significantly less stressful in comparison. Stresses now could ruin my day but not my life (barring the most catastrophic events). When you are poor, everything $$ is significant and can have a radical impact on your life.
That's not being a singleton since you can have a second instance if you ask for it.
I might be speaking blasphemy here, but is the advantages of unit testing worth the increased code complexity?

In quite a few codebases I've seen, the amount of tests was entirely unrelated to how stable and maintainable the system was. Some times developers just fixed the tests, rather than the bugs. And in many cases, there were a slew of failing tests even though the system ran fine.
Sometimes doing it yourself makes sense. But most often using a well tested battle hardened tool is better. I rarely if ever build my own car.
The one obvious flaw is the "email us for our PGP key" - distributing the public key in private and over an insecure channel makes it vulnerable to replacement.

Has anyone written a "best practices" guide for designing a security page ?
Could this be what you are looking for?
https://help.ubuntu.com/community/ApacheMySQLPHP
What is he benefit or point in Facebook or Google doing interop with other IM systems? Interop seems like a desperate last-chance measure when you realise you're losing users.

I don't think there's anything technical involved. Unless spam is considered a technical problem, but denying federation seems to solve that problem considerably,
First monkeys with customized mutations born
In my experience, lack of clarity is caused by the executive team not making their true goals known to the whole company. A classic example is prioritizing seemingly arbitrary products/features in hope of pleasing a future partner or acquirer - employees won't automatically know why these obscure projects suddenly became important.
> Whereupon you can put tracing in to find out when the state was screwed up.

And then the problem magically disappears, but only when you trace it.
I've never liked jQuery. I use it because I am forced to. However, I will not write my own animation library, selector engine, and other helper utilities it provides.
a2ensite + a2dissite for enabling/disabling a vhost; for adding one, I have a template in /etc/apache2/sites-available, copy that and then edit
My point is that they are separate skills.
Bam, awesome just did that. My pecs are swollen and my abs burn.

Will put that in my company culture. Spontaneous workouts during the day hehe. xD
I tried to do a book report on The Three Musketeers in high school, only to discover the local library had discarded its only copy because no one had checked it out in years. (This was a few years before Amazon and Project Gutenburg, with no bookstore in town. Nowadays I own two different translations in print and have another on my phone.)
Define "modern"? IE8? Older Android browsers? How much compatibility are you willing to give up?
Announce: OpenSSH 6.5 released
Love the interface. Also, the videos of real people and not stick figures is a nice touch :)
Physicists Finally Made a One-Poled Magnet
If you actually read the article/paper from last year, it stated that you needed to do the 7 minute workout 2-3 times in a row in order to get the proper workout. The idea wasn't that you only needed to work out for 7 mins a day.
With New Funding From Omidyar, Versa Launches Its Network For Sponsored Op-Eds
Nuclear isn't perfect.

It's simply better.

Go see just how much toxic and radioactive waste coal mining produces. WAY WAY more than nuclear power.
Gary Vaynerchuk: How to Tell Stories in an A.D.D. World
One King’s Lane Raises $112 Million at a Nearly $1 Billion Valuation
Paywalled Journal article here;
http://www.nature.com/nature/journal/v505/n7485/full/nature1...
I think the idea is that if everyone serves it from the same URL, it's cached before the user sees your page for the first time.
If you are developing a library, then your users _Might_ need to support old browsers and _Might_ need jQuery.
Promise To Use jQuery AJAX Correctly?
I find it curious that on HN of all places, there are some who seem appalled that technology could be used to offset much of what we've done, largely as a fault of technological advancement.

That's not to say I'm against conservation. I think conservation is a necessity that few appreciate (having lived in a desert all my life, I have a certain appreciation for scarce resources), but comments like the one you replied to are exactly the kind we don't need. That is, dismissal of alternate solutions isn't going to help the problem get any better.

Out here, there's a large, untapped reservoir of brine that would be ample water to supply the neighboring communities for decades or more. The local government continues to humor bonds to build a desalinization plant every 10 years with conditions that the money will be redirected after 3 years if the plant isn't built, and unsurprisingly, the plant is never built. These greenhouses, if they work, would be a worthwhile experiment and probably substantially cheaper considering the wider variety of crops that could be grown and sold. Not to mention local growers could continue growing their crops without ruining the freshwater wells of their neighbors by running them dry. I just doubt it'll happen until the cost of pumping fresh water becomes too expensive or the wells are run completely dry.
7 minute abs, anyone?

http://www.youtube.com/watch?v=byEkJ3zRTcY
So the Firefox UI is much like the Chrome UI minus border radius.
Search 'alternative search engines' on DuckDuckGo
7 minutes isn't enough, but I think its pretty amazing what you can do in 7 minutes. While there was a good 30 minute of skill-building and warmups first, doing exercises like Fran in Crossfit (Three rounds, 21-15- and 9 reps, for time of: 95-pound Thruster, Pull-ups) is kinda neat.

But you need time for warmup, skill building, etc before that of course.
You know that is a joke right?
A Catfish Stole My Identity
It may be cultural, but it may just be economics.

I'd like to see that list controlled for cost of living. States away from the East and West Coasts tend to be much more affordable, which makes having extra kids more feasible.

http://www.missourieconomy.org/indicators/cost_of_living/ind...

EDIT: Scroll about halfway down for a ranked list similar to the one on Wikipedia.
Would changing the routine every week or so help?
...isn't that nearly the definition of being a professional athlete? :)
It's still more complex, because you still have to iterate over it.
> If you are at the point of your CS education that you are taking a serious look at machine learning and understanding the theory then you shouldn't have a problem translating into whatever your language of choice is.

This feels like begging the question. Why does that need to be the case? Why can't someone strive to learn machine learning _without_ learning a new language? Why can't they get a head start on the concepts early in their career? Is there some requirement that ML _must_ be an advanced topic, only accessible to polyglots that I haven't heard about?
Who's Writing Linux?
That's a great point - this is really awesome as a "learn the essence of what jQuery is doing for you!" and a little annoying as a "you don't need jQuery!".
Stripe-CTF 3 Writeup
Desalination? Yes [1] [2]

[1] http://www.acwd.org/index.aspx?nid=383

[2] http://carlsbaddesal.com
> Except that it's not. Global variables aren't initialised lazily

Depends on the language, and the global.

In java, a static attribute is initialised when the class is first used. Until the class itself is accessed and used, the attribute remains uninitialized.

In clojure, delay[0] will invoke (and cache) its body the first time it's deref'd.

[0] http://clojuredocs.org/clojure_core/clojure.core/delay
We have a challenge in that so many of our web applications are built in a way that prevents us from performing analysis across technologies. For example, a modern rails app will possibly include haml, sass, coffeescript, and ruby along with the usual html, Javascript, css, etc., that are included in the various gems and plugins.

There are a lot of ways to skin this poor cat, but at this time they are generally manual and therefore unused. As a result, we try to solve dead code problems as if it is an entirely new challenge.

Dynamic code, and especially code with insufficient test coverage, poses a particular challenge, but again, it is generally possible to instrument code to see if it is ever called by the application.
It's not limited to Scala though.

Google copied the limits of their .dex file format from Java .class files, except that the limit is (of course) per class in Java, while it is per application on Android.

People could have expected that they didn't do something this stupid, but hey, saving two bytes per .dex file was more important I guess.

They still haven't fixed this.
The thing fixed in Jellybean was a different bug in their code where they didn't deduplicate parent interface types.
An in-depth exploration of the art of Bash scripting
I think the question is, does your library need every function on that page? If so, just use jQuery. But do you just need one thing? Then maybe it's better to just make the one utility function rather than pull in all of jQuery.
Show HN: KanyeTest – A game that quizzes you on ~60% of Kanye West's discography
"Grahamians"?

Are you referring to pg? I'm not otherwise familiar with the term.

As to wealth being zero-sum, there's a pretty convincing case to be made, so far as I can make out, that wealth translates almost directly into per-capita resource consumption, and that the arguments that "decoupling" has occurred are pretty weak, particularly when considered at the global scale.

At best, as total energy utilization increases, per-capita efficiency in wealth generation improves, but that's quite consistent with the principles of dissipative systems: that higher levels of internal organization are possible, but only with higher total systemic throughput.

See: http://www.reddit.com/r/dredmorbius/comments/1vlksg/economic...
git fork jquery
git branch "fix-performance-issue-at-<feature>"
git commit ...
git push
Are they going to call it Circle?
We annotate each post with "Friend" when it comes from someone in your contacts. We will NEVER misrepresent that.
It would be nice to have this as a real Spotify app, they're written in HTML5 so it's pretty easy to do.
Honestly I think telling the corporation of PayPal that it should be destroyed, or truly threatened with destruction if they don't shape up, is a reasonable response to their abusive behavior. People are far too forgiving of misdeeds done by large corporations.

It's certainly an angry and illogical post but I can't bring myself to actually disagree with it.