Posts

Showing posts from February, 2013

New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

Reading Update

Image
From my last post:  http://krzychukula.blogspot.com/2013/02/reading-list-update.html Finished: SMACSS  by Jonathan Snook Czytaj dwa razy szybciej! by Marcin Matuszewski (how to read faster) JavaScript Allongé by Reginald Braithwaite The Programmers Stone readlist from blog:  the-programmers-stone.com Now I'm reading: Hexagonal Architecture for SCKRK Meeting Fallen Dragon  by Peter F. Hamilton (sci-fi) Next on my list: Effective JS by David Herman Make: Electronics. Learning Through Discovery By Charles Platt (I will finish first chapter in february) SMACSS Really good book about CSS, architecture of CSS in small to really big projects/websites. How to deal with duplication - especially how to avoid it. There is even a chapter about Preprocessors and I can strongly agree that this is tool that can help you but only if you are conscious about how it works and how CSS it generates looks like. JavaScript Allongé Book that expl...

Recommendations to STP

Image
I realized that this blog could actually help me earn some money so beware this is non technical post ;) At STP (Schibsted Tech Polska) we have recommendation bonus and I can earn some money by recommending someone (sending his CV). If you're thinking about new job, or are just curious how our office look like just send me your CV :) Most of the time we're searching for JS, PHP or Java Devs. Office is in Krakow, we work closely with Norway/Sweden companies of Schibsted. Let me know if you have questions. We look for people that want to do: Scrum Mastering Programming Java Learning Programming in Java (Junior ;) FrontEnd (JS/CSS etc.) Send CV to krzychukula [ at ] gmail.com Image from:  http://2bgr8stock.deviantart.com/art/Money-Cash-113445826

Sitespeed.io - Performance reports of your site

Image
Today Andrzej Maciurzyński  @ajumac  send me link to really nice tool to check good practices of websites from your backend. Testing within browser is great but you can't easily share result within a team or make it part of build or continuous integration process. With  http://sitespeed.io/  using Phantom.js you can generate performance results of your page and publish it next to your site. This can be really useful to see if your last commit make something slower.

Reading list update

Image
Time for update of my reading list from December:  http://krzychukula.blogspot.com/2012/12/reading-list-update-december-2012.html Professional HTML5 Mobile Game Development  by Pascal Rettig Make: Electronics. Learning Through Discovery By Charles Platt Przemów do nich! Teoria i praktyka wystapień publicznych by Jarosław Kordziński - this one is about public speaking and is really short. Unity Game Development Essentials by Will Goldstone Maintanable JS Effective JS SMACSS Most of it still waits but in the meantime I have read some others: Cooking for Geeks: Real Science, Great Hacks, and Good Food by Jeff Potter Pretty good, I'm still afraid to cook but now I try to do something more often, and because of what I learned sometime it can be eaten ;) Przemów do nich! Teoria i praktyka wystapień publicznych by Jarosław Kordziński - this one is about public speaking and is really short. Short and too abstract for me, but quotes at the e...

Udacity HTML5 Game Development Classes Just Started!

Image
Classes just started so if you're into HTML5 Game Development this can be really beneficial to have some real classes and schedule for learning about it :) https://www.udacity.com/course/cs255 For the ones new to HTML/JS there is a JS crash course as first optional lesson so this should be enough to get you more familiar with technology. I don't know much about content of this course besides that we're going to build GRITS game as shown at last Google IO: Image from udacity.com

Promises in Code

Image
To see more general explanations of promises:  Promises and Deferreds - How I Stared To Like Them At a basic level what Promises do is the same thing as passing a callback to a function. function myFunc ( callback ) { . . . } myFunc ( alert ) ; var promise = myFunc ( ) ; promise . then ( alert ) ; But it is easy to get too many callbacks (if you work without promises), you need at least two, one for error and one for success. Functions need some arguments and you end up with a monster like: myUgly ( success , error , param1 , param2 , param3 ) or move to a config object: myBetter ( { success : success , error : error } ) ; When I want to add another success function it gets uglier: myBetter ( { successes : [ success1 , success2 ] , error : error } ) ; The same functionality with promises will be probably more verbose but I think this is a good thing. The code below is much more maintainable and extensible: var promise = my...