skysight-inc/HackerNews huggingface dataset:
My point is that I don't see much reason to run a server the sole purpose of which is to perform consistent hashing. I have no complaints about using the client library as part of a Python program. Actually, apologies to OP because I didn't realize that this is like the first Redis client library in Python with consistent hashing built in.

But a standalone server to talk to other languages such as PHP? Why would I want to add yet another TCP connection, yet another point of failure, and yet another protocol to my software stack when PHP's very own Predis, for example, does consistent hashing just fine while talking to Redis directly? Many other languages like Ruby, Java, and C#/.NET also have Redis clients that support consistent hashing. Sorry Pythonists, everyone else has been having fun with turnkey consistent hashing for 3-4 years already.

Lossless sharding came to mind immediately as a possible benefit of a middle layer, because Redis users have been asking for something like that for ages. When someone says "Redis" and "sharding" in the same breath, I'm sure a lot of people will think "Finally, a way to distribute my larger-than-RAM dataset across multiple machines!" After all, durability is a big deal when it comes to Redis. I'm sorry if my comment came across as rude, but I was honestly quite disappointed because my expectations were probably too high.
"Political journalism is dangerous (I think anything in politics is risky though)."

Doesn't this kinda defeat the purpose of politics tho?
That's basically dictatorship.
Thanks to Mannkind, I figured it out and it's in now in case you were specifically after this.
> Do I have really such a short attention span that I must find a way to entertain myself for even two minutes?

I dislike this line of reasoning. He's not playing Words With Birds, he's checking e-mail and twitter to see if anyone is trying to contact him.

Is there some philosophical viewpoint that states that it is better to stare at a blank wall than to read your mail?
Well it's always better to go "You can't fire me! I QUIT!" as you get booted from the door.

Ecuador hasn't yet taken in Snowden. So no, your analogy doesn't fit: They are rejecting bullying outright.
Leisure Suit Larry: Reloaded, and for Linux
Since all our freedom is for sale, right?
RC4 is a stream cipher. This means you have a stream of key bytes and a stream of plaintext bytes. You pair these up and XOR each pair together to get a stream of ciphertext bytes.

The key stream is generated independently of the plaintext, so the attacker really only cares that the bytes he's interested in (i.e. session cookies) stay at the same offset in the stream.
:) good reward, isn't it?
You seem to be assuming that if the US doesn't buy those flowers then no one will and they'll just rot. That seems unlikely. Given that they've also offered $23m for Human Right's training It seems likely they can afford to lose the $23m since they're effectively doubling that 'loss'.

Is it grandstanding? sure, but if you agree with human rights it is exactly the right kind of grandstanding.

Also, I have no problem with people considering themselves humans before they consider themselves members of a nation-state, even government officials of a nation-state.
I'm sure he can use his position of influence to make money via speaking fees, service on boards, consulting fees, that sort of thing, but the idea that Wales himself is accepting money in exchange for favorable edits is laughable. He's the most scrutinized person on Wikipedia and there are people who object to pretty much everything he does. He could theoretically use alternate accounts, but that would mean risking a permanent ban from Wikipedia which would be extremely foolish, since he would lose all credibility.
great, as always! thanks
Is it really good for Ecuador to trade with a country that bullies its way like that?

China and others have their own set of problems, but they might make for better trade partners than the U.S., and China in particular is really lobbying itself as an option... lots of multibillion dollar government works and stuff that usually went to U.S., Europe, Japan or Korea by default are going to China now.

And Ecuador is now selling its oil to China, not the U.S.

The U.S. is losing control of its "backyard", which used to be economic colonies.

However, Ecuador is uniquely tied to the U.S. by having adopted the dollar, and the U.S. still imports twice as much as China, so yes, this will hurt.
great. now the us is going to find a way to fuck up another south american country.
> Testing is very low down on the list of advantages of a IOC container. And even then, most people that think they're doing testing properly with a IOC container are doing it wrong. Hint: "Re-binding" your container by forcing it to drop an existing service implementation and replacing it with your mock/test implementation is "doing it wrong".

What part of that is wrong? I may be missing your focus, but that sounds right for unit testing.
I'm pretty sure this has been done 10 years ago on a 4k competition.

Meh.
I'm not sure what you mean by "necessary" in "... submission to punishment is not necessary ...". Do you mean "necessary to be considered civil disobedience"? In that case, yes, I agree with you.

To state that baldly, my whole point is that what Snowden is doing is _not_ Civil Disobedience, and that calling it that cheapens his actions. Talking about "previous practitioners of civil disobedience" seems to imply that he is practicing civil disobedience, which I clearly (at least, I thought clearly) stated that he was _not_ doing.

A significant part of civil disobedience is that by standing up and violating an unjust law (or the unjust enforcement of a just law), and being subjected to punishment for it, makes people (who are fundamentally good and decent) see that it does not make sense to punish people for doing something that shouldn't be illegal. This is an attempt to compensate for people's natural instinct to meekly obey unjust laws, and to bring out societal and eventually legal change.

Snowden is not saying that government secrecy laws are unjust. If he were to do so, he might find that he has very little support (from those good and decent people). Many people feel that the government has an obligation to keep some things secret. What he appears to be protesting is the specific government program that he leaked, not secrecy laws.
Y'all looking at this at a superficial level.

Sure, we all need somewhere to learn, but most of us do this on personal projects, at school or on low paid gigs under superiors who'll kick our asses.

I don't know many technical directors / lead developers who havn't shipped a single project and while some of you might call that "hustle" I call it lying.
This is one region where Mercurial particularly shines: things like hg-git and hgsubversion. I believe hgsubversion even supports translating from hg branches to svn branches.

(Git's model is restricted enough that it can't very successfully act as an interface for Mercurial or Subversion. Mercurial can do both very well.)

I had to use an SVN repository this semester at Uni. Only once did I actually check it out in SVN—then I decided to chuck that and use hgsubversion. That made me considerably more productive than the other students... especially when the SVN server ran out of disk space: I could still commit and push later, while they had to wait. :-)

When I have to deal with Git repositories, I typically use Mercurial, also.
> a number of cases show undercover officers flaunting those rules

No, they flouted the rules.

http://blog.oxforddictionaries.com/2012/01/flaunting-the-rul...
I'd certainly say so. I was stoked about making the front page of hacker news. But, to have it picked up by a 3rd party completely unsolicited is probably equally as awesome.
The US didn't demand him back (and he isn't even there yet). They are threatening to remove some economic benefit that is completely unrelated to the issue at hand to coerce the Ecuadorean government to fall in line. That's pretty obviously bullying, and the Ecuadorean government has simply called uncle sam's bluff.
Yes even if you don't program .NET, the first half of the book is just about manual DI principles that could apply to almost any language. His blog also has good stuff about DI.
I found this from wikipedia about civil disobedience interesting:

ACT-UP's Civil Disobedience Training handbook states that a civil disobedient who pleads guilty is essentially stating, "Yes, I committed the act of which you accuse me. I don't deny it; in fact, I am proud of it. I feel I did the right thing by violating this particular law; I am guilty as charged," but that pleading not guilty sends a message of, "Guilt implies wrong-doing. I feel I have done no wrong. I may have violated some specific laws, but I am guilty of doing no wrong. I therefore plead not guilty." A plea of no contest is sometimes regarded as a compromise between the two.

And then there is always Sophie Scholl. But exactly because of that I think sometimes that can be a waste of perfectly good life... so in the end, I don't know what to think exactly.
Articles with titles containing 'Go' seem to get upvotes simply for including the magic word.
I've used wikis and wikipedia for a long time and I guess from the article some people have a problem with Wales because he wanted one thing and got even luckier by getting something else.

The underlying tone of the article is he isn't sincere because he could have cashed wikipedia out at any time (like IMDB and CDDB have before) and the reporter is waiting for him to do just that. I guess the fact that he was a trader before adds to it because traders are only ever about money.

In this day and age people can't have the interest of greater good and there always has to be an ulterior motive.
Following a principle has its costs, but that shouldn't become a barrier towards doing the right thing.
Just the tutorial I was looking for - Paypal recurring payments! Thanks
And ideally these things should be decided on their merits, not who has control over a bigger economy.
"She also threatened legal action against whoever had leaked the document."
http://i.imgur.com/tF3GHPY.jpg
> no unexpected side effects

No one ever expects the side effects
Do you think China will refrain from bullying if it is ever in its leaders' interests?
You can enjoy that sockless look without giving up the benefits of a comfy sock. Look up low-cut, "incognito" or "no show" designs.
> You seem to be assuming that if the US doesn't buy those flowers then no one will and they'll just rot. That seems unlikely.

At the margin, it seems incredibly likely. You don't cut yourself off from the largest wealthiest market in the hemisphere and continue to sell exactly as many flowers as before at exactly as high a price...
I don't know, would they? This idea that a government would demand that another, non-allied government return someone whose crime is leaking secret information doesn't make any sense to me. I get why you'd extradite an accused murderer or similar, but an accused leaker? Why would another country listen to such a demand?
Home buyer finds $100k comic book in $10k home’s wall
Computer "LAN play" now requires permission from Gaming Board
Ask HN: I want to create a mobile web app with Django. Where to begin?
Hailing all Python experts! What is the correct path to go if I want to write a simple web app in Django. I want to have a login and when I login, just display some simple data.

Right now I'm reading up on Django, what else should I read and familiarize myself with?

As a beginner it's tough sorting through all the data on Google and finding out what is write/wrong and wasting hours experimenting.
Which lock-free structure have you been using and for what purpose?
Also, it's often not better to say that.
What's the best method (or framework) for creating a GUI for a python script?
This is lovely and amazing!

90% of chance of law enforcement to be in touch with you soon, unfortunately.
This is akin posting Youtube video of yourself breaking legal speed limits.
Yup, big feature on Newsnight.
If they don't give €7bn to us on Monday they have a bank collapse [2008]
Andrew Erlichson - MongoDB Days 2013
Froont: The Ultimate Responsive Web Design Tool
I wonder how many groups have gotten rejected from TechStars but accepted into YC. That seems somewhat surprising to me, although I guess the individual TechStars programs are smaller.
How to Install OpenERP 7 on Digital Ocean
An unlikely programmer
> And there is a difference between "we take your money, then educate you" vs. "you pay voluntarily and then we educate you".

By remaining a citizen and staying in the country you agree to do these things though. The "social safety net" does not pay for itself, whether you're a liberal or a libertarian or an anarchist.

i.e. by being here you have caused the state to have to provide for you in some regard, whether it's delivering mail to you, accounting for you in a census, medical emergency services, protection from the other citizens, military defense, safe transit from one spot to the next, and far, far more.

The exchange to that is that you contribute some fair share to pay that back. If you end up paying more today then that's OK, because the state paid more when you were a child and will likely pay much more when you're elderly.

If that's something you personally don't like then I would recommend renouncing your citizenship and moving somewhere where taxes cannot be enforced. That or working to fix the government you're in to magically provide no services and therefore require no taxes.

> If my parents were forced to pay for my school, I'm not obliged to be thankful for my education.

I might at least thank my parents, but perhaps that's just me.
Memories of Stasi color Germans’ view of U.S. surveillance programs
It's not that nil exists... it that it exists everywhere (on the types that support it), with no way of restricting it. It's actually the one criticism I find the most frustrating because, unlike generics and unlike interface{} (which is sort of a repeat of the generic complaint, that's an effect), it's so easy to fix that during the initial design, and it would not have profoundly affected the rest of the language. In fact it could still be bolted on after the fact, it's that easy and low-impact. That not all types support nil in Go is itself an interesting point; zero types are better than nil, so why didn't we propagate the idea that is already in Go through the language consistently, and not let anything be nil unless we explicitly request it in the type?

With most of the rest of the criticisms it's not necessarily clear how to fix Go (that is, it may be fixable but there's no one obvious solution that just works), but that's not the case for non-nullable types. They were always possible, have been for decades, and there's just no reason not to have them and use them as much as possible in the standard lib.

Also, I'm not a hater... unless your definition of "hater" is "doesn't like every last detail about Go", in which case, sure, under that degenerate definition I'm a "hater". You really shouldn't sling that term around in a preemptive attempt to marginalize your opponent like that, for a topic like programming languages. Save it for politics.

("Programming languages ARE politics." Well, they shouldn't be. Don't fall into that trap.)
ZeeFrank sums it up well in Brain Crack. http://www.youtube.com/watch?v=rDHb3vC9OmE

Additionally, focus comes from discipline. Discipline is forcing yourself to do something even when it's not what you might want to do at that moment.

How to become and stay disciplined is often very personal. Some people focus on the long goal, others on the minutia going from task to task, and still others focus on time (Pomodoro) or lists (GTD).
So being interested in a particular group, collecting data on them and reporting on that makes someone the public face of that group and a leader?

Sounds like using that criteria is a good way of accusing independent journalists of guilt by association.
One Brooklyn Startup is Revolutionizing the Street Sign
Eric Schmidt - ADMS Keynote and Audience Q&A: Innovation
I found the way that Eric handled the Q&A part to be really awesome.
tl;dr - One screenshot, loads of investors, no synopsis of the app at all really. "Wait and see".

I'm quite excited to see it.
I find this theory unlikely given that many sources and a number of US legal cases cite a clause of the English Bill of Rights of 1689 as the source. Said clause being, That excessive bail ought not to be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted;

See http://www.constitution.org/eng/eng_bor.htm for the full bill in question.

That Cesare Beccaria's comments could have given the idea more force I can believe. But they are not the source. Nor am I aware of any court case that has specifically discussed Cesare Beccaria for trying to understand this clause. By contrast search https://supreme.justia.com/cases/federal/us/501/957/case.htm... for comments about Titus Oakes (the historical cause of that clause).
Google suspends game developer's account after inquiry over payment.
"Economic benefits" are generally not free. Why should the U.S. reward a country that has shown a willingness to embarrass them on the world stage (twice, now) when there are a hundred other countries that would be just as deserving (not to mention the millions of Americans here at home who could benefit from a bit of largesse)?
Dont worry I am not going to :)
Just on general considerations, it's amusing to subordinate our thinking to "famous minds" on a topic like "disobedience". Any ahistorical misunderstandings about these Famous Minds aside, you evaluate a tactic on its effectiveness. If a particular masochistic, submissive tactic furthers your goals, it's worth considering. (Though so are the costs.) Otherwise, it's plainly absurd.

As MLK himself would've no doubt pointed out, there were others participating in the Civil Rights movement. These movements aren't reduceable to the famous minds of Great Leaders, though of course those in power (who want people to obey leaders) try to frame history that peculiar way.
It feels satisfying to go "You can't fire me! I QUIT!" but it's usually a bad idea. Removing a point of leverage before its attempted use is a slightly different scenario, though.
They are beginner friendly, sure. But that's almost a bad thing.

As this poor guy found out the hard way. Building what was presumably quite a large system inevitably turned into a sprawling mess that was hard to maintain and develop any further.

There is extreme levels of immaturity in the RoR and NodeJS communities (when it comes to the dissemination of good software engineering principles and practices) and unfortunately this often projects outward onto its users who don't know any better. Hell, it was only a few months ago the creator of RoR was poo-poo'ing the very concept of DI/IoC and therefore SRP. So it's no wonder the poor sods in that community that read his blog as though it's gospel end up producing unmaintainable heaps of crap that ends up having to be scrapped.
Many punishments are cruel. Prison is cruel. So is death.
Cynically, yes, it's a big media ploy. But, what should they do instead? Would it be better for them to immediately crumble when big ol' capitalist America tries to tighten some screws?

Maybe it provides morale for the average Ecuadorian, some faith and pride in their government. I wish ours would sometimes take a stand on human rights in the face of a more economically convenient option. However, I'll admit I'm not very familiar with Ecuador's political climate, it very well could be a hollow scheme.
you are trolling, arent you ? :P
I have a 1.4gb SVN repo (working copy checkout, so more like 700mb actual files) with 15k revisions. Horror of horrors, I pulled up the first commit message and look what message I found:

commit ...
Author: (no author) (no author)@...
Date: Sun Jun 8 ... 2003 +0000

Standard project directories initialized by cvs2svn.

git-svn-id: ...@1 ...

If you've got more than 15k revisions, larger than 1.4gb working directory, or a codebase that is over 10 years old then keep talking. Otherwise get over yourself and use git-svn.
>>>But they have handled the Snowden case well it seems and that gives me some confidence.

I have to give them credit for that. Assange didn't jump in and hog the limelight and for the most part, WikiLeaks has stayed quiet and reserved during this whole ordeal.

They acted incredibly professional throughout.
Maybe to a lesser degree, given economies of scale, market size and so forth, but it will hurt the US too. Trade agreements aren't altruistic. There's mutual benefit, or there'd be no point.
You could try bridging it to objective C and then using XCode to create a GUI (if you're a mac user)
Good post though there's too much emphasis on the crying (vs. appreciation) IMHO.
Which chair from ikea did you get?
> * which would have hurt innocent civilians - does the US even care about that anymore?*

There own innocent civilians? Generally yes, though they consider them all to be potentially not at all innocent.

Other country's innocent civilians? Not unless it is politically or industrially/commercially expedient to seem to care. This has always been the case, and is the same for any other power.
I believe that depends on the attack vector. Any sort of extra protection will probably not do any harm; you can prevent a bunch of script-kiddies who are using pre-made software with simple obstacles, such as this.

I had a small project a while back in which I tried to prevent use of a widely used cracking application. What I made was basically a CSRF protection made with websockets, which fetched the CSRF data at onsubmit event. In the end, I did succeed in preventing the use of the application, which could have been used to save bandwidth of large file-hosting and porn sites when bundled with CAPTCHA (although it worked without one against the application). For an example, when Spotify API was released it was exploited with a speed of few thousand login requests per minute, while some sites get still hammered with tens of concurrent bots making more formal login attempts from ho knows how many different locations. Anyhow, since I used client-side JS in it, the events were able to be fired before the actual POST event, which rendered it useless against more customized attacks. Ultimately the original purpose of the project was a success; I got some crackers on their toes and was essentially banned from the community.

My point is that even small security updates may be worth it, since you can never know who you are up against with.
Would have it just been easier to pardon Snowden, bring him back home, never allow him to work with a security clearance again or do we just have to be that hardline that we just caused lots of anguish? Has the non-pardoning/hardline caused more damage here? If he truly has more damning information, as the state department, wouldn't you want to contain that by bringing him back without fear of being detained?

Unless in some parallel Snowden is still in the CIA and we wanted to check HK, Russia and now Ecuador regime with a spy that would be excused due to the leaks (might also learn more about WikiLeaks).

In the end, our enemies knowing we track everything hasn't really hurt them, it just let them know the long arm is longer than they expected or they knew it already. The only people it hurt were innocent Americans that now have assurance everything is being tracked, US cloud business trust and now poor farmers in Ecuador.

Seems it could have been handled better.
Union 2.0: how a browser plug-in is organizing Amazon's micro-laborers
I came here with the same thought. I wonder if the Washington post is to be trusted here, or if that was never said but inserted by the journalist to give even less credibility to ecuador.