Rok Kralj

Slovenia

rok-kralj.net

Age: 21

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 finnish a project, because I get new idea before I manage to implement the last one.

Despite as it may seem, I'm not a typical geek :) I spend my time doing photography, poetry, reading literature, spending time with people, cycling. Photography is my real passion.

16m
comment Random point inside SVG <path>
That is a great idea, just the part of verifying intersection is a little bit "hackish". Sometimes the required element is not in the viewport of the browser, or, as in my case, there might be a random element covering the object. Let's say we have a web app, where user might place a window over.
19m
comment Random point inside SVG <path>
Could be concave. Thanks for the edit, you are correct, if I wanted just a point along the border, I would have used getPointAtLength() with random number.
18h
asked Random point inside SVG <path>
May
20
awarded Good Answer
May
20
revised How to add an existing user into a group in Linux?
added 38 characters in body
May
14
awarded Enlightened
May
14
awarded Nice Answer
May
11
answered Redirecting script, with PHP after form hashing
May
5
revised How to add an existing user into a group in Linux?
deleted 3 characters in body
May
1
awarded Good Answer
Apr
30
revised a = (a++) * (a++) gives strange results in Java
added 45 characters in body
Apr
21
comment How to round amounts correct? #Update 1
No, that violates the normalization rules. Doing something like this can cause great inconsistencies. You don't want to do this. You should perform the display & formatting in the View.
Apr
15
awarded Nice Answer
Apr
15
comment How to round amounts correct? #Update 1
And make sure to use 64 bit integer (or more), in case of 32 bit, you will only be able to store amounts up to ~ 43 BTC.
Apr
14
awarded Revival
Apr
14
revised How to round amounts correct? #Update 1
added 26 characters in body
Apr
14
answered How to round amounts correct? #Update 1
Apr
12
awarded Populist
Apr
7
comment Is System.arraycopy() and Array.sort() faster or slower than manual process in Java?
What is manula process?
Apr
3
revised a = (a++) * (a++) gives strange results in Java
added 257 characters in body
1 2 3 4 5