Apr
2
awarded Supporter
Mar
4
awarded Nice Question
Feb
28
comment Javascript get entire 2nd column
Should work with cells[1] - there is probably an empty column that you are missing.
Feb
19
comment Assining permission to www folder
@pixelngrain it will work fine if you place it under /var/www. However, you can place it anywhere that the apache server will look for it. You define those things in the configuration files found in /etc/apache2/ (they are not too hard to read). For now, I would leave them in /var/www, changing permissions as needed.
Feb
19
comment Assining permission to www folder
To downvoter: please explain why you downvote, so that I may fix the answer.
Feb
19
answered Assining permission to www folder
Feb
13
awarded Investor
Feb
13
revised Titanium webview leaflet/gmaps pinch-zoom not working properly
minor cleanup
Feb
11
awarded Caucus
Feb
10
awarded Popular Question
Feb
5
comment goto file line number in Java
You can always write your own endline-locating code that only reads bytes. That should be slightly faster (lots of calls to a myBufferedInputStream.read() instead of UTF-8 conversion and string-creation). Of course, at some point, you will want to convert those bytes into characters...
Jan
21
answered Crypto JS AES-128 cipher - equivalent Javascript code
Jan
21
comment Crypto JS AES-128 cipher - equivalent Javascript code
Can you provide a short sample input & output? This would make it easier to write & test an equivalent cryptojs version. Also, can you add your current best-effort cryptojs attempt?
Jan
21
revised Use grep to remove words from dictionary whose roots are already present
added non-grepping version (and therefore much faster) version; added explicit ignoring of short words
Jan
20
comment Use grep to remove words from dictionary whose roots are already present
< 2m on the full american-english file (restricted to 4-letter words, but orininally over 99k words). Using the --mmap flag does not make much of a difference. Disclaimer: I have an SSD.
Jan
20
comment Use grep to remove words from dictionary whose roots are already present
Added a proof-of-concept answer. Although I would recommend Python (or almost anything else) over Bash for text processing.
Jan
20
answered Use grep to remove words from dictionary whose roots are already present
Jan
20
comment Use grep to remove words from dictionary whose roots are already present
What have you tried? What do you get?. Right now, your question appears to be "write this program for me so I can learn from it" - please show some research effort.
Jan
20
comment Javascript clarification
I recommend reading through eloquentjavascript.net/‎, and only then asking questions on basic syntax
Jan
20
comment Stack-overflow exception on probabilistic calculation
Use a while-loop instead of recursion in getChainLength() - this should speed things up a bit and free quite a lot of stack.
1 2 3 4 5