skysight-inc/HackerNews huggingface dataset:
> Python has at least 3 features that are not needed in languages that have proper support for anonymous functions and that are more expression oriented:

> 1. for comprehensions

Off the top of my head Scala, Erlang, and Haskell -- all of which are "more expression oriented" than Python (and all of which have robust support for anonymous functions including multiline anonymous functions -- the latter despite, like Python, having indentation-sensitive syntax), all have comprehension syntaxes like Python's for comprehensions.

So, I'm not entirely buying the idea either that "being more expression oriented" or "having proper support for anonymous functions" eliminates the utility of comprehension syntax.
Diaspora social network cannot stop IS posts
Anecdotally, I have to be very cynical that an uptake in "green energy" technology is the cause. I live in Fuzhou and almost never see solar panels in use anywhere, and electric bikes are being replaced by cars owing to increasing wealth and government policies discouraging their use. China is investing in green technology so it can be no1 producer, not as no1 user.
I caught that too, words cannot express my distaste for that kind of mentality. It's unfortunate that normalcy to the author is not keeping track of finances and buying things you cannot afford.
This is much better advice than the grandparent.

Indeed, if you found Dune too difficult and political and expansive, don't go for God Emperor of Dune.

But if you do like that sort of stuff, someone telling you to stop at Dune would be criminal. God Emperor is easily the best in the series, IMO.
tl;dr - a neural basis for insomnia: "The new findings demonstrate for the first time that a group of inhibitory neurons are substantially diminished among the elderly and individuals with Alzheimer’s disease."

Lack of the inhibitory neurons may prevent the brain from entering and maintaining sleep states.
You also produce more, which means you can export more, thus giving the economy a boost overall which raises standards of living because you can get more foreign goods for your $.
The article lists factors such as inflation, geography (the coasts are more expensive), kids, and healthcare, but not underlying reasons.

Some people want larger homes, more cars, bigger lifestyles (over-the-top weddings as an example), communication and entertainment (expensive cable, internet, and phone providers, just to start). And the allocation or misallocation of resources within the health "care" system is another reason that average income doesn't seem enough.

The few tips at the end -- live modestly, save a lot, and don't get hung up on status -- are barely a start.

The goal of "living the dream" is left unexamined or unquestioned.
From your sources [0] and [1], I am inclined to believe that if such a program were in effect it could influence ozone depletion, but there is no indication this is happening, let alone that it has been since the '90s.

If I find a paper telling me the potential side effects of shredding dollar bills in the upper atmosphere* and a video by chemtrail conspiracy theorists, does it follow that the government has been shredding dollar bills in the upper atmosphere for the last 20 years?

*Deflation? Rich birds? Wealth trickling down?
Two incomes in a home is not required, it is just that our lifestyles have evolved to "require" that. Home prices over last 40 years adjusted for inflation have not changed very much (besides in the bubble in mid 2000's).

Previously on that one income a reasonable 40 years ago family could have a home, a TV, a car, and take inexpensive road trip vacations. Now the typical family has multiple cars, homes much larger than in the past, a vacation could be flying to some destination, $100 cable bill, $150 phone bill...

So if one wanted to live like in the past it is certainly attainable on a single reasonable income. That may mean "only" having a 1700 sf house with one bathroom and one car.

Even since I was a child things have changed a lot. The typical new home today would be something I would have considered luxury as a child. I think that things changed a lot in the dot-com -> Real estate bubble era that gave Americans a taste for luxury that is now the normal.
Not my experience with Chinese hospitals, and I've seen several (with consultation fees of 2 CNY - not the entitled rich crowd). Usually there are five or six other people pushing each other to get the doctor's attention inside the office. It's nearly impossible to be seen without some less-than-violent strategic body positioning without eye contact. No such thing as privacy, even in gynaecology.
Which makes substantial profits for the home builders but very little in the way of more affordable housing.

The price of a barrel of oil is determined by supply and demand. As the price goes up, more production is brought online which is now economically feasible. So at $100/barrel you've got the Canadian tar sands projects which make oil for something like $80 a barrel worth of cost so the company can make $20 a barrel.

But there are still tons of wells out in west Texas that are producing oil for $20 a barrel in cost. The people that own those wells are making $80 a barrel in profits.

If housing prices are high home builders might be able to build less expensive houses but they have no incentive to. They can sell the houses they build at market rather than below market prices. It might increase the supply but that doesn't necessarily translate into reduced prices in any kind of a reasonable timeframe.
> I grew up (and now live) in rural Appalachia... In most areas of the U.S., a six-figure household income is enough to have a warm place to live and healthy food to eat..

I completely agree with everything you wrote. I grew up in a rural community, too. I see how DINKs overspend on things they "need" all the time.

However, something you're missing is the safety premium. Often it's not possible to live modestly in a safe, clean neighborhood with good schools within a reasonable commute distance of work (especially if both spouses work).

The long-term answer might include more telecommuting so people can live in Appalachia and still be productive, but that requires a big cultural shift and doesn't help all jobs and careers.
> And doesn't that mean that in real terms we're earning half as much?

Yes. It does. Average earnings per person started to drop once women entered the workforce, presumably since at the beginning it was a big bonanza - "hey look at this! twice as much household income!" Over time the dual income averaged out to what it is today, but now both people have to work.
Not if you can buy the computer without the 'bundled' OS, or better yet, build your own from components.
The Ferguson Fellowship by the Huffington Post
"...is enough to have a warm place to live and healthy food to eat, with enough left over to provide security during times of famine"

That's a great definition of being middle class. I'd argue being rich involves having far more resources than that.
> It is a very good choice if I know the algorithm and data structures exactly in advance.

I'd say the exact opposite: the great strength of Haskell lies in its powerful support for abstracting things out so that these things can easily evolve independently. The hard part of taking advantage of this seems to me to be that we're used as programmers to not having those tools, so it is hard to get used to thinking about doing that kind of abstraction.
Framework: Caveman2[0] or Ningle[1], which run on Clack[2] (like Rack/WSGI), which supports five backend servers.

Templates: Djula[3], closure-template[4].

ORM: Crane[5], Postmodern[6].

[0] https://github.com/fukamachi/caveman

[1] https://github.com/fukamachi/ningle

[2] https://github.com/fukamachi/clack

[3] https://github.com/mmontone/djula

[4] https://github.com/archimag/cl-closure-template

[5] https://github.com/eudoxia0/crane

[6] http://marijnhaverbeke.nl/postmodern/
Is someone going to put Emergent Orange down to improper scaling?

http://krazydad.com/blog/2013/12/05/emergent-orange/

(Emergent Orange made to front page here on HN yesterday.
However, this gamma article says the movie industry gets gamma scaling right, and KrazyDad's day job is for Disney iirc.)
What Are Hedge Funds, and What Social Functions Do They Serve?
I'm pretty much with you here. Saw a few comments on how it's hilarious and awesome copy, and all I saw was a bunch of cursing and... Well, and more cursing, I guess.

Don't get me wrong, I'm pretty foul-mouthed myself, a bit too much, even. And I'm not totally against cursing in a page like this, target audience and all that.

But I find this to be totally UNfunny. Reminds me of a little kid saying "poop!" and bursting into laughter. Made me scared about my age as well.
Then I might have misread that, sorry - 2MB would have been really surprising as a default. I fully agree about the auto-tuning!
Shamer: Gamified code coverage and automatic Github integration
Google Research Awards: Summer 2014
Linus Torvalds Still Wants Linux on Desktops
I see your point, but I don't think the fairness you want is really fair. I have to ask the question; fair for who?

Firstly, the world didn't forge ahead with the industrial revolution in spite of the environmental costs. No one was initially aware of those costs. Now we are, and there's a push for everyone to change their tactics. I think it's fair that everyone has to change, but I acknowledge that it's a bit unfair that the west got to profit on those mistakes. But that's just life.

Developing nations now have real solid data on the environmental damage an industrial revolution will inflict not only on their part of the world, but the world as a whole. Is it fair to ask them to factor that new knowledge into their plans? Maybe it's not exactly fair, but it's a reasonable request I think.

But then what about a child born today? Is it fair for that child to grow up in a world where the air they will breath becomes more dangerous with each passing second, even though the adults of today know what they are doing and have it in their power to not do it? I think that's unfair.

And it's not like China's industrialisation has helped all Chinese. It's helped a few people. Is it fair that all citizens of Shanghai should suffer the health effects of the pollution generated as a result of 1 persons endeavour to maximise a profit? I don't see it.

This is not to say it's a black and white issue. Someone somewhere has to get a rough deal. This sadly is the world we've created for ourselves, and the rules we've decided to live by. It's not fair.
AH - counting disk space. Yes, if you mapped all that into one computer's address space you can make the math work out.
Very nice. Seems to be vector-based (ie. how the eraser and undo/redo work, and allowing things like pan&zoom).

I'm the author of a similar tool, https://awwapp.com/ , which is bitmap-based, ie the eraser works as it'd on a physical whiteboard, and there's no zoom (or undo/redo).

Great start, looking forward to seeing the future progress!
I think there are a couple of factors you're overlooking.

Consider the case of a dental hygienist married to a nurse. In SF, they both earn about 110k a year. So $220k is a high salary, comparable to a physician in a modestly paying speciality.

Here's the thing... I think payroll deductions apply to the entire 110K of each dh and nurse's salary, but only the first $110k of the physicians salary. However, the second salary in the two-income family will be taxed at a high rate, on top of the first salary. Furthermore, physician's husband, who doesn't work, is available for full time child care. The nurse and dental hygienist have to arrange full time day care for their two young kids, which runs about $20-25,000k a year per kid in SF. And because they are a very high income family, over the "ultra-rich" 200k threshold, they don't get a tax break.

Even close to 100k, that second salary may have a marginal value close to zero once kids enter the picture.

That doesn't mean you shouldn't work just because the marginal value is low in the moment - eventually you get to come back up for air, and people who continued to work are often much better positioned to advance again. So there are benefits.
Startups Who Hide Early Work Only Fool Themselves
Strangely hypnotic 404 – turn up the sound
> Many of the last items in the list should be in the category "Scheme". Racket is a dialect from Scheme, but it still is a Scheme.

The name was changed to Racket from a name with "Scheme" in it because its not a Scheme in the strict sense; Racket does not conform to any of the Scheme reports (though its bundled with language definitions that do, as well as lots of others, but the Racket language, while near Scheme, is not.)
I think they're poking the perception even today that people have. If you say to someone that you earn 100K they might claim that you're wealthy or rich, but the as the article states it doesn't automatically mean that anymore.

I'd agree with you that $288K makes someone wealthy or rich, but human perception and the reality aren't often one in the same.
looks good to me, congratulations
Ah, right. http://jsfiddle.net/41s1wqhs/19/

I should note that this means links that span multiple words wont break. That can easily be fixed with a little more effort though. My point is this is concept is very easy to do with css, especially when you have control of the exact font and size it's rendering in, like Medium does.
| America doesn't need to trade with China, but it does anyway.

America certainly needs to trade with China these days. Our economy cannot support costlier manufacturing these days
10 Practical Tips for Software Engineers
but george-harrison-has-an-opinion is a lot easier to type without mistakes than An6X9z16Q.

and really it both sucks, which is why many print magazines collect an edition's links on a special page like magazinename.com/2014/5.
Do what you like. Are you aware of the impression you give ofyourself when you badmouth others?
Thanks for the reply, which business fields is this experience coming from?

I could be biased by the industries I worked in (telecom, engineering, banking), there was a constant push to bring down opex spending, by squeezing suppliers on maintenance fees, reducing headcount and improving efficiency (especially in IT). The target is recurring costs.

In those businesses capex looks good in annual reports as they tend to show investment in infrastructure, security and business support tools and software (we invested X$ to improve our telecom infrastructure, call center or any other field of the business). It shows a willingness to stay current, ahead of competitors.

It just shows that knowing how your potential customer are structured is important. Especially for large enterprise customers. Your business model needs to follow those trends.
Exactly. Anyone who objects to easter eggs because they may accidentally introduce vulnerabilities should be objecting much more strongly to features of the application that they don't need. If you want to know every aspect of a program, then you need to own the code and be brutal about stripping out features that you aren't currently using.
? not at all -- you make the deletion of the directory dependent on whether or not you tested true for the directory being present. I don't see why this would cause any race condition...
osm as hell
It is problematic for dual-income households with kids.

In these situations, kids are raised by a combination of:

1) Extended family (typically retired grandparents)
2) Daycare / child-care / "school system"
3) Private child-care (e.g. nannies or babysitters)

#1 is cheapest, but ties the family down to where the grandparents are. Both parent jobs need to be located relatively close by.

#2 typically take a huge chunk out of the 2nd income (which is almost always unfairly compared against the mother's income), at least until a family can survive/pay for such child-care until public schooling becomes an option.

#3 is only really an option for those that earn enough to support a full or part-time babysitter.

Sometimes you'll see a combination of #2 and #3, but that again is only really an option for those with enough cash-flow. Some preschool programs are even more expensive than a decent nanny, although ones loses out on the socialization aspects that come built-in with a daycare program.

Home life (beyond kids) for dual-income households is a shared responsibility. I don't think much changes there whether you're a single income or dual-income household. If you're talking about chores like groceries, cooking dinner and cleaning up, that's what weekends and evenings are for.

In real terms, we may be earning half as much (or even less depending on the combined income), but the marginal incremental value of the career experience and/or additional dollars is usually enough that going dual-income wins out.

EDIT: @humanrebar mentioned the "safety premium". Households that have experienced layoffs in the past (friends/family/themselves) probably take into account that although both adults may be working today, that doesn't mean both adults will be guaranteed jobs X months/years in advance.
It is hard to determine that by myself. I think it is also hard to determine how much different on their essence are people from different cultures.

Said that, I think it is more rooted in my own personality. I have good social skills, but I consider myself an introspective person. I always liked the silence, I don't care about small talk, I enjoy eating by myself, thinking for hours alone, etc. So my personality would be in opposition to the brazilian culture in general, in this sense. So I could see how our culture can be inapropiate some times. But after a time, I decided that there was more happiness in being part of a society than in being totally focused on myself. That dichotomy that is not obvious at first and me and the Hermit arrived at a similar conclusion. The diference is that he is happier opting out of society and I am happier opting in. Not that I betray my nature. I still enjoy a lot my moments alone. But I learned to see the value in connecting with another person, in developing empathy, not just self-awareness.
On a Mac, I like tpp, which can be found at https://github.com/cbbrowne/tpp. I installed it using Homebrew (brew install tpp), which will install the necessary Ruby dependencies. Optionally, for huge letters, you'll need FIGlet (brew install figlet).
Span: a scaling and distributed systems conference for London
With no visible track record how can someone expect to believe that you are who you are ?

I wont open up my house on you staying there, if i dont know with i will be crushing there for a couple of months !

Perhaps, a way to prove that you have done what you did then perhaps people would be more acceptable, but i doubt that will happen in US.
Visualization of Statistical Classification Metrics (open source)
Gramofon
what is osm?
Sorry. Its Awesome...
I am having trouble modeling a Bootstrapped Freemium to Premium conversion. Even with generous Freemium growth and a decent conversion rate to Premium I don't see much revenue growth over time.
Technically Design: Design how-tos for technical people
Messenger warfare: I put same-day delivery to the test
This comes up a lot. Sometimes they talk about a car, for a while there it was always a "plasma tv". Financial advisors, talking about middle class debt and financial struggles, would ask you, do you really need that "plasma tv".

San Francisco is probably an outlier, but with the median house price at 1.1 mil, and full time child care costs for two preschool kids at $40-50k a year, a plasma tv is a minor rounding error in the cost of living.

So while I agree with you about the TV, and the car, and the consumerism in general, I do think it may be a way to blame the middle class for not paddling hard enough toward shore as the ocean current carries them out around the rocks.
Jodorowsky did read Dune according to the documentarian:

"The truth is that he had not read it when he had the idea to make the film. At that point, someone had told him it was good. Hilarious. But once he embarked on his mission, he of course read it as he did the screenplay adaptation before anything. His film would have been remarkably loyal to the novel, of course with some of his own genius in the mix."

http://www.reddit.com/r/movies/comments/2csd3c/frank_pavich_...
re:2

I think this is extremely difficult decision to make if you have moderate success. If you can turn turn $0.30 in profit of out of every $1 invested, and it scales, how do you make the decision to remain boostrap and earning $2M over 7 years vs. raising money and making $100M by year 5.
You might also be interested in ClipMenu for OS X as well:

https://github.com/naotaka/ClipMenu

It's a bit of a Swiss Army knife for the clipboard, and among other actions, allows for user-created Javascript to act upon clipboard contents. I don't know if the scripts can be called automatically, however.

http://www.clipmenu.com/static/images/screenshot/en/pref-act...

FWIW, the documentation says it's for OS X 10.5-10.6, but I have it running on 10.9 without issue.
[Podcast] Newsjacking with David Meerman Scott
The fact that majority of people think programmers are superhuman... I can live with that.
If you own a family home in some neighborhoods, you have a million dollar net worth. Even if you inherited it from your folks and minimum wage goes to property taxes instead of rent.

Granted, you could sell the home and join the regular rat race with everyone else, but what's the point of being frugal if you can't leave the surplus to your kids?
We can even fully infer types if you're willing to accept some quite reasonable restrictions on how polymorphic your code is.

Personally, I don't consider "don't pass a polymorphic function to another polymorphic function" and "don't demand a polymorphic function as an argument" to be all that reasonable.
> not through choosing -48585 as the code for killing everything)

Actually, only -1 is the code that "kills everything"

> There'd be far fewer bugs if everyone knew exactly how everything else works.

Perhaps I misinterpreted your meaning, because you seem to be advocating using programming and scripting languages without actually bothering to learn them. Of course this can, will and does lead to very bad effects.

The bottom line is, if you are going to use a function in your program/script -- please, read the docs and understand what is will return at the very least.
Does a homeless person have a carnival of delight available to them?
Care to share income numbers (assuming it is ads based)? thanks
I closed the tab the moment I had to register.
No write up that I know of. I used it in systems I've made in the past. Some of our services were running in a realtime priority and we needed a way to take care of such a system mostly in development.
One Thing Every Startup Can Learn from New York's Latest Sports Team
Why Typical Career Advice Doesn't Work for Women
clearly you had a remarkable college class...
Really cool, i'm missing CMD+Z as Redo shortcut
I read that the reasons they choose a tree structure is because of the speed. A tree structure with no cycles make sense to have a better speed. How do you compare this issues in firebase and appbase?
Yes typeable text is high on the to-do list (although on a touch-screen tablet it's probably just a efficient to draw the text)