skysight-inc/HackerNews huggingface dataset:
> America is not set up on a pay cash and live within-your means basis.

To be fair, neither is Europe. But from what I'm seeing younger generations (all of us currently in our 20's) are almost pathologically afraid of taking on debt. People avoid it at all cost. Yes, I understand Americans normally start life with student debt, but it doesn't seem like they're in any hurry to take on additional debt after that. Completely unlike our parents and our parents' parents generations.

I wonder what that will do to the economy at large.
Have you looked at Tahoe-LAFS? I don't think it's a complete solution, but it might be part of one.
Tabletop experiment could detect gravitational waves
On the Future of Object.observe [slides]
Is it possible for the california state legislature to create that sort of executive department for the greater bay area to resolve the deadlock? Or is there something constitutional that prevents it?
I'm currently reading The Instinct to Heal by David Servan-Schreiber [0]. It's not specifically about mindfulness, but so far I found it everything to be what I was looking for when I was looking for writings on these topics. On the internet I've seen a lot of essays pass by about mindfulness, but they're all a bit alike. This book is interesting to me because it gives info about methods I didn't know about, and provides scientific data and references to base its claims.
[0] https://www.goodreads.com/book/show/153401.The_Instinct_to_H...
How bizarre that you think hot summers are fine but cold winters are ill-suited to humans.

If we only lived in locations that are a good temperature year-round we would barely live anywhere.
Agreed. I suggest to my friends that if nobody could afford to live here I would expect less traffic on city streets.

Folks don't always appreciate how large an area we're talking about when we talk about the 'bay area' we're talking about 3 large cities (San Francisco, San Jose, and Oakland) and a bunch of smaller cities, in an area that is larger than all of New York city (which is nominally 490 sq miles according to Rand McNally).

And according to HUD New York has a higher per capita homeless population than California does[1].

I'm sure BI gets good rage views though.

[1] http://www.washingtonpost.com/news/storyline/wp/2014/08/08/w...
My point though, is I'm not referring to "bleeding edge startups." I'm talking about almost every major publisher here Conde Nast, Hearst, Wenner Media, Gawker, the list goes on and on. These are massive old and new media publishers that are embracing node, not startups in the valley.

Node is at a tipping point right now, and talking about how "dumb and shitty" it is won't change that. The technology has shortcomings no doubt, but there's just too many advantages to it from the business strategy side for the shortcomings to matter.
Interesting article, I never took the time to really think about this.

For optimal security, OP mentions that we should fix the underlying code, but I kind of disagree. Understanding all the underlying code is a lot of work and, except for extremely secure application, is not really needed. Also, hindering performance for security is not always the way to go (he mentions returning only at the end).

If you have ultra-secure tasks to do, you might want to do something like calculating the execution time of the function and sleep()'ing to add padding. Example code (doesn't work):

function login(){

execstart = utime()
// whatever code
execduration = utime() - execstart;
sleep( execduration % 100 ); // pad on at 100 boundary

}

You'd have to carefully choose your padding so the execution time is (normally) not revealed in the code.
They're experts alright but it would appear that although you can take the person out of the Smalltalk, you can't quite take all the Smalltalk out of the person (not a bad thing in my opinion).
Buried in what I said, was precisely this point. Allow housing stock to be created. Allow higher density in SF and in the El Camino corridor in SV. It's the activist and old timers who want to keep the area curated to look like it did in 1989 --it's deleterious.
That is really interesting :)
I find the built in one extremely flakey and hard to use. I usually have better luck with cgdb.
I don't know how to do [code] tags
I'm with you 100%. But how do you feel about something like a company picnic held on the weekend, if it was optional? Would you attend that? I usually try to go to those things, but I'm just curious how others feel.
Buried lede: Oracle uses GDB.
Japan hasn't suffered any meaningful deflation in the last 25 years. In fact, they've suffered immense inflation, as have most major economies. That's why they have among the highest costs of living on earth, their consumer goods are expensive, and almost everything in Tokyo costs a fortune.

Run 2% deflation against 25 years, and tell me consumer goods in Japan should cost what they do.

The only thing Japan suffered, was the bursting of a real estate bubble. Following that, they accumulated insane sums of debt trying to fake continued prosperity and avoid the standard of living drop that was inevitable (and is now arriving anyway). Asset prices going down is not inherently deflation, in the case of Japan it was fake wealth that never should have existed in the first place.
You'd think so! But that's not what I found, I found the minimum, max, and average were all crap. Even the median wasn't very good compared to the 10th percentile (which I got the idea from for here http://www.cs.rice.edu/~dwallach/pub/crosby-timing2009.pdf)
Ask HN: Companies that make startup videos?
Does anyone know of services like http://demogirl.com? Unfortunately DemoGirl seems to be inactive.
The slides on that page are in "OpenDocument Presentation" format (recognized by the 'file' command). You can open them in LibreOffice, for instance.
Possibly something to do with oil?
Quiver 2: The Programmer's Notebook for Mac
Language in literature is certainly not irrelevant.

Any translator (or even bilingual person) will tell you that some concepts are very hard to translate, because the target language was shaped by a different culture.

And in scientific and other non-fictions texts - which are closer to programs than literature - this was doubly so, as the number of important scientists and philosophers writing in non-native languages shows.
safari books online is 25% off
I left MS stack (not a big fan of Windows), so having really cross platform IDE is a big win for me.

Can't say anything on TS - but AFAIK it's mostly syntactic sugar on JS, no first class IDE on non-Windows, no pub (dedicated Dart package manager), no native VM (I'm also doing server side on Dart recently) and still it's possible shot your foot just like in JS - saying all that - I will have to really try it out.
Stupid Question: It is this a business opportunity? How about a few parked buses? I know this goes nowhere (like the hypothetical buses), but if somebody starts renting parked-bus seats for $5 a night: is this a better situation than the actual one? It is something "good" to be done?
It'll be interesting to see how many of the "Gap Year" people never make it to college.

About 1/3rd of our code school's graduates are fresh out of high school and using it as a complete replacement for college.
I think the answer is the Pine Ridge Indian Reservation. http://en.wikipedia.org/wiki/Pine_Ridge_Indian_Reservation
Also, there are a lot of Native Americans.
Also in New York City. While Manhattan is ranked #365 out of 3135, the Bronx is ranked 2324, Brooklyn is 1306, Staten Island is 601, Queens is 390, Westchester is 98, and Nassau county is 66. One city (and suburbs) runs the gamut from poverty to extreme wealth.
From what I see Dart was definitely not rushed. On the contrary. The team puts a lot of thought into what goes into the language and what doesn't (from a language, implementation and tooling pov).

With languages it is easy to add stuff but hard (often impossible) to remove it so it is important to understand the change and make sure it fits well with what is in the language and what might be added later.

It obviously helps to have a great team that has done exactly that many times over for many many other languages used in production.

Dart is a very clean language and I guess it made sense to postpone non-essential stuff like Enums & Async/Await. This doesn't mean those aren't awesome and great to have, it just means those things like other things better aren't rushed into the language but well thought through.
I drink socially myself, and love that type of work gathering where everyone gets ridiculous, but I respect your stance completely. I can understand why many don't like that situation. And I've thought about it much more since one of my childhood friends had to give up alcohol completely to avoid dying before he turned 30. So now when friday drinking is proposed I get very uneasy wondering who among the invitees may be nervously rubbing away at a one year token in their pocket as they smile and try to be team players.
Withings Activite Watch
The for loop duration here will vary depending on the length of the string
Bitcoin Black Friday, Take an Extra 10% Off at Zentail.com
They also take longer to start. More importantly they're impossible to control.
Not to detract you from your idea, but running an online incubator is probably ten times as difficult as a localized one.

Evidence of this can be taken from YC shutting down NYC as their other incubator-area.

Running in 2 locations is hard, imagining trying to manage startups from Hawaii to Sri Lanka.

That being said, there are online incubators, but there isn't so much competition to get in as there is for incubators like YC (unless all those fraudulent applicant mails count).
Some of the potassium in your cells is radioactive and decaying right now at a rate of 4900 decays per second[0]. That's about as close as you can get to the source, and it's not a big deal.

[0] https://en.wikipedia.org/wiki/Potassium-40#Contribution_to_n...
I learned about Ramda reading Scott Sauyet's awesome presentation "Functional Programming using JavaScript" [1].

He does not focus on Ramda (or any library per se), but he uses and explain several of it's functions to illustrate how simple it is to use functional programming concepts and achieve a code with much more quality and readability.

Definitely a must read for those adventuring in this world :)

[1] https://news.ycombinator.com/item?id=8652348
I was a member of the Battery of the Month Club, too. The local Radio Shack was next to a record store named Licorice Pizza, and they usually had a jar of free licorice next to the register. I'd swing by, get some red licorice, then go next door and pick up a free battery.
Top startup ecosystems
Visualizing the Best Selling Laptops and Tablets on Amazon.com
Mailing list announcement: https://lists.dyne.org/lurker/message/20141127.212941.f55acc...
At this time, these few options are available:

https://news.ycombinator.com/formatdoc

>Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)
That's false. Much of Europe is in the same exact demographic spiral. Europe as an overall, is in worse shape than is Asia. Most of the countries making up the bottom of the low fertility club, are in Europe.

Births per 1,000 people

Japan: 8.07; Singapore: 8.10; Germany: 8.42; Slovenia: 8.54; Taiwan: 8.55; Austria: 8.76; Greece: 8.80; Italy: 8.84; Bulgaria: 8.92; Hungary: 9.26; Romania: 9.27; Hong Kong: 9.38; Portugal: 9.42; Poland: 9.77; Czech: 9.79; Spain 9.88
We're feeding the homeless children this christmas – Chippersitter
What's up with Wyoming? Some of those counties have median incomes above 70K.
Deckset is 50% off!
If by "changes to the kqueue" API you mean "adding a new filter type, as kqueue was designed to support", then how is the kqueue API poorly designed? Why should the BSDs adopt a completely separate inotify hack?

"100% full of crap" is an accurate assessment when you keep trotting out completely nonsense arguments as fact instead of actually engaging on the technical content; consider it my adopting of Linus' discussion style. Is there some specific problem that can't be solved within the confines of the existing kevent types and data structures?

This seems pretty simple:

- EVFILT_VNODE isn't poorly designed for the use-case of monitoring a file.

- EVFILT_VNODE is poorly designed for the use-case of monitoring a directory hierarchy, but that isn't the intended use case.

Nowhere have you demonstrated why the BSDs should drop kqueue in favor of Linux's hack; as for why it hasn't been implemented: because apparently no other kernel developers have needed it badly enough.

Mac OS X FSEvents as a counter-example doesn't hold technical water; the reasons for FSEvents being separate from kqueue are solely to do with Apple's internal political machinations, and you've provided no technical analysis that demonstrate otherwise.
My favourite one:

attach to the process in question using gdb, and run:
p dup2(open("/dev/null", 0), 1)
p dup2(open("/dev/null", 0), 2)
detach
quit

From: https://stackoverflow.com/questions/593724/redirect-stderr-s...
GeFi Startup from iran
That was a quick copy/paste.

But imagine the loop would be the string we know (i.e. the password). Looping through the 10-character pass should be identical every time, regardless of what the user entered.
It seems only certain sellers can. I know I tried to sell one of my used DVDs on Amazon recently (and I sell used stuff there fairly often, so I know how it works). They let me enter all the details but when it came time to list it, they said, "Oh, sorry, you can't sell DVDs here." No explanation was given.
Dart only looks like java (this was a deliberate design choice to increase familiarity and ease learning/adoption), but it works a lot more like ruby and go.
I just started substituting Ramda for Lodash in my projects, and it's pretty nice. Really great composability.
How does Phoenix compare to WebMachine (Erlang) and Liberator (Clojure)? Specifically does it have similar decision graph tracing.

Is some form of hypermedia supported or built in? If not, is it planned?

These may be answered in the presentation. I hope to watch it soon.
For pycharm, the community edition has done me an excellent service. but it's true that I'm far from a power user.
Quiver 2 is finally here! Quiver is a notebook built for programmers. It lets you easily mix text, code and Markdown within one note, edit code with an awesome code editor, live preview Markdown and LaTeX cells, and find any note instantly via the full-text search.

Quiver 2 brought new features such as cloud syncing, shared notebooks, Markdown preview, presentation mode, and more.

http://happenapps.com/#quiver
Not quite. Your position rests on the premise that China can bring its population up to developed status (something on par with the US, Britain, France, Germany, Japan etc), ditto for India. That is very unlikely to be feasible, given the truly massive manufacturing, consumption, exports, energy, resources, etc. that it would require to boost China's GDP to ~2x the size of the entire rest of the world just to bring their median income up to that of the US.
What I'm realizing in trying to develop my own (admittedly limited in scope) functional language is that "fancy type systems", or at least "fancy some-kind-of-structured-value-thing" systems go a hell of a long way to making it not an interminable pain in the ass.

The hardest thing for me to "get" about FP is that some problems really do require an awful lot of persistent data to be easily converted to values to be passed back and forth instead. Something like, say, a VM, that's a piece of piss to code in a language that allows mutable state can become an interminable mess of gobbledygook or just a huge pain in the ass in a lanugage where the means for passing data structures is too verbose or complicated (like say, Scheme/Racket structs).

This is why the 'fancy types' in Haskell, I realized, and the robust syntax for dealing with them. Because they become the main medium for communication within your program in anything non-trivial, and you need that process to be as frictionless as possible for the FP approach to not fall apart completely into a very tedious sort of chaos.
I'm getting this book - Learning Spark
Lightning-Fast Big Data Analytics
http://shop.oreilly.com/product/0636920028512.do
I am from Bell County, Kentucky, ranked 3110 out of 3135 counties. I no longer live there, but my parents do. I was there just yesterday for Thanksgiving.

It may be tempting to dismiss the problems plaguing this region as being self-inflicted, a mere product of backward ways and a collective refusal to catch up. These problems, however, are infinitely more complex than that. Countless politicians at every level of government have tried to find a solution.[0] In the end, they all failed.

It occurs to me as I type this that I don't have a precise thesis for my comment, other than to say this: It is not easy. If it were easy to fix, we would have.

[0] http://www.presidency.ucsb.edu/ws/?pid=9518
The dakota oil boom you typically hear of is almost exclusively in North Dakota. http://en.wikipedia.org/wiki/North_Dakota_oil_boom
Urbanization. The trend is continuing and is going to continue and as it does the rural areas of the country are going to see more and more resources drain to urban centers. Eventually the rural population will be entirely composed of maniac bandits driving burnt out plymouth dusters with mounted machine gun turrets and terrified hill people raising rabbits for food in their back yards.

But for serious, as we see urbanization pick up, the rural areas are going to continue their downward slide. And as the trend toward suburbanization has reversed we're going to see the suburbs become the new "burnt out inner city"—because inner city is no longer synonymous with poverty and crime.
https://news.ycombinator.com/item?id=8618739
If you're interested, check out http://www.bigmessowires.com/

This is actually a bit closer to hardware archaeology, i.e. reverse engineering the decade's old HD20 hard drive. But of course hardware has tons of software built into it, and even more so these days.
I commend you for wanting to do good for the poorer parts of the world, but I suggest you bring over other technologies that will serve the people better than coding.

Let me give you an example:

Spend time researching the terrain of "Poor Area X" in "Poor Country: AAA".

Now look in your first-world country at similar terrains and see what advanced farming techniques the farmers are using in your first-world country.

Go spend time living with the farmer, learn the technology/skill and then bring that to the malnourished folks in AAA.

You'd be surprised to know that most folks throughout the world know very little about basic farming/survival skills.

Teaching these people advanced techniques to grow their own food will benefit them tenfold more than any JavaScript could (in their current state).
Reminds me of this: https://www.youtube.com/watch?v=qS5HWBNvf9U
These are all useful, and I would even say fundamental, commands. But, as such, these are also very basic commands, not tricks. If you're looking for something more advanced, you'll be disappointed.

I strongly suggest to anyone using gdb to just read the manual [0]. Or at least skim it quickly and find a dozen of such useful "tricks" in as many minutes. The time gained in debugging later is well worth knowing and mastering your tools.

Here's a quick summary of the article, most of this stuff is covered in the first few chapters of the manual :

1. conditional breakpoints, yes, they exist

2. execute commands each time a breakpoint is hit, yes, that's possible

3. pass commands to the program directly from gdb's command line

4. define source directories

5. debug macros with the right compile options

6. you can use the results of commands, and even define variables !

7. you can access cpu registers

8. you can even examine memory

[0] http://sourceware.org/gdb/current/onlinedocs/gdb.pdf.gz : it looks big but a lot of it is annexes at the end, or how to extend GDB with your own scripts, which can be interesting but can easily be skipped in the beginning. The important chapters to begin with would be :

- Getting in and out of gdb

- gdb commands

- Running programs under gdb

- Stopping and continuing <-- breakpoints 101, learn about conditional breakpoints (you can also set the conditions after setting the breakpoint), hardware breakpoints on data (called watchpoints in gdb), how to skip quickly (to end of function|a whole file|...), etc.

- Examining the stack

- Examining source files

- Examining data <-- very important, discover the joy of artifical arrays, casting with @ or {type}, configuring the display etc.

- Altering execution
Want to do a podcast? Don’t be intimidated
> I think it's very reasonable.

It's high. They're not first to the scene. If you look at Elance, it's 8.75% for exactly the same thing including payment processing. On the high end, I've worked with agencies that charge 15% for everything. 20% is steep.
Depends on the inner city you're talking about..
I imagine the strlen() function is not constant-timed, so I'd remove it, but it might work yes (but you'd have to check PHP's source code and have a deep understanding of it to really be sure).
“I couldn't really learn Erlang, 'cos it didn't exist, so I invented it” (2013)
You've never lived in New Jersey.
If you use a SaaS that can't deal with demand growth, you use another SaaS or build your own system. If you use a city that can't deal with demand growth for whatever reason... you try to grow demand further?

Anyway - what's income inequality like in those other cities? Similar?
Why is Loudoun County, Virginia so prosperous? It has a median household income of $122,000, but I don't see any meaningful employers in the area, and it's a large population of around 350,000 people.
Metaprogramming with Modern C++: The Haskell Metaphor
The Pando Tor conspiracy troll
Isn't that the timeless beauty of NYC? From squalor to splendour in a couple of blocks... the American Dream that you only need a good break to end up on the other side of the divide... the everyday chance of meeting "great people" on the streets... Warhol hiring midnight cowboys... etc etc.
Having grown up in the Bronx, I am actually really grateful. I can tell you some horror stories, but the best part of it was that there was still access to opportunity just an affordable train ride away in Manhattan.

Further up in Westchester and Rockland you find areas that are really deep in poverty but don't have easy access to reliable public transportation to places where jobs are more easily found.
The "founder" of this is Alain de Botton. He studied philosophy and started writing books. His greatest success is "How Proust can change your life".
In it he explains how to become a happier person by reading Proust for a big public.
In interviews at that time (end 90's) he talked about erecting a school of happiness and he did that.
The list features philosophers who can make you happy not the ones looking for the "truth".
Descartes, Leibniz, Kant, Spinoza the whole school of rationalism is missing here.
How viable is this in the real world? I could imagine it working on a lone, quiet server at 4am with no other people on it. The average server with 100s of accounts, 1000s of users all doing various stuff, that's going to introduce enough random delay to throw off your analysis. Maybe you could try to calculate averages but that's going to increase the number of requests. Would a good hosting company block an attack like this at the hardware level? I'd guess yes, but I don't know.
Not about mindfulness, but I highly recommend this book:
http://www.amazon.com/Brain-That-Changes-Itself-Frontiers/dp...
California has the highest cost of living adjusted poverty rate in the United States.
It's right outside of DC/Baltimore. Lots of money to be had. I'd expect there's lots of lawyers, lobbyists, policy makers, etc with homes there.