MazinGame v1.5 and Docker

MazinGame is a game of maze in the command line. I was inspired by Mazes for Programmers by Jamis Buck and it made me develop this game using Python.

Version 1.5 introduces Docker distribution. If only you have Docker runtime and then you are good to go.

Open your command prompt or shell and download and run the latest version:

docker run -it --rm kazhar/mazingame

Source code is here and new Docker image is built whenever I push to GitHub develop/master branch.

Parsing text – Finnish text – Any text

“Vierailin ystävän luona.” That is a sentence and it is Finnish. How do I parse that text? In order to get some meaning out of it?

The context of the question is text analytics. So that we could analyze the text, we need to extract some meaning of the words. For example, are there verbs in it and which words are verbs? What kind of sentences are in the text? Are there there a lot of words like “fail, fails, failed”? etc. etc

For machines/software, the sentence “Vierailin ystävän luona.” doesn’t really offer much. That’s why we want to parse it.

As it happens, there is something called Universal Dependencies. And part of Universal Dependencies is a format called CoNLL-U.

Continue reading “Parsing text – Finnish text – Any text”

A Game of Destiny

Star Wars: Destiny is a card/dice game set in the, you guessed it, Star Wars universe.

Destiny is a fast paced, easy to learn game and (of course) a must for all Star Wars fans. In the game you build your deck using familiar characters, locations and events from the Star Wars Universe.

I’ve been playing since it game out Dec 2016 and I won the Store Championships yesterday. Here’s the game report (check out the deck and report also here):

Continue reading “A Game of Destiny”

Elite for Emacs – Docker

Elite for Emacs is now available as Docker container.

It’s now very easy to try out something from the pages of history.

  • Pull Docker image: docker pull kazhar/elite-for-emacs
  • Run container: docker run -d -p 6901:6901 kazhar/elite-for-emacs
  • Access container, and Elite for Emacs, using your browser: http://localhost:6901/?password=vncpassword
    (Assumes container runs on localhost. If not, change localhost to correct address.)
Note that if you save commander, it is saved in the container. If you stop the container, all saves are lost. Container is stopped if you exit Emacs using C-x C-c.

ttmsg – New iOS App

ttmsg is social networking with no registration, no authentication and no saving of messages. Anonymous too. Available at App Store.

ttmsg is based on publish-subscribe protocol, MQTT. It works by sending messages to a topic. If someone or something wants to receive messages, they need to subscribe to the same topic.

Continue reading “ttmsg – New iOS App”

Liberty, Bluemix and UrbanCode Deploy

It is not atypical use case to deploy Liberty-applications to IBM Bluemix. While you can do it in many ways, one of the better ways is to use UrbanCode Deploy to automate deployments to Bluemix.

This lab, Deploy Liberty application to Bluemix, describes how to do it. The lab is also a good introduction to UrbanCode Deploy as it starts by installing UCD and lab introduces the main concepts of UCD while going trough the use case of deploying Liberty-application to Bluemix.

So head to the UrbanCode Developer Center and check the lab. And all the other stuff.