M635J520
  • Soundcloud
    mortenjohs 1bisHill
  • Search
Navigation bar avatar
✕

    M635J520


    A series of notes to myself...
    • Kjært barn har mange navn - or, the story of how I discovered Ruby's each_cons

      Posted on November 22, 2012

      Reading the Pragmatic Programmer's PragPub from March (I must admit I don't have/take the time to read them regularly enough) I stumbled upon Scala's sliding function on Arrays. This creates a sliding window of consecutive sub arrays of an array. So an Array(1,2,3,4).sliding(2)... [Read More]
      Tags:
      • Programming
      • Euler
      • functional
      • Scala
      • source code
      • Ruby
    • Parenthesis (and dots) (in Scala (as compared to Ruby))

      Posted on November 4, 2012

      I must say that I quite like what I encounter of the Scala language in Martin Odersky's online "Functional Programming in Scala" course at EPFL (as well as the course itself!). It is almost as expressive as my favourite language these days,... [Read More]
      Tags:
      • Programming
      • Scala
      • Progfun
      • Coursera
      • Ruby
    • Fix upside down Skype video in Ubuntu 12.10 [UPDATED]

      Posted on November 2, 2012

      Post thumbnail
      Post thumbnail
      When launching Skype in 64-bit Ubuntu 12.10 on my Asus U35J the webcam image was all topsy-turvy. Since I don’t live in Australia, or something (tsk-tsk), this was not really cutting it for me. Some quick googling led me to this forum... [Read More]
      Tags:
      • Linux
      • Hardware
      • Ubuntu
      • fix
    • Rocksmith, guitars, and music making on the iPad

      Posted on October 6, 2012

      Post thumbnail
      Post thumbnail
      The other day I invested in the long awaited (in the EU, that is) Rocksmith music game. This lets you play with your good old electric guitar or bass hooked up to your PS3, instead of the plastic gadgets made infamous in... [Read More]
      Tags:
      • music making
      • music
      • Hardware
      • PS3
      • hack
      • game
      • iPad
    • Tabular data from PDFs with the help of Ruby

      Posted on October 1, 2012

      Sometimes I need to get data out of tables buried in PDFs, so I've written a tiny adaptable Ruby hack for when copying and pasting doesn't cut it - exploiting a couple of excellent libraries. Here's an example.Loading...(Admittedly not the most elegant of... [Read More]
      Tags:
      • Programming
      • hack
      • gist
      • source code
      • Ruby
    • Gists on Blogger

      Posted on September 30, 2012

      Today I wondered how to add nice-looking gists to future posts here on my dynamic themed blog, and found the following solution: http://blog.moski.me/2012/01/gist-with-bloggers-dynamic-views.html (Thanks Moski.) That’s all. Update 10/12/2014: The script has now moved. (Ref: https://stackoverflow.com/questions/24005430/moski-gist-blogger-not-loading-gists-in-chrome-for-gists-in-blogger-dynamic-vie) [Read More]
      Tags:
      • meta
      • gist
      • source code
      • note to self
      • github
    • XCOM revisited revisited

      Posted on September 29, 2012

      Post thumbnail
      Post thumbnail
      I figured I should give the XCOM demo another shot tonight, attempting what I thought was another level - since the game lets you choose to do either a mission in the US or China. Turned out to be the same level.... [Read More]
      Tags:
      • aliens
      • game
      • demo
      • turn based
    • ← Newer Posts
    • Older Posts →
    • RSS
    • GitHub
    • Twitter
    • Instagram
    • Mastodon

    mortenjohs  •  2025  •  blog.ervik.fr  •  Edit page

    Powered by Beautiful Jekyll