Computer programming is an art, because it applies accumulated knowledge to the world, because it requires skill and ingenuity, and especially because it produces objects of beauty.
– Knuth
Computer programming is an art, because it applies accumulated knowledge to the world, because it requires skill and ingenuity, and especially because it produces objects of beauty.
– Knuth
“Winning is not a sometime thing; it’s an all the time thing. You don’t win once in a while; you don’t do things right once in a while; you do them right all the time. Winning is a habit. Unfortunately, so is losing.”
Vince Lombardi
You are what you prove yourself to be capable of.
This video is probably one of the most important reasons why I am, an Engineer, a creator, a dreamer.
Every year on the first day of the semester, one of my college teachers used to put this video for all the EE freshmen, I think he still does it, and though back then I thought it was a little bit cheesy; many years later, after working in so many diverse environment I look back and know he’s right.
We must Think Different.
Here’s to you Steve.
I like the word “gumption” because it’s so homely and so forlorn and so out of style it looks as if it needs a friend and isn’t likely to reject anyone who comes along. It’s an old Scottish word, once used a lot by pioneers, but which, like “kin,” seems to have all but dropped out of use. I like it also because it describes exactly what happens to someone who connects with Quality. He gets filled with gumption.
A person filled with gumption doesn’t sit around dissipating and stewing about things. He’s at the front of the train of his own awareness, watching to see what’s up the track and meeting it when it comes. That’s gumption.
You probably have seen this somewhere while playing with open ssh. This are called Randomart
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
“Images” taken from What is randomart?
So why is this interesting to us? Well lets suppose you have a long list of keys… Yeah just like the one at your servers ~/.ssh/known_hosts/ and you want to visualy check if you have a duplicate one
try this:
1
| |
Look both gist.github and github have the same key…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
try figuring that out without using the randomart
1 2 3 4 | |
Also if you add this to your ~/.ssh/config:
1
| |
Or add this option to your ssh command
1
| |
you will see your servers randomart each time you login (handy to ensure you are deploying to the right server, hehe).
You can thank me later (or this guys). Or you know what, better give them a beer, they have earned it.
Writing code with Vim is like playing the piano, when used by a beginner it looks like a nice toy to keep yourself entertained, but when used by a professional, you know this is one of the few instruments that allows you to write whole Symphonies.
Yann espositos Vim guide is a great guide for those who want to tune their fingers and start writing awesome code. Worth a read or two.
Nathan says Vim tastes like Unix I agree.
And you could always learn the Seven Habits of Effective text editing
Wondering about git plugins and stuff? Try Janus
And don’t worry, no one completely groks vim
About you Emacs… Yeah I saw you in that movie but don’t worry, we’ll see each other in the sequel.
Are you till using a PHP blog under apache as if it were still in 1998? Do you need an awesome C10k Approved host that can also host Python / Rails and any other framework you might need?
Follow this guide to setup a Rockstar production server that will make you look like one (Step two after getting a cool domain name to become a rockstar dev).
Your cheap PHP hosting company is actually not so cheap, you can get a full linux box for the same amount of money, plus you can configure it to be a lean, mean, bit serving machine, that can withstand any Slashdot effect. (Reddit effect for you youngsters)
Some awesome providers: Slicehost Amazon EC2 Linode Heroku Joyent Google App Engine
After installing a vanilla Ubuntu:
1
| |
Edit /etc/nginx/sites-enabled/sanscourier.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
Before the only reason to use a PHP blog was twofold: 1. To have your posts “safely” stored in a database. 2. So your readers can comment on your posts.
But as any old school sysadmin can tell you, scaling this setup starts easily and then becomes a big, boring chore involving CDNs, caches and other dirty tricks.
Octopress deals with this in an elegant manner: 1. Use a secure Git repo to store our posts. 2. Use disqus for commenting.
And lets face it, static websites make you look cool.
In your server (or linux box or Mac running homebrew) (Why RVM? for the same reason we use Python’s virtualenvs, don’t dump where you eat, oh and yes you don’t need XCode nowadays.
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Why Ruby? Because rubyists are rockstars thats why. (Actually I’m mostly a Python guy, but who cares anyway? I was using HP before! so go and try the right tool for the job).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
You shoulb probaly read this instead. But here’s a quick intro:
1 2 3 4 5 | |
Don’t forget to deploy to your ~/sanscourier.com/ folder or some other safe place.
Did you know you can have a production ready server for Django in four simple steps? Please thank Eric Holscher for the tip
1 2 3 4 5 6 | |
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 | |
As expected Google has done it again, they’ve released a nice new tool and now everyone is talking about it. And that’s great, but the problem is that like just like it happened with Google Wave few people understand its Technology and why it was created.
Google Wave was Created to Modernize Email just as easy as that. Google Engineers thought email was slow so they used an instant messaging protocol called XMPP that allows you to have your own private Google Talk and wrapped some “Cool but no one understand” features like video embedding, instant polls and similar.
Why Google did this? Easy they want to become a platform where all online collaboration is done, did it work, not so much mainly of UX errors.
Now, what about Buzz?
Well Buzz is based on a publishing protocol called PubSubHubBub (and that’s why you don’t let engineers come with snappy names) created for a single task, getting blog posts out is slow and boring.
First you put a post on your blog and then your subscribed users read the small version in their RSS feeds and if they want to talk about it they click on the page, go to the section and so and so. Its Boring.
The main reason its boring is that the users have to go and fetch the RSS Feed any given time, and the truth it would be quite nicer if it worked like the Push Messaging in cellphones, it notifies you only each time there is something new.
So PSHBB servers do exactly that, and with the nice feature that it can get synchronized among many servers, freeing the developer the hassle of scaling and similar chores.
So here Google is trying to be that, the center hub where all action takes place and it looks good. Specially because they decided to be disruptive they decided that your network, your friends are yours and not property of some evil corporation (if being disruptive isn’t) and they made this by using OpenSocial and other Open Data standards.
What does this mean to us users? It means that we don’t have to add our friends to Facebook to play Raise a pet/alien/farm, if they have Gmail they already can.
What does this mean to Google? That they now have this platform for OpenSocial apps, location based apps (yes, Google latitude was just like Wave, a cool tech without use) and personal publishing.
And where does this leave Twitter and Facebook? Well Twitter has a good established brand and lots of loyal customers (plus also many apps like foursquare, formspring and others) but just like Facebook everything comes down to privacy.
For users Twitter is like a bar (or starbucks), Facebook is, well a face book of your buddies and your blog is your support group where does Google Buzz fit here?
Can it be a single destination where all this activities happen? Not sure.
But one thing I’m sure, this isn’t wave, this is not another try to kill email, this is a try to change social media.
Just a quick snippet on how to center a geodjango map in the admin since I’ve seen some confusion regarding this ticket