613 reputation
39
bio website
location
age 38
visits member for 2 years, 3 months
seen 43 mins ago

Jul
28
comment Why was the first compiler written before the first interpreter?
@richard like this one fabiensanglard.net/anotherWorld_code_review? Note that this was a VM/interpreter with a very specific purpose. Also of note fabiensanglard.net/prince_of_persia/pop_boot.php, which allowed loading a big binary in pieces.
Jul
28
comment How do VMs implement function calling?
Yes, it is more or less as compilers work (they push the Program Counter register). Push values before the line number for passing "parameters" to the function, leave an empty "pushable" place for the function to put the return value.
Jul
28
comment In general, should an organization adopt a single methodology or decide on a per-project basis?
How big is the organization? How varied are the projects?
Jul
28
answered Do I need to care about 'Thread safety' in java web applications
Jul
28
comment What's the canonical way to store translations of user data?
That is not part of the data model but of business logic, it is up to you if to define if your application allows showing items/pages that are only partially translated.
Jul
27
comment What's the canonical way to store translations of user data?
"Also the FAQ table needs to somehow make sure there's a full translation for each language". Not necessarily. Most systems I have worked with just have a "default language" to use to show content with no tranlation in the user language.
Jul
27
comment Java and rest OOP languages - when to use super or this keywords
Yes it seems better.
Jul
27
comment Java and rest OOP languages - when to use super or this keywords
Uh, no. In his example, he is making setSize a dummy function that does nothing, so in order to actually set a size he is calling the parent implementation from the constructor. Not the best of designs, of course, because if JPanel has a working setSize() method, its subclasses should have it, too.
Jul
27
comment About re-formating a file
"I have erased large files by moving them to an empty partition then formatting the partition.Then I used the very useful program called Privazer to clean the partition" So you left a "deleted" copy of the file in the original partition? LOL!
Jul
25
comment Is immutability very worthwhile when there is no concurrency?
In Java, if mutability affects hashCode() or equals(Object) result being changed, it may cause errors when using Collections (for example, in a HashSet the object was stored in a "bucket" and after mutating it should go to another one).
Jul
25
comment Should we test the values of objects returned from the methods being unit tested?
Absolutely yes. Pet is as much of the returned object as Age, so you should test the values in the same circunstancies (that is, the contract of the method forces it to be set to an specific value).
Jul
19
comment Asynchronous Web Language
what do you mean by "real-time". Real time is one concept (processing cannot take longer than x time), "non-blocking-ui" processing is a different one
Jul
18
answered Desktop client server application, limiting text area field compromise with customers
Jul
18
comment Why are floats called “real numbers” in some languages?
@AakashM in fact, rational is quite as misguided, as they cannot represent most the rational numbers either.
Jul
16
comment What are the bytes between the MSB and LSB named?
Oh, it is more of a comment. You MIGHT use MSB and LSB in that sense; I just wanted to point out that it is no the usual usage and that (AFAIK) there are no "standard" names for the things you are looking for. Check this link I scrapped from one of the sidebar links: commandcenter.blogspot.com/2012/04/byte-order-fallacy.html
Jul
15
comment What are the bytes between the MSB and LSB named?
MSB and LSB are only used in the sense of stablishing the order in which they must be interpreted due to the issues with endianness, not for the sake of naming things. Once the order it is clear, then they are the first, the second, the third...
Jul
14
comment Approach to managing multiple services like Evernote, Google drive, dropbox in iOS
At the very least, you code a middle layer that hides each service complexity. You create a "Dropbox Wrapper" which hides all the technical details of Dropbox, a "GDrive Wrapper", etc., all of which implement the same contract (in Java it would be "interface", I do not know the term in objective-c).
Jul
14
comment Approach to managing multiple services like Evernote, Google drive, dropbox in iOS
The singleton would need to handle internet reachability, app sessions etc. This class would be connected to Dropbox, Evernote and GDrive and their respective This clearly breaks the Single Responsability principle, and may be the beginning of an over-complicated, unmanageable class with kilometric methods.
Jul
13
comment Deny use of my library to compete a certain company
@randomA it was just you who did the generalization from "this statement has been expressed without proper thinking by many people" to "everything randomA does is done without thinking". My statement was correct, with proper arguments, and you should try to relax a little.
Jul
13
comment Deny use of my library to compete a certain company
@randomA my last comment (which I have already deleted), while argumented, maybe ended in a note rather personal... Now, could you please explain why my first original comment was insulting to you?