The archives.

Code, discoveries, detours. Collected over the years.

2012

David Pollak's Lift Basics

Whew, the past few weeks were like a Rollercoaster ride between my personal downs and professional highs. I got even more high on Liftweb when i was voted Liftweb Committer almost two weeks back! So what’s coming next? I am doing…

Liftweb Error Reports by Mail

Having some kind of safety net when something goes wrong is never bad, so today my ass got saved my just a few lines of code (which made this thing much more easier). So imagine you have a complex actor doing important business…

Liftweb Bootstrap - a nice Base-Project

Happy new year!Yes, you’ve heard right. It’s been that long since i’ve blogged! Anyway, i didn’t spend my time scratching my balls, i used it wisely - yes imagine that for a change. ;) So what’s the 411 you might ask.. Lift-Bootstrap…

2011

Apple is slipping, are you falling for it as well?

If you read my Twitter-feed, you’ll probably notice me ranting endlessly about Apple. Yes, those nice guys that sell iPods and Macs, they fuck everything up these days. But let me back up a little, since my story begins in 2004.…

Scala, Akka and Erlang Actor Benchmarks

Since i am currently intrigued by Erlang for a special project, i thought i look into Actor Performance. I found an interesting Post by Paul Keeble comparing Erlang with Scala Actors. I also found an Akka-Benchmark, but it was outdated…

Akka/Scala together with Wowza Media Server

So my first Open-Source-Community-Christmas-Present (or OSCCP) is for the Akka and Wowza-Community. Yesterday i found a nice way to use Scala inside the Wowza Media Server. It’s a Streaming-Server like Red5, but it works better. It can…

Imagine...

You have a successful company, employ a handfull of people, make enough money to not have to worry about where your food is coming from and how you’re going to pay your rent. Yes, it sounds nice. But then suddenly your grandma dies,…

Lift CometActor with Growl-Style Notifications

So i always wanted some real-time way of letting my users know what’s up. Coming from the request-cycle world, this means a lot of queueing and storing and retrieving. Just for clarification, this is also again a Beginner Howto for…

Using LiftActor as ORM-Read-Cache

I’ve been reading a lot lately about how people switch back from Scala to Ruby, since they often fail to adapt to the way of thinking required to make Scala or partially Liftweb scale to the level they want. I will write a post about…

Mapper with PostgreSQL custom types CIDR/MAC

This is just a quick one, since i’ve already gotten 3 mails about how i used PostgreSQLs CIDR and MAC Types. It’s pretty easy, here are the two classes, basically treat it like strings. Haven’t come around yet to implement own query…