RSSAmplifier

Blog

Code How Tos

codehowtos.blogspot.comRSS feed ↗4 posts

Latest posts

Migrating issues from GitHub to Jira

Recently we made the transition from managing our issues in GitHub Projects to Jira. After finding out the plugin that was previously available was deprecated and the scripts out there supported GitHub API V2 (that was deprecated in 2012), I adapted it for the V3 API and had nice results, so here it is for whoever wants to use it. Basically, the current available flow for a one time migration from…

Introduction to LambdaJ: Get rid of those pesky loops

After a very long pause, I thought it'd be nice to introduce some cool Java technologies I stumbled upon lately. So, straight to business, I want to talk a bit about LambdaJ . It's a super cool infrastructure which is targeting those loops you always end up writing in Java. Let's see some examples. Say you've got an address book, and it's saved in a List<Person> where Person has a getSurname()…

Run a JUnit test repeatedly

I like JUnit. It's easy to extend, and easy to use. After reading abyx's post on Retry Rule , I decided to write a post about running repeating tests with JUnit. Hope you enjoy this: Sometimes you wish to run a test many times. For example, it might have some random factor in it. To cover many cases, you'd like to run it a lot of times. What options are there? First, and the most obvious, is a…

Building a Maze

I always like to discover some cool ways of using a simple data structure or algorithm to simplify a piece of code. Yesterday I overheard a conversation about Maze construction and the Disjoint-Set data structure, often considered used for optimization purposes only. So, I decided to try and implement this small example of how to quickly create a maze using this data structure. The Disjoint-Set,…