Out of the corner of my eye

Non Sibi, Sed Omnibus

Out of the corner of my eye header image 4

Entries Tagged as 'Web dev'

Where have you been?

October 8th, 2009 · 1 Comment

visited 19 states (8.44%)

Courtesy of Douwe Osinga (go there to make your own map), via Matt Cutts.

[Read more →]

Tags: Travel · Web dev

Scaling PHP apps on WAMP/WIMP

September 29th, 2009 · No Comments

Things I’ve learned about deploying a busy PHP application on Amazon EC2 WAMP/WIMP stacks
(the hard way)
In no particular order:
APC and __autoload
Rasmus said __autoload doesn’t play nice with APC.
This might have been true in 2006 when the blog post was written but it doesn’t seem so much following my tests (PHP 5.2.10 with APC 3.0.15). Our […]

[Read more →]

Tags: Technology · Web dev

Rails fails… again

July 29th, 2009 · 60 Comments

Actually this is Ruby I guess, not even got as far as Rails! Main Rails page says “We recommend Ruby 1.8.7″ but there’s no installer for it. I think over the years I’ve had more installs of Rails fail than succeed. Back to PHP!
C:\ruby>gem install rails
Install required dependency actionpack? [Yn]
Install required dependency rack? [Yn]
Install required […]

[Read more →]

Tags: Web dev

Unnecessary IE vertical scrollbar

January 2nd, 2009 · No Comments

This is covered in a few places for divs but the problem I had was with the top level web page getting a disabled vertical scrollbar that was unnecessary. Funny thing is, in quirks mode it doesn’t appear, and it happens in IE7! (99% of my IE struggles are with 6…)
To get rid of it, […]

[Read more →]

Tags: Web dev

First impressions of Twitter

November 12th, 2008 · No Comments

So, after reading Shoemoney extorting the massive traffic he gets to his blog from Twitter (does he need it?), I decided to finally buckle and give it a try. My first impression of Twitter?

At least I got 10 minutes of use before I saw the infamous “fail whale”.
I’ve tried really hard to think of something […]

[Read more →]

Tags: Technology · Web dev

XSL variable madness

October 14th, 2008 · 1 Comment

For some reason, “{$current_page+1}” parses as the variable with one added, but “{$current_page-1}” parses as a single variable called “$current_page-1″.
Spaces correct it.
What the hell?

[Read more →]

Tags: Web dev

The JavaScript arms race continues

September 19th, 2008 · No Comments

It’s been a busy month for JavaScript engines. Google pushed out Chrome with its V8 engine at the start of the month, featuring efficient garbage collection and hidden classes that boosted performance dramatically. Mozilla nonchalantly responded that they would soon be releasing their own TraceMonkey engine, with claimed increases over V8.
Not to bad outdone, the […]

[Read more →]

Tags: Web dev

Windows Server 2003 firewall silently breaking database replication

August 20th, 2008 · No Comments

If you open a port in the server 2003 firewall, be prepared for some things to silently fail, such as database replication: apparently a weird ‘reset’ is sent to everything that’s connected, but it doesn’t seem to work properly so some apps think their TCP connections are still established (such as MySQL). This can then […]

[Read more →]

Tags: Web dev

Deep Zoom Blog

August 12th, 2008 · No Comments

I’ve started a new blog about Microsoft Silverlight’s Deep Zoom technology, mainly out of personal interest. I plan to follow the release of new websites that make use of the technology, with the hope that we’ll see some nice innovative deployments. The Hard Rock Cafe’s Memorabilia is the first one I look at, as it […]

[Read more →]

Tags: Web dev

preg_replace: fix missing http in url

June 13th, 2008 · No Comments

$subject = preg_replace(’/^(?!https?:\/\/)/’, ‘http://’, $subject);

[Read more →]

Tags: Web dev