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, Scala, C++, Qt5 & QtCreator, ScalaFX, Haskell, PostgreSQL, tabs, Arch Linux, Gentoo Linux, Gnome Shell

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

Wish for 2014: Switch from Ruby to Scala for all my work,

Github: https://github.com/strelec

1d
revised Java: function for arrays like PHP's join()?
Removed evil null and useless and wrong comment.
Aug
16
comment Is there an interval notation for complex numbers?
Maybe, but not the + sign.
Aug
16
comment Is there an interval notation for complex numbers?
You could even drop the $\in \mathbb{C}$, since the inclusion could be inferred from the fact $x$ and $y$ are reals.
Aug
16
awarded Teacher
Aug
16
answered Is there an interval notation for complex numbers?
Aug
13
answered Why strings in $_POST can not contain a dot "."?
Aug
12
comment Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
Should work now fine.
Aug
12
revised Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
deleted 80 characters in body
Aug
6
comment Slick 2.10-RC1, Scala 2.11.x, bypassing 22 arity limit with case class (heterogenous)
You could shorten x.apply(1) to x(1).
Aug
4
comment Fastest Functional Language
@starblue: Language design choices imply performance (or better, the performance of the best possible implementation).
Aug
2
comment How to pass variadic arguments while adding another one in Scala?
This deserves a /r/lolscala subreddit.
Jul
24
comment scala's mutable and immutable set when to use val and var
-1 You can do += to val x: mutable.Set.
Jul
23
comment Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
Well, I just swapped it in place of base64 encode. Benefit? Nothing, apart from a little speedup. Why edit a perfectly fine solution to copy someone else's?
Jul
22
comment Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
Note: This is an edited solution which later copied my code and my idea (see change log). It should be removed by the moderators.
Jul
21
revised Parallelize Scala's Iterator
added 18 characters in body
Jul
21
answered How to remove an item from a list in Scala having only its index?
Jul
16
comment Why does exist WeakHashMap, but absent WeakSet?
@mart: Not true. BitSet doesn't.
Jul
15
comment Importing .jar files into Scala environment
-1 Next time answer the question. SBT is not a part of Scala.
Jul
15
comment Scala equivalent of python echo server/client example?
-1 This answer is so obsolete it hurts. Don't stab yourself like I did.
Jul
15
comment Is there any replacement of long double in java?
You are not able to use Math.* functions on BigDecimal. Huge disadvantage.
1 2 3 4 5