skysight-inc/HackerNews huggingface dataset:
The difference is that SQL injection will only happen when using raw queries.

System (as you mentioned) or EXEC injections, however, may get out of hand.
That sounds like a cop out. Not least because the problems mentioned here aren't so much with the prisoners but with the political system that criminalises common behaviour, the legal system that puts non dangerous offenders in prison and the cultural attitude that abuse is warranted.

Even if it isn't a cop out, it might be better taken as a suggestion for areas to target for improvement (social dysfunction, social cohesion) than as an excuse for complacency.
Test tube burger unveiled at public tasting
"I would imagine industrial diamond dust has a different cost."

I have a tube of diamond lapping compound somewhere in my basement shop. Dirt cheap because its full of inclusions and not clear.

They generally don't use jewelry grade diamonds for industrial work, although to manipulate the market I suppose anything could happen.

I was motivated enough to check amazon for the stuff I have and you're probably doing something wrong or weird if you're paying more than $3/gram delivered. One problem with buying a 5 gram plastic syringe of diamond lapping paste for $5 is the plastic syringe and shipping and handling probably cost a significant fraction... I would bet on industrial 55 gallon barrel scale its under $1/gram.
Does $5/month sound a lot for a product/service from a real business? How much do you charge for your product/service?
(Fully) Homomorphic Encryption is necessary for this. One of the paper's authors (Craig Gentry) is also the creator of FHE. To quote the paper:

>Using indistinguishability obfuscator for NC^1 together with any (leveled) fully homomorphic encryption (FHE) scheme with decryption in NC^1 (e.g. [Gen09b, BV11, BGV12, Bra12, GSW13])

Paper: http://eprint.iacr.org/2013/451.pdf

I have not read through the paper (yet, I plan to).
Dalvik Turbo
21st Century Classroom
A perverse and scary outlook they might possibly have: keep prison conditions in a way so that you continue to see high recidivism rates. Because if the prisoners keep coming back, that means you have easy repeat business.

There is of course concrete evidence to the contrary, as experiments in Scandinavian countries show. Treat prisoners with respect, give them a dignified place of living so they can think about what they did, and you'll find that actually both improves their mental condition and makes them very well suited to rejoin society.
Ask and you shall receive.

"Ohio's deal requires the state to maintain a 90% occupancy rate, but Janes said that provision remains in effect for 18 months — not 20 years — before it can be renegotiated. As part of the deal, Ohio pays the company a monthly fee, totaling $3.8 million per year." [1]

Another big problem with private prisons and juvenile centers is that judges get greased to send kids to specific centers. [2]

[1] http://usatoday30.usatoday.com/news/nation/story/2012-03-01/...

[2] http://en.wikipedia.org/wiki/Kids_for_cash_scandal
Ask HN: What is the best way to introduce your startup to the world?
I'm about to launch my new startup but I'm not sure how to promote it. I know that HackerNews is a great community to introduce it but regularly no one pays attention to a new user posts. Social media is good too but not for those who don't have enough friends on the web or their friends are not their audience. For example I'm launching an English startup but mostly my friends do not understand English.
One thing I like about the original and the gnu netcat is the z option: `nc -z host port; echo $?` for quick testing.
Thanks for your comments.
So just to make it clear, we've introduced this model, as we want to stay relatively small and to avoid second line of management.
Valve's example shows the cons of the model in a really big organization, while we are 20 ppl, friends and family and we know each other really well. Plus being devoted to agile makes us solve problems really efficiently.
I'm not trying to say that the model is perfect and we won't make any mistakes, but for sure we will avoid the biggest problems with scaling.
> a history of backing projects that sound as though they belong in science fiction movies.... mining asteroids... trips to the moon... driverless cars and... green energy projects.

So green energy is on par with trips to the moon?
I think its building a new generation of designers, engineers and other types, and maybe a few entrepreneurs.

These guys have a better chance to be the Steve Wozniacs, Johnny Ives, and Bill Gates, of the coming decade. Maybe not for what they are doing now, but with the creativity, skills and experience they pick up along the way.
Four Lessons Learned Using AngularJS with Ruby on Rails
To me, GNUStep has always been a cool project but cripplingly behind. It's always moved at a glacial pace, even in comparison to Apple's glacial framework development pace. I think your excellent blog posts over time are evidence enough for this - it's always been behind with like Quartz and stuff, and nowadays it has just been slipping further and further. I think its stagnation also got wrapped up in that whole "freedom" wankery after iOS came out.
from experiance python and other more modern languages just dont have the coverage of CPAN.

Some of us just want to get shit done and not rewrite the wheel (and debug it).
What is tricky in email is what's going on outside of the box: MX records, SPF, whitelist and all those things put in place to avoid spam.

Last time I tried, I could easily receive mails, but a lot of people complained my mail ended up in their spams. Never managed to configure that part properly thus I gave up.
or just incorporate Tor into the "Private Browsing Mode" so users don't need to choose between them. Need a big notice to explain that "Private Browsing Mode" is now slower, some sites won't work correctly etc. along with the current notice.
"Unfortunately that's about the only resource I can think of when it comes to drug legalization/decriminalization in an actual real world environment."

Marijuana is effectively legal in the Netherlands. (Technically illegal, but "tolerated")
This is pretty upsetting, I had a lot of respect for Square and what they were doing but it sounds like some lawyer that doesn't like guns decided that to them, 'guns are scary, evil' and "cause physical injury" and therefore should not be a part of Square transactions.

I understand banning illegal services like drugs but are they not aware of the 2nd amendment and that guns are simply a tool? As a firm believer in the 2nd amendment and competitive shooter I know I won't be recommending them anymore.
You will 100% not be running an exit node just by installing the Tor Browser Bundle.
Part of me wonders if in the future, few people will know how to do all of this stuff aside from those who work for cloud providers.
Happy birthday, Curiosity
A broader issue I've thought about before now is that we might need to redefine what "incognito" mode is, now. What we have is still relevant- the always-used "gift shopping" (and the more realistic "porn mode") reasons still apply. But I worry that "incognito" implies more than it offers- after all, no-one monitoring your internet connection is going to be meaningfully affected by it.

What I'd also love to see (but am a little uncertain on how to implement) is tab isolation for sessions- I don't want the Facebook like button on <x site> to read my Facebook login on my other tab. Right now I can use incognito windows and Chrome extensions to achieve that, but it's messy.
Mailpile is not a 'full server' but a nice part of the solution, they are running a funding campaign at the moment.
http://www.mailpile.is/
I see a problem with collecting information without probable cause or a warrant. Though I may not agree with drug laws, I do not see the problem with convicting individuals who are committing crimes regardless of how that information was collected unless the act of collecting the information affects the information (like confessions under duress). For example I am somewhat appalled at FBI deploying malware, but I hope they do not let child pornographers walk free because of the FBI's actions.
This assumes you already have bitcoins. Like, your job pays you in Bitcoins or something.

Oh, that isn't the case? Well expect to pay a transaction fee on buying bitcoins (about 5.65% where I live last time I checked).

Once everyone uses bitcoins, it will be a different story. Until then, it's pretty much like anything else.
Galaxy Note III release date confirmed
A 55k sedan isn't "mid-range"!
> It would be great to compare approaches to things and see if we can't share and improve both in the process.

Indeed. Do you track dependencies to not re-render things which were not changed?

> The shortcodes feature impacts performance quite a bit as it's all runtime inspection

Ha-ha, in gostatic you have this `inner-template` processor, which parses your page as go template and then renders it. Naturally, it slows down rendering a bit, but still it renders my site from scratch in 0.5s (~250 pages with some inner-templates, heh).
The problem with downvotes is that they're wholly subjective. While you may not downvote someone based on disagreeing with them, others will and can.
> We have also worked with education researchers, and we're constantly studying various models of learning.

Can you elaborate? What discoveries have you made? How have you advanced the state of the art?
So their use of FHM is a bit like someone saying - we could colonize Jupiter if we just get enough anti matter.

And how that could be used as a DRM - this is the part I don't get?
You are playing the same slimy word game politicians play to evade responsibility.

As long as one can find a form of words, then all is fine and dandy. Even if that means redefining words to mean something new. I despise this game of words.
Dove Canada Uses Photoshop Trojan Horse to Shame Potential Body-Shamers
Actually it turns out to exploit an vulnerability that was already fixed in both Firefox and Firefox ESR:

https://blog.mozilla.org/security/2013/08/04/investigating-s...

The fix was included in a Tor Browser Bundle update on June 26, 2013:

https://blog.torproject.org/blog/new-tor-browser-bundles-and...
The idea was to get a much bigger identical rock for the same money.
Are you sure? I'm happy to be corrected if I am missing something. I'll admit I don't know the origin of this convention; but I don't understand how the caret code for "End Transmission Block" makes more sense than the one for "Backspace".

https://en.wikipedia.org/wiki/ASCII#ASCII_control_code_chart
Not cryptographically literate, and hacking together cryptosystems? This can only end badly.
Nobody goes to jail when the DEA's soldiers invade the homes of innocent people and kill them. Why would they go to jail for perjury?
very informative ..

thank you ..!
As a user, I know that a lot of "just $5 a month" services add up quite quickly, especially if they're not tools you use every day or as part of a workflow.
Steve wrote this before Clojure came out! I wonder what Steve thinks of it. I have done some work in it and it seems really quite good for Real Projects (tm).
Whether you fully misrepresent the story (tell a complete lie) or omit a portion of the story (tell a partial lie), they are both still lying. A partial lie is not more noble than a complete one.
It's an explanation not an excuse.

Go to the south side of Chicago and try to see what sorts of cultural ties exist between the people there and the people in the rest of the city. There is a profound disconnect, and a profound lack of any sense of connection to a common community.

Obviously Denmark or Norway have poor people. But the sense that one group of people are not even party to the same social contract is not one that is common in Europe, though you see it among Muslim immigrants in the UK and France.

Lack of faith in social institutions breeds crime. If you're a poor teenager in Chicago deciding whether to join a gang, you do it because the gang can protect you. The police won't protect you--the police are there to protect the rest of the city from you.

And it's not just a matter of decriminalizing common behavior. The young people in Chicago joining gangs aren't non-violent offenders being out away for innocuous crimes. That's what makes the problem so deeply intractable. Even when you take away the overly long sentences and the convictions for innocuous things like mere drug possession, the US has far more crime than Denmark or Norway.

Europe is going to see it too, soon. Below replacement fertility has meant increasing immigration, faster than those people can be integrated. And then Europe too will have to deal with the "us versus them" mentality that arises in such populations.
Well, as long as they make it clear on the label that their "hamburger" or "sausage" product is made from lab-meat, not real meat, I'm all for it.
After reading the whole VF article I come to two conclusions.

1. If you work for a company which (as I'm sure GS does) has a policy forbidding you from uploading company data to the public cloud, don't violate that policy. Especially if it's source code you wrote while working there. (The open source argument is a red herring. It doesn't matter.). And super especially if you're about to leave for a competitor.

2. If you work in an industry and for a company that is being scrutinized by the Feds and is heavily regulated, really REALLY don't violate policies like this arbitrarily and on your own, because you might go to jail.

Is it "fair" what happened to him? No. But lots of unfair things happen. He paved the way with his thoughtless actions.
The next agency I expect to hear about ... the IRS starts using this kind of data.
“Google’s goal may be to embed a computer in your eyeball” By Top Google Analyst
Before the leak -- nothing probably. It would have revealed the existence of the program.

Now -- sure! They could just come knocking to the door. This is dark side of the leaks in way. If they know we know, they they can expand the use of the tool. (Or rather I should say this is the dark side of apathy to the information in the leaks, now they now public doesn't care enough).
Video meetings in the browser made simple using WebRTC and AngularJS
Intel Ships its First Open-Source $199 PC [MinnowBoard]
Diamonds are supposed to be status object, allowing the owners to display their wealth. They wouldn't fulfill the goal if they were cheap.
I have a feeling that Google is not very eager on having 3rd party applications running on their "free" (ad supported) platform. One reason could be that while these are useful for customers, they are not really bringing in any money for Google. Obviously good 3rd party apps would certainly help people to stick with Google services but they seem to be doing that anyways.

One drawback in having people build their apps on top of you platform is that then you are stuck with the way things are. If you have popular apps depending on the current task system, you can't just take it away or move it to Google+ (or you can, but then you get lots of whining).
Tagged pointers in Cocoa (or how NSNumber got a speed boost in iOS 5)
That's mostly a function of age*avg.popularity.per.year. Java, python, ruby, etc. have been around long enough that available libraries are equivalent if not better.

A lot of CPAN's libs are likely cruft from the language being so old, the size of it says nothing. What's more interesting is how often libraries are updated with new code, and how often people use them.
When researching lab-made, I found them to be 70% - 80% of the cost of nats across the board. My jeweler told me that (at least for the brand he carried) DeBeers bought the company that had the technology and patents for creating them in the lab, and thus the prices will remain close to nats as they will not set them at a point where they erode pricing on nats. Based off my research, if the poster above you got his/hers at 30% of nat cost, I'd say that is a pretty great deal, and I'd have liked to have found it myself before I purchased mine for my wife.

I'm just happy that there is a humane alternative to blood diamonds. If there wasn't a lab-made option, I wouldn't have purchased a diamond at all.
teamviewer.com has this though the lifetime price is also linked to the local machine version.
>2) Top Gear does a show showing it running out of power and being pushed back into the garage at the track and they state that its range is comically low.

Comically low on the track, going full out. Which seems to be a pretty reasonable claim.

Also consider that Tesla didn't sue for over 2 years after the episode first aired. The episode was in late 2008, and Tesla sued in March 2011.
As someone who eats an entirely plant-based diet, it sounds like a terrible idea. If it tastes half as good as actual meat, then it will be much worse than even the cheapest, overprocessed soy protein 'burgers' in the frozen food section of the grocery store. Seriously.
Be careful, I don't think it has received a great deal of peer review and the community doesn't seem to be large.
Oh. And it's for wordpress. Isn't that just fucking wonderful. I would guess looking at the age of the account and the complete lack of documentation that it's a personal project he never really intended to get much scrutiny. I'm sure if someone looked at my github they could find some bad code too. Not that bad though.

Edit - made an issue.
Whoops, sorry. I thought the smiley made it clear I was just kidding around. Seriously, I don't blame you one iota, the De Beer's racket is an absolute crime.
I love the idea. Go for it, Mozilla!

If this is implemented:

1. Firefox, with its insane public reach, can substantially heighten the awareness of privacy issues.

2. Government will have to get creative to subdue a highly popular heavyweight like Mozilla.

And as already mentioned, it might be the best response, as of yet, to the NSA fallout. It can potentially seriously alter the power balance between the Big Brother and us, people.
There are women in the video, although not as many as there are men. For example, you can see two women at the 35 second mark at the right side of the screen, and another near the left side of the screen at the 1:35 mark. There are more, but these are just two that show them clearly in the foreground.
"Reality is, intelligence agencies are under DoD"

You left out the two intelligence agencies that are under the DoJ: the FBI and the DEA.
Financials of the business is of course questionable and seemingly unprofitable. I have no obligation in this context but running unprofitable business is not a crime. If it was most of the current startups are screwed :)

In current situation, without concrete or even any evidence hosting provider is held responsible as facilitator for child pornography. AFAIK this "business model" for encrypted and stealth mode hosting is not unlawful so law enforcement is trying to facilitate unavailable law with holding the "suspect" with related but not actualized crime.
Starting a War on Hacker News
Best quote from Sergey: "If what you're doing is not seen by some people as science fiction, it's probably not transformative enough"
Wow, not every day you get a Better Off Ted reference, especially when I'm rewatching that show on Netflix right now.
There you go:

https://news.ycombinator.com/item?id=6159326
I'm not the OP, but I discussed this in a philosophy class. My answer was yes back then.

Later in life, this belief was tested, badly. My answer was still yes.

According to the philosophy classes survey, I'm not in the majority for this view. I thought that was interesting.
I use the Chrome Users feature to achieve this - one profile for home, one for work, and one for Facebook. Works a lot better then incognito mode!
Ask HN: When is too early to sumbit to Techcrunch
I'm working on a web app which, I hope, will one day be profitable. I was wondering how far down the line you have to be before submitting your profile to Techcrunch. Would they only take your venture seriously if you are an established company with a reasonably high turnover, or with investment?

Basically, it's just me just now working hard on a first release of my app in my own time.
I'm really not sure Go is a plus in this category of application, anyway. With jekyll and it's ilk, part of the allure is that if I need to do something it doesn't support out of the box, I can just embed some code right there along with the site sources, and it'll be executed when building the site.

With Go, the second you step outside the box, you'd have to recompile the site compiler first. I've had so many experiences in the Java world with having to get a whole development environment and build working just to change one little piece of text, that I really think interpreted languages are a plus here.
One lesson I've learned over the years: You can keep launching until someone notices, but if you have to "launch" in the first place, that's the business equivalent of a code smell.

Once you accept that you will not get coverage on any of the major sites, you can think about how to promote your product. You should have already started before you built anything, to make sure your product solves someone's problem. If it solves even one person's problem well, chances are they will know other people who have the same problem and will be your biggest advocate / promotion avenue.

For promotion, sometimes the old tricks are the best tricks. Yes, ads cost money, but $100 spent on AdSense can still send a lot of people to your site if you spend it wisely.

So don't worry about launching, worry about minimizing your customer acquisition cost. And start by simply advertising so you have an initial cost of acquisition for your estimates.
The OpenBR API is designed to cater to the researchers and users of biometric algorithms, where as the OpenCV API is designed to solve a more general scope of image processing problems.

OpenCV includes implementations of several seminal face recognition algorithms (PCA, LDA, & LBP). The OpenBR algorithm is more modern/sophisticated in its combination of several well studied approaches. While I haven't explicitly compared OpenCV against OpenBR, the OpenCV algorithms can and have been expressed within the OpenBR and are known to be less accurate. Having said that, accuracy & algorithm choice are highly dependent on image quality. Our technical paper [1] provides more details.

[1] http://openbiometrics.org/publications/klontz2013open.pdf
Don't lie on your "show" about a product that is somebody's baby and not expect the claws to come out because you lied.
You are correct. I forgot about our friends across the pond. I believe I read heroin was supposed to be a less addictive alternative of morphine. I don't know much about opioids, I wonder what the breakdown in pricing is between commercial, hospital heroin versus something Oxycontin. I'm guessing it's probably cheaper to produce hospital heroin and drug companies can't compete with it.
Do you not see the problem with allowing them to convict people based on illegal investigations? If they are allowed to use illegal methods and still get a conviction, they will continue to do so. Cases should be thrown out when the investigation was done illegally, as a way to strongly ensure such things do not happen. A guilty person going free is bad, but far worse is a rogue police force with no regard for the law and the good and proper limits placed upon them to prevent abuse.
I agree about the quality of documentation. If it wasnt for Stackoverflow it would have taken far more effort to develop a iOS quality app for android and this is for a product that they actually push!
Perhaps ironically, by this criteria the iPad was transformative, since it appeared in Star Trek. :)