Rok Kralj

Slovenia

rok-kralj.net

Age: 23

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

9h
comment How to create all possible combinations from the elements of a list?
Unless there are some heavy data structures in a list, making toSet (hashing) extremely slow.
2d
awarded Good Answer
Dec
6
revised How can i interleave elements of 2 lists in scala
deleted 430 characters in body
Nov
29
comment Expressing square in Scala
I don't think you know what power of two really means: en.wikipedia.org/wiki/Power_of_two
Nov
28
comment A phrase "was there anybody there" is correct?
Apart from the missing question mark, everything is right.
Nov
27
revised How do you make a HIVE table out of JSON data?
added 58 characters in body
Nov
24
revised Replace transparency in PNG images with white background
added 335 characters in body
Nov
23
comment Does more RAM usage cause more battery usage?
LOL. 3 watts per stick is A LOT!
Nov
1
comment Is there a combination of takeWhile,dropWhile in Scala?
Not necessarily. Depends on the Scala optimiser.
Oct
22
answered Idiom for Scala's Option when doing equality tests
Oct
16
revised Which is faster: while(1) or while(2)?
added 39 characters in body
Oct
15
revised Detect JPG Compression Rate?
This question goes beyond just PHP.
Oct
13
awarded Necromancer
Oct
11
comment Elegant way to invert a map in Scala
Yes, I do. See above.
Oct
6
awarded Tumbleweed
Sep
29
asked How can I lock my screen in Gnome 3.14 without Xorg
Sep
28
comment Dropbox - no local copy, possible?
gvfs support for WebDAV is mediocre at best. I also don't like the non-free (in both senses of the word) nature of Dropdav.
Sep
27
revised How to determine the first and last iteration in a foreach loop?
The question no longer reflects any of the answers. I cleared it out completely.
Sep
24
comment Asking the user for input until they give a valid response
@Kevin: Well, it's age afterall.
Sep
24
comment Asking the user for input until they give a valid response
@Veedrac: You'll have to present better sources for your claim.
1 2 3 4 5