skysight-inc/HackerNews huggingface dataset:
Great article! Thanks Julien
While in most cases you can do that, they are not exactly equivalent. For example, you might be passing the callback to a function that attaches members to it.

But usually you see wrapping done in order to bind methods, like

f = function(data) { return obj.doSomething(data);}

If you replaced that with

f = obj.doSomething;

you'd likely have broken code.
You asked the question. I answered according to the sociological system you asked about.

Don't get offended by an academic exercise. His system is certainly wrong, but it does have a grain of truth.
I was inspired to write a small bash script to let you know which ip exactly to go to. It is hackish due to my limited knowledge of sed but it works on my Mac at least

#!/bin/bash
ip=`ifconfig -r en0 inet | sed -E '/en0/d;s/inet[ \t]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).+/\1/'`
ip=`echo $ip | tr -d '[:space:]'`
echo "Go to $ip:8000 in a browser on your local network. When you are done, use ctrl-c to exit"
python -m SimpleHTTPServer 8000
The Cost Of Free Doughnuts: 70 Years Of Regret
Unfortunately, this comment (not the content of it and the entire situation) represents the state of entrepreneurship in SV :( As some older people said: if you live in a sea full of shit you are going to covered by shit.
A navigable list of objects, functions, and methods would be really nice, something like this (preferably complete): http://api.rubyonrails.org

Another suggestion would be to split tutorials/examples apart from object references. For example, take a peek at the Python Decimal module docs: http://docs.python.org/2/library/decimal.html#module-decimal

All the information is there, but it isn't organized very well. There's a tutorial, overview of Decimal and its methods (with tutorials mixed within), and various "notes" sections. It's all mixed together, and confusing for a new user.

Personally, I'm more of a fan of this type of structure:

1. API documentation. No how-to's.
2. "Guides" and How-To's

API documentation is like a dictionary. Succinct, to the point, not littered with "Here's how you write a sentence with this word" examples.

Guides/How-To's including examples, introductions to use an object, spell out caveats, etc... This should get wordy when needed.

Both could have links to one another. For experienced coders, you'll mostly just use #1 (which fits great in a navigable list). For newbies, #2 will teach you how to do things.

$0.02
I've always seen it as a bit of both.

My startup grew out of an open source project designed to scratch my own itch, which was a great way to start. Being my own user, I saw the pain points and could form a true direction. However, that only goes so far, since not everyone is me. At some point you have to start looking at what your users care about, at least as much as what you care about, if you want the growth.

That's where the mix comes in. You shouldn't just develop it solely for someone else, or you may lose that drive, passion and direction (plus what they want and what they say they want aren't always the same thing). At the same time, you must listen to them (if you want to solve their problems) and take their opinions into consideration. Do it right and you end up building for both yourself and your customers.
This is an all too common issue with roll-your-own static site generators. There are quite a few blogs in this category.

Maybe there is space for something like that uses HTTP responses to check for changes, and generates RSS.
Anyone who can place JavaScript on a page can just redirect you to the malicious site without you needing to click anything.
3 Things You Don't Know About Sales
Benford's Law (a gentler description)
Yes, the "just buy more dynos even when better routing would let you get by with less" strategy. I can see the appeal in this, for Heroku.
That doesn't seem like "blackmail", but a frank assessment of the situation.
A lot of the taxes I pay aren't like that. They get taken out of my paycheck whether I like it or not. I think some of that is strictly-speaking optional and can be paid separately, but not all.
Shutting down Dibbist: mistakes and lessons
With calling yourself a loser, I bet you're full of self doubt.

I've been paying the bills with my startups for over 7 years, and I still drown in self doubt.

A technique I've used to short circuit that thinking is simply this: Ask yourself every day, "How can I accomplish this?"

For some reason, forcing myself to ask the question How, crowds out the doubt. My mind starts cranking on solving problems rather than worrying about my ineptitude.

I'm always impressed by how well just putting myself into a problem solving mood works.

It was awesome to see Daniel Pink's most recent book, To Sell is Human, explore this. He showed studies of how a group of people who were put into a "self-questioning" mindset solved 50% more puzzles than a rather than folks in a "self-affirming" mindset.
There's also appetas.com
The documentation is beautifully written and perfect for learning, but it doesn't support the quick-fire referencing I, and I presume the other detractors, have grown to expect.

Contrast the first Google result for "python dictionary" [1] and "java hashmap" [2]. The Python result tells you about every data structure and does so in a story, the Java one gives you what you want and little more.

[1] : http://docs.python.org/2/tutorial/datastructures.html

[2] : http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.h...
I , I , I ...

me, me , me...

You are not a loser, you are someone who is enormously lucky to live on one of the wealthiest places in the world and does not now it.

I have seen 16 years old die on motorcycle, or 20 something die in car accidents, 8 years old die of leukemia while facing it like grown up men or women(I bet you have leukemia kids near you, if you try to help them you will discover that they help you much more, this will work on your me-centric problem).

You are not a loser.

You are alone and feel that "realizing your dreams" will solve your issues. It wont. You have a bad strategy and need to change it, or after the initial determination you will fall again.

Read or hear the book or Audiobook "The now habit" by Doctor Neil Fiore to discover why your vision of the world is destroying you.

Do not pity yourself but celebrate how fching lucky you are!!

Find a woman and make her the happiest women on earth,fck her with passion.

Do not compare yourself to others, be happy and transmit it to everyone.

Start thinking on other people like part of yourself, it takes guts, specially for emotionally castrated Swiss.

Travel the world and learn to love others and what they need.

Money will come after that.
Most basements don't look like Google's basements. Here's what I enjoy seeing, or find remarkable:

* No leaks

* No rust

* Flow directions identified

* Flow content/category/origin/destination identified by color

* Room to move replacement parts in and inoperative ones out

* Equipment pads for... I don't know, but it looks good

* Engineering, not haphazard patching

* No people
Impressing

No one likes you for your clothes, your car, your possessions, your title, or your accomplishments. Those are all "things." People may like your things--but that doesn't mean they like you.

Sure, superficially they might seem to, but superficial is also insubstantial, and a relationship that is not based on substance is not a real relationship.

Genuine relationships make you happier, and you'll only form genuine relationships when you stop trying to impress and start trying to just be yourself.

Impressing should be a side effect of being exceptional at something. The above paragraph describes, "caring what people think about your appearance". I'm not sure it has all that much to do with impressing.
I remember looking at a site that were planning a Mars mission and they expected you to pay in order to go on it. I have no idea why anyone would pay to be stuck on Mars..
Would you happen to know any such sites for NGOs?
How I Used Your Credit Card To Pay For This Book Online
Most of my projects are node.js, javascript and python based.
I mainly work as as web app developer, looking forward to a career in platform specific mobile app development.
In the long run, I agree, but I think you could get a 5-10y headstart by doing a simple "one way and ongoing resupply" profile. The risk would be if that kills demand for the "colonization" profile later, but I really don't think that's likely.

Sending some pioneers who are willing to accept far higher risk, first, before a mainstream effort which could support thousands, actually seems like a way to increate demand and lower risk (and thus cost) for the colonization mission. If 5-10 people living on Mars for 5 years ahead of you kills all desire to actually colonize the place in a lasting way, then it probably wasn't worth doing in the first place.
The banks, highly leveraged and competing for offshore deposits with interest rates double the EU average, mismanaged their finances. Consistent with being an offshore financial centre, the banks' assets are about 5x GDP.

When the banks started to fail, the bailout team had three options. It could refuse aid and let the Cypriot economy crater - Iceland, in a similar position in 2007, crashed 60% and is still 1/3 below pre-crash levels. It could also extend loans in exchange for austerity, similar to what was done elsewhere. This would mean the 1/2 of Cypriot deposits from Russia, Britain, and Greece would run for the doors, leaving the islanders to deal with the banks themselves. Or they could do something fast.

Europe has no euro-wide deposit insurance. When you leave the weak to completely fend for themselves they sometimes fall, and they often break. This exacerbates the differences between the strong and weak in a way that is often damaging for everyone.

P.S. When any government mismanages its finances, someone takes losses. Sometimes it's as a one-off tax, sometimes as a permanent tax increase, sometimes as a reduction in benefits, and often times as inflation or default.
Fresh is quite similar too.

[1] http://freshshell.com/
I happened to watch some of the TV show Nikita last Friday, and the plot driver was "a character was the password", as he had a subliminal password. He would play some odd video game to "enter" the password, but he never actually knew it.

I thought that sounded made up, but apparently subliminal passwords do exist:

http://www.escapistmagazine.com/forums/read/7.382686-Remembe...
She Hacked The Legend of Zelda So It Now Stars Zelda, Saving Link
It's a problem for anyone using a web framework/server combo that does't allow for concurrent requests on a single dyno. The most common such combination is Ruby on Rails/Thin Webserver, which is (I believe) the most commonly deployed app configuration on Heroku by a mile.
I have working knowledge of a couple of large routing systems (Yahoo, Facebook) and built a few smaller ones. In general, state is the enemy of scale. You want large systems to be simpler and less stateful, not more stateful and "intelligent".

One good notion is to embed server statistics into the response, like in an HTTP header. That way the LB can be aware of queue size, queue wait, utilization, etc. But that only works if the knowledge of server health is global to all load balancers, or if some LBs only talk to some servers.

If your requests are more or less the same "size", eg they take roughly the same amount of CPU / wall / etc, all of this gets vastly easier.
This sounds about as close to art as SugarApe (in Nathan Barley) is to publishing.

They're just being assholes, not ironic or artful.
Yes I might lack empathy for other people's privacy, especially as it seems that most people just don't care. Those that care can use technology to benefit themselves. You're right though, I have a hard time answering why I should care, personally. If I eliminate emotion from the question, I cannot come up with any rational reasons.

But more than that, blaming a single low-level actor in a system seems kinda pointless. It's like hating an individual DEA agent instead of the idiotic system that creates the DEA. Shaming DEA agents will accomplish next to nothing; the effort would be better spent where it might make an impact (like on elected officials).

The number of hackers you need to implement surveillance (or land mines) is pretty low, and you can get people from the worldwide population. Not to mention there are going to be a fair number of patriots that believe what they're doing is good, anyways.

The only question is which individual will profit and how much from actually building it. In this hypothetical situation, I can't see any reason to let someone else (who may have values I don't like) get paid to build the technology.
it should be on my profile, but in case it doesn't show up: worlzitizen at gmail
God says...

17:21 Howbeit this kind goeth not out but by prayer and fasting.

17:22 And while they abode in Galilee, Jesus said unto them, The Son
of man shall be betrayed into the hands of men: 17:23 And they shall
kill him, and the third day he shall be raised again.

And they were exceeding sorry.

17:24 And when they were come to Capernaum, they that received tribute
money came to Peter, and said, Doth not your master pay tribute?
17:25 He saith, Yes. And when he was come into the house, Jesus
prevented him, saying, What thinkest thou, Simon? of whom do the kings
of the earth take custom or tribute? of their own children, or of
strangers? 17:26 Peter saith unto him, Of strangers. Jesus saith unto
him, Then are the children free.

17:27 Notwithstanding, lest we should offend them, go thou to the sea,
and cast an hook, and take up the fish that first cometh up; and when
thou hast opened his mouth, thou shalt find a piece of money: that
take, and give unto them for me and thee.
While I think there are objectively bad comments, the attitude you're taking towards them may be a little unfair. People may have some opinions that are objectively wrong that can be repaired through allowing their comments to be seen and having us tell them why they're wrong.
Sure, there are many examples of projects which started as a developer solving a problem for themselves. However, the ones that still exist are the ones that solved problems for other people at the same time. If you want to be successful you have to look outside the microcosm of yourself and figure out what other people's need are. If you are lucky there will be other people who have exactly the same needs as yourself.

If I am understanding the OP correctly, he is not looking to be an incredible hacker; he is looking to be an entrepreneur. If you want to be a successful entrepreneur you have to follow the market. You have to. There is no other way. If people are not willing to give you their money, you have to do something else or you fail. I completely agree that you have to be passionate about making things, but you definitely don't have to be passionate about making new things, or even exciting things. These things are awesome bonuses, but they are not requirements.

Entrepreneurship is about creating value for other people. It is often not fun and is quite often very uncomfortable. There are moments of dread, hopelessness, and fear. You can reduce the number of these moments by building a company which definitely solves other people's problems.
Django running on Python 3.3
You misunderstood my reply. It means that each dyno does more work by being concurrent, not buying more dynos.

It's possible to do several hundred requests per second on a single dyno; just because Rails doesn't allow you do to that due to not being concurrent doesn't mean that other stacks can't.
We recently did a survey for Herve Leger (tight bandage dresses) on eBay. According to our experts, greater than 60% of the Herve dresses sold on eBay were fake [1]. Heh, that means eBay profited more on counterfeit Herve Leger than authentic ones.

This sort of thing drives us crazy. We're fighting against the counterfeit epidemic head on. You can only hear so many stories about buyers ending up with a fake $2000 Chanel (often learning that it's fake years later) or sellers getting scammed after selling a legit item (unscrupulous buyers filing fake claims, resulting in loss of both the item and sale money to the seller)...

/Lollipuff co-founder.

[1] https://www.lollipuff.com/blog/41/ebays-counterfeit-epidemic...
Two things:

- "Seek the journey, not the result" (seen on a random card, in a Frank & Oak shipment)
- Look into http://executebook.com - if that can get you methods and motivation in executing your own projects.

It also seems to me you think you'd be feeling a lot better with some impressive accomplishments. Start by building some simple stuff, but getting them done and gathering feedback. The experience alone will be worth it and will give you the guts to go for more ambitious projects.
While what you say is true, how many posts have you seen along the lines of "why was foo hellbanned" or "why was this post killed?" I think people would be upset if the response was because I think that they are detracting from the site.
Interestingly middle-click in Chrome executes the script, but not in Firefox.
Really? You can't image why? The answer is simple and one word: adventure.
Ha! I will add the tool I wrote that behaves very similarly but has no external deps: https://github.com/philips/ghar
Good luck, I know you feel. I'm almost 30 and starting to feel the same. Then, let's do something to change this.

Feel free to contact me if you need something, if there is something that I can do to help you.
Zapier-to-Hipchat Webhooks in Rails with Resque
Is it implemented in Django?
> But I doubt it would be much riskier than we're currently living our lives here on Earth.

You're probably underestimating the risks associated with humans leaving Earth for any considerable period of time.

Radiation is the first issue. NASA will not plan a mission that exposes astronauts to higher than a 3% risk of exposure-induced death. Their reports from 2010 based on all the studies done up to that point put the number of "safe days" at ~0.5-1 years. That assumes a healthy mid-30s non-smoker during a solar minimum. So just getting to Mars would exceed the safe limits, even if we had a very well radiation-shielded base waiting on the planet.

Multiple years in space and Mars gravity will also have severe impacts on bone density and muscles. You're never going to be able to fly to Mars, spend a few years, and fly back and resume your life on Earth without long-lasting health effects.
>fake $2000 Chanel (often learning that it's fake years later)

If the fake is so similar to the real thing that it's possible to be fooled by it for years, who cares? Who is harmed besides Chanel?
I recommend you to change the URLs: use dash to seperate words and all lowercase.
"Is there any Heroku app larger than that?"

Yes. Consider that Heroku publishes DNS records for all their customers to the same set of nodes; those nodes must be responsible for routing all Heroku traffic. Sharding customers onto individual Haproxy LBs would require either updating an upstream load balancer (which just pushes the problem around) or updating DNS (which comes with long convergence times).
A graphical guide to the boxoffice using d3
pay me. i'll drop you off in the pacific, Pi.
thankyou . this advise is very valuable for me atleast.
Bi-Nature Functions in Javascript
Bi-Nature functions work perfectly under async and synchronous modes.
Example is provided in link.
I've spent 2 Months in Geneva in 2008 and I found that your country is pretty open towards strangers and nerds. Lauseanne is also great. In that regard, you're lucky that you live in Switzerland :)

I was single during my trip to Geneva. So I filled my backpack with beer cans and decided to spend the whole evening until midnight away from home. I just walked around and asked random strangers where I might go to spend a nice evening. I gave a can of beer to everyone who was nice towards me. At around 22:00, some random dude invited me to a party where I spent the rest of the night.

I noticed that many people (especially girls) in Geneva feel like no one really listens to them. If you are somewhat nice towards people, show some interest in them and are willing to just listen and let them tell you about their life, you'll be astonished by how easy it is to make new friends :)

As for your goals:

Ask people for their advice on how you might reach your goals. Most of them will give you bullshit, because they have no clue, but you might just get lucky and meet someone who can either help you or give you great advice. Play on that luck by asking A LOT of people :)

Cheers, Hajo
in the case of Greece the debt was haircut (hence the bail-out) - this is what partly caused the problem in Cyprus. Now in the case of Cyprus, the deposits are hair cut (a bail-in). Not giving the 1st option to Cyprus is the blackmail.

Bottom line its all about the natural gas.
$100k is beyond comfortable for everywhere in the Bay Area except SF. You can still spend ~$2700/mo on rent, and have money leftover for fun and savings. Hell, even in SF that will get you a pretty nice life.
As someone who is familiar with Chanel, the difference is night and day. However, for someone new to the brand, it's not. A fake Chanel bag is made with the most inferior materials and craftmanship. It's usually the newbies that don't know off the bat. And, those who are knowledgeable deal with stress and loss of money once they get the item in their hands.
> If anyone else reads this, wish me good luck.

You don't need luck. Just put your sails up, and the winds will come sooner or later.

I.e. you can't win if you're not in the game. Get in the game. Do it every day.
The Law of Unintended Opinions
I've been coding since age 14. I got my first real programming job at age 16 writing medical software. Sure, I wasn't as good as people twice my age... but $20/hour at age 16 in 1986 wasn't bad.

You know what? I quit being amazed that other people could learn to code a long time ago. I've seen children, old people, blind people, and even almost illiterate people learn to code. There was always someone telling them it was a waste of time or they didn't have the aptitude because if they did, they already would be able to program.

To be a coder, all it takes is writing code that works (what works at ABC Widget Co might be different than Mountain View Startup Co).

When I was asked to manage, I learned that less experienced coders are often more productive than more older, more experienced ones. I also learned that some of the best and most productive of all came in a 8 and left at 4:30 and flat out refused to work stupid hours. They had lives and they learned to work smarter and more intensely than others so they could go home to whatever it was they really loved to do.

If someone wants to be a programmer when they grow up, even if they are 40 or 50 when they start the journey... encourage them. As for qisine... I wish him well on his journey. Programming has been good to me.
Being a loser is a good thing. Every success I've had is just me failing a little less hard each time :)
I think worse is better here. This just sounds like another layer of abstraction and complexity i want to avoid dealing with as it will consume head space and detract from actually solving the problem i am there to solve.

I tend to make do with defaults as well i.e basic vi and ksh as i move between BSD and Linux regularly (and rarely Solaris 2.5 still!). No surprises and very few dotfiles.
Just a thought that I would love some feedback on: I would assume heroku would have tried a hierarchy of routers when the peer grid style became overwhelmed - some. Ross between BGP and DNS - the entry router simply passes the request lower down the hierarchy that is advertising that app / group of apps.

(Something like my app name is heroku.ruby.free.cheapcustomers.myapp )

There will be lots of header handling but it seems simpler
Adivce for future feed readers