skysight-inc/HackerNews huggingface dataset:
You may be missing the word "hosting." Free speech on the internet is much bigger than free hosting for hate on one particular site.
Large Scale Deep Neural Networks on Twitter: DeepDreamThis
https://www.youtube.com/watch?v=1YqcvuRRggM

https://www.youtube.com/watch?v=KUonA66btgI

https://www.youtube.com/watch?v=EK_1yDAqsnM

https://www.youtube.com/watch?v=Hvfbikv0gBc

https://www.youtube.com/watch?v=WChMcDCMgGw

https://www.youtube.com/watch?v=LjCczTWqKx8

https://www.youtube.com/watch?v=ycTwaROa1I0

2mins of youtubing. These examples never end!
But you, your wife, your kids. You'd never make these kinds of stupid mistakes.

edit: there must be thousands of these self proclaimed gun pros out there here's another beauty

https://youtu.be/v-i8dtulUYU?t=165

love the facial reaction.

edit 2: these videos literally never end on YouTube. Here are another 2

https://www.youtube.com/watch?v=pv89_3rrW8Y

https://www.youtube.com/watch?v=WTGDKe-uy3E
> bringing a gun to a knife fight

I'm so glad I live in the UK where both criminals and self-defence is mostly knife based.

I think the American style of "bringing a gun to a knife fight" just escalates everything.

You think you need a gun in order to kill a would-be assailant. The OP says he used a knife to scare them off. I know which I prefer.
Some people are working on the concept in this repo -> https://github.com/hapori/hapori
Good question. There were some I had to use Chrome to view (espn, cnn, facebook-- somebody) and I was quite surprised.
Since when is that a bad thing? (And Python really isn't that old.)
Ethiopian LGBT Activist Banned by Facebook Under Real Name Policy
You know, my message board nerd instincts tell me I should attempt a grasping litigation of this point, attempting to establish for my faction the notion that TechRaptor is in fact a GG spinoff. But, you're right: I did some research, and while they are beloved of GamerGaters and the KotakuInAction crowd, that doesn't make them GamerGaters.

I retract the implication I created upthread that TechRaptor's story is weird because it's a GamerGate product. I'm back to "it's weird because I don't know why".
>ancient

Not really...
All my frequent porn sites support HTML5 video now
Unrelated, but in the light of all recent data leaks, I was thinking that privacy is just another advantage (business, political, relationship, etc.) If somehow all people's lives, businesses, politicians were completely transparent, there were no need to have privacy to begin with. This is utopical of course, but just a thought.
Completely ignoring that those users don't exactly stay in just the "contained" subreddits, or that this thinking doesn't pollute the water elsewhere.

If there were some actual way to enforce this idea that you post in [Bad Sub X] and couldn't post ANYWHERE ELSE for several hours, they maybe you'd have something, but the people who give me the worst time are often posting in at least 2 or 3 different subs, usually something innocuous like /r/videos along with the sub that makes me consider them scum.

As it is, a very popular women's subreddit -- TwoXChromosomes -- went straight into the toilet as soon as it was made a "default" subreddit and exposed to the "default" population of Reddit. Draw your own conclusions to that one.
In 1997 Ohio (the state where I'm currently residing) passed Senate Bill 2, which largely eliminated the parole board, and introduced something called "Flat Time."

In the past, the judges had a bit of leeway (based on the statue) that they could set as a minimum time, and then the parole board would release you, on parole, for a period of one or two years, based on your institutional behavior. Senate Bill 2 eliminated all of that -- if you were sentenced to two years, you were going to do every bit of two years. Judges still had the options of "Shock" parole (boot camp) and "Super Shock" parole (judicial release), but, even in the mid-to-late 2000's, they got rid of the boot camp option, and now the only decision that will let you out early is the judge pulling you out of prison and back to the county for a Judicial Release...which moves you from the state's probation/parole roster back to that counties probation roster.

As crime increases, the stressors grow on the probation department, so they are less likely to release someone via the judicial release framework, so you see 90-95% of guys do every day of their time. The Ohio Department of Rehabilitation and Corrections (and the internal joke there amongst a lot of the staff joke that they need to drop the word "Rehabilitation" from their name) has cut funding, and staffing, to most (if not all) of the good prison programs (When I volunteered at ODRC in the mid to late 90's, you could learn Novell Netware administration, some Unix administration, and some basic C programming if you worked in a library: they removed that option around 2003 and never brought it back, and replaced those inmate workers with paid staff positions. In 2009, they eliminated those staff positions and moved back to the paper method of managing library records (with card catalogues and borrower cards)). Prisoners have nothing to do, so they socialize with other prisoners, and they organize prison gangs, learn how to become better or more effective criminals, and leave prison more enamored to go back out and do more crime.

A great example of this is the Heartless Felons gang in Ohio -- they started in the youth prisons in the state around 2004/2005, and, now they are in every prison in Ohio and in most of the major cities.

Unfortunately, I really think that the solution isn't more prisons or more programs, it's reforming the way that we sentence and punish people. As a society, we need to be able to differentiate between the people who as a society, we are truly afraid of (and send them to prison for intensive rehabilitation) and people we are just mad at (and send them to therapy, community based work programs, and community based correctional facilities -- keeping them in the towns where their families live so that their children don't become the next group of Heartless Felons.
this is the true problem with procedurally generated content in games. portrayed as infinite content, but you end up getting an infinite amount of the mostly-the-same content. would you rather play 10 different levels or one level 10 times?
Your tool looks awesome! Yes there are lots of such tools.I should have worded mine as 'something along the lines of ...' instead of saying that its similar.
Yes, and more obviously, the project directory needs to exist.
While the technical achievements are impressive, I am not convinced how "playable" this game will be in the end.
Almost all the games in existence have at least 2 core elements: story and character purpose.
I have not seen evidence of either in this game (no, "space exploration" is not exactly a purpose).
A great addition to this graphical engine would be a scripting engine that would allow independent writers to create their own quests and method to submit them to the players.
Seems like everyone can be right about this. Lead. Intoxicated dissipation, a stagnant pool that has bred crime for millenia. Poverty. White flight. Restrictions on family planning. And all these things feed on each other.

Stop and ask yourself: is there anyone who regularly writes on HN who thinks the drug war is a good thing? If you took a poll of HN commenters, full legalization would come out, where, 98%?

Clearly, when we discuss prison and the drug war, we're all talking about something more subtle than whether we should imprison people for doing drugs.
> For one, I am talking about the properties of information, which isn't arbitrary.

I dunno, do chickens agree with you on that?
/r/videos is a default, most of the defaults are cesspools. unsubscribe
Nice name shaming the wrong person. I reused his project. He wrote the emulator, I bundled it.
If instance can truly be initialized like that, then there's no need for the init() function, just do it at the top level:

var instance = &singleton{}

In fact, a lot of idiomatic Go will ignore the Get() method, exporting the instance itself:

var Instance = &singleton{}

Clearly if you overwrite it, bad things will happen. Don't do that.

There may possibly be a problem with unnecessarily slowing startup times in the case you don't need the singleton and initialization is more complicated than a malloc - in which case, profiling will tell you and you can revert to the method in the blog post.

Remember that Go's strict import/dependency requirements mean you're unlikely to import the package (and trigger the initialization) unless you actually use the singleton.

It is non-idiomatic to use the sync.atomic package.
What's the issue with the web server?
Nate, co-author here.

Sorry you had a bad experience with our book. We've definitely made some improvements to the early chapters in the last few months (the book has been updated over 30 times and it's over 600 pages long).

We did use leanpub in the beginning and we did switch to gumroad. But the switch was because gumroad was a better fit for us, not to hide negative reviews. For instance, you can still read tons of reviews of our book on Amazon.

I'd love to hear more of your ideas on how we can make the early chapters better. Also, I'd like to give you a refund since you're not happy with the book. Email me at us@fullstack.io and I'd love to chat.
Pretty sure there are some settings you need to enable in about:config to get H264 working in Firefox (assuming you have the right gstreamer stuff installed).
I once built http://youmixer.com, before FB broke the login and I never bothered to fix it.

Try creating a mix without signing in.

Does YouTube now ban that?
The BBC site will use non-flash videos if you browse it on an iPad, but they don't seem smart enough to serve these to you if you use a desktop browser with flash disabled.

Presumably they could implement a non-flash fallback for users but unfortunately they just haven't bothered.

I tried to cheat by modifying my User-Agent to pretend to be an iPad but had no luck...
This new version of 0Auth is based on a military grade security model.

You authenticate everywhere using a long number (PIN) (so long you have to write it down and store it). All the services you authenticate with will store this PIN unhashed.

You should keep your PIN safe, because it can be used to apply for bank accounts, loans, and commit tax fraud if it is stolen.

If you ever forget your PIN don't worry. We will print it on various letters and mail them to you. If you need it urgently, you will find it next to your name in various post-hack data dumps around the internet.
After about 8 years of helping my mom grow her business on Amazon, I can tell you for a fact, when that company sees something it wants, and can get it for free, they just take it from you.

She created a unique product offering on Amazon and sold it well, about 500 units per month. The product was not hard to knock off, as it is a simple manufacturing process, and now Amazon sells their own version of it, with better search placement to boot. Contrast that with another product she purchases on the open market, similar unit sales with better margins, and has sustained that for several years. Amazon can't identify the source, so they don't sell their version of it.

With Amazon, if you're not the customer, you're the product. The only exception: AWS customers are sometimes both, Dropbox is an example.
Ancient, you mean like C, C++, Java, Javascript, those languages?
The difference is that Reddit is a centralized community, where it's actually possible to moderate things without providing the tools for problematic censorship. Just like the comments on a private blog, where the owner has absolutely every right to delete comments or ban users.

On the other hand, if you give the same level of control to a decentralized network, especially to a pipe like Comcast that is often people's only option to access said network, you wind up with nowhere else to go when important things get censored.
Honestly reading the conversation I think Youtube made it pretty obvious what they were going to require. The dev seems to be willfully ignorant in his replies.
if a class definition contains a Map that's declared final, nothing prevents anyone from mutating the map itself, if there's a public getter to it.

In order for a class to be immutable, all its fields need to be be immutable and final. Immutability got to be recursive.

Also, in Java, the class should be final, otherwise nothing prevents anyone from extending it and pass a mutable data structure instead of the immutable one you'd expect

Edit : added the "in java", as we could imagine another language where immutable doesn't require objects to be final.
Yes I got the reference very well thank you. I fear that he did not.
I would like to hear what Adobe have to say about their streak of serious security problems. Not only that, but they should face some consequences for that neglect. At least be forced to publish a working spec for Flash.
Apply for a job with a shipping company?
I think this article has been posted three times with no comments so I thought I'd start one.

It seems over cynical to me in that it passes over various successful models. LendingClub is doing well and has done over $5bn in loans. Transferwise seems to be going well and has done over $3bn of foreign transfers. Stripe is doing well. All are providing better service or value in fields that were poorly served and don't really fit with the articles views and categories.
If the presence of these subs prevents other people from being able to recommend reddit to their friends...

Kotakuinaction has poisoned the well to the point I don't even want to wear my /r/mylittlepony shirt in public anymore. Or at all, really.
Oh yes, it's all coming together. The signs are all there if you know how to read them...

1. They've finished this gigantic over-budget set piece.

2. Kevin Costner is tanned, rested, and ready.

Waterworld 2 is finally happening!
There should be no shame in such a "confession" -- don't most great things come from deciding something crappy could be better? :)
It's an ebook primarily, though we'll publish a paper version once the first edition is done. We keep our Ebooks up to date. For instance, ng-book one has been updated over 30 times in the last two years. We plan to do the same with ng book 2.

I don't know if you've tried to use Angular 2 yet, but the API is still in flux so there are a lot of blog posts that don't work anymore. The examples and sample code in our book, though it's still early, they all work. Email me us@fullstack.io and I'd be glad to give you a free copy to try it out.
Welsh government uses Klingon to respond to serious UFO questions
I imagine this is what software would look like if it were physical.
Hacking Team leaked files and published papers
Some people might think that it might represent an extra volume of code for bugs to creep in - and hence security issues?
Yep, the one that became public 5 days ago [1]

[1]: https://krebsonsecurity.com/2015/07/adobe-to-patch-hacking-t...
Indeed, but there is no way to reflect that in the return type, besides the JavaDoc of course. If you try and modify it later, you'll get a runtime exception, which is a pretty crappy thing. One of the things I dislike most about the Collections API is that Mutable interfaces are not extensions of Immutable interfaces with just the addition of modifiers. I should be forced to say that I'm returning a Mutable version of a data structure in my return type.
This post is chock-full of antipatterns. Both the singleton pattern and double checked locking should be avoided.
Could someone elaborate on the downvotes? I'm not the OP, but this sounds like a valid concern.

What am I missing?
Wouldn't it make more sense to have some sort of manager that receives information on an incoming channel, manages the state internally, and reports out on an outgoing channel?
If this is useful to you, check out the Mutability Detector (https://github.com/MutabilityDetector/MutabilityDetector).
... doesn't saying that set off alarm bells?

How good can the rest of the site be if your response is "unsubscribe from all the default content, it's full of shitty people"?
There's a very similar library from Google https://github.com/google/auto/blob/master/value/README.md

The one thing that tripped me up when I tried to use it is that you can't add other library annotations. For example, I couldn't change the json serialized field name using Gson's @SerializedName("custom_naming").
> There may possibly be a problem with unnecessarily slowing startup times in the case you don't need the singleton - in which case, profiling will tell you and you can revert to the method in the blog post.

Not just in that case. If you lazily initialize then you can get other things done before—or while—you're waiting for the singleton constructor to run. Global constructors are suboptimal for performance almost as a rule.
Second Flash Player Zero-Day Exploit Found in 'Hacking Team' Dump
Auto Parallelization Project
I'm on some troubleshooting pages for canon that require flash. Seems they are in the process- as there are html 5 vids on the site as well.
As an Australian, I agree with every word of the post you are replying to.
I'll be more moderate than I thought I'd ever be and say it depends on your needs for the app you are building. Also depends on your definition of Native.

First Native can mean a lot of things in Android Land. For instance you mention Xamarin and React Native. Both of those are generating actual native binaries (googles byte code version of Java byte code) or rather React Native for android will when it's actually a thing, it's not released yet but should be somewhat soon. They are both a way of writing Native code in another language (C#, Js) rather like Scalriod let's you write a native Android App in Scala. The are a fundamentally different approach than Ionic or PhoneGap which are HTML5/JS/CSS based webapps that are packaged to be app-like. Also in android development Native is sometimes used to refer to C++ ndk development. Go is also being used sometimes (go 1.5 needed to support it) for native (meaning cpu native binary instead of byte code) code.

If you plan on being a Mobile developer as your day job than I say absolutely. If I'm hiring a dedicated Android dev, I'd expect that they are an expert in Android Java. Bonus points for knowing C++ ndk or Go ndk development because then I'm not really restricted as to what I could ask them to do on the platform. Some things like converting video in real time or intense calculations will absolutely require ndk level of performance.

If your app is mostly using a rest api or collecting form data, then ndk is way overkill. Rather it's a native experience depends on your goal. If you want the latest in Android API's or features or you want the smoothest most native feeling app, then Java is really the only choice. If you are more concerned about sharing code with and iOS project then Xamarin or soon React Native are the best choices. Lastly if all you really care about is having an "app" for a SaaS or other webapp then PhoneGap or Ionic would be a valid choice. For me I'd never use them but I'd rather have a great app or no app at all. I would consider Xamarin or React Native though, I think the user experience is close enough to a standard sdk app on both platforms that if you aren't a mobile game or mobile app based startup that it is probably good enough. Games are exception in that, there are a ton of cross platform options that are awesome. Unreal, Unity, Cocos, even phonegap or ionic packaging up a html5 game engine like phaser are all very good choices.
Firefox can also install the free Cisco h.264 codec.
> “There is a misconception that building a lawful intercept solution into a system requires a so-called ‘backdoor,’ one that foreign adversaries and hackers may try to exploit,” Comey said. “But that isn’t true. We aren’t seeking a backdoor approach. We want to use the front door, with clarity and transparency, and with clear guidance provided by law.”

So, he is calling backdoors frontdoors, and then arguing that he's not seeking backdoors.
Show HN: Pleer.com music plugin for Rhytmbox
After more than two years using Magit, I can only think of one instance when I didn't recall a git command when I needed it. It took about 5s of googling to find.

You can always see what command Magit is running behind the scenes by hitting `$`, in case you're curious -- I've learned a few things this way.
Citizen Four makes it clear that Snowden did not redact anything he gave to Greenwald. He left it up to the journalists to take care of that (and presumably answered questions). I see no meaningful difference here.
BBC iPlayer is flash-only
I will admit that there have been times this last year that we haven't responded as quickly as we'd like to all our support requests. For ng-book 2 there are four co-authors and we've put processes in place to respond more quickly this time around.

But your concerns around teaching order are totally valid. With ng-book 2 we've taken a code-first approach. We're starting with smaller chunks of concepts and building up the theory from there. Every example comes with complete running code separate from the book. So it will be a lot easier to see how everything fits together. I'd love to get your feedback on what we have so far, if you're up for it. My email is in my profile.
One of the most frequently trumpeted cases for immutability is WRT thread safety. Is it me, or does this need come up rarely in practice relative to the forcefulness of arguments to make everything immutable? I get that it depends on your project, etc. But, I'm talking overall.

There are other benefits to immutability, to be sure, but I appear to be the rare voice that finds the dictum to "make everything immutable" to be overstated. And, we seem to ignore the code bloat that comes along with it--builders and the like, as well as performance implications.

Of course we solve the challenges that mutability can introduce by lopping it off altogether, but at what cost? It's really not too far from solving problems that object misuse can introduce by getting rid of objects.

Replace all setters with builders, annotations, etc. Do not ever change an object's state. Ever! Run this Mutability Detector on your code to ensure you are not allowing something to be mutable. At all costs, kill those language features that allow object state to be changed!

At what point have we jumped the shark?

Maybe others believe in moderation as do I, and I just happen to be reading more of the forceful champions of immutability lately. But, they seem pretty loud and I have learned that edicts to never or always do something warrant great suspicion.
That is pretty much what I saw. I was somewhat worried if it was the AT&T modem config or OSX, but nothing I tried fixed it (including explicitly setting DNS sources and so on).
No, it's time to uninstall all plugins for good.
Actually, it does, but they don't have explicit types. See java.util.Collections.unmodifiableCollection(...), etc.
Monitoring microservices with HAProxy and Riemann
https://news.ycombinator.com/item?id=9872858

Mind you, that's been flagged into oblivion, so good luck on this submission!

Also here:

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

But that got deleted.
<F1> is your friend ;-)
Maybe what Github needs is a way to put an issue or all issues for a project into Review Mode where every comment posted to the issue by a non-contributor must be reviewed and accepted by project members before it is posted. This would allow non-contributors to post comments of value (as decided by the contributors), and would make it harder for trolls to spam the discussion.

This would place additional overhead on the project maintainers, but IMO this is more ideal because emails from trolls and people not contributing to the conversation can easily be ignored by filtering out messages from that Github user.

It would not be perfect but it might be better than what we currently have?