Posted on 1 Comment

Twitter Ouch

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /home.

Reason: Error reading from remote server

Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request.

Growing pains?

Posted on Leave a comment

8am

The rest of the world is getting into the office about now. I’ve already been through a 3 page Word document of bug fixes. Already this morning, which began at 4:30am, I have coded enough that my head is buzzing. Yes, like a runner’s high, a programmer can get into such a zone that all else disappears. That’s one reason asking a programmer a question can be terribly detrimental. The mental exercise can be strenuous and leave your head throbbing. Anyone that doesn’t like calling the brain a muscle (and no its not a muscle) has never really had to think hard. Your brain can ache after some serious mental hurdles! I need a rest but cannot break the momentum.

Posted on Leave a comment

Ridiculous ColdFusion/Webserver behavior

Solved! I had a conditional statement that would insert the following code into the <head> on one template: <base href="http://<cfoutput>#application.gDomainName#</cfoutput>"> Still doesn’t explain why it breaks.

Original problem: I have a bizarre situation and I am clueless on how to fix it. I have written an application that works fine on my development server. On the production server urls with cgi variables are behaving strangely. I have set up two ways to test the behavior. The first is in the application structure of application.cfm->index.cfm->included_file_with_href.cfm The href submits to itself like this: <a href="index.cfm?this=that&you=me&foo=bar">the link</a> I have include a <cfdump var="#url#"> as line 1 of the application.cfm. When the link is clicked the dump shows:

struct
amp;foo bar
amp;you me
this that

Now I created a test.cfm under the same directory structure so that it is influenced by the same application.cfm (remember, the one with the cfdump at line 1): application.cfm->test.cfm and it submits to test2.cfm and the dump comes out as expected:

struct
foo bar
you me
this that

So what would cause ampersands & to remain as & in one scenario but translate to &amp; in another case on the same server? This makes no sense whatsoever!

The URL has to be getting screwed by either the web server or the ColdFusion MX7 server. Neither makes sense. Yes 7.0.2 hot fix 2 has been installed. IIS is current.

Other references: See also

Posted on 3 Comments

What’s the right way to attribute a source?

I am loving this discussion. Bloggers, programmers, and geeks need to jump over and join in the fun!

Update: I wonder how many people are linking to Michael’s post. Jail Lail has linked to it. He even twittered it. Music City Bloggers have it covered. Has the NYT actually linked to it yet? If so, how did they attribute their story?
See also: Technorati and be sure to digg it.

Posted on 1 Comment

Moan your IP address

Yesterday I mentioned a service that geographically tries to put your location on a map based on your IP address. An IP address uniquely identifies you (in some cases your network) on the Internet. If you are using a cable company or phone company for your Internet service, your IP address may periodically change. For privacy purposes or other reason you may want to know what the current address representing you.

As a side note, often the public IP address is simply that of the modem at your house. If you have a network behind that modem (which would be connected to the modem by a router), then the world will see all computers in your house as having the same IP address. Technically, the world thinks you have only one computer.

When I wanted to know my ip, I used to jump over to http://www.whatismyip.com/. But never again! From now on, I want a sexy girl to moan my ip! When you go to http://www.moanmyip.com/ your speakers need to be on. Although the voice might get you some looks, the site should be considered worksafe. If you are concerned, http://www.hearmyip.com/ is absolutely worksafe.

Make sure your toolkit of bookmarks includes http://www.dnsstuff.com/ and http://dnsreport.com/.

Posted on Leave a comment

Consulting – The Hardest Way to Earn an Easy Living

Yesterday I wrote of how various interviews over the past 2 or 3 years have failed to produce anything but rejection. I have written about how consulting demands extra hours and how immigration laws impact me. Today I read about Scott’s views on consulting.

40 hours of programming a week is intense. Every company that hires people wants 40, at least. That leaves you sapped, unable to muster the will or strength to work on your own projects.

Working a real job is a win if you’re lazy, greedy, or unmotivated. If you’re average, you fit right in. And if you’re above average, the basic terms of employement and premise of the arrangement is against your interests.
[Source]

Posted on 2 Comments

Where are those readers?

Do you like looking at your stats files? Do you often wonder just where all those IP addresses come from? For those that do not know, an ip address uniquely identifies a computer on the Internet. Type an ip address into http://www.ip-adress.com/ (note address is spelled with one d) and it will show you a map with an approximate location of the computer.