jQuery Deferreds and the jQuery Promise Method
jqXHR and the Promise Interface
jQuery 1.5 features a brand new mechanism for dealing with asynchronous event-driven processing. This system, called deferreds, was first implemented for jQuery’s $.ajax method and so we’ll be looking closely at that method.
$.ajax({
url: "/some/url",
success: function(r){
alert("Success: " + r);
},
error: function(r){
alert('Error: ' + r);
}
});
Continue reading →
hp 02 ciss for my photosmart c7280

Having been thoroughly satisfied with prior HP printer experiences, I made the mistake of purchasing a brand new HP Photosmart c7280. I’m a big fan of these all-in-one devices. I especially like having a WiFi interface, and scanning to a USB disk as opposed to some ridiculous TWAIN protocol is such a great idea it’s hard to imagine why some devices still don’t support it. But all the things I love about this printer are outweighed by the horrible ink system.
Lets start with the most obvious problem with these ink cartridges. They’re way too small, the color cartridges are only 11 mL. I’ve seen claims that they can yield up to 500 pages. I have no data to argue with that figure, but I can tell you it seems very high compared to what I’ve seen. Continue reading →
Arduino WiShield + MAX7219 7 Segment Display

For this project, I wanted to build a device capable of displaying up to 8 digits on a seven segment display. Sounds easy, right? The catch is, I wanted to retrieve these digits from the Internet over WiFi.
I took this opportunity to try out the ever-popular Arduino platform. Arduino turned out to be a good choice for this project for several because it has:
- an easy to use, Arduino compatible WiFi adapter (WiShield) put out by asynclabs
- a library available for talking to the WiShield with examples included
- a MAX7219 interface library
- an onboard USB programmer and a software programmer that works on Ubuntu
new opportunities at rightscale
“To be honest, I was a little surprised it didn’t happen earlier,” was a common sentiment directed toward me as news spread that I was leaving the Fresno Bee. I had been carefully scanning job listings every day for at least a year and occasionally applying for one that seemed like a good fit. As time wore on, I become more and more aware of how lucky I was to have found the kind of job I did find in Fresno. I can count on one hand the number of Fresno-based job openings that piqued my interest over the course of a full year. None of them excited me enough to leave a perfectly good job at the Bee.
Strangely enough, my small effort in packaging uWSGI for Ubuntu was what prompted some communication with a RightScale employee who encouraged me to apply for a position. I almost didn’t because I’ve grown so attached to my friends and family in Fresno, but the reality of my situation was apparent. If I wanted an exciting job with lots of growth potential, I would have to move.
The Fresno Bee was a great employer. It had fostered the growth of my skills and talents, my supervisors had always been kind and flexible, but the time has come for me to either move on to pursue growth or settle down in Fresno. I think I’m too young to settle down.
RightScale provides me with a new set of opportunities to really push the limits of technology and I am very excited to start work tomorrow.
serving up python with the quickness
Inspired by Justin Lilly, I spent some time looking at various ways of running python web applications with an eye to performance. Nicholas Piël has done some great work testing and documenting many of them. Gevent looks like a great option as does CherryPy, but uWSGI caught my eye because it provides an nginx module and I’m already running lots of nginx. Since its fairly new, my stock nginx from the Ubuntu Karmic repository doesn’t come with uWSGI, but compiling it in is trivial.
So I’ve added uwsgi and nginx + uwsgi to my launchpad ppa for anyone out there who’d like to give it a spin on Karmic. My initial impressions are very positive. If you want to try it out, you can add my ppa to your apt sources and simply run:
sudo apt-get install nginx uwsgiContinue reading →
switched from drupal to wordpress
I’m not sure if anyone noticed this, but lithostech.com is using a drastically different theme. It’s just a canned theme like the old one because I’m not a designer and also can’t afford one. That’s not the only difference though. I’ve also switched from Drupal to WordPress. Mainly, I made the switch because we’re considering moving to WordPress from Movable Type at work and I wanted to get a feel for how it works.
Continue reading →details on the mysterious loan modification
No doubt many recent home buyers lauded the Federal Making Home Affordable program when it was announced. The program which began in 2009 promised to give some relief to certain homeowners struggling to pay their mortgages. The actual details on what it takes to get a lender to agree to a modification under this program are slim. Details on the nature of these modifications are even more scarce. What exactly can an applicant reasonably expect? Is it really worth all the time and effort to apply?
This is what I set out to discover as I began applying in June, 2009. I say began applying because I applied many times. The initial application process was nothing more than a long survey of my financial situation. Since my situation changes from day to day as paychecks come in and bills go out, I didn’t lose heart as I got denied the first three times. Each time I answered the survey (once online and 3 times on the phone), I was able to truthfully give different answers especially when it came to the last few questions about how much cash was in my bank account at that moment. In August, I called CitiMortgage again and answered the survey. I was completely prepared for another denial and I probably wouldn’t have applied many more times had I been denied again. Instead, I was accepted for a trial modification. The agent on the phone explained to me the basic terms of the trial plan and asked if I’d like to accept them.
Continue reading →bad job listing number one
Update Feb 15:
You’ve gone and made it even worse by adding e-commerce experience as yet another requirement. Have you had anyone apply who’s not still in high school? This is still only $2.00 over minimum wage. I can’t even get a guy to come lay tile in my bathroom for that price. Now you’re just asking for it, I’m putting up a link to this shameful job posting.
I might make this a regular feature because I think pointing out some of these bad job listings in a humorous way may help some businesses figure out how to attract great web developers and designers. I’m hoping this will be both funny and educational. This is an example from Fresno’s craigslist. I’m going to copy it here stripping out most of the identifying information to protect the guilty.
Continue reading →building a more compelling environment for young professionals
I have two good options for internet service at my home in the Fresno High area: AT&T DSL which tops out at 1.5Mbits at my location or comcast which is much faster but can’t be unbundled from cable TV service which I don’t want and costs almost $80 / month. This is not attractive to a young professional like myself and doesn’t score the city any points when trying to attract other young professionals to the area.
This is why I was excited to see Google’s announcement today about offering its own internet service to interested municipalities. What’s more, they want residents and city officials to nominate their own communities to be among the first on Google’s rollout list. If we can get enough interest going, perhaps we can be one of the first cities on Google’s new internet service area plus it would get us some national attention and in a good way. Can we do it?
The service Google will be offering is 1Gb on an all-fiber network which is many hundreds of times more than my current service with AT&T. Lets force AT&T and Comcast into a real competition for once. I’m tired of crappy internet service and sometimes it makes me wish I lived elsewhere.
Open Source is Gaining Momentum in the Mobile Arena
A new development in the mobile operating system market brings an open source convert to the table. As of Symbian’s announcement today, three of the five major players can now be considered open source systems. This pits Microsoft and Apple’s closed systems directly against Google, Palm and Symbian in an epic battle of ideology. The playing field for desktop operating systems has always been slanted because open source systems haven’t had competitive desktop systems until recently (after most folks have already grown well accustomed to their closed source systems).
Recent Comments