When hackers crash Windows in the course of developing malware, they’ll often accidentally agree to send the virus code straight to Microsoft, according to senior security architect Rocky Heckman. ‘It’s amazing how much stuff we get.’ Heckman also said Microsoft was a common target for people testing their attacks. ‘The first thing [script kiddies] do is fire off all these attacks at Microsoft.com. On average we get attacked between 7000 and 9000 times per second.’
Here’s the thing about Facebook that really gets under my skin: They are slowly incorporating the features from every other independent web application on the internet. This is not inherently a problem—companies get bigger and they begin to have the resources to widen their feature set—the issue…
I once had a poo in a pub about two minutes’ walk from Buckingham Palace. I was not subsequently arrested and charged with crapping directly onto the Queen’s pillow. That’s how “distance” works in Britain.
Local backups via Time Machine to external Harddrive*
*My Time Machine drive died recently so am actually on the look-out for another. My last was USB which was not very convenient. Anyone recommend a good NAS device or should I just go with Time Capsule (which seems very expensive for what it is)
I’m in the middle of building a new piece of functionality for a client-site. My local development copy is a mess of half finished, broken and untested pages. But the client has just spotted a bug on the live site.
I can’t very well fix it in my current copy and push it live as it will push all my work in progress stuff as well. But before I started on this new functionality I created a new branch. This means that I can simply do 'git checkout master', which will put the project back to the same state as is live. Then I can fix the bug and push my changes live before doing 'git checkout foobar' to return to the code I was working on.
No muss, no fuss. And no fucking about trying to revert changes or taking new copies of the production site, etc, etc.
In order to work with Django I need to be in its project folder. This is where I run startapp, runserver, etc. So I spend most of my time in Terminal in this folder. Which also means I forget and run git from this folder as well.
Ok so it there doesn’t seem to be a problem. I had a look to see what changes I had made, added all files to my commit (git add .) and then committed them. Didn’t I? Well no actually I didn’t.
Huh? None of those files got added to the commit? But I did a "git add ."!? Well the “add .” basically means add all files in the current folder and any sub-folders, but notice the “../” in the status message above, those files/folders are siblings of the folder I am executing commands in, not children. Fuck.
But it’s ok, we can fix it without too much trouble and without mucking up our logs.
Up a folder, add all files (for real this time!), and then amend our last commit. I do this so often I should have an alias for it “git commit —idiot”
I think my biggest pet peeve about the web industry is that we can be quite an arrogant lot, who thinks anybody that doesn’t understand the Internet is an idiot.
We treat our clients like they’re stupid, refer to our users as if they are morons, and resent friends and family asking us the…
Nice answer, hadn’t really thought of it that way. I guess growing up ‘on the internet’ we take our proficiency for granted.
People who ride bikes know how to pump up a tire, people who own a car know how to top up their oil & water. They use these vehicles everyday so they learn how to maintain them. But can they take the time to learn how to use their computer, a device like likely spend more time with than any other? Can they fuck.
"oh that’s just a geek thing. Aaron does something with computers right? Just phone him."