skysight-inc/HackerNews huggingface dataset:
Interesting that they were willing to be seen forcing the agenda here, contra the WH's preferred positioning. They think the downsides of complicity with the NSA program are worse than those of pissing of the White House. But there is a long way to go here.

Someone will eventually have to confront the NSA's rhetoric "we can't stop terrorism / people will be killed if we constrain surveillance". I wouldn't expect that from this White House, or many in Congress. You can push on and even piss off the President, but if he won't push the NSA you have to generate political pressure to force him to do just that.

I'm not sure that pressure is available under the argument that tech giant business models require transparency. That frames the issue as commerce vs security, I don't think that's a big vote getter. The truth is that real privacy will in fact get more people killed, in the short run, because yes it makes operations easier for the Bad Guys. I'm okay with that, because I'm more worried about a tyrannical government, and We are bigger than the Bad Guys. But I'm not sure the electorate sees it my way.

I suppose the likeliest solution is some tacit recognition that proper privacy does allow more terrorism / drug traffic / child porn. I worry that thus we won't get really proper privacy, or a real political commitment to it.

I'm glad these CEOs carried this to the President, but I don't think they're going to be the whole solution to this.
There are a couple of important features still missing from the initial implementation. The most notable is support for local UNIX sockets. At present, only less performant (however more flexible) TCP sockets are available.

This note hints at a missed opportunity to employ what some like to call "unix factoring": the listen(2) call can occur outside of your FastCGI worker program, which then only has to call accept(2) on the inherited descriptor, and implement the FastCGI protocol.

Why do it this way?

1. Beyond the accept(2) call, your worker program is now network agnostic.

2. Guess what, you can now test your worker program by feeding it FastCGI protocol data directly on stdin. Just add a mode that uses stdin instead of the fd returned by accept(2).

3. For easy TCP socket support, run your worker under something like this tiny program [1]. For easy Unix Domain socket support, run your worker under something like this tiny program [2]. Your worker program doesn't change because the networking concern has been separated out.

4. If you want, you can put a program which keeps a preforked worker pool between the the listener program and the worker program. This separates out the concurrency concern.

5. No real performance downside; listen(2) is called once for a long-running server process.

[1] tcplisten : https://gist.github.com/acg/4211098

[2] unixlisten : https://gist.github.com/acg/8016689
E-mail isn't something that just happens automatically on your phone, you have to set it up, and thus you know it's there and are making a conscious decision that the privacy risks outweigh the value of the service.
In many companies, it isn't required. But, if you don't do it , you won't get a promotion nor seen as a "team player"
Indian diplomat arrested and strip searched
No everyone likes that approach, some people prefers to save tokens in yaml files (see on github, you will find a dozen o plugins that do same thing)
How to Twerk
Does science need a retraction “shame list”?
A little hit of insulin suppresses stress hormones, which probably helps get you to sleep faster. Also, by 3 or 4 AM you can burn down glycogen stores. Your body will ramp up fat metabolism, which entails an increase of stress hormones, which can wake you up. So topping up glycogen before bed can help you sleep more soundly through the night.
So we're armchairing how this should have gone, right?

1.) Buy a burner laptop on the street, in cash, then wait a while.

2.) From an open wireless connection, where you're far enough away to not be on any security cameras, use Tor, then VPN tunnel through a high traffic public server in China or Russia. You want to make sure you're not driving out of your way to be at a place at a time, in case the IP gets traced back for whatever reason.

3.) Prepare an elaborate email. Make it good.

3.) Setup an online meeting with someone. Play a video game online, start a skype chat, or otherwise create an alibi for how you couldn't be writing emails.

4.) Send the email through an anonymous email service.

5.) Destroy the laptop as far from campus as possible.

Did I miss anything?

In the end "Chinese hackers" get blamed for the email, and the media attention fizzles.
I am glad angular (which has no data-layer) satisfies your needs :)
Exactly! The globe is SVG and the animation is a Canvas layered on top. However, I'm still using D3's projection logic to calculate the distortion. Yeah, could save on redoing the distortion calc if just globe rotation changes, but would still need to redo the grid interpolation. So, to keep it easy I just rerun the whole deal.

WebGL would be fun to learn, but AFAIK not supported by mobile browsers yet.
I feel like people just aren't used to it ("What is this green lock in my address bar? This is just XYZNewsNet, if they need security, they must be doing something wrong", so large sites aren't inclined to make the switch.
With that screen resolution, that's going to be pretty lousy for reading, actually.
The financial industry, and consulting and accounting, all care very much about your college grades, for recent grads. Not many people with even mediocre GPAs in the analyst classes of Goldman Sachs or in among the entry level hires at BCG.
This post claims that it did: https://news.ycombinator.com/item?id=6925278
I just tossed one up at a new domain... it'll likely change so check the github site for the latest. Without further ado: http://hillfold.com/
Your concern is noted, and is also a concern of ours. Rest assured the ember-cli will only be a small veneer providing a curated experience of community tools.

The reason for the proposed tight coupling within the ember-cli is to ensure we can provide a stable, performant development experience.
For many years I've used my own domain for emails with a wild card forward to whatever my current email address is. So whenever I'm asked for an email address I use company@myemaildomain.com. So I don't have to worry about support for the + and no part of my actual email address is ever revealed. It also makes it easy for me to switch email providers.
Hi, Guy Kawasaki. In the pursuit of higher ‘n’, be thankful for ‘1’
I live in the suburbs of a second-string city. In (and more importantly between) the suburbs and exurbs, prepaid and MVNO coverage is Swiss cheese at best.

My primary use case for cellular data is navigation, which is most important precisely where MVNOs and T-Mobile Prepaid are entirely dark. My first phone was T-Mobile prepaid and while their customer service was friendly, their network was not within an order of magnitude of useful if you got any further from downtown than my house.

This might be a good strategy for someone who never leaves a major metropolitan area though.

EDIT: Also I have Verizon, which is rock solid in this market. Since I ditched prepaid, I've never been without cell coverage except inside of very dense buildings.
Here you go: http://hillfold.com/
Did you read the article at all?

As an ex-prosecutor, the guy clearly knew nothing about the justice system, sure.

The author begins with a litany of ways that unneeded, necessary prosecutions work to injure the neighborhoods of people of color based on his own years of experience on the job. The point is that a lot of the average activity of the police is counter-productive. If this guy preempted the cops from, say, arresting a black convenience store clerk from "trespassing" at his own store, he's hardly derailing crucial activity.

http://www.miamiherald.com/2013/11/21/3769823/in-miami-garde...
Low Tech Magazine: Drawing arbitrary boundary lines sells. 150 year old technology (trains) = ok, 100 year old technology (airplanes) = not ok.
Demo site: http://hillfold.com/ Sorry for the delay... I honestly never expected this much interest!
I don't think they get nearly as much control through YC as when a startup goes to them for say a Series A, so there's not that much harm they can do.
Passcodes are easily bypassed. Buy an XRY and you can get into any phone.

http://www.msab.com

Same way the police do it.
These courses seem like a good way to expand one's experience however I don't think they should be used as a substitute for a formal education. Also with all the free/cheap resources available I don't understand how you can justify spending 8,000 - 20,000 dollars on this. There is no way you can expect to replace a four year degree with an 8-12 week crash course regardless of the length of the days.
it will become reddit if you treat it as such
I would hope that their JIT'ing VM could come close to native performance (and rarely faster as tracing JITs can occasionally be). It's about drawing the line somewhere. It's like choosing between Phalcon and Symfony. I understand their internal needs at Facebook, but considering the effort they are putting in to make non-Facebook codebases work I don't think it's too much of a stretch to implement some of the runtime in PHP.
http://www.businessinsider.com/couchsurfing-the-best-hook-up...
As I don't net more than $1 million a year, I hadn't followed it very closely, but I admit that I'm a little surprised. For some reason I thought it had most certainly passed and been enacted.

Thanks for the correction.
Identifying the Hottest Startups in the App Store Using Mobile Data Analytics
And what of it? The internet and cheap worldwide shipping/travel have made it easy to work around a lot of laws whose jurisdiction is limited by geography. A system where you can use gmail, google+, youtube, etc and be subject to Google "law" or use outlook.com, bing, etc and be subject to Microsoft "law" seems like the natural place to go from here. Google is even investing in walking robots and self-driving cars to use for enforcement already :D
The difficulty isn't the same because installing python doesn't install any web server integration. That's the point.
It works for Wordpress and Drupal, and those contain 90% of PHP functions. I mean there are times you will find issues or what not, but for the most part it's pretty good.
"Minimalist framework" is an oxymoron.
I find the JSON benchmark misleading a bit. I posted this before, but I'll say it again: JSON serialization in Go is slow (2.5x slower than Node.js for example [1]). The web server, however, is very fast. When they measure webserver+json, Go wins because of its webserver, not because it serializes JSON faster. If you want to parse a lot of JSON objects with 1 request (or 1 script), or if you have a large JSON object to parse, Node.js will outperform Go.

That said, I rewrote my app in Go and I'm very happy with the performance, stability and testability. The recently announced go 'cover' tool is very useful and a breeze to use.

[1] Here are my benchmarks: https://docs.google.com/spreadsheet/ccc?key=0AhlslT1P32MzdGR... (includes codepad.org links to the source for each benchmark)
Also a larger heat exchange.
There is a very simple reason for this: we do not yet have a test that is designed to include idling. One of the future test types [1], number 12 on the list, is designed to allow the request to idle while waiting on an external service.

Until we have such a test type, there is no value in exercising higher concurrency levels. Outside of a few frameworks that have systemic difficulty utilizing all available CPU cores, all tests are fully CPU saturated by the existing tests.

With that condition, additional concurrency would only stress-test servers' inbound request queue capacity and cause some with shorter queues to generate 500 responses. Even at our 256 concurrency (maximum for all but the plaintext test), many servers' request queues are tapped out and they cope with this by responding with 500s.

The existing tests are all about processing requests as quickly as possible and moving onto the next request. When we have a future test type that by design allows requests to idle for a period of time, higher concurrency levels will be necessary to fully saturate the CPU.

Presently, the Plaintext test spans to higher concurrency levels because the workload is utterly trivial and some frameworks are not CPU constrained at 256 concurrency on our i7 hardware. As for the EC2 instances, their much smaller CPU capacity means the higher-concurrency tests are fairly moot. If you switch to the data-table for Plaintext, you can see that the higher concurrency levels are roughly equivalent to 256 concurrency on EC2.

For example, jetty-servlet on EC2 m1.large:

256 concurrency: 51,418
1,024 concurrency: 44,615
4,096 concurrency: 49,903
16,384 concurrency: 50,117

The EC2 m1.large virtual CPU cores are saturated at all tested concurrency levels.

jetty-servlet on i7:

256 concurrency: 320,543
1,024 concurrency: 396,285
4,096 concurrency: 432,456
16,384 concurrency: 448,947

The i7 CPU cores are not saturated at 256 concurrency, and reach saturation at 16,384 concurrency.

We are not against high-concurrency tests; we are just not interested in high-concurrency tests where they would add no value. We're trying to find where the maximum capacity of frameworks is, not how frameworks behave after they reach maximum capacity. We know that they tend to send 500s after they reach maximum capacity. That's not very interesting.

All that said, once we have an environment set up that can do continuous running of the tests, I'll be more amenable to a wider variety of test variables (such as higher concurrency for already CPU-saturated test types) because the amount of time to execute a full run will no longer matter as much.

[1] https://github.com/TechEmpower/FrameworkBenchmarks/issues/13...
What about Seattle?
I like how he made a post about not wanting to read silly tech blogs... in his silly tech blog.
https://github.com/aemkei/fishbone.js/ - A super lightweight (½kb) JavaScript library with automatic method chaining, automatic context binding, event support and simple inheritance. c-{{{-<
My favourite example of a language with 'automatic functorization' is Icon/Unicon. All functions, when applied to generators, themselves become generators.

So e.g. `read` is a generator that reads lines from the input, `write` writes a line to output, and the composition of them, `write(read())`, is a generator that copies lines from input to output. To run the generator, you can write `while write(read())`.
>It shouldn't be okay for a judge to hand down a harsher than normal punishment because screw you for embarrassing/pissing us off.

I think you missed my meaning. Cops, prosecutors, and judges are only human and they're going to react emotionally because that's what we humans are, hormonal emotional creatures.

In the case of the OP, he deliberately set out to test the system by committing a misdemeanor to see what they would do. It was so out of context for a white male in a nice suit to be doing graffiti that the first responders couldn't believe their eyes. They literally just tried to wave him off. Shouldn't have, but did. I imagine that you or I would have reacted similarly in those circumstances -- or are you perfectly rational in all your decisionmaking and split-second reactions? Highly doubtful.

I don't think it was embarrassment that he had exposed racism or profiling behavior or whatever he was obviously digging for. It was just that he was "one of them" and had betrayed their trust. They gave him the benefit of the doubt that he was not actually behaving like a 19-year-old gang banger, when in fact that was precisely what he was doing. Thus, they ultimately had to book him, take him downtown, fingerprint him, write up the charges etc. By the way, that's work. Lots of paperwork. And knowing that he's a criminal lawyer, they probably had to be extra fastidious -- the slightest little mistake or omission and for all they knew he was going to taking them to court.

I think it's perfectly natural that they reacted angrily to this guy, and threw the book at him, because it was as if he was trying to provoke an angry reaction. Thus as I said, he made his bed and now must sleep in it.

If you want to term this "retaliation", I suppose technically you're right, but your characterization disregards the fact that they're human, with human emotions. I think one of the great mistakes people make when debating the flaws of the justice system is to assume that its people are somehow on a higher ethical pedestal than the rest of society, that somehow they should and must behave more correctly. Unfortunately, they don't, and so it's easy to find biases and injustices in the system.
standard C++11 added std::unordered_map which is hash backed. Previously gcc and ms had the STL hash in the std namespace, but it was not part of the standard.

I always wondered why. In my coding experience, for most generic coding tasks, key-value dictionary backed by a hash was a better go-to construct. I wonder if it has something to do with processor branch prediction; a random guess would be that it would be hard to do b-tree branch prediction on a well balanced tree, while hash is constant.

Its a very good point that when it comes to hashing a very long key string this crit-bit tree structure has interesting properties. I wonder if this structure could be used to implement a good(better?) average case implementation of the LCS problem. http://en.wikipedia.org/wiki/Longest_common_subsequence_prob...
I have a pretty solid understanding of compression algorithms and the BW transform in bzip2 still seems semi-magical to me:

ftp://apotheca.hpl.hp.com/gatekeeper/pub/dec/SRC/research-reports/SRC-124.pdf
And how would you say it's working out for America vs. all the other Developed countries?

One has to wonder what the end-game will be,
sweet. i can't wait to use these things in my $20M mansion in the hollywood hills to design rocket engines
Frankly I think you're being less level headed than the comment you're replying to. The justice system is flawed, but you're presenting a very simplistic view that doesn't do a lot to help correct it. The OP and the comment you're replying to, on the other hand, are both part of a successful conversation.

We can't fix the system if we start from the assumption that the people running the system are basically criminal because they're doing their jobs the way they've always been done.

Demonizing people who are, for the most part, trying to do the right thing with limited resources doesn't help them do their job better, and it doesn't help us talk about how we can change the system to be better. Dialing down the militarization of the police force isn't a matter of humanizing the criminals - we have to humanize the police as well. Calling the police lazy and disgusting dehumanizes them and reinforces the idea of police as shock troops.
But he wasted their resources first. He picked this fight, not the city.
Yep. When peoples' actions effortlessly cross national boundaries. laws that don't cross national boundaries quickly become irrelevant. First e-feudalism, then who knows what?
Most transparent administration ever. We can see right thru them.
I've been receiving jcpenney spam for years because while their account system allows you to sign up with a "+" their unsubscribe system doesn't.
You don't get ahead in the milk business by selling your cows.
The Blacksmith secret that a "junior" dev uses everyday to stay mentally sharp
EASY is almost an understatement. The Meteor team nailed it on this point.

IMO, everyone should take a look at Meteor if for no reason other than to see what's possible.

In terms of value, they pretty much eliminated all of the low value bit moving that consumes a substantial portion of software development hours.
Agreed. To quote Colin Percival's excellent article which addresses both topics:

"Assessing the security of software via the question "can we find any security flaws in it?" is like assessing the structure of a bridge by asking the question "has it collapsed yet?" -- it is the most important question, to be certain, but it also profoundly misses the point. Engineers design bridges with built-in safety margins in order to guard against unforeseen circumstances (unexpectedly high winds, corrosion causing joints to weaken, a traffic accident severing support cables, et cetera); secure software should likewise be designed to tolerate failures within individual components. Using a MAC to make sure that an attacker cannot exploit a bug (or a side channel) in encryption code is an example of this approach: If everything works as designed, this adds nothing to the security of the system; but in the real world where components fail, it can mean the difference between being compromised or not. The concept of "security in depth" is not new to network administrators; but it's time for software engineers to start applying the same engineering principles within individual applications as well."

http://www.daemonology.net/blog/2009-06-24-encrypt-then-mac....
Pre-order now, aka fund us, because all we have is an idea and some Tony Stark marketing videos.
nice project in python to encode binary files to DNA https://github.com/Allanino/DNA
Google's Java style guide
Ask HN: How to quit gmail (without spending money or going to much effort)
I like gmail. Its my main avenue of communication + I use it to keep notes as draft emails. I feel more and more uncomfortable relying on it so much as google becomes more and more evil though.

My main issue with moving somewhere else is that my email address would change which would be a massive headache.
Is there any way to keep that address while switching to a different service?
Yes - you caught me out there :) but what I had in mind was a small-scale greenhouse - the kind you have in your garden, not the commercial-scale kind. But this brings back the restricted scale that we'd end up with if mass-produced long-distance transport bananas become non-viable.

What I mean with local IS growing plants suited for the climate. So in most cases, tropical is out, unless you can take advantage of specific areas that may have a generally warmer micro-climate to grow these foods. But this implies small scale, as otherwise you'd have to put in acres of greenhouses, at which point shipping may well be a better option.

The thing about our current system is that it is efficient, making long-distance shipping feasible. However, it is not resilient, as it depends on politics and cheap energy. I'm not sure if I'd class that as sustainable just because that's how we've done it for the last 50 or so years...
Wow. I'm shocked at the disgusting responses I'm reading here. No wonder people get terrible anxiety about releasing their hard work for feedback. Hacker News seems to be a den of vipers, waiting to strike at the tiniest opportunity to nitpick. And then folks have the gall to bicker and argue over whether the project even has fundamental merit, on the very thread that the author tries to show the "community" what he/she has made. I've been working on a project myself, something I'm passionate about and looking forward to my own "Show HN" thread, but this trend of negativity really makes me hesitate.

I think this is a really cool project, and I commend ianstormtaylor for pushing the envelope and advancing the state of the web. Good job!

edit: I understand criticism has its place in Show HN. But for God's sake, I had to scroll _all the way to the bottom_ to find some kind words of encouragement. You folks should really read some Dale Carnegie
I wonder if they can just approach to Google and ask if they could just donate a couple Compute Engines...

but at the same point, why do we need freebds and openbsd?
In terms of resource, can't we get merge the two team together?