Quantcast
Channel: Team Blog
Browsing all 39 articles
Browse latest View live

Validation with warnings in scala with scalaz

Monad are containers with 'special powers', when it comes to applying function over its content.Validation special power is propagating Failure over validation process.If you are not familiar with...

View Article



Warsjawa – hold your own workshop

Warsjava starts as soon as next month. This is your last chance to appear alongside Venkat Subramaniam – all you need to do is submit an interesting proposal of your own workshop (Call For Papers end...

View Article

Use asInstanceOf[T] carefully!

BackgroundScala has nice static type checking engine but from time to time there are situations when we must downcast some general object. If this casting is not possible we expect that virtual machine...

View Article

TouK on Warsjawa 2014

Between 26-27th of October there was 100% workshop formula conference Warsjawa. TouK was the sponsor of Venkat Subramaniam visit.

View Article

System informatyczny dla PKW

Nasza propozycja na Twitterze jest jak najbardziej poważna i realna. Mamy świadomość jaka jest lub może być złożoność takiego systemu. Tworzymy oprogramowanie obsługujące w każdej chwili więcej...

View Article


Sample for lift-ng: Micro-burn 1.0.0 released

During a last few evenings in my free time I've worked on mini-application called micro-burn. The idea of it appear from work with Agile Jira in our commercial project. This is a great tool for agile...

View Article

micro-burn has Trello integration

After a few long evenings I've finally integrated micro-burn with Trello. All you need to run it for your Trello board is to write short configuration and run fat jar. It renders burndown chart...

View Article

Enums for scala

Scala has very limited implementation of Enumeration. Enumerated objects can't extends other classes. Partial replacement for it is to use sealed classes. You can do pattern matching on them. When you...

View Article


Need to make a quick json fixes – JSONPath for rescue

From time to time I have a need to do some fixes in my json data. In a world of flat files I do this with grep/sed/awk tool chain. How to handle it for JSON? Searching for a solution I came across the...

View Article


Zapraszamy na płatny, wakacyjny staż TouK!

Zgłoszenia przyjmujemy do 17.05.

View Article

Git aliases for better Gerrit usage

What is Gerrit?Gerrit is a web application for code review and git project management. You push commit to specific ref in Gerrit and your collaborators could comment your Read more

View Article

All field constructor in Groovy

TupleConstructor annotation in Groovy generate constructors for class with each of its properties (eventually also fields). The class below @TupleConstructor(includeFields Read more

View Article

Restart or power off Rasperry PI with REST call

If you need to restart or power off your RPi remotely (or through local application's call) here's a simple way http://raspberry.address:7000/reboot http://raspberry.address:7000/power/off Read more

View Article


What’s the cause of your problem?

Most of exceptions has a few constructors including those with cause exception. But what if you have to throw an exception that has no cause in constructor? You try to survive: Read more

View Article

Writing JAXB in Groovy

Suppose you want write a jaxb class in groovy. Why? Because you do not have to write these all getters, setters and other methods. You only have to write your fields down. Read more

View Article


Groovy, Callable and ExecutorService

Suppose you want submit job to ExecutorService. The Baroque version You could create a class that implements Callable: class MyJob implements Callable<Integer> Read more

View Article

The hidden benefit of writing short methods

A method should do only one thing Quoting Uncle Bob: The first rule of functions is that they should be small. The second rule of functions is that they should be smaller than Read more

View Article


Clojure web development – state of the art

It’s now more than a year that I’m getting familiar with Clojure and the more I dive into it, the more it becomes the language. Once you defeat the “parentheses fear”, Read more

View Article

Easy configuration usage with ConfigSlurper

What's the problem? We have to deal with properties in almost every projects that we write. Properties class, which we use in these cases, is just mapping key to value. Sometimes Read more

View Article

Typeclasses in Swift, Haskell and Scala

What is a typeclass? Typeclass is a Haskell way of creating the type composition in the world without inheritance. It allows to define a desired behavior in a form of function Read more

View Article
Browsing all 39 articles
Browse latest View live




Latest Images