1,203 reputation
510
bio website
location
age 38
visits member for 3 years, 1 month
seen 19 hours ago

May
26
comment Libraries and licenses
Note that many products offer dual licencing; in essence if you do not want issues from using the open source licence, you buy a "closed" licence from the developers that would allow for redistribution.
May
22
comment Where should my team start with becoming “modern”?
@omouse I was just pointing a risk that has hit myself sometimes, when doing research. Certainly I do not see that risk in the situation that you describe, but the form in which the OP describes his research ("first I started with... then I quickly moved...") made me add that caution. Note that I do not claim that the OP is not doing his assigned work properly (that is something I simply do not know, and that is his boss'job), I just warn him to make sure that he does not get too carried away.
May
22
comment Where should my team start with becoming “modern”?
@winkbrace for the boredom bit, it depends of your personality and what you are looking for in a job. It is sensible to try to land in a job position that satisfies you, rather than go anywhere and try to change the organization to your tastes. And usually big corporations (except for R&D departments) are not the place for people who likes to test a new technology each few months.
May
22
comment Where should my team start with becoming “modern”?
@winkbrace I do not claim that you should not try to improve (in fact I state the opposite). But pushing those changes without management support and without the authoritas of some seniority may be quite difficult and cause some resistence; add to that the OP not being quite an expert himself and may have troubles with the actual implementation. It would be nice if the OP could volunteer to a research/prototyping team to properly introduce changes; but barred that he should be careful in chosing the right approach to promote those and be patient.
May
19
comment Getting help in StackOverflow: How often is too often?
I would say that as long as you do a good SSCCE code and you did a sensible effort at searching the related terms, I would say it is ok to ask. Of course, I often take 2/3 hours to write the SSCCE (using it to check for possible variations), and I usually would have been tinkering for a few days before writting the SSCCE, so the usual would once a week (but if I were a novice in the language framework I would probably ask more, as SSCCE and error options would be simpler).
May
12
comment In Agile SCRUM, how do you handle even distribution of work in a sprint between “experts”?
But... should the OP tell upper management that he is doing pairing and that maybe performance will be reduced (at the gain of less risk)? Or should he just do it and "hope nobody notices" (after all, who is gonna tell them how many actual men/days have been produced)?
May
6
comment What data structure would you use to represent an organic compound?
I think you should ask a chemist. They may not know how to program it, but they sure know how to represent compounds, and have though about most of the possibilities (for example, they represent bencene just with an hexagon). Also, there are some abstraction levels (a protein is described as a sequence of aminoacids, not as a group of atoms). Once you understand how to represent it in paper, the programming part should be quite straightforward
May
6
comment Best Approach for Config File for CSV Parsing
Be aware that CSV can be quite complex to parse if you want to cover all the cases (v.g., Mark, Clinton, "58, Mulberry Street, London",...)
Apr
29
comment Is it okay to have objects that cast themselves, even if it pollutes the API of their subclasses?
Additionally, the example is flawed. There is a Member interface, but it only serves to check the access qualifiers. Typically, you get a list of methods or properties and use that directly (without mixing them, so no List<Member> appears), so you do not need to cast. Note that Class does not provide a getMembers() method. Of course, a clueless programmer might create the List<Member>, but that would make as little sense as making it a List<Object> and adding some Integer or String to it.
Apr
8
comment Recursively parse without resorting to ugly design patterns
You do not need all of the theory behind it. Just the rules to define a language that is a CFG. And now, just to adjust my previous example to your actual proposal, CrotchCode -> int CrochetCode [repeat] | < CrochetCode [reverse]| {CrochetCode} [group]| CrochetCode CrochetCode [list of commands]| Stitch Symbol | [empty set]
Apr
8
comment Recursively parse without resorting to ugly design patterns
Something like CrochetCode -> repeat {CrochetCode} | reverse {CrochetCode} | StitchSymbol | [empty set]
Apr
8
comment Recursively parse without resorting to ugly design patterns
At the risk of sounding too academical, I think you should go and try to learn the basics of parsers and compilers (namely, regular expressions and context free grammars) so at least you can define your language as a Regex/CFG. Once that is done, 90% of the work is finished, since there are lots of tools and techniques to create parsers from Regex/CFG.
Mar
10
comment What is the origin of the phrase “extirpated as a potential munition”
@esoterik that should be an answer (although maybe the question itself could be off-topic).
Feb
24
comment Is it reasonable to assume that any physical quantity can be represented by a 64-bit integer without overflow or underflow?
But you can assign a minimum physical value (IIRC, for mass it was the mass equivalent to 1 electron-volt). For example, you can measure the universe length using Planck length units with (IIRC) 200 digits. You can mentally talk about 1/10 of a Planck length, but physically it has no sense.
Feb
15
comment Testing process on life critical systems
Nothing to worry about, we have it covered: dilbert.com/strip/1996-02-01 and dilbert.com/strip/1996-01-31
Jan
25
comment Is there an established pattern for associating a database entry with a Java class that executes on that data?
If you do not have state, it seems an example of the strategy pattern. You could still use JPA for that, but using enum. That enum would be a property of the actual "entity" (which would be the nodes or leafs of the tree).
Jan
25
comment Is there an established pattern for associating a database entry with a Java class that executes on that data?
In the discriminant column there is a value that allows JPA identify the specific subclass. For MyClass, you may define it as "X1", for MySubclass, "X2"... The value in the database would tell JPA if, when retrieving the data, it needs to new MyClass or new MySubclass. In the more extreme situation, you could use the entire name of the class as discriminant and end with the same table you would get with your first proposal (but of course, shorter codes may be quicker/more readable).
Jan
6
comment java add new modules to an existing app
Additionally, has already HR its own IS. If they are used to managing one, presenting the data from the original app as part of their IS would be better than forcing them to use a different IS for that purpose.
Jan
6
comment java add new modules to an existing app
Note that if the "shared database" concept brings the problem of will break the cache layer that is used by the main app, most probably a separate database will have the same issue.
Dec
12
comment Why use arg type `class Object` instead of `Comparable[]`?
More than a "copy", you just assign the references to the new array. Also, those "type-lossing" methods usually come from versions prior to java 5 (which introduced generics)