Vitalii Fedorenko

Toronto, Canada

my-dev.blogspot.com

Age: 28

Software engineer specialized in large-scale fault-tolerant distributed systems.

Github: https://github.com/zhaber?tab=repositories

#SOreadytohelp

Aug
27
comment Compact way of writing (a + b == c or a + c == b or b + c == a)
division by 2 is simply decreasing the exponent by one, so it will be accurate for any integer that is less than 2^53 (the fraction part of a float in python), and for larger integers you can use decimal. For example, to check integers that are less than 2^30 run [x for x in range(pow(2,30)) if x != ((x * 2)/ pow(2,1))]
Aug
25
awarded Nice Answer
Aug
21
answered Compact way of writing (a + b == c or a + c == b or b + c == a)
Aug
19
awarded Necromancer
Aug
19
comment Measure execution time for a Java method
I do not see why the number of database transactions should affect the accuracy, the only thing to keep in mind is that the time of the db query will be included in the total execution time.
Aug
18
awarded Good Answer
Jul
3
revised HTML5 Canvas 100% Width Height of Viewport?
added 23 characters in body
Jun
3
awarded Great Answer
May
22
awarded javascript
May
22
answered javascript - delete cookie
May
18
answered Convert ArrayList containing Strings to an array of Strings in Java?
May
14
comment Angular Ui DateTime issue with Firefox
Tested with Firefox v31, works fine. Feel free to file an issue at github.com/zhaber/datetimepicker/issues if you experience any problems.
May
13
comment Java - Hash algorithms - Fastest implementations
Take a look at Guava Hashing, it has a few hash utilities that might be useful.
May
13
revised How to split a string in Java
added 160 characters in body
May
13
answered How to split a string in Java
May
12
answered Group a list of objects by an attribute : Java
May
12
answered Java : Cartesian Product of a List of Lists
May
12
comment How do I implement a Dictionary or Hashtable in Javascript?
Formally, you are right. But as you can find in the browser compatibility section all modern browsers already support this feature, which means that going forward at least the core API should stay backward compatible.
May
7
answered How to get current date in jquery?
May
7
revised Enums in JavaScript?
added 303 characters in body
1 2 3 4 5