skysight-inc/HackerNews huggingface dataset:
There are some nuggets in here, like 'do stuff that doesn't scale' early on.

Coincidentally, I listened to a podcast episode on survivor bias this morning: http://youarenotsosmart.com/2013/05/23/survivorship-bias/ where the main takeaway for business is that "success boils down to serially avoiding catastrophic failure while routinely absorbing manageable damage".

Essentially, even successful companies don't know the secret of their success.
Nate Bolt Leaves Facebook To Focus On His User Research Company Ethnio
I was banned about a third through the month. Cost me about $1,000 at the time if I recall correctly. Google was completely unreasonable. When I used their appeal form I was pretty sure the "no" response I received back was automated. I plead a very good case and received a boilerplate negative response very quickly.

They claimed I was gaming adsense for extra clicks, but I had actually gone significantly out of my way in order to follow all the adsense rules to the letter out of fear of being banned. I additionally told all friends and family who knew about my site to never click my ads even if they were interested in one (I told them just google the ad in a new tab).

I then found out that at the same time this happened to me, this happened to many other honest adsense users (being banned for what seemed to be no reason). I received my ban on Jul 10, 2012 for those who are curious (just looked it up in my email).
The videos were super choppy for me. Maybe you could preload some percentage of the videos before they start to play?
:s/50/60/g<CR> @:

or even just /50<CR>r6n.

if there's any new feature I'd like to see in neovim it would be one key that will repeat an ex command like period does for normal/visual mode
Your parent said "to the extent practical". Limiting interaction with external units as fundamental as the memory allocator is far from practical. I actually think DHH would agree with the "to the extent practical", but would think limiting DB access in tests of fundamentally DB-dependent things like ActiveRecord models is impractical. I think the debate is fundamentally about that practicality, and neither side is obviously right.
No, it was open source from the beginning - one of my hobby projects. I believe open source is the only way something like this can work at all.

I had some early adopters who used the prototype, which motivated me initially. As I spent some time developing the actual version, people drifted away (mostly back to Facebook). In hindsight, I should not have thrown the prototype away - big mistake.

When I tried to get other people interested the answer was basically either "you'll pry Facebook out of my cold dead hands" or (sometimes literally) "why are you wasting your time on this stupid shit when Diaspora exists?". At the time Diaspora had just gotten funding and people were actually really hostile or condescending towards the idea that someone was working on anything else.

After that I basically suspended my efforts. I might eventually get back to it when/if fancy strikes.
LinkedIn helps many get discovered. Recruiters or companies looking for new developers are far more likely to search LinkedIn than to Google "Scala developers in [local City]." Github is great for open-source library and application development, but it's hardly the answer to ditching LinkedIn. Using myself as the example, most of the work I do is proprietary client work or enterprise-level work that is maintained in an internal code repository. My Github profile does not represent my true caliber of work.
I dont recal when in the cycle it was, but I've gotten temporarily banned a few times because of user-generated content that violates their rules. Each time they've given me an example and stated that there a might be others. I clean it up, check for others, submit an appeal, and get advertising turned back on within a week or two.

I never show ads on the pages with UGC, and I used to point out that I wasn't technically in violation of the rules in my appeals. They then changed the rules to support their behavior of banning a site for content anywhere on it even if not on the same pages as the ads. I've since stopped showing AdSense on sites with UGC and I haven't been baned since.

Edit: I didn't vote in the poll but I just checked my email history and these came in on 11/7/2011, 5/15/2012, 10/29/2012, and 6/19/2013

Payments are usually issued to me around the 23rd or 24th of the month. So one ban within 4 days and 3 bans that weren't. However it was the most recent one and the only one within the past year, so perhaps this is a new occurrence.
That seems like a not-very-useful metric.
When API Documentation Is So Bad that It's Good, Part II
YC alum gives away 26 hours to 26 startups. Here's what happened.
I had a number in my Javascript variable once and it took a lot more than jQuery to get it back out.
Neither would be any good, really for better coding.

namespace.functionName = function() { }

I'm not talking about performance here, but from a sheer maintainability nightmare that JS creates. If you care about this, don't let your functions be unbound.

The only reason to store a function in a var is because it is a closure.

And in a way, a closure is data encapsulation in a totally non OO way.
I think a flaw of the rent analogy is the same one as in comparing the (illegal) downloading of movies/music/etc to stealing the physical medium. In the physical space, when one rents or buys something, the seller has less product available at that time and the impact of theft is much more noticeable whereas online, if a user signs up but never hits the servers, they uses no resources at all (except maybe a few rows in a database).

That said, I agree that contracts should be honored and paid - even when not used.
To be truly sure you're back to normal, you would want to re-flash firmwares, as well. Which is truly a pain. Your NIC has firmware, your Motherboard has firmware, even SATA disks have firmware...

Here's a gentleman who put malicious firmware on a hard disk to bypass linux security by serving a neutered /etc/passwd file.
http://spritesmods.com/?art=hddhack

Generally, you have to choose the level of rebuild that you can live with given your likely attacker. Usually, flashing firmware is dangerous and likely to alert the operator to the infection, so most attackers interested in spam/phishing wouldn't try that approach. That is probably some three-letter-organization level stuff.
I was banned in May 2011. I was banned within 4 days of payout which caused me to lose two full months of pay. I was making about $1300 per month from Adsense at the time so it was about a $2600 loss for me and epic amounts of lost time because I updated those adsense sites almost daily with fresh content. Very painful. I was really depending on that money at the time. It hurt.
The Rise of Corporate Impunity
The reason is that if you can write a test that specifies your unit in terms of its communication with collaborators, then you have achieved a rational and comprehensible unit of code, and so you can be more sure that your design is sound.

With test-driven design (in an ideal world), if a change to an important module can break its own tests only, that means that it has a shallow and clear interface, decoupling its internals from the rest of the application.

Given that the module's code is exhaustively tested, that means there is a full specification of what it's supposed to do, given the various possible scenarios.

If the tests are well-written, that means the specification is comprehensible, which means the interfaces make sense in the domain's discourse.

Good TDD involves working hard to keep the code base clean and comprehensible. If you're only testing that everything works together, there's a chance that you're also less focused on maintaining good architecture.
10 Free Books for Learning Ruby
Could a machine or an AI ever feel human-like emotions?
Is it a monopoly if the person with the limited monoply is not producin anyhing that uses that patent? It's just a non-opoly?
As I said in 1st post, I mitigate my risks as well as I know how. Check my 2nd rant above. Also, my step-father died a short battle with Endocratic cancer in 2012 @ 63yo. He smoked on tour in Nam for < 2years. 42 years later his death was attributed to 'tobacco', "Probably". The certificate actually had a check box for 'probably'.

Ignore, if you will, the agent orange, forget the smog, forget the crap he ate and his voluminous waistband or the fact that he sat in his chair for 8+hours a day after work and definitely forget the lacquers & paints he inhaled as a gifted cabinet maker for decades. It was the tobacco that killed him, says so on his death certificate.
He also seems to misunderstand TDD - which is more about design than testing. Unit testing and TDD are not synonymous. You can, and I certainly do, test-drive code over traditional unit test boundaries.

He also seems completely unaware that there is an entire school of TDD/BDD that doesn't really like mock objects (the Chicago vs London school http://programmers.stackexchange.com/questions/123627/what-a...).

I've just generally stopped listening to what he says on the topic. It doesn't seem to match the reality of what folk actually do.
An additional wrinkle: recursive functions. If you've got a recursive function, you absolutely must use a function declaration to introduce the function identifier. Otherwise you inadvertently create a closure. Consider:

var a = function(b) {
if (b === 0) {
return true;
}
return a(--b);
};
var b = a;
a = function() { return false; };
b(5);

As an alternative, you should go

var a = function a2(b) {
if (b === 0) {
return true;
}
return a2(--b);
};
var b = a;
a = function() { return false; };
var a2 = function() { return false; };
b(5);

Perhaps counterintuitively, a2 doesn't leak into the containing scope, which makes it safe to use within the function it declares.

Some older browsers fuck this up though, IIRC.
I don't know if it's afraid as much as just knowing that you are entering a one sided relationship when you use them and knowing there is nothing for you to do if this happens.

It's the current sad state of the online advertising market.
I'm in the same boat. What are you using for UGC sites instead of Adsense?
Schema Stubs
Why Banks Struggle With SaaS Companies
I think there might be a misunderstanding about a typical vegetarian or vegan diet. Do you believe that most vegetarians and vegans eat primarily vegetables like broccoli and cabbage? Myself and others I know tend to eat a large amount of beans, grains and root vegetables as this is typically necessary to get the required daily amounts of protein and calories.
It would only be "reinventing" the wheel if it was (or, at least claimed to be) an independent first-time creation of a blog engine without prior knowledge of them existing.

So, unless we're talking about something like that (unlikely) there's no such thing as "reinventing the wheel" in real life.

There's just "creating a different wheel". BBS, Enkei and all the wheel companies are not "reinventing the wheel". The create a new version of wheel.

Even if it's boring and similar to existing things, it's not a re-invention. That would be like calling another CRUD app that is "re-inventing the CRUD".
"Am I only the only one that doesn't find 'All tests in 4 minutes, all model tests in 80 seconds' very impressive? It sounds like a really long time to me."

No.
As I said, it is my bad not to express more with less. English is my fifth language I picked only few years ago.

Furthermore, I'm walking on eggs here, as some people are way too reactive, so I try to make sure to light the matter from different angles, so the shape of my thoughts would appear clearer.

My point, and this is why I went to Ask HN (to ask, to voice my thoughts and get feedback and debate, not to put them as hard truths).

My points were:

- If sexism exists, it seems it does over all industries.
- If you are someone, whether a woman or not, having trouble getting into an industry, it's good practice to question yourself, too. It's not always "them".
Your relationship with them is governed by a contract, which in turn is governed by contract law (probably California's but you have to look at the choice of law clause to be sure).

Without reading the contract it's impossible to say whether or not the reported conduct is in conformance with it, but if I had to bet, I'd bet it is.
Lockheed Martin 3D Prints Giant 15 Foot Long Satellite Fuel Tanks
"pool" vs "poll" - can the submission title be corrected?
I'll just leave this right here:
http://pastebin.com/qh6Tta3h
Old news, it has been like this for some times
Me personally, I do have projects on Github, mostly coded on rainy weekends when nothing better was happening, or when stuck on a plane/train.

I rather spend my free time after work on this one life, with family and friends than coding.

Not to mention that most corporate work is under NDA that prevent us to publish anything about it.
And this is the point at which I say, my job here is done. You may censor/permanently block me to your heart's content. I don't even read HN. My friend/co-worker was stoked that he made it to the first page and then laughing that he was ironically "hellbanned". So I said, "Hey, that's not cool. How do I post? I'll re-post it for you." And, as he said, he's not reading your site anymore anyhow. Voting with his feet, one might say. So, ban away.

You guy's are really something else. Cute. But a real piece of work.
Yup. They need to show all the information to the Google bot in order to rank higher on the SERP. If they did not show the full name to the bot, this would not be possible. But they need to have the same behavior to any one visiting their site from Google search results.

I just use a incognito browser when I need to lookup someone on LinkedIn unless I want them to know that I visited their profile.

I think Quora changed their behavior a little since the earlier days? They now always have the first answer visible to everyone.
Show HN: One-click citations for your essays
JS Widget to Customize msgs/image depending on visitor's location temperature
SF Event: How Wearables, Sensors and Connected Devices Are Revolutionizing Food
1. Quoting from the article: 'Grosseteste, then, had created a medieval “multiverse”. ' Article writers don't write headlines and in this case I believe the headline is in error.

2. Metaverse will be well-understood on Hacker News to mean a virtual reality shared space (pace Snow Crash), rather than anything else.
I don't believe, in the last 15 years, I've ever hired a contractor, for any IT work, from Jira consulting to installing telephone lines, (and certainly not any type of skilled development coding) that charged less than $800/day.

Usually a contractor charges from $150 - $200/hour, with a discount if you need them for more than a couple weeks.
I use LinkedIn to find out which person in my contact list I should contact outside of LinkedIn to get an introduction. It's extremely useful for that.
I don't think you're doing a fair comparison, which would mean comparing the cheapest meat with the cheapest non-meat foods.

Of course mince meat is cheaper per calorie than lettuce, it's probably cheaper than tomatoes, but it's not cheaper than rice or lentils.

BTW - I live in Europe too.
Handheld Molecular Sensor
I'm not sure that's true. It would certainly be an interesting anthropological undertaking to pin down the details, but (at substantial risk of being wrong) I feel like this was an assumption in early attempts at abstraction and we only feel the need to specify "non-leaky" because we have discovered important things that previous attempts have - in practice - tended to leak.
Two other people on this thread have previously linked this.

Lengthy previous discussion of it yesterday on HN

https://news.ycombinator.com/item?id=7667976

Including Matt Cutts' response to the text in the pastebin:

https://news.ycombinator.com/item?id=7669071
Meat has horrible calories/$ value. People end up eating more calories when they're eating carbs though.
I can't flag this enough
Glib response:

:s/t:50/t:60/g

More serious response: I think after many years of training ones brain to use the features available to it some of those features become second nature and subconscious. This is great for editing and it's the reason I immediately saw that you left me a really easy way to do it, but it can make seeing the value of new features more difficult.
When will you bloggers learn that full page popups that ask me to join your newsletter after reading an article for 2 minutes = instant page close + never coming back. Please, say no to full page popups.
Sounds like this is pretty specific to some ORM tools!
There's something to be said for DHH's point here, even though he's confused about what a unit test is. Integrated and end to end tests are much, much more important than unit tests. They actually test the application, not a contrived, isolated, scenario.

Much of the testing activity and literature of late has been complaining how brittle end-to-end tests are, because all the focus is on pure unit tests. This leads to defect pile-up at release time or at the end of an iteration. Whereas the smoother teams I've worked with did end-to-end and integration tests all the time. Unit tests existed too, but only when there was sufficiently complex logic or algorithms to warrant such a test, or if we used TDD to flesh out interfaces or interactions for a feature.

Many web applications don't have a lot of logic, they have a lot of database transactions with complex variations for updates or queries. So, especially if you have an ORM, which are notoriously fiddly ... it makes sense to have the majority of tests (TDD or not) hit the database, since the code will only ever be executed WITH a database.

Mocking or decoupling the database can introduce wasteful assumptions and complexities that aren't needed in your code base. The only time it makes sense to decouple the database is if expect you'll need polyglot persistence down the road and your chosen persistence framework won't help you.

I have worked with developers that prefer test cases run in under 1 second on every save. To me it helps to have a set of unit tests that are in-memory and very fast, that cover basic sanity checks like model integrity, input validation and any in-memory algorithms. But the bulk of tests really need to test your code as it will be used, which often involves database queries. At worse, use an in-memory database that can load test data and execute tests in a couple of seconds.
yes, Wikipedia content is licensed for redistribution but the point here was websites outranking the original sources.
An ex-coworker and I are both endorsed for endorsements. The system is such an utter joke - the worst is getting endorsed for things and skills I don't care to advertise.
With an average of almost 100, he was the very best and will be the benchmark that all future greats will be compared to.
It looks like startup time problems weren't caused by that add-on, so you can ignore that remark.
A distributed network is not well suited to micropayments. With every user it exponentially increases the resources used. Bitcoin can handle about 7 transactions a second maximum. Much less currently.
I'm vegan and I eat super cheap. Lentils / black beans in a soup or burrito gets you very far. My luxury meal items are fresh bread or tortillas.
Yeah. They took ideas from things like PS1 setting with Bourne shell, and kept going. Keeping the variables to single letters was intended to have the format string be approximately the same length as it might actually be displayed. However, that doesn't work well in practice. It would be better to go with keywords (or maybe even key-phrases) instead.
5 Best Bootstrap Alternatives For Web Designers
Honestly, none of that. Create your own "ad network".

Basically, figure out the theme of your blog and what kind of people it attracts and then find affiliate programs for that.

For example. Let's say your tutorials are for developers. What do developers need?

* development tools
* hosting
* further courses/learning

That will yield a pretty good list of affiliates that will convert well such as:

* New Relic
* Digital Ocean
* TeamTreeHouse

(respectively). You'll make much more cash, and it'll work better for your site. [Checkout my site](http://antjanus.com/) for instance. I have a TeamTreeHouse ad (affiliate) which makes me a solid $X every month. The adsense ad underneath makes about $X/100 (it was slightly better when it was at the top of the sidebar but still made only a fraction of what the TTH ad made). I also have an ad for Bootstrap themes on my Bootstrap tutorials. That ad makes about $X/2 BUT my teamtreehouse ad performed at $X/25 for those articles, makes sense?

Anyways, I'm getting rid of adsense in favor of my own "ad network".

EDIT A good example of other people doing this is [TechPro](http://tech.pro) (I worked there briefly during the first sprint to make a pre-alpha whatever) which has its own ad serving network and directly serves affiliate programs.
This is my general rule of thumb, but bear in mind it's only my approach. I'm not even going to claim that it's good. Just that it works for me...

Is it source or configuration? Then its external to the container, either mounted at runtime of the container (typically always true for source code) or injected into the image at build time through the Dockerfile. Application source is almost always mounted, things like nginx/apache configuration files are nearly always injected during the build process.

I prefer this approach because my source is decoupled from the image, and if another developer wants a dev setup free from Docker, he/she can do so.

I prefer the source I use for config files because it allows me to keep the dockerfile, the configuration files for various services, and a readme all beside one another in source control. This allows other developers to get a basic idea of the container's configuration (if they so desire), and also modify that configuration if they want to tweak/alter a setup.

I see the configuration file approach being potentially a bad idea, but with the small group I currently work with, we're all fairly comfortable making configuration changes as necessary and communicate those changes to others effectively. I don't know how well that approach would hold up at scale.

I would do the same thing with static sites and files, I think. Why? The static site isn't the part of the system, it's the product that should be executed on the system. Therefore, at least in my opinion, it should be as decoupled from that system as possible.

But, like I said, this is just my philosophy. I'm sure someone else will have an equally valid but totally opposite approach.
LinkedIn serves 90% of us one, and only one purpose - it's an online rolodex that keeps track of where our colleagues are working, and what their current phone number and email address is. That's it. Bounce around in the valley long enough, and fairly soon you'll have 500+ contacts, and LinkedIn has every one of their email addresses and phone numbers in one spot.
I somewhat agree, and very well may be an error - but frankly, let's face it - when faced with a choice of clicking on a link that includes "multiverse" vs. "metaverse", it's pretty obvious (to me, at least) which one the HN crowd is going to be drawn to.

Again, the direct title on The Economist is "metaverse" (no single quotes), not "multiverse" (in single quotes). I get what your saying, it just feels like the OP changed the title to make it seem cooler. At least that's my take.
Bountysource: Get Paid for Open-Source Development
You can also have postgres running off /dev/shm.