21

Is Eeyore Designing Your Software?

http://www.codinghorror.com

This classic Eric Lippert post describes, in excruciating, painful detail, exactly how much work it takes to add a single ChangeLightBulbWindowHandleEx function to a codebase at Microsoft:

  • One dev to spend five minutes implementing ChangeLightBulbWindowHandleEx.
  • One program manager to write the specification.
  • One localization expert to review the specification for localizability issues.
  • One usability expert to review the specification for accessibility and usability issues.
    Read more »
  • Created by suplexxor Created 7 weeks 4 days ago – Made popular 7 weeks 3 days ago
    Category: Programming   Tags:
    21

    Choosing Your Own Adventure

    http://www.codinghorror.com

    The Choose Your Own Adventure book series was one of my favorites as a young reader.

    Read more »
    Created by MQuack Created 9 weeks 3 days ago – Made popular 9 weeks 2 days ago
    Category: Programming   Tags:
    21

    Real-Time Raytracing

    http://www.codinghorror.com

    Like many programmers, my first exposure to Ray Tracing was on my venerable Commodore Amiga. It's an iconic system demo every Amiga user has seen at some point: behold the robot juggling silver spheres!

    Read more »
    Created by suplexxor Created 9 weeks 5 days ago – Made popular 9 weeks 4 days ago
    Category: Programming   Tags:
    21

    A Question of Programming Ethics

    http://www.codinghorror.com

    From the ACM Code of Ethics:

    As an ACM member I will

    1. Contribute to society and human well-being.
    2. Avoid harm to others.
    3. Be honest and trustworthy.
    4. Be fair and take action not to discriminate.
    5. Honor property rights including copyrights and patent.
    6. Give proper credit for intellectual property.
    7. Respect the privacy of others.
    8. Honor confidentiality.

    It's hard to square that with the following hair-raising tale Dustin Brooks sent me via email:

    Read more »
    Created by Bubbles Created 10 weeks 1 day ago – Made popular 10 weeks 12 hours ago
    Category: Programming   Tags:
    21

    Death Threats, Intimidation, and Blogging

    http://www.codinghorror.com

    I miss Kathy Sierra.

    Read more »
    Created by Erk04 Created 10 weeks 2 days ago – Made popular 10 weeks 1 day ago
    Category: Programming   Tags:
    23

    See You at MIX08!

    http://www.codinghorror.com

    Well, you won't technically see me at MIX08 this year. But you will see some very cool top-secret stuff Vertigo created in the keynote.

    Read more »
    Created by Angel Created 10 weeks 3 days ago – Made popular 10 weeks 3 days ago
    Category: Programming   Tags:
    20

    CAPTCHA is Dead, Long Live CAPTCHA!

    http://www.codinghorror.com

    In November 2007 I called these three CAPTCHA implementations "unbreakable":

    Google(unbreakable)

    Hotmail(unbreakable)

    Yahoo(unbreakable)

    2008 is shaping up to be a very bad year indeed for CAPTCHAs:

    Created by wonderlamad Created 10 weeks 3 days ago – Made popular 10 weeks 3 days ago
    Category: Programming   Tags:
    22

    Watir screenshot taker with

    http://feeds.dzone.com

    // description of your code here

    # for WATIR scripts by marekj testr.us
    module TestRun

    # TestRun.record(__FILE__,{:1, 'Bacon', :2, 'Apple', :3, 'Cheese'})
    #
    # writes or appends a yaml doc to file named filename as the file that invoked the method
    # ---
    # :1: Bacon
    # :2: Apple
    # :3: Cheese
    #
    # example: if __FILE__ is c:\foofoo\away\in\windowz\land\scirptname.rb then

    Read more »
    Created by toxic Created 10 weeks 5 days ago – Made popular 10 weeks 5 days ago
    Category: Programming   Tags:
    22

    Block many users in a system v0.1

    http://feeds.dzone.com

    Block many users in a system using a text file as argument

    #!/bin/bash

    #******************************************************************************#
    # BlockManyUsers.sh - Block many users in a system using a text file #
    # as argument #
    # Copyright (C) 2008 - written by flynets - #
    # BlockManyUsers is free software: you can redistribute it and/or modify #
    # it under the terms of the GNU General Public License as published by #

    Read more »
    mark's picture
    Created by mark Created 10 weeks 6 days ago – Made popular 10 weeks 5 days ago
    Category: Programming   Tags:
    20

    Creating a DateTime object with Ruby

    http://feeds.dzone.com

    This example creates a date and time variable which represents 22nd March 2008 4:30pm and 12 seconds.

    d2 = DateTime.new(y=200,m=3,d=22, h=16,min=30,s=12)

    Read more »
    mark's picture
    Created by mark Created 11 weeks 6 hours ago – Made popular 10 weeks 5 days ago
    Category: Programming   Tags:
    20

    Actual Performance, Perceived Performance

    http://www.codinghorror.com

    If you've used Windows Vista, you've probably noticed that Vista's file copy performance is noticeably worse than Windows XP. I know it's one of the first things I noticed. Here's the irony-- Vista's file copy is based on an improved algorithm and actually performs better in most cases than XP. So how come it seems so darn slow?

    Read more »
    Created by cider Created 10 weeks 5 days ago – Made popular 10 weeks 5 days ago
    Category: Programming   Tags:
    21

    google / urchin analytics

    http://feeds.dzone.com

    what up with this style of google analytics implementation?

    Read more »
    mark's picture
    Created by mark Created 10 weeks 6 days ago – Made popular 10 weeks 5 days ago
    Category: Programming   Tags:
    13

    I Repeat: Do Not Listen to Your Users

    http://www.codinghorror.com

    Paul Buchheit on
    listening to users:

    Read more »
    mark's picture
    Created by mark Created 11 weeks 4 days ago – Made popular 11 weeks 4 days ago
    Category: Programming   Tags:
    25

    Persistent Rails cookie session

    http://feeds.dzone.com

    Session cookies, the Rails-2 kind, are transient because that's safer. In some applications safety isn't important. The following makes the session cookies persist for a year.

    class ApplicationController < ActionController::Base
    before_filter :update_session_expiration_date

    private
    def update_session_expiration_date
    unless ActionController::Base.session_options[:session_expires]
    ActionController::Base.session_options[:session_expires] = 1.year.from_now
    end
    end
    end

    Read more »
    Created by macbeth Created 11 weeks 5 days ago – Made popular 11 weeks 5 days ago
    Category: Programming   Tags:
    12

    Fat models and how they change how you use the Model class

    http://cakebaker.42dh.com

    At the beginning of my time with CakePHP I used to write “skinny” models, i.e. they only contained association definitions and some validation rules, and nothing else. Everything was done in the controller using the methods provided by the Model class.

    Read more »
    mark's picture
    Created by mark Created 14 weeks 1 day ago – Made popular 14 weeks 11 hours ago
    Category: Programming   Tags:
    12

    jQuery: Easy JavaScript for Designers

    http://www.sitepoint.com

    It's a common misconception that JavaScript is just for coders. As Alex explains, libraries like jQuery can make tasks like adding animation or tweaking markup a piece of cake -- even for non-coders!

    Read more »
    Created by modrepublic Created 14 weeks 1 day ago – Made popular 14 weeks 11 hours ago
    Category: Programming   Tags:
    11

    Dessert #11 - Welcome back, Friendly URL’s

    http://www.thinkingphp.org

    Not too long ago you've all heard me saying Bye, bye Friendly URL’s. Now, after a lot of feedback and some more thoughts on it I came to what I find a nice compromise between REST'ness, SEO'ness, and FRIENDLY'ness.

    Read more »
    mark's picture
    Created by mark Created 14 weeks 1 day ago – Made popular 14 weeks 11 hours ago
    Category: Programming   Tags: