skysight-inc/HackerNews huggingface dataset:
> But governments limit other forms of speech such as hate speech.

Yes, and I would argue that this is also a bad thing.

> Or what about false advertising claims?

Advertising is quite a particular kind of speech. Banning a piece of data (as is done with child porn, _Mein Kampf_ in some countries, etc.) is not the same thing as forbidding people from making certain deceptive claims. (Although ultimately I would argue that prohibiting false advertising is not necessarily a good thing either.)

> Or holocaust deniers or people who claim vaccines don't work?

Prohibiting holocaust denial is in my opinion a bad thing. As for vaccines, I certainly hope it is not illegal to argue that vaccines don't work, as it should not be illegal to argue, say, that the earth is flat. (However, if people, e.g., start to prevent their kids from getting vaccines, this should be illegal, to protect the interests of the child.)
Is it time to re-evaluate the Facebook-Stack Overflow partnership? (2012)
In technical terms, we are witnessing the transition from a circle jerk of libertarian ideolgy to a clusterfuck of libertarian ideology.
What Big Data knows about you
Hijacking sharing links is pretty widely frowned upon. I don't see this as much better.
Peekster App, A ‘Shazam For Print Media’
> Great code needs no comments.

The most valuable comments that code can't obviate are comments that explain why the code was written this way, the intent, and a summary of how the code fits into the overall picture -- maybe at least a file-level comment.

I think declaring intent is the most valuable comment. What was the author going for with this function? Why is there a nil-guard here when the database column is `NOT NULL`? Is there an actual edge-case or is our data bad or was the author just being arbitrarily defensive against a boogeyman nil?

When reading other people's code, I've found that most of my time is spent figuring out not what the code does, but rather the author's goals and their higher level game plan.
White House in no mood to debate big data and privacy at MIT
I'm ... not convinced this fully addresses the other aspects of business subsidy presented by lack of a sustinence-level minimum wage. I'd need to think about it in more detail.
Ask HN: What is the fastest way to learn C++? I have a exam in 10 days.
I'm a 12th grade student, I've my final exam in about 10 days and I'm not prepared at all and I'm pretty sure that I'm going to fail. What should I do. Help!
Yep, #! is what I'll be using moving forward. My needs are basic: vim, terminator (default on #!), vagrant, and virtualbox. #! just stays out of the way and needed very little keybinding changes out of the box.
Dating Ring launches crowdfunding campaign to send girls from NYC to SF
haha $2000 a month, are you crazy?
Hey Joel,

I checked out the jobs page on the site and there doesn't seem to be a listing for internships? Do you guys offer any internships, specifically for college students?

Thanks,
Viral
And also skipped on testing that basic business rules can't be trivially violated.
Why we need events like the Female Founders Conference
My original guess was that there was going to be a twist with a "for the price of a Huvrboard you can sponsor a child" type message.

As that didn't happen my guess is that it's 'viral marketing' for a BackToTheFuture movie that's unannounced.
> PHP's "closures" require you to write down the free variables in an enclosed function and tell PHP that they exist

Can you give an example? I googled "closure conversion" but didn't understand.
You might also want to talk with this guy at the Folsom Street Fair in San Francisco: http://happyurinal.tumblr.com/post/11493020151/puppet-urinal...

That approach might work pretty well on Queen's Day in Amsterdam, too. (Well it's going to be known as King's Day from now on, now that the queen has abdicated.)
I agree, I think there is a movement afoot (if not named) that new frameworks will be truly decoupled -- being designed by war-worn veterans. The first frameworks were all massively coupled bells and whistles. The whole point of RoR is a pseduo-OO skin over a massively coupled Active Record system that can't really be extended without hula hoops. And Rails gurus love hula hoops.
Paper seemed like an odd play for Facebook...I get on Facebook because I'm not intending to read news or anything deep...and yet I will read those if something compelling comes up in the news feed. So what's the value proposition of Paper? A prettier news feed, except just focused on news, and a streamlined way to share on Facebook?

Easing the way for sharing on Facebook is obviously valuable to FB, and to the kind of users who do like sharing links. But for the majority of casual users, there's already a way to do that: the normal Facebook app. The only thing missing is: the newsfeed being filled with actual news instead of baby pictures and Doge memes...but that's something that is completely within Facebook's control.

Why not just add a news filter to the status/newsfeed and train users to use it? That way we can quickly filter between friend status updates and stories shared in our network. The only Paper-feature that would be absent is the attractiveness of Paper...but, in the scheme of things, that seems to be a rather inconsequential feature compared to the burden of users switching to a whole new app and interface.
Economics:  The biggest fraud ever perpetrated on the world?
Find a time machine, go back in time, and actually learn C++.
Yes, too much effort for only a bad joke.
I'll add that the initial registration is extremely easy and certainly does not require the help from an outside company. When I signed up in the past, if I remember correctly, it was very basic information about my identity, a picture and how to contact me. That was done in just a few minutes.

Once you win the lottery, it might or might not be wise to get help, but I don't really know since I didn't win.
One thing that to consider is that in UK company cars provided to employees as benefits are taxed heavily based on emissions, which is what drives a large number of customer to small engine diesels (hence the popularity of the BMW 520d amongst company car owners).

In that market assuming that tesla would be in the best emissions category, I'd expect them to do really well.
I've got to dispute this - India has appalling rates of abuse, rape and mistreatment of women, and I don't believe any systems in place there are helpful. Have you got any citations that might change my opinion?
I'm about 98% certain:

Killwhite is identical to Gimp's "Color to Alpha" if you use white as source color.

In their example, it leaves a grey color background with a little alpha. They started with a brighter blue, and was dimmed by the their resulting image.

I'm guessing that in your example, you used the background grey as the input color, so it took the background to clear, then you used a color sample of Killwhite's background to use as the background of yours.
...but I may be wrong.

edit: I am playing with it, and if you use white as the color, then put the result on the white background, it's identical to the original., if you do the same with the grey color, same results. So "Color to Alpha" is the same, just allows you to pick a color.
30 000-year-old virus reborn
You and I didn't know that because the system works. Nobody gets TB from riding in cabs, so nobody knows it's a problem and nobody realizes unless they look into the regulation. This is the big problem I have with the libertarian free market ideal: it's fundamentally reactive, not proactive.
Have you seen any WordPress code? There are a lot of "clueless devs" who stumble upon the most wretched, ill-advised features of PHP and happily (ab)use them.

I have been under the impression that that was, in fact, one of the reasons PHP has such a bad reputation (rightly or wrongly).
What good are children?
If it's a new BTTF movie then I forgive them.
The code samples and component lifecycle remind me of reactjs (by Facebook). Can anyone comment on similarities and differences?
From their T&Cs (
http://huvrtech.com/legal.html):

"The inclusion of any products or services on this website at a particular time does not imply or warrant that these products or services will be available at any time."

Just in case anyone thinks this is a real product.
One trip about 2 years ago made me realize that I should not worry about things I can't control, and changed me from the bitter, angry person I'd become to the life loving happy person I used to be when I was young, in an instant.
Music-making card turns objects into wacky instruments
okay, this is image segmentation that attempts to estimate and remove the 'background' segments using some domain specific assumptions. This is generally referred to, in common language, as 'background subtraction'.
why so positive?
The formulation you're talking about is mentioned in the article, under "unknown number of applicants".

However, it's worth pointing out that the strategy is unacceptable for the gas station scenario, because of the high probability of total failure.
Well, you don't pay for the security associated with state-backed currencies (in fees and regulatory constraints) and you don't get it. That's it.

The Gox debacle will teach people to cold-store their wallets themselves, which is an excellent thing for bitcoins.
Echoing other YC people: More than happy to help with reading over applications and giving feedback! thomson@cantab.net
No one knew scientifically for thousands of years why pigs were unclean. Or shellfish, or 80% of the stuff that was considered 'unclean' food according to the first testament. Now a days there is a particular scientific explanation for it...

traditionally it was the pig rolls around in its own feces, and smells bad, and folks seem to get sick from its meat...

the menstruation situation, its bloody, it smells bad, and the women seem to be in pain when they have it... maybe we should not have them handling or washing their clothing and rags in the communal drinking water does not seem like an irrational conclusion.

It seems pretty rational to me...
OP here - would like to hear some feedback and similar stories
Blockchain Acquires Bitcoin Price App ZeroBlock
What's your point there, that because they are already exposed in some areas they shouldn't care being exposed in more ? Or are you looking for a "ah-ah" moment; "you're already compromising that data" ?

Because either way, that doesn't change at all the concerns he voiced regarding this particular service.
Has PHP decided whether it's a language or a framework yet?

EDIT: To clarify, a framework like Rails definitely has a place for including a web server.

Now Ruby has a lightweight web servers in its standard library (but not its core library). Maybe the problem people are seeing with the web server (and it's not a new problem) is the way PHP's core library contains so many things that other languages would leave out as optional includes.
You continue to reinforce my point for me:

> "photos can be photoshopped but in that case I think they should be treated separately."

It's great that you think they should be treated separately. But the people in charge say otherwise, and therefore in the U.S. and much of western europe you can be prosecuted for looking at simulated child abuse. Actors? CG? Doesn't matter, still illegal. You have all kinds of clean lines and distinctions in your mind to help you justify this stuff. The people in charge will naturally make their own distinctions, which currently means you'll go to prison for merely possessing data which may or may not depict an actual abuse which occurred in the past.

And then we can add all the other forms of expression that many of our leaders would like to outlaw, many of which are FAR more dangerous than child porn. Things like political dissent, which can destabilize entire nations. Gotta put a stop to that shit.

False advertising is an orange among apples. It's fraud, and typically dealt with as such.

I should admit that I am sympathetic to the view that the circulation of child porn creates a market for further abuse. IMO, if the banning of any kind of speech/expression is to be justified, it had better be along those lines.
I would agree with you if the image processing algorithm were actually well thought out. As it is, I fear that this article is encouraging some very bad ways of thinking about problems.

First off, they don't mention searching for an off the shelf solution to the problem. If OpenCV's built-in GrabCut or Watershed filter wouldn't work for them, they should explain why.

Secondly, they don't examine the literature for existing approaches to the problem. Sometimes you won't find what you're looking for in those approaches, but in that case, the problem with existing approaches will inform how you decide to tackle the problem.

Finally, they solve the problem by building a filter chain, but they don't seem to actually understand what the filters are doing. They say that the Sobel operator "looks for light to dark transitions". This is completely incorrect. The Sobel operator does nothing more than estimate the magnitude of the gradient of the image. Furthermore, based on this misunderstanding, they invert the image before applying the Sobel filter - a step which does literally nothing.
Learn that you need to work on these things in advance, when you're supposed to, and that trying to cram simply doesn't work in most cases. Even if you succeed in passing this exam, you still won't know or retain enough to go to the next level. You are setting yourself up to fail harder, with no hope of getting out of the spiral.

Sounds harsh, but I speak from experience. It would be nice if other people could learn from my mistakes. Seems unlikely.

And you haven't told us what you already know, what's likely to be on the exam, what level you need to work at, what you're likely to be asked to do, whether you'll need to write a program, whether you need to design a program, or, really, anything.

Step 1: Find out what's likely to be on the exam.

Step 2: Decide honestly what you already know.

Step 3: Ask a specific question.

Step 4: Lather, rinse, repeat.
Laravel + Stripe = Painless subscription billing
My concern is that by even asking that question, we generate something that can be interpreted as "buzz" for whatever bullshit this turns out to be.
Doesn't seem like Mt.Gox or this joke of a company is any safer than your a wallet on your computer.
Are you kidding me? Sideways scroll with no way to use my scroll wheel? It's choppy and unreadable scrolling using the scrollbar, and using the right arrow is just too slow.
Yes...there are plenty of old and clunky apps out there for this =)

We're hoping to change that. I really want this space to become something that men and women, alike, will talk about. Good UI and UX has been missing, and women definitely deserve better.
I can't speak too intelligently about how Sinatra is architected, but here's a bit about how Pakyow handles routing.

A route is just a regex and set of functions (blocks, procs, whatever). When a request comes in, the following things happen:

1. An AppContext instance is created that contains the request's state
2. Route is matched (narrowed by method then match on path)
3. Each function is evaluated within the context

Hooks, etc aren't special things and are just functions at a particular location in the set. This set is built at startup, so there's no object creation to fulfill a request (except the Request/Response/AppContext objects). The routing bits of pakyow (pakyow-core) are very close to the Rack metal.

Aside from routing, nearly everything in Pakyow is middleware. This makes it easy to completely remove (not just disable) components like static file handling, logging, etc.

Hope that helps!
not trolling - but how do you configure escalations properly in a circumstance where a queue might delay longer than any arbitrary period? In short - tell me your secrets
This is very cool - I love demonstrations like this that show the scale of incomprehensible scales. It's always fascinating.
The goal for PHP6 is basically to provide good unicode support (strings internally as unicode etc.)

However due to problems and internal conflicts the effort was stopped a few years ago and there has been no progress since.

If this goal hadn't been stated PHP 5.3+5.4 would probably have been PHP 6 (they have some major new features). Core API cleanup never has been (and it doesn't look like it will soon be) a goal for a future release, unfortunately.
How Modern Marketplaces Like Uber and Airbnb Build Trust to Achieve Liquidity
Image segmentation is exactly what they are trying to do. You can quibble about the exact definition of "background subtraction", but it doesn't change the fact that they are reinventing the wheel over a solved problem.
The best I can say is ... apprently parents have quite a small influence on the kids adult success - genetics, peer groups, and I suspect luck have a bigger role than us.
Shimmer: easily add a shimmering effect to any iOS view
I think there are a few restroom directories online. One of them (which I'm unaffiliated with) is Diaroogle.com.
Thanks for the tip guys! One thing I found annoying was that it could not add replaygain for flac.
To get around this, install metaflac and execute the following:

find somealbum-with-cds -type f -name "*.flac" -print0 | xargs -0 metaflac --add-replay-gain

Then import as normal and it will have replaygain included (and store the replaygain in the library).
One of the sites I visit that is most strident about disabling your ad blocker is an anime site where they seem to make the advertising worse every day up to the point where page load time is like 45 seconds.
"were".

https://en.wikipedia.org/wiki/Subjunctive_mood
I think the missing solution here though is collaboration and versioning between people, rather than individual backups.

Things like File History and Time Machine are nice, but don't really address this need.
N64 HDMI Converter
Can you link the RFC's/Threads? When you're not familiar with the PHP dev ecosystem it can be hard to find the meaningful stuff.
In order to use variables from the scope that the anonymous function came from, you have to explicitly import them into the anonymous function with the use[1] block:

public function getTotal($tax)
{
$total = 0.00;

$callback =
function ($quantity, $product) use ($tax, &$total)
{
$pricePerItem = constant(__CLASS__ . "::PRICE_" .
strtoupper($product));
$total += ($pricePerItem * $quantity) * ($tax + 1.0);
};

array_walk($this->products, $callback);
return round($total, 2);
}

In other languages that have true closures, the anonymous function "closes over" the lexical scope in which it was declared.

[1]: http://www.php.net/manual/en/functions.anonymous.php
It is an algorithm used in compiling languages like Scheme where you calculate the set of free variables in a function and then create a closure (a function pointer and an environment, which is basically a way to lookup free variables). PHP requires you to do this by hand with the "use" keyword, e.g. use($a, $b, $c) where $a, $b, and $c are free variables (that is they are not bound in the current scope). I see no reason why PHP couldn't be doing this for you other than that the devs are lazy.
When are they going to rediscover double-entry bookkeeping?
Example 3 here: http://us1.php.net/manual/en/functions.anonymous.php

The necessity of `use` is, IMHO, ridiculous.
About 20 years ago I had some bad shit going on in my life and did the same. It was the most horrible experience of my life. I thought I was shitting snakes and they were then eating me.

However I instantly stopped smoking, drinking and haven't touched anything since.

YMMV as they say.

Edit: perhaps its related but it was shortly after that I finally grokked Unix and C.
This has all happened before. MFC used to be the way to structure your Win32 applications. Later on, Microsoft leaked a small library known as WTL that provided a lot of the UI niceties of MFC without a gigantic runtime DLL. More importantly, it didn't specify as much of an architecture. It became very popular; I'd attribute a big part of it as feeling non-monolithic.

The biggest disservice that Industry does to working class programmers is when it tells them that all of these 'old' practices of modularity/coupling are outdated/can't possibly work/too hard to learn/too academic/require writing too much code. They free developers to work faster and better, rather than shackle them to fashionable technology, keeping them in a perpetual state of engineering amateurism.

Worse, Industry has the gall to proclaim each small step as progress. It's all hype and bullshit, including your favorite framework.
Yeah, no, not what I want to hear from the people hosting my logfiles.

There's your answer to "Why won't you host your server logs (which are usually key for troubleshooting flaming boxen)?"
Sounds like if PHP6 is going to be cleaned up and break backwards compatibility then it really needs to be named PHP+ or named differently so that the less informed nonfollowing developers understand it's not just PHP5 plus some more stuff and therefore it's not backwards compatible.
Code for America 2013 Annual Report
Read everything you can find for the next 10 days?
Woman being unclean during menstrual cycle is part of Abrahamic religions. But I guess this comes from the bigger problem of "sex" being wrong unless it constitutes "breeding".
Just to be fair, 'destructive' seems like a bad adjective to apply to LSD. It's way, way less toxic than alcohol, for example.

http://www.economist.com/blogs/dailychart/2010/11/drugs_caus...
http://commons.wikimedia.org/wiki/File:Drug_danger_and_depen...

'Mind altering' yes, I will grant you that. But most things you ingest are mind altering. For example, this chocolate chip cookie I am eating now will shortly make me feel a burst of energy, but then shortly afterwards, sleepy and fat.
Is it a lot harder to justify a EB-2 than EB-3?
I tried to use the scrollbar to scroll but I never landed on anything but empty space. While it did perfectly show off the vastness and emptiness of the universe, it probably was not the intended result.
Getting the first release was enough of a hassle that I'll probably stay stuck on v1.0 by taking no actions. (Logging out of appleid, creating a fake us apple id, signing in with it, "switching stores", downloading, signing out, signing back in with my regular apple id, and "switching stores" again). So, no automatic updates here.
Tony Hawk was quoted recently saying that he is working on a new video-game. It's possible that this is a viral marketing spot for it.
Can it be completely driven by some configuration management tool and run without persistent storage? These are two parts of nagios that make it work for me. Granted, I didn't look too far, but some basic research says you need a database and have to manage everything via GUI.
The hacker discovered that if you place several withdrawals all in practically the same instant, they will get processed at more or less the same time. This will result in a negative balance, but valid insertions into the database, which then get picked up by the withdrawal daemon.

When I was a kid I imagined that banks were incredibly vulnerable to this.

Later I discovered transactions and thought my kid-self was just silly.

I've learned that my kid-self understood things pretty well, sometimes.
Ranking Startup Investors by Portfolio Momentum
How telling do you think their score is?
This sounds nice. Do you know where I can find one?