18h
revised Create a shared library that subsumes its link-time library dependencies
added 47 characters in body
18h
asked Create a shared library that subsumes its link-time library dependencies
1d
comment Read text files and create hashmap in c++
The question is too general, in the sense that you do not seem to know where to start. You are not stuck on something, but on everything. Voting to close.
Jul
24
comment generics equivalent to InsertionSort
Also - you are only "sorting" the empno fields of your employees. If they have anything else, you will be garbling up the data. Sorting whole employees is probably what you wanted to do in the first place
Jul
24
comment generics equivalent to InsertionSort
What have you tried? I can write the code, but you should prove that you have tried your best first.
Jul
24
comment infinite loop in quicksort java
I believe Narmer has found the cause (same mistake in swap within loop)
Jul
24
comment infinite loop in quicksort java
Can you provide an example input to this function (values for a, p, and r) which results in non-termination?
Jul
24
comment infinite loop in quicksort java
While that is an obvious error, the loop will exit shortly after; it does not explain infinite loopyness
Jul
24
revised infinite loop in quicksort java
fixed indents
Jul
21
answered Fibonacci number is negative
Jul
20
comment Regex for fully qualified java classname
The following FQNs are legal (one thing is convention, another is what Java considers valid): My.Packages.With.UpperCase, a.package.aClass. You are assuming that there will be two or more lowercase package-levels followed by a camel-case class-name. If so, state it clearly in the question.
Jul
18
reviewed Approve suggested edit on How to stream print stream to textarea in javafx?
Jul
18
comment How do I manipulate filenames in bash?
is python ok? It is present by default, and bash is kind of awkward for this
Jul
18
comment How to unzip a zip file within a zip file in java
However, you do not need to fully unzip the outer file before unzipping the internal one; you could read through the outer zip until you find the entry for the inner one, and unzip that.
Jul
18
answered Observing millions of tiny objects in realtime
Jul
18
comment Observing millions of tiny objects in realtime
Does your program also change the objects, or will it only look at them? If you are only looking, you can process things without worrying about order-of-processing (and thus somewhat cheaper); otherwise you will need a sort of event-system to guarantee that changes are processed as they occur.
Jul
18
comment Observing millions of tiny objects in realtime
What changes the objects? Is it your program, or is it another program/process that you do not control?
Jul
18
comment How to achieve generic interface and readable code?
Are you copying and pasting the same comment to all answers?
Jul
18
comment Java library function to turn arbitrary String into XML ID
Changes my approach from "alter the string as little as possible" to "better safe than sorry"
Jul
18
revised Java library function to turn arbitrary String into XML ID
Switched answer from "escape" to "sanitize"
1 2 3 4 5