Description:
Programming in the Java language.
|
|
|
simple regex pattern sought
|
| |
I often have to search for things of the form "xxxxx"
or 'xxxxx'
where xxx is anything not " or '. It might be Russian or English or
any other language.
What is the cleanest way to do that?
-- Roedy Green Canadian Mind Products
[link]
I would be quite surprised if the NSA (National Security Agency)... more »
|
|
Oops! Integer.compare
|
| |
I was doing some subtraction in sort Comparators, when I noticed a
method Integer.compare that would handle the nice cases properly.
I thought to myself, I wonder why I never noticed that before. (Turns
out it was introduced in 1.7).
The catch was though that Jet stopped working.
Why?... more »
|
|
tracing JVM for applet analysis?
|
| |
A website uses an applet. To analyze its run-time behavior,
it would be nice if one could substitute the browsers's JVM
by another JVM that traces all method calls to a file. (It
would be even better, if only calls from a method of the
applet to a Java SE method were traced.) Is anything like... more »
|
|
Patricia trie vs binary search.
|
| |
For some reason I was thinking about sub-string searches today. I looked up Patricia tries (a kind of radix tree) to see if they would help. While interesting, the radix tree seems to have a lot of overhead for large numbers of entries.
The radix tree uses a bucket at each level to hold all children (and... more »
|
|
Chrome bug with Applet and threading
|
| |
Hi,
Please see Chrome bug report: -
[link]
If you can identify a bug in my code that is causing the hang on Chrome them please let me know. Otherwise please vote for this issue by ticking the star. SSCCE provided and behaviour very easy to reproduce.... more »
|
|
SAP FICO Business Analyst
|
| |
In today’s IT – services marketplace, IT departments face a daunting
challenge: they must somehow deliver the highest quality at the lowest
cost, while navigating in a highly inefficient marketplace. Net Matrix
Solutions, Inc is the leading IT professional services provider
helping clients achieve their IT services goals with the quality they... more »
|
|
Extract String and StringBuffer
|
| |
Hi all
I need to extract all of the SQL select statements from a codebase ideally during build time.
The SQL queries are embedded in the source code in either String or StringBuffer form, none of them are annotated with a unique annotation.
I've been looking into AspectJ and maybe applying an aspect to the class Connection for instance which could output the sql to whereever at some point during execution, this does mean however that I'd need some way of executing each and every method which executes a select statement in a unit test for instance.... more »
|
|
Ant 1.8.4 releeased
|
| |
[link]
Ant 1.8.4 released.
I posted this twice before, but it did not show up.
-- Roedy Green Canadian Mind Products
[link]
I would be quite surprised if the NSA (National Security Agency)
did not have a computer program to scan bits of shredded
documents and electronically put them back together like a giant... more »
|
|
New ant version
|
| |
I posted this earlier bit it did not show up.
Ant 1.8.4 is out.
[link]
-- Roedy Green Canadian Mind Products
[link]
I would be quite surprised if the NSA (National Security Agency)
did not have a computer program to scan bits of shredded
documents and electronically put them back together like a giant... more »
|
|
Captchas
|
| |
Captchas have been getting more and more difficult as bots gets
smarter. Bots are now smarter than people at deciphering those nasty
smeared images, making Captchas obsolete.
There are alternatives. See
[link]
In particular see [link]
which is a quite painless scheme.... more »
|
|
|