March 28th, 2009
I have created a simple a Norwegian home server site (hjemmeserver.no). It aggregates news regarding home server from different Norwegian new sites. At the moment I get news from the following sites:
hardware.no, vg.no, digi.no, dagbladet.no, nettavisen.no, itavisen.no, computerworld, pc world norge, dinside.no and klikk.no.
If you know of any other Norwegian sites with rss feed that might write about home server, please tell me!
Tags: home server, rss
Posted in Uncategorized | No Comments »
March 4th, 2009
A new version of the weather widget is out with some updates based on the feedback I got from users on this blog and on mail.
- Now shows a moon instead of a sun when displaying the midnight weather.
- Fixed a bug that made it sometimes show the wrong current weather when minimized.
- If you write in your custom name for a location and press save the choice will be saved for later and show up in the auto completion search.
- Added version to the setup page to easy see what version is installed.
- When a new version is out you will be notified when entering setup.
I had to create a new name of the .gadget package that did not contain the version number for easy upgrade in the future, but if you have the old application installed you need to right click the sidebar and select “Add gadgets”. Then right click the old weather gadget and select “Uninstall”.
Tags: gadget, weather
Posted in Uncategorized | 7 Comments »
February 26th, 2009
I created a weather report Windows Gadget with data from yr.no this summer and have been using it since then. I now decided that I would like to share this Gadget to others that might want to use it. The design is very simple since it was mean’t as private Gadget and I’m a programmer not a designer, but feel free to create a new design for me and I’ll include it in the application
For more information take a look at weather.larsolavtorvik.com. I used to have my old UWA widget at that address but I removed it for now, atleast temperarly. If you miss it feel free to tell me and I’ll share the code.
Tags: ajax, gadget, weather
Posted in Uncategorized | 3 Comments »
January 15th, 2009
I put out a new beta of filmprices.com 01.01.2009. This is a PHP project using the symfony framework. The new design is created by Marte Berentine Breivik. I think she have done an excellent job. The whole page is basicly rewritten with lot of improvments, especially regarding the search engine.
I have a couple of stores available for each market (Norway, Denmark, Sweden and UK). I will add more functionality and stores the next months and hopefully it will become a site both you and I will use when we buy our movies
If you find any bugs or have features you would like feel free to tell me here. I have alot of features on my todo list but allways good to hear what other users would like!
There will be alot of things happening on filmprices.com. I will try and update once in a while on this blog but I can promise yout that I will update filmprices.com more often then I update this blog! 
Tags: filmprices, symfony
Posted in Uncategorized | 1 Comment »
October 4th, 2008
Together with the server move I released a new version my regex tool.
- Improved logging.
- Fixed problem where long text strings would not fix their “box”.
- Fixed some typos.
- Fixed some misc minor bugs.
At the moment only PHP PCRE, PHP POSIX and JavaScript are enabled. Hopefully I will get the other up and running soon too, but I need help from my host to get the problems solved.
Tags: regex
Posted in Uncategorized | 14 Comments »
October 4th, 2008
I have moved larsolavtorvik.com to the new servers. Sorry for the short downtime. If there are any of my tools or other things that do not work as expected feel free to tell me here.
Posted in Uncategorized | No Comments »
September 4th, 2008
I just ordered a new dedicated server in Norway, for my projects. Mainly my filmprices.com that I’m working hard on these days. Hopefully I will manage to get something decent out this fall. It is my never ending project so you never know
The dedicated server was very expensive so I also plan to rent out some web hotels to family and friend. So if you fall inn under one of those categories feel free to contact me if you need a web hotel or maybe just would like your own domain for your e-mail! I would gladly help, and you would also help me cover some small part of my expenses
I will slowly be moving my projects over to the new server when everything is up and running.
Tags: filmprices
Posted in Uncategorized | 4 Comments »
June 10th, 2008
As I blogged earlier I wrote a small widget for the yr.no competition. I had limited time and ran into some issues on while developing it. You can read more about it here. So to my surprise I actually won one of the categories and recived my Asus Eee last week. Seems the competition was time well spend afterall, because now I have a new toy 
Tags: weather
Posted in Uncategorized | 3 Comments »
May 2nd, 2008
I use Zend Studio for Eclipse, Version 6.0 for Windows for my coding. This is the first version from Zend in Eclipse. It is a good application but it still have some major bugs. One of the problems is if it crashes to often. Sometimes when I try to restart it after a crash it just hangs on “Loading org.eclipse.php.core”. When you get that problem it doesn’t help to restart the machine. Uninstall and reinstall sometimes works, but not always.
After a while I found out that deleting the org.eclipse.core.resources seems to solve the problem. You can usually find the catalog on
C:\Documents and Settings\\Zend\workspaces\DefaultWorkspace\.metadata\.plugins on a Windows machine. The only thing you need then, is to import your projects again. Actually quite easy solution.
I just found out by accident while I was writing this post that deleting catalog org.eclipse.core.runtime instead also works. But I would not recommend it! The program works fine and I haven’t lost my projects… but I have lost all my settings! So I need to once again set up my Zend with UTF-8 text encoding, unix line delimiter, my custom formatter and more… Much easier to just delete org.eclipse.core.resources!
Hope this advice can help others that are struggling!
Tags: php, zend studio
Posted in Uncategorized | 3 Comments »
May 1st, 2008
Last week I saw a contest on yr.no. Create an application that uses their weather data. They gave away prices for 3 categories; web, desktop and mobile. I had a long time considered making a weather php lib so I decided to join.
First I created a general weather php lib that gathered the weather information from yr.no. Then I had to decide what application I wanted to make. I actually decided to make multiple small applications. One netvibes UWA widget, a facebook application and wordpress widget. I knew I had little time and the other competitors had 5 week head start on me but I wanted at least try.
I started on the UWA widget… and actually never got any time to start on the other applications. It was fun to work with UWA but it have some severe restrictions. To list a few.
- Not allowed with external css and js files. This was a major problem since I decided to use Google Maps to get the longitude and latitude needed of the weather api I had decided to use.
- According to netvibes it is not possible to create a auto completion text box in their preferences. Still think there should be possible to find a way to do it… but haven’t found one yet. If this was allowed I could have used it as way to select location instead of Google Maps. I really didn’t want to use the old fashioned post to get the location, it is just to boring!
- Since you can’t load external js file I was advised to use my Google Maps in an iframe. This would solcethe problem. The only problem was to send the values back from the iframe to the preferences. Since a UWA widget is automatically part of the netvibes.com domain but the iframe is on my domain. There is security restriction that won’t let you access the parent elements functions. This was a major hassle! Thanks to this article I found a solution using javascript and hashes. It work excellent in browsers like Firefox but there are some issues in browsers like IE7. You actually have to change the security settings in IE7 to make it work. And if that wasn’t enough it will not work at all on some browsers if my widget is inside another iframe and thats how netvibes.com add you widget to their page. So on some browsers it works fine in stand alone mode but you have to set the longitude and latitude manually on other browsers.
- The applications in UWA is supposed to automatically work on lots of other platforms like iGoggle, Windows Vista Gadget, Opera Widget, Yahoo Widgets, Mac and more. I have only tried it on iGoogle so far and it doesn’t work and I can’t see I get any error messages. A bit annoying but haven’t really had the time to debug and figure out what is wrong. I’m guessing since I have problems with iGoogle that is supposed to be one of the easier ones it will probably not work on the others either. I will have to try that some other day!
So these problems took way too much time and is the reason why I didn’t manage to create more application. Since I didn’t even manage to make the UWA widget work perfect in all browsers I don’t think I have any chance of winning. Not that my idea was that creative. Probably someone else that have created something better and more creative since they had 6 times as much time
But it was fun to finally try and create an UWA application.
Take a look at my weather page on http://weather.larsolavtorvik.com/. Not the prettiest page but at least I have some more information there, including a download for the whole source code fort he project.
Tags: weather
Posted in Uncategorized | 2 Comments »