triopen-049_MG_5709_2012-02-04triopen-054_MG_5760_2012-02-04triopen-056_MG_5792_2012-02-04triopen-043_MG_5589_2012-02-04

Lightweight C MP3 ID3v2 Reader Oct 29, 2010 | Comments: 0

hex editor viewing an mp3 headerSimple, effective, lightweight, and fast, this MP3 ID3v2 reader is the ideal way to go if you're running an embedded system running C.

Simple, effective, lightweight, and fast, this MP3 ID3v2 reader is the ideal way to go if you're running an embedded system. See the source/download here. Click read more for a demo project and more information.

Background: I'm writing a full-featured mp3 player for the SJSU class CMPE 146, Embedded Microprocessor System Design, that runs on the LPC2148 ARM7 Board from sjvalley. The project is running RTOS and has reads files from a SD card streams them through an MP3 decoder to a DAC and finally your headphones.

The project is coming along nicely but I wanted a way to read ID3 tags so read_ID3_info() was born.

Read more.

Photo prints details Sep 09, 2010 | Comments: 0

Now offering professional prints through the photo lab at BayPhoto!

They have a reputation for the best prints around and are used by the infamous SmugMug (take a look at their comparison). BayPhoto is especially great for offering canvas printsand metal prints. There are more types of reproductions available then ever before and the quality is unbelievable. From the tried and true 4 by 6 to the aluminum printed metal 8x10. Now you can even print memories on canvas fit to be hung in a museum.

Read more.

Prints on hiatus Aug 16, 2010 | Comments: 0

As I travel to San Jose for a semester national exchange I'm sorry to say I can't print any pictures. I'll be working on going through an automatic print service instead, but I still have work to do.

Now offering prints! May 23, 2010 | Comments: 0

Update: See this post for updated information.

the button for ordering prints

I'm proud to announce that high quality prints are now available from my gallery. A team of engineers and designers, ie me, have been working around the clock to create a unique, engaging, useful, and secure experience for purchasing.

Read more.

The Crossbow - new quadcopter design Apr 21, 2010 | Comments: 0

I'm calling this quadcopter design The Crossbow because of the huge number of people who have thought that's what it was while I'm carrying it around campus.

Right now I'm just testing it and working on the software using only two rotors. This design is modular so I can attach whichever arms I want.

Here's an idea for what I started with in the design process:

quad-design-screenshot

This is the flight computer module:

quad03-_MG_1296-2010-04-18

And the body with the two arms attatched.

quad04-_MG_1303-2010-04-18

 

Fast 2-way XBEE series 2 data Mar 18, 2010 | Comments: 3

xbee-closeThat title's a mouthful, any yet it's not enough. There are so many names for these modules, a better title would be Fast two way Xbee ZigBee Series 2 Znet 2.5 Serial AT Communication. In my trials and tribulations building my quadcopter remote (soon I'll post about it) I've run across problems getting two way, full speed, and reliable communication between my modules. Here's what I discovered after a lot of manual reading:

Read more.

Zenphoto Sitemap SEO Mar 07, 2010 | Comments: 0

sitemap preview


Latest version: 1.0.3. Get it here. Preview it here.


Senario:

You have a zenphoto installation with thousands upon thousands of photos and now are increasingly using page and blog functionality of this awesome open source project. You've got a lot of content with a database full of metadata and a lot of search engine potential. However, the majority of the traffic on your site are the crawler bots themselves since your site is so expansive.

The Almost-Solution

This is my problem. When this was written I had 33,067 images in 262 albums. The crawler traffic was huge and unnecessary. Then I ran across this plugin by Jeppe Fihl Toustrup (Tenzer). However, although this plugin is very zen-like and simply functional, it's not very optimized to my situation. The new version includes every album on every page which results in a ridiculous sql query and a resulting xml file that brings my browser to a halt trying to work on it. Also, very few of the great features outlined in the sitemap standard are implemented.

Solution

I've gone through and rewritten the plugin to be more explicit and helpful to the crawler. The <lastmod> tag is automatically used based on the date in the database, as well and the <changefreq> and <priority> are both set. Also extremely important is that this version includes pages and news articles, not just simply albums and images.

Download

Get it here, zenphoto-sitemap2-seo.php.zip

Also take a look at the code, formatted as HTML.

Example

Try it out by going to my sitemap file. It's best to see it in firefox (even if you're like me and perfer safari on a mac or chrome on linux), and it looks like what's in the screenshot above.

Quad cost breakdown Feb 08, 2010 | Comments: 0

Quad_allBuilding any radio controlled vehicle is usually a money intensive endeavor. When you're building one that flies, is computer controlled (and will hopefully soon be autonomous) it goes to reason that it will be extremely expensive. Some quadcopters are literally tens of thousands of dollars because they use electronics like this. For my quadcopter I wanted to keep the cost as low as possible but still create a reliable platform for future development. I started with the aeroquad project and have done a lot of research on diydrones. Here's the spreadsheet I made before ordering everything (thanks google docs):

Hobby King Total: $150.73
What is it part # unit $ total
motor TowerPro Brushless Outrunner 2410-09 13A / 104W 4 $6.39 $25.56 link
esc Turnigy Plush 10A ESC 4 $9.24 $36.96 link
3prop 8x4 CCW GWS HD8040 3 Blade Prop Counter Rotate 1 $2.79 $2.79 link
3prop 8x4 CW GWS HD8040 3 Blade Prop 1 $2.79 $2.79 link
3prop 8x5 CCW GWS HD9050 3 Blade Prop Counter Rotate 1 $2.79 $2.79 link
3prop 8x5 CW GWS HD8050 3 Blade Prop 1 $2.79 $2.79 link
batt ZIPPY Flightmax 2200mAh 3S1P 20C 2 $11.99 $23.98 link
warning Hobby King Battery Monitor 3S 1 $3.99 $3.99 link
charger Turnigy 2S 3S Balance Charger 110/240v 1 $11.95 $11.95 link
lipo sack Lithium Polymer Charge Pack 18x22cm Sack 1 $5.99 $5.99 link
2mm heat shrink Turnigy 2mm Heat Shrink Tube - BLACK (1mtr) 2 $0.35 $0.7 link
3mm heat shrink Turnigy 3mm Heat Shrink Tube - BLACK (1mtr) 2 $0.35 $0.7 link
boom HK-500GT Tail Boom 4 $2.2 $8.8 link
Sparkfun Total: $132.59
What is it part # unit $ total
arduino Arduino Pro Mini 328 - 5V/16MHz 1 $18.95 $18.95 link
IMU IMU 6DOF Razor - Ultra-Thin IMU 1 $89.95 $89.95 link
headers Break Away Headers - Straight 1 $2.5 $2.5 link
charger 1s LiPoly Charger - Single Cell 3.7-7V Input 1 $16.95 $16.95 link

Quadcopter almost RTR Feb 07, 2010 | Comments: 0

I broke a blade last Sunday and have been out of commission while I'm waiting for a new order (plenty this time) from hobbyking in Hong Kong. Meanwhile, I've taken the opportunity to redesign and strengthen the frame. Here's where I am:

Quad_all

Quad_below

Quad_top

Quad_front

Open letter to Bill Maher Aug 02, 2009 | Comments: 0

In his movie Religulous, Bill Maher admitted he had no idea what being 'spiritual but not religious' meant. On his Friday, July 29th 2009 show on HBO (I listen to it as an audio podcast on itunes) he said he thought he figured it out.

I made this movie about religion; I was forced to confront this idea because people come to me all the time and say 'Bill, I get your point. I'm not religious I'm spiritual.' And I always say to people 'I don't know what that means, it's the most vague thing in the world. It means I'm a nice person?' It made me think about what it means to be spiritual and I think I have the answer: It means your not afraid to die. . . And I'm not there either.  I am not a spiritual person because I'm afraid to die. Maybe someday.

I listened to this week's show while walking around UNC's campus (the University of New Construction out in Chapel Hill NC) between events of the swim meet I was at to support my sister who's (last?) meet it was. Rather than zoning out watching the television and accepting whatever the person who is talking says, walking and just listening really inspires thoughts and discussion, and I talked about my thoughts with my dad quite a bit that afternoon. I decided a letter to mr Maher was in order, so here it is:

 

Dear Bill Maher,

I have been reflecting on and discussing with my family one of the ideas you presented in your last show.

I believe we live in a deeply religious society. However, we are strangely devoid of spirituality. You presented spirituality as not being afraid to die and the majority of the United States' citizens do not embody this ideal– leading to a host of derivative problems.

When one is on their deathbed with a limited time left to live they seek any and all ways to stay with us. This is not just a selfish act to use valuable resources, it is also a malicious and cruel one. Dieing in this way leaves their family and friends with more responsibility and debt and taxes our society's resources by putting the burden on everyone else. 

Spiritual people are not afraid to die because they know their accomplishments and legacy lives on by influencing and benefiting those they left behind. Choosing to die after indebting others is the opposite of spirituality, it is greed. 

This country was founded on the idea that individuals themselves are 'endowed by their creator' with their own divine right to rule and govern rather than the idea that their leader (king, etc.) alone is endowed with this. This sense of individual responsibility and influence is spirituality, not religion. 

Religion, as I have been told numerous times, is practice. Religion relies on customs and ceremonies to honor and worship those who have died long ago. Practicing desensitizes, reduces empathetic thinking, and decreases your own individuality. It also 'makes perfect.' However what is one practicing for and making perfect when they practice religion? Customs, ceremonies, and a kind of thinking that resulted in the crusades and is the root of the intolerance which starts and fuels every war in history. Practicing religion does not result in being spiritual,  it is completely separate and often inversely related to this practice; and in modern America it is inversely related. 

 

You, Bill Maher, are to me a spiritual person. You denounce religion and the thinking which it relies on. You honer the dead not by practicing something solely in their honer but embody parts of their experiences and values; you learn from the past not worship it. 

You should not be afraid of death just as I am not. Not being afraid of death does not mean you do not value life, that couldn't be further from the truth. I am young in years and am full of vitality and youth I believe I embody my ideals and teach and inspire my family, friends, coworkers, and fellow students. I know you do the same, for I am always inspired and empowered by your unique vision of the world and your balance between logic and social nature that lends to your being an intellectual, entertainer, and leader. 

Tim O'Brien

 


Site by Tim O'Brien. Powered by zenphoto cms. Random Photo

Shopping Cart