skysight-inc/HackerNews huggingface dataset:
You've already sussed out that this is ridiculous. Just a little background.

In 2013 there is no excuse for a culture of shaming people into working long hours all the time. You should have a culture focused on measuring effectiveness. The "100% in it" sounds like brogramming, or I guess bro-duct managing.

If your co-workers are not pulling those kinds of hours, then presumably this guy's threats are empty, or don't apply for some reason. You should try to figure out why.

Either those guys are already planning exits (cashing out/believe startup is doomed). Or maybe they just don't report to your boss. Actually, are you sure you report to this person? Often techies set up companies so that direct reporting goes through a tech hierarchy, although a politically savvy product manager will try to imply to a young and impressionable hacker that they are the boss. You mention elsewhere that it's all kinda loose, but I think you probably do have an official boss who does your performance evaluation, somewhere.

I'm also in Vancouver. I've been around the block a few times although I'm just getting a feel for this city. Anyway feel free to hit me up for connections or advice. Confidentiality assured.
When you look at someone like Neumann you learn to be humble. The gap between him and an average guy like me is so large that it seems silly to worry about wether I'm good enough.
He certainly championed the cause of censorship during his time in office, which is not something I could overlook in a politician, in fact I find it abhorrent.

Again, sorry, but I don't share your viewpoint, the censorship stuff is not something I would overlook because of other, more positive work.
Weighing every day is terrible advice for those trying to lose weight. Weigh yourself at most once a week else the short term fluctuations (hint, drinking a pint of water is half a kilo) will distract you over the long term goal of getting to a healthier base weight.
Show HN: Readable.cc RSS reader (Google Reader closes next week)
UK National police unit monitors 9,000 'domestic extremists'
Wonder how I missed that. Oh well.
"At its core DI is basically constructing instances of objects with the help of other objects."

Why would you wan t that in python? Doesn't python have higher order functions?
Many civilised countries explicitely forbid this -- you only execute the highest punishment you are given if the accusations are related. So if you are accused of money laundering and get 8 years for that, and of information theft (which helped you do the money launering) and you get 5 years for that, the final punishment is 8 years -- because, arguably, what you're guilty of is money laundering, information theft or not.
Virus scan FTA: https://www.virustotal.com/en/file/8ecbca0de44c82d1c7ffced28...

That shows MalwareBytes detecting it as	Trojan.Downloader.szb, and it does appear to be Zeus or a close variant. I'd be concerned.

> It is possible that a few thousand Windows users, who were using Opera between 01.00 and 01.36 UTC on June 19th, may automatically have received and installed the malicious software.
You have no idea what web programming is, right (don't answer me you're a programmer, that means nothing)? Otherwise you must be some kind of hater or something.
It may not be a huge and complicated app, but still, it's great, and yeah, it is HTML5 (there's a little bit more than just an animation, but i guess you didn't bother to check anything)…
thanks!
https://github.com/emre/redis-router/commit/0d9307436e4c3b69...
Father’s genetic quest pays off
This is pretty awesome. Can't wait to show it to my daughter tomorrow. Will probably come home from work to a full disk on my laptop.
Code freeze on Fridays, deployment regularly on Tuesday nights.

If you're not using Jenkins you don't know what you're missing, but I can tell you it's warm and sunny :)
We're in e-learning and we normally deploy to production once a month, usually with one or two following bug fix deployments. Most of the process is automated with our CI, but we still have some manual action steps required.
Interesting report. It's a bit off-topic but I think at least with the AppStore Apple failed to separate bug-fixes (minor) updates from major ones - creating the feeling that updates should be kept to a minimum.

Regarding your backend, are you using any type of CI?
> Still happening

Not as much though. The police basically killed it completely come the beginning of the 00s. (though there's a chance that I'm now just completely out of the loop so oblivious to it all)
The good and bad of Wonga
Even for buyer is difficult to know if it's actually you making the purchase or someone else using your name / address.
We have a productized SaaS, where the product UIs are sometimes updated several times a day each (we have a couple dozen products now and growing). The backend driving the products is updated usually on a weekend after a 2-week sprint. It works out pretty well for us, and we rarely feel rushed to get something out. There is the odd hotfix for a critical bug - that happens maybe once every two months or so.
This is the tool I used to optizimize the GIF from 3MB to 946kB.

http://ezgif.com/optimize/
I hand it over to the lead dev who is the only one of the contractors with sufficient security clearance to access the production systems. His process is less automated than I like and patching production bugs can be a pain.

I only hand over work to him on the proviso that my work is ready "pending end user acceptance testing". Of course there's still the traditional 2nd of january deploy untested code manouver they seem to love. Last time they pulled that it cost them at least $40k but they were warned and we weren't fired.
Ace Hood - Trials & Tribulations (Album Tracklist)
Drayson Racing sets electric land speed record at 204.2MPH
It's not a moralistic argument, it's a strategic argument. Threatening FBI agents the same way they threaten you could be morally ok, but not tactically.
Faster and cheaper transportation. Like going from Argentina to NY in 20 min with a railroad system and everything for 20 bucks the trip.
Investment baking web software; at the moment, every two weeks - code freeze + packaging is done on tuesdays, packaged release is about a week later (after being deployed to acceptance and getting stamps of approval from management that click through the app once or twice or something). I think we can do much faster though, weekly at least, and continuous if we improve our processes and discipline.
yep you're right, I should have named it "HTML4 Portal end credit"... Oh wait... no.
> His car malfunctioned. It wasn't careless driving.

Huh?
Depends on whether or not I'm actively working on a new part of the site. It varies from 10+ times to 1-2 times an hour.

However, with all these people talking about deployment, I just wanna hijack (sorry!) and ask if anybody can help with my current deployment setup:

- Branch into a new feature (refactor-javascript for example)
- Commit constantly
- Rebase with master then merge into master
- Push to remote repo
- SSH to server, and then pull from the same repo
- (.git isn't exposed via HTTP)

What's the better way of doing this? If you could help that'd be great :-) Drop me an email at andy@fine.io
I guess you're completely ignorant of how widely used their software is. I really need to get enough points to downvote :<
Why would anyone still be using (street) crack when the pure and safe alternative is there to use when drugs are no longer illegal?

People don't need to be protected against themselves. That's exactly what makes people not being able to care for themselves. Prohibition usually means no awareness is being raised about the risks or effects of a certain drug.

We get raised with the idea that drugs are bad and awful, that all of them are highly addictive and super deadly. Except for alcohol of course, please drink as much as you like, it's safe.
This scare campaign works for most of us, but not for the lucky few who are curious and try it anyway. Guess what? They find out it's not bad, awful, deadly or addictive at all, but of course most of them are, still ignorant of all the other details of the drugs they used. So this first time drug user tells his friends that drugs aren't so bad at all. Some friends will probably try it as well.

If this concerns weed or mdma, this is not really a problem. These are safe to use, hard to overdose, make you a social human being and they are not (physically) addictive, but it might just as easy be cocaine, speed (meth), lsd or shrooms. The first two are addictive, bad for your body and brain and cocaine changes most people into irritating macho men while prolonged use of speed can make one paranoid. The latter two are psychedelics. These can be dangerous if you don't know what you're doing. These drugs open your mind, makes you realize things you never really thought about before and confronts you with unprocessed experiences or trauma's you may have, which can be quite scary, especially if you don't expect it.

Imagine your friend had a super duper happy lsd trip and recommends this to his depressed friend. Chances are high that he will go 'bad' resulting in psychosis. On the other hand, he might suddenly see the light and find out how he can get out of his depression.

If drugs were legal and awareness about their pro's, cons and dangers is being raised, more people will be encouraged to do some reading before they use something or at least the friend who brings the drugs knows what he's carrying and what the effects are.

People only need to be protected for misinformation, by informing them with facts instead of fear, uncertainty and doubt. Informed people make less (stupid) mistakes, and no one should be protected against themselves. If you die because of ignorance in an informed society, it's your own effing fault.

Drugs don't destroy people and communities, misinformation and ignorance does.
Allowing people to put whatever they want in their bodies and "every man for himself" is a false dichotomy. The idea is to focus more on helping instead of beating the people who are addicted, which is what criminalization of usage does.
We never rebase like that, and instead use git merge master --no-ff

We also never SSH into a server, and instead use Capistrano to handle this for us. Capistrano works great with Rails, but even other frameworks have plugins to handle this. And if you're new to capistrano, take a look at http://capo.io (shameless plug: we built this) for readily available recipes for all kinds of tasks. We use Capo for all our projects, ranging from static sites to jekyll to sinatra, rack and rails apps.
One week minimum to get through change control and schedule a release, plus a week of development and testing means only 2 non-emergency releases per month. But given the effort involved, usually once every 4 to 6 weeks.
Secure push based messaging plugin for cyanogenmod.
Let me channel our resident conservative lawyer, raynier.

The 4th only applies to US citizens. Therefore a FISA warrant targeting people outside of the USA who are not believed to be US citizens does not have to meet the standard of the 4th.

A National Security Letter targets third parties (your email provider, your library, etc) and fails to search, seize, or directly affect any of you, your house, person, papers or effects. It therefore does not violate the 4th.

Channeling myself for a moment, this is not how I personally understand the clear intent of the 4th. I'm sure you agree with me. However I am forced to admit that multiple courts have sided with the interpretation that I just described.

Under common law, I don't get to decide what the law is. Judges do. Since they seem to be consistently accepting this line of argument, the 4th simply doesn't mean what I want it to mean. (I'm all for a better amendment, but that does not seem to be happening.)
Support Lead (and the "Application Expert") for an Oil-Major internal web app here:

"support fixes" - ASA(F)P, after 2 rounds of testing and several sign-offs + Management approvals.

"Change Requests" - Deployed after an impact+risk-assessed notice period (between 1 - 14 days), and after the above testing/sign-offs/approvals

"New Release" - Should be Quarterly, after several rounds of testing, sign-offs, agreements from all affected business units... but there's been a big push on the app recently, so there's been 3 releases this year so far.

And then we have to go through all the testing/sign-off/deployment stages again with any Joint-Venture companies that have their own installations due to local data laws.
> Push to remote repo - SSH to server, and then pull from the same repo

I have a server setup with a headless git repo and non-headless one. When I push to the headless repo, the post-receive hook goes to the other repo, pulls from the headless, runs tests and restarts the server

So to deploy I just do

git push deploy master

And get instant feedback that all the tests passed and server was restarted
G1.9+0.3: The Remarkable Remains of a Recent Supernova
Check out

https://github.com/capistrano/capistrano

and

http://rubygems.org/gems/fabric
You can't disclaim liability in the UK. All those signs you see where people are saying that they're not liable? Those are meaningless.

But, apart from that, you're just plain wrong. Did you even check?

(http://www.glastonburyfestivals.co.uk/information/tickets/20...)

> 4. Admission is at Ticket Holder's own risk. Glastonbury Festival 2013 Ltd and the Premises Licence Holder will not be held liable for any loss, injuries or damages sustained at the event including damage, theft or losses to property and motor vehicles, if the cause is due to the negligence of the ticket holder or the actions of other patrons or third parties or force majeure.
The Branding Of Global Dissent: From Occupy Wall Street To Rio De Janeiro
Yes, I meant it like that. Bugs will always exist and it's stupid to think that Facebook should be liable for bugs that caused nobody any harm whatsoever just because the bug existed.
It looks like Windows 8.1 will be solving many of the issues people have been having with Windows 8.

On the other hand, it’s such a shame that they’ve made Modern UI a walled-off platform. The PC’s biggest strength has always been how democratized the platform was – anyone could build a PC, make software for it.

OS X is sometimes criticized of becoming a closed platform, with GateKeeper and such, but the sad reality is that right now Windows 8 is the more restrictive of the two. At least Apple lets you self-sign and bypass the App Store vetting process (albeit for a fee), and you can easily disable GateKeeper altogether.

It’s also clear that the Modern UI and desktop teams have been working in complete isolation. Microsoft keep pushing out new frameworks, completely ignoring what came before. Will WPF go the way of Windows Forms? What are people who built XNA games supposed to do about Windows 8? What does modern Windows desktop app even look like? Most of them spot ribbons, but there isn’t even a standard component for that.
Snowden given safepass to Ecuador [pdf]
That's kind of what I do at the moment but I ended up just ditching the hook as it's not usually needed. I use a headless repo on the server that is then pulled into the live folder.

I always found that the hook never really worked for some bizarre reason. Even something as simple as:

cd /home/deployer/wordpress/wp-content/themes/my-theme && git pull origin master

failed.
I love capistrano! Sadly, most of the deployment happens on a wordpress theme at the moment.
There we go, I knew someone would find something. I guess ours just gets a lot less press, even in our own country :(
> The direct opposite of Dependency Injection is the Service Locator pattern.

You're right in spirit, but the direct opposite of dependency injection is obviously direct dependency construction, not service location.

Service location is one step up from direct dependency construction, and can be enough for a lot of cases, but as you say, it's not dependency injection.
Out of interest, how big is the team?
You keep on saying 65 mph in a suburb as if that's surprising, but it really isn't.

Many people jump red lights, and at speed, and in suburbs.

Losing control after hitting a pothole could easily happen if the driver is intoxicated. I'm not saying this driver was intoxicated. I'd be interested to see the numbers of cars that crash because the driver is drunk or on drugs vs because the car is broken.
At work... lots of red tape. Lucky to see one deployment a month, but uat, into, dev are continually deployed following build and tests passing.

Personally anywhere from a few times an hour to a day or so. I try to keep all development tasks small enough to deploy on the hour if possible.
Somewhat off-topic, but just wondering: is anyone using consistent hashing for their DB masters? Every setup I've seen uses a manual sharding table.
Evidently, only if you fail to do it regularly.
Dependency Injection (DI) and Dependency Injection Containers (DIC) are the "in-thing" in PHP at present, and to speak against them [0] is - like disagreeing with anything fanboys latch onto - ridiculed, without a sensible discussion or explanation.

From a testing perspective I sort-of get it; from a "this is less tightly coupled" I don't: all you've done is move the coupling to a different level. Code always has to be coupled at some level, so where's the advantage?

With the amount of noise about DI I'm sure it's something I should pay attention to rather than be turned off (as happened with Rails), but I really don't et it. Can anyone provide the missing piece in my thinking?

[0] http://till.klampaeckel.de/blog/archives/154-Dependency-Inje...
Sometimes I like to edit things direct on the live server, then again, I'm not running a public facing website, so I'm allowed :)

I'd wager many people here missed "the good old days" when it wasn't uncommon to debug a live website over ftp.
The problem is how do we make migrating to such a scheme politically tenable? Right now we are in a situation where politicians dream up new "multiplier" laws (for instance, throwing on extra punishment or at least higher minimum punishments for committing a crime while wearing a mask) so that they can be seen as "tough on crime". We aren't just coasting in the wrong direction, we are making an effort to go in the wrong direction.

It seems hopeless to me. The general population doesn't give a shit, they are bloodthirsty and think of "criminals" as some distinct segment of society that they don't need to empathize with (hell, we can't even get executions widely abolished, a far more egregious issue...) So long as that is the case the politicians will keep on making the situation even worse for personal gain.
I ask whether I'm good enough only when the person wins despite all odds stacked up against him. Including natural talent.

Von neumann, definitely is the greatest mathematician in the past few centuries.

I tend to compare myself with people who win despite having no natural talent for it.
Third Italian Ruby Day
Cost of Public Projects Is Rising, and Pain Will Be Felt for Years
Wall Street Journal: Small Businesses Embrace Bitcoin
The Nation is a generally respected leftist magazine with a long history of quality journalism. Similar to The New Republic and The American Prospect on the left or National Review on the right. Mostly serious political journalism with some obvious biases.
Who authorised the NSA and GCHQ to spy on Germans?
Nowadays it is every couple of hours.

But, I used to work for departments of the UK and US governements and it wasn't unusual to have such locked-down and managed environments that it would take 6 months to release some code. It was also expensive (the sponsor department would have to pay for validation and testing by a third party).

The consequence of this is that we really only deployed every 1-2 years.
During the royal wedding, the Police arrested republican protestors in central London, moved them out to the edges of London (Cheam, in one example) and then released them, dropping their grounds for arrest[1].

There is no freedom of speech or expression here, when it's a cause the police don't like.

The fact that they are now also revealed to decide which political activists are "domestic terrorists," and include them in terrorism statistics, is preposterous.

[1] http://www.guardian.co.uk/uk/2012/may/28/royal-wedding-prote...
The beauty is in the big data
The fact that software running on your computer wasn't free.

Seeing the source and nothing more doesn't qualify as 'free software'
I am very reluctant to draw parallels between real-life and fiction, but the steady stream of stories from the US from Bradely Manning to Snowden to Barrett Brown is making the possibility of a 1984 style state a real possibility. I have never been under any illusion that my data was safe from prying eyes but the extent of the lies, undemocratic procedures and brutality has shocked me. The commercialisation of intelligence, the penal system and war is adding to the issue.

I don't fear for the privacy of my data; I do feel very anxious about the world that my children will inhabit as adults.

EDIT: I'm not making out this a US-only problem.
Who said that? Social network launched for anonymous users
Original posting here: http://slackprop.wordpress.com/2013/06/03/on-geek-versus-ner...
What Marketers Can Learn from Software Engineers
Bringing Lego to life with a Raspberry Pi.
Measure programmer's happiness without making him talk about it.
>Instead I had things to talk about related to the books I had just been browsing

Ironically, it still required external ideas/stimulus to come up with topics of conversation. I was expecting the OP would say it gave them time to reflect, or be present to himself! One could just as easily browse books/news on a phone that would be of mutual interest for a coming conversation. There is some sort of "curation" that goes on in the bookstore, but nothing that couldn't be provided by software.
aught = something. ought = should.
I honestly thought that moving a browser window with javascript had been impossible since early IE.
Alternatively, a pride flag is an orthographic representation of a rainbow whose curve is in the direction perpendicular to the viewing plane.
Turkey asks Twitter to open local office
Strange, it might be to do with GIT_WORK_TREE and GIT_DIR being set (they are set automatically in hooks I think).

My hook is:

cd $REPO_DIR

unset GIT_DIR
unset GIT_WORK_TREE

git checkout deploy && \
git stash && \
git pull
If they can only do 9000 out of 62 million, that's impressive, and not at all a too large number. Why is it suddenly news when the police (who are subject to full government oversight) do this, but not when MI5 do it, who aren't? Didn't everyone know that MI5/6 do this kind of thing. Yes they did. It moved from the Scargills/Marxists to only the IRA in the 90s, then onto the Islamists almost exclusively, but what a non story.
I agree. Testing with heavily mocked implementations is basically useless. Especially under time pressure, I tend to focus more on system and integration tests than on cute unit tests that tend to find issues that never occur in practice and don't find issues that occur when the first user has his first minutes with the system.

"Hooray, my setName sets the name correctly!" - well, my congratulations.
In-Q-Tel is the CIA's VC arm:
http://en.wikipedia.org/wiki/In-Q-Tel
Pretty good. The source code [1] is also clean and commented. The randomized increasing velocity was a nice touch.

[1] http://stewd.io/pong/lib/pong.js