Scala

Follow the thread. Read the stories.

2012

Liftweb CSS Selectors and implicits

When using Ruby, i found myself frequently making things like formatting methods to display a variety of things. def formatDouble(dbl) "%.2f" % dbl end Often these output formatters are render-specific, so defining them on the…

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

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…

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…