All posts by wilco

regular expression fun

when i first learned about regular expressions, i thought they were pretty neat. it was back in college in one of my computer science classes where the language used in the class was perl. this is the class that started my love affair with perl and regular expressions.

i immediately saw the beauty of regular expressions and i started to use perl extensively to leverage the power of regexes.

i think the cool thing about regexes is that they are like little puzzles that you are trying to figure out. but right now, there’s this one regex i’m working on that it totally kicking my ass. it isn’t pretty. every time i think that i’m getting close, it just comes back and takes me out for another round of (head|heart)ache.

but, worry not, i will get you. die, regex, die!

—–

match.com attraction test

according to a match.com physical attraction test i took, these are the various qualities that i find physically attractive in women:

i like:

  • very beautiful women
  • sharp, narrow chins
  • round-shaped faces
  • thick lips
  • red hair
  • wavy hair
  • straight hair
  • long hair

    uncommon traits i like:

  • faces that are round and full
  • thin, angular faces with a classic or refined look
  • cute, button or small noses
  • glasses and the sophisticated and smart look that goes with them
  • you appreciate how sexy someone very lean or slender can be

    women not my type:

  • women over 35
  • women under 25
  • very low “mainstream” appeal

    in a population of 10,000 men, 10% are very attracted to my type while 24%
    are attracted to my type. 36% are not at all attracted to women my type.

    am i picky?
    Very Picky: It’s official: You’re “picky.” The fact is you are drawn to the most beautiful of the beautiful. You know what you like in women and are more selective than most men your age. Your tastes seem instinctual.

    how i compare:
    Very Selective: You are very selective, compared to most men, in the types of women you find appealing. You’re wowed by “movie star” good looks, and in general, appreciate women with “traditional” or “mainstream” appeal.

    A woman’s height is extremely important to some men. According to choices you made in the test, you prefer to date women who are at least 4 inches shorter than you are. Lots of men feel the same way; it’s that protective instinct showing itself!

    There’s something intriguing to you about a woman with only a slight smile or even a serious expression. You picked more women who were not smiling than we’d expect. Perhaps you like the mystery and depth that these women chose to convey.

    the type of woman who i am very attracted to looks similar to:

    the type of woman who has unusual characteristics that i’m attracted to looks similar to:

    ======================================================

    pretty interesting. i don’t think that i’m really that picky and i think that based on the types of women that i’ve dated in the recent past, i don’t have a particular set type. but it’s interesting to see what the test results say.

  • basketball fever

    MAN, what a weekend. i was able to catch the lakers game and the kings game this weekend, and i have to say that i was pretty surprised at the laker’s game. who would have thought that it would be so close? that was definitely a shocker to me, but i think that the lakers really deserve to lose…they just aren’t playing up to their potential.

    it was nice to see the kings win. i really want them to go all the way this year, they just have that hunger for it.

    roswell

    i was just watching some episodes of roswell today and i was trying to figure out why i liked this show. it hit me just now why i loved this show. it’s the story about the love that cannot be. liz and max just can’t be together due to forces out of their control, yet they still pine for each other. it doesn’t hurt that julie benz was a part of the show too. i really loved her as darla in buffy and angel.

    it’s a shame that this show only got three seasons worth of episodes out, i like the first season a lot.

    lensbabies

    [url=http://www.lensbabies.com/index.html]how cool is this?[/url]

    if it didn’t cost so much, i’d probably get it. it’s probably just a novelty lens, but it looks very neat. though once can achieve the same effect in photoshop, it’s just kind of cooler to be able to do it in camera.

    —–

    xbox controller s

    i picked up another xbox controller since they were on sale at circuit city yesterday. i only picked up one because i can’t think of a single good 4 player xbox game. it’s a shame that the xbox doesn’t really have a large selection of games. it almost makes me want to go back to the ps2. almost.

    what i find myself doing more now than ever is playing super puzzle fighter on the xbox. i looked up ps1 games to see how much they cost and i was quite surprised at how expensive they were still. considering tha the ps1 is an outdated console, the games can still run for as high as $40! that’s just crazy talk!

    but alas, i couldn’t find bust-a-move for the ps1. i’m sure it exists somewhere out there. i do enjoy that game quite a bit. i guess i’ll have to stick to my ps2 for that trusty game.

    optometry appointment

    yesterday, i went to kragen to get some bulbs to replace the broken light bulbs for my brake lights. when i got my oil changed last week, jiffy lube informed me that there were a few bulbs that were broken and they wanted to charge me $6.99 to replace each one. yeah…no thanks, guys, i can change a light bulb. (how many engineers does it take to change…)

    but anyway, after i got my light bulb changed, i was walking around and decided to make an optometry appointment in that same plaza. i went to this optometrist many years ago and was pretty happy with the service, and now that the company finally has a vision plan, it’s time to take advantage of it.

    i will be doing something that i’ve never done before in my life. i will be getting another pair of glasses, even though my current pair are perfectly good. yup, that’s right, i will be getting a pair of glasses to use as a fasion accessory. oh boy.

    but anyway, the optometrist’s assistant was pretty cute. she was very friendly and helpful and answered all of my questions. so i decided to make an appointment and their next available appointment happens to be today. so i’m going in today to get a new pair of glasses and some new contacts, that i desperately need. i think i’m down to my last pair.

    i hate picking out new glasses, though. it’s always such a hardship for me. i’m not sure what i’m going to be trying out this time, but we’ll see what i’ll come up with. maybe something a little more sleek and sophisticated.

    making mistakes

    all throughout my childhood i was brought up with the expectation of being perfect. study hard, get perfect scores on tests, get perfect grades, and be the perfect little boy. i think that my mom had a large role in shaping my perceptions, expectations, and beliefs.

    and for a long, long time i think that’s how i lived my life. i tried to be perfect in every way that i could imagine. i worked hard to get to where i was and i thought that i had finally figured out what the perfect life was to be. it wasn’t until after i started working and started living in the real world that i started to realize what life was all about.

    for a while it was all about the rat race. work hard, make money, get by. it seemed like a content enough life for me and i was reasonably happy then. i guess i had a pretty limited view of what life had in store for me.

    but things got shaken up and i went through some big life changing events. i started to realize that there was more to life than just work. there’s more to life than playing it safe and avoiding anything that could potentially cause hardship in your life. without risk, there’s no reward. i realized that i had to start getting out there and start proactively seeking life instead of just reacting to it.

    sure, i’ve made more mistakes with this newfound lifestyle, but i feel that i’ve grown quite a bit as a result. i’ve experienced more things in the last five years than i had in the previous twenty. some were painful lessons to be learned, some were amazing highs to be felt. but i wonder if i could have learned as much as i have in the past without going through some of those hardships and making those mistakes.

    i think this applies to all aspects of your life. even as a programmer, i’ve made some pretty bad mistakes in how to do my job, but as a result, i will never make them again. i’ve definitely learned from my mistakes. could i have gained the same knowledge without making those mistakes? maybe. but i think the best way that one learns something is when they can apply the knowledge that they have gained to something practical.

    it’s much like that scene in days of thunder when tom cruise thinks that if he drives all crazy fast, without regards to his car’s tires that he’ll get the best time. his coach forced him to drive the track his way and then the coach’s way to compare which way would come out better. turns out the coach was right and good old tom learned his lesson and changed his ways.

    —–

    woke up late

    i woke up late tonight. not sure why i couldn’t get out of bed today. i thought that i had been doing so much better with this new schedule, but the warmth of my bed was just too comfortable and as a result, i ended up leaving about 20 minutes later than i usually do. it wasn’t too bad, the traffic was a little worse than usual, but i guess that’s just the way it is.

    i’ve been working on some templating things at work. i’m at the delicate point now where i have to decide whether or not i want to use a templating engine for this need or if i should just fudge my own mini-templating system. using a full blown templating engine just seems like overkill. ok, well, back to work.

    —–