I present to you, my Category Posts Widget WordPress plugin. This isn’t my first WordPress plugin by any means, but it is the first one I’ve released to the public. This one actually arose from my most recent project, nukoda.com, where I needed to display the most recent posts from a category in the sidebar. I went searching around for an existing solution, but didn’t find one that suited my tastes. I wanted a simple widget, that allowed me to:
- Specify how many posts to show
- Set which category the posts should come form
- Designate how many of the widgets I needed
My search didn’t yield anything that fit my criteria and my criteria only so I ended up creating one. The documentation for creating a widget with dialogs and controls is not very good and almost nonexistent so it took me a couple days of hacking to figure it out, but here it is.
Keep reading…
Posted on October 21, 2007 in Code
I’ve been working at Vernier Software & Technology as an intern for about the past seven weeks now. It’s been interesting as this is my first real work experience. The “job description” said that I would be creating an employee map so employees can find where others are situated in the building more quickly. However, I’ve worked on quite bit more than just the employee map.
Keep reading…
Posted on August 12, 2007 in Code, Life
I competed in the Oregon SkillsUSA web design competition last Saturday. My teammate, Sadie, and I competed against five other teams from other high schools in Oregon. We were all given a fictitious website proposal and had four hours to complete the task. After the competition I had lunch and sat around a couple hours for the awards ceremony (bored out of my mind.) We ended up taking first place and are eligible to represent Oregon at the national competition. However, busy schedules may prevent us from competing at nationals and we’ll probably end up giving the opportunity to second place.
The website we created was done using Dreamweaver, Photoshop, and Fireworks. It’s valid XHTML 1.0 Transitional and CSS. The design is pretty simple and generic, but it worked. I’m not sure if I can post it online for everyone’s viewing pleasure… I’ll have to look into that.
I got a lot of congratulations, handshakes, and pats on the back from friends today. How they all knew about the victory was beyond me until I saw the big banner hanging above the tech lab entrance say congratulations; that was really encouraging. It’s nice to get recognized every once in a while for stuff you’ve done. It’s unfortunate that we probably won’t go to nationals, but it happens. It was a great experience and hey, there’s always next year.
Posted on April 16, 2007 in Code, Life, School
Jeff Atwood made a post on his blog today about a simple test used to screen prospective programmers looking for a job. The reason: many people who claim to be programmers fail to solve the simplest of problems. The test:
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.
Just for kicks, I knocked out the program in Python in a few short seconds to see if I could do it.
# FizzBuzz test.
for x in range(1,101):
if( (float(x%3)==0) & (float(x%5)==0) ):
print 'FizzBizz'
elif( float(x%3)==0 ):
print 'Fizz'
elif( float(x%5)==0 ):
print 'Bizz'
else:
print x
Posted on February 27, 2007 in Code