Thursday, September 08, 2005

I didn't get a lot of sleep last night because of a prototype I am creating for a potential client, and now today I have really bad tunnel vision. It's weird but kind of fun, at least the prototype is looking good!

Thursday, September 08, 2005 1:51:58 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Tuesday, September 06, 2005

I went to the Pearl Jam concert last night here in Edmonton. I have been waiting for this concert since I was about 14 and Pearl Jam didn't disappoint. The setlist more or less reflected what I would have wanted them to play if I had my choice. The only thing I am getting sick of at rock concerts is when bands have 2 encores. Why not just have 1 and make it a really good one instead of making the fans clap their asses off for 2 more songs?

Setlist:

Release, Go, Save You, Spin The Black Circle, Nothing As it Seems, Daughter/(Dream Baby Dream" by SUICIDE), Even Flow, Betterman, I Am Mine, Grievance, Small Town, Sad, Corduroy, Given To Fly, Wishlist/(Hard Times Are Over by John Lennon), Animal, Do The Evolution,

1st encore: Love Boat Captain, Crazy Mary, Jeremy, Porch
2nd encore: Fucking Up, Yellow Ledbetter

Other more "professional" reviews:

http://www.canada.com/edmonton/edmontonjournal/news/culture/story.html?id=16dd793d-0dd9-4a22-91ad-0e15fdc75ad3

http://edmsun.canoe.ca/Entertainment/Music/2005/09/06/1203884-sun.html

Tuesday, September 06, 2005 9:42:14 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Friday, September 02, 2005
Wednesday, August 31, 2005

Check out my Flickr photo page: http://www.flickr.com/photos/stevenrockarts/

Tons of pictures, Cec you will like this!

Wednesday, August 31, 2005 7:06:36 PM (GMT Standard Time, UTC+00:00)  #    Comments [3]  | 

I am not American but anyone American Should vote for Macgyver as the President in 2008. Think about it, he could fix the situation in Iraq by using just a paper clip, a rubber band, and the Moon's gravitational pull. Maybe we could get him to become a Canadian citizen and run in our next election.

Fun
Wednesday, August 31, 2005 5:57:53 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 

I have been sick the last couple of days. It is a weird type of sickness. I don't have a cold and I don't have a cough (well not a big one). I just have a really really sore throat. I had a lot of trouble talking yesterday although it did get better with a couple of doses of coffee and tea. The only problem with that was that I found I had trouble falling asleep.

I have been trying to figure out how I got sick. Maybe it was that incredibly long drive to and from Kelowna that wore me out or maybe it was taking care of a friend's pug named Twiggy who seemed to have energy 24 hours a day.

Of course now there is the dilemma of trying to find something to do during the day. The only thing on TV right now isthe US Open. I like Tennis, but 5, 6 hours of it gets boring. I ended up watching Pirates Of Silicon Valley which is kind of a movie/documentary of the history of Apple/Microsoft and Steve Jobs/Bill Gates. I recommend it to people who aren't really into computers so they can get an idea of why they are running Windows. I also watched The Brothers Grimm it wasn't as good as I thought it would be.

I think today maybe I will write up another tutorial on coding or continue working on an object model for a personal project I am doing. I would post pictures of our Kelowna trip but Catherine's camera broke right before we could get them off so those might be awhile.

Wednesday, August 31, 2005 5:47:28 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Tuesday, August 30, 2005

I had to laugh at this white paper on COBOL: http://www.thinkphp.de/XUL_Study_en.pdf

My favorite quote: "Cobol is still the most important program language in many areas of application development. The Gartner Group estimates a worldwide volume of 180 billion lines of Cobol code. Even in 2005, about 15 percent of all new applications, corresponding to about 5 billion lines of code, will be written in this stone-age language."

I think they are way off on judginging COBOL's success by using lines of code considering it takes about 180 billion lines of COBOL code to write 1 program. Can you really judge a programming language's success by how many lines of code it has in production?

I do think however, that a lot of people programming in the newer languages are pretty ignorant to how valuable a skill it is to be able to write both COBOL code and .NET or Java code.

Tuesday, August 30, 2005 9:06:59 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

Opening folders with C# is easy, sometimes you just want the path to the folder so you can read, write or access files but sometimes you want to open the folder for the user to see visually.

To open the Program Files folder for the user you would use the following code:

//Use the Environment.SpecialFolder.ProgramFiles

//to get the path to Program Files in case it

//isn't stored on the C: drive.

string path = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);

//Get the Windows directory

string windir = Environment.GetEnvironmentVariable("WINDIR");

System.Diagnostics.Process prc = new System.Diagnostics.Process();

//Use the Windows Explorer to view the Program Files directory

prc.StartInfo.FileName = windir + @".exe";

prc.StartInfo.Arguments = path;

prc.Start();

 

A couple notes about the preceeding code:

Explorer.exe is located in the Windows directory which on my computer is located in C:\WINDOWS

The first line gets the path to the Program Files directory:

string path = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);

The second line gets the Windows directory using the System Environment variable. You can look at where this is set

1. Go to the Desktop and right click on My Computer, go to properties.

2. Click the Advanced tab.

3. On the Advanced tab click on the Environment Variables button

4. It is located in the System Variables section:

 

Then using the System.Diagnostics.Process namespace the code creates a process to start Windows Explorer from the Windows directory and passes the path to Program Files as an argument:

System.Diagnostics.Process prc = new System.Diagnostics.Process();

//Use the Windows Explorer to view the Program Files directory

prc.StartInfo.FileName = windir + @".exe";

prc.StartInfo.Arguments = path;

prc.Start();

 

You can essentially replace the Program Files directory with any directory your computer to open up that directory.

Tuesday, August 30, 2005 8:24:07 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  | 
Thursday, August 25, 2005

While in Kelowna, Catherine and I saw a report on the "world's ugliest dog" well....here is his website: http://samugliestdog.com/ 

Even though he is ugly I still have a soft spot for him.

I will be posting on our trip when I get some spare time, which should be tonight. In the meantime enjoy the ugly dog.

Fun
Thursday, August 25, 2005 8:54:26 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Tuesday, August 16, 2005

The Internet Explorer Blog explains: http://blogs.msdn.com/ie/archive/2005/08/15/452006.aspx

Did you know that:

A URI consists of multiple components, each of which helps the browser and server to retrieve the requested file.

For example, given the URI http://search.msn.com/results.aspx?q=ie7#listings

  • The scheme component is http
  • The hostname component is search.msn.com
  • The path component is /results.aspx
  • The query component is q=ie7
  • The fragment component is listings

The following URIs are all equivalent:

  • http://www.example.com/sample/
  • http://www.EXAMPLE.com/sample/#
  • Http://www.ex%41mple.com/s%61mple/
  • http://www.example.com/sample/arbitrary/.%2e/
Tuesday, August 16, 2005 7:19:55 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 
Sunday, August 14, 2005

This weekend I was pretty procductive. Yesteday I spent the day working on my old truck and getting it running again. It turned out the battery was dead so I bought a new one and the old girl is running like a charm.

Now today, I may clean out the inside and wash the outside and get it ready to be sold. This was my first vehicle and it will be sad to sell it but it can't just sit around here forever! I will probably take a picture with it before I sell it.

You may have already noticed but I finally got around to upgrading my blog to Dasblog version 1.8. I guess the release candidate before this one had some problems so I waited a couple days until the gold release was out.

I also got a Super Nintendo emulator up and running on my Sony PSP. I love playing the same games I did when I was a kid, they were so simple and fun back then!

Sunday, August 14, 2005 8:05:01 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: