Categories
Programming

Create Thumbnails Programatically

If you have several images following a certain structure on a web page and want them as thumbnails, it can be useful to programatically create these. The manual way of creating thumbnails (using Photoshop or similar) can often be time consuming while the execution time for a script resizing an image is counted in microseconds. […]

Categories
Programming

What does your Twitter followers look like

I like Twitter. It’s the virtual world’s answer to Post-it notes, well not really, but the nature of the site constrains people from droning on-and-on about a topic. The restrictions in the number of characters a user may put into a tweet causes brevity, which is ideal when the total number of people who you […]

Categories
Programming

Screen Scraping med Python

Tim Berners-Lee, Internetts pappa, snakker i et inspirerende TED foredrag om the web of data, og oppfordrer alle til å dele sine data. Ideen med web of data er at webben fram til i dag hovedsakelig har vært dokumentbasert og at denne nå endres til å bli mer databasert. I webbens dokumenter ligger det mye […]

Categories
Programming

iProgrammering

Det har vært interessant å følge Apples utvikling de siste 11 årene siden de slapp første versjon av Mac OS X. I 2001 ble versjon 10 (derav X) sluppet, og denne hadde en rekke forandringer fra tidligere versjoner. Apple opplevde en nedtur på 90-tallet og ønsket på et tidspunkt å kjøpe inn eksternt operativsystem framfor […]

Categories
Programming Uncategorized

Start with Ruby on Rails

Over the last two months I have been looking into a new way of doing web-development, and found an ingenious timesaver in the relatively new and popular framework Ruby on Rails. It all started as I wanted to add some back-end functionality to some of the technologies I have experimented with on lovholm.net/projects. Front-end development […]

Categories
Programming

Lær programmering med Processing: del 0

Nå er det lenge siden jeg har oppdatert bloggen med en post på norsk. Dette skyldes at jeg har arbeidet med en master på engelsk, og har ønsket å kun fokusere på et språk. Nå er oppgaven levert inn, og jeg kan endelig igjen bruke tid på å skrive uformelt og jovialt om ting der […]

Categories
Programming studies

New version of Non-linear narrative

As the second semester in my master program is moving towards the end I have some content I want to share with you all. Beside the digital marketplace course and a reading course I have been working on a digital media studio project, or as we call it, the DMSP. In this course sound designers, […]

Categories
Programming

No more testing inferno

If you have spent time trying out the endless opportunities contained in the art of programming you know how frustrating testing can be. Endless nights and days with an endless amount of  changing variables and recompiling. A missing semicolon, a misspelled word, well, the reasons to frustrations are many.  I know how it is, and […]

Categories
Programming

Object Oriented Programming

This post is written as a blog post on the Digital Media Studio Project blog Non-Linear Narratives. In this post I want to discuss some aspect of object oriented programming, and some philosophy behind the non-linear computer program in its current version. The program is built in Processing, which utilizes the Java programming language, and […]

Categories
Programming studies

Non-linear Narratives and Agents in Processing

The last weeks my Digital Media Studio Project group and I have been spinning around ideas on how to make a non-linear narrative based on a computer model using agents. This is an interesting way of taking advantage of Object Oriented Modelling, since the agents have attributes and methods relevant to humans. The model is […]