An Idea For Old Computer Case

clock February 29, 2008 14:04 by author csmith12

I got this in email today and though it was funny. Also went well with the subject matter in the IRC channel I hang out in.

 

clip_image001

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Fun with Regex

clock December 6, 2007 00:15 by author csmith12

Sometimes when coding applications, your run into problems that seem to be easy to fix but end up being very difficult to fix in a standard way. Now here was my situation.

  1. One stock web form
  2. One stock asp.net textbox control
  3. One stock asp.net regular expression validator
  4. One stock asp.net button

Problem: This textbox was for number data entry. It should accept number values such as 1, 50, 897, or 2,309. Now initial thoughts say that this should be a easy regular expression.

Solution: After a lot of trial and error I finally end up with this regular expression: -?([1-9][0-9]{0,2}(,[0-9]{3,3})*|0|[1-9]{1}[0-9]*)

And finally for the funny part of this post. I pasted my regex in a chat with my body and got this response. HAHAHAHAHAHAHAH!

reactor:     -?([1-9][0-9]{0,2}(,[0-9]{3,3})*|0|[1-9]{1}[0-9]*)  
reactor:     look at that nugget   
k00k|wrk:     lol 
k00k|wrk:     jeez 
k00k|wrk:     good work 
k00k|wrk:     you just got the combination to my luggage 
reactor:      lol 

Aren't friends great for a laugh?

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Redneck Software Development

clock November 25, 2007 14:26 by author csmith12

After writing code for as long as I have, and living in KY, you get to use little sayings that make your day a little more enjoyable. I will list just a few that I use;

1. This program runs like a scalded dog.
2. Sure boss, we can beat it to fit and paint it to match.
3. Use C# it will put hair on your chest and lead in your pencil.

Feel free to add your own in the comments. We all need a good laugh every now and then anyway.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


QOTD

Condoms are extremely cheap and easy to get your hands on, which proves they have not been designed by your average software engineer.

- ToohrVyk - GameDev User

Calendar

<<  July 2010  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Sign in