Tormod Landet - Techhttps://tormod.landet.net/Sat, 18 Feb 2017 14:19:00 +0100Cleaning cruft in a Ubuntu installationhttps://tormod.landet.net/2017/02/18/cleaning_ubuntu/<p>I have been running Linux on my laptops for as long as I have been owning laptops. My current one has been through quite a few versions of Ubuntu Linux. There are normally no big changes from version to version, but it steadily improves. In that process some software packages …</p>TormodSat, 18 Feb 2017 14:19:00 +0100tag:tormod.landet.net,2017-02-18:/2017/02/18/cleaning_ubuntu/CodePythonUbuntuDebianapt3D visualization in IPython notebookhttps://tormod.landet.net/2014/05/23/3d_visualization_in_ipython/<p>The <a class="reference external" href="http://www.ipython.org">IPython</a> notebook is a great tool for interactive computing. Below I show a short Python example on how to work interactively with simple 3D models in the IPython notebook.</p> <p>To begin with, we need a simple way to represent a 3D model in Python. We will here restrict ourselves …</p>TormodFri, 23 May 2014 22:18:00 +0200tag:tormod.landet.net,2014-05-23:/2014/05/23/3d_visualization_in_ipython/CodePythonIPythonthree.js3DvisualizationA linear 2D sloshing solver in FEniCShttps://tormod.landet.net/2014/01/29/laplacian_linear_tank_motion/<p>In the <a class="reference external" href="https://tormod.landet.net/2014/01/13/solving-the-laplace-equation.with-fenics/">previous blog post</a> I showed how to solve the Laplace equation in 2D with FEniCS. That example, while illustrative for how to use FEniCS, was not particularly exciting. So, I decided to show the simplest example I could think of that involves an actual example of fluid flow …</p>TormodWed, 29 Jan 2014 20:29:00 +0100tag:tormod.landet.net,2014-01-29:/2014/01/29/laplacian_linear_tank_motion/CodeFEniCSSloshingEnglishSolving the Laplace equation with FEniCShttps://tormod.landet.net/2014/01/13/solving-the-laplace-equation.with-fenics/<p>I have found that explaining something is a good way to learn. As I am currently reading some books on the finite element method to refresh my rusting memories from math courses at university I thought it would be a good idea to write a summary of some of the …</p>TormodMon, 13 Jan 2014 21:45:00 +0100tag:tormod.landet.net,2014-01-13:/2014/01/13/solving-the-laplace-equation.with-fenics/CodeFEniCSEnglishCreating a mesh in FEniCShttps://tormod.landet.net/2014/01/11/creating_a_fenics_mesh/<p>I may end up doing a large project using <a class="reference external" href="http://fenicsproject.org/">FEniCS</a> which is a collection of tools for automated, efficient solution of differential equations using the finite element method. While playing with implementing a simple solver for fluid flow in a tank by use of FEniCS to solve the Laplace equation …</p>TormodSat, 11 Jan 2014 18:00:00 +0100tag:tormod.landet.net,2014-01-11:/2014/01/11/creating_a_fenics_mesh/CodeFEniCSEnglishSorting imageshttps://tormod.landet.net/2013/05/04/picster-picture-sorter/<p>Once upon a time, back when I was using Windows at home, I had a useful small program that helped me sort through new pictures from my camera. I have forgotten the name of the program, but basically it allowed me to sort the good pictures from the bad in …</p>TormodSat, 04 May 2013 23:50:00 +0200tag:tormod.landet.net,2013-05-04:/2013/05/04/picster-picture-sorter/CodeImagesEnglishDigital TV med CAM og kabel fra Canal Digitalhttps://tormod.landet.net/2010/01/26/digital-tv-med-cam-og-kabel-fra-canal-digital/<p>Jeg kjøpte meg en CA-modul (CAM/CI/Common Interface) på Lefdal etter at jeg hørte at Canal Digital endelig hadde godkjent en slik for bruk i kabelnettet. Dette betyr at hvis man har en avansert nok TV vil man kunne ta inn digital-TV på kabelnettet uten å kjøpe en stygg …</p>TormodTue, 26 Jan 2010 19:26:00 +0100tag:tormod.landet.net,2010-01-26:/2010/01/26/digital-tv-med-cam-og-kabel-fra-canal-digital/Streaming audio from Spotify on Linux to Squeezeboxhttps://tormod.landet.net/2009/06/19/streaming-audio-from-spotify-on-linux-to-squeezebox/<p>I have tried the WaveInput route for SqueezeCenter, but due to a non-cooperative sound card and various problems with permissions related to SqueezeCenter running as a limited user I decided to go another route and stream sound from my Linux laptop via Icecast. If you want try using WaveInput and …</p>TormodFri, 19 Jun 2009 22:18:00 +0200tag:tormod.landet.net,2009-06-19:/2009/06/19/streaming-audio-from-spotify-on-linux-to-squeezebox/LinuxMusikkEnglishFull screen music infohttps://tormod.landet.net/2008/10/24/full-screen-music-info/<p>I've written a short program to show the currently playing song in a full screen view to avoid having to walk over to the computer when I want to know what the current song is called. The <a class="reference external" href="https://tormod.landet.net/2008/10/23/musikknedlasting/">Squeezebox</a> has mostly made this obsolete as I now just look at the …</p>TormodFri, 24 Oct 2008 21:35:00 +0200tag:tormod.landet.net,2008-10-24:/2008/10/24/full-screen-music-info/CodeMusikkEnglishSqueezeboxUsing jsMath in MoinMoin with ReStructuredTexthttps://tormod.landet.net/2008/10/17/using-jsmath-in-moinmoin-with-restructuredtext/<p>This is not a typical post for this blog, but it was just convenient to put the following here. Feel free to skip this post if you are reading this blog for the normal content and haven't gotten here by searching for just this.</p> <p>I spent a few hours at …</p>TormodFri, 17 Oct 2008 22:56:00 +0200tag:tormod.landet.net,2008-10-17:/2008/10/17/using-jsmath-in-moinmoin-with-restructuredtext/LaTeXMoinMoinPythonReStructuredTextEnglish