|
Is there an open source (and ideally free software) alternative to ZeroTurnaround's class reloading tool Java Rebel ?
Started by knorv on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I believe JavaRebel uses the Javassist library, you could look at that and try to write something that meets your needs yourself... .
I don't believe there is, and if there is I doubt it will have the same feature set and app server support that JavaRebel does .
|
|
Consider the following text box:
<input type="text" name="quantity" id="quantity_field" />
Using jQuery I want to restrict the set of valid inputs into quantity_field by the following regexp:
<script> var quantityRegexp = "^(0|[1-9]+[0-9]*...
Started by knorv on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I expect that you don't want that since your first character class... .
It matches empty strings but also a number like.
Not an answer to your question (since I have no knowledge of jQuery), but the regex ^[1-9]*[0-9]*$ might not do as you expect or think .
|
|
I'd like to know about specific problems you - the SO reader - have solved using artificial neural network techniques and what libraries/frameworks you used if you didn't roll your own.
Questions:
What problems have you used artificial neural networks...
Started by knorv on
, 17 posts
by 17 people.
Answer Snippets (Read the full thread at stackoverflow):
Also there is more information about Neural Net ....
It is written in .NET (there is a CodeProject article on AForge)
The good and the old library is FANN
NeuronDotNet is another good library .
I know 3 good Neural-Network libraries:
AForge is my favorite.
|
Ask your Facebook Friends
|
I'm trying to understand how the concepts of young , old and permanent generations in the Java heap terminology, and more specifically the interactions between the three generations.
My questions are:
What is the young generation? What is the old generation...
Started by knorv on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The Java virtual machine ....
This PDF contains a pretty good explanation.
There are a couple of links to even more information at the bottom .
Assuming you're talking about the Sun JDK/OpenJDK, see the page on the OpenJDK website on Storage Management .
|
|
Assume a Linux binary foobar which has two different modes of operation:
Mode A: A well-behaved mode in which syscalls a , b and c are used. Mode B: A things-gone-wrong mode in which syscalls a , b , c and d are used. Syscalls a , b and c are harmless...
Started by knorv on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Is the application linked statically....
You will have to write the policy that corresponds to what you want to allow the process to do .
One popular implementation is SELinux.
This is one possible application of sandboxing (specifically, Rule-based Execution) .
|
|
Assume a legacy Linux application listening on a UNIX domain socket /tmp/foo .
In addition to communicating with this legacy application over the UNIX domain socket mechanism I want to be able to connect to it via a TCP-connection on port say 1234.
What...
Started by knorv on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
To it in another:
nc localhost 1234
socat , as recommended by knorv , is more capable, but more complicated.
|
|
The following R commands will install all CRAN packages:
availablePackages <- available.packages()[,1] install.packages(availablePackages)
And the following command will list all installed packages:
installedPackages <- .packages(all.available =...
Started by knorv on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Why would you want to do that? There are over two thousand of them?
2) Did you look at CRAN Task Views and the ctv package that allows you to install packages from a given task?
3) You bold-face question is a simple indexing query you can do by hand... .
|
|
When installing R packages (say mcmcpack in this example) under Ubuntu I have the choice between the following two methods of installation:
# Let the distribution's packaging system take care of installation/upgrades apt-get install r-cran-mcmcpack # ...
Started by knorv on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Having 2 versions installed might get you into confusing situations: depending on your R setup you could load another package version then... .
I'd consider using apt-get best practice since you will get automatic updates through the standard system tools .
|
|
Which browsers do support HttpOnly cookies, and since which version?
Please see http://www.codinghorror.com/blog/archives/001167.html for a discussion of HttpOnly cookies and XSS-prevention.
Started by knorv on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Microsoft IE 5.0+ Mozilla Firefox 1.0+ Google Chrome Apple Safari Opera 8.0+ Feel free to add to this list:
Internet Explorer since 6 sp1 ( source , source ) Firefox since 2.0.0.5 ( source ) Opera since 9.5 (possibly... .
All major browsers support HttpOnly.
|
|
Let's say I have a datePicker called "foobar":
<g:datePicker name="foobar" value="${new Date()}" precision="day" />
How do I read the submitted value of this date-picker?
One way which works but has some unwanted side-effects is the following:
def...
Started by knorv on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
In the case of your example, I will assume that your form calls the action handleDate... .
You still need to know the format though
def newObject = new SomeClassName() newObject.foobar = Date.parse('yyyy-MM-dd', params.foobar)
Use the command object idiom .
|