Bio
Christopher Flynn
Webdeveloper, husband, dad, surfer, ameteur photographer, tinkerer, 2nd amendment advocate, brewer, chef, libertarian, atheist, UNIX Geek, troublemaker.
Virtualenvwrapper
by Christopher Flynn — Friday, August 27, 2010
I use virtualenv all the time to help keep python packages separate. This allows me to know what packages are required for any app I develop (by doing a simple pip freeze within a virtualenv) but also I can experiment with newer versions of packages for one application and not affect the others. It's great! What could make it better? Virtualenvwrapper.
Virtualenvwrapper by Doug Hellmann offers additional functionality for interacting with virtualenv. I'm not going to go over setting it up because he does a good job describing that on his site. Instead I'm going to offer some tips on how I use it.
First let's create a virtual environment:
$ mkvirtualenv myenv
New python executable in myenv/bin/python
Installing setuptools............done.
If everything is setup right you should see (myenv) in front of your prompt letting you know what virtualenv we are working in. You should also see messages about creating some activate/deactivate scripts. Let's edit one and add some stuff.
$ vi ~/.virtualenvs/myenv/bin/postactivate
Now this shouldn't have anything but some comments in it. Let's cd to our working directory and run git pull.
cd /path/to/code/
git pull
Save and exit and type 'workon myenv.' You should (assuming all the paths are correct and all) be changed into the directory and have git pull run for you. Type 'deactivate' to leave the environment. You could also add things to any of the scripts and this would largely depend on your workflow. The main advantage is you can type 'workon myenv' and you should be in your directory ready to go.
Also one final quick tip, typing 'workon' with no arguments will give you a list of your environments. This way if you forgot what you called it, you can easily see a list.
SSH config file
by Christopher Flynn — Friday, August 20, 2010
I use SSH all the time. It's primary role is to allow you to securely log into remote computers and it does this extremely well. You can also use it (via scp or sftp) to transfer files and you can also use it to route traffic through. However remembering ip addresses, especially for machines you rarely use, or typing in domain names can be a chore. Fortunately there is an easy way to specify shortcuts, the config file.
In your ~/.ssh/ folder, create a file called config that looks like the following:
host abbr
port 1234
hostname 192.168.0.5
user myusername
Now you can just type 'ssh abbr' and it will try to log you into 192.168.0.5 as myusername and port 1234. You can also use it with scp: 'scp abbr:filename .' which would transfer the file 'filename' to your current directory from the server. You can do a lot of other things such as specify a compression level, port, identity file (useful if you use EC2 and need to specify a .pem file), keepalive and more.
This combined with key files makes using ssh effortless.
My iPad Review
by Christopher Flynn — Monday, July 19, 2010
When apple first announced the iPad I thought it looked interesting but wasn't sure if I would get one. I defended it from naysayers because I new that for a certain niche, it would work well. My primary thought was for those with a long commute (like me) who don't want to carry around a laptop. After it was released, the reviews were in and everyone, for the most part, loved it.
Obtaining one wasn't as difficult as finding a 3g iPhone when they first came out but it wasn't exactly easy. The 3 apple stores in my area did not have them but then I remembered Best Buy was also carrying them. The first day I went they were out but I was told they would have a shipment in the next day. I went back the next day and didn't even have to wait in line!
The first thing I did was test the netflix streaming. It works beautifully, I just wish I had wifi on the train in the mornings to stream movies. However, I had been converting videos to view on my iPhone using Handbrake so now I just modified the presets to use the apple universal preset and the videos play great on the iPad.
The other reason I love the iPad is to read books. Apple's iBooks is great for reading ePub formatted eBooks. The free download of Whinny the Pooh is an excellent example of the benefits of the iPad over one of the e-Ink devices. The color illustrations within the book really do improve the experience. However, iBooks is limited to the ePub format and I have a lot of PDF books. For these I use an app called "Good Reader." For the introductory price of $.99, it is an absolute must have.
The news apps are actually a disappointment. The New York Times app is great, but they limit the number of stories to a select "Editors Choice" list. Some of the other news apps try to do unique things with the interface but it just doesn't work that well in my opinion.
Taking notes on the iPad is also a disappointment. I've tried a few of the apps but nothing has really stood out. The keyboard works ok but is no substitute for a real keyboard. Trying to scribble notes with my finger like I would with pen and paper does not work as well.
A surprise app, "iAnnotate PDF" shows some potential. There are some real usability bugs that should get fixed in the next release or so but it allows you to annotate a PDF. You can add text bubbles, draw, highlight, etc... It's a really nice way to comment on a PDF document.
Pandora also makes a nice app for the iPad. If you are unfamiliar with the online music service, go check them out! If you are familiar with them, there's nothing really new on the iPad, just a nice interface and worth downloading.
Of the weather apps, I think I like WeatherBug the most. It's simple and to the point with a giant radar map.
As for games, I haven't downloaded many. My kids love the Toy Story and Cat in the Hat books. The game I love is X-Plane-9. I have the iPhone version but the iPad version is much more detailed. Of course I like flight simulators, I know it bores some people. There is no shooting or anything so it may or may not be for you.
So is it worth it? YES! I have a long commute in the morning and I used to use my iPhone but reading books on the iPhone is not a very good experience. Videos on the iPhone work but the larger screen, larger hard drive and larger battery of the iPad is nice. Being able to watch a south park episode and then quickly open up any one of the hundreds of books on my iPad to finish the commute is really nice. It is a little heavy as others have pointed out but I usually rest it on my bag and haven't really found it to be a big deal. It's also quite a bit lighter than my laptop.
So what don't I like? Well for starters, you're mostly locked into iTunes to get data onto it. I realize they are trying to make it easier for people but I had to do some hacks in iTunes to be able to load stuff on my iPad from my work machine. iPhone only apps either look too tiny (with the giant black background) at the 1:1 scale and they look horrible zoomed in. I took off all but a few apps that don't have a native iPad version.
I'd also love to see an actual USB port or even an SD card on the device. While I don't think it's a deal-breaker like some, being able to load content from an SD card or USB device (photos, books, movies, whatever) would be nice. Fortunately it's still the standard iPod connector.
My big gripe though is really an issue with the iPhone. I have an iPhone, I pay for a data plan on my iPhone, why can't I just share this with other devices? I don't want to spend another $130 + $30/month to use the internet on my iPad with 3G. I want to be able to use my iPhone as a gateway and then be able to connect my iPad to my iPhone and have internet wherever I have access to the 3G network.
My final gripe is that books in the iBooks store are too expensive. They are roughly the same as buying an actual hard cover book. I don't know if this is apple or the book companies setting the price but I will continue to get my books other places that are DRM free.
I'd recommend it for anyone who has a long commute on a train or bus and has the time to read. I also presume it would be great to take on vacation. It really fits in between a laptop and an iPhone. It's more useful than an iPhone but not as useful as a laptop. Of course it doesn't take up as much space or weigh as much as a laptop either. It's easy to use but it is not a replacement for a regular computer as you still need one to put information onto the iPad.


Comments
Known_k
Hey y'all. I'm new to the forum and thought I would stop by to say hi and share my new site that's all about [url=http://provenpenisenlargement.blogspot.com/]proven penis enlargement[/url]. Now I know what you are thinking. You think this has to be spam, but it's not. I figured that hre in this was the right place to put something like this. If I'm wrong, go ahead and delete this thread and send me a PM so that I know what's going on and not to do it in the future. Thank you so much for all that all of you have shared with me while I have been a board lurker. If PE is something you have an interest in then maybe you would want to check [url=http://philofphillya1.wiki.zoho.com/How---Can---I---Enlarge---My---Penis---Stop.html]and another blog[/url], [url=http://provenpenisenlargement.blogspot.com/]proven penis enlargement site[/url], and [url=http://philofphillya1.livejournal.com/2456.html]this site[/url] in addition.online games tetris
this was my first time that i have visited you article and it is awesome ..Delivorync
Cheers! Thanks for possibility to write on your site, I read some of the posts and I think it is a great place! More or less nothing seems worth thinking about. Not much on my mind today. Thanks! Good article.Keep it up My own online pharmacy =) Now, listen to this very carefully: <a href= http://buy-cheap-tadacip.vox.com/ >buy tadacip online herbal alternative</a>carKeydayHory
Hello guys, What online zines do you read and would recommend? I am a crazy fan of rockabilly. For all you ska people out there I would like to introduce The Enough Fanzine. It is one of the first emo fanzines on the world wide web. They have throusands of reviews from the most popular bands all over the world. Check them out online: http://www.enoughfanzine.com Best of it all, they are 100% non-profit ... Looking forward to your recommendations. Cheers!melissagibso
Hello,http://www.jumancuso.info - May i sex dating with you?jeriCemiTib
well guys! stop the latest untrammelled [url=http://www.casinolasvegass.com]casino[/url] games like roulette and slots !research manifest the all modish loosen [url=http://www.casinolasvegass.com]online casino[/url] games at the all current www.casinolasvegass.com, the most trusted [url=http://www.casinolasvegass.com]online casinos[/url] on the entanglement! take advantage of our [url=http://www.casinolasvegass.com/download.html]free casino software download[/url] and carry out available the bacon money. you can also rein other [url=http://sites.google.com/site/onlinecasinogames2010/]online casinos bonus[/url] . you should also check this [url=http://www.realcazinoz.com/fr]Casino en ligne[/url], [url=http://www.realcazinoz.com/it]Casino Online[/url] and [url=http://www.realcazinoz.com/es]casino en linea[/url] games. join the the largest [url=http://www.texasholdem-online-poker.com/]online poker[/url] room. check this new [url=http://www.realcazinoz.com/paypalcasino.htm]paypal casino[/url]. [url=http://www.ttittancasino.com]Online Casino Spiele[/url] , buy [url=http://www.web-house.co.il/acai-berry.htm]acai berry[/url] . [url=http://www.avi.vg/search2.php?a=sex4sexx&ser_key=bondage+]bondage[/url] [url=http://www.thecasino.co.il/ilcasino.htm]casino[/url] . [url=http://en.gravatar.com/willinger18]online casino games[/url] , [url=http://www.web-house.co.il/buy-k2.htm]Buy k2[/url] and new [url=http://casino-online.wikispaces.com/Online+Casino+Games]online casino[/url]Haicleafferry
Hello. Very interesting site and you lead a very interesting discussion. There is a nice atmosphere here and I'm sure I will often read your posts. From time to time I will also try to write something interesting. [url=http://najgraj.pl/kategoria,gry,22,0.html]Gry multiplaer[/url] [url=http://najgraj.pl/]Gry online[/url]loorgebek
Hi Peepz, i would just like to make an introduce myself to all the people at blog.flynnguy.com I must call it a incredible forum, I never think about reading out an entire forum section but this forum got my interest and believe me, That?s not often. I was surfing for some info and was searching on Google Croatia for it. I visited each of the top 5 pages that came up but didn?t get any relevant result... I then luckily found your diamond message board in the dirt and thought to check it out. This is right what I wanted! - what a great find! Thanks ladys and gents at blog.flynnguy.com and keep your brilliant effort up!? [URL=http://www.sporting-supplements.co.uk/Maximuscle-Thermobol-90-caps]Thermobol[/URL] [URL=http://www.sporting-supplements.co.uk/USN]USN[/URL] [URL=http://www.sporting-supplements.co.uk/]Bodybuilding[/URL] [URL=http://www.sporting-supplements.co.uk/LA-Muscle]LA Muscle[/URL] [URL=http://www.sporting-supplements.co.uk/]Cheap Supplements[/URL]imathitly
Hi I just wanted to share great site who offer amazing service . Just imagine 10000 backlinks for your website and it only cost 55USD. I used this service last week and now I have ranked in top 10 in for all my keywords. If you want to boost your rankings this is best service for lowest price ever. Just visit this site you can get 10000 backlinks for your website within 24-48H Get backlinks and see how you start to get relevant traffic to your website. [url=http://xrumerservice.org]how to get backlinks[/url]Trurnewar
Amazon launched two new Kindle e-readers priced at $139 and $189 late Wednesday, with the cheaper version a Wi-Fi-only e-reader and $10 less than the Wi-Fi-only Nook. [url=http://www.computerworld.com/s/article/9179853/Amazon_launches_two_new_Kindles_one_with_Wi_Fi_only]ComputerWorld[/url] http://www.computerworld.com/show comment form