Thursday, September 20, 2012

The Power of Unix or "Can it make me a PB&J?"

So, I was talking to a friend, and I was mentioning how powerful Unix is, and all these various things it can do, and he made the mistake of challenging whether or not it could make a PB&J. I think it's worthy of an xkcd.org comic, but I'm not the author unfortunately (the author is beyond brilliant!). In lieu of authorship of xkcd, I offer this exchange to the masses.


9:51 Friend:
Can it make my pb&j sandwich or do I have to go downstairs and do it?

9:52 Me:
It absolutely could.
No problem.
You wouldn't even have to go downstairs..
But you'd have to build the mechanisms. and then wire serial into the servo's.

9:53 Friend:
Ah you got me

9:53 Me:
I'd set it up with two automated squeeze dispensers.
Basically two mechanical hands with rubber covered fingers. gripping plastic squeeze bottles. and you'd want a warmer on the hand holding the PB so it could squeeze a little easier..
I'd say about 88 degrees F would probably do.. although 98-108 would make it run nice.
Then an elevator with an attached plate. and bread loaded into the bread hopper.
Which would have to slide the bread off slice by slice and lay it over on the plate..

9:55 Friend:
Ok it was meant as ajoke, now you've taken it beynod hypothetical to conditional reality... I gotta make a sandwich

9:55 Me:
a simple mechanical device.. I know.. I'm just saying.. it could.. and I could tell you how to do it.

9:55 Me:
it's just that f-ing powerful

Saturday, January 1, 2011

10 (or more) gripes about automotive-related businesses in America: Are you serious?

I'll start out by saying that I have a huge problem with the vast majority of people in any business relating to the sale, repair, and maintenance of automobiles.

Here's why:

1) Everyone in that industry assumes (often correctly) that you don't know anything about how a car works. Perhaps not everyone's interested in doing their own brakes, changing the oil, garage engine swaps, suspension upgrades, or even basic maintenance, or troubleshooting what's wrong with a vehicle, but knowing how and what is done can be gleaned without ever lifting a wrench. A read through the factory service manual (most cost somewhere around $100) can save you literally thousands of dollars worth of "bogus" charges and mechanic/shop owner's BS.

2) Most places tend to act like they are doctor's, and you wouldn't question your doctor's advice, would you? Most places invite you to get a second opinion, because you have a 1 in 100 chance of actually finding someone who knows precisely what's wrong with your car and is honest enough to tell you. In many cases, highly 'rated' shops are the worst offenders.

3) Consumers are under the mistaken impression that the dealer knows more about their car than anyone else, and that the dealer mechanics are more highly trained. While in some cases, that is true, the vast majority of dealer mechanics go to an ASE tech school for maybe a year and get really good training. That doesn't mean they remember any of it, or know how to call it up when necessary. The vast majority of dealer mechanics apprentice at the dealership doing tire rotations and oil changes (Usually making not much over minimum wage), and the dealer charges can shoot as high as $150 an hour, for a $10/hr guy to change your oil, maybe not remembering to tighten the drain plug entirely (it has happened, literally).

4) Automotive manufacturers do nothing to dispel these myths about dealers. They are quite happy with the relationship, and will do absolutely anything to ensure continued sales of whatever it is they are selling, and generally doesn't regulate dealer selling price for parts,
dealers are more than able to charge 2-5 times list on common service parts (Case in point, my local BMW dealer charges $36 for 1 single Bosch twin-fire copper sparkplug. I can buy a full set of the exact sparkplug from my local auto parts store for $3.99 each.

The aforementioned fear and misbelief drives people to accept this usury, BMW OEM or OES parts are great, many aftermarket stock replacement parts are equally wonderful. BMW is by far not the only consumer abuser, Infiniti (Nissan) is also pretty bad these days.

5) Every step of the process, from the first time you walk on the lot, to the time (often 3-6 hours later) when you drive off with your car (or the contract and a scheduled pickup time) is designed to make you accept this usury. The most common dealer tactic is to prey on your pride first, then switch to being outright degrading. Most people who sell cars for a living are not the type of people you typically choose to do business with, drug addicts, ex-cons, anybody who can't find anything else.

It's feast or famine, if you sell cars, you can make pretty decent money (around 100-150k for a sales manager at a dealership, including overrides on every sale made while on-shift), or you can starve. Imagine most sales guys are pretty hungry.

From the time you walk on the lot, people who are master con-artists are sizing you up and deciding how to approach you. I wish people could see the side of these guys that comes out when no customers are around.

5) Local mechanic repair shops, smog stations, both test only and test/repair.

A typical consumer has about a 1 in 100 chance of finding an honest mechanic. The same is true with smog shops. I recently had an experience with a smog shop that is all too typical. Basically, if you walk into a shop knowing anything at all about cars, you get immediately lowered priority. Just like walking into a dealership, you are getting sized up the moment you walk in. If you seem like an easy mark, they are all friendly, the minute they get the sense they can't steal you blind, all of the sudden they are too busy to help you.

6) Most mechanics don't have a high school education. This is changing somewhat these days, as a high school diploma and possibly some sort of technical school is a requirement for many shops, but at least 10 times as many don't have any such requirements. Most mechanics start out working for someone else, and eventually hang out their own shingle as a proprietor. 5-10 years of experience is a good amount to be able to handle the majority of vehicular repairs.

7) Book rates. There's this book, or set of books, published annually, that lists the 'rates' for various repairs. This has nothing to do with time worked. I know a mechanic who bragged to me that he once billed 17 hours (@$85 per) for a single 8 hour day worked. The mechanic working for someone else, gets paid for the job at a reduced hourly rate for the hours defined in the 'book' (usually a CD/DVD or online software like Alldata).

For instance.. let's say o2 sensor replacement says .5 hours in the book. The mechanic does it in 10 minutes, including time to lift the car up for access to the exhaust system (although sometimes that's not even necessary, and they are visible when you look under the hood). The mechanic gets paid for a half an hour, say $12.50 ($25/hr for an experienced mechanic in many markets). The shop turns around and bills you 1/2 hour labor @ $85-125 per hour, everyone makes money.

Here's where it gets better. Book rate 'usury' is based on an established set of rates, by a third party. Many shops actually overcharge even the already excessive book rate. I just had a shop attempt to charge me 1.5 hours of labor for an o2 sensor. When I argued about it, knowing the 'book' rate, the labor charge got cut down to a more reasonable number. The mechanic literally tried to charge me labor time for driving to a mexican restaurant down the street, bringing lunch back, and eating it, while having a friendly 45-minute lunch, chatting me up the whole time.

8) Mechanics have to spend so much on their certifications and tools, that they have to resort to theft and usury just to make ends meet? I call BS on that one, straight up. I have bought a complete set of shop tools before, and other than the very expensive ones, made by companies like Snap-On and MAC tools, do cost a small fortune. Far more than they are worth. You know how these guys get hooked on them when Craftsman will more than do the job? Three ways,
first, they offer financing. A $20,000 roller tool chest/cabinet that's worth $50k after it's filled with overpriced tools, looks attractive when a guy can have it for $200 a month. They can't finance 5k worth of Craftsman tools like they can Snap-On. The second way is by offering things like a student discount. The third method is the same way the industry sells you on stuff, pride. Especially in Southern California, where people all over the place brag about how much they spent on whatever. Back on the east coast, most of the folks I know and love brag about how good of a deal they got, not how much they overpaid.

I love great tools as much as the next guy, but I can tell you that for $300, I can have 98% of the tools necessary to do just about anything on a car. For $1000, I could do a complete overhaul, sans machine work, including several pricey specialty items for at least one car make (which is common for most home automotive enthusiasts). Most mechanics pay off that $20-50k in tools within 3 years, many do it in less. How does that compare to the 3-500K in debt that a doctor incurs just for schooling and has to pay a huge malpractice insurance premium whether they ever have a claim against him/her or not? It doesn't. There are many other professions that incur a huge debt to get into. Aviation mechanics are required to have a lot more certification and tools.

9) Outright theft is rampant, and largely unnoticed, and then often not prosecuted. Back when I didn't ever touch my own car, many years ago, I had an extremely reputable shop charge me no less than $12k to fix a number of long-ignored, somewhat difficult maintenance items on a BMW 750iL that cost $7k originally. Had everything been done as paid for, I would have only called it my fault for accepting the deal. It was over the course of 3 visits at about 4k per visit, claiming to do some major maintenance work. It was a very expensive lesson, when the very same items got looked at by a shop 3 months later, and were found to be completely un-repaired. I will never forget that experience. My fiance took her still-under-warranty Honda to the local dealership for an oil change, against my advice (you can't always teach people by explanation, they have to see it for themselves) and got informed she needed new brake pads in the front, for $300.

I can tell you personally that for a mechanic with a car lift and air tools, after the 5 lugs for the wheels come off with an air impact wrench, There are two caliper pins that come off, and the brake pads slide out after removing the caliper from the bracket. I can do it without a lift in any driveway (it doesn't even have to be perfectly level) in about 30 minutes, both sides, including spreading the caliper with a large pair of channel-lock pliers.

The other 'special' tools you need for the job are a flat-head screwdriver and a basic wrench set (gear wrenches are a huge plus, and if you fork over $80 for a nice set, they will get used every time you open the hood). New pads on average run about $45-60, and that's if you don't buy them for $20 from a place like rockauto.com. If you're going to replace 3 year old pads, you need to replace the rotors. 'Turning' or resurfacing the rotors takes metal away, and while it may provide a nice surface for your pad, you want your brake rotors to have as much metal as possible, but the full explanation of the engineering principles behind braking is a topic for a different conversation.

If you buy your rotors from the dealer, they will charge you a small fortune for machined hunks of cast steel. Always buy the cheapest rotors you can find, you will find that these hunks of steel are all basically equal. You don't get anything for your money buying expensive hunks of disposable steel. Dealers, auto-parts stores, and aftermarket vendors rely on people's ignorance of the physics behind braking and the purpose of brake rotors, to imply that paying $150 for a single brake rotor when you can buy one for $28 actually makes some sort of sense.

I check all my various parts stores when I need to buy anything, to figure out who has the best price, including shipping or tax (or both in rare cases), and I often find the shipping cost for brake rotors far exceeds the price including tax for locally picking them up. This isn't always the case, shop around.

10) Myth smithery at large: If you have a car, and you're 'enthusiastic' about understanding and working on it, you have a far greater vested interest in maintaining or fixing it properly, and at minimum cost. Ergo, you are going to purchase the tools you need to properly diagnose it, these days, that's usually a OBDI/II code reader of some type, and a $10-20 digital multi-meter. Between those two tools, you can test/diagnose most of the electrical components in a vehicle, and obtain the excellent information contained within the OBD (On-board diagnostics). Here's the problem, cars are complicated systems, and in many cases, the information isn't perfect, although if you have a code for an o2 sensor, replacing it generally clears the code (and increases your fuel milage by 10-30% depending on how bad it runs with a failed one). They last 60-80k miles usually, so replacing them by 80 or every 80k is very recommended.

11) New parts, used parts, salvage yards, and take off parts. What most mechanics do when you need something for your car is order it from his local auto-parts store or distributor, and the distributor delivers it for free in his Ford Ranger or similar tiny truck, and the mechanic marks it up 50-100% and writes down the new number on your bill. I don't know about everyone else, but I shop around. The old excuse is let the guy make a little on the parts, I can't buy it as cheap as he can. In general, the re-sale business is predicated on entities buying something for less, (usually in some volume) and selling it at a competitive markup. This is a tried and true business model, that works. For $50 on a $120 item, I'm happy to spend a little time shopping and order the parts I need. Most people don't go into a shop knowing what needs to be fixed, much less what it takes to fix it, or what parts to order.

Many parts can be purchased used but functional from salvage yards, or even better yet, although many of them have taken to charging 50% of retail for parts with 60-120K miles on them. You have to shop around there as well, just like anywhere else.

Take off parts are something different entirely. Let's say you go into a shop and ask them to install an aftermarket exhaust. They remove your stock one, install the aftermarket one, and unless you specifically ask, keep the old parts. Dealers are the worst this way. The mechanic then takes the money he made from overcharging you on labor (book rates are an overcharge, it's labor charged for labor not performed, and most mechanics who have been working for two years can do the majority of book rate jobs in half the time specified in the 'book'), and then take your perfectly functional, relatively expensive parts, and sell them on craigslist, ebay, or an enthusiast forum for some good undocumented cash. I recall talking to a mechanic at an Infiniti dealer who bragged about making over $25,000 in one year like that, and showed off his expensive toys to prove it.

Most people assume that if someone's does it for a living, they know more about it than you do, this is not really true. You know instantly if something's wrong with your car, you can feel it through the floorboards, or in the throttle/braking response, just having low pressure in one tire can cause the car to wander, forcing you to correct as you drive in a straight line. Looseness in the steering feel is due to worn tie rods, or other sacrificial suspension joints such as bushings, ball joints, etc. Most all of these are designed to be replaced relatively easily, and at a relatively minimum cost because they are WEAR items. Really, every single thing on a car is a wear item, but some much more so than others. The methods for checking these things including wheel bearings, largely revolves around wiggling the steering wheel around while someone else looks under the car to see where the joints have 'play'. This isn't rocket science, it's not even automotive engineering, and quite honestly is a lot like playing with an erector set and looking for the weak link. An untrained eye if looking at the joints closely, can see where the play is, and in most cases, visual inspection is the only diagnostic method available.

So, what's up with this industry? We are so reliant upon the automobile, and yet it is often our collective blind spot? Don't we all have a vested interest in making sure we're not getting shafted? Where's the value? Why is it if someone smiles and gives us a false sense of security, we accept financial buggery as a matter of course?

Let's look at this from an energy exchange perspective, favored by the 'Burners' (People who attend Burning Man).

I work at a decent salary, and I also do a certain amount of side work, for an hourly rate. Let's say that rate is $75 an hour. I also have a retainer job that adds a modest amount monthly, and doesn't always require attention, but that's special, and not usury by any stretch, I am generally relatively generous about billing for overages.

In an energy exchange, I put out a certain amount of energy. Usually for an hour billed, it's about an hour and 15 minutes of fairly intense mental concentration, using every tool at my disposal, and my not inconsiderable experience, gained from starting out 'building computers' 20 years ago, and being a unix sysadmin and adding quite a bit of networking/security skills over the years, all gained via mentors, self-teaching via O'Reilly books, classes, and search engines/forum and mailing list posts, etc.. The amount of energy behind that hour is immeasurable by me, and quite a bit more than that hour would indicate.

Now, I feel, that I offer a distinct value to my clients. I'm fast, experienced, and a 'pit-bull' when it comes to figuring out something that's stumping me. In order to justify myself to my own code of ethics, if I don't put out an hour's worth of work, I don't bill an hour. It makes sense to me and my clients.

Even more importantly, while it used to be that mechanics were relatively inexpensive, fair, and basically honest folks, those days are long, long, gone. Every hour I invest in my own knowledge and experience with my car is worth it. If it takes me 2 hours to do something that a shop could do in one hour, it's still a good investment. If I made $450 per hour, I would drop it off and pay the $125 an hour all day long, but when 2 hours labor is more than I make in a day at my considerably more complex and rare skill-set occupation in a day, than the energy exchange is off-balance. The entire monetary system is about equal exchange of energy.

Why is it that American business has the saying 'It's nothing personal, just business' as an excuse for lying, stealing, and generally screwing people in the name of the almighty dollar? Part of it, is that we don't have time to educate ourselves, or are afraid of the learning curve. Part of it is that we buy into the expense of having our own mobility, ego-fulfillment, and this perceived self-reliance that allows. Part of it is that cars are FUN to drive. There's something intensely satisfying about being able to hurtle through space much faster than any human could on any human-powered transportation. Why do people who don't have the skill or interest to drive at 170MPH properly on a racetrack buy cars that are designed to be able to? It's a blast! I totally get it.

Ludicrous maintenance costs are accepted by the American consumer, unless you buy a Toyota and for the high line brands, (anything that sells for over $50k new) it's a matter of course. Every car has it's special tricks and issues, and the occasional specialty tool, but all internal combustion engines needs similar maintenance, and have nearly identical diagnostic methods.

Why is it that in every other industry, we have an expectation that value received is in some way commensurate with dollars spent? Why do we accept usury, theft, and lying from automotive industry businesses and why is it we have laws to protect against that sort of stuff, but we're all still getting shafted? The answer is sloth, complacence, and the fact that it's largely a unified front. When I find a good mechanic (I've found 3 in my lifetime) I refer them all the business I can. I look for guys willing to bill me on hours worked, not book rates, and in the rare circumstances where I simply cannot deal with the job myself, I will take it to the professional, who provides what a professional should provide:

1) Value. I take it to the pro, because he can diagnose and resolve the issue in less time than it would take me to do it myself, and because he has the tools or diagnostic equipment to do the job cheaper, faster, and better than I can myself.

2) Honesty. In anybody I do business with for literally anything, honesty is a must. I control that by voting with my wallet every single chance I get. I will happily speak up loudly to call out those who do not do honest/fair business.

3) Experience. I've worked on 25 cars in my life. Your average mechanic sees that many in less than 2 weeks. 3-7 cars per day isn't uncommon for a good mechanic who works a little more than an 8 hour day.

The unfortunate reality is that none of these things are a given. When you go to a shop these days, mechanics tell you that you need to replace super expensive items, pulling these answers out of their asses, and most people go for it. A recent example is where I'm being told I need to change my catalytic converters on my 16.5 year old BMW, because the HC's are too high.

The reality is that the engine was running rich due to knock sensors being bad, and the ignition is incomplete because the coil packs are 16.5 years old and 154,000 miles old, and the combination of under-hood heat, vibration, and petroleum products takes it's toll on copper-wrapped ignition autotransformers (coils). A great article explaining ignition coils is here:


I tested the coils individually and found them either just at the upper limit of the acceptable range of impedance (.8 ohms) or over it. I bought a $20 digital multi-meter to test this, it took about 30 seconds for each one times 6 and about 5 minutes to open the hood, hook up the light, and remove the plastic cover from the top of the engine. BMW factory coils are over $80 a piece, without the boots to connect them to the spark plugs, but if you don't require a BMW part number stamped on them, FCP Groton sells a set of 6, including the boots for $150.

Obviously, this entry has taken on a life of it's own. I probably could have written no less than 10 separate articles, and it probably would have been a little easier to follow, but sometimes you just have to dump all the passion into one shot. I believe I've been typing for a little over 2 hours now, so it's time to close!

Peter















Monday, November 1, 2010

Stop with the "Core" in your name already..

It's been almost a year since my last entry. Boy time flies when you're building a telephone company!

Lately, I've been noticing some trends in the industry, that are really starting to bother me a bit.


1) Stop blowing money on a corporate image change and focus on better delivery of core services at lower prices and better margins.

No more "Core" in your name. It sounded cool when I was watching Beavis and Butthead.

Heh heh. He said "Core".

2) Stop with the managing of expectation, and take some pride in rolling up your sleeves and getting the job done.

Pay special attention to MTTR (Mean Time To Resolution), that is the most important factor.

When software functionality that's both obvious and critical gets ignored for 3 years, or routine support issues get dragged out for weeks because the person who's capable of dealing with it is "busy" or an outside vendor, people are understandably upset.

Pretty much the only valid response for a support organization is one of a triage surgeon - what can I do to stop the bleeding and ensure this type of injury never happens again?

Oh yeah, everyone's in the support organization. Sales, product, customer service, support, even the janitor.

It's just as true for the emergency room as it is for MSP's, ISP's, Telecom, in house IT organizations, and just about anybody in a support role in any industry.

3) There is nothing worse than someone non-technical who can't do anything useful for the problem to spout off about it incessantly, only to backpedal later and act sheepish. If you're out of your depth, or can't bring anything useful to the conversation, less is more - bow out gracefully.

4) Escalate. If someone's asking for escalation, they pretty much mean it. Any support request more than 2 days old is perceived by the customer as a "bad" support incident. Conversely, almost any response in less than 2 hours is considered "good", even if it's just a request for clarification from Tier 1.

5) Clarification. The engineer needs to be absolutely certain that the issue as they know is the issue. Don't trust any source but the customer. There's nothing worse than blowing an hour trying to troubleshoot an unclear issue. Conversely, reward complete information with the speediest possible service. When there's an opportunity for dialog leading to resolution, get on the phone faster with less information and get it straight from the horses mouth. This is where those hacker-style social engineering skills really pay off. NLP for dummies is also a strongly recommended read, to help you develop a rapport as quickly as possible with the customer.

6) Callback sooner rather than later. In my Tier 3 support role, I will often get up early and make the first few calls over coffee. Nothing says "Your issue is important to us." like a phone call. There is nothing that makes someone happier than having their issue picked up by someone who can actually do something about it.

7) Process is important in a support organization, but when it gets in the way of support to the degree that issues sit around for a week or two, there's a problem with the process. If your organization is in between 5-200 people, you probably have some process getting in the way of productivity. Make every effort to analyze and reduce all process overhead to as little as possible. Better living through automation and not replicating derived information.

8) When modeling your support processes, take cues from the big guys, but don't change your hold music to match them, and don't institute the process, if you don't have the man-hours to fulfill it. This one is the most often overlooked. When you're a 6-person shop, everyone should have instant messaging and pretty easy multi-line phone access. When you're a 50 and larger headcount, communication becomes more important than anything else. I strongly recommend using Google docs and a wiki internally for keeping information that everyone involved can edit and maintain. The key with this is maintenance, if you find something wrong in the documentation, you fix it and move on.

9) Accountability and Transparency.

What happened to "The buck stops here!"? What about "The customer is always right.", or commitments to timeline that actually mean something? There's quite a few businesses out there these days that are floundering because of a corporate attitude, not a lack in talent or resources. Transparency means, whatever the problem is, we empirically prove it out and address it so it can't happen again to everyone's satisfaction..

Companies I want to highlight who do an incredible job of transparency and accountability:

Sprint
Cisco
Adtran
TNCI

10) High level review.

Management at every level needs to be in touch with the customer experience. I cannot emphasize enough how important that is. Escalation needs to be able to go all the way up the food chain to the top if necessary. Even in a 500-person organization, the attitude of being willing to do whatever it takes to make it happen needs to be re-enforced everywhere.

Wednesday, December 16, 2009

LDAP on CentOS 5.x - Sheesh!

I've been beating my head against LDAP for the better part of a week, just getting it going under CentOS has been, well, quite the trick.

So, everyone starts with follow this guide, or that guide, follow the openldap guide..

If you've done all that and you still can't get a user account to log in, then you might need to look at the following things, which are nuggets only gleaned from much back and forth on the CentOS mailing list:

1) /etc/ldap.conf

nss_base_passwd dc=my-domain,dc=com?one
nss_base_shadow dc=mydomain,dc=com?one
nss_base_group dc=mydomain,dc=com?one
ssl no

I'll post some more ldap twickuhwy later.

Peter

Thursday, July 30, 2009

To co-locate, or not to co-locate.

Many small companies run their own mail server, often running Exchange, and getting increasingly popular, some sort of *nix based MTA. The biggest mistake small companies make is investing too small, too cheap, which ends up being significantly more expensive. Not just in time/energy wasted, but in actual $$$ outlay.

1) Real Estate.

Renting a small office that can hold 10-30 people is not cheap. Often, things are cramped and the servers get tucked into a closet with inadequate ventilation, or a back corner under on a shelf somewhere. The space, that gets set aside for a server or 5, and random storage, could be much better served by having a revenue-generating human in it. That space costs the company more than $50 a month, and often costs more than $300 a month, if all utilities are pro-rated for it.

2) Suitability of environment.

How often do you see a small company with a server / network gear closet that runs at 85-90F in the summer? How much less efficiently does that machine run, in terms of power consumption. Higher temperature equals less efficiency from every component, and more bit errors. Heat sinks can only sink heat to the ambient temperature, and inside the case, it's over 100F!

A common practice is to put a 5-15K portable air conditioner in the closet. How often is warm air evacuation overlooked! Those units cost several thousand dollars, and require the reservoir to be emptied, or a drain line run, or they shut off when the collect enough evaporation.

Warm air evacuation needs a 5-8" hole drilled through, preferably an external wall, so you can get that hot air out of the office! I've seen companies stuff it into the dropped ceiling, only to have the heat have nowhere to go, and fall right back into the room, or not evacuate the hot air at all!

Random risk of fire, flood, and power outages. Many smaller companies are located in areas that are mixed residential, retail, light commercial, and are located in the first or second floor of buildings with way too much fuel for fire in them. How about sprinklers? A good sprinkler system will dump 1-50K gallons of dirty water on a building as soon as they heads heat up enough. A bic lighter will most certainly set one off.

3) Security.

Does every small office building have a good security system? You may think so, but places get robbed all the time. Dumpster diving is still a huge source of information for a good hacker, but that's another story for another article ;) Most colocation facilities have multiple points of security, humans, cameras, keycard and / or biometrics, and finally locked cages. Couple that with labels that are only internally referenced descriptors, and you're fairly tight. Much tighter than the home office.

4) Bandwidth and availability.

If you're in a co-location facility, chances are you're sharing some pretty robust network gear with a bunch of other people. If you're having a problem, a bunch of other people are having a problem, so the economy of scale in maintenance and initial layout of that gear is there. Using a random little netgear GB switch you picked up at Office Depot for your gear is stupid. If you really don't have the budget for real network hardware, go to Ebay and buy older stuff on the cheap. I can pick up a Cisco 3548 layer 2 switch for less than $100. You do not need Gb Ethernet for your mail server. You don't even usually need it for a file server. There's nothing wrong with using Gb cards to run at 100Mb, make sure you hard set all ports to "speed 100, duplex full" on both the switch and the servers, and you'll be pleasantly surprised.

Bandwidth at the office, unless your business is PUSHING huge files out to clients constantly, should access bandwidth only. Get away from the idea of serving anything from the office. At that point, you should go ahead and put your whole development environment, into a co-lo anyway. Get used to the idea that you don't have to touch the gear physically to have full access and remote supportability!

5) Cost, or a simplistic case study.

Random server at the office to do mail costs $2500.00, circuit to host random server (a single T1) is commodity-priced at ~$400 in most metro markets. Real estate, power, A/C costs at least another $100 a month anywhere, and that's conservative!

If you consider the server to have a 4 year life-span, that's a total per year of $625 for hardware, $4800 a year for the T1, $1200 for the space/lights/power/cooling. Quick math calls that $6625
per year, not counting licenses, administration, or troubles to resolve.

Take the same server, make it a 1U HP, like a last-model DL360 G5 (the G6 is out). Buy it used if you're really pinching the pennies, or new with 5 years of support for around $4K. Put it in co-location for $50 a month, including power and bandwidth. Get business DSL at the office for $200 a month or much less. $1000+$600+$2400=$4000 a year, a net savings of $2625.

The real estate can be a little cheaper at the office, but the bandwidth is nowhere near as good and cheap. Every situation is different, and scale affects things a lot. Individual situations require individual attention, and this model assumes a greenfield deployment, where most people are dealing with what they have first.

Anyone is free to contact me with questions.

Wednesday, July 29, 2009

Adtran Routers, 95% of the functionality for 50% of the price of Cisco.

Adtran is a well-known vendor in the telecom community, but as people start moving small business from traditional phones and Key or Hybrid Key/PBX systems into the exciting and considerably less reliable (during the first 30 days or so) world of VoIP, with truly converged DIA (direct internet access) and VoIP, Adtran is getting better known, because they are a great vendor.

1) 10 years support/warranty out of the box with no additional contract.

ZOMGWTF! Ask Cisco how much that costs for smartnet for an IAD for 10 years. You could buy a couple of them as spares for that.

2) 95% of the functionality, 50% of the price.

We all know Cisco gear is pricey, but is it really better? Technically, yes. SNMP support is more robust on the Cisco device, if you want to be able to do a GET NEXT on a table that lists your current firewall sessions, Cisco's MIB's will support that, Adtran's won't. They didn't spend quite as much time/money engineering the ability to pull every minute detail out it via SNMP.

Another mild failure is that in some very outlying ancient protocol support environments, the Adtran IAD gear just won't cut it. It's very rare though, again, 95%.

M0stly, though, the important stuff is there. Again, this is a price/performance opinion, not a line by line comparison of who's better or not.

3) Reliability?

About the same or better. Much more streamlined support organization. Instead of having to wait 30-60 minutes waiting for a callback, and attempt to give all kinds of technical details to someone who clearly hears everything you say as "blahblahblahblahblah", you get into a support queue fast, and if you have an issue, the guys aren't bad. If it goes over the tech's head, or has hit a bug, it goes right into engineering. There's about as much visibility into engineering with Adtran as there is into Cisco, but it's a lot faster to get access to.

Who uses them? All kinds of people. Probably the most notable one I can think of is Verizon. They use Adtran extensively throughout the network. If Adtran made a competitive product to the Actiontec routers verizon pushes into everyone's house with FIOS, Adtran would probably have that business. They also make some more hardcore telecom gear, because that's where they come from, the telecom business. CSU/DSU's, MUX's, all kinds of ubiquitous gear you find at a phone company.

Tuesday, July 28, 2009

The incredibly under appreciated wget.

Everyone has to suck some random files down from an ftp or http site every now and then, right?

I have to do this something like 12 times a week, usually.

If you're running MacOS X, or any variant of *nix, you may or may not be aware of wget and how cool it is..

Case in point:

Vendor X just posted a file on their ftp site, in this case, it's Dialogic, a major telecom vendor for carrier grade stuff.

[pserwe@host ~]$ wget -c --ftp-user=user --ftp-password=password ftp://ftp.dialogic.com/posted_file.zip

-c, my friends, is for continue, so if the transfer gets stalled, or there's some sort of transient issue, I can restart it using the exact same command line and pick up where I left off.

What's not to like? It's approximately 15 times faster than firing up some obnoxious GUI and sucking a file down.. I also get a really nice status line the entire time it's running..

--12:50:45-- ftp://ftp.dialogic.com/posted_file.zip
=> `posted_file.zip'
Resolving ftp.dialogic.com... 192.219.17.67
Connecting to ftp.dialogic.com|192.219.17.67|:21... connected.
Logging in as user ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD not needed.
==> SIZE posted_file.zip ... 55734149
==> PASV ... done. ==> REST 9646080 ... done.
==> RETR posted_file.zip ... done.
Length: 55734149 (53M), 46088069 (44M) remaining

100%[++++++++++++++++============================================================================>] 55,734,149 413K/s in 1m 50s

12:52:36 (408 KB/s) - `posted_file.zip' saved [55734149]

[pserwe@host ~]$

If there is no authentication required, for a lot of http or anonymous ftp sites, like .. mirrors.kernel.org for instance, you can omit the --ftp-user= --ftp-password=.

Even better example..

I have this vendor that makes this super expensive (major fraction of $1M USD) test and measurement system for telephone calls. These guys can sniff and break down a protocol like nobody else. They have to do software updates at various times that require a bit over a GB of files dumped onto my system.

They typically do it by pushing from their office over a 3Mb bonded T1 or fractional DS3 (not sure, probably bonded T1's though). It takes quite a bit of time at that speed.

I tipped them off to wget, and now they suck the files down from my system over a 1Gb link. It moves quite a bit faster! The actual source of the files is a server in Colo on serious bandwidth, so I get around 800K to 1MB/s pulling from there.

Good times, and time saved.. just by using wget.