Code: the final frontier To source... and beyond!
- 17 Jul 2014 » Pre or post commit review: that is the question I have an opportunity to work with all code review styles - No, Pre and Post commit. In this post I’m going to show the differences and compare the strong and weak side of every style. Code review makes a difference. If you don’t do code review you should start now. No matter on what project you are working, even if you are an indie developer or a freelancer, a second pair of eyes are...
- 06 Jul 2014 » Programmers playlist Sometimes I have problem to focus on programming. I know this should never happen but sometimes it does. Following list help me to bring me back to code. I didn’t make numbered list as you could usually see on toplists but order is not unintentional. Code Monkey My absoulutely favourite song. Whats more great it’s available directly on Spotify so I added it to my daily playlist. Story told by Jonathan Culton is so true...
- 09 Jan 2014 » Go watch your test In TDD we tend to write test before we write code. And then try to write code that pass our tests. This is one of the most productive (in long term) way of developing applications. How we can make it even more productive? Look at your routine. You write test. Compile it and run. Fix if it’s not compiling then you write code. Compile program run tests and write new test. Here are two steps...
- 26 Dec 2013 » Merging style for post commit code review Here is description of nice merging convention that I learned on gitkata. How you tree look like? Do you care how you merge? If you haven’t ever look at your commits history then you should do it now. I can recommend setting up alias like this lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)' --abbrev-commit What you can see. Can you tell what had happed with your code over the time using...
- 04 Dec 2013 » FileZilla the best FTP client ever I’m using FileZilla since… I’ve never thought about it. It probably starts somewhere in primary school. I get it with CD attached to magazine. I have an account on one of biggest polish portal and keep there my first tries of HTML. As a kid I haven’t appreciate this tool. I don’t remember but probably in earliest version it wasn’t stable and hadn’t got all that features that it has now. But do it’s job...
- 01 Dec 2013 » SSH tricks Today I have a problem with SSH. I get access to two new servers (let’s call them Obelix and Idefix) and I want to set up key based login on my local machine (Panoramix). It wasn’t so easy, because that new server accept only connections from one server (let’s call it Asterix) that I also have login account. I wasn’t able to connect to this new server from Panoramix. I need to log in to...
- 27 Nov 2013 » Install Boost on Ubuntu Sometimes in your life is day when you need to compile lib from sources because you (or your coworker) need to use this particular version of it. If everybody works on same OS and have similar configuration and lib is not small and require more than ./configure && make && sudo make install it might be useful to create installation script instead of description in readme. In fact readme will look like script so why...
- 14 Aug 2013 » Archives in Ubuntu I know that Ubuntu is an old African word that means “I can’t install Debian”, but I was nearly forced to install it. Why? Because it’s just working and also good looking. Maybe it’s not as fast as my old Fedora but it’s usable. Today I ran in to problem. Oh, it’s not a big deal. But in this particular case ubuntu GUI just failed. I tried to open 7z and RAR archive. Ubuntu told...
- 29 Mar 2013 » How to add application to KDE Menu Lots of java applications are not in repositories of popular GNU/Linux distros or the version are not up to date. You can install them just by unpacking in desired folder and sometimes setting some properties. How to make them accessible from KDE Menu? I’ll show how to achieve it on Fedora 16. Go to /usr/share/applications Create text file with name in format [application_name].desktop Fill it with properties. Here is my example for IntelliJ [Desktop Entry]...
- 23 Mar 2013 » CUDA installation hell CUDA will be definitely one of the most groundbreaking technology this decade. For few years it’s get thousands of followers. GPU computing (GPGPU) is involved nearly everywhere from OLAP cubes to medical imagining. Nowadays nearly every nVidia card support CUDA so it’s best time to try it. But hold on. Does it support GNU/Linux? Yes and no. nVidia supports only main stream distributions and only in specified releases. I’m using Fedora 17 but only Fedora...
- 10 Mar 2013 » Easy charting with Gnuplot Lastly I had to prepare simple chart for some physic laboratory. It was only a bunch of points, and fitted function. At first I tried GDocs but it wasn’t designed for it. Then I switched to LibreOffice Calc, but I have some problems with defining data sets and can’t get desired shape of chart. I also tried gnumeric but it crashed just after star so I search for another solution. I hear d about gnuplot,...
- 29 Jan 2013 » k3b auto mp3 converting Have you ever face with k3b error “MP3 Audio Decoder plugin not found.” Here if simple solution for it: sudo yum install k3b-extras-freeworld libmad gstreamer-plugins-ugly audacious-plugins-freeworld-mp3 xmms-mp3 You probably need to install rpm fusion first rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
- 20 Jan 2013 » Install MongoDB on rPI I’m proud user of Raspberry PI. I had been waiting for it about 5 months but at last I got it. If you don’t know what Raspberry Pi is I can recommend this video. Leader of this project will tell you why and how it was build. I haven’t got time to play with it before, but for me it’s really amazing that for only $35 I got working machine that supports HD films. I...
- 15 Nov 2012 » Evil Framework I was able to create some stuff using EF. I must admit that EF is nice tool. It help a lot with basic daily database work. I’m not very experienced ORM user, but must admit - EF is so easy to use and got all features of LINQ expressions. I was amazed how easy I can add new table to in DB and then just use it. Some problems occurs when DB lose track with...
- 11 Nov 2012 » Hello World! First post on my brand new Jekyll blog. Just for testing and improving my skills in ruby and also in english. Probably most posts will be written in english but sometimes I’ll also (sometimes) write in Polish which is my primary language, apart from C/C++. I create this blog to see how this whole ruby stuff works. I’m not intersted in creating a normal blog. For me it’s only place to share and increase my...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...
Read more...