Category Archives: Computer Science

Merry Christmas!

                                *
                                ^ 
                               ^ ^ 
                              ^ @ ^ 
                             ^ ^ ^ ^ 
                            ^ @ @ @ ^ 
                           ^ ^ @ @ ^ ^ 
                          ^ @ ^ @ ^ @ ^ 
                         ^ ^ ^ ^ ^ ^ ^ ^ 
                        ^ @ @ @ @ @ @ @ ^ 
                       ^ ^ @ @ @ @ @ @ ^ ^ 
                      ^ @ ^ @ @ @ @ @ ^ @ ^ 
                     ^ ^ ^ ^ @ @ @ @ ^ ^ ^ ^ 
                    ^ @ @ @ ^ @ @ @ ^ @ @ @ ^ 
                   ^ ^ @ @ ^ ^ @ @ ^ ^ @ @ ^ ^ 
                  ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ 
                 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 
                ^ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ^ 
               ^ ^ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ^ ^ 
              ^ @ ^ @ @ @ @ @ @ @ @ @ @ @ @ @ ^ @ ^ 
             ^ ^ ^ ^ @ @ @ @ @ @ @ @ @ @ @ @ ^ ^ ^ ^ 
            ^ @ @ @ ^ @ @ @ @ @ @ @ @ @ @ @ ^ @ @ @ ^ 
           ^ ^ @ @ ^ ^ @ @ @ @ @ @ @ @ @ @ ^ ^ @ @ ^ ^ 
          ^ @ ^ @ ^ @ ^ @ @ @ @ @ @ @ @ @ ^ @ ^ @ ^ @ ^ 
         ^ ^ ^ ^ ^ ^ ^ ^ @ @ @ @ @ @ @ @ ^ ^ ^ ^ ^ ^ ^ ^ 
        ^ @ @ @ @ @ @ @ ^ @ @ @ @ @ @ @ ^ @ @ @ @ @ @ @ ^ 
       ^ ^ @ @ @ @ @ @ ^ ^ @ @ @ @ @ @ ^ ^ @ @ @ @ @ @ ^ ^ 
      ^ @ ^ @ @ @ @ @ ^ @ ^ @ @ @ @ @ ^ @ ^ @ @ @ @ @ ^ @ ^ 
     ^ ^ ^ ^ @ @ @ @ ^ ^ ^ ^ @ @ @ @ ^ ^ ^ ^ @ @ @ @ ^ ^ ^ ^ 
    ^ @ @ @ ^ @ @ @ ^ @ @ @ ^ @ @ @ ^ @ @ @ ^ @ @ @ ^ @ @ @ ^ 
   ^ ^ @ @ ^ ^ @ @ ^ ^ @ @ ^ ^ @ @ ^ ^ @ @ ^ ^ @ @ ^ ^ @ @ ^ ^ 
  ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ @ ^ 
 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^

This Xmas tree is written in Java. If you are interested in code and theory behind the tree structure, please read on.

Continue reading

Infinite loops, halting problem and FindBugs

infiniteThis post is about halting problem, infinite loops and their detection in FindBugsTM. The initial inspiration to write it was Tom Stuart’s presentation “Impossible Programs” from QCon London 2014 Conference and further investigation of the mentioned issues. In the beginning there are introduced basic terms and then is the practical part with Java code snippets with the FindBugs analysis outcome.

Continue reading