Wednesday, July 15, 2020

Is anyone still listening?

Just found this really old blog of mine...

Wondering how well this still works.

Friday, October 28, 2011

Tweaking a new MacOS X Install

Here is the basic configuration I do when I get a new Mac. Sorry for not giving a lot of detail, I am assuming these instructions are mostly for me, but possibly others can learn something from them as well.
  1. Download Chrome, setup Google sync.
  2. Default terminal font is ugly, use Bitstream Vera Mono, 12 pt, configure terminal to close if shell exits cleanly, save a nice default window group.
  3. Preferences: fix dock size, auto hide, setup spaces, keyboard - faster repeat rate, sharing - turn on ssh and fix machine name, remove time machine and blue tooth from menu bar, modify the sleep time.
  4. Download menumeters, setup.
  5. Setup bash: git clone git://github.com/nathanbullock/bin.git; ln -s bin/bashrc.ln .bashrc; ln -s bin/bashrc.ln .bash_profile; ln -s bin/vimrc.ln .vimrc

Wednesday, October 19, 2011

7 Reasons I Love My Android

When I tell people I love my Android and have stopped using my iPhone. I usually get a lot of questions as to why. So I decided to compile the reasons so I don't have to keep repeating myself.
  1. Navigation - even without a data connection. I live in Canada but I often travel to the U.S. for work. As a result while traveling I either don't have access to data on my phone, or it is very expensive. So instead I have many times used the wifi in the airport, or at work, or somewhere else to plan my route on my phone, and then let my phone navigate me, turn by turn, to my destination even though it no longer has a data connection. It works beautifully and I happily get to my destination.
  2. Power Control - controlling battery usage. There are always a number of things using up your battery and possibly using up your data limits. The great things about the power control widget is that it gives you control over most of those things right on your home screen, you don't have to dig through various settings menus to turn things off if you aren't using them. So for example I usually just turn bluetooth off since I only need it when I am in the truck, but when I get in the truck it is only one tap of the finger to turn it on so I can use my phone hands free. Also if I am out camping for a couple of days it is easy to turn off everything such as wifi, bluetooth, gps, and screen brightness to make sure my phone will have the juice it needs to survive without being plugged in. I have a couple of other widgets on my home screen that also give me access to airplane mode, data, and portable hotspot so I can turn those things on and off easily as well.
  3. Talk - text and video chat. Normally when I am at work or elsewhere Google Chat is how I communicate with my wife, and with a number of other people around me. Android allows me to easily move between using a laptop when one is close by or use my Android when that is what is available. The non-disruptive notification system on Android makes it even nicer. The only thing that I would like to see is to force voice only chat, if it can do video it currently doesn't give you an option between voice or video.
  4. Contacts - syncing my Gmail contacts. It is very nice to easily have access to my regular gmail contacts right on my phone, it also makes it so you can edit your contacts in Gmail or on the phone, which ever I prefer, or method I have available. The one improvement that I would love to see here is to have a shared set of contacts, for example there are a number of contacts that both my wife and I use, and it would be nice if we could cooperatively keep them up to date. There may be a workaround of having a shared gmail account that we both use and our individual accounts but this seems like a poor method to solve this.
  5. Organization of Apps - no searching through every folder. This is one thing I always struggle with whenever I go back to using an iPhone, finding an elusive app that I know is on the phone somewhere. It always turns into a game of opening one folder, nope, open another folder, nope, etc until you finally find it. On Android you can always just go to the app directory and scroll through all your apps alphabetically until you find what you are looking for, it also means that lesser used apps don't have to take up any space on your home screen.
  6. Widgets - information at a glance. I love how on Android your applications have the ability to show you information right on the home screen. On my main home screen I have an Astrid widget to remind me what I should be doing, a calendar widget reminding me where I should be, and a weather widget telling me the current weather, and then a couple of app icons for my most commonly used applications. This means that as soon as I unlock my phone my most commonly used information is staring me right in the face.
  7. Browser - reading actual websites. Finally the Android browser. Whenever I mention that I love the Android browser I always hear how the iPhone browser is so much better.  It probably is in many ways but the Android browser is heads and tails above when it comes to the one use case I care about, reading text on a webpage. Here is a simple test that I always get people to run. Open an iPhone and an Android to Wikipedia, not the mobile version but the normal desktop version and try to read the text. On an iPhone it is either too small, or involves scrolling back and forth constantly. On an Android you just double tap the text and it re-flows it perfectly, want it a little bigger, just zoom in a little more and it reflows it again. This works perfectly on almost every site I have been to. iPhone almost requires text heavy sites to create a mobile version in order to be usable.

Monday, October 17, 2011

Removing the Newsstand App

My daughter just upgraded her iPhone to iOS 5, and was confused at how to either get rid of the new Newsstand app or to at least move it into her "Useless" folder. After a little Googling we managed to find the secret incantation. The method used to do this is almost certainly a bug in iOS and so may be removed in the next update, but here is how you do it.

You take two regular apps, drop one on top of the other, this will create a new folder. While this new folder is being created you quickly, really, really quickly, grab the newsstand app and drop it also into this new folder. This will put the newstand app into this new folder, it is a little tricky to do so it may take a few tries. Note that you can't actually use it when it is in this folder, if you actually want to use this app you will need to move it back to your homescreen.

Monday, October 10, 2011

Password Security

One of the most painful things I find about life in the digital age is trying to keep track of information that I need to know, but that I don't want anyone else to know. For example the pin number for my bank card, the password for my financial accounts, the passwords for work, the secret question answers that all sorts of web sites now use to "improve security", and the list goes on and on.

Obviously the easiest way to deal with all of this is just to write them all down and stuff them in your wallet, or hide it somewhere at home. This is actually not that bad of a method. It has a fairly limited attack vector, basically someone who is in your home could get a hold of them (most of which you probably trust) or someone has to break into your house and find where you hid it (most peoples houses are never broken into and when someone does they aren't looking for a piece of paper hidden in your sock drawer). This does have the problem of it only being available to you when you are home, but for most people this would probably be my recommendation.

The rest of the solutions almost all have more significant vulnerabilities (because they are software based), but have extra convenience and abilities that the first solution doesn't (because they are software based). There is a range of them from storing your passwords in an email to yourself, to using a encrypted file on your laptop or cellphone, to using an encryption solution that stores the passwords in the cloud somewhere.

The method of sending yourself an email with all of your paswords is one that I would never recommend anyone use. There is just too many problems, your email account could be compromised, someone at your email service provider could access your email, you could leave your phone or computer unlocked which may allow someone to access your email, etc. So this solution has a lot of convenience, it is available to you almost anywhere, but has a huge amount of risk.

Almost all of the second level solutions are okay, basically using a security product that stores your passwords for you, this product could be something on your local machine, or something that you use through the web. The main problem with these solutions comes down to trust. Do you trust that the company that made the product did a good job and paid extra close attention to security the whole way through the product, do they do a good job of protecting their servers from getting hacked, do they make sure that a limited number of staff have access to the data stored on their servers. I find it very difficult to completely trust any company, no matter how good their intentions, you never know when they will hire a bad employee, get bought out by a company than no longer cares, or just make a mistake. For the products that just run on your local machine this may require less trust and so be more agreeable to me, but they don't have the convenience of being available anytime, anywhere.

In my opinion the sweet spot is somewhere in between. Use a product that creates an encrypted file with your passwords, possibly an encrypted word file, an encrypted open office document, or some other companies encryption tool of which there are many. And then store the encrypted file to a regular web service possibly gmail, yahoo mail, dropbox, or some other service. This gives you the convenience of being able to access this file almost anywhere, and not having to completely trust any company to leak your information. There is still lots of possible weaknesses to this type of a system, for example if your computer is compromised, but it is reasonably good and reasonably convenient for most people.

Obviously all of the information in this article is just my opinion and shouldn't be relied upon, you should use your own judgement about the risks and rewards of any password solution. The method I use is a hybrid approach similar to what I talked about in the previous paragraph. This method gives me a reasonable amount of convenience while being secure enough for my uses.

Wednesday, May 5, 2010

Ubuntu 10.4 (Lucid Lynx) - Pandoc Included

You no longer have to manually build Pandoc in order to get a reasonably up-to-date version on Ubuntu. Pandoc 1.5.1.1 is now in the Ubuntu software repositories. :-)

I know there have been numerous other improvements to Ubuntu for Lucid Lynx but this was actually the best Ubuntu setup improvement for me. It probably cut 10 minutes off of a new Ubuntu install.

Monday, April 19, 2010

No Batteries Available - MacBook Pro

Today while we were using our MacBook Pro, it just shut off, even though it still had lots of battery left. It would only turn back on once we plugged it in, and at that point it showed a black "X" over the battery icon, and when we clicked on the battery icon it told us "No Batteries Available". Annoying, it was only around 6 months old.

Searching around on Apple's website was useless, phoning their tech support got us an answer something like: "Yes, we know what the problem is but we won't tell you unless you pay us $50." Oops, bad Apple, major fail right there.

The one good thing about their answer was that it told us that their was an answer, up until that point I figured it was a hardware issue (time for a new battery). A couple of Google searches later we got an answer for a MacBook Air, we tried it, and it worked. Here is the answer:

Turn off the Mac, make sure it is plugged in. While holding down the shift, control, and option buttons on the left side of the keyboard press the power button once. Wait 5 seconds and press the power button again to start the Mac. This is supposed to reset the SMC or power manager. It worked like a charm.

There was also information on how to reset the PRAM, although I don't know when or why you would need to do that.