Caxy founder Michael LaVista will be speaking at the PMG Innovation Summit on April 21st, 2009. Wondering what interactivism is? Are you an interactivist? There’s a site about it just for you. What will Michael be talking about, anyway? Gald you asked:
This is Michael LaVista, your Technology Squad Leader, and I have some good news: interactive marketing isn’t that complicated. It’s true! Web technology isn’t as wild as it once was—you could say that the universe has at last settled into a system of interconnected tools and parts.
By that, I mean that marketers shouldn’t let apprehension about technology prevent them from big plans. So much more is possible and affordable now than it ever has been, and it’s all just waiting to be tapped.
My section of the day will focus on teaching you how web tools like data base management and e-commerce can be integrated into your system in the most headache-free, cost-effective manners, and you’ll also learn the basics about website hosting.

The 1800 block of West Grand in Chicago suffered a blackout today.
However, aided by his trusty Flashlight iPhone app, Senior Developer Jason Bautista got a few more devices into our battery backup and kept us online.
It took the power company a few hours longer than we thought to get power back up. Too bad there isn’t a “Power Station” app or we would have plugged in.

Picture taken … with iPhone
Here's a look at the traffic outside our office via Google maps.
This is why I take the train.
If you live in Chicago, your car never gets above 30 miles per hour in the winter.
Tech note: if you are interested in how this works in WordPress, the first step is to download a great plug-on for allowing for unformatted text in your blog:
http://www.ooso.net/index.php/archives/379
As times get tough, perhaps the biggest issue facing businesses is cost management—small businesses in particular can only afford actions that cut costs immediately. So will businesses take this opportunity to ignore environmental consciousness to save cash?
I’m hoping that the tide has turned enough that businesses will use a desire to become greener as a lens to filter all their cost savings through.
At Caxy, we’ve upgraded our web server systems significantly in recent months, reducing our server landscape by 75% by running on fewer, more efficient systems. The primary goal was to reduce cost (which it did), but it also reduced our direct and indirect consumption of power, saved precious metals and decreased our production of difficult-to-dispose-of waste.
As we look forward to the rest of 2009, we are simultaneously looking for cost savings solutions that can also do things like reduce our carbon footprint.
The double-entendre of conserving resources here is interesting. In general, whatever we reduce in the company is reflected in reduced resource consumption. That means businesses need not look at cash vs. eco as an either/or situation, but rather as an opportunity to do both. All it takes is smart planning, in the short and long term—in the end, it’s all green.
Subtitle: Working with /etc/hosts and lookupd for Mac OS X
If you are a developer looking to test web sites on your Mac or maybe you have different DNS for different locations (office, home, client, airport, etc...), you may need to temporarily override the authoratative DNS for a host.
Checklist:
First, open up the /etc/hosts file as root. In a Terminal (Applications > Utilities > Terminal) ...
% sudo vi /etc/hosts
Then go to to the bottom of the file and make an entry. The format is IP, followed by whitespace (tabs are nice) and then a list of space-separated domains. Don't forget the "www" version if you need it.
# IP Address Host
127.0.0.1 yahoo.com www.yahoo.com
Then, voila, your computer will think that site is found at the IP you specified.
What? Didn't work? You need to clear your DNS cache:
(For Mac OS 10.4 ...)
% lookupd -flushcache
Later, when you're done fooling your machine, do the same thing again and just comment out or delete your
(For Mac OS 10.5 ...)
% dscacheutil -flushcache
entry and flush your DNS again.
I have no idea why this is so hard to find, but if you're looking for the JavaScript code for your Google Analytics account, here's how you find it. (This is direct from Google's site, just not in an easy-to-find spot)
To find your personalized tracking code and account number, please follow the steps below.
1. Log in to your Google Analytics account.
2. From the Analytics Settings page, find the profile for which you would like to retrieve the tracking code. Please note that tracking code is profile-specific.
3. From that profile's Actions column, click 'Edit.'
4. Above the top right-hand side of the Main Website Profile Information box, click 'Check Status.'
5. Your tracking code can be copied and pasted from the text box in the "Instructions for adding tracking" section.
When adding your tracking code to your web pages, make sure to paste it into the body section of your HTML code, immediately preceding the </body> tag. If you're adding tracking code to the new version of Blogger, the instructions may differ. Read more about adding code to your Blogger account.
The Analytics account number will appear in the format UA-xxxxxxx-y. The '-y' towards the end refers to the profile number. This number is unique for each of the profiles within your account although the account number will be the same.
A recession is no time to pay through the nose for software. So in these tough economic times, with proprietary software vendors increasing the licensing fees and locking in their customers, open source is king.
The idea behind open source is simple: find a relevant solution that already exists, use that as a starting point and customize from there. After all, most of what you’re looking for (e-commerce, CRM, content management, social networking, blogging) has already been done. Thousands. Of. Times.
But the strength of open source is also a challenge—in an infinite sea of alternatives, how do you find what you’re looking for?
That’s where an open source guru like Caxy comes in. We’ve vetted hundreds of options, learning firsthand which ones work and which don’t. So when a client comes to us with just about any request—the latest content management interface, for example, or a more flexible e-commerce system—we instantly pull up the top 1% of open source material and go from there.
Here’s an example. One of our University clients needed websites for each of its four locations, but only budgeted for two. So we found the open source software that best matched what they needed (with features like photo galleries, updatable calendar and contact forms) and developed one site for them. When they signed off on that, we took that same system—sans licensing fees—and duplicated it to create the other three sites. We could have done 30 more sites, with barely a change in the cost of implementing the software.
But back to the economy. The last time things took a downturn (2001-02), Linux established itself as a widely-accepted enterprise operating system, and vendors who got on board early reaped the benefits. This time around there’s a bigger focus on databases and higher-level software apps, but the principle is the same: don’t start from scratch. Depending on the scope of your project, a head start can mean real savings. Sure, saving $10k on a million dollar job isn’t a big deal, but saving $10k on a $50k is a real dent.
So if you’re on a project that’s not a brand new, earth-shattering, clouds-parting genesis of a concept, find yourself an open source specialist whose budget goes to customizing, not software. We happen to know a good place to start.
Caxy is a custom development shop specializing in open source technology, notably interactive PHP and Flash. Founded in 1999 on the mean streets of Chicago, our master coding ninjas are currently conquering CodeIgniter, Drupal, Wordpress, ExpressionEngine, SugarCRM, jQuery, prototype & more.
Rackspace is proud to name Caxy VIP Partner of the Month for December.
Well, as everyone around the office knows, I don't get on the upgrade wagon that often. I see software upgrades as being a never-ending cycle meant to pull customers in and take their money, when oftentimes, an upgrade isn't necessary because the software already works. From a hardware standpoint, this is not as true though. Over time, users' computing needs change, and software and OS take up more and more system resources, so hardware upgrades are a necessity at some point.
I last built a quiet PC in or around 2001/2002, and this box is finally starting to show its age. My first thought was, "I'll just update a few key components to boost the speed and then I won't have to build a whole new machine." WRONG. Everything has changed:
OUT
IDE
VGA
SDRAM
Socket A / Socket 478
IN
SATA
PCI express (PCI x16 / x8)
DDR2 / DDR3
Socket AM2 / LGA775
My main focus wasn't necessarily complete silence, because often that comes at the cost of performance. I tried to get a maximum of performance with a minimum of sound, and without breaking the bank. I ranked silence and cost slightly above performance however, but if I could have all three, I did. I also wanted to be able to overclock this machine to get the most performance possible.
I started with the case. There are few good manufacturers that make quiet cases, like Antec, Lian Li and Zalmann, and I am sure there are others. I settled on an Antec case. Then, I chose a chipset and processor (Intel's LGA775 and their dual core e8500 3.16 GHz chip) and motherboard (Gigabyte EP45 UD3P). The next step was the video card and the power supply. There are still manufacturers who make silent video cards (heatsink only), and granted, you have to give up a little bit of performance, and your case cooling needs to be a little better with a heatsink-only card, but it's not that bad and I don't do heavy-duty graphics anyway. I chose a fanless ASUS ATI 3650 PCI-Express card. Next was the PSU; it needed to have enough power but also be fairly quiet. I chose a Seasonic S12 550W model; there are others to choose from, but this one seemed to fit my needs well and seems to be well-received on the internet. Finally, I chose a quiet hard drive (Western Digital's Caviar line is very quiet and is also long-lasting ) and some quiet case fans and a heatsink/fan unit for the processor (the supplied Intel HSF for the processor is far too loud). Nexus makes quiet case fans as does Scythe, and I chose the Xigmatek SDT-HD964 as the HSF, replacing the supplied stock fan with a quieter Nexus 92mm fan.
I'll tell you what, this thing is QUIET! I compared it to my old "quiet" machine, and it surpasses it easily. You have to turn everything off and listen very closely to even hear the fan noise (which is just a very soft "whooshing" sound). And even as quiet as it is, my CPU temps haven't gone above 34C with the processor overclocked to 4.08GHz! Right now, the loudest thing is the PSU fan and the 120mm case fan, whose decibel levels can actually be lowered even more by replacing with quieter fans and using some "undervolting" tricks.
There are a couple of sites I used extensively for the quiet pc component reviews: silentpcreview.com and to a lesser extent, endpcnoise.com. They are both valuable resources in your quest to build the ultimate quiet PC.
A couple of weeks ago, while working on an elastic CSS layout using floated divs, I noticed an annoying problem: when using a fixed width left floated div as well as a 100% width “elastic” div, if the browser is resized and the content is scrolled horizontally, the elastic div’s background stops at the edge of the floated div. Since a large number of web users still use monitors with resolution under 1280px, I knew that the problem would cause usability issues.
After a bit of debugging the code and the lengthy CSS file, I realized that the issue was not with the code, but with the browser itself. During my testing, I found that the issue occurs in Firefox 2, IE7 and Safari (windows) but oddly enough, not in IE6.
FireFox 2 - Without min-width
FireFox 2 - With min-width
The first solution that came to mind was the min-width tag, and after not seeing the issue in IE6 (which does not support min-width or min-height CSS tags), I knew that this was the solution. Because this bug is somewhat difficult to find, I was curious how many other sites using similar design techniques had this issue.
The CSS
#container {
width:100%;
min-width:960px;
height:200px;
background:#444;
}
#content {
float:left;
width:960px;
background:green;
height:65px;
}
The HTML
<div id="container">
<div id="content">
im inside text</div>
</div>
text below
After browsing through about 10 popular websites ranging from design blogs to CSS galleries, to online retailers, I was surprised to find that roughly 30% had not corrected this bug. Although the chance that any given user experiences the bug are shrinking as monitor sizes are growing, if only 8% of the users have 800x600 resolution and the site gets 10,000 visitors a week who use a browser other than IE6, that is roughly 41,500+/- visitors a year that are not seeing the site correctly because of the absence of one short CSS tag.
I think every coder and every company that's been around long enough arrives at a situation where for whatever reason, old code needs to be re-used. But not in a 'Hey, I'll grab this function from the site' way but in a 'Hey, we need to redo the frontend for this site without redesigning the code base' way. But seemingly without fail, this code was created three versions of coding language ago using barely logical, much less programmatically sound, methods. As a coder, how do you avoid pulling out all your hair in an instance like this?
There could be a number of reasons for doing this. One, there may not be enough budget to redesign the code. The idea is that by not spending the time necessary to document and and then reprogram the code base, time is saved because the code, in theory, already works. Two, if no one really knows how the code works and a deadline is approaching, it may be hard to justify spending lead time on the process necessary to document code that seems to work. However, I might argue that when making a decision like this, one should consider the support time that might be required to ensure that everything is working properly once the site goes live, the time cost of combining two or more disparate types of code which may not want to 'play nice' with each other, and other similar factors.
Ultimately, whether or not to re-use or reappropriate legacy code depends on the budget, time constraints, and other business factors. If the person who designed the code is available, then this process is made easier; if not, the person who picks up the project has to make some tough decisions. If the decision is made to use legacy code, a developer's best plan is to:
1) Be organized. Keep notes on everything and refer to those notes frequently. The code may be unorganized, but that doesn't mean you have to be.
2) Have a plan and follow it throughout your development. If you have a certain way of formatting code, make sure you do it everywhere. Come up with way to address general problems you will encounter. If a function doesn't work, are you going to rewrite it from scratch? Are you going to attempt to fix the code in-place? Whatever you decide, apply the same thing everywhere.
3) Be patient. Dealing with legacy code can be frustrating and slow. Take it one page / function at a time. Speed is always important, but never at the expense of good code.
4) Keep perspective. Yes, you will encounter crazy, illogical ways of doing things. You will not believe that someone could think this way. However, the point is not to let that distract you from the goal of creating good code. Create a 'Wall of Fail' like we have where we poke fun at these things.
So if you are presented with legacy code that needs to be reappropriated, try to follow these steps. If you do, hopefully at the end of the project you will be able to don a smoking jacket, and not a straitjacket.
Recent Comments