skysight-inc/HackerNews huggingface dataset:
Anon can be any group of anonymous people, though. They aren't a singular collective - any "branch" so to speak can work on what they please.

The fact that they're targeting child exploitation shows that there are really talented members of Anonymous who are willing to do the unthinkable for proper morals.
Haskell for its unrelenting purity and take on laziness. Clojure because Rich Hickey's take on lisp and functional programming is beautiful in both concept and execution. Scala's type system (given its limitations from being on the jvm), traits, and pattern matching also are deserving of a mention.
This is nice. I particularly like the addition of the Vagrant config. These days any app example that requires external resources should include them. It makes things so much easier for someone to go from read, to download, to run.

One thing I'd change though is to add RabbitMQ to the dev Vagrant config. There's no reason dev should not match up with prod:

> While developing locally, Playdoh defaults to:

CELERY_ALWAYS_EAGER = True

> This causes your Celery tasks to happen during the request-response cycle, which is great for development.

In this case in particular there can be huge differences to doing tasks async vs sync. With sync tasks you can assume that task is completed and a subsequent request can rely on the completion of the task. With async it'd be a race condition unless you explicitly handle it.

You'd never catch those kind of bugs in dev or even be able to reproduce them if the tasks are executed synchronously.
Furthering the analogy, PHP gives you several miles of rope and a noose already done.
Why do people even sign NDA's ?
Eh...well intentioned, but no. There would be severe consequences for just offering employment to such sensitive individuals.

People like Snowden are not branded untouchable because people are ideologically opposed to his actions - that's a misrepresentation of what's actually going on. Whistleblowers become shunned because whoever they come into contact with will be elevated to accomplice status.

Google doesn't want that kind of fire under their ass. Altruism is all well and good, but there's a reason wh you're instructed to put your own oxygen mask on in a airplane emergency.

If a company like Google did that, they would immediately:
1. Place Snowden in United States lawful jurisdiction,
2. Endanger their own fiscal well-being,
3. Draw political attention and divisive sentiments to themselves.

I believe tech companies have a responsibility to take a stand, but being the hero and standing up to the man like that is essentially taking out Snowden and your company in a massive kamekaze attack that benefits only his detractors.
An Open Letter and Apology To Tomass Zutis
I agree, and I'd also like to mention the other usually cited experiment along those lines - the Milgram obedience experiment.

http://wikipedia.org/wiki/Milgram_Experiment
Show HN: How much does a non-programmer app sucks?
Made my first web app 100% alone. As i'm not a programmer but a CEO of a startup, I feel great. But, how much does it suck? functionality, design, everything...

take a look at: http://wastats.pythonanywhere.com/
The US government, copyright locusts beg to differ.
Good. Thunderbolt is another lame Intel scam.
> he wants to be a part of something larger than himself

In fact, you too are part of something larger than yourself and as you work you make decisions that affect it (us) whether or not you think about it. Ignoring an ethical quandary isn't the same as escaping it.

So what ethical stance are you saying you take? You identify as "amoral" and seem to use that to mean "simply self-interested", where self-interest involves doing a craft you enjoy. But then you say there are jobs you wouldn't take for reasons external to the technology. cgag's question is a good one, and I think the contradiction there points to a flaw in the approach of starting out by thinking you can avoid ethical choices. Since you can't really, the only result will be that you make them without thinking them through.
So YouTube shouldn't do it because soundcloud did it first. If they copied soundcloud idea, I am really glad they did as a User.
The `save!` in the rescue block is just to save off the error message from Stripe, since retrying after a Stripe-level error isn't possible because the token that you get from `stripe.js` is one-time-use and is consumed as soon as Stripe sees you make an API call.

SuckerPunch won't actually retry the job. In this simple example the backgrounding mechanism is mostly for insulating you from the browser's timeout.
Isn't Playdoh a Hasbro trademark?
Could you explain why all statisticians involved in education are unable to include this specific "huge statistical[ly] significant difference" in a predictive model?

They can and do. However, when it comes to teacher pay and student performance such things are politically untenable. No Child Left Behind does not mean except for when your peer group is full of truants.

The best evidence for this is actually from tracking randomly assigned edge cases. Often good schools will accept X numbers of students from another area and when they pull randomly from the pool of available students it's not hard to track what's going on and compare crossovers performance with students from each area that stayed in that area.
> but isn't Thunderbolt ... a better choice for ... audio interfaces

I certainly see your point and am in no way disagreeing with you, but this made me laugh.
Apple iPhone 5C At Low Cost?
'Click farms': How some businesses manipulate social media
The Ecuadorian Library
Not quite. `txn.save!` just writes the data to the database. The call to do the actual processing happens earlier, on the line beginning with `charge = Stripe::Charge.create(`.

RE the poll: I tend to do doubling polls for stuff like this (500ms, 1s, 2s, 4s, 8s, etc), but in this case I don't think it matters, since all the server does is one database lookup and render as json.

Side note to OP: It seems like a bad idea to use the auto-incremented id as a key for polling, since it would allow an attacker to get full details of all transactions.
I'm curious as to how the hell Intel can charge huge license fees on a pci express passthrough port. Though, it doesn't sound like Lightning Bolt is similar - the Displayport part, maybe, but USB is serial and has high latency compared to the pcie bridge.
I would not just say Western society. The VICE documentary "This is What Winning Looks Like"* seems to show CSA has a tradition in Afghanistan.

* http://www.vice.com/vice-news/this-is-what-winning-looks-lik...
"Quit Google, Facebook"  suggests tech expert as surveillance scandal deepens
If you look at Google trends there is a massive spike in Angular interest:
http://www.google.com/trends/explore#q=angularjs%2C%20emberj...

I'm not saying this should play the biggest part in your descision, but it's worth noting.
I implemented 2 small apps in both frameworks, giving me a small fixed amount of time for each. I liked both, Angular gave me less head-scratching and out-of-the-box Twitter Bootstrap integration.
> Your page will poll /transactions/<id> until the transaction ends in either success or failure.

If you do something like this you need to make sure to verify that the user actually created the transaction. Blindly loading it by id and returning it back would let any user check on any transaction. Plus it's particularly easy if the ids are sequence numbers.
Thanks for the reminder.

If you are ever placed into a situation psychologically and ethically analogous to these experiments--a possibility that in a militarized and capitalist world it seems wise not to dismiss--and you want to acquit yourself better, what can you do? One option is to just have faith that you'll turn out to be an exceptionally good person. But that doesn't seem to me to be much wiser than assuming that no one with authority will ever encourage you to do something wrong. I think a better option, per the OP, is to think seriously in advance about what kind of situations might arise in your actual life and how you would like yourself to respond.
Yep, you're right. The book[1] has a much more fleshed out version of this example that uses a random guid as the key, plus a whole lot more.

[1]: https://www.petekeen.net/mastering-modern-payments
Umm.. it shows the power of software optimisation?
you could try vidd.io or something similar.
Have a look around this panorama:

http://www.360cities.net/image/shooting-the-tokyo-gigapixel-...

It will give you a good idea of where on the tower Jeffrey shot the gigapixel from: way out on the edge!
It's like Rails vs. a custom web app. If you asked me to maintain an existing Rails app, I would feel pretty comfortable just knowing that it's Rails. If you asked me to maintain your web app that you build from scratch that doesn't necessary follow standard patterns like MVC, I'd have a much harder time.
Interesting how the Major Consensus Narrative changed making the USA an evil place for everyting related with freedom on the net.
you could try with another domain. when i launched my site, the .com was for sale over 15000$ but .eu was not yet registered so i went with that.
I'm using it to display analytics. The page has various controls to view different metrics with different filters etc. there's a single chart which updates as you change settings. The backend is super fast so the chart updates almost immediately when you change metrics/filters. Our users absolutely love it, it's so much easier for them to learn the interface when the feedback loop is so quick.
That's a trademark issue, "Things Fall Apart" by Achebe is one of the most popular works of literature in Nigeria & Africa. They would protect their trademark like businesses do. BTW RIP to Chinua Achebe, he was a great writer.
So explain this to me like I am 12: If the law made it legal to discriminate based on race (as must have existed when you were a kid), would you be okay with aforesaid discrimination?
Largest island in a lake on an island in a lake on an island
The code does not seem to be neatly written: have randomly checked a few files and found that the const methods and exceptions are not properly used. Here is a sample function:

const char *CountryCode::getAbbr(int index) {
if(index < 0 || index > s_numCountryCodes) index = 0;
return(s_countryCode[index]);
}

https://github.com/gigablast/open-source-search-engine/blob/...
What's it do? You might start with a better explanation of what it is and why anyone would want to use it for whatever it does.
The Apogee Symphony can be connected to Thunderbolt via the $1000 "ThunderBridge" (http://www.apogeedigital.com/products/symphony-64-thunderbri...), but it feels more clunky than using USB which can connect directly to the Symphony without the intermediate hardware.

The ThunderBridge gives extra benefits (the Symphony with USB alone can't go above 96kHz or 16 channels).
Interesting, thanks. Is that paper by chance publicly available?
HP developing smartphones through collaboration with Taiwan makers
You could just call yourself a programmer and be done with it. If you wrote a program, I mean, isn't that... lots of people do it without much formal training.

It looks like a good basic app. The layout/design stuff seems well-intentioned but not tuned or styled. The functionality seems to include some pretty general things, like uploading files, and displaying some database query (or whatever).

So, good work. On the other hand, I'm not sure I want to do the NSAs job for them by uploading my chats. I already pay my taxes...
In the thread on the apparent code injection portion of this topic[1], I heavily suggested governments with the US at the least being responsible for the deed[2]. With a corporation like Endgame Systems being a probable contractor for the act[3].

Something I've brought up a few times with my commentary previously and mentioned by some here is governments using tactics they prosecute others for:
"There are even target packs for democratic countries in Europe and other U.S. allies. Maui (product names tend toward alluring warm-weather locales) is a package of 25 zero-day exploits that runs clients $2.5 million a year."

Sometimes using the very tools made by those hunted, prosecuted, renditioned:
"The Cayman botnet-analytics package gets you access to a database of Internet addresses, organization names, and worm types for hundreds of millions of infected computers, and costs $1.5 million."

How long can citizens of nations involved in enabling and hiring these mercenaries keep faith in the law of the land, let alone those tasked to uphold it? How long can the tiered system of the monitored/hunted/renditioned and the legally immune last, with the legally immune being paid by the former?

Stop attempting to code around this human issue. Please.

[1] https://news.ycombinator.com/item?id=6154246

[2] https://news.ycombinator.com/item?id=6154819

[3] http://wiki.echelon2.org/wiki/Endgame_Systems
rayiner, how is it consistent with the rest of what you're saying that math/science degrees are worthless?

Understand, I acknowledge you might have more knowledge/experience on this, I'm just skeptical. I would think - and the tone of your argument seems to posit - that it matters more what you decide to do with that degree than what degree you have.

Is it really worthless to have a good math degree if you become a quant? I understand market oversaturation, but that could be said of almost every degree, moreso liberal arts.
A previous discussion on rape porn in general, which obviously applies to child porn:

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

I've noticed over the years that any mention of child porn on an internet forum usually leads to a few posters making arguments that take the side of people with pedophilia. First, it's not easy to overcome, like any paraphilia or fetish, and if you don't hurt children you aren't a criminal. Second, merely distributing images doesn't directly harm anyone or conclusively promote harm. Third, not having access to images might increase acting out in the real world. Fourth, animated simulations could be tolerable substitutes.

At any rate, I find pedophilia so abhorrent that these kinds of arguments never really crossed my mind before I started reading forums. Which means I don't think they're entirely useless. I could probably tolerate legal simulations.
Awk in Haskell
During the day, I use Objective-C, Xcode, Clang, LLDB, Git, GitHub. During the night, I use Agda, Coq, Emacs.
It currently shows:

{m, n} from m to n. m defaults to 0, n to infinity
{m, n}? from m to n, as few as possible

With the spaces before the max (n) argument. This doesn't work, which testable on the page itself.
If the state of the world is anything to go by, you indeed cannot protect the title of your book, as it's quite frequent for two books to have exactly the same name.

> You would violate Rowling's copyright, for instance, if you took a Harry Potter book, outlined the plot (even with character and place names changed), and wrote a new novel from scratch using that outline.

Terry Brooks might be surprised to hear this, as he seems to have been safe from the notoriously litigious Tolkien estate. Try reading The Lord of the Rings sometime, then read The Sword of Shannara (accurately described as "especially blatant in its point-for-point correspondence" [1]).

Again, though, all that's only relevant if you're interested in the actual state of the world.

[1] http://en.wikipedia.org/wiki/The_Sword_of_Shannara#Sword_and...
Arabic typography is beautiful. Esperanto is nice for its mathematical purity.

Oh, and Python is rather nice too.
Citation please. From reading the Commission Opinion document, it appears to me that what was in dispute was whether Apple proved that Samsung had not made at least one FRAND offer, and even if not, whether Apple proved the ITC didn't have authority to apply an import ban because of an SEP. Commissioner Pinkert offered a dissenting opinion (from a footnote in the report):
"...Samsung does not dispute that it has made FRAND licensing commitments in regard to the '348 patent, and, as explained in his dissenting views, he has considered the evidence before the Commission in the current phase of the investigation and has found the weight of the evidence to indicate that Samsung has not made FRAND licensing terms covering the '348 patent available to Apple."

So apparently it is not clear whether Samsung made a FRAND offer to Apple. Most details of negotiations are redacted, so I cannot make a judgement. It seems irrational to me that the ITC's comments regarding the negotiations seem to require Apple to irrefutably prove Samsung's offers weren't FRAND, but don't require Samsung to prove they were FRAND. Unfortunately in this case I believe all of Samsung's other licenses involve cross-licenses of multiple SEPs from each party, so there is no easily referenced objectively reasonable license fee for the single patent.

In case of a stalemate in negotiations, I am not sure what the proper remedy should be, but an import ban on the would-be licensee seems to put far too much power into the hands of SEP licensors.
The adoption curve is up and to the right, from a small base. These things take time.
> distribution of child abuse photos legal

That's the problem. So long as there is a channel for distribution of images depicting child sexual exploitation, there will always be someone abusing even more children to produce more material for profit. Widening that channel is opening the figurative floodgates and possibly encouraging a 'dormant' pedophile to act on his/her urges when they normally wouldn't have.

Stopping the distribution of photos of children being raped -> less children being raped so that photos can be distributed for profit.

I'll even argue that legalizing distribution of such images will normalize the behavior in sick individuals. Remember the jailbait/gonewild reddit, and the hoards of neckbeards claiming that there is nothing wrong with looking at suggestive or actually explicitly illegal pictures of underage kids? That was a community in which that kind of disgusting behavior was normalized and encouraged. You could tell that most of them thought it was perfectly fine.

It's ludicrous to suggest that making the distribution of the pictures of children being raped legal is a serious attempt at fighting child abuse.

The 'legalize it' attitude works for the drug argument, where there really isn't a victim from one's choice to consume whatever substance they please.

There is and always will be victims when child pornography is being distributed or produced. Taking a laissez-faire approach just because ALL distribution channels can't be destroyed ignores the real and lasting repercussions the phenomenon has on children.

Edit: I'm still kind of shocked that you are advocating what amounts to a child abuse economy. It isn't the price that is the problem, it is that children are suffering BECAUSE sick individuals feel the need to look at pictures of exploited children.
CoffeeScript: it blends some of my favorite parts of Ruby, Python, and JavaScript.
Show HN: Snail mail is for losers
Perhaps related -- some genius has registered http://strftime.org and lists out python strftime formatting directives. Very handy as a quick reference.
> Note that Playdoh is more specific to Mozilla websites than it should be

True that. But with some work, this has the potential to be one of the best go-to templates for production Django webapps

Disclaimer: I'm a Mozillian.
Copyright law, at least in the USA, views a sufficiently non-generic copy of another work's plot as a copyright violation. For a specific example of how this works, here's a lawsuit based on the concept, and don't miss section 31: http://www.scribd.com/doc/74815749/Angelina-Jolie-Lawsuit (that particular lawsuit didn't succeed.)

Another quirk: copyright law also views copies of sufficiently important elements (like characters/setting/etc. which are clearly taken from another work) as a copyright violation, even if the story is different; fanfic is technically a copyright violation.
Tom,

I missed you at Defcon for multiple reasons, not the least being the opportunity to get your feedback on the talk as delivered. Maybe we can run a pan-NCC internal conference this fall and see what everybody else is working on. Chicago is nice and central between SF and Manchester.

A big part of the talk was my theory that our industry can no longer claim neutrality; like medicine or law, our actions have become innately entwined with ethical dilemmas that I feel to be better dealt with explicitly and ahead of the moment of decision. I don't think you necessarily disagree, since you lay out two lines you are not willing to cross even if you do not specify your reasoning.

I expect somebody as seasoned and experienced as you can make these decisions subconsciously without violating your basic principles. Younger, less experienced individuals may find this to be a greater challenge and they were the real target of my talk.

In my eyes your actions definitely make you a white hat, even if you avoid the label.
> Monad is a simple ADT. A data structure with constructors and selectors

Are you talking about the Free monad? Or the reification of the monadic operations as a dictionary?

If so, that's a weird way to describe monads, and not very useful. Monads aren't ADTs in general.

> You could write it in Scheme, nothing special

Sure, though you might need to manually thread around the monad dictionary.

> There is a special form in scheme called delay which basically wraps an expression inside a lambda (all you need is lambda).

It's supposed to be a memoized lambda, and not just a lambda (i.e: Force it twice, and it'll only be computed once).

> Because you want to hide implementation details of how you hook promises together, you must have constructors and selectors.
> To force a promise we just call it as a function
> This is what monads really are.

Hooking promises/thunks together is only one instance of a Monad.

Otherwise, Monads have very little to do with thunks or forcing of thunks.

This is not what Monads really are.

> The situation in which we really need delayed and encapsulated computations are quite rare, so all this monadic stuff must be thought as a special case, not as a general computation strategy.

This may be an argument against lazy evaluation, but it isn't an argument against Monads. Monads are a pretty general computation strategy.

> We need no monads or comonads to manipulate elements of a vector

If we want to view the vector as a set of "possible results" and use a computation strategy that goes through/generates all possible results of all computations, then the list monad (in vector form) would be useful.

If we want to work with vectors that are all of the same length, zipping them together, then the "ZipList" monad would be useful.

We don't need monads because a generalization is never needed. Generalizations make code applicable in more situations, and may help separating concerns.

> In Haskell, where they deliberately separate so-called pure functions from ones which have side-effects (performing I/O) by marking them with an additional type tag and grouping them in a distinct block of code,

You don't really have to "group them in a distinct block of code". "do" notation is just optional sugar.

Also, IO is just one instance of a Monad, and the usefulness of Monads goes far beyond IO. Having Monads even if you don't have any purity distinction in your language is still very useful.
Trademarks are domain-specific; a trademark covering a toy doesn't directly affect computer software.

On the other hand, Hasbro did make Play-Doh computer games, so there might be precedent for a trademark in that field too.

In any case, it's probably not a good idea for a name, legal or not; if nothing else, it'll be that much harder to search for.