Tuesday, August 29, 2023
I forgot about me
I completely forgot about this blog and that I even setup forwarding for peirocks.com.
Sunday, January 3, 2010
Wicked weather event
Some wicked weather moved across PEI over the weekend. I have some photos!
http://buyprints.spinphoto.ca/weather
http://buyprints.spinphoto.ca/weather
Tuesday, September 22, 2009
Codeigniter and PHP Parse Errors
I'm learning the CodeIgniter php framework.
By default, CI disables php display errors for security purposes. So, if you've missed a semicolon, a curly brace or whatever, you get a blank page. Actually, that's all you'll get in anything that relies on that controller, model, or view. Less than helpful for a novice programmer.
Finally, I figured it out. I'm a little embarrassed about the simplicity of it.
In index.php do this:
ini_set('display_errors', 1);
And you'll get those wonderful parse errors in CodeIgniter instead of a completely blank page. Line numbers, file names, and all.
By default, CI disables php display errors for security purposes. So, if you've missed a semicolon, a curly brace or whatever, you get a blank page. Actually, that's all you'll get in anything that relies on that controller, model, or view. Less than helpful for a novice programmer.
Finally, I figured it out. I'm a little embarrassed about the simplicity of it.
In index.php do this:
ini_set('display_errors', 1);
And you'll get those wonderful parse errors in CodeIgniter instead of a completely blank page. Line numbers, file names, and all.
Saturday, August 8, 2009
Charlottetown gets rocked
I've been watching it for a while now; at first, from my bedroom window, then from my deck outside. The radar shows promise. It's coming this way.
I need to relocate, I need to be higher, so I jump in my car. Within minutes I'm standing with my tripod setup at the end of the asphalt the middle of an abandoned farmers field. It's the closest location I could think of. It's coming right at me.
The moon is shining brightly over my shoulder, but ahead, it's a different story. At first, it's broad, it's all over the place, lighting up the sky like standing inside an enormous light box. I can't see what the storm looks like until I review the capture.
It's big. Really big.
It'd dead still where I stand, no breeze, and it's dark. I'm giddy with anticipation, I'm nervous when I review the last capture. This storm is like a black void rolling in like a rumbling wall of darkness.
The only sound above the crickets is the sound of my shutter every 20 seconds. It's getting closer, I can see defined strikes. I quickly change from landscape to portrait orientation, flick the shutter release lock. bang.
did I get it.
I got it.
It's cropped from the portrait, a little noisy, and a little out of focus. But I got it.
Even with its faults, I'm thrilled. I'm thrilled because Storms like this don't happen very often, and when they do, they slide right by with little action, or they happen during the day.
I need to relocate, I need to be higher, so I jump in my car. Within minutes I'm standing with my tripod setup at the end of the asphalt the middle of an abandoned farmers field. It's the closest location I could think of. It's coming right at me.
The moon is shining brightly over my shoulder, but ahead, it's a different story. At first, it's broad, it's all over the place, lighting up the sky like standing inside an enormous light box. I can't see what the storm looks like until I review the capture.
It's big. Really big.
It'd dead still where I stand, no breeze, and it's dark. I'm giddy with anticipation, I'm nervous when I review the last capture. This storm is like a black void rolling in like a rumbling wall of darkness.
The only sound above the crickets is the sound of my shutter every 20 seconds. It's getting closer, I can see defined strikes. I quickly change from landscape to portrait orientation, flick the shutter release lock. bang.
did I get it.
I got it.
It's cropped from the portrait, a little noisy, and a little out of focus. But I got it.
Even with its faults, I'm thrilled. I'm thrilled because Storms like this don't happen very often, and when they do, they slide right by with little action, or they happen during the day.
Thursday, April 16, 2009
Confederation Court Mall
It's changing. Not to many years ago I thought that the confederation court mall in Charlottetown, Prince Edward Island sucked. It was dirty, old, smelled funny.
It's been updated, it's about to get a major change, too. A part of the mall will be removed, and replaced with a hotel, and then they'll put an under-street tunnel to connect the mall with the confederation center. Cool.
I quite like the Urban Eatery in the mall, I enjoy the wide open space, or eating area, I guess. It's wide open, has wifi and pretty funky chairs and tables. Good place to sip a cup of coffee from Kickstart.
I guess that's one reason why PEI Rocks.
It's been updated, it's about to get a major change, too. A part of the mall will be removed, and replaced with a hotel, and then they'll put an under-street tunnel to connect the mall with the confederation center. Cool.
I quite like the Urban Eatery in the mall, I enjoy the wide open space, or eating area, I guess. It's wide open, has wifi and pretty funky chairs and tables. Good place to sip a cup of coffee from Kickstart.
I guess that's one reason why PEI Rocks.
Thursday, February 12, 2009
I love my mac
I love my mac. It's a joy to use. OS X has so many features that help me do what need to do.
Stuff like easy access to recently used directories, a true windowed operating system, and then this new application I just added... quicksilver. It's kickass.
Truly, it's not Mac I love. It's OS X. It kills Windows; I would totally use PC hardware if I could run a supported copy of OS X. It's that nice.
osxrocks.
Stuff like easy access to recently used directories, a true windowed operating system, and then this new application I just added... quicksilver. It's kickass.
Truly, it's not Mac I love. It's OS X. It kills Windows; I would totally use PC hardware if I could run a supported copy of OS X. It's that nice.
osxrocks.
Wednesday, February 4, 2009
Running out of time
oh man... I finally went out last weekend for a winter photo shoot. I've been meaning to do it since the first snow fall. It always seems I'm busy with hockey, or the light sucks, or, I suck and just don't make time.
I enjoyed it; a lot. So much that when I walked out the door to go to work on Monday, I saw the fog over the river and decided right there that I will be late. I had to go shoot.
There is, for the lack of a better term, abandoned farm land across the river with a paved, unmaintained access road.
A man on a schedule can make marry luxuries as 4wd and an access road quite quickly.
I did.
I enjoyed it; a lot. So much that when I walked out the door to go to work on Monday, I saw the fog over the river and decided right there that I will be late. I had to go shoot.
There is, for the lack of a better term, abandoned farm land across the river with a paved, unmaintained access road.
A man on a schedule can make marry luxuries as 4wd and an access road quite quickly.
I did.
Subscribe to:
Posts (Atom)