raspberry-pi

About a month ago I finally received my very own Raspberry Pi board! Don’t know what that is? Here, read some at their website. For the sake of completness let me just describe that as prototyping platform with ARM processor. It is really similar in concept to what Arduino is, except it has not that many extensions available (none? or very little, I’ve only found those on Adafruit pages). So, here is the obligatory picture. ...

October 18, 2012 · 1 min · Marcin Cylke

Hadoop for Enterprises

Hadoop's usage as a big data processing framework gains a lot of attention lately. Now, not only big players see, that they can embrace the data their sites or products are generating and develop their businesses on it. For that to happen two things are needed: the data itself and means of processing really big amounts of it. Gathering data is relatively easy. These are not necessarily structured data, you don't need to plan their usage at first. Just start collecting them and than you may experiment with their potential usage. If they'll come out as useless rubbish - deleting them won't be hard But imagine the values it may contribute to your business: ...

June 18, 2012 · 7 min · Marcin Cylke

SoapUI ext libs and its weirdness

Suppose you want to add some additional jars to your SoapUI installation. It all should work ok if you put them in bin/ext directory. It is scanned at startup, and jars found there are automatically added to classpath. However if you want to add some JDBC drivers, and happen to be using SoapUI version higher than 3.5.1 it is a bit more tricky. You may face this NoClassDefFoundError: An error occured [oracle/jdbc/Driver], see error log for details java.lang.NoClassDefFoundError: oracle/jdbc/Driver ...

November 2, 2011 · 2 min · Marcin Cylke

What is NoSQL good for?

... or how I ended up writing a CouchDB proof of concept app? Once upon a time I set out on a journey to discover the NoSQL land. I've decided that doing simple queries wouldn't be interesting enough. That's why I've chose to create an app that would be based on some NoSQL database. The main idea was to create an app, that would dynamically update itself with geographic data flowing in. Since there are myriads of geo-data that are available on the internet, you can pick your favorite one and load them into your SQL database of choice. ...

September 21, 2011 · 6 min · Marcin Cylke

5 best things to do with your Kindle

I bought a Kindle (3rd generation, Wi-Fi only) some time ago - like half a year ago. Read some books, done some web-browsing (awful, quite unpleasant). Gradually I became more and more curious of other things possible to achieve with this slate-looking piece of tech. These are my thoughts and ideas. Got a Kindle? Use it every day? Feel like modding or extending your ways of usage? Great! Read on, and share your thoughts in comments! ...

August 22, 2011 · 5 min · Marcin Cylke

Great many ways to enjoy life!

This looks like a very nice art+video project. Look at those clips: EAT from Rick Mereki on Vimeo. LEARN from Rick Mereki on Vimeo. MOVE from Rick Mereki on Vimeo. Comments

August 7, 2011 · 1 min · Marcin Cylke

OVal - validate your models quickly and effortlessly!

Some time ago one of the projects at work required me to validate some Java POJOs. Theses were my model classes and I've been creating them from incoming WebService requests. One would say that XSD would be sufficient for the task, for parts of this validations - sure, it would. But there were some advanced rules XSD would not handle, or would render the schema document very complicated. Rules I needed to express were like: person's first_name and last_name should be of appropriate length - between 2 and 20, and additionally one could pass a zero-length string just to remove the previous value state field should consist only defined values - as in dictionary value - this one would be completable with XSD's enumerations, but would require often changing schema files and redistributing them to interested parties :( The library I've decided to use for this task is OVal and it came out really nice! Read on to find out the details! ...

July 14, 2011 · 4 min · Marcin Cylke

Geecon 2011 - day 2

And now for part 2 of my visit to Geecon 2011! 1. Jim Webber "Revisiting SOA for the 21st century" Now this was awesome! Jim Webber, a former ThoughtWorks employee, now Neo4j evangelist (in Neotechnology) described his views on how SOA should look - according to him. This was presented previously, on other occasions as his "Guerilla SOA" talk - generally he advocated for REST based services, loose contracts (stating that WSDLs are too verbose and code generation is evil). ...

May 22, 2011 · 4 min · Marcin Cylke

Geecon 2011 - day 1

Last week's Java conference - Geecon was very interesting. It was well prepared, and gave an insight into the current Java related trends - concurrency, DSLs, polyglot programming. But not only that - there were also some pretty different talks from excellent speakers. The whole event took 4 days: University day (wednesday) 2 regular conference days (Thursday + Friday) hacker garden (Sunday) I decided to attend only on Thursday and Friday - no time for more. Here is what interesting happened during those days. ...

May 19, 2011 · 5 min · Marcin Cylke

JCE keystore and untrusted sites

Recently at work I was in need of connecting to a web service exposed via HTTPS. I've been doing this from inside Servicemix 3.3.1, which may seem a bit inhibiting, but that was a requirement. Nevertheless I've been trying my luck with the included servicemix-http-2008.01 component. I've created a simple Service Unit using that component and made connection attempt. Unfortunately I've encountered issues with the SSL conversation negotiation. I had to dig deeper into the servicemix-http code to find out these had something to do with my JCE keystore. Read more to find out what happened! ...

May 2, 2011 · 3 min · Marcin Cylke

Advisory Messages to the rescue

The most crucial part of software development is testing. It should ensure us, that our code is correct, works according to given specs, etc. There are many kinds of tests: unit tests, integration, functional. In general you should try to test the smallest possible subset of your code and be able to check the state of the objects after the test. This seems as rather easy task, but what if you have an integration end-to-end test to perform? In most cases asserting state in integration test is rather hard due to multiple systems interoperability. Let's focus on a specific situation. ...

April 1, 2011 · 3 min · Marcin Cylke

How to run multiple guest OS in QEMU?

This weekend I've been fiddling with QEMU. I've installed OpenBSD on a single image and wanted to have two instances of it communicating via network. Installing the system was easy, but the networking setup was quite a pain. See how I did that... To make QEMU instances communicate with each other I needed to plug them to a "network". That's why I've created a bridge to which Virtual Instances would connect to. I've used the following script: ...

March 27, 2011 · 1 min · Marcin Cylke

Me on Hadoop on Parleys

Finally I've managed to import my WarJUG presentation to parleys.com. See for yourself :) If you've got problems with opening the parleys' version try the ones uploaded to youtube. Here is part 1: And here is part 2: Comments Sigvatr I'm sorry, but I don't understand Polish :P

March 20, 2011 · 1 min · Marcin Cylke

After WarJUG

Some time ago I'd written about my arsaw JUG presentation. I finally presented the the topic yesterday. I must say I'm fairly content with my yesterday's presentation :) Here are some slides and as soon as the video will be available I'll post it here too. Hadoop i okoliceView more presentations from zygm0nt. Comments Sigvatr Czyli napisałeś ładny post po angielsku, tylko po to, by zaprosić do obejrzenia prezentacji po polsku? (przepraszam, ale mój angielski jest za słaby na pisanie w nim) ...

February 23, 2011 · 1 min · Marcin Cylke

Hadoop at Warsaw JUG

I'll be speaking at the upcoming JUG meeting in Warsaw. The topic will be Apache Hadoop. If you're interested, feel invited. Attend and ask questions. But be aware I'm not advanced in this technology :) Full invitation text can be found here. P.S.: Do you know what Hadoop is? Do you use it anywhere? Have you played with it? Comments Marcin @teamon - prawdopodobnie będzie. Na 100% to nie wiem, ale teoretycznie wszystkie prezentacje WarJUGa są nagrywane @r2 - nie trzeba się zapisywać - wystarczy przyjść ...

February 17, 2011 · 1 min · Marcin Cylke

Deus Ex - what a game!

Some time ago I'd become obsessed with one game. It kept me up late, fed my imagination, sucked all my free time - so basically did what good game should. It was not a new production, quite the contrary -it's release date was year 2000. And the game itself was Deus Ex. The year is 2050 and you wake up as a rookie named JC Denton - you are an UNATCO (United Nations Anti Terrorism CoOperation) special agent. In the beginning your orders are clear and you're there to fight the terrorists. The first mission takes place in the depths of The Statue of Liberty, and it gets better further into the game. The plot wanders, there seem to be many foreign forces entangled, and it may become clear to you, that actually you're being used as a tool - a blunt one. Gradually the plot unfolds and you become aware of the whole conspiracy theory thing. You interact with Majestic 12 and Illuminati secret organizations and become part of a global terrorist warfare. ...

February 17, 2011 · 4 min · Marcin Cylke

JMS redelivery with ActiveMQ and Servicemix

The other day I felt a compelling need to implement a JMS redelivery scenario. The exact scenario I'd been trying to handle was: my message is in an ActiveMQ queue or topic its processing fails, because of some exception - ie. database access exception due to server nonavailability since we get an exception, the message is not handled properly, we may want to retry processing attempt some time later of course, for the redelivery to happen we need the message to stay in the ActiveMQ queue - fetching messages from the queue will be stopped until the redelivery succeeds or expires See how this can be done after the jump :) For this to happen, I've tried implementing Apache Camel route, but as it turns out, Camel fails to deliver facilities for exact JMS redelivery. It is possible to set JMS connection in transacted mode, but the redeliveries happen one after another and fixed times. ...

January 17, 2011 · 2 min · Marcin Cylke

Ku pamięci - o top-postingu

W celu niezagubienia i posiadaniu argumentu w przeróżnych dyskusjach: http://idallen.com/topposting.html

December 10, 2010 · 1 min · Marcin Cylke

Easier and nicer JMS

JMS seems like a hostile ground. It has all it's quirks and strange behaviours. A couple of defining standards plus esoteric brokers, queues and topics. At work, we mainly use open source Jms solutions, namely Apache ActiveMQ. This one is usually bundled with Apache Servicemix, as a message broker for this particular ESB. As there are some minor caveats in this scennerio, I'd like to describe here some guidelines for getting to running JMS queues. ...

December 8, 2010 · 2 min · Marcin Cylke

Best pigsticking, EVER!

This looks like the best pigsticking ever! Look at that little girl! The blood, butcher's knife, and child's soother :) Photo from Jamie Oliver's cookbook, "Jamie's Italy". Available on Amazon.

November 6, 2010 · 1 min · Marcin Cylke