About
Hi my name is David, I speak Korean and program in PHP. I drink lattes and post on humhum. WHAT AN INDIVIDUAL PERSONALITY. 안녕. 대철이라고 해. 난 한국말 말하고 PHP로 프로그램밍 해. 카패 랕태 먹고 HumHum으로 수다 더려. 어메이징!
Friends
-
Loading...kevincoffey 1 day ago -
Loading...ryan77 26 days ago -
Loading...bashford 1 day ago -
Loading...olishaw 3 days ago -
Loading...slater 3 months ago -
Loading...jontysharples 8 months ago -
Loading...markle about 11 hours ago -
Loading...sans 2 months ago -
Loading...drcongo about 19 hours ago -
Loading...isgood 8 days ago -
Loading...kittysloane 3 months ago
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
Click here to check if anything new just came in.
February 03 2010
February 02 2010
January 27 2010
Play fullscreen
Truckers delight
January 15 2010
Play fullscreen
Olbermann Slams Limbaugh And Robertson For Sick Comments
January 12 2010
Play fullscreen
Mistabishi - Printer Jam
January 08 2010
Play fullscreen
The Space Raiders
January 06 2010
php curl s3 tarzan select/poll returning error
ok for the last couple of days i've been blighted by an odd error that is affecting the staging server of one of my sites. i've been using the awesome AWS framework Tarzan to send files to S3 and everything was running fine up to christmas. i left for the christmas break and had a great time etc, but came back and the site no longer worked.
after much searching and debugging i finally tracked the problem down to curl producing this error "select/poll returning error". not tremendously helpful and no response seemed to be coming back either which really puzzled me*. thing is the code worked absolutely fine on my local machine.
anyway fruitless google searches, i decided to download the latest version of tarzan and just test a file upload in isolation on the staging server. what a good idea THAT was. it immediately gave me a skewed time error, which as it turns out, was the problem causing the uploads to fail.
the system time on my staging server had become 15 minutes out of sync with amazon's server time. as soon as i update my server's time to The Actual Time™ my uploads started working again.
Now I don't my server to lose track of time again so I did a little research found out about a neat wee app that keeps time for you called NTP and here's how you install it ...
$ sudo yum install ntp
$ sudo /usr/sbin/ntpdate pool.ntp.org
$ sudo /sbin/service ntpd start
i'm going to go and relax with a coffee now
* when i use words like puzzled or tricky, what i mean is i was screaming, shouting and throwing things across the room in a primeval rage
January 05 2010
Play fullscreen
Critical Thinking
January 02 2010
yeah baby !
December 30 2009
Older posts are this way
If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.


