Scott Updike

Ranch Hand
+ Follow
since Feb 16, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Scott Updike

I didn't expect that at all. I've come to understand some of the fundamental mathematical theory behind database querying which is based on set theory and I assumed data mining would expand on that to some extent.

Very interesting.

Thanks for the reply. I look forward to your book.

Scott
12 years ago
Is anyone familiar with utilizing the JPA within the Java SE environment? Any good books that anyone would recommend??

I have a standard Struts-based application (on Glassfish V2) within JSE and would like to investigate transitioning from coding JDBC to leveraging the JPA. Not sure how to do it within JSE (all the books I see are inreference to the JEE environment).

Also, if I go with using JPA, do I have to use a framework such as Hibernate or can I code JPA directly? Is Hibernate really worth its weight?

Thanks in advance,
Scott Updike
[Caveat: I think I asked my question before to someone else's thread.]

What area(s) of mathematics contribute the most to the collective intelligence theory/algorithms?

Thanks,
Scott
12 years ago
Satnam,

What are some of the core mathematical principles behind the collective intelligence algorithms? What area(s) of mathematics has spawned most of the CI principles (number theory, set theory, etc.)

Scott
12 years ago
All,

I have a simple jsp page with a submission form as well as a link. What I need to do is figure out a way to pass the value in the storecredit text field in the updateTxnCustomer form as a parameter to the link. The user has the ability to alter the prepopulated value in the text field, so it could be different from the salestxnto.storecredit value.

How do I do this?

Thanks,
Scott


12 years ago
JSP
I bet I've read that a 1000 times but I still can't seem to find what I'm looking for. Let's take a step back and I'll ask a more fundamental question:

what is preventing other Linux accounts from running mysql, mysqladmin, or mysqlshow even when they use the "-h [myhostname]" option? So far only the Linux superuser root account can run these programs.

I've made sure that everything is owned by the mysql user.

Scott
Not sure if this is the proper forum, but I'll start here....

I just installed MySQL 5 in Debian Linux and have a question regarding root access. I followed the installation instructions to a tee and can confirm that the server is running. The one issue that I'm finding is that I can only run the core mysql applications (mysql, mysqlshow, mysqladmin) only as the Linux root user AND if I explicitly state the hostname with the -h option. If I try and launch these apps with any Linux user other than root OR if I don't specify the hostname, I get the following error:

prompt> mysql -u root -p mysql
Password: *****
"Access Denied for user ''@'localhost' (using PASSWORD:YES)"

If I type the following, I can get in:
prompt> mysql -u root -p -h [myhostname] mysql

Again, even as Linux root user, if I don't specify the hostname I get the same error message.

Not sure what I need to do to resolve this....or is this even an issue?

Just for reference, here's some other information:

"select user, host from user" on mysql database, I get the following
root | 127.0.0.1
root | localhost
root | [myhostname]

My /etc/hosts file looks like

127.0.0.1 localhost localhost
192.186.1.50 [myhostname] [myhostname]

Based on all the documentation I've read so far, not many installations require the -h option. Just want to make sure I don't run into any connection problems when I start connecting this instance to my java app through the connectors.

Thanks,
Scott
I have a basic linux server (that is not connected to the internet) that I would like to install mysql 5.0. My linux version is Debian linux (Sarge 3.1). Since this is an older version on linux, the mysql that comes packaged is 4.1. So I would like to install the binary files and install 5.0.

My issue is that my only computer that is connected to the internet is a windows machine (XP) and whenever I try and download any of the mysql .tar.gz files, it gets saved as a .tar.tar file. Whenever I try to do anything with that file (in linux) I get lots of errors. Is this a windows setting? How can I download the file correctly?
13 years ago
In terms of best practice, where should I put my css folder within my web application folder structure? Does it make sense to leave the folder at the same "node level" as the WEB-INF folder, or should I put it underneath the WEB-INF folder like I do my jsp files?

Thanks,
Scott
I found the issue: I have to use the additional parameter acpi=off.

Not sure why, but it seems that old Presarios have issues with CD installers.

Scott
13 years ago
I need to migrate an existing Netbean project from a windows machine to a Linux machine. Are there any resources out there that can help me with this? I've seen some previous posts on exporting Netbeans projects, but they seem to be on the same OS.



Any references you can provide would be much appreciated..

Scott
I'm trying to install debian on an older Compaq Presario (2.8 GHz) PC. I have the machine setup to boot from the CDROM drive. I put the first Debain disk in the CDROM drive. Once I start the machine, it correctly starts up the Debian boot screen. Once I enter in the default boot command



Hit enter, then the machine reboots itself and puts me right back at the Debian boot screen.

I even tried making a bootable floppy drive and trying to boot from that, but I get the same result (just much slower).

Any ideas? I've installed this OS (from same disks) on other machines, but this particular machine is troubling.

Thanks in Advance.

Scott
13 years ago
I have a jsp page that has a combo box that is populated with a optionsCollection tag. The collection is a bean property that is an ArrayList of objects. For example, I have the following jsp snippet:



..where customerto is a bean that contains an ArrayList of termcode objects (termcodes) that have the String property of termcode.

Everything displays fine, but if the form fails validation, the collection is not being saved to the DynaValidatorForm bean and hence generates an error that states:



Here's how I have it defined in my struts-config.xml file:



Does anyone have any advice for me on how to get the DynaValidatorForm bean to accept a collection and pass it to my jsp error page?

I hope I stated my question clearly!

Thanks,
Scott
13 years ago
Thanks. This was mainly used for testing query strings and thought preparedstatements might be too involved (they are used everywhere else in the base app). Ok, I'll continue using PreparedStatements...

Scott
13 years ago
All,

I have a routine that needs to create a string by concatenating a hard coded string with one element of a passed-in string array. Basically, I have the following code snippet:



This new_string value never gets created correctly - comes up as null. However, if I take out the two single quotes from the hard coded strings, then it gets created correctly. can someone point me to a resource that explains this? I'm not sure what I need to do. I need those single quotes to properly format a MySQL query.

Thanks in advance.
Scott
13 years ago