January 2009
1 post
jQuery Required Form Validation
Recently I was asked to create a web form for my internship that had about 30 text input fields. All fields were required, and they asked that form have a validation check. So, instead of writing 30 individual checks for each input, I wrote a some jQuery. First of all, your required form text inputs must look like this: <input type="text" title="Input Title" class="required" /> Notice how...
Jan 24th
October 2008
2 posts
What I learned about C++ STL vector::erase
In file structures this week we had an assignment to implement LZ77 compression using a custom bit by bit input/output class. This resulted in having to read/write individual bits, using boolean vectors. I would pull individual bits off of the front of the vector, decode them, and then delete them from the vector using erase like this: someBooleanVector.erase(someBooleanVector.begin(),...
Oct 24th
Portfolio
I added a link to my portfolio of web design projects to the left. Check it out and tell me what you think ralphholzmann@gmail.com ~Ralph
Oct 7th
September 2008
2 posts
5 tags
Finding P and Q in an RSA encryption
Our last assignment in File Structures dealt with decrypting messages ecrypted with RSA and a Viginere cypher. Our professor stressed that we should come up with the most efficient way of finding primes p and q given n, because that would require the most time and he would take points off for decrypters that take more than 10 seconds to run. Considering the assignment was due 5 minutes ago,...
Sep 26th
Redesign (sort of)
I just got done recoding my blog, and this is my first post! Luckily, this time I integrated my design with Tumblr, so it will be a lot easier to make posts. There are still some bugs to work out, which I’ll be pounding out in a couple days, but let me know what you think! ~Ralph
Sep 23rd