6,584 reputation
11127
bio website ontraindevelopment.blogspot.c…
location
age
visits member for 1 year, 11 months
seen 6 hours ago

At day I work as an ABAP developer in civil service.

At night I am developing WizardMMO, a web-based MMORPG using HTML5 Javascript for the client, Java for the server and MongoDB as database backend. You can follow my progress on my development blog.


1d
comment Test Driven Development for Complex Games
You can also apply this method to more complex situations, like making sure that a level 1 character wins a simulated fight against a goblin about 90% of the time.
1d
comment Test Driven Development for Complex Games
One way to unit-test code which uses randomness is to run it lots of times and check if the results statistically conform roughly to the expected distribution. So when an attack is supposed to do 10+2d6 damage, you run the code 1000 times and check that there is no result larger than 22, no smaller than 12 and that there is a roughly bell-shaped distribution within that range.
1d
comment Protecting application against piracy
When you publish the code but allow nobody to copy it, it is called source available, not open source.
Sep
15
comment Why does java.util.ArrayList allow to add null?
Your preallocation argument is invalid, because this is already build into ArrayList with the ensureCapacity(int minCapacity) method and the ArrayList(int initialCapacity) constructor.
Sep
10
comment Why did the creators of the Internet Protocol decide to use IP addresses to identify a particular computer?
@Iain Questions about network routing are on-topic on serverfault.com.
Sep
10
awarded  Revival
Sep
10
comment Why did the creators of the Internet Protocol decide to use IP addresses to identify a particular computer?
This question appears to be off-topic because it is about software development as defined in the Help Center. Your question might be more appropriate on superuser.com or serverfault.com
Sep
9
revised How does the GNU General Public License (GPL) conform to the Open Source Initiative's (OSI) Open Source Definition (OSD)?
added 391 characters in body
Sep
9
revised How does the GNU General Public License (GPL) conform to the Open Source Initiative's (OSI) Open Source Definition (OSD)?
edited body
Sep
9
answered How does the GNU General Public License (GPL) conform to the Open Source Initiative's (OSI) Open Source Definition (OSD)?
Sep
9
comment Competitive Programming
When you think that this is a frequently asked question, why didn't you use the search bar in the upper right corner to see what people usually respond to it?
Sep
8
answered Custom Video Player
Sep
6
comment How is the JVM and Java's WORA different from other high level languages?
@kevincline Hardcoded paths are a bad practice on any operating system. But Java doesn't require you to do this, because it offers OS-independent methods to retrieve common directories like the user directory or the install path of the current program.
Sep
4
comment Is a complete rewrite against the license/eula of this software?
@M.Dudley AFAIK Oracle v. Google said that Google is allowed to clone the Java API as long as their implementation isn't infringing, so it doesn't contradict this.
Sep
4
comment Is a complete rewrite against the license/eula of this software?
@Max I don't think it would because it would be your own work and you can do whatever you want with it. But I am not a lawyer, so when you are serious about this, you should get legal advise.
Sep
4
comment What does this javascript file do? Is this a virus?
This question would fit much better on security.stackexchange.com (and not stackoverflow, where some people try to migrate it right now)
Sep
4
answered Is a complete rewrite against the license/eula of this software?
Aug
31
comment “Used with permission” reusable in a GPLv2 derivative work?
@JGMiller Yes, that is what I want to say.
Aug
31
comment “Used with permission” reusable in a GPLv2 derivative work?
@ratchetfreak Sorry, but I don't understand what point you are trying to make.
Aug
31
revised “Used with permission” reusable in a GPLv2 derivative work?
added 66 characters in body