[08-03-2015]

Torchlight 2 is 80% off at Steam – don’t miss that!!


[02-02-2015]

Teaser № 2


[23-01-2015]

Teaser № 1


[11-01-2015]

Check whether OS X is in Dark/Light theme

Recently, I was forced to check whether application is in Dark/Light theme (status icon must be either white or black). I have found two solutions. First one boolean isDark = [NSAppearance currentAppearance] name] containsString: NSAppearanceNameVibrantDark] and second one boolean isDark = [[ [NSUserDefaults standardUserDefaults] stringForKey: “AppleInterfaceStyle”] isEqual: “Dark”] To my surprise, both can give different […]


[09-01-2015]

And Now for Something Completely Different – Type-R

If you are fan of Type-R, as I am, you will probably like this one :) https://www.hondatheotherside.com/


[07-01-2015]

And Now for Something Completely Different – Ann Cotten “Homology, Myself”

You probably know that feeling when you link randomly placed elements and, at some point, something unexpected emerge. This is exactly the case I had with Ann Cotten. So, it started with Gh+ broadcast by Grzegorz Hoffmann. At 8-th of December he was playing Mr. Oizo and some other stuff that was pretty cool. As […]


[19-12-2014]

rxvtimg.C error: ‘PictOpDifference’ was not declared in this scope

If you experience the issue with following error: rxvtimg.C: error: ‘PictOpDifference’ was not declared in this scope you can overcome it by commenting out following part in config.h /* Define to enable xrender support */ /* #undef XRENDER */ Update: Optionally, you can disable transparency by setting following settings in config.h /* Define if you […]


[18-12-2014]

#error Blitz is configured with –enable-threadsafe

#error Blitz is configured with –enable-threadsafe, but no compiler thread support is found. Did you forget, e.g., “–pthread”? This message might be quite confusing, as typically, you will blindly take “–pthread” and pass directly into g++. However, g++ have other option :) -pthread


[01-12-2014]

DDD – compilation fails: strclass.C: In function ‘std::istream& operator>>(std::istream&, string&)’: error: ‘EOF’ was not declared in this scope

If you have an issue while compiling DDD strclass.C: In function ‘std::istream& operator>>(std::istream&, string&)’: strclass.C:1546:35: error: ‘EOF’ was not declared in this scope Go, and thanks this guy http://garricksblog.blogspot.com/2012/02/mid-terms-and-build-errors.html. quote: “It turns out that the constant EOF was not probably declared by including stdio.h. So I went ahead and added that in: homer@homer-desktop:~/MyPrograms/ProgramSourceCode/ddd-3.3.12$ diff ddd/strclass.C […]


[29-11-2014]

Theme, you can fall in love with :)

Recently, while reading Getting started with tmux, I have read about really nice theme -“SOLARIZED”. You can find it here: http://ethanschoonover.com/solarized There is a predefined profile for iTerm, so you are good to go straight after downloading it. Highly recomended.


[29-11-2014]

Getting Started with tmux by Victor Quinn, J.D.

Summary: short and straight to the point This book is one of these short manuals where you get exactly what you need. Simple and straightforward explanation of the tool, helpful examples, and real life cases that show how can you improve with tmux with really not too much effort. You are literally guided step by […]


[27-11-2014]

Modern Perl Best Practices by Damian Conway

Summary: Highly recommended Whether you want to watch this video heavily depends on how much Perl do you use, and how much do you appreciate good advices. If you work with Perl on day to day basis, and you want to improve by applying some of the good practices, really consider this one. Damian Conway […]


[25-11-2014]

How to import Safari bookmarks into Opera 25

It is not an easy task. Unfortunately, it doesn’t work out of the box, but you can cheat Opera a little bit. So, to get all bookmarks from Safari inside Opera 25 you have to use Chrome :) Install Opera, install Chrome. After starting Chrome, it will ask you to import bookmarks from Safari – […]


[18-11-2014]

Keynote – disable snap to objects

Sometimes, it’s quite frustrating when you can’t place object exactly where you want it. And that’s the result of “snap” feature in Keynote. You can easily overcome that by clicking Command button. Take a look below.


-->
[12-11-2014]

Diablo 3 – crashes at OS X and freezes my Mac

If you have experienced the issue with Diablo 3 completely freezing your Mac, take a look at file inside /Application/D3Debug.txt. In my case, there was this issue that files were corrupted. You can tell that by examining the D3Debug.txt 2014.11.12 00:38:24.407071158 ERROR: Failed to validate file (Appearance\a3dun_Keep_Cart_A_Breakable.app). Details: F9E0777B147CBC680FB8E6358613B470 778840 1 Data_D3\PC\MPQs\Cache\base\patch-base-26451.mpq 2014.11.12 00:38:24.407202563 ERROR: […]


[01-11-2014]

Building Chromium on OS X

That’s my minimal scenario: cd ~/bin git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=`pwd`/depot_tools:”$PATH” cd ~/opt mkdir chromium cd chromium/ ~/bin/depot_tools/fetch –nohooks –no-history chromium cd src git checkout master echo “{ ‘GYP_DEFINES’: ‘OS=ios’, ‘GYP_GENERATOR_FLAGS’: \ ‘xcode_project_version=3.2’, }” > chromium.gyp_env ~/bin/depot_tools/gclient sync tools/clang/scripts/update.sh GYP_DEFINES=clang=1 build/gyp_chromium ~/bin/depot_tools/ninja -C out/Debug chrome Of course, you can find details here: http://dev.chromium.org/Home As for […]


[31-10-2014]

I hate Python! – importing modules from subdirectories (PYTHONPATH)

So, you have your python application, and you want to make it tidy. You want to keep all you modules in proper subdirectories (e.g. database manipulation, views, etc.). So, here you are with your subdirectories and the code. If you are looking for a sample code, go straight here: . If you are looking for […]


[26-10-2014]

View Updating by C.J. Date

Summary: Can be really tough on you This one is the weakest in the whole series. I had really hard time while going through. I can understand the point of having views that behave as relations but I think I was not convinced that it can be easily done. Instead of listening what should be […]


[14-10-2014]

nulls and three value logic by C.J. Date

Summary: beware of nulls, they can surprise you So far, this one is the best out of the five in the series. nulls are painfull in db world. No matter how you define them (null, unknown, nothing at all). You can always use something that means – “missing value” – let it be: “sysmiss”, 999, […]


[07-10-2014]

tcsh – keeping your prompt always up to date

In case you want to put some variable’s value inside tcsh prompt you should consider using precmd in order to keep it updated. Inside your ~/.login put following code alias precmd ‘source ~/bin/prompt.sh’ Inside ~/bin/prompt.sh you can put any definition of prompt set prompt=”┌[%n@%m variable=${ENV_VAR}]\n└[%~] ” If you use precmd you will keep the value […]