skysight-inc/HackerNews huggingface dataset:
No, don't look at fabric! Fabric is good for some stuff, but deployments should be repeatable, automated and idempotent. Look at ansible.cc instead.

Don't use fabric for deployment (even though it's a fantastic tool for many use cases).
We are deploying once or twice per month and we are using the "git flow" branching model. More info here: http://nvie.com/posts/a-successful-git-branching-model/
WikiLeaks Volunteer Was a Paid Informant for the FBI
Good point: re multithreading. I wonder if web workers could be used to resolve that?
Rocketry accepted, this is targeting of people because they're politically active (admittedly in fringe groups, but there's a grey area between fringe and just small.)
>Just look what success Americans have had with rolling back the war on drugs

There has been progress in rolling back the war on drugs. More and more states are decriminalizing marijuana and the Feds don't like it but there really isn't much they can do about it because they don't want to stir up state's rights arguments.
Just so you know, Obama believes that Guantanamo Bay should be closed. The reason it is not closed is because he is unable to get the funding from congress to close it.
> Q: What about data invalidation if I move servers, change the config etc.

> A: It's minimum. At least better than: Node = Hash(key) MOD N

Seriously?

Redis is not just a cache. Let me repeat that. Redis is not just a cache. Lots of people use Redis as a primary data store. If Redis is your primary data store, you can't afford to have any of your keys invalidated, ever. "Minimum" might be good enough when you're talking to Memcached, but it's not enough when you're taking to Redis.

Consistent hashing has been a solved problem for a long time if you can afford to misplace a few keys from time to time, which will happen every time a node is added to or removed from the pool. There are Redis client libraries implementing consistent hashing in nearly every language, and most of them work just fine if you use Redis as a cache or if your pool size never changes. Solving this problem again isn't particularly interesting.

What really would be interesting is a server that sits between Redis nodes and clients and intelligently moves keys from one node to another in the background so that no key is ever invalidated even when the pool size changes. I believe that project is called Redis Cluster or something. That might be worth an extra TCP connection. But right now, I'm not seeing why I should prefer Redis-Router to any tried-and-true client library with built-in lossy consistent hashing.
"In the months leading up to the wedding, a series of demonstrations by students, trade unionists and others saw hundreds of thousands of people take to the streets to protest against government cuts. There were outbreaks of disorder and in one case student demonstrators attacked a car carrying Prince Charles and his wife Camilla." [1]

I might just be being cynical but this sounds like an intelligence led operation to remove people who were at a high risk of commiting public disorder. It seems pretty limited that it was 20 people and they were picked up all across london - the police didn't just swoop in on a group of protesters with anti-monarchy banners, they were specifically targeted. I appreciate although the UK has no "constitution" we have to free protest but from the riots last year I think The Met have every right to be cautious about preventing demonstrations which could spark into something dangerous at one of the biggest public spectacles of the decade, when the entire crowd is made up of families trying to enjoy themselves.

If the cause is so noble, one shouldn't need to use a large public spectacle as a vehicle for it.

[1]http://www.guardian.co.uk/uk/2012/may/27/activists-arrested-...
If the windows are not moving, then it is a bug (although, check that you haven't clicked pause on the game). Otherwise, they should be moving and recreating the game pong. The plain yellow is the ball, the striped are the paddles for the characters (controlled by A&Z for the left one and UP&DOWN for the right one). Tick one of the boxes as non human to play against a computer.
Snow Crash sums this up nicely:

Until a man is twenty-five, he still thinks, every so often, that under the right circumstances he could be the baddest motherfucker in the world. If I moved to a martial-arts monastery in China and studied real hard for ten years. If my family was wiped out by Colombian drug dealers and I swore myself to revenge. If I got a fatal disease, had one year to live, and devoted it to wiping out street crime. If I just dropped out and devoted my life to being bad.
Hiro used to feel this way, too, but then he ran into Raven. In a way, this was liberating. He no longer has to worry about being the baddest motherfucker in the world. The position is taken.
String is shutting down
Lemonad was once much larger with a wider range of functional operators. Recently most of its functions have been moved into underscore-contrib (https://github.com/documentcloud/underscore-contrib). Most of my JS time lately has been spent with _.contrib, but I plan to come back to Lemonad soon and write up full docs and the like.
Anti Aging Beauty
I never realized! Thanks, I'll remember that.
I'm surprised this ever made it into production. Never, ever trust user input.
You're right in spirit, but the direct opposite of dependency injection is obviously direct dependency construction, not service location.

Fair call!
I can't see a stamp or a signature, it's therefore invalid AFAIK.

The absence of middle name is also strange (if Mr. Snowden has one).

Anyone with access to a printer within an Ecuador embassy can do that, but without the stamp and the signature the value is zero.
I'd advice bcrypt for it's slow hashing though.

I'd makes bruto forcing harder - longer :-)
Design-in-browser, are you ready?
Is Traveling a Good Investment?
What you're describing sounds a lot like mongodb - it has the server (mongos) that sits between the client and the upstream databases (mongod) and stores metadata about where data is located, and it moves that data around based on shard keys.

Unfortunately it's the weakest part of mongodb.
Elderly Japanese man sues public TV network for overusing English
The number by itself is not worrying, but you have to understand that this is not (at least not directly) related to the Snowden case, but is to be seen in the context of the other recent police scandals in the UK, such as the allegations that there was a police-coordinated smear campaign against Stephen Lawrence or that criminal private investigators may have been given access to internal police databases, allowing them to bypass the witness protection program and reach and intimidate witnesses.

If you read the Guardian article, you will find that the concerns are not (just) the number of people being observed, but whether the "domestic terrorists" weren't just politically inconvenient people that the police had no business investigating, let alone with the methods that are being alleged.

In short: This is not about spying as such, but about the police allegedly acting outside the law.
Google will remove all Blogger sites that monetize adult content, from June 30
Do we really need javascript frameworks?
I started learning javascript and web development a while a go. I decided to learn javascript without any frameworks or libraries so I would properly learn the basics.

So far I haven't really felt the need to use frameworks or libraries. I've been close to using JQuery but I've able to avoid it until now. But even if I end up using JQuery, it is just a library and not a framework.

What do frameworks like Backbone.js, and ember.js have to offer? These frameworks offer functionality at the cost of adding a lot of complexity.
Using an FPGA Dev Board to Drive lots of Arduino Shields
This new FPGA dev board project on IndieGoGo has three Arduino Shields.

That means you can use one to break out IO to a project, one for a peripheral like wifi, and the 3rd? A touch pad or battery? Or prototype your own shield?

You can use the FPGA module from the board as well when time comes to make it into a product/bespoke board.

Lots of examples and code on the website.
Oh, the windows are supposed to be the game! Ok, then it's not a bug (per se) but I'm using a tiling wm, it's preventing the windows from moving. Thanks for the explanation.
Tory Burch Sandals,Tory Burch Flats
Official announcement: http://my.opera.com/securitygroup/blog/2013/06/26/opera-infr...
This article is good too, says he's contributed to the Guardian, Vanity Fair, was an activist, affiliated with Anonymous. [1]

I haven't seen anyone else except you, calling him a 'leader' of anonymous, where are you getting that info?

Is 'anonymous' the only thing you think differentiates him from being "just another journalist"?

Weird statement from him saying he wasn't informed about the leak..

"I wasn't informed of the leak or the nature of the leak," he told me at the time. "I do defend them for it and I will take responsibility for defending them. But if I had my way it would have been done differently. I have no... they don't need me, basically, so they don't ask my opinion." [1]

[1] http://www.guardian.co.uk/technology/2013/mar/20/barrett-bro...
This is a little condescending. I live frugally but have spent the money I've saved on a house for my family to live in. I've contracted the last year to be able to afford to travel around the world next month.

"You can enjoy your life right now. You just need to spend less money on shit that you don’t need."

True, I don't need a house or to go travelling but my life would be poorer had I not invested in that shit.
Yes, and it works fine as long as you accept that data will need to be migrated at some point when you run out of memory and/or instances.

To put this off as long as possible, you can max out the memory in your boxes and use a large number of servers - 100s in some cases - running on those servers, hopefully with less than 1 per CPU core to maximize performance.

Then if you begin maxing out memory, you can easily split those servers onto their own hardware. My calculations showed that would allow scaling to trillions of keys without problems.
This is Google's Motorola's new logo
Just FYI.. It didn't work for me on Google Chrome (stable) or Chromium on Ubuntu 13.04..
It did work in Firefox. Pretty crazy use of windows.
Also, I tried my best to beat the AI, but couldn't! That's a hard game
Unless they assume the other stuff is just a cover story for the suspicious stuff and thus assume malicious intent anyway.
> When I started working, I didn’t start spending.

I'm exactly the same. I see so many people living paycheck to paycheck, and for me there is nothing more depressing.

I've only been working for around a year and a half and I already have the economic freedom to be unemployed for a year.

Also, I don't really feel like I live frugally. I go out as much as I want to, I go on holidays, I buy a few luxuries that I really want. I really don't understand how people manage to spend so much
A government (or government sponsored entity) probably wouldn't be so brazen to start using the stolen certificate to distribute malware on Opera's site.

I would imagine that keeping this a secret would be worth a lot more to the right people.
...and another one simply living single, with no outside responsibilities and lucky to be healthy, claiming this lifestyle as somehow superior (others complain!) but not realizing that there is nothing special about it.

nobody dependent on you? no kids, no employees, no sick parents?

you not dependent on anyone? no accidents, no clients not paying, no disease or disablement? living in a safe, rich, area of the world?

oh how awesome you are.
This is just the mod SDK, it isn't the Source engine code.
What really gets to me in this story is that the mother is being prosecuted for 'obstructing execution of a search warrant', by -- allegedly -- helping her son hide a laptop. That's just cold, heartless fascism. In a decent country they would question her and leave it at that. Idem if it was a father, brother or a random friend, with otherwise no criminal record, no chance for recidivism and no other part in the crime being investigated. The government and the police should be here to protect us. You aren't protecting anyone by marking this woman a criminal and you are actively failing to protect her.
Well you're a creator and being in the hamster wheel of having a job just doesn't logically make sense to you.

You seek freedom to create thing with nothing except from your own neurons.

That's why you'll be a millionaire very soon, but you won't buy things from it, you'll just keep hacking. A true entrepreneur. :)
indeed, the reason Hong Kong gave for not extraditing him, was that USA didn't specify what the J. middle initial stood for.
777Surfer.info - Unblock the internet
excellent point... if you want to live like a flower. Some of us prefer going to places, trying new things, meeting new people, having a family and hobbies. And all those things cost money.

When I'm old I'd rather say I'm broke because I lived my life to the fullest than I lived conservatively so I can afford to be a stressless elder with savings

(hopefully I wont be downvoted because I beg to differ)
Yeah, to startup the container and manage the object graph, sure. But not to directly instantiate the objects like you've given in your example!

The whole point behind DI is to decouple objects, any IoC container worth it's salt gets started and works it out for you. You shouldn't need to resolve the individual object.

Another poster noted this is known as composition root, a good explanation can be found here:

http://blog.ploeh.dk/2011/07/28/CompositionRoot/

Note the following:

"A DI Container should only be referenced from the Composition Root. All other modules should have no reference to the container."

Words to live by :-)
tl;dr: They had a well-known workaround for the known bug involving block variables [apparently not well-enough], so they were focusing on other things. As of right now, they're going drop everything and fix it in RM 2.4.
It isn't causing any problems! But in a recent thread on git deployment, there was a tonne of hate for this method
Web 2.0 scientific calculator
He's not looking down on anyone or comparing himself with people who are disabled, he's looking at people who have the same responsibilites as him, but rather go for short term gratification than for creating their own freedom.

Growing up doesn't mean getting a job and saving money, but getting out there all by yourself and doing awesome shit. I wrote about that more in detail http://appreneur-diaries.com/its-time-to-grow-up-fuck-no
Really? Which polls support this?

"Public opinion" changes real fast if this is true.
Rather than killing Gunicorn's child processes, I prefer to send SIGHUP to the master process.[1]

It's as simple as

`pkill -f --signal HUP "gunicorn: master \[procname\]"`

[1] https://gunicorn-docs.readthedocs.org/en/latest/faq.html?hig...
One a phone you would be distracted by email, social media, etc. In a bookstore, you can completely absorb yourself in a book.
Don't worry about it then - there are more important things to spend your time doing.
One thing puzzles me - why this document has been issued in London, not Ecuador?
Whilst I have no particular bones to pick with the security services today, (hi guys!), I am more alarmed by the potential for future abuses; by the possibility that police / MI5 / MI6 / GCHQ will use their powers to cover up scandals, smear people who criticise them, undermine court cases against them, and manipulate politicians and journalists into protecting them and their sources of funding.

Indeed, my concerns are amplified somewhat by recent scandals illustrating improper behaviour on the part of other civil servants: NHS cover ups, covert police smear operations & attempts to undermine the rule of law. When so much is secret, trust must compensate for the lack of information.

I am terribly, terribly afraid that trust is a commodity in desperately short supply. This dearth of trust means that the hackles of suspicion become raised by even seemingly innocuous news. For example, am I the only one to find it (mildly) suspicious that the security services got an extra 100 Million when everybody else got their budgets slashed? What pressure did treasury officials come under? Was it proper, or did something underhand happen?

We will certainly never know the truth, but where the benefit of the doubt may have been given before ... now the supply of trust has been wrung dry.
That, along with the misspelling of height (spelled hight) in the document, makes me believe that this is not a valid document.
Illusions Reveal the Brain's Assumptions
Some Configs to Increase DosBox Performance on Raspberry Pi
I half-expected the Street View to be classified as well:

https://maps.google.com/maps?q=52.067359,5.699562&ll=52.0645...
cop tribalism is, to varying degrees, the same in every country (unfortunately).

Giving someone 'power' in any form, creates corruption in most individuals. History, psychology and no doubt our own experiences prove this (again, unfortunately).
... one other thing though. With a bit of practice you can remove the need to develop on feature branches; break things down into really small chunks and get into the habit of making half-done features unobtrusive (e.g. hiding UI elements until they're ready). That way you can push to master often and have confidence it'll always be safe to deploy, which simplifies your tooling and reduces the scope for merge conflicts etc.
another thing - there are multiple ways to inject dependencies - not just constructor injection.
Actually, that is the point. If you decouple the objects via the container at the composition root, then you have actually achieved loose-coupling of objects.
You're a little too harsh on the OP, and I'm a saying this as a (now) single guy in his early 30s who is kind of financially supporting his ageing parents. I still think his closing remark stands:

> You just need to spend less money on shit that you don’t need.
I find that weighing daily helps me notice changes in the weight trend fairly quickly. I've also calibrated my sense of what the normal fluctuations are by graphing my weight and taking moving averages for a while, though. So I can look at the scale reading four pounds above yesterday morning and say "hmm, maybe I shouldn't have eaten that whole pizza by myself".

Faster feedback loops are better for training. You just have to spend a little time installing a filter sometimes.
You always have to modify componentA - you're adding a new feature to it, and declaring that it takes a serviceB. If you're not using DI you have to change your "wire up my application" code as well.

The choice is between writing the wiring code yourself, which means a lot of boilerplate that's basically irrelevant to the functionality of your application, or have it happen implicitly, which yes involves a certain amount of magic. But even polymorphic functions are "magic" on some level.
I think it heavily depends on your target market and what the product is, If your aiming for designers or techies then an amazingly designed website will obviously help.

The most important thing to remember is the usability and content of a website far out weighs the design.

You seem to have achieved exactly that on your website. within a second i knew what you was offering, and 3 seconds what it looks like. A little more reading and i knew what the benefits/features were. You have a great base, well done.

Roy
http://roybarber.com
There's a simple solution to this: stop comparing yourself to others and always strive to be better than yesterday you.

This way, you can improve every day (week/month/year) and become all that you can be without the stress of knowing that you'll never be the next Bill Gates or Zuckerberg or Musk.
Ask HN: What is the best embedded chat service?
My organization is looking for adding visitors' chat to our website. All the services I could find don't look very modern or professional. Do any of you of anything good? (It can also be SaaS)
There's a thing called a bootloader , and if something is implanted there the entire phone can be off, except for the radio "checking in" every few minutes or so. And you are very,very naive if you think you can measure a 0.1A draw using a $20 multimeter, good luck with that.
That was not my point at all. Sorry if that was unclear.
My website runs on OpenShift. I deploy to production as soon as a new feature or hotfix/bugfix is ready. To be convinced that these changes work well and don't break any other working behavior, I first push the new version to a another server ("staging server"), which basically is a clone of the production server.

On the staging server, I observe if everything works well by going through some use case scenarios manually. Once I'm convinced that everything works well, I deploy the new version to the production server for my beta testers to try out and give feedback.

So cycles of "new versions on production" can currently take anything between a few minutes (really quick bugfix, "OMG the website is not working at all!") and a few days (new feature)

One could complain that there should be a test suite running unit tests and integration tests, taking care of making sure everything works well. But I have two observations that make it impossible for me to rely on a big automatic test suite:

* as my website is still technically in an explorative mode, constructing test cases is wasteful: my website's architecture changes quickly to adapt to new insights. I rather spend my resources on developing features than on a test suite that doesn't work with the new architecture.
* Subtle differences on my production server (limited server resources, different HTTP request behavior) make it impossible to rely on a simulated environment for my integration tests. Therefore, I have a staging server with the exact configuration as my production server. The only difference are IP address and domain name. These differences shouldn't break anything in my website, but you never know until it breaks the first time :)
Assange printed it from the Ecuadorian embassy in London while everyone else had gone to lunch?
Well, as a single male with zero responsibilities and enough money to live like this guy I will say that luck plays a small role in this lifestyle. We are all dealt hands in this life and its the choices you make that end up determining your hand. I understand the poster because those of us that live this type of life walk around thinking that those with heavy responsibilities wish they were us. Never walked past a young couple with a kid or two in the grocery store and thought to myself, 'oh wow now thats living!'; not hating, I prefer people live the life that is suited for them.
If everyone lived like the OP would the economy still work? Maybe the economy would shift.

I only buy second hand cars because I hate paying too much depreciation but someone, somewhere is buying the new ones, which I can then take advantage of.

I try and live as frugally as possible but my idea of frugality is probably way different to everyone elses, as is his.
That's little comfort: I still get the impression that if I'd been standing next to them I would have been arrested too.

Freedom of expression means being allowed to make a spectacle. Not by attacking Charles & Camilla, but marching up and down shouting in the daytime, sure.
We use Olark (http://www.olark.com/) on hackerjobs.co.uk and even though we use the most basic, free service, I've found it to be fantastic. Plenty of customisable options, even on the free account. I wouldn't hesitate for a minute to recommend it.