Mindspace of Jonketo

Wednesday, May 25, 2005

Codespace

For anyone interested in technical, computer science related articles I have created a new blog, Codespace. This site it not meant to be a place for me to post code, but more of a place to share with people ideas and how to complete tasks, such as writing code. Who knows, I might put some things up for download if everyone plays nice.

Sunday, May 15, 2005

Muses from your lazy friend in San Clemente

Not much has been going on for me down here. Work has been frustrating as I am learning new things. I am having problems with my scripts because they are using javascript and being run through XSI. I am not having problems creating algorithms and writing code, but variables in memory will become undefined as the script runs. For example:

for (point in uniquePoints) {
    if (cachedPoints[uniquePoints[point]]) {
        var clusterIndex = cachedPoints[uniquePoints[point]];
        for (var i = 0; i < 14; i++) {
            var pointStr = "("+clusterIndex+","+i+")";
            strandsToSelect.push(pointStr);
        }
    }
}
LogMessage(strandsToSelect.join(","));


This should give me output like this:

(18,0),(18,1),(18,2),(18,3),(18,4),(18,5),(18,6),
(18,7),(18,8),(18,9),(18,10),(18,11),(18,12),
(18,13),(23,0),(23,1),(23,2), ...


18 and 23 correspond to hairs, while 0-13 are the points on the hair. The problem I noticed from the log file after XSI crashed was that the clusterIndex was lost in memory. The output was like this.

(18,0),(undefined,1),(undefined,2),(undefined,3),(undefined,4),
(undefined,5),(undefined,6),(undefined,7),(undefined,8),
(undefined,9),(undefined,10),(undefined,11),(undefined,12),
(undefined,13),(23,0),(23,1),(23,2), ...


When I saw that I was like, how am I supposed to code when variables become undefined!? Oh well. I can't really be blamed for that.

Anyways, enough geeking out. I was chatting with my good friend in Beijing 婷婷 the other day and she said MCK (季迈轲)would be on TV. Then just last night I got a message that had won! Congratulations MCK!!!! He had competed on 超市大赢家 (Supermarket Big Winner). It is really similar to super market sweep. I really wish I could have seen it. After my friend told me I googled " 超市大赢家 季迈轲" and found his introduction from the tv show. If you guys know Chinese and need a laugh read his intro.



Also, just for fun. I tried to see what Taylor was up to by googling 泰立 and I came across this article about Taylor. It has a great picture of him with his girlfriend in Beijing during the winter. You gotta love the hats too!




That is about all the news I have. I did a little planning for driving back to Seattle from here. If everything goes well Sandra will be able to join me and we can have a nice little vacation before she starts her new job. We will head to San Francisco for a couple days and then stay in Yosemite for another couple days. After that we will probably head back to Seattle. I think it is going to be a great trip. I can't wait.

Wednesday, May 11, 2005

My Short History with Computers

Apparently there has been a new trend in blogging about your personal experience with computers. Not being one to miss out and not jump on the bandwagon, of course I have to do it as well. Alissa sent me an email about it and a link to her brother's history with computers. The blog took a technical spin on the whole deal, but what really inspired me was the comment she left behind as a comment. Just look for the long comment written by Alissa and you will see how vastly different two peoples history with computers can be even though both of their experiences overlapped at one point early on.

So, what about me? Well, some might think that my experience with computers goes back a long ways, but I never had my own PC until the end of high school. Before hand I had the typical computer experience. I spent my years in elementary school playing Number Munchers and, my personal favorite, Oregon Trail. I mean, what is better than watching your friends get Cholera after you decided to ford the river? And who doesn't want to shoot and kill 300 lbs of buffalo when you know you only carry a small amount of that? Who cares, be wasteful, it is the pioneering way!

After elementary school my contact with computers was pretty minimal except for typing up school papers. This continued throughout high school. I did not have much interest in getting into computers because at the them I would have rathered gone out with Will to go skateboarding. My brother showed me a little bit of HTML and I dabbled with that here and there in high school, but not much until later in high school. During this period my brother spent a quite a bit of time on the computer playing games. I never got too interested in them, however. There was even a point when he stayed online long enough to get a letter from our ISP telling him to get offline (eventhough our plan had unlimited connection time).

Before college I was able to get my own computer all to myself. I didn't have to worry about trying to split computer time with Eric. This was nice because I really started to get into learning more about developing websites. I also wanted to start learning more about programming since at that time I had decided I wanted to major in computer science. I felt like I was already behind.

Throughout the first couple years in college I spent my time on a windows computer. I was programming with C++ and Java. I also spent time doing web development on linux servers at school. This was for various personal projects and other job related ones. I started to get more and more interested in Linux, but I neither had the time or energy to put together a linux box for myself at home. Luckily my brother had more interest in this sort of thing, so he did for himself. Thus, I was able to continue playing with Linux in my spare time. Despite this, I didn't feel an alliance to either operating system, but my love for non windows systems started to grow.

In my junior year of college I decided it was about time to finally purchase my own computer. Since the beginning I had been using hand me down parts and pieces from his old computers. I think this was good for him because if he bought new parts it would actually help both of us. I don't know if he used that as an excuse to buy new parts, but I was happy that I could get new upgrades to my computer, so I didn't complain. Anyways, back to the purchase. I knew I wanted to get a laptop. That pretty much threw linux out as a contender. The last thing I wanted from a laptop was hassle in getting it running. I did not like very many of the PC laptops on the market at the time and Apple was sort of turning up their advertising campaign, so I decided to get a powerbook laptop. I have been happy with the choice ever since.

There were a couple deciding factors in the decision. I wanted something small and lightweight. Also I liked the BSD subsystem available on OS X. This meant I could come close to having my linux system, but have all the nicieties of an OS like OS X or Windows. Having a BSD subsystem meant I could load up all the software running on a webserver I used at work on my laptop and then it was a piece of cake to do local development for remote jobs. For demos and getaways I could just update my code from the repository and go. Also, being a BSD subsystem I immediately had access to all sorts of free programs.

Recently I travelled to China and I am now going between Seattle and Southern California. Not having a laptop for the last six months would have been horrible. Throughout most of my travels I carried my laptop with me where ever I went. Jesse can back this up for the time I was in Japan. One morning in Tokyo I was able to save my friends photos from her memory cards because I could put her photos on my laptop. Thanks iPhoto! My laptop helped me a great deal while I was in China. Even though Sandra let me borrow her memory card, which was quite big, I still would run out of memory. Having my laptop allowed me to transfer photos on a daily basis. Then I was free to take as many pictures as I wanted. At this point I am not preaching about how great Macs are, just how nice having a laptop is. My friend James once told I would never go back to a desktop after having a laptop .... I think he is right.

So, nowadays I still tap away at the keys on my powerbook laptop. I spend most of my time using the computer to chat online and manage my photos. I recommend an Apple to anyone who needs to do that. And if they want to write client server database applications for MySQL, then they can do that too. I am happy with it now, but there are some shortcomings, which are not related to OS X, but the fact that other companies have not ported or will not port their software to Linux. At work I use XSI every day. I think this is a great piace of 3D modeling software, but it has not been ported to XSI. For many technical and political issues within the industry, it probably won't be ported either. So now I am in a dilemma. I need to decide how willing I am too purchase this software (and hardware) in case I want to work with it in the future as as serious career. On top of that I would also like to get into writing mental ray and renderman shaders. I am not familiar with platform support for render man, but mental ray does come into an OS X version, but even if I get it then I won't have XSI. Should I get PC versions and sacrifice being able to work on my laptop? Do I get a Linux laptop and just get Linux versions of the software. It is a hard decision to make.

Well, in a nut shell, that is my history with computers. Love it or hate it, it is only going to get longer. I only hope there is more money and fame along the way. I think that ship has sailed already.

Thursday, May 05, 2005

What happened to Utada Hikaru?

So I was about to head to bed when I decided to check out some photos in my gallery. Sometimes I check, which photos have been viewed the most. For a while it has been a picture of my sandals at Smathers Beach in Key West. This photo and other beach photos from that day were only beating the photos from Andre's wedding by a small margin. Tonight, however, I noticed a new winner. Ala, the style of William Lemke, I decided to take a screen shot of google images. This image from google is the reason I think there have been hundreds of views in my gallery for the photos I took with Jesse in Tokyo at a radio station interview by Utada Hikaru.





The photo of the black van is her van. I am not sure how the rank for it got so high (only the 5th page!), but I think it has been leading a lot of people to my gallery. I think it will be time to install a weblog analyzer on the server at home.

I am not really sure why this is interesting to me .... hopefully one of you guys will find it interesting. If not, then clicking this might be interesting.

Sunday, May 01, 2005

Things are getting boring ...

The excitement of southern California has started to fade away, so now I am just getting bored with California. At first I was really excited to be down here and working, but I don't seem to feel that way anymore.

I used to really look forward to the weekends, so I could go boogy boarding, but that has not been as fun lately. I am going to try going out more to see whether or the reason is only because I have not been out in the water for a couple weeks. I had to get my wetsuit repaired, so I had a low quality used wetsuit with holes in it that I did not want to use.

I think the main reason is because work has gotten boring lately. I have been relegated to installing software on computers throughout the company. Granted, it is nice to get away from my desk and meet the other people in the company, it is work that I do not want to be doing. I would much rather be learning new things. Also, it gets boring repeating the same thing to everyone over and over for eight hours. Luckily, I finished that work last week, unfortunately no sooner had I started back up on mental ray programming did I get stuck with testing the new update of XSI. I had to verify that all the bugs were fixed. It has to be done, but seriously it is not something I want to do. I am afraid that this type of work is going to continue for me. At that point I am going to just keep going to work to get my paycheck to pay my bills. Because other than that I would feel there would be no other reason to go to work, especially because I am not learning anything. I would only be postponing my graduation from school to click buttons.

I have managed to find something I like to do down here. On the weekends I like to ride my bike and listen to music. It gives me a chance to zone out and exercise. I don't have to worry about political bs from work. I can just enjoy the views along the coast highway. Here is a photo of the sunset on the way home from my ride yesterday.





I decided that instead of riding to Laguna Beach like a couple weeks before I would ride all the way to Newport Beach. Newport is not too much further than Laguna Beach, so it was a good goal. I rode up to the Newport Beach pier and then walked around and watched all of the people fishing off of the pier. There was a younger girl trying to catch a slimy fish on the dock. She kept saying "aiya". When I heard this I was tempted to say something in Chinese, but I decided not to. The same thing happened in Starbucks in Laguna Beach. I think next time I might say something just so that I can meet some new people.

Well I think it is about time to watch a DVD or take a nap. I just want to zone out today because I am still sore and tired from yesterday's ride.

If you want to see more photos from the ride, they are in my California Photo Gallery.