Reputation
31,000
Next tag badge:
752/400 score
70/80 answers
Badges
6 72 126
Newest
 Yearling
Impact
~1.1m people reached

Jan
20
comment what happens at Java interpreter level when IncompatibleClassChangeError is thrown?
Keep in mind that is bug is ancient, it was fixed in 2002. Current JVMs most likely work quite different.
Dec
28
comment What backs up the claim that C++ can be faster than a JVM or CLR with JIT?
@Lothar: you are wrong. Java JIT compilers are extremely smart and have been able to do stack allocation of objects for well over 5 years now: www-01.ibm.com/support/docview.wss?uid=swg1IZ70114
Dec
20
comment Distinction between API and frontend-backend
@johnny: no - SOA is a concept at a much higher level of abstraction, it's more about how you organize your business functionality than about technical layers.
Aug
31
comment Why does databases use text?
I don't think you understand what "serialized" means...
Jun
29
comment floating-point number stored in float variable has other value
For a somewhat easier introduction: floating-point-gui.de
Jun
20
comment How can I avoid the use of strings?
@AlexFoxGill: yeah, but in any sane GUI framwork, you should get the result of the user's choice as an object directly without having to parse a string.
Jun
7
comment Security issue about making my code public in GitHub
@Pacerier: I'll take you up on that wager anytime. Note that the statement is that open source increases security, not that it results in perfect security. You can cite examples for bugs in OSS until the cows come home and it proves absolutely nothing to the contrary. There actually is proper research: archive.wired.com/software/coolapps/news/2004/12/66022 - yes, it's over 10 years old, but until you can find something concrete with contrary findings, it stands.
May
27
comment Should I build a multi-threaded system that handles events from a game and sorts them, independently, into different threads based on priority?
@supercat: if there are sufficiently many interactions, you could end up with the "clique" being the whole world. Also, establishing globally that "everything has been resolved" could be quite nontrivial.
May
27
comment Should I build a multi-threaded system that handles events from a game and sorts them, independently, into different threads based on priority?
@supercat: I'm pretty sure that won't work. You can't easily "go back and redo" when you detect a collision because you already have proceeded with other calculations based on the new state.
May
8
comment What was the date of the Java Alpha and Beta releases
@Philipp: quite possibly both.
May
6
comment Best strategy to find the root cause when exception is swallowed by 3rd party
@YazadKhambata: the s in strace does not stand for "stack". It will not give you any information about your exception directly, but it may reveal what it was trying to do that caused the exception, e.g. access a file that doesn't exist, or open a network connection that is blocked by a firewall.
Feb
18
comment Abstraction in algorithms
@Ahmad "comparable objects" is exactly the kind of thing that should be part of an abstract description of an algorithm. There are in fact sorting algoritms (e.g. radix sort) where that is not sufficient. Abstracting things in terms of input and output is part of software engineering or (more specifically) requirements engineering.
Feb
5
comment What's the tradeoff for type inference?
Note that the new HashMap<>(); syntax was only added in Java 7, and the lambdas in Java 8 allow for quite a lot of "real" type inference.
Jan
18
comment Writing my own voice recognition code
I'm afraid that the 2.2, the part where you say is "not really for discussion here", is where nearly all the difficulty is contained. Extracting a numerical value(s) from an audio sample where simple numerical comparison corresponds to similarity as sound is either extremely hard, or even a fundamentally wrong approach.
Jan
7
comment Why would a program require a specific minimum number of CPU cores?
Funny, I've been playing Dragone Age Inquisition on a first-generation i3 for over 30 hours now, without "massive frame drops". Got a new graphics card for it, though.
Dec
28
comment Is it difficult to develop a programming language which is closely related to human language?
Heh, very interesting point about natural languages going the opposite way.
Oct
24
comment How to spawn multiple “monsters” from a single class
@Giampli: use instance methods and fields instead.
Oct
16
comment How to make Doxygen documentation that helps in understanding the code?
Good documentation gives brief, abstract, high-level explanation of the purpose of a function and its parameters, a class and its members, etc., and explains design decisions.Most Doxygen-generated documentation is bad because it was generated from source code with no documentation comments, so it add no information.
Oct
13
comment Is this what “Cloud-Scaling” is?
@raptortech97: that AWS can do it doesn't necessarily mean your application can do it.
Oct
6
comment Is it possible/good idea to reduce chance of crashing by catching Error?
@SJuan76: of course it depends on the structure of the application, but many (especially servers) have no global shared state, or keep it in a database with transaction semantics.