Monthly Archives: April 2013

Huffman Coding for 10 ends up 6 due to late submission in Functional Scala at Coursera

My schedule didn’t work out well for the past weeks. I simply couldn’t spare much time for a few self-learning activities and so I couldn’t submit the programming assignment for Huffman Coding (Week 4: Types and Pattern Matching) in the course Functional Programming Principles in Scala at Coursera earlier. 1,5 days later I scored the […]

Languages Tagged Leave a comment

When in Scala REPL, :paste might be your better friend (than :load)

I’ve been following Odersky’s Functional Programming Principles in Scala at Coursera and when I’ve been asked to tackle a programming problem I ended up with the following: sealed trait A {   def show: String = this match {     case AA(n) => "AA(%s)".format(n)     case a @ _ => "Wish I knew […]

Languages Tagged 1 Comment

10 out of 10 in Week 3: Data and Abstraction in Scala course at Coursera

I can’t explain how happy I am! At long last I could score 10.00 out of 10.00 in the part Object-Oriented Sets (Week 3: Data and Abstraction) in the course Functional Programming Principles in Scala at Coursera. It took me almost 3 weeks of a very intensive mental exercise to finally make it and I’m […]

Languages Tagged 1 Comment

git init, add and commit or checkout for programming assignments (at Coursera and beyond)

The project I’m assigned to requires the team to migrate an application to IBM Business Process Manager Advanced V8 platform. It takes time to make that happened and I’ve been struggling with reverting unnecessary changes during the migration. The process of introducing a change, testing it, reverting or reviewing the list of already-made changes has […]

Tools Tagged 1 Comment

IntelliJ IDEA 12.1 on Java 7 on Mac OS X still experimental?

With Java 8 coming and Java 6 unsupported it’s quite surprising to find out that Java 7 is still not yet on a par with the mentioned versions for many tools. I’ve been a passive user of IntelliJ IDEA for quite some time now, and I remember I made a few attempts to become more […]

Tools Tagged 6 Comments

Implementing RESTful services with JAX-RS and WebSphere 8.5 Liberty Profile

“At long last” one could say as exploring the JAX-RS (The Java API for RESTful Web Services) support in WebSphere Application Server V8.5 Liberty Profile (WLP) has been on the TODO list of mine for so long. In the forum WASdev there was a thread about Multipath form data and variable-length input forms with Strings […]

Java EE, WebSphere Tagged , Leave a comment