Published on 18 December 2013

This post is result of BuildStuff knowledge sharing :)

At the conference people meet each other & share their knowledge, not only by doing talks, but also by discussing technology during evenings. Inspired by each other’s talks Paul Stack and James Nugent they created simple way to get started with EventStore (2.5 RC version) with statically linked Mono running on Ubuntu hosted in VirtualBox confgiured with Vagrant.

So what do I need to have EventStore up and running?

Remember: IT IS NOT PRODUCTION READY AT ALL

Great work by Paul Stack and James Nugent. I owe you a beer :)


Published on 13 December 2013

Let’s do it again!

One day deep dive class to help thousands of people get up to speed on developing for Windows Azure. As in last year you could learn more about this initiative at Global Windows Azure Bootcamp site.

GWAB 2014 @Poland

Last year Wrocław was the only location in Poland where GWAB was organised. I hope this year we will not be the only city in Poland :) At Wrocław organisers are:

Details of location & dates soon, follow us on Twitter!


Published on 29 April 2013

Idea

The idea was: one day deep dive class to help thousands of people get up to speed on developing for Windows Azure. The Windows Azure bootcamps were held on more than 90 locations around the globe! You can read all the details at Global Windows Azure Bootcamp site.

GWAB @Poland

Wrocław was the only location in Poland this year thanks to Łukasz Gąsior (@lukaszgasior) who came up with the idea to organise the workshop. The organisers were (codingtv();](http://codingtv.pl/) (@codingtv) & Wrocław .Net User Group (@wrocnet). See photos from the event on @wrocnet’s site.

CloudRay

Despite our effort & increasing running instances we have fallen off from Top-10 :( Both Poland & Wrocław finally ended on 11th place (not bad considering other locations). As you remember I’ve used my paid Azure subscription with running up to 5 instances of RenderLab. And the bill is… €0.00 :) I’ve forgot that I have got 375 Compute Hours for Cloud Services included. I’ve used 32 hours only :( Blame me for loosing the 10th place. See final results on Global Render Lab website.

My talk: Windows Azure Websites

I did a first talk on that day. After a very short & high level introduction to Windows Azure I’ve tried to present some of the new capabilities of Azure. My talk was mostly about Windows Azure Websites. Hope you have enjoyed it :) For those who were on the bootcamp you remember that I’ve promised some more info. So here you are:


Published on 06 April 2013

Cookies, cookies, cookies… all pages are spamming us recently with warnings. Warnings that say nothing to a typical user, warnings that nobody cares for, warnings that irritate most of us.

Of course I could be wrong. All those warnings could be very useful and important to some internet users (not geeks that know how to protect their privacy) and EU bureaucracy is right in their fight to protect poor users who don’t care ;)

Dura lex sed lex

I use cookies. Just typical Google Analytics cookies to get some feedback to know if someone really reads this. So I’m forced to obey the law (BTW users should be warned not only about cookies but about everything stored in local storage). That is why when you enter here for the first time you will be shown a warning banner.

How it works

It is very simple ;) I’ve used 2 great JavaScript libraries: jquery-toastmessage-plugin & jquery.cookie.

Reading & writing cookies

With jquery.cookie it is dead simple. Just add script to your page:

<script src="/path/to/jquery.cookie.js"></script>`

And then to read a cookie use this code:

var value = $.cookie('cookieName');`

All you need to do is check if value is defined and if not show cookie warning message. Then when user accepts your cookies just write a cookie marking his agreement. BTW try to estimate how many new cookies pages you’ve visited recently added to your system :)

Writing a cookie:

$.cookie('cookieName', 'Here will be dragons!', { expires: 365, path: '/' });`

For more details see jquery.cookie GitHub page.

There are a lot of popup boxes, warning panels etc. I used a jquery-toastmessage-plugin because of its simplicity and nice look without need to work on CSS code. Just add:

$().toastmessage('showToast', {
          text     : 'Some text here',
          sticky   : false,
          stayTime : 30000,   
          position : 'top-right',
          type     : 'notice',
          close  : function () {
            // … Just do it!
            console.log("toast is closed ...");
          }
};

See jquery-toastmessage-plugin usage documentation.

Then on close callback write cookie to mark user agreement and it is done… almost because after stayTime (in milliseconds) the toast message is faded out. So I’ve added another callback - called just before close when toast is fading away and not called when user clicked close button. See details in my fork of jquery-toastmessage-plugin.


Published on 14 March 2013

Friction free blogging

It is what I want from my blogging solution.

When I finally managed to install Ruby and had Jekyll to work locally I wanted to develop something. The first thing I thought was: When I push a post with future date it should be published only on that date

I googled a little - there are many blogs running on Jekyll - you could check the list here - maybe someone already has come up with the solution.

The solution is very simple…

…and already build in Jekyll. Just add a line: future: false in your _config.yml and then add a post with: rake post title="Some future post" date="2013-06-07" commit, push and that’s all - the post will be visible on a given date.

… almost :(

You need to made GitHub Pages to rebuild your blog - by pushing something to repository or in other way - need to find some cron task to do it for me.