Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Consulting
  • Resume
  • Nerd Herding
  • Talks
  • How to Plan a Website
  • Zend Framework

Posts Tagged ‘respect’

Man up! (A developer’s responsibility to their team)

Thursday, September 16th, 2010

Dear Reader,

Regular readers know that if I have to answer a question more than once, I usually blog the answer so that I don’t have to answer it anymore. This is one of those posts. Also, I do apologize in advance to my female coder friends, the title wasn’t meant to be sexist.

Twice in the past 3 months I’ve had the same conversation with two different people.

Other: Well, they did it, they chose <solution X> over <solution Y>. They are so wrong. This is gonna be totally fubar. I’m not sure I can support this decision knowing how stupid it is.
Me: Were you involved in the discussion?
Other: Yes.
Me: Then, now that the decision is made, you have two and only two options. Either get behind the decision and do your job, or leave.

(more…)

Tags: developers, Management, respect, responsibility
Posted in Programming | 10 Comments »

 

Respect Redux

Thursday, September 10th, 2009

Dear Reader,

Thanks to my friend Alison for pointing out this article,The unspoken truth about managing geeks. This is a must read for everyone who manages IT professionals. From Manager, to Director, to the VP and C-Level, if you have IT professionals below you on your company’s org chart you owe it to yourself and your developers to read this article.

Respect

One of the first points the author makes is that developers want respect.

for IT groups respect is the currency of the realm.

This is one of my favorite quotes in the article because it is so true. It’s also true that many in management don’t understand this and that’s sad. I wrote about respect back in 2006 in the blog post “It’s all about respect” and the fact that management can’t seem to understand this fact led me to write “Leadership in Software Development“, which encourages developers to step up into management so that the next generation of developers can have managers that understand this.

Jeff Ello, the author of “The unspoken truth about managing geeks” touches on several points that strike so close to home that I wonder if he’s not been watching the same things I have lately.

Just because you don’t like what is being said, doesn’t mean the other person is whining

Other than respect, I think the next most important take away from this article is made on the second page in the section about “victim mentality”.

IT pros are sensitive to logic — that’s what you pay them for. When things don’t add up, they are prone to express their opinions on the matter, and the level of response will be proportional to the absurdity of the event.

I’ve personally seen several scenarios play out recently that can be directly attributed to this behavior. In all cases, the “management” attributed disagreement from a developer as whining and ego when in fact things were going on that were not logical and therefore someone said something. What was said, was said in a “manner of fact” way and taken wrong because the person it was said to failed to realize the point of view of the speaker. (I’m being vague here on purpose)

I love Jeff’s call to action to help resolve some of the communication issues:

“Periodically, bring a few key IT brains to the boardroom to observe the problems of the organization at large, even about things outside of the IT world, if only to make use of their exquisitely refined BS detectors.”

To paraphrase, when your developers are complaining, don’t call them whiners or write it off to ego, look past the surface complaint and find out what the problem is. Chances are, there’s a real problem there and managers ignore it at their own risk. This is closely related to one of the points I bring out in “Open Teams“, transparency. Talking to your developers, listening to them and sharing both the good news and bad news will let you tap the brain trust you have built in your IT department to solve the problems that are facing your company.

I’m encouraged that others are saying these things now but still a bit depressed because even though others are saying these things, the people that need to read them, aren’t.

Until next time,
I <3 |<
=C=

Tags: developers, Management, open teams, respect, transparancy
Posted in Management | 1 Comment »

 

CIO Magazine Trolls and Gets Spanked Hard

Wednesday, January 30th, 2008

Dear Reader,

[DISCLAIMER: What you are about to read is my opinion and should not be construed in any way to be an official statement from my employeer]

CIO Magazine popped up on my radar this morning for an article they wrote on JavaScript. (I think I read coverage of the article on ajaxian.com) I noticed when I went to read the article that they also wrote one on PHP. I thought I would be delighted as I’ve been on their mailing list for several years now and thought that finally, they had caught a clue.

The article, “You Used PHP to Write WHAT?!” is the first in a series titled similarly that purport to examine different language options. A cursory read of the two articles published to date show that they do more to steer CIOs away from the two languages reviewed so far, I am assuming that the series will culminate in an article on the language that the magazine has “blessed”.

The PHP article however, is not only negatively biased, it’s factually incorrect and at times, insulting to those of us who use the language. I’m going to look at a couple of the statements that the author makes and discuss them. I will do my best to not take them out of context but I urge everyone to visit the article and read it for themselves instead of just taking my word for it.

There is no single right answer to every problem and PHP is no exception.

The author, Ken Hayes, gets this right. No one that I know that makes their living using PHP has ever suggested that PHP is the right answer for every problem. I speak only for myself in saying that it is the right answer for just about every programming problem I’ve tackled in the past seven years. Quite possible because I’ve made my living for most of that time writing web applications and in my opinion, it is the right answer for just about any problem you can solve on the web.

In particular, PHP is not thread safe—which means that multiple instances of the same routine may interact with each other, resulting in a crash on the Web server.

He is correct, PHP is not “thread safe”. I’ve built multi-million dollar web based applications using PHP and never once in seven years have I had two instances of PHP interact with each other, much less crash a web server. As a matter of fact, I can’t recall one single instance in my career where a “crash” (crash being defined here as bringing an httpd daemon down and a server not being able to serve web pages, dynamic or otherwise) on a server has been related to PHP. Yes, if you try real hard you can ‘fork’ PHP on Linux and do some shared memory operations if you have the right libraries installed but by-in-large, that’s an edge case. PHP applications are not written like that. I do invite Ken though to share his experience on the “thread safe” issue because I for one want to learn and obviously he has some knowledge on the subject.

PHP has suffered its share of security problems, and it isn’t particularly well-suited to large or extremely complex site implementations.

This is interesting because now Ken is tying one truth – that in the past, the language itself has had security problems – to a wholly unrelated supposition, that PHP isn’t well-suited to large or extremely complex site implementations. The supposition is not true, Yahoo uses PHP as it’s “glue language” and sites like Wikipedia and Facebook use it as their primary language.

Several dynamic or “scripting” languages, including PHP, Perl, Java and others, have their roots in the C language, which makes them a natural fit for developers making the transition from traditional application programming to Web programming.

The last time I worked in Java (it’s been a few years, maybe things have changed) Java was not a scripting language…I know, minor point but it’s just one more inaccuracy in the list.

Migrating from one database server to another is usually quite simple since most of PHP’s functions have a common naming convention. A programmer can do simple global pattern replacements to change from one database brand to another.

Now I know his target audience is C-Level and that means he has to dumb things down a bit (short words, small sentences) but really, this is just wrong. For all but the most basic select statement, SQL dialects are different enough so that changing the function name is just going to break your application, not allow you to move to a different back end. A knowledgeable author would have pointed to PDO or Database abstraction layers like the one in Zend Framework that will help mitigate the dialect differences.

When should you use PHP?
* Creating an intranet site.
* Prototyping an application that will be converted to Java or some other language.
* Creating a Web database application.
* Deploying an inexpensive or quick solution.
* Using ready-made apps from Sourceforge.net or other sites.

Now this is just insulting. PHP is not designed to answer the questions that Java is. (Mainly, how do you build a large, bloated application that will ensure employment of the development team?…now I’m just being naughty…ignore that last comment please) Oh and if there are an C-Levels reading this, when the author says “converted to Java” he means throw out everything you’ve done and rebuild from scratch. When I was a Director of IT, that was one of the main strengths of the language, not a drawback. Yes you can prototype in it, but then you can flesh out your prototype and finish the job, all without retooling.

But that’s not to say that PHP is always the best solution under every circumstance. In general you should not use PHP:
* Where data security is of high importance.
* In Shell or automated scripted applications.
* In enterprise applications where scalability takes higher precedence than economy.

Here, in my opinion, our author gets 0 out of 3.

The language itself has absolutely nothing to do with the security of your data. If it’s of high importance, hire programmers who understand this and can build your application accordingly.

PHP is actually a very good shell scripting language. As the author has already pointed out, it’s easy to learn but most importantly, your developers can leverage their existing skills instead of having to learn something like bash. It is true that there are cases, when writing shell scripts, that you have to ‘shell out’ to get the job done but if done properly, it’s no more of a security risk than calling scripts from within a shell script. Honestly, unless you are building on Windows, it’s an excellent choice for writing shell scripts.

Again with the scalability. I’m going to defer to someone I respect as an authority on that, Mr. Theo Schlossnagle. In an interview I did with him a while back, he had this to say about “scalability”.

Theo Schlossnagle:
I’ll just say that languages don’t scale. The word doesn’t even apply to a language. It’s like saying, “does English scale”. If you have a lot of people speaking English then I guess it scales. It’s really a bad word for talking about languages. Saying “Java doesn’t scale” simply means that the code you wrote in Java doesn’t scale well. That’s because of the code you wrote, not Java.

The entire interview can be found at “30 Minutes with Theo Schlossnagle“, that quote is about 1/2 the way into the article. I encourage you to read that section to get the entire context of the quote. (The fact that I’m quoting from an article on DevZone, again, does not imply that my views are in any way representative of my employers)

PHP is sometimes criticized for being slow, and detractors claim that it has somehow been crippled in order to prompt users into purchasing the Zend Optimizer.

It’s quotes like this that totally discredit the author even though he claims to be a PHP developer. A quick look at the “Zend Optimizer” page clearly states that Zend Optimizer is free. I really don’t know who he’s talking to about buying Zend Optimizer.

In larger implementations, PHP can suffer performance hits and may need an external boost from a caching engine.

I’ll do the author one better here, in medium to large applications you should most assuredly run a caching engine. That’s true of any scripting language. However, the author seems to ignore the fact that even languages like Java (which he seems to hold in high esteem) suffer from performance issues. Luckily for those of us who use PHP, the answers are usually free. (See above point)

PHP isn’t Java.

Finally a second correct fact in the article. PHP is NOT Java. I’ll give the author a point for stating this (fairly obvious) fact.

For large enterprise solutions, PHP makes a great prototyping or feasibility tool, but heavily loaded sites that require thread safety, security and stability should use Java.

Opps, here the author blows what little credit he got for his true fact. He also returns the the insulting tone of “PHP is a cool toy but ‘real developers’ use Java”. Sorry but no, PHP is faster to develop in, the solutions are just as stable if not more. The one true fact you have here is if you need a threaded application, where the threads need to interact with each other, then yes, you need to look at another language. Personally, I wouldn’t use Java but that’s because I spent a year in system administration and know what a royal pain it is to keep things like Tomcat running.

Now for the “spanked” part

I do hope you didn’t think that my analisys of the article was in any way “spanking” CIO magazine or the author. As of this writing, 30 comments have been added to the article that do a fairly good job of it. I won’t quote them all here or even rehash them, you can see them all nicely here on the Comments Page. I will however quote one…and I’ll do it verbatum because after all of the authors talk of scalability, performance, and security, this commenter spanked their ass pretty hard.

PHPGuru wrote:

Oh and btw, this very site uses drupal, a PHP CMS. I wonder if this site is secure and scalable.. hmmm.. maybe i should not use my real email address here on the comment..

Ouch! Ok, so either CIO magazine doesn’t consider their content very important, they don’t expect a lot of hits or they don’t consider security that important…or..they realize that they can build it faster, better, cheaper, and secure if they use PHP.

Hmmmm……

Until next time,
(l)(k)(bunny)

=C=

DISCLAIMER: The views expressed in this article are my own…go get your own.

Tags: CIO Magazine, fun, PHP, respect, Theo Schlossnagle
Posted in Long Form, Me, elsewhere on the Web, PHP, Programming | 7 Comments »

 

The Death of Civility

Friday, October 12th, 2007

Dear Reader,

When did we become a rude nation? I mean we are not France rude, but none-the-less, we are rude. I’ve give you 2 examples.

Language

I’m on my way back from a great time in California. I love the weather there (except today because it’s got me socked in at SFO) I’ve truly had a great time. But it struck me while I was out here that people out here cannot express a thought without punctuating it with a “fuck” or a “goddamn”. It’s like an epidemic out here. Casual conversation out here is R-rated and it doesn’t seem to bother anyone. I can remember when foul language was relegated to movies and late-night TV. I had lunch one day with a couple of colleagues. One of the members of our party could not find a way to talk in a conversational tone or complete a sentence without a profane punctuation. Even in California, people were starting to turn and stare.

People like to make fun of southerns but at least we still hold to the concept of “polite company” and temper our language when it may offend others.

Respect

In the past 2 jobs I’ve had in California, I’ve been the “Red State” on the org chart. it’s not quite that bad where I work but I am the vocal minority. However, there is one that, Democrat, Republican, or thinking voter, all used to agree on. When refering to a president, past or present, we use the honorific, “President”. I was listening to a conversation the other day between two people who were not not native Americans. One said something about conferences not being in America and the other immediately said “yeah, because of Bush”. (IMHO, ROW does not dislike America…Europe does. For some reason they feel they can speak for ROW.) To the point though, it’s “President Bush” not “Bush”. The Democratic party has produced the two most embarrassing presidents in my life time and I still have the civility to refer to them as President Carter and President Clinton. It’s not a sign of respect for the man, it’s a sign of respect to the office.

Anyhow, just felt the need to rant. If you think you recognize the people in this post, I can guarantee you that you don’t. Quit trying to guess and just flame me for having the audacity to have an opinion.

Until next time,
(l)(k)(bunny)

=C=

Tags: language, politics, respect, Silly-Con Valley
Posted in Long Form, Me, elsewhere on the Web | 2 Comments »

 
  • Friends of mine

  • My Latest Book


    Avoiding a Goat Rodeo

  • Follow me on twitter!

  • RSS PHP Podcasts

    • Episode 7: Web Sockets Are Fast
    • Better Documentation for PHP internals – Lately in PHP podcast episode 35
    • Episode 31: Feline Tooth Extraction
    • Episode #2 – Adam Culp
    • Episode 6: PSR-X and the Mexican Standoff
    • Episode 109: Typescript and a bit more…
    • A Better PHP Feature Voting Process – Lately in PHP podcast episode 34
    • Episode 30: It’s Episode 30, you guys
    • PHP Innovation Award Winner of 2012 – Lately in PHP podcast episode 33
    • Episode 29: Snappy Answers to Stupid Questions

  • Me, elsewhere on the Web

    • Best web design company
    • Cal Evans Dot Com
    • Cyrano’s Apprentice
    • Evans Internet Construction Company
    • My Life as a Child
    • PHP Podcasts

  • Categories

    • Apache
    • BlogBling
    • Blogging
    • Book Review
    • codeworks
    • Entertainment
    • Entrepreneurship
    • Flex
    • Humor
    • JavaScript
    • Long Form
    • Management
    • Marketing
    • Me, elsewhere on the Web
    • PHP
    • podcasting
    • Programming
    • SQL
    • Technology
    • Web 2.0
    • wordpress
    • WordPress Plugins
    • writing
    • zend framework


Postcards From My Life is proudly powered by WordPress
Entries (RSS) and Comments (RSS).