• Latest posts
    • experimental software and bugs
    • YAPC day 1 and 2
    • Chicago, heading for YAPC::NA 2008
    • Google App Engine and NSB
    • Lazyness!
  • Links
    • EasyCMS2 demosite
  • Projects
    • EasyCMS2
    • Net::LDAP::Moose
    • pyWeeStatus
  • Random
    • About me
    • My life as a developer
  • Twitterings

    • 14th of July

      in life

      experimental software and bugs

      Soo, its been a while since my last blog entry. And that one was a real short one.

      The troubles began when I tried to upgrade alot of software on my server, upon which something decided to redirect POST /admin to GET /admin/, resulting in Catalyst never seing my login attempts. Hardcoding /admin/ in the form has fixed that for now. But as always, there is alot of other things one needs to do before fixing small issues like that one.

      Anyways

      After comming home from Chicago, which was a great trip all in all, I went to a concert with Seigmen. This show rocked my world. Its one of the best experiences of my life!

      Then I had some more time off, and visited my grand father, and spent some time with the whole family (which isn't saying a lot, we are a quite small family :p). That was great. Got to help out with some work that needed doing around my grand fathers house and boat house etc. Nice to do some manual labour every now and then :)

      A few more days of work, which was ok. Finaly got to release some of the stuff thats been in the pipeline for too long. I think we released new versions of 4 products during a time period of 2 weeks.

      Permalink

    • 18th of June

      in perl, yapc

      YAPC day 1 and 2

      Yay, YAPC::NA 2008 :)

      A lot of fun, a lot of great talks really. Got reminded to try out Smolder. Will try it with BuildBot.

      Permalink

    • 16th of June

      in chicago, travel

      Chicago, heading for YAPC::NA 2008

      Work in progress, will update with some links, pictures etc later

      Pictures

      Pictures at flicker

      Wedensday

      So, I flew out to chicago on wedensday, landed about 3pm (yay, confusing time telling!). My head was about 7 hours later, and I was sort of confused. I got my way to the hotel (After I found out I was miss-pronouncing the name of the street it was on, which gave me better directions :p). After checking in, and a shower, I figured I should try to stay awake untill at least 10pm.

      a-a-a-a staying awake staying awake

      This turned out a bit harder than I thought it would be :) I went to Millenium Park and walked around. There was some concert going on, but I had to keep walking to stay awake :p I saw the park, I went on to see the lake. It was quite nice! Alot of people, and nice architecture. I got very hungry, even though it was like 4am for me. I had some pizza at Giordano's, which was quite good, although way to much cheese for me.

      After walking and eating all night, I decided to head to the hotel. I feel alseep around 9pm I think. At 3am I got woken by a phone from Norway, and then at 530am by the alarm clock in my room, which somehow wasn't turned off. I couldn't go back to sleep, so I read some in a book.

      Thursday

      So, I got up and watched some TV. Had breakfast at the hotel restaurant. It was good, but alot of food :)

      I saw some US Golf before going out, and I went up and down the Magnificent Mile. I stopped by the Water Tower, which had a really nice little gallery in it. Somewhere along the way I went into the John Hancock Observatory, taking the elevator at 20mph up 94 floors. The overlook was great! Could see alot :) Comming down I had some of the best juice ever at Jamba Juice. It was lunch for me :)

      After that I went out to the lake, and walked south to the Navy Pier, where I walked around, looked at the boats, the buildings. Had a cheeseborger at Billy Goat (I try to eat as little as possible on established, world wide brands, just to experience something else).

      Finaly, I saw Wild Ocean 3D on the IMAX, since I can't do that at home (no IMAX in Norway). My legs was hurting by now, so I went back home to the hotel and relaxed with more US Open. Fell asleep sometime around 8 or 9pm (I know, not a good idea).

      Friday

      My plan was to get out earlier this day, but I just couldn't. My legs was sore as hell, so I had to take it easy. Sometime after noon I got out and went down to the museum park. I was hoping to do all 3, but the Field Museum was HUGE. It took the rest of my day, but was a great experience :)

      Another pizza at Giordano's again, but this time I had the stuffed version. Waay to much food :)

      More golf on the telly in the evening. Just too tired to go out and do anything else

      Saturday

      Headed back down to the Museum Park, and went to the Aquarium and the Planetarium. Both where great, but the Aquarium lost out to the one I went to in Valencia earlier this year. They had a dolphin show, but it wasn't even close to the one in Valencia.

      Had Chicago hot-dogs at Gold Coast Dogs, right around the corner from the hotel, which was great. I liked the ones with the split ends the best :) More TV in the evening, still knackerd.

      Sunday

      Jetlag starting to ease up. Went to the baseball game, watching the Colorado Rockies beat the Chicago White Sox. It was exciting and confusing :) The tension was high towards the end when white sox had bases full, when the last hit was caught, which resulted in 3 out and a 5-3 loss :/

      Got back to the hotel at about 5pm, headed to the shower, met up with Clayton Scott and headed to the Pre-Conference Dinner. The food was great, and after a few hours, Clayton and I joined the group heading back to the dorms to check in. Back and in bed by 1030pm, but read some more of the book I am reading, near the end, its very captive.

      Permalink

    • 12th of May

      in nsb, google, python

      Google App Engine and NSB

      So, I figured I'd use this day off work to test out Google App Engine. So far it has been little else than a disappointment:

      Organizing files

      I love to organize my files in folders. Templates for instance, I like something that maps my hierarchal urls:

      templates/
        admin/
          wrapper.dj
          index.dj
          people/
            wrapper.dj
            index.dj
            new.dj
            edit.dj
        index.dj
        wrapper.dj
      

      Now the problem is that if templates/admin/wrapper.dj references templates/wrapper.dj as this:

      {% extends "../wrapper.dj" %}
      

      It works when I render templates/admin/index.dj

      The second I introduce template/admin/people/* into the mix, I get deep recursion, because now the "current working directory" is template/admin/people/, and hence it references it self.

      I have yet to find a good solution to this. I wish the current working directory could be set somehow to templates/ or somesuch, so everything related to that.

      Handler-files

      I likewise like to split my code into several handler-files:

      lib/controller/admin.py
      lib/controller/index.py
      

      Now the problem is that both of these must have something like the following:

      def main():
          logging.info("in controller.admin.main")
          application = webapp.WSGIApplication(
              [
                  ('/admin', Index),
              ],
              debug=True
          )
          wsgiref.handlers.CGIHandler().run(application)
      
      if __name__ == "__main__":
          main()
      

      I really miss the Catalyst way of doing that mapping automatically from my code. I didn't know how much I loved just that bit before I tried Google App Engine.

      NSB

      Lastly, I must give props to NSB, the company in Norway that runs our railroads. They have free wifi on the line that goes from Oslo to where my parents live. This blog-posting was written on a moving train as I came back to Oslo. This is mad cool :)

      Permalink

    • 9th of April

      in curling, life, perl

      Lazyness!

      Boy am I a bad blogger!

      I'll basically not recap the missing period, but I will update you on the last week :)

      QA hack-a-ton

      This last weekend I attended the QA hack-a-ton in Oslo, hosted by the Oslo Perl Mongers. I went there expecting to do nothing but learn, and thats basically what I did :) I started out wanting to hack on CPANPLUS::Dist::Deb, but wound up joining the TAP-room to hear what that was all about. It turned out I liked TAP, and the work that was being done on it, so I stayed in that room for a considerable amount of time (basically 3 days :p). I learned a lot, asked a lot of stupid questions, and hopefully I helped a little in the end. Øystein and myself wrote some test-cases for the upcoming TAP-spec, which the guys seemed to like that we did.

      Go Open 2008

      After the hack-a-ton ended monday evening, I went to work for about an hour on tuesday before heading to Go Open 2008, an open source conference in Oslo, hosted by friprog.no. It had a lot of great speakers, including Adam Kennedy, Schwern and Chris Dibona to name a few. The evening ended with dinner and a show (Tolvskillingsoperaen, I don't know the english name, but its originally a german opera).

      Wednesday (today) I trained a sysadmin in some of the apps I maintain at work for a few hours, before I headed back to Go Open for some more talks. After the last, inspiring talk, I headed to the office, fixed a few bugs, and then we went to have dinner with some folks from the office.

      Twitter & Curling

      The Curling world championships for men are taking place, and I was watching Canada beat the Check republic when the curltv-feed broke :/ I also set up my twitter account, and started testing it out some.

      Permalink