journal
all all entries rss SoML excited dreams runes YRUU ultimate KTRU skate sleepy nihongo
Rob is 20,117 days old today.
prev day next day printable version

Entries this day: The_world_is_becoming_a_better_place To_do Today_at_work Train_ride_nihongo

The world is becoming a better place

5:27pm JST Wednesday 31 October 2007 (day 13734)

Thanks to free software, the world is getting better and better.

HI Ed

Thank you for your Flickr extension!

Unfortunately, it won't work on my webserver.  I tracked down the
reason and added a check to your code.
http://wiki.edsimpson.co.uk/index.php/Flickr_Extension#Installation

I added

       if(! ini_get('allow_url_fopen')) {
               $output = "<strong class='error'>Flickr.php error: this PHP install does not allow_url_fopen</strong>";
               return $output;
       }

I'm going to check into my webhost provider (dreamhost) to see if I
can change the setting.

   Thanks!
   - Rob

--
The love that you give is the pain that you release.

Basically, I found some awesome free software extension that lets me add to the already awesome free software that powers wikipedia. The extension, unfortunately, won't work on my server because of a security thing they've got set up. So I went to the extension author's site and made the change (in his wiki) as mentioned above, then sent him the email. Awesome.

6:04pm JST

Even better: Dreamhost documentation showed exactly how to use a more secure tool to do this. Even gave the code sample. Now it works on my server, and I've patched the code mentioned above with the code below.

        #  use cURL if we can't use file_get_contents
        if(ini_get('allow_url_fopen')) {
                $rsp = file_get_contents($url);
        }
        else
        {
                $ch = curl_init();
                $timeout = 5; // set to zero for no timeout
                curl_setopt ($ch, CURLOPT_URL, $url);
                curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
                curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
                $rsp = curl_exec($ch);
                curl_close($ch);
        }
permalink

To do

5:04pm JST Wednesday 31 October 2007 (day 13734)

  1. move all my /downloads code to my wiki. Copy it or create corrections regarding 404s or somehow find all references to them in my journal.

  2. install Tag as Category extension on wiki.

  3. look at the Captcha technology and see if I can make it work for leaving comments.

  4. play with configuration of phpfreechat

  5. install gallery extension on wiki

  6. Look in to how the wiki sidebar is created.

7:50pm JST

Oh wait. fuck all that. I need to make the image thing work with SmugMug

permalink

Today at work

5:17pm JST Wednesday 31 October 2007 (day 13734)

Pretty good day at work today, if I count all the stuff I did for my website and chatforest. For work, I explained what was causing an error that they were about to retract all the files that got moved online today to fix (it wouldn't have fixed it), and I added my nice date checking code to another page with dates.

permalink

Train ride nihongo

2007年10月31日(水)19時17分 (13734日目)

かえる!かえる!カエ〜〜ル!ケロッ

み2!

三つ
後でねぇ〜!!ケロッ

18:59中目黒にとちゃく

おけ。
亜美は中目黒とうちゃく。

路武は座る

permalink
prev day next day