Ruby Hash Tips

Today I will show you some Hash tips, which I like. But before that what really is this hash? Hash is a very specific Array where as a key we can use anything we want and order to this key some value or values. For example: If we have books and theirs authors. We can connect author to his books. When we call author then we see his/her books. hash = { 'Carlos Ruiz Zafon' => ['La Sombra del Viento', 'El Juego del Angel'], 'Antoine de Saint-Exupery' => 'Le Petit Prince' } hash['Carlos Ruiz Zafon'] # => ['La Sombra del...…

Rails Girls Cracow

Rails Girls Cracow

This will be short note. A few weeks ago I was a coach on Rails Girls Kraków. This time workshops were differently. Girls were very young but with big motivation. I thought wonderful girls, with so much positive energy. They support me and I felt great teaching them. After all I have some new tips: No one become a programmer in one day. Try to inspire not to overwhelm with knowledge. It must be fun for all you and girls. Don’t hurry up. Do this slow but good. Oh, one more think. There will be three Rails Girls event in...…

Open Source Days

Open Source Days

Date: 2014-03-28 – 2014-03-30 Place: Bielsko-Biała, PL 28 March was the first day of DWO conference and in fact it was the first DWO conference for me. From the beginning I felt special character of this event. Organizations really cared about quality, interesting presentations and people. Friday Friday was good introduced to things which will be happening through all weekend. I listen four great presentations. And here is a brief summary of this: Open Source – Kamil Gałuszka When you use Open Source project try to help with their development. You can start with fixed documentation, reports bugs or issues....…

Ruby Array Tips

Ruby have great documentation for Array method for example like this. To day I want to focus not on methods in documentation but some tips I know in Ruby with Array. Let’s start: Create Array with strings: %w{ 1 2 3 4 } => ["1", "2", "3", "4"] Create Array with the same number: [2]*5 => [2, 2, 2, 2, 2] Create Array with ordered numbers: (1..4).to_a => [1, 2, 3, 4] Create Array with even numbers: (2..10).step(2).to_a => [2, 4, 6, 8, 10] Show last element in Array: array = [1, 2, 3, 4] array[-1] => 4 Show part...…

Rails Girls welcome back!

Rails Girls welcome back!

Date: 2014-02-22 – 2014-02-23 Place: Warsaw, PL Couple months ago was participate in Rails Girls Poznan. It was great experience for my. And now I had big challenge. I was coach in Rails Girls Warsaw. I was so nervous. I couldn’t say anything snuffly. I was afraid that girl don’t understand what I want to say then. But then I had wonderful team. Ewa, Magda and Patrycja are very smart, beautiful and motivated women. They have so many patience and support for me all the time. They tried hard again and again, asked some questions, fixed bugs and keep going...…

Hack4Good Cracow

Date: 2014-02-07 19:00 – 2014-02-09 21:00 Place: Cracow, PL This was second Hack4Good for me. Previous was in Dublin and this was in Krakow, Poland. I was there with my 3 friends from work (Ula, Alek, Grzesiu) and one from Rails Girls Poznan (Przemek). We created one team and worked in Rails of course ;] On this hackaton I felt much more comfortable, then before. Great weight had presence of my friends. It was very important to me to had them close. Thanks guys and girls for that! In my opinion this Hack4Good had for me two more good sites...…