Thursday, 30 December 2010
Christmas of my dreams - from when I was 7
When I was a kid I always wanted lego for Christmas. At some point the question "aren't you too old for that?" started to get asked more and more. Sadly gifts shifted from toys to clothes and other odds and ends. This year when Laura would ask what I'd like, I'd just say "star wars lego". It's not that I was trying to be a pain, I just didn't really have any other ideas.
I thought that I'd get maybe one fun toy, but no, I got a ton. Even my mom and dad got me lego this year. Crazy.
So, in interest of completeness I'll list what I got:
8017 Darth Vader's TIE Fighter
8039 Venator-class Republic Attack Cruiser
8088 ARC-170 Starfighter
8036 Separatist Shuttle (but I think that I'm going to trade it to my 7 year old nephew and get Y-Wing instead)
a 7" (?) lego man with flashlights in his feet
2 star wars cookbooks (yes, you read that right)
I'm pretty sure most of the gifts that I received this year could easily have been for a 7 year old. In fact, I'm pretty sure this is what I was dreaming about when I was 7. I just had to wait a couple of decades.
My co-worker today was relaying a story about how he was speaking last night to his wife where he was telling me about all my star wars lego stuff. His 6 year old has the same interests as I do and overheard them speaking. The 6 year old then asked "what grade is [Jim] in?". Ya... grade...
If immortality is being forever young, then I think that I've found it, of a sort.
Update: I forgot some other star wars / lego related gifts like a "Obi Wan clone wars lightstaber" which lights up and make sounds when its waved around or hits something, Lego Harry Potter for the PS3, and of course Creationary which we played last night and is awesome. ;-)
Tuesday, 21 December 2010
My Murse
Sunday, 12 December 2010
Girls are so confusing
All the books that I'd recommend to her are sitting on our shelves, so I quickly grabbed a stack that reaches to my knee. The trouble is I don't want to give her a lot of them. Borrow them, sure, but not for classics that I know I'll re-read a couple more times. There's an alternative pile of anthologies that she can have, but things like 1984, Brave New World, anything by Clarke, Asimov, Wells or Verne I'd like to keep. I don't know if that's silly though - will I just format shift all them from the dead tree version?
Having a lot of books around can be comforting, but they take up a lot of space that could be put to better use. Like displaying lego for example.
Monday, 6 December 2010
Live a good life
Live a good life. If there are gods and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. If there are no gods, then you will be gone, but will have lived a noble life that will live on in the memories of your loved ones.
- Marcus Aurelius, unsourced quotation
Thursday, 2 December 2010
Do as I say, not as I do!
"I think Assange should be assassinated, actually". Sure, sure, if you say later "hey, I didn't really mean it!" does it still count?
It just boggles my mind that if the "other" countries were to go through this, any calls for assassination would be condemned by the west. What the hell is wrong with people?? Things like kidnapping people, taking them to a different country, tortured for several months and then released at night on a desolate road in Albania. Why is it okay not to use the law if you think that you have a terrorist on your hands? Disgusting. I won't even get into the campaign of terror that the American government seems to have against their own citizens - a campaign whose purpose seems to be to strip rights and freedoms from not just their own citizens, but the citizens of the rest of the world as well.
If people are breaking the law, put them through due process. If people are doing things that you think that they shouldn't - pass a law that says they shouldn't.
Telling the world that you're the shining example of freedom while not following your own laws is hypocritical at best.
Tuesday, 30 November 2010
One year
I miss you buddy.
Sunday, 14 November 2010
mec
It could be that everyone is trying to play a very elaborate, sophisticated joke on me. Well, news to everyone else, I'm turning the tables. I'm going to start spelling out the letters of common words. So, when you go home on the bus, I'm going to take the bee-you-ess. I know that people will realize that I now know their joke and it's pointless to continue, but they are obligated to anyways.
I'll just wink to show that I understand. Sorry, I mean I'll just double-you-eye-en-kay. ;-)
Friday, 12 November 2010
Dead trees are dead to me
On the last trip, since we were on tours most of the time, we decided to leave our Lonely Planet at home since it is over 1000 pages (more stats if you click through on the link). We still wanted some info from the book, so I made a photocopy we took with us, but apparently I didn't copy enough pages. I would have bought the digital copy, but it felt like a scam since the chapters are so expensive - for a book that we had already purchased. I don't think that I'll ever purchase another physical copy of lonely planet (we've got 7 sitting on a shelf I can see from here). Next time I'll just buy a softcopy, dump it to Laura's phone (since we take that anyways) and print out any "critical" sections that we feel we need to have a physical copy with. That way we'll also not have to deal with another 1 kg outdated book sitting on shelves.
Before our next trip, I'm going to Go Digital and ditch purchasing hard copies. Hard copies seem especially dumb for books with a "best before" like reference or travel books were you want the most up to date. So if you see me with something that looks like a Star Trek PADD, know that I'm not going to a costume party, but am dressing like I live in the future, which is now.
Thursday, 11 November 2010
Remember
the day the cannons no longer were shot.
I know of no reason why brave men and women
should ever be forgot.
Tuesday, 9 November 2010
The medium is the message - and your medium is 140 characters long
The other weird thing about these social network sites is that they seem to form homogeneous echo chambers where your only options are to "Like" or retweet someone else's soundbite. It's nice to show support for someone else's contribution, but sometimes it sure would be nice to have a "-1 You're being a douchebag" option. I guess that it's just an extension of "If you don't have anything nice to say, don't [allow the users to] say anything at all.". Now is that good user design where the app limits the users to the "polite path"?
Somehow I've arrived at the conclusion that facebook is enforcing proper social etiquette and that frankly just feels wrong. That must mean that it's time for bed.
Sunday, 31 October 2010
Young Peak
The stairs reminded me of the stairs from Lord of the Rings where Frodo, Sam and Gollum were climbing those long stairs outside of Mordor and there was a cave at the top that they had to pass through. Not nearly as nightmarish as that of course, but they were steep. And there was a cave at the top. That was small enough I had to take my backpack off and push it ahead of me to get though it. Going down the stairs was a bit nerve wracking too. I feel I am fairly comfortable with heights, but with how the stairs were shaped and the size of my feet, I was going down them on all fours backwards because that's how I felt was how I wasn't going to die. Because, at the end of a long-ish set of these steep stairs, it was a straight drop off of probably 400 m. Long enough for you to think about what went wrong.
To give you an idea who "close" the train station was, I took a picture of it. Now, wikipedia lists the peak as 2,720 metres and Aguas Calientes (the town below) elevation as 2,040 m. That's a difference of 680 m, but the train station is a bit below the town. Either way, with a misstep you could go for a close to 700 m fall.
I'm glad that we did the climb. The views were great. It's just not something that I'd recommend for most people. Below is a nice rock that sort of had a seat carved out of it. Not sure if there was much underneath it. I didn't actually want to look down.
Friday, 29 October 2010
The parts that photos miss
First, Peru:
How at altitude 4000 m or greater, your legs can feel fine, while your heart pounds and your breathing isn't able to catch up, even while trying to sleep. How lone little children seem to wander over a ridge I'm gasping on, looking for some cookies or crackers. That moment after reaching the top of a pass (4500m and 4600m in our case), and how the other side looks like an impossibly perfect oasis. That moment of panic where you notice a group of loaded pack mules charging down the 6' wide path and you have about 5 seconds to get out of the way, and you had better pick the side where you won't be pushed downhill because it can be a long way down. The realization that you're the only one looking out for your safety, so you had better not trip because it's a long, long way down. The swallows that zoom around Machu Picchu in dogfight-esq battles. That feeling that the gods really have smiled upon you, not only because you're able to be there, but because against the odds, the weather is nice.
Now the Galapagos:
How on some places, the sand feels more like baking flour and somehow seems whiter. How the animals have a very different concept of "personal space" than the ones at home. How the Marine Iguanas sneeze all the time, and despite their impressive volume and distance, you somehow are not soaked with snot. How a tree's sap (which I've forgotten the name of) smells. How freaking fast penguins and sea lions swim. Waking up in the middle of the night in your bunk on the boat with a falling sensation - because the seas are so rough. The unbelievable coldness to the water despite it being directly on the equator. The awesomeness of being greeted with hot chocolate and cookies after you get out of the cold water.
Just a few moments to remember. There were so many.
* As long as you're safe, healthy, have enough to eat, etc. Same caveats as "awesome" would normally have.
Saturday, 2 October 2010
Goodbye Jaz
She was the smartest dog I've ever had. When I was in elementary and high school, often my mom would walk up the driveway with the dogs to meet me. If they were still at the house or too far down the driveway, I would dash into the long grass (6' or higher) and crouch down to hide. I could fool the other dogs, but Jaz would usually zip up the driveway and then go 90 degrees and a bounding straight towards me, usually knocking me over. I was able to hide from her once but I was in a bit of a gully. She was able to come within a couple of feet, but not find me. I knew she could smell me and knew that I was right about there.
She loved the snow. Didn't matter if it was -35 C, she'd bury her face in it and roll around. She also had a super soft mouth. Because Joe (our older dog at the time) would steal whatever she would be playing with, she'd play with tiny little pebbles. You'd be sitting on the front porch with her and she'd be making a slight scrapping sound. Then she'd spit out this tiny rock - half the size of a grain of rice. If she heard Joe coming, she'd quickly pick up her tiny pebble and run off, because, right then, that was her special toy.
There were some foods that she didn't like. Joe didn't like things like lettuce, but if you would toss it up he'd gulp it down. I don't think that it would even hit his tongue. With her she'd catch it, and only then decide if she wanted to eat it. She might spit it out. If you gave her an old bowl of cereal, she'd eat the whole thing, but if there were raisins in it she would spit them out one by one into the bowl with a little *puh-thua* sound.
In the below picture you can see me playing with Joe and Jaz. Notice how Joe is totally focused on my hand - but Jaz is paying attention to the person. I'll miss her.
Goodbye Jazzy.
June 1995 - October 2010
Thursday, 30 September 2010
Polarizing Issue
And this is a shot where the sun was at 90 degrees to the camera (sun pointing at my shoulder)
Pretty dramatic difference with the blues and clouds. As my ongoing improvement process, that will just have to be another thing that I'll have to think about before holding the camera up to my eye.
Awkward
Awkward....
Wednesday, 29 September 2010
Time vs Money
It's funny how it's always the resource that's in shortest supply becomes the most precious.
Sunday, 19 September 2010
Headache treatment
I walked to the river and sat on a bench there.
Seemed pretty effective. A lot easier on the stomach than other treatments too.
Vegetables are what food eats
One of my least favouite veggies has been eggplant Fried, baked, chopped, ugg. But then I discovered a secret - (almost) everything tastes better if you bbq it. So my quick way to satisfy the "half the plate should be veggies" requirement is that I just make a huge grilled veggie salad. It's easy, stays well in the fridge, and tastes great (as much as veggies can). Below is a rough guideline of possible ingredients for my salad. I never make it with the same things twice, so it really is just a rough idea.
Grilling ingredients:
1 eggplant, sliced length wise 1 cm thick. Lightly brushed with oil
1-2 zucchinis, sliced into thirds length wise, brushed with oil
1 red pepper, cored and cut into flat sections (usually 3)
1 red onion, cut into 3 slices
1 bunch asparagus
Non-grilling ingredients:
1 little box cherry tomatoes
2-3 sticks celery
1 handful chopped coriander / cilantro
1-2 handfuls small mushrooms (possible to just cut into 1/3 or 1/4's)
3-6 cloves roasted garlic chopped / pressed / whatever (optional)
Grill the grilling things, then cut into bit sized pieces. Toss everything into a bowl and either add a oil based salad dressing or some red wine vinegar and oil. Season with some salt pepper and you're done. Makes enough for 6 (at least).
Everything will have a nice smoky flavour and you'll be able to trick yourself into eating veggies.
Saturday, 18 September 2010
Travel to the sights and listen
The rumblings, the tumblings as rocks rolled down the sides, the crack of rocks hitting each other. There weren't many people around, but usually people outside aren't quiet. There people spoke in hushed tones - with a quiet reverence. I've read about people feel like they are sitting next to an angry giant when near volcanoes. That feels like a understatement. There was so much power sitting there in a mountain. I totally understand now why people believed that gods resided inside volcanoes.
My advice for anyone traveling - pictures are wonderful, but make sure no matter where you go, you use all your senses because those are what really makes it real.
Tuesday, 14 September 2010
Jim Likes This
I just don't understand spending the effort adding content to a site that claims instant ownership over anything posted.
Saturday, 11 September 2010
Depth of Field
At F 1.8. Most open, shortest depth of field. Also the fastest exposure time because the most amount of light is entering the camera.
At F 2.8. Might be good for short depth of field portrait were you want the whole person in focus.
At F 8.0. Widens up the DoF with some slight blurring.
At F 22.0. Longest DoF, smallest aperture, which also means the longest exposure which could introduce camera shake.
In hindsight with this experiment, I made a poor choice of subject. I should have chosen something that had more objects along a whole focal range. But I couldn't help it, I was just so excited to play with my new toy.
Thursday, 2 September 2010
Damn It Feels Good To Be An Adult
Other times being an adult is just awesome because you get to pick out your own toys for your birthday. And then open them early. Awwww Some. *blogsphere high five*
Sunday, 29 August 2010
Where I'd go back
It was so relaxing when we were there. It might not be your speed, but we thought that it was awesome. After flying to Puerto Jimenez we went to a Playa Preciosa and stayed there for a couple of days. When we were there, they still had to run a generator since the government had not finished running the power lines. I think that it was supposed to be done like 5 years before we went, so they were a bit behind. It was gorgeous there with long stretches of empty beaches and lots of playful dolphins around.
After that, we traveled to the Terrapin Lodge were we had wonderful food served on nice plates in the middle of the jungle. Each night around 5:30, the spider monkeys with their babies would come around to eat fruit from the tree beside our lodges porch. From there we took a hike into Corcovado. If we were to do that again, I'd book well in advance to stay at the ranger station and perhaps get a guide as well. Oh, and I'd also take a lot of water. They say that you should have at minimum 3 L / person. Ya, do that. Don't drink out out of a "potable" stream beside a vulcher like we did.
The rest of Costa Rica was wonderful too, but when my mind starts to think of tropics, my heart goes to the Osa.
Friday, 27 August 2010
Stopping the light
Sometimes I wish that I could hack the hardware that I deal with. It would make life a lot easier, or explain why this can't / shouldn't be done.
Thursday, 26 August 2010
Find all files extension with a given path in unix
find . -path "*/src/main/resources/*" | awk -F . '{print $NF}' | grep -v "/" | sort -u
Sunday, 22 August 2010
"Uncle Jim, do you *always* have a camera?"
I somehow have ended up becoming one of the family archivist, even for media that I never captured.
Don't get me wrong - I'll still happily take the pictures. If only to get the moments like this:
Saturday, 21 August 2010
Working on composition
One thing that I love love love with photos are our "perspective shots" like this shot in Barcelona:
I'm now trying to play with this for what I wouldn't have seen as a "perspective shot" before. Here's an example from some pipers on the hill a couple of weeks ago:
It's funny, looking back at some of the pictures that we took with our old point and shoot, I'm quite happy with those shots. They turned out quite well. That's just a reminder to myself for when the pictures don't turn out nice: the camera is not my limiting factor.
Friday, 20 August 2010
Looking at the world though pol coloured glasses
The picture looks like crap compared to what I saw while I was there. So disappointing. My brother-in-law is also interested in photography, probably more than I am, and he wanted all kinds of filters for his birthday. He strongly insisted that I get a couple of filters, including a polarizer for my camera. So I started to do some reading and figured the artifacts that I wasn't happy with: glare from water, poor looking sky, vegetation that looks gray; all can be solved with a polarizer. It's not even something that can be fixed in software after the fact. Crap. Wish that I had known this before.
One reason why there has been such a disparity between what I saw and the pictures that were taken: my sunglasses are (linearly) polarized. All this time I thought that it was the cameras dynamic range being less than the eye. I guess that I don't have to focus on HDR photos to capture what I see.
The other shots that I was having troubles with? Taking longer exposures of things like moving water to get a really flowy effect can be solved with a neutral density. Below is my best hand-held attempt. I could only get the effect by taking a picture of a darker, less interesting part of the river.
I really wish that I had taken the photography class in high school. The fact that it conflicted with 2 other classes that I had to take to go to university, which forced me to do one class at night school, really sucks. I've read a book about photography, but I think I need to read more and / or take a class.
Sunday, 15 August 2010
Printing from a new mac using a parallel printer cable
My only explanation for why Laura's printer doesn't need ink is that it's a TARDIS and has a supertanker of printer ink inside - the future's currency standard after gold became easy to manufacture.
Package is more then just a package
I try and make dinner seem special most nights. I find the effort is worth it, if only for my enjoyment. No, that's a lie. I do it for Laura. On the nights I'm home alone I'd eat out of a can if only I could microwave it. So, with the idea to maximize the impression of dinner tonight, I presented it as "Poached west coast salmon, served in a cream and bacon reduction, with steamed swiss chard, and sweet Ontario maize". Sounds good. Sounds much better than than "fish cooked a in pan with some water and things Laura didn't want me to add, cooked green wach-ma-call-its and week old leftover corn". It's the same food, just one meal tastes better before you've even lifted a fork to your mouth.
Friday, 13 August 2010
The Accessible Home
With new lever action black hardware for the outside doors, that meant we had to get new matching ones for the inside. I put up a fuss over the cost, but not too much because 1) I also wanted new handles for the inside and 2) the old brass ones don't match any of the changes we've made to the house, and some are quite beat up and crappy looking. Now I've replaced the handles on the main floor and everything looks good. Most importantly, I can now open our doors with my feet if I'm holding milk and cookies. And that, my friends, is the true meaning of "accessible".
Friday, 6 August 2010
Cooking by weight
Thursday, 5 August 2010
Overriding selective methods in order to unit test
Today I was trying to test a taglib that was quite old and structured in a way that didn't make testing easy. The class under test was pretty simple, but it called a method in its parent which was quite complicated and made for extensive setup for each test. It occurred to me that if I just override that other method - not the one I was trying to test - it would make my life a lot easier.
The code I had was something like this:
public class MyTag {
public void doStart() {
try {
MyObject ob = hardToTestMethod();
if (ob.doSomethingState()) {
// do something
} else {
// do something else
}
} catch (Exception e) {
throw new JspException("something went wrong", e);
}
}
}
Which gave me 3 use cases: an exception is throw, MyObject is returned in a doSomethingState or not. Inline we can easily override the hardToTestMethod to throw an exception or a mock object, using your favourite mock lib.
@Test(expected = JspException.class)
public void doStart_ThrowsAnException() {
MyTag tag = new MyTag() {
@Override
public MyObject hardToTestMethod() {
// or you could return a mock
throw new RuntimeException("I'm on a boat yo!");
}
};
tag.doStart();
}
I felt all clever. At that point I knew that this must be a well known technique. The closest thing that I found with a couple of minutes of searching is an IBM article from 2002 which talks about refactoring factory code. Not exactly the same thing, but close enough. I just thought that I would share in case other people were dealing with difficult to test java and wanted to know another technique to be able to unit test it.
Friday, 30 July 2010
Tron
My costume would look normal - during the day. Hell, it would actually be a safety thing. All I could need to do it is get some reflective tape and strategically put it on my helmet, bike, and biking clothes. At night I'd light up like, well, a guy on a light bike.
Saturday, 24 July 2010
Where have I been, #3
Bangkok, Thailand
Siem Reap, Cambodia
Vientiane, Laos
Vang Vieng, Laos
Luang Prabang, Laos
Chiang Mai, Thailand
Sukhothai, Thailand
Ho Chi Minh City (Saigon), Vietnam
Mui Ne, Vietnam
Hanoi, Vietnam
Sa Pa, Vietnam
Halong Bay, Vietnam
Thursday, 22 July 2010
My Dearest Jaywalker
I know that we shared an emotional connection - hearts racing, adrenaline pumping, thoughts madly flying though our heads so quickly that physical reactions were but a snails pace compared to them. Sitting here, I can't even picture your face. All I remember is a mess of dirty blond hair as you boldly decided to dash out into traffic while looking in the opposite direction. Me calling out to you, slowing as I passed you, steering left so that we would not meet in a lovers embrace of bicycle, spandex and pants suit. Just as Rose's drowning of Jack in Titanic saved them both, your reaction of making yourself as narrow as possible saved us.
Not everyone can make emotional connections so quickly and walk away without looking back, but you could. I'll remember our time together and I hope that the next time that you step out into traffic half way between intersections without looking, you'll be able to make another connection with someone else. But hang in there, because ones of these times it won't be with a bicycle and they won't just make an emotional connection with you. They'll make a embrace that will knock you off your feet and leave such an impression on you that it'll be there for the rest of your life.
Or you could look both freaking ways before crossing the street.
Tuesday, 20 July 2010
Nuclear isn't always clear
Monday, 19 July 2010
A company of fools
My favourite part was their liberal use of "magic potions" - i.e. water balloons. Funny cast, quick improv when something funny and distracting was going on (airplane overhead, car alarm, etc). More along the way that I can imagine the plays originally were - funny, interactive, and with life. Best pay-what-you-can show that I've seen.
Friday, 16 July 2010
Telemarketers
I'm trying to come up with alternative amusing ways to find out what they want without sitting through a whole sales spiel. So far I've got a couple:
- They work nights. Can I take a message and they'll call back at 3 am?
- They've been institutionalized for a couple of weeks. Can I take a message to give to their doctor to pass along?
- They've got a hearing disability and I'll need to write down the question for them.
- She's a mermaid and can't leave the water and the phone won't reach.
- They're in Chile working on the large telescope array and won't be around until after the next lunar eclipse.
- They've gone on a walkabout and they'll be back after they meet their spiritual guide.
- They're out tilting at windmills right now. Can I take a message?
- Mrs. [last name]? Oh. That was before the operation. It's Steve now. Steve's not in.
- Uhh... this is awkward. His court case didn't go so well. It is okay if he calls back in 2 years less a day?
- He went out and got hammered last night and is the hospital. The doctors will be removing the nails tomorrow.
- He never talks on the phone when his stigmata is acting up. He doesn't like getting blood on the phone.
- Sorry for interrupting, but are you a ninja? It's just that ever since he's been involved in piracy he's been deathly afraid of ninjas...
Got any other good ones?
Thursday, 15 July 2010
Three degrees to happy
Today the AC is keeping the house at a chilly 23 C. Sooooo happy.
Wednesday, 14 July 2010
Taking care of the Jim
I do believe that we're living in the future. I just want all the parts to catch up to my expectations.
Monday, 12 July 2010
Paging algorithm
For some reasons my brain has trouble with some things. Spelling is one, another one is the algorithm for pagination - at least that's what I'm calling it. Basically it's when you've got a large result set and want to make subsets with a given max size to be processed. I recently ran into this when writing a small program to dump data to a excel spreadsheet and I found out that there is a 256 column limit.
After 10 minutes of fruitless googling I had to think for myself and write something (in java). I'm blogging my solution so that I don't have to think again. Please excuse the formatting.
public static <T> List<List<T>> page(List<T> artifacts, int pageSize) {
List<List<T>> result = new ArrayList<List<T>>();
for (int sheetNumber = 0; sheetNumber <= (artifacts.size() / pageSize); sheetNumber++) {
int fromIndex = sheetNumber * pageSize;
int toIndex = Math.min(artifacts.size(), fromIndex + pageSize);
// create a shorter view on this list
List<T> subList = artifacts.subList(fromIndex, toIndex);
result.add(subList);
}
return result;
}
Sunday, 4 July 2010
Need a new backup / organize strategy
I've got to make a decision: is flickr the authoritative source? Currently I think that there is pictures on flickr that are no where else due to me losing a drive. There are tools that will allow you to pull down all your pictures, but I'm not sure if it can just pull down the diff's. Ideally I'd love to just be able to cross reference any picture that I have on my computer with what's in flickr rather then re-downloading the ~ 17 k shots.
After I've figured out that issue, I think that I need to start looking at photo manipulation as more of a standard procedure. That way I could merge pictures like this with something like this and end up with a good picture. It seems like it's almost impossible to take a nice picture of groups more than 2. Ah well.
Friday, 2 July 2010
Unconquerable
I am the captain of my soul.
A couple of weeks ago I watched a game trailer that has a voice over of the Invictus poem. I found it very powerful and it lead me to track down the actual poem and read about it. I can't actually find that game trailer - I think that it was a fan modified version of the Gears of War 3 Trailer - Ashes to Ashes. It's been especially hard to try and track down any info because of the Invictus movie that came out 6 months ago.
I've re-read this poem a couple of dozen times in the last few weeks, and it still sends a shiver down my spine.
Tuesday, 29 June 2010
Citrix on a Mac - jiggle the handle to get the bits working
This setup has been working on my machine for months. Now, using the same plugins on the new machine, I couldn't get it to work at all. It would just give me a blank screen.
I found a helpful pdf explaining to change the shortcut that you launch safari with to be "Open in 32-bit mode". I changed the computer to this and lo - it worked. It allowed me to get a step further where safari prompted me that I had downloaded a file and should I allow this? Clicking okay got me past this. When I changed safari back to 64 mode, it still worked. So it appeared to be something were it was choking on that dialog box and couldn't figure out how to get past it.
Problem solved. Happy Laura. Mission accomplished.
Sunday, 27 June 2010
So hard to not say anything... just use open office...
Friday, 25 June 2010
In the beginning there was b & w...
I miss my grandparents.
Thursday, 24 June 2010
Again, I should have listened
I ran the backup, OS update, ran updates for the apps, played around with it all. Everything worked fine. Until this morning when Laura noticed that her expensive medical software (subscription based) didn't work. It looked like it worked last night, but I didn't try to use the part which required the subscription. "No biggie" I said, "we'll just restore the backup".
So I plugged her phone into iTunes, then went to run the backup. When you plug in the phone, it runs a backup and apparently deletes any other backups. So, no I have a useless backup AND an angry / sad / disappointed wife who now has a lot harder time doing her job. Frack frack frack.... FRACK.
This morning the minute tech support opened I called them and had to leave a message. They contacted Laura and let her know that the app doesn't run correctly in iOS 4, but they've submitted an update to apple. So, that's probably 24 - 48 hours from submitting until it's in the iTunes store.
I thought that updating would make Laura's life a bit easier with threaded mail and the move to having things run in the background. Threaded mail wasn't worth this though.
By far the worse part? I had said that it wouldn't break anything. I had made fun of Laura for thinking that things will be broken.
Frack.
Sunday, 6 June 2010
Why everyone hates my coffee maker
Needless to say, to make coffee I mostly use a french press and our kettle - which make a clicking sound.
People have babies at the most inconvenient times. Ah well.
Thursday, 3 June 2010
Urban Wildlife
On my bike ride home today I had a fox dash out 15' in front of me. Yes, you can probably argue that it was a country fox because it clearly did not ding a bell while on the path and it looked like it was breaking the 20 kph speed limit as well. But my guess is that it's just an bad-ass city fox. You know the kind: no reflectors, no paw signals when turning, no helmet.
I think that I've seen a lot more wildlife living in the city than I ever did in the country. I don't think that means that there is more wildlife in the city, I just think that I'm in a better position to see it. When living in the country, everything so was far away that you had to drive anywhere to see it. While living in the city I travel by bike or walking. Slower, quieter, in more green spaces and less in areas where animals probably call corridors of death.
To counteract the people who talk down about living in the city, I've been practicing looking down my nose and my sneer. Honestly it's not been going so well... it's hard to do that and avoid running over small animals.
Thursday, 27 May 2010
Exactly what I want - but not
Having said that, I'm expecting that when the iphone 4g or whatever it's called comes out, I'll go pick that up and return my friend's phone back to him. Goodbye 100 $ / year plan, hello 60 $ / month plan. Boooo!
Thursday, 20 May 2010
Strange processes
Going though the form today I narrowed down the choices for reason to be "Sick certified" and "Sick uncertified". My guess at "certified" meant that you have a doctors note, but I decided to ask anyways because I hate filling out forms 4 times (I've become accustomed that I'll have to fill them out at least twice). The answer that I got made me laugh. It went something along the lines of "Uncertified is when you're sick for a couple of day. Certified is longer term leave or when you're sick for a week in February and come back with a tan."
I hate systems where they can't easily boot people who are obviously gaming the system. For any job you should have to show a positive benefit for you being there. Ideally it would be greater or equal to the cost of you sitting there. *sigh*
Wednesday, 19 May 2010
Strange how fast things change
Wednesday, 12 May 2010
This is how I will remember Grandma
[My part]
We were trying to decide how best to honour Grandma and we thought we would put together a few of our favourite memories as a tribute to her. This is how we will remember our Grandma.
One of the first things to know about Grandma is that she was a world traveler, and very proud of this. She would often remind us that she had been in 73 countries and 6 continents. She was only 400km away from seeing the elusive seventh continent, Antarctica, when she cruised around the horn of South America. While growing up, the grandkids acquired an impressive collection of souvenir t-shirts and gifts from exotic places. In fact, when Grandma and Grandpa would travel, they needed to bring an empty bag so that they would have room to pack up all of the gifts that they purchased for everyone. When they returned from an adventure, there would be a slide show with detailed explanations and stories. Some of those pictures, like the ones from the horn of South America, evoke interesting images. I can picture Grandma standing out on deck, in the freezing cold and during rough seas to get the best shots. All the while, the other passengers would be cozy and warm indoors, sipping their tea and gravol. She took great joy in exploring new places and seeing the world. That is how I will remember Grandma.
Grandma and Grandpa had a passion for photography. One of Grandma's favourite shots is of a little Kenyan Maasai girl. That picture now hangs in each of the Phillips' girls' homes. In order to take this shot, Grandma apparently had to chase a little girl all around the village. I can see her now, with the camera swinging wildly around her neck as she shuffled after the small frightened child. Somewhere in Kenya there is now a woman who has a deep rooted fear of white giants and flashing lights. That is how I will remember Grandma.
When Grandma was not travelling, I am fairly sure that her favourite place to be was at the Phillip's family cottage. The cottage is a place full of childhood memories and memories of Grandma. A tree was planted when each grandchild was born. It was a regular tradition of Grandma's to lead us around the yard at the cottage and point out each of our trees. Sometimes a tree would not make it through a season, so replacements were planted. Fortunately, she never replaced any of the grandchildren. She was very devoted to her family. That is how I will remember Grandma.
Every meal at the cottage was always followed by dessert. Grandma had a sweet tooth, and could easily be caught in the act of stealing a brownie or a cookie. One of the ways to her heart was with chocolate cherries. These were among the many things that would spread a huge gleeful smile across her face. You can see her beaming back at you in any photo of her. She laughed loud and smiled big. That is how I will remember Grandma.
Grandma was always busy at the cottage, carefully watering her geraniums in the flower boxes on the cottage deck, preparing her famous Waldorf salad, supervising important tasks, and checking in on everyone. She would always want to make sure that everyone was comfortable. She would greet us each morning with "Did you sleep well? Were you warm enough? Did you have enough blankets?" As time went on and her memory faded, this greeting was repeated several times each morning. She genuinely wanted everyone to have a nice time during their visits to the cottage. That is how I will remember Grandma.
[Amanda's part]
The cottage was a place to relax and enjoy. There were many days where it was too cold, too rainy to go outside. So out came the cribbage board. Fifteen's and thirty-one, and learning how to peg. Grandma loved teaching us how to play cribbage, and then playing with us. The first time I beat grandma, was like a rite of passage. I still love playing cards, and sometimes have a hard time finding other people to play with me, but cribbage holds a special place in my heart; I own 3 different cribbage boards! Sitting down at the kitchen table at the cottage, with the cribbage board and a deck of cards between us. That is how I will remember Grandma.
She would enthusiastically recount her adventures as a "flying WOG" and the first time she was asked to fly. Grandma was not an easy person to scare, this pilot tried all her could, going as far as flipping his plane upside down. All grandma could say was "Let's do that again!" Laura recently had a similar experience, flying in a four-seater plane over Toronto, in which the pilot asked if she scared easily and then shut off the engine. Grandma and Laura share this sense of adventure, I call it crazy. That is how I will remember Grandma.
Grandma strongly valued education. She was very proud of her top marks during her training as a wireless operator for the Canadian Air Force during the Second World War As we grew up and started to choose a path in life, Grandma would very generously support us with money for tuition and graduation gifts. She would ask how school was going with great interest. The day I told grandma I was going to go for my Master's degree she was so happy. Grandma was always interested in how school was going, and tell me how proud she was, and encouraging me to continue my education. Well I officially finished my masterÃs degree on Monday. Thank you. Grandma had a hand in helping me continue my education. That is how I will remember Grandma.
Grandma's generosity also extended to charities. She volunteered her time for charities and fundraising that she felt were important. She was a volunteer at Centenary Hospital for many years, and was involved in many other charitable works, including heart pillows for Sunnybrook, canvassing for the Canadian Cancer Society. As time went by grandma participated less and donated more. She was very generous in pledging her family for our fundraising efforts. Over the years she has supported me and my sister in the Weekend to End Breast Cancer and the Relay for Life for the Canadian Cancer Society. Most recently she supported me in my fundraising efforts in honour of my son Nickolas with the Spina Bifida and Hydrocephalus Association of Ontario. Being generous and active in meaningful charities. That is how I will remember Grandma.
Grandma was very pleased to have a number of great grandchildren. There are seven in all, ranging in age from 6 months to almost 9. She was very content to sit with a young great grandchild in her lap, or chat with them about a drawing or a new toy. My last memory I have of Grandma is her sitting with Nickolas in her lap, just staring at each other. That is how I will remember Grandma, and how I wish my children would remember their great grandma.
There is so much more we can say about grandma. Her love of music which has made its way down to her great-granddaughter who loves music and playing on her grandmotherÃs piano. Her love of animals, and robin eggs that have their own front porch. Her encouragement for her family to travel, and helping however she could. There are so many ways to remember Grandma.
Wednesday, 5 May 2010
Goodbye Grandma
In my grandma's wishes for the funeral she asked my cousin and me to speak for a bit. My theory is that my grandma picked the shortest and tallest grandchildren to speak together just to mess with us. That's what I would have done. The weird part? I knew what type of speech that we could do based on the moving speech Ryan's brother gave. How messed up is that - burying friends prepares you to bury family.
I think that this is going to be hard. Burying my mom's mom on mother's day weekend.
Sunday, 2 May 2010
I have an extra Awesome Gland. True story.
Without needing any time to consider how lucky we are: what a great city that we live in, that we have a roof over our heads and food on our table, a beautiful, funny, smart wife (Laura's stuck with me), good family, good jobs, good friends, a car that doesn't lose parts sitting in the driveway, and all of the other benefits we have, without even a pause I knew my answer.
"No, this is better."
Thursday, 29 April 2010
Paperwork and The Two Generals' Problem
It's a real life example of the Two Generals' Problem - which seemed stupid to me when I learned about it. Maybe I just didn't understand it in school, but it seemed to me that their would be an end state. I'm just going to be sad if I have to keep on sending paperwork around.
Wednesday, 28 April 2010
Sometimes you have to plan for stupid
Fires, floods, sabotage, terrorism, strikes, mass power outages: these are things that could happen to your business, but might never happen. I almost guarantee that stupid will happen, and it'll probably strike more than once. After the first case of stupid, you should evaluate the degree of stupid. Was it stupid that was just a slip up that can be fixed with more training or process to catch it, or was it unstoppable stupid - US for short.
Now US is a crafty foe. Process, reviews, or training will not prevent US. US is less of an event, and more of a permanent and final state. The best that can happen is that you remove the source of US (henceforth known is unstoppable stupid source or USS) from your organization and hope that they find work at your competitors. Actually, you should encourage them to find employment there. Now if your org is a government department, it's a little more problematic - you actually have to encourage the USS to leave the country, hopefully to a non-trade partner country.
It's funny that org's spend so much money on things that are really not likely to happen, but don't take a more active role against guarding against something with a high likelihood and high impact.
Monday, 26 April 2010
Airport Express joys and pains
The only solution seemed to be to reboot the routers and wait for it to happen randomly again. These problems don't seem to just me either. I finally found a solution that seems to have worked for a couple of days, so fingers crossed. If you look at the log for the router, you can see all these errors like "AirTunes time sync receive error -6730". Now, I'm not sure why the device is trying to time sync, nor why it's not working since it's got the DNS router configured to be our airport extreme (which should work). Either way, turning off time sync for that device seems to have fixed the issue for now.
On a positive side, I've discovered internet radio and joined the rest of 1997. Now I can play CBC Radio 3 through the stereo and it's actually clear. Good times, good times.
Next I'm going to have to figure out how to stop the microwave from messing things up.
Update (2010-04-28): I don't get it. I ran into the dreaded -15000 error again after trying to start the music after it was paused. Then I cursed. Then I hit the play button again and it worked. Checking the log it has "AirTunes time sync receive error: -6730" in the log, but I have the "set time automatically" turned off. AHghhghhghh!! But it's working again, without a reboot. *deep breath*
Update (2010-05-02): Shortly after my last update I was having troubles with the express again. Same error messages, even with the time sync disabled. I re-enabled the time sync, but this time instead of time.apple.com I used the airport extreme as the time server for the network. No problems in the logs since the 28th. I hope that it keeps up.
Sunday, 25 April 2010
Feeling like a grown up somehow involves hydraulic tools
However, there are things that I do that really make me feel like an adult. Like a man. Having grown up in the house that I did, this usually involves tools of some kind. Extra points if it's powered, or huge, or hydraulic. Super extra points if it's all 3. It's getting warmer now and it's (probably past) time to put on the summer tires so yesterday I went out and bought a 3 ton jack. You know, because I need that to change a tire on our car with a listed curb weight of 1376 kg - works out to just over 3 tons. In other words, I should be able to lift the whole car with that jack, not just one corner. I think that it'll be the last jack that I'll ever need.
There is something really satisfying about being able to do some basic servicing on your own stuff. Now I have an 80 lb jack that I'll use twice a year, so if you need your car jacked up to change the tires or something, come on over. ;-)
Thursday, 22 April 2010
Not so good at the bike maintenance
Today I oiled my chain, but that didn't seem to fix the woan sound. Going to need to look into that a bit more. I also discovered why my breaking sounds so wrong. On bike breaks it looks like there is a metal strip under the rubber to let you know that you should have changed your breaks by now. Helpful.
I think that I need to take a class or something on bike repair / maintenance. My only problem with it is that I don't really like to do that type of work. I guess I'm just going to have to suck it up.
Wednesday, 21 April 2010
Music library consolidation
The steps went along the following lines:
1) sync the files on to my local drive.
2) wrote a small app that made a hash of the files, and removed files that had an identical hash so that I wouldn't have to deal with duplicates
3) clean up the tags so I used MusicBrainz's Picard app to bulk fix the tags.
4) Then the trouble of having something that would read the tags from the files. Ideally I wanted iTunes to do this to make comparisons easy. After a while I figured out that if you launch iTunes using option click (on mac, shift click in windows), it will allow you to start it with a different library. That created the xml library file.
5) the format of the xml library file is kind of stupid as xml goes so that makes parsing harder than normal. Luckily I was able to find an example where they parse the file in java.
6) wrote more code that plays "which files are missing" and using blacklists (don't import this) and whitelists, I started to get files that I want to move.
7) I looked into calling iTunes programmatically to import the files, but that started to look like a no-go. So with a little help from commons-io to copy the files I wanted to a specific directory and then I got iTunes to import that directory.
There is still a bit more work, but that was the basic steps.
Sunday, 18 April 2010
Shaggy - It was me
I'm not sure what look I've been able to achieve. It's somewhere between "raised by wolves" and "mad scientist". It's been fun, but I've Been Told that it's pretty shaggy looking. So sometime soon it's going to be reduced back to "normal, less shaggy, level".
Saturday, 17 April 2010
Food to mess with people
Something along the lines of broccoli, beets, asparagus served with a main course that's spicy and high in iron.
Broccoli: gas
Beets: red poop
Asparagus: stinky pee
Spicy: "Oh god, oh god, it burns! (on the way out)"
High in iron: black poop
Now, I don't think that I'd actually do this with the motivation of freaking someone out, but thinking about doing it amuses me. ;-)
Monday, 5 April 2010
Ready for retirement
Aside: tonight's a prime rib roast (because Oma said it's not worth it making a roast for 2 people, and I disagree) with homemade horseradish. Homemade horseradish is something that I've wanted to make for about 3 years now, and I only found the root at the store the other day. Now I just have to figure out how to make it...
Back on topic: My biggest concern about being at home would be actually running out of things to do. Having not enough to do will suck the life and soul out of you, whether you're at home or at work. That amount of nothing leads people to be concerned about the dandelion count in their lawn or, even worse, the dandelion count in their neighbours lawn.
Luckily I've still got like 30 something years before that becomes a concern. Until then, I've just got to keep myself busy on long weekends - of which there seems to be too few.
Sunday, 4 April 2010
Farting is just another way to say "I love you"
You might go the whole day and never let a squeaker out, but when you get home and embrace a loved one, there is nothing that says "I'm so comfortable with you. You make me so relaxed." quite like cutting some cheese. I think that the the best way to build up long term memories are with olfaction. So if you want your loved one to smile and think of you every time they smell some sulfur, you need to cut those nasty farts.
Easter is a time for family and strengthening bonds. Make sure you serve beans and broccoli and start those magical memories now. And when you hear me make a "pphhppphh!!" sound, just know that's my way of saying "I love you".
Thursday, 25 March 2010
Zero motivation
Rsync files based on extension
Yesterday I was trying to sync all files that have a given extension (*.mp3 or *.m4a) from a slow external drive to local to figure out which ones should I need to import into iTunes (can't import them all since that would create duplicates).
I found a helpful post that show that you can use the unix tool
find
and then have rsync use those files. Very, very helpful since I'm much more comfortable using find than rsync.Here's my solution for sync'ing mp3's or m4a files from a mounted shared drive to a subdirectory (called "music") from where the command is being run.
find /Volumes/Shared/ -name *.mp3 -o -name *.m4a | rsync -av --files-from=- / music
Monday, 22 March 2010
One in the hand is worth two in the bush
It's good to figure out what the actual goals of any project are. After thinking about it for a while, I figured out that it was actually solving the problem, even if my solution didn't benefit anyone else.
So I hacked some code out that did 2 things. The first code for migrating our existing pictures in flickr or a set that I created. That way I had a "status quo" set of pictures to put on the frame. The second chunk of code pulls all pictures from the "picture frame set" on flickr to the local drive (as a cache), sorts them by vertical vs horizontal, and removes any files from the cache that have been removed from the set. Then I just rsync the files to the SD card to put into the frame.
One benefit of this that I had not thought of when I started was that I don't actually need the original sized images. The "large" size on flickr is more than large enough. The file size dropped by at least an order of magnitude, so we can fit so many more images on the same card. It even works better in the frame - the pictures load faster. It seems snappier.
While it's great to provide a nice tool for others to use, most likely that altruistic thinking will be enough to prevent me from actually getting the project in a "works right now" state. Better to have a finished hack than project ideas sitting on the shelf.
Wednesday, 17 March 2010
Windows XP on my macbook
The problem: Laura needs to be able to use IE 6 on win XP (or Vista) for work. We had updated her computer to have IE 8, but the software she uses does not support that. I find it ironic that it's to use a "secure" site that it requires the most insecure browser.
First issue: Since Laura would want to quickly log on, bootcamp was out. I was debating between parallels and vmware, but had not made a final decision before going out and paying 100 $ for the software. After talking to some guys at work, they highly recommended VirtualBox. Getting it up and running without reading the doc's took me just a couple of minutes. Really easy.
Second issue: For our XP computers, I could not find any install disks and I couldn't find a license key. I was expecting to have to go out and buy a new copy of XP because even though I was lent a legit OEM disk, I didn't have the key. I had looked at the computer for the license sticker, but had not found it. Today Andrew pointed out that they put the stickers on the bottom of the computer. I had to turn it over... I feel like the biggest idiot, but I think that I'd feel like an even bigger idiot if I had gone out and paid the 200 $ for a new license.
After everything was installed, including the guest additions, my only thing that I didn't know how to do from my macbook is right click. A couple of forum searches later I figured out the trick was "place 2 fingers on the trackpad, then click the mouse". Apparently this is a setting under system preferences (in my mac), but I didn't even have to change that.
Total time to get things up and running, not including waiting for the XP install to finish, probably around 1 hour. Now we have an XP install that's much faster than our hardware install of XP. Good times, good times...
Monday, 15 March 2010
GUI toolkit is one of the first decisions
I want to do some small home projects, and I think that these would be useful to other people. But I can't provide an app that would be "okay, now go out and install library x, open a command prompt... oh, make sure you are using OS [fill in name here] version y". So I figure that I need a cross platform GUI toolkit for stand alone projects. If they contact a service, it probably won't be any server that I am running so trying to make it as a webapp would be pretty pointless - and difficult.
At first I look for something for Ruby. All signs seem to point to shoes, which has been difficult to read about after the lead developer committed virtual suicide. I need to look into it more, but when the creator disappears, I wonder if the people left can keep the flame going.
Then I looked at eclipse RCP since I know the java community and I figure that I could make good progress in it. But then my body sighs - it would seem too much like work. The point of doing a home project would be to learn new things as well as scratch my itch.
Any MS specific solution is pretty much a no-go since I'd like to support my current OS. As for python, I don't even know where to start there either. We'll see how long my patience is for this type of work.
Sunday, 14 March 2010
Features through flags
Flickr is somewhat unique in that it uses a code repository with no branches; everything is checked into head, and head is pushed to production several times a day. This works well for bug fixes that we want to go out immediately, but presents a problem when weÃre working on a new feature that takes several months to complete. How do we solve that problem? With flags and flippers!
For a site that has a huge load in hits as well as content, this really surprised me. My first thought was "wow, you have to really trust your developers" followed up with a general "wow". At work from the code commit to going to prod it usually involves much more process and work that I think is worth. I'm all for pushing for shorting the feedback loop so that the developers know about problems right away, but the scale of this shortness had never occured to me for a large and "corporate" site like flickr.
This kind of thinking, feedback, and speed is what Ryan was always trying to get me to see. This type of thing is what he would say "would leave everyone else behind who couldn't keep up".
Saturday, 13 March 2010
They don't want you when you're damaged
Friday, 12 March 2010
Winterlude - best when cold
Another year we went and we were so early that the snow was still formed into huge blocks and carving had not even started. I didn't even bother to take pictures that year.
This year we went late in the festival on a grey day. The snow was all pitted and the pictures didn't turn out great because there wasn't a lot of contrast between the snow and the sky.
Next year we're going to have to go early, on a clear (probably cold), day. Something that will give a better chance of trying to capture it well.
Tuesday, 9 March 2010
An archivist's nightmare
On Sunday we were hosting a dinner and she mentioned how she had gone through the slides, picked out the ones she wanted to scan, and thrown out the rest. Already picked up by the garbage men. I have no idea what she actually saved, but I would guess it's close to 5% of the original slides.
I was, and am, heartbroken.
Of the few slides I had scanned before, I have ones from parades from 1958 (I think - the box with the details is not probably at the dump) as well as the one below - which is one of my favourites. It has my dad and his brothers, my grandparents, and my great-grandparents. My only great-grandparents that I remember. The best part about the picture is the coffee table which is in use in our basement.
Short of destroying everything, I can't think of anything worse for an archiving project that someone selectivity destroying artifacts. If my grandmother had called me in the middle of the night with a "if you're not here in 30 minutes I'm going to burn them", I would have been there in 15 - and it's a 20 minute drive.
I'm just so upset. I want to go and take them all away before more get thrown out, but I can't. They are her's and what she decides to do with them is her decision, even if I don't agree with it. And that breaks my heart.
I think that it's time to shop for a bulk slide scanner.