Skip to main content

Posts

What should I buy?: A Smartphone Guide

My friend asked for information on what phone to get on Facebook and I ended up writing way too much in the comments and decided to put it here. Unlocking Rogers (and I believe others) won't unlock a phone right away (90 days for Rogers). You could also buy a phone unlocked, or get it unlocked by someone besides the carrier (may void the warranty). The Nexus 4 can be bought from Google unlocked, unsubsidised. NOTE : Starting in December carriers will be required to allow you to unlock the phone immediately if you pay full price and after 90 days if it's subsidised. CRTC Phone rights iOS vs. Android I would recommend looking at both of these a bit to figure out what features you like most. Personally I like Android, but iOS works perfectly well for many people. iOS 7 (latest) has many features from Android which I also like. I won't go into the details on iOS as I'm no expert and not sure of everything included in iOS 7. Android however I could go on a...

Script to create full CVS Changelogs

Background CVS Commit histories are saved file-by-file. In my coursework we were required to use a CVS repository to create a group project. Why did I do this? I didn't like having to check individual files to find out what's been changed so I did some looking and found cvs2cl that would create a changelog. How I solved the problem Luckily I have a Raspberry Pi sitting around so I created this script to automatically create full changelogs each time a new commit was found. (Mine checks every 15 minutes for new commits). Several things one would need to do to replicate this setup. 1) Checkout the project from the CVS repo manually 2) Update the regex on line 15 to match the username naming scheme 3) Install cvs2cl 4) Install/setup exim4 (which allows me to send email through my secondary Gmail account) 5) Change YOU@DOMAIN.COM to the email you wish the log to be sent to. 6) Edit crontab to have the script run automatically (or set it up some other way) NOTE...

Offline Password Creator

UPDATE : Please read my update on password security , as this post is no longer good advice but will be left up for archival purposes. Inspired by the xkcd comic Password Strength , I decided to write a python script that will create a password encryption scheme. from xkcd.com The problem I have with idea of choosing four random words is the fact that you still want a different set for each website (in case of attacks). My solution was to create a list with a word associated with each letter from A to Z. The python script takes input from the given word list (aka dictionary) and randomly selects words for each letter and then spits out into a text file. It's quite easy to change the dictionary file just edit the line  filename = "crossword_wordlist.txt" to the file name you want. However the file must contains words that start with each letter (they do not have to be in order though). The seed for the random number generator is based on the current ...