r1pp3rj4ck's tech blog

Because software is like sex… it's better when it's free – and even better with a penguin.

Advice for those who don’t have any real world experience

The day before yesterday /u/fallenKlNG was looking for some advice in an /r/AskReddit thread about starting a successful career in coding. /u/JZ5U replied that I should make a self-post in /r/coding, so that’s exactly what I tried to do, but it doesn’t allow self-posts. Instead I publish this on my blog (that is a “bit” short on posts for a long time now). The following is a copy of my advice to him and to everyone else wanting to kickstart their career in the field.

Read more…


Designated ID Pools in MySQL

The other day we faced an issue we never thought we ever would. The project we’ve been working on was developing new features to a courier service’s old system, originally written in PHP 5.2. We already did a lot of code in it but rewriting the whole stuff was out of the question so we had to do some ugly hacks now and then, but we always managed to do everything the customer wanted. I’m sure you know how it works. However, this courier service has made a contract with a new company, who needed an order ID pool assigned to them. It was a pretty reasonable request on their side, but a huge complication for us! Read more…

Creating Symfony projects like a sir

I’m pretty sure many of you don’t like to download the latest version of Symfony Standard Distribution from symfony.com, install it, remove the AcmeDemoBundle from src directory and remove those stuff mentioning it every time you start a new project. I don’t like it either. Fortunately, I have a better way to do so. Read more…

Custom bulk actions in SonataAdminBundle

Just like Emacs is a great operating system lacking only a decent editor, so is SonataAdminBundle a great tool lacking only a decent documentation, which is understandable, as it’s constantly evolving (and let’s face it, nobody likes to write docs :). Well, at least when I first had to use it, it was. Now the bundle is pretty well-documented, but of course Rande and the contributors can’t think of everything your customers may want (and we all know they want pretty fucked up things sometimes). So there are loads of “Easter Eggs” in SonataAdminBundle – I call them Easter Eggs because they are not documented, but the code kinda supports them. Read more…

Creating an environment for Symfony2 – Part 1

Hello, guys, I know I promised I would write one more post last year, but I underestimated the time I had to spend for work. I’m sorry about that. So, here it is, I’m ready to share my experience with Symfony2 and git. Starting a Symfony2 project is pretty easy and straight-forward. However, if you are just planning to create your first Symfony2 project, you should definitely read the Symfony book. Read more…

Merry Xmas

Hello, guys, I wish you all merry Christmas! There will be one more tech post before the end of the year, stay tuned!

Switching to Arch – beginning of a new era

So, after using Ubuntu for 6 years, I got really tired of it. It is maybe the best GNU/Linux distribution for beginners, at least it maybe was a few years ago, but when you get in it deeper, at some point it won’t satisfy your needs. The same happened to me. I don’t know whether the new releases weren’t as good as they were back in the old days, or I was the one who changed, but I do know that I couldn’t learn that much from it in the last 1 or 2 years using it as I could when I switched from Windows XP to Ubuntu 5.10 (Breezy Badger). Read more…

Post Navigation

%d bloggers like this: