Skip to main content

Posts

Showing posts from August, 2011

API Design: Boolean Trap

One of the best articles I read recently!This make me think that I don't know many important thing about API Design :(
http://ariya.ofilabs.com/2011/08/hall-of-api-shame-boolean-trap.html
Boolean API parameters destroy code readability. After reading it I can agree and I will try avoid it in my code.Fun to read, strongly recommend!
API design principles are from Nokia QT library but as author explains they in the root are language agnostic, at least for similar to C languages. http://developer.qt.nokia.com/wiki/API_Design_Principles

Deck JS - HTML Presentations

http://imakewebthings.github.com/deck.js/


This is library to create presentations using HTML, CSS and JavaScript. Great about it is support for HTML5 tags, and some default styles.
There are modules to make presentations better, like navigation or displaying number of slides.

Programmer Personality Test

http://www.doolwind.com/blog/programmer-personality-test/
What type of Programmer are You?
My result is : DHSB Doer.High level. Solo situation. liBeral programmer.
But I can agree with author that most of people will be somewhere in the middle of the opposite options, just closer to one of them.
If You want post in comment Your result :)

Test Key: http://www.doolwind.com/blog/programmer-personality-test-key/ There are no wrong answers so look at this at the end.

Play with Three.js - Particles

On creativejs site there is first part of Three.js tutorial about Particles.
http://creativejs.com/tutorials/three-js-part-1-make-a-star-field/
Code examples are incomplete and has one bug so at the end look ad github source: https://github.com/sebleedelisle/Tutorials/blob/master/three/Part1_particles/ThreeParticles.html
How to easily try Three.js? Try jsdo.it, recently they added Three.js r42 to supported libraries so it's only one click to use it.
This working example is available at: http://jsdo.it/krzychukula/bOcJ




Particles - Three.js - jsdo.it - share JavaScript, HTML5 and CSS

Samuel L. Ipsum

Lorem Ipsum is Boring!
Try Samuel L. Ipsum
http://slipsum.com/
Example:
My money's in that office, right? If she start giving me some bullshit about it ain't there, and we got to go someplace else and get it, I'm gonna shoot you in the head then and there. Then I'm gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when I'm talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand?


Add Lancher to Gnome-Shell dash

http://lucidelectricdreams.com/blog/2011/06/adding-your-own-launchers-to-gnome-shell-dash/

I want to have fast access to ebook I mention yesterday so I wanted to add it to dash... It isn't easy enough! (yes I have in mind that Gnome3 was supposed to be easy... )

After some time with Gnome-Shell many times I want to add something to top Panel like I was adding it to Panels in Gnome2, together with desktop that is only wallpaper I can't have any custom shortcuts on desktop :(

Conky is troublesome - I am used to know if CPU and RAM are ok, any ideas for nice conky replacement?


Node Web Development

My holiday is ending and for start I will review Node Web Development Book from Pack: http://www.packtpub.com/node-javascript-web-development/book

I want to write about which version of node is book about but this can be found only in installation instructions, in my opinion it should be earlier, but I can live with that :)

Node version in book: 0.4.8 so in super fast node development it's pretty valid.
Book is short, only about 150 pages so this would be rather introduction to Web Development but good to see a chapter about Databases.