Rok Kralj

Slovenia

rok-kralj.net

Age: 22

Currently I am computer science & maths student and computer programmer. I live in Slovenia, if you don't know where that is, google it up. :)

I am a very innovative person, always searching for the way to change something for better. I have a lot of ideas, so most of my projects are for my inner child, not commercial. As a true Sagittarius I rarely finish a project, because I get new idea before I manage to implement the last one.

Yay! Ruby, C++, Qt5 & QtCreator, Scala, JavaFX, JVM, Haskell, PostgreSQL, tabs, Arch Linux, Gentoo Linux, Gnome Shell

Nay! PHP, Matlab, JavaEE, spaces, Ubuntu, KDE

Wish for 2014: Switch from Ruby to Scala

Github: https://github.com/strelec

1d
comment Allow user to resize an undecorated Stage
Undecorator is not a solution, it's just another problem. Anybody who has tried it, knows that.
Apr
14
revised Level system PHP?
edited tags
Apr
14
revised Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
edited tags
Apr
14
revised PHP Jquery: chat system, what is the Ideal framework for this?
edited tags
Apr
11
comment Replace a hash if key is present and insert if not
FYI, Ruby != Rails
Apr
10
revised Handling of 'ä','ö','ü' in input jQuery
edited tags
Apr
10
revised Does ruby have the ability to split a directory string?
edited tags
Apr
10
comment Regex to replace <br> and <br/> with \n
@ArupRakshit: You're kidding, right? A 100 MB dependecy for a such small task?
Apr
8
comment Whats the difference between & and && in JavaScript?
Answer completely revised.
Apr
8
revised Whats the difference between & and && in JavaScript?
Question completely revised.
Apr
6
awarded Nice Question
Apr
2
comment Why it's impossible to throw exception from __toString()?
This deserves a big WAT
Apr
1
awarded Critic
Mar
23
revised Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
deleted 8 characters in body
Mar
10
comment in_array multiple values
4 more months and 5.3.* will no longer be supported, making this solution universally valid. PHP 5.4 has been released more than 2 years ago.
Mar
10
comment How to add an existing user into a group in Linux?
Because it's the first result in Google. If we migrate, it goes bye bye.
Mar
8
comment How to determine the first and last iteration in a foreach loop?
Not only higher memory usage, but probably more CPU usage because of copying, unless PHP uses COW (copy on write). Moreover, I think array reference pointers are a failed feature of PHP, therefore I don't think you should use them in production code.
Mar
4
awarded Nice Answer
Feb
25
awarded Necromancer
Feb
19
awarded Civic Duty
1 2 3 4 5