RSS

Recent news

QLC power

Torbjorn Tornkvist - tobbe - July 03, 2009

I’ve been doing some more work on my query DSL (described in an earlier post) for an internal project at my work. I had a number of 2GB sized Mnesia disk_only tables that I wanted to traverse in a QLC query as one single table.…

More (1 comments)

The importance of side-effect free coding

Torbjorn Tornkvist - tobbe - April 07, 2009

There has recently been some discussions about ugly coding patterns like: State1 = foo(State, ... State2 = bar(State1, ... State3 = baz(State2, ... People have argued that they want destructive assignment, variable rebinding and what not. But the thing is, doing it this way have…

More (1 comments)

Seethrough and NItrogen

Torbjorn Tornkvist - tobbe - April 07, 2009

I’ve made a little proof of concept of how Seethrough could be used as an alternative/complement to the current record-based way of constructing the HTML. The generated HTML source can be compared to the original. The postback work, but not the actual flash update. This…

More (1 comments)

RFC 4226 - HMAC-Based One-Time Password Algorithm

Torbjorn Tornkvist - tobbe - March 21, 2009

I have recently implemented RFC 4226 and put it on github. The idea is to explore ways of providing One-Time passwords in for example an OpenID setting, or for mobile applications. An old technique where comercial solutions have been around for years. Here is the…

More (2 comments)

The OTP docs.

Torbjorn Tornkvist - tobbe - March 08, 2009

I played around with Xmerl today and came up with yet another approach to parse the simple example in an earlier post of mine. The OTP docs are good but unfortunately often a bit too terse. How many times haven’t I been tearing my hair…

More (0 comments)

A frontend to xref

Torbjorn Tornkvist - tobbe - March 04, 2009

I’ve uploaded a little program name exrefcheck that we are using at Kreditor. It is a front end to xref that can be run as a standalone program. I find it extremely useful and I have caught numerous errors using it (e.g call to missing…

More (0 comments)

Tracing with Redbug

Torbjorn Tornkvist - tobbe - February 20, 2009

Have I told you about redbug ? It is a command line tool for tracing in production system. It is written by my collegue Mats Cronqvist, initially to be used for Ericsson AXD exchange. Anyway, I find it very useful and has almost stopped inserting…

More (0 comments)

Erlang OpenID implementation

Torbjorn Tornkvist - tobbe - February 12, 2009

I just put up a demo of how to use my OpenID library, named eopenid. The demo can be accessed here. The demo just register those who has successfully managed authenticated themself. The ClaimedID and the date is stored in a CouchDB database. The GUI…

More (1 comments)

An Erlang HTML parser

Torbjorn Tornkvist - tobbe - February 11, 2009

It is amazing that there is no decent HTML parser in the OTP distro! As the cure, I suggest that OTP brings in the HTML parser from Mochiweb (if Bob Ippolito permits); or even better, bring in the whole of MochiWeb… Cheers, Tobbe

More (0 comments)

Cleanup your code

Torbjorn Tornkvist - tobbe - February 05, 2009

Lots of non-emacs users are hacking Erlang nowadays it seems. This is all very good. However, the difference in indentation makes it a bit cumbersome when you want to contribute with some code. Here is a nice little command that you can run on you…

More (0 comments)

 1 2 >