Published March 10, 2012 by
Vegard Økland
. Posted in Blog
A short summary of my master thesis

I got the idea here.
Continue reading
Published Jan. 8, 2012 by
Vegard Økland
. Posted in Blog
This is just ridiculously cool, snippet from the article:
Warping, or dommain distortion is a very common technique in computer graphics for generating procedural textures and geometry. It's often used to pinch an object, strech it, twist bend it, it, make it thicker or apply any deformation you want. It works as long as your base color pattern or geometry is defined as a function of space.
Original post
Published Jan. 4, 2012 by
Vegard Økland
. Posted in Blog
I fixed the search functionality of the site. The bug was that the search index wasn't updated asynchronously. This is configured as follows
# settings.py
...
SEARCH_BACKEND = 'search.backends.gae_background_tasks'
....
This will add the indexing jobs to a Task Queue and update the index in a short period of time.
Next todo, implement the native full text search of GAE.
Published Jan. 2, 2012 by
Vegard Økland
. Posted in Photos

Some of the pictures I had taped to the wall in my student flat in Trondheim.

More photos on the flip side..
Continue reading
Published Jan. 2, 2012 by
Vegard Økland
. Posted in Photos

Pictures from a small sailing trip that I did with my mom during the Pentecost weekend last spring.

More pictures on the flip side...
Continue reading
Published Jan. 2, 2012 by
Vegard Økland
. Posted in Photos

How to make images like this:
- Make a 360 degree panorama. This can either be done by standing still and taking pictures as you spin around your own axis. Then stitch the images together with a tool like Hugin (free) or Photoshop. A simpler alternaltive is to use a tool like PhotoSynth on your smart phone. (I've done both, the image of the royal palace is made with PhotoSynth on my iPhone, the rest is made using a Nikon D80 and Photoshop).
- Stretch the rectangular image to a square
- Rotate the image 180 degrees.
- Use the filter Filter > Distort > Polar Coordinates in Photoshop or Gimp
- Success!
More images on the flip side...
Continue reading
Published Jan. 2, 2012 by
Vegard Økland
. Posted in Blog
The function get_serving_url in Google app engine will now return a small (500px-ish) size image if the size=n parameter is unspecified. The old version would return the image without shrinking it (up to the max size of long_egde=1600px. The solution is simple, just add size=1600 to get a full size image (it will not enlarge a smaller image).
This change is not documented in the API docs :-/
Read more in this google groups thread.
Published Jan. 2, 2012 by
Vegard Økland
. Posted in Blog
I found a bug in the site search, disabled temporarily (probably related to the fact that I haven't configured asynchronous index update).
Published Jan. 2, 2012 by
Vegard Økland
. Posted in Photos

Some 200 pictures from my backpacking trip to Turkey in 2011.

More on the flip side..
Continue reading