A blog of interesting technical advances.

February 27, 2010

Senior Design


In my senior design class my group is designing a data acquisition and display system for the Solar Panels on the top of the engineering building. My dream for the system is to have statistics that can be viewed on the engineering home page. Today, we got one step closer to that dram as we just received a new computer called the SheevaPlug to run our LAPP (Linux, Apache,Postgres,PHP) stack. This system will interface with an Arduino based microcontroller that has a shadow band pyranometer, temperature sensors, and an RS232 interface to the grid tied power inverters. It's gonna be a rough rest of the semester getting all of this done but I believe it is possible, and I'm lucky to have such smart and hardworking people in my group.

February 11, 2010

The HPC Stack

I was reading the news today and came across this article. The author believse that there should be no seperation between cluster level message passing and hardware acceleration. Furthermore, he believes that application writers should only have to use one API to an entire cluster with specialized hardware. I would think that the best way to accomplish this is to use a hybrid approach where a specific API is used for cluster messaging and another API is used for hardware acceleration. This seperation is mostly beneficial from a project management standpoint as it can reduce the scope of the message passing interface and the hardware accelerator considerably and allows the projects to be run completely independent. Yes, a programmer would have to learn two API's instead of one, but accelerating a program using hardware would have a different API from message passing no matter the abstraction. Therefore, adding an API on top of this would still have almost the same number of calls as the number of calls in each library added together.

February 10, 2010

I'm a Ubuntu Contributor

I fixed my first Ubuntu Bug today. It was an interesting experience and the #ubuntu-motu team really helped me out. A special thanks goes out to Daniel Chen for uploading my new package. The process was a bit involved and I came out with a lot more knowledge than I had anticipated. The process went a bit like this.
  1. Download the Source : apt-get source package
  2. Update the changelog: dch -i
  3. Make modifications to the code and debian directory.
  4. Build the deb: debuild -S -us -uc #us and uc disable signing the package. -S builds both source and binary packages
  5. Take a debdiff: debdiff package-oldver.dsc package-newver.dsc > package-newver.debdiff
All and all an interesting and rewarding experience. I may just do this a bit more often.

February 4, 2010

Time Management

I've developed a system for managing my time that works really well for me. It's grounded in the LPS process. LPS stands for List, Prioritize, Schedule. In this methodology, I first list out my goals for the upcoming week and break them into reasonable tasks. Then I prioritize the items according to there importance. Finally, I schedule them into my day. I do this about once a day such that my life remains flexible and I can bend the rules when I need too. The only requirement is to have an accurate picture of what I did today and list my plan for tommorow.

Now on to the technology part. I'm using google calendar and remember the milk to accomplish this goal. I created a list for each important topic i remember the milk. I add to this list as soon as I think of the task. Then as a 10 min end of day routine, I re-rank my tasks in remember the milk and remove frivolous tasks and make sure that my depiction of the day is accurate. I then use Google calendar to create time slots in my next day for each new tasks that I would like to accomplish.

This routine is working really well for me and has enabled me to become a better organized and well defined person. I'll blog about this some more and provide screenshots such that you can see exactly how I accomplish this.

January 30, 2010

Setbacks

Today has been an interesting experiment in setbacks and how to handle them. Let me give you a brief run down of my day so far. I was supposed to travel to Dallas today and hang out with Holley.
  1. 12:00pm: Wake up late and hustle to get out the door.
  2. 12:05pm: Realize that my car is pulling to the right really heavily and pull over at Quiznos.
  3. 12:06pm: My front tire is completely deflated, I get out the spare and start putting it on.
  4. 12:15pm: After finding a way to jack up my car, I realize I don't have the right wrench to get the lug nuts off and need to walk home to get the right wrench from the tool chest.
  5. 12:30pm: Back at home, grab the right wrench and start walking back.
  6. 12:45pm: I get all the lug nuts off, push the spare tire into its place, and tighten it down.
  7. 12:50pm: Drive home sad, beaten, and discouraged.
  8. 12:55pm: Grab a beer.
A new tire will run me about $200 dollars and I have not a single clue how I will be able to get through the year with this kind of debt.

Anyways, talk to you later interwebs.

Spenser

January 29, 2010

Organizing Me



I'm trying to develop a plan that pushes me to be more aggressive in attaining my goals. And in order to do this I need to develop some habits that push myself and some way of measuring my success. So this week I have been hashing out some, daily, weekly and monthly goals that I should always accomplish. These goals are not easy, and are not something that I even think I will be able to accomplish everyday/week/month/etc but they are something to strive for and represent a goal that will produce a better version of myself. Specifically, what I lack is discipline and these tasks and goals will help me better develop the mental and physical discipline I need in order to complete my larger goals.

I'm also trying to learn from my previous mistakes. In all previous attempts, I usually did not hold myself accountable and did not remind myself of them often enough. I'm hoping to change this by having email reminders everyday of the goals and tasks I need to accomplish. I'm trying to build in safeguards that remind me of what to do. Kind of like having a virtual boss. The goal for this is to find a way to better manage myself and develop a better model of how I work.

Here's a list of my weekly, monthly and daily goals.

Daily
  • Talk to Holley for at least 30 min.
  • Draw one graphic per day for documentation
  • Write a blog post
  • Write 50 lines of source code or draw one page of schematics
  • Write one page of research oriented documentation
Weekly
  • Drink at least one beer
  • Create a new test for on of my projects
  • Get others to do something for me
  • Only be absent from class one time
  • Talk to at least one technology company
Monthly
  • Do something fun... and blog about it.
  • Keep finances up to date.
  • Learn a new library or computer language.
It's a very strange set of goals. I wish I could tie them together into some hierarchical strategy but I cant. They are not uniform in importance, or commonality. Instead they represent things I think I need to do in order to be successful. Anyways that's all for today, I'll see you tomorrow Internet.

January 28, 2010

Network Redesign

I think its about time I got rid of the oldest but also most important server in my network, gin.
Gin has been good to me for a couple years now, running my website, providing me with a printer/scanner server, acting as a router, and even hosting my revision control, but there wont be room when I move. While gin has been good for quite a while (first computer I ever built) its only an AMD 1.1 GHz with 512MB of Ram and 40GB of disk space. I will be moving off of gin in the next few weeks and onto jager.

I use quite a few network service this point and even host my own website from home. However, I wasn't that smart when I designed my current network setup and would like to rearrange the network in order to give me some additional flexibility. I came up with the drawing to the right in order to explain exactly what I intend to do. Let me start off by giving a brief description of each node.
  • Brandy - Slicehost server
  • Gin - OpenWRT based router (takes over my old servers name)
  • Whisky - Desktop
  • Jager - Server
  • Beer - HTPC
  • Wine - Holley's laptop
  • Vodka - My laptop
By setting up the network in this fashion, I believe I will be able to get more bandwidth from my servers at home and abroad. No longer when I am transferring large files on the local network will my internet speeds decrease for jager or whisky. This also allows me to have out of band communication with whisky and jager, therefore in the extremely off chance that I get a DDOS aimed at me; I'll be able to attempt to fight it off. I'm attempting to get my hands wet with puppet in order to set this all up, and allow me to be more agile in the future. No more configuring by hand and forgetting what I did. Anyways see ya tommorow blogosphere and I hope someone reads this and gives me some suggestions.

Spenser

Me

Waco, Texas, United States

Electrical and Computer with an interest in FPGAs, Linux, and Embedded Systems. Enjoys playing with servers and experimenting with virtualization.