7,692 reputation
1735
bio website
location
age
visits member for 3 years, 7 months
seen 8 mins ago

2h
comment Does lots of Instance Variables within my class suggest flawed Design?
@FinalFind I imgaine Telastyn meant you should use some sort of collection docs.oracle.com/javase/7/docs/api/java/util/Collection.html
4h
comment Reverse a queue using an extra queue
you may want to ask about a specific part of a solution you don't understand
Jul
21
revised If we could get a file's binary form, would this method of file compression work?
added 3 characters in body
Jul
21
comment If we could get a file's binary form, would this method of file compression work?
if anything this is more of a parity/error detecting code (though not a very good one) en.wikipedia.org/wiki/Repetition_code
Jul
21
revised If we could get a file's binary form, would this method of file compression work?
a missing negation in there somewhere
Jul
21
comment If we could get a file's binary form, would this method of file compression work?
additionally one of the arrays is the original file while the other is the complement of the original file
Jul
14
comment What precisely do I/my company need to do “make available/publish” source code changes and satisfy GPL/LGPL
ok you are modifying the source but are you distributing the modified binary to anyone or just using it internally? if you don't distribute the binary you do not need to publish the source anyway
Jul
9
answered Testing Facades, Is it a good idea?
Jul
9
comment Equidistant polygons
does just plotting with a larger line weight work for you? if not why?
Jul
7
comment An algorithm for reconstructing a graph from its shortest path information?
@Giorgio adding a single edge from v1 to v3 that is longer than v1-v2-v3 results in the same set of matrices unless I'm missing something - so would be a counterexample for the non-uniform edge case
Jul
7
comment Is reading+modifying existing code better than making your own?
also bear in mind the copyright/licensing issue implied by copying someone else's code
Jun
27
comment How should I test boolean function with many possible permutations
@DavidK yes for unit test it might be too slow with a file, this is more target to integration tests
Jun
27
comment How should I test boolean function with many possible permutations
@SilviuBurcea sure, I've mentioned one possible refactor, there are others though, e.g. extract method which MainMa covers
Jun
27
revised How should I test boolean function with many possible permutations
added 427 characters in body
Jun
27
answered How should I test boolean function with many possible permutations
Jun
26
comment Use of AGPL software on server with closed-source software
the "I may also use some IPC, like datagram sockets to provide a bridge between the AGPL software and the other software. This closed sourced software will provide a web interface to the user." part seems more directly a breach of the license to me
Jun
12
comment Is method overriding always a violation of Liskov Substitution Principle?
suggesting that you should almost always call the base method when overriding strikes me as wrong as it implies your method now breaks the SRP
Jun
2
comment Can I, as author and copyright holder, relicense my code under a more liberal license after it has been published under a more restrictive license?
no but they can fork a gpl project and use it internally, or they can fork a gpl project and release the fork as gpl
Jun
2
answered Can I, as author and copyright holder, relicense my code under a more liberal license after it has been published under a more restrictive license?
May
12
comment Should you always pass the bare minimum data needed into a function in cases like this
@Peri a real User class might be complex to create, taking an interface allows you to mock it out so you can keep your tests simple