Wednesday, January 16, 2008

how to programmically get the UUID of your windows machine in vb.net

you need to add reference system.management:

Dim wmiObj As New System.Management.ManagementObjectSearcher("SELECT UUID FROM Win32_ComputerSystemProduct")
Dim objMgmt As System.Management.ManagementObject
For Each objMgmt In wmiObj.Get
MsgBox(objMgmt("UUID").ToString())
Next

Tuesday, January 15, 2008

The Big Bang Theory

What if the big bang is not the beginning? It just happens in cycles where all the matter of the universe and beyond comes together and then explodes again every couple of 1,000,000,000,000,000,000,000,000,000 years? It has been theorized that black holes merge (when that happens galaxies merge) and become supermassive blackholes. In 5 billion years the milky way and andromeda will merge, and no doubt turn every molecule into atoms. What if all black holes eventually merge until it becomes one big blob of explosive mass? the big bang is the start of life for the current universe. and i guess it really doesn't matter because all things will cease to exist when it merges or explodes again. that is the end and start of all life.

celebrity apprentice ep 2

the men won based on lots of luck, pure raw talent and quality of their output. the decision to not see the executive from Pedigree was a big mistake. They could have sent just one person just for relations purposes to keep the customer happy. the Pedigree executive was not happy and could have easily tipped the decision in the other teams favor if the quality of the product was similar. I think the women suffered again because the women are less recognizable as celebrities than the men. I wonder if the women realize that. I think they do. But, with at least the people they have, they could do better using their celebrity recognition to brand/sell their product.

other observations
i didn't like donald's right hand man. i just kept thinking "what a douche" every time he spoke.
donald's daughter was having a makeup malfunction. and she took it too personally when she was told "she'll wait". Hasn't she figured out some people are just jerks for the sake of being jerks? Move on, you don't need to wait for an apology.

Tito commented that he runs a multi-billion dollar company.... I know he doesn't run UFC. And I don't think he runs a MMA camp and in general MMA camps are not multi billion dollar companies or even multimillion dollar companies. So I think he must be running Jenna Jameson's company. Which is interesting. Should Tito be running a multi-billion dollar company?
I liked both commercials, and I liked the concept of the women's commercial better. But the men's commercial really tugged at your heart-strings. Nadia was fired, and rightly so. If she wasn't fired for that task, she would have been fired eventually. I'm still hoping Omarosa gets the ax in spectacular fashion the next episode.

Monday, January 14, 2008

Photography

Ever wondered what makes a good photograph? Its easy for someone to tell you that they think a photo is good or not, but can't tell you why. Here is my attempt to break it down like a science so you can take better photographs.
What to shootYou need to find an engaging subject. What engages you mentally to look deeper so you can understand what is going on in the picture and connect emotionally? For example, if you look at a old balding guy with a dirty apron on enjoying a cigarette in front of a restaurant with slightly peeled (and overpainted) walls. This gives you a lot of information, and it lets the mind form its own story. You've given the viewer a lot of strong variables to form a story with. This story is much more intereresting than a flower or an interesting texture on the wall would ever be. If you want to take photography to a whole new level try to take pictures of inanimate objects that you can connect emotionally. That is a science in itself.

When to shootIn a perfect world, you want balanced and controlled lighting you would get at a studio. Unfortunately that is not the case 99% of the time. - Are you willing to plan, wait, or make better lighting happen? This is what photographers are willing to do.

How to shootYou need to understand:
shutter speed - too slow and its blurry, too fast, it becomes distracting, or the picture loses context
aperture - too shallow, your message will be blurred, too deep, people won't know what the subject of your photograph was.
ISO sensitivity - you want to keep this as low as possible 99.9% of the time so that your images are as noise free as possible.
stops - you need to understand what a 1/3, 2/3, or 1 stop means. For example, if your shooting 2.8 f/stop, and want to shoot at 1.4 f/stop then you can compensate by increasing your shutter speed by 4x, or increasing your shutter speed by 2x and lowering your ISO sensitivity from ISO 200 to ISO 100.
My last tip on this subject is to read about DOF (depth of field) and a rule of thirds. It is probably the easiest thing to learn to start taking better pictures right away.

How to post processThis is a subject that is most ignored. I am guilty of it too. This is where you develop your own style. Use photoshop. Find a combination of colors, sharpness, and contrast that you find appealing. You can have a few sets of combinations, but keep it consistant.

Why (What is the x-factor?)Just like any form of art, I believe this is what distinguishes the chefs for the sous-chefs, the grammy award winners from the cabaret singers, and likewise the famous photographer from the wedding photographer. They both possess the same level of techinical knowledge, but what is missing is the personal touch and style. The audience is looking for new things to eat, hear, see, feel, and experience. If you are always trying to imitate an existing style, then your pics will look good, but it may not be interesting to you. So in the end, it may not be interesting to you, and its not interesting to anyone else. How long do you think a hobby like this would last? Or how passionate would you be about continuing on? Whether it be photography, cooking, singing, fashion, you should always try to make it your own. When you look at the picture, you know its been shot and post processed in a way that you think was done to achieve the best picture possible because it appeals to you the most. If other people agree, then great. Maybe you can benefit from that. If they don't agree, its their loss, because it is still perfect in your eyes and you can appreciate it just as much.

I'll go on record to say that I've never shot one picture with all these things in mind. I've always been more of a point and shooter. And as for my technical knowledge on lighting, aperture, and shutter speed goes its pretty good. But I've had a realization today, and I'm gonna try something new. Here is how I think I usually shoot a picture. Something catches my eye, so I snap. And maybe it'll make sense later. What you are doing is caputring everything in sight, so you can take the information with you. Unfortunately, that does not make an interesting photograph. Its like if I wanted to describe an interesting day I had when I was traveling to another country. Do I talk about the things that don't matter and talk about interesting things somewhere in the middle of the 50 page blog post? No. Because people would be lost in trying you understand what was so interesting. And a picture is not any different. So the next time something catches your eye, ask yourself:
-What was interesting? And make that the subject of your photograph. And if the context of the subject was interesting, it is important to capture that as well, and not capture anything irrelevant.
-Capture it the best image techinically as possible. Did you take it at the right f/stop? Shutter speed and at the lowest ISO? Can the lighting be improved with flash? Or could you wait and come back at another day or time for better lighting?
-Enhance your message by post processing, so that your message is clear. It is not any different than proof reading your creative writing so that you get your story across with more impact. Do it where you do it because it makes sense and looks good to you. And that in itself will reflect on your own style.

Sunday, January 13, 2008

Australian Open 2008

Although I wouldn't say the same about his sense of fashion, Roger Federer is the most dominant athlete in any sport today. Watching these young athletes makes me feel like I wasted away my 20's doing god knows what.... His highlights are super human and seem to defy the laws of physics. I hope he has a Grand Slam this year.

San Diego Late Night Munchies

My Late Night Eating guide. Sometimes at 1:30 am, you just have to eat. And you don't feel like a frozen dinner. What do you do?

Asian
Tajima (3am, excluding sundays)
Tofu House (same plaza as Tapioca Express on Convoy, no official closing hours but will close at midnight if there are no customers)
Sam Woo's Barbeque Restaurant (located inside 99 Ranch, no official closing hours but will close at midnight if there are no customers)
International Restaurant (Chinese, Korean, Vietnames, Japanese... How can it go wrong? Or a better question would be, could they get anything right? Not sure if this place still exists)
Tea Station Clairemont Mesa across 99 Ranch (1am last time I checked, they have excellent no ryo mien aka "beef stew noodles")
Tea Station Mira Mesa (12am)

Mexican
Roberto's on Mira Mesa (24 hours)
El Cotixan on Genessee + Balboa (24 hours)

American
Keiths (24 hours)
Denny's (24 hours)
Bully's East (12:15am. best place for prime rib in san diego)

Alternatives - Take Out
Inn & Out generally close at 1am, and McDonalds a little later than that.

Alternatives - Casinos
Another option is to go to any one of the numerous Casinos we have in San Diego. Ocean's 11, Viejas, Barona, Secuan, etc. Casinos usually have a 24 hour cafe that caters to gamblers.

Places I found on the web that I've never been to:
South Beach Bar and Grill (2am fish tacos)
Saska's Restaurant and High Tide Sushi (2am sushi? gotta try that)
Golden Dragon Asian Bistro (3am)

Saturday, January 12, 2008

uptime for Windows XP

I don't know about you, but I take just a little bit of pride knowing my windows xp machine hasn't crashed for weeks. Only reason I find a reason to reboot these days is because of the windows updates. Finding the uptime is not the simplest of tasks in windows xp. Maybe on purpose by microsoft?


anyway open up the command prompt by going to start -> run -> cmd (hit Enter)


Systeminfo Find "Up Time"
Type that with quotes and hit enter in the command prompt. Works for Windows XP Pro. Not on Windows XP Home because Home is for poor people.