Categories
computer personal

Asset Tracking Webapp Written In Ruby On Rails

 

asset_tracker
Keeping track of company assets is important for insurance, warrantee and general informational purposes for purchased software licenses and hardware. I wanted a dirt-simple webapp written in Ruby on Rails, so I wrote one the other night and put the code on github. It’s a really simple Rails 2.2.2 app … no frills but does the job. If anyone would like to add some frills such as searching, sorting, pagination etc. I’d be happy to pull them back in. OpenRain would be very thankful 🙂
asset_tracker 
“A simple web-based asset tracking system for small businesses written in Ruby on Rails (RoR). New equipment is assigned to a specific location and the responsible person is notified of the assignment. You may optionally add serial numbers and an arbitrary amount of notes to each asset. Configured to run on top of PostgreSQL and sendmail by default, though both are reconfigurable.”
Categories
personal photography

Baby Pictures To Make You Smile

I shot my nephews first birthday party this weekend. If these shots don’t make you smile, you may have a degenerative muscular facial disorder all up in the smilin’ region. Seriously… see a doctor.

[flickr slideshow]

Categories
personal

Sustainable Living

One purpose of my visit to New Mexico last weekend was to see what a self-sustaining single-family habitat in the Southwestern United States would.. or at least could.. look like. Several observations of which those of the region should already be keenly aware…

  • We use entirely too much water. Luxuries such as golf courses in 110 degree (Fahrenheit) heat consume an absurd amount of resources. The Governator officially declared California to be in a drought earlier this year, and Arizona… well… it’s a desert. Maybe we should lay off on the palm trees and grass, hmm? Fighting this hard against the Earth’s ecological tendencies for the sake of luxury is bound to produce the highly inefficient modes of living to which we’ve become accustomed.
  • Solar water heaters and photovoltaic collectors will be huge. Output effecientcy levels are increasing, they are approaching blue-colar affordability due to technological improvements and rebate programs, and fall in line with the ideal of consuming local resources.
  • We eat poorly, and also consume a tremendous volume of costly non-native food. Foods simply lend themselves better to certain regions and we need to be more explorative of regional food options.
  • Gas sucks. We all know it so I won’t go into it 🙁

This is a snapshot of my own macro-economic sustainability opinions, which change rapidly with the times and fall somewhere between ecological conservatism and hard-nosed financial feasibility.

Sustainable American living activists need to focus on three primary goals: (1) significant cultural change in all socioecominic classes, (2) improving sustainability technologies to produce incentives for #1, and (3) figuring out how to reduce the human footprint in economic context to make #1 and #2 plausible. Specific ideas I would like to see pursued..

  1. Focus aggrocultural subsidies away from small rural farms and onto medium-sized, community-run suburban farming initiatives which share equipment and resources. The notion of the independent, middle-American mom ‘n’ pop farm in Smallville will always be romantic, but you cannot ignore the economies of scale. We need to look at the production possibilities curve of farm size vs. output, factor in waste of transportation costs and pesticidal effects, and find a compromise which will allow significantly-sized local farms to produce native or near-native vegitation within a 20-mile radius of urban areas, while not requiring the populous to return to an aggregarian state or douse everything in chemicals. (Not that chemicals are inherently bad: just unnecessary and wasteful in many cases.)
  2. Incentivize large-scale adoption of solar water heaters by artificially raising the cost of traditional indoor tank water heaters and using the difference for solar subsidies. It’s ridiculous to spend energy heating a tank full of water in an empty air conditioned home when you could just put a damn tank outside in the sun for 10 minutes and have magnitudes more hot water for free. Sense make that does.
  3. Incentivize large-scale adoption of household solar arrays by using artificial energy costs to subsidize payments to households selling energy back to the grid via bi-directional meters.
  4. Plausible sustainability change requires working with the existing system. You can blame The Man all you want, but the world is not going to abruptly adopt better principles overnight. Changes need to come gradually–in a way people can slowly accept and adapt to–in incentives facilitated by the government, demand from the people, and interest of the industry.
  5. Ceteris paribus, chose local products and services to keep money in the region and reduce waste.
  6. Recycling costs cities too much. Trashing stuff costs citizens too little. Residents should force the issue with their municipality and compost the sanitary organic waste.
  7. The food industry needs to stop wrapping every last item in a silly little shrink-wrapped cardboard box and sell everything OEM-hard-drive-style. That is, make one box for the display, but sell the product in an extremely minimalist biodegradable packaging. This will be (1) easier on consumers since there’s less trash to deal with, (2) better for the environment, and (3) cheaper for everyone. You can put as many bright colors and wacky content on the display as you want, as well as print on the biodegradable packaging.
Categories
computer personal

Presenting At September 2008 Phoenix Ruby Users Group

I’ll be presenting at the September 2008 Phoenix Ruby Users Group on Monday, September 8th, covering development of Ruby peer-to-peer applications using OpenRain‘s latest gem release, Journeta. Topics will include Ruby’s threading model, basic networking review, Journeta usage, and live demos. 6:30PM, here.

[Location Details] [PRUG Google Group]

See you there!

Categories
computer personal

Handling Self Doubt

I’m an engineer. Always have been. I cronically worry about small flaws which could spiral into unsalvagable disaster,  and spend a great deal of time focusing on risk mitigation. I can thus completely identify with Riyad’s “cronic almost-achievement” issue because I felt like a raging victim of self-imposed mediocrity up until several years ago. I realize I can be harsh in self-judgement, but nevertheless came to several conclusions..

  1. I have tons of great ideas that aren’t going anywhere. (..or worse, are getting somewhere but at a pace slower than the end goal is moving.)
  2. I really don’t like being told I suck.

Any leader that says they can completely shrug off even the most meaningless criticism is full of crap. Putting yourself on the line by saying, “I did something. Check it out.”, dangles your ego over a boiling pot of water. You know the potential for greatest is there–you wouldn’t have done it in the first place if you thought it was a bad idea–but your heart still sinks when you’re about to demonstrate your competence level to the public at large and have absolutely no guarantees on the outcome. Ego roulette is clearly not an engineers game.

…but then, I decided to change.

  1. If I have a great idea and the time/resources to pull it off well, I’m going to look fear straight in the eyes and tell him to STFU.
  2. I’m done with looking back and saying “I should have done more.” Whether it’s writing about a controversial opinion or pulling people out of a car wreck, no more inaction. Maybe I’ll collect an inbox full of hate mail or painfully burn to death in a firey explosion. So be it. At least I tried to change the world and did my part to the best of my ability. “You must be the change you want to see in the world.” –Mahatma Gandhi.

Now, I still have the same self doubt and self confidence issues at the next guy, but I finally feel like I’m doing something about it. And doing something is an engineers mantra. I’ve you’ve really got a great idea, it’s infinitely more important than your fragile ego. Here’s a couple of thoughts that may help entrepreneurial pessimists like myself..

  • If you screw up on project XYZ, no one is going to care in 5 years. Take the small wins and build on them. It’ll feel good.
  • What’s the worst that can happen? ..people will laugh at you? …you’ll loose your investment? …you’ll have to go back to your day job?  Are those the best reasons you can come up with? Really!?  *Please* … If you’re reading this you’ve got food, water, shelter, internet access and probably some good folks to lean on should things get tough. That’s more than most of the worlds population, so quit whining on the $10K it’ll take to do that new project and take a calculated risk. Even failure can feel good when you know you did all you could. You’re going to regret it if you don’t.
  • Criticism is the easiest form of feedback, so there will always be haters and sometimes more negative commentary than positive. Learn to extract the meaning from the negative feedback, remember that those with the loudest voices don’t necessarily represent the population, and make it an opportunity to hone your game rather than pity yourself.
Categories
computer personal

Hacker Shopping Cart

My shopping cart..

  1. Energy drinks.
  2. Energy bars.
  3. Energy backups.

Guess what I do for a living. 🙂

Categories
computer personal

Switching To Dvorak: Seven Months Later

Today marks exactly seven months from the day I switched to the Dvorak keyboard layout.

Key Observations

  1. 72, 81 and 77 words per minute, clocked with three different one-minute tests on TypingTest.com.
  2. In home-row-only tests I took several months ago, I was already consistently over 100 WPM. The many common home-row-only words (those spelled with A, O, E, U, I, D, H, T, N and S) are remarkably comfortable and fast to type.
  3. It’s all about muscle memory. I can type my thoughts just as well as the next guy without looking at the keyboard, but can’t recite you the upper or lower row keys by memory. Interesting, huh?
  4. The pain in my left-hand little finger tendon is gone! More of this is likely due, however, to also switching my Command and Caps Lock keys in software.

Other Conclusions

  • I’m much, much better at hunt-and pecking in Dvorak–that is, staring at a QWERTY keyboard set to Dvorak in software and “sensing” where the right key are with my pointer finger alone. (Useful when typing a few words on someone else’s box.) This is hard because of #3 above, but learnable.
  • I can now hunt-and-peck suitably on my iPhone (QWERTY only) keyboard.
  • Typing QWERTY on a Dvorak keyboard is a lost cause. I have to stare at a secondary QWERTY keyboard to do so, because my muscles and mind have totally forgotten. (Again, see #3.)
  • Typing on a laptop keyboard feels better on your finger tendons, but just as uncomfortable on your wrists.
  • Sharing windows machines with others is awkward and frustrating. Let me know if you have a good system tray applet for quick-switching the whole system to Dvorak, because team-admining a windows machine requires a hellish amount of clicks to set the system-wide keyboard layout.
  • Apple is absolutely horrid at designing with ergonomics in mind. (In their defense, they obviously aren’t trying.)
  • I haven’t discovered the mental gymnastics that allows you to type in QWERTY when necessary. I can type my name and common passwords in QWERTY, but that’s about it, sorry. No hablo QWERTY.
  • Stuff that now sucks because they are built for a QWERTY layout: emacs, vi, <your_favorite_editor>, Aperture, some Java apps. All games now require new key bindings off-the-bat too.
Categories
personal photography

Pictures: Cape Cod

I was over in the Boston/Cape Cod area earlier this month. Only got to site see for a couple hours but still thought I’d share the few shots I have. What I learned while visiting..
  • My grandma once used Jackie O’s toilet.
  • I’m about 2 megadollars short of being able to live there.
  • Every photo you take would be perfect for a viagra ad.
Categories
personal

Dear TSA, Check Out The 4th Amendment. Thanks.

Just a little food for thought for your next airplane ride. The 4th amendment of the U.S. constitution reads..

The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized.

Sounds reasonable to me. And now, the little note from the TSA left in my checked bag, neatly tucked between my clean, folded boxer shorts..

The full text follows below the line..


Transportation
Security
Administration
 


NOTICE OF
BAGGAGE INSPECTION 


To protect you and your fellow passengers, the Transportation Security Administration (TSA) is required by law* to inspect all checked baggage. As part of the process, some bags are opened and physically inspected. Your bag was among those selected for physical inspection.

During the inspection, your bag and its contents may have been searched for prohibited items. At the completion of the inspection, the contents were returned to your bag.

If the TSA security officer was unable to open your bag for inspection because it was locked, the officer may have been forced to break the locks on your bag. TSA sincerely regrets having to do this, however TSA is not liable for damage to your locks resulting from this necessary security precaution.

For packing tips and suggestions on how to secure your baggage during your next trip, please visit:

We appreciate your understanding and cooperation. If you have questions, comments, or concerns, please feel free to contact the TSA Contact Center:

Phone:866.289.9673 (toll free)
Email:TSA-ContactCenter@dhs.gov
*Section 110(b) of the Aviation and Transportation Security Act of 2001,
49 U.S.C. 44901(c)-(e)
Rev. 8-1-2004
Smart Security Saves Time
Categories
personal

Back To Business School

I started MBA 590 tonight; the next stepping stone to my next degree, which I should complete at University of Phoenix early next year. Considering I couldn’t even start on the coursework until 9PM, it’s going to be a busy year. 😐