Dec
9
awarded Notable Question
Dec
9
answered Why can't I link2sd the Play Store and Maps apps?
Dec
3
awarded Supporter
Nov
28
comment Calling Thread.sleep() with *interrupted status* set?
This answer completely misses the original question, not sure why OP accepted this. The question is whether calling Thread.sleep() when the interrupted flag is already set will result in the method throwing InterruptedException, and this doesn't try to answer that at all.
Nov
19
comment How to get all garbage collector MX beans in java of a remote jmx URL?
Since you are connecting to remote JVM, you should use jmxConn.getMBeanServerConnection() instead of ManagementFactory.getPlatformMBeanServer() ?
Nov
17
revised How to tell eclipse NOT to validate pom.xml without changing pom.xml?
Link moved.
Nov
14
comment how to pass password for rsync ssh command
Didn't know about sshpass, came handy in a tricky situation.
Nov
10
comment Monitor non-heap memory usage of a JVM
@PeterLawrey I don't actually know how to check which of these [anon] blocks are thread stacks, that is in fact part of my question. I tried to compare the size column against the Xss (which we had as 296) and found only one.
Nov
8
comment Monitor non-heap memory usage of a JVM
@PeterLawrey Using pmap -d on RHEL 6.5, I get the fields Address Kbytes Mode Offset Device Mapping and none of the entries are for threads. All entries are either files or [anon]. Example entries: 0000000000400000 4 r-x-- 0000000000000000 009:00002 java and 0000000001002000 132 rw--- 0000000000000000 000:00000 [ anon ].
Nov
7
comment Monitor non-heap memory usage of a JVM
"You have a bunch of threads using 64 MB stacks." -- How did you figure it out from pmap output?
Nov
7
comment Virtual Memory Usage from Java under Linux, too much memory used
Can the pmap output be useful in understanding memory issues in off-heap usage?
Nov
7
answered Can anyone explain precisely what IOWait is?
Nov
7
comment BeautifulSoup Grab Visible Webpage Text
+1 for soup.findAll(text=True), hugely simplified my logic.
Nov
5
answered Forking / Multi-Threaded Processes | Bash
Oct
29
awarded Revival
Oct
23
comment HTML usability question - (double) clicking to select text
Yes, I used jQuery selector with bind(), which must internally do addEventListener. Thanks for clarifying, I am still a newbie in web programming :)
Oct
23
comment HTML usability question - (double) clicking to select text
As per Event documentation, the first parameter is in fact the event object itself, not the element. See developer.mozilla.org/en/docs/Web/API/Event. Edit: Just noticed that you are explicitly passing this as the first parameter.
Oct
23
comment HTML usability question - (double) clicking to select text
In latest chrome, what I get as the first parameter of the function is the event, so replaced the parameter with e and elem with e.target and it worked beautifully.
Oct
21
comment ADB error : device not found
Solution 2 worked for me on HP touchpad running KitKat. After I applied solution 2, the device appeared offline, and when I removed and reconnected the USB cable, got the prompt to whitelist the computer and it was all hunky dory after that.
Oct
20
revised Enable copy and paste in to HTML fields
Further refinements.
1 2 3 4 5