Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 66
Search took 0.02 seconds.
Search: Posts Made By: MegaArcon
Forum: Bash / Shell Scripting Jul 19th, 2006, 8:56 AM
Replies: 1
Views: 217
Posted By MegaArcon
Never mind...found it after. The command is...

Never mind...found it after. The command is sync.

Works now for SOME users....there still seems to be an I/O deadlock happening for some. I'll have to go though the rest of my code and make sure...
Forum: Bash / Shell Scripting Jul 19th, 2006, 7:56 AM
Replies: 1
Views: 217
Posted By MegaArcon
flushing I/O?

Hi all. :D

I have a little bash script that simply outputs "foo" into a file under the /tmp dir


!#/bin/bash
echo foo &> /tmp/foo.txt
exit $?
Forum: Bash / Shell Scripting Jun 28th, 2006, 2:15 PM
Replies: 3
Views: 196
Posted By MegaArcon
Ah ha! The quotes MegaArcon! The quotes! Why...

Ah ha! The quotes MegaArcon! The quotes! Why thank you Infinite Recursion. Looking at your code helped to spark what I was missing. Instead of subbing in "\ " I can just sub in " " and surround my...
Forum: Bash / Shell Scripting Jun 28th, 2006, 1:48 PM
Replies: 3
Views: 196
Posted By MegaArcon
String Substiution. Whitespace?

Hi all! :D

I've got a little bash script that basically takes my directory path to the "My Documents" folder. Instead of the space, I've inserted a special sequence that I want replaced with "\ "...
Forum: HTML / XHTML / CSS Jun 5th, 2006, 7:12 AM
Replies: 11
Views: 466
Posted By MegaArcon
How so? I'm all for sarcastic criticism, as long...

How so? I'm all for sarcastic criticism, as long as it's constructive! ^_^

Edit: By the way, its a program to allow students to submit assignments to the server. I just realized that I've been...
Forum: HTML / XHTML / CSS Jun 4th, 2006, 7:55 PM
Replies: 11
Views: 466
Posted By MegaArcon
My bad, I should have been more specific....

My bad, I should have been more specific. ;)

It's not the web script that will be preforming the actions on the directory. It will basically be a script that python is going to call that will do a...
Forum: HTML / XHTML / CSS Jun 2nd, 2006, 2:27 PM
Replies: 11
Views: 466
Posted By MegaArcon
Java Applet, eh? So create an applet to prompt...

Java Applet, eh? So create an applet to prompt the user with a search box and then use that to submit the form?

Tricky...or at least it might be....I've programmed in Java but I've never done so...
Forum: HTML / XHTML / CSS Jun 2nd, 2006, 1:30 PM
Replies: 11
Views: 466
Posted By MegaArcon
Allow user to select a directory

Hi all! :D

I've got a web page where I want the user to be able to select a directory so that my script can preform actions on that directory. The problem is that the only form input that I'm...
Forum: Python Jun 2nd, 2006, 1:09 PM
Replies: 15
Views: 460
Posted By MegaArcon
It's kind of sad when you look at things from an...

It's kind of sad when you look at things from an even wider scale. A great deal of the "science" fields in general are male-dominated.

My significant other is currently working through a Computer...
Forum: Python Apr 12th, 2006, 7:06 AM
Replies: 13
Views: 425
Posted By MegaArcon
Fortunately for me, I don't have a bunch of user...

Fortunately for me, I don't have a bunch of user profiles...well....I guess that's not strictly true. The users do have to log in, but I mearly check their password against thier ldap info and if it...
Forum: Python Apr 11th, 2006, 7:33 PM
Replies: 13
Views: 425
Posted By MegaArcon
Silly MegaArcon....if repetetion is present, use...

Silly MegaArcon....if repetetion is present, use a loop. :rolleyes:

To answer your question (since your always being so nice and answering everyone elses :D ), straight CGI. I'm doing all the...
Forum: Python Apr 11th, 2006, 1:26 PM
Replies: 13
Views: 425
Posted By MegaArcon
reloading html select boxs...is there a better way?

Hi all!

I'm doing some work with python and forums and I've created an app that will reload previous form data that a user has entered and saved to a file so they may edit it and re-save the...
Forum: JavaScript and Client-Side Browser Scripting Apr 11th, 2006, 8:11 AM
Replies: 3
Views: 222
Posted By MegaArcon
Excelent. Thanks guys! ^_^

Excelent. Thanks guys! ^_^
Forum: JavaScript and Client-Side Browser Scripting Apr 10th, 2006, 1:21 PM
Replies: 3
Views: 222
Posted By MegaArcon
is element.style w3c compliant?

Hi all!

Quick question. I've googled for it and it seems to be, but I just wanted to make sure that Javascript code like:


e.style.backgroundColor = "teal";
e.style.color = "black";


is w3c...
Forum: Python Mar 30th, 2006, 7:00 AM
Replies: 8
Views: 384
Posted By MegaArcon
Welcome indeed! ^_^ Ah, it brings a tear to one's...

Welcome indeed! ^_^ Ah, it brings a tear to one's eye to see someone's first steps into programming. *sniff* Such a beautiful thing. *sniff*

You've picked a good language to start with. (At least as...
Forum: C Mar 30th, 2006, 6:49 AM
Replies: 6
Views: 252
Posted By MegaArcon
Cool, thanks. I'll play around with that and come...

Cool, thanks. I'll play around with that and come back if I need further help. ^_^
Forum: C Mar 29th, 2006, 2:15 PM
Replies: 6
Views: 252
Posted By MegaArcon
I could be root if it was required. Basically,...

I could be root if it was required. Basically, the user would log in to a web interface and ask to do an operation. The web server is run by a different user (apache). So, before I get the server to...
Forum: C Mar 29th, 2006, 1:27 PM
Replies: 6
Views: 252
Posted By MegaArcon
changing a user id.

Hi all,

I was wondering if anybody out there could tell me how to change a user id. I'm writing a c wrapper for a java program. Since java does not seem to have any way to do a change uid, I figured...
Forum: Java Mar 16th, 2006, 9:04 AM
Replies: 1
Views: 181
Posted By MegaArcon
Nevermind all. I'm looking at this problem from a...

Nevermind all. I'm looking at this problem from a different light. I'll be using a "gatekeeper" program to do a setuid program, run a shell script that runs the java program, and then close
the...
Forum: Python Mar 15th, 2006, 11:37 AM
Replies: 2
Views: 163
Posted By MegaArcon
*pffffffft* Nevermind all. It's buit right into...

*pffffffft* Nevermind all. It's buit right into the os module. :p
Silly MegaArcon not checking the doumentation.... :rolleyes:
Forum: Python Mar 15th, 2006, 11:32 AM
Replies: 2
Views: 163
Posted By MegaArcon
chmod/chown in python?

Hi all!

Does anybody out there know how to chmod and chown files and directories in python?

Thanks! :D
Forum: Java Mar 15th, 2006, 8:35 AM
Replies: 1
Views: 181
Posted By MegaArcon
java cgi - run a root?

Hi all!

I've got a java program written and I'm looking into putting a web user interface on it. I've been looking at how to run java from cgi and it seems pretty straight forward. (I haven't tested...
Forum: Java Mar 2nd, 2006, 11:38 AM
Replies: 27
Views: 984
Posted By MegaArcon
I agree with the guys here, in that it's best to...

I agree with the guys here, in that it's best to go with something low level with syntax highlighting. Using an ide right off the bat can kind of make a programmer lazy, in the sense that the ide has...
Forum: Java Mar 2nd, 2006, 8:25 AM
Replies: 27
Views: 984
Posted By MegaArcon
I'm a linux guy myself, so I think that vim is...

I'm a linux guy myself, so I think that vim is the way to go. Although there is a certain charm about using an IDE. Although if your teacher won't let you use ide's then really any of your basic text...
Forum: Java Mar 1st, 2006, 9:34 AM
Replies: 3
Views: 179
Posted By MegaArcon
Ah, thanks Arevos. That was the problem. I had my...

Ah, thanks Arevos. That was the problem. I had my function decleration set up to be:


public static ArrayList lookup(String foo, String bar)


Instead of:


public static ArrayList<String>...
Forum: Java Mar 1st, 2006, 7:04 AM
Replies: 3
Views: 179
Posted By MegaArcon
Unchecked you say?

Hi all.

I'm working on a bit of code in java 1.5 and my code is telling me I've got an unchecked exception. I've got a function called lookup that returns an ArrayList<String>, but when I call that...
Forum: Python Feb 21st, 2006, 12:37 PM
Replies: 4
Views: 272
Posted By MegaArcon
Hey, you helped me solve my problem. No...

Hey, you helped me solve my problem. No complaints from me...constructive criticism perhaps...but no complaints. :D
Forum: Python Feb 21st, 2006, 6:53 AM
Replies: 4
Views: 272
Posted By MegaArcon
Thanks Arevos! Worked like a charm. Only problem...

Thanks Arevos! Worked like a charm. Only problem is you had the parameters mixed up. ;)


rootNode.insertBefore(new_node, node_to_insert_before)


Appreciate the help! :D
Forum: Python Feb 20th, 2006, 2:21 PM
Replies: 4
Views: 272
Posted By MegaArcon
Adding nodes with minidom

Hi all! ^_^

I'm working on some xml stuff with python and I'm having a bit of trouble. I'm taking in an xml document and trying to add an xml element to the existing document in a paticuar place....
Forum: Java Jan 24th, 2006, 9:26 AM
Replies: 4
Views: 212
Posted By MegaArcon
Thanks for the find titaniumdecoy! Process p =...

Thanks for the find titaniumdecoy!

Process p = Runtime.getRuntime().exec("chmod 444 file.txt");
Process p = Runtime.getRuntime().exec("chown foo:group file.txt");

Does the trick! Let's all do a...
Forum: Java Jan 23rd, 2006, 9:31 AM
Replies: 4
Views: 212
Posted By MegaArcon
calling chmod in java

Hi all,

I was wondering if anybody out there has delt with getting java to change permissions in unix. (i.e. able to call things like chmod and chown)

I found a thrid party module that might to...
Forum: JavaScript and Client-Side Browser Scripting Dec 22nd, 2005, 7:15 AM
Replies: 10
Views: 452
Posted By MegaArcon
I think you may be posting this in the wrong...

I think you may be posting this in the wrong section. :p Do you want this to be a web interface? Even if you do, this seems more like a server side thing then a client side. A language like Python...
Forum: Python Dec 20th, 2005, 10:41 AM
Replies: 7
Views: 554
Posted By MegaArcon
Robocode is really fun to play with. We had a...

Robocode is really fun to play with. We had a robocode tournament here at the university. It was really fun. The first place went to a guy who has actually done work with robot AI. His bot was really...
Forum: Python Dec 15th, 2005, 1:32 PM
Replies: 24
Views: 705
Posted By MegaArcon
Well, from what I'm used to doing, you do need to...

Well, from what I'm used to doing, you do need to place the script into a proper cgi-bin folder. You obvoiusly need to install python on whatever server your running. (Or at least wherever the python...
Forum: Python Dec 14th, 2005, 12:20 PM
Replies: 3
Views: 312
Posted By MegaArcon
Whoops....guess your right about it sould be in...

Whoops....guess your right about it sould be in the javascript forum...my bad....I was working with my python script so I thought python. -_-;;

Thanks for the help none the less! And I actually...
Forum: Python Dec 14th, 2005, 8:36 AM
Replies: 3
Views: 312
Posted By MegaArcon
Form Submit Blues

Hi all! ^_^

I've got two problems with the form I'm working on.

1.) I was having the problem that regardless of what button was pressed inside the form, it submitted the form instead of just doing...
Forum: Python Dec 14th, 2005, 7:31 AM
Replies: 13
Views: 449
Posted By MegaArcon
My learing language was actually Java...and Java...

My learing language was actually Java...and Java was pretty much all I used for quite some time. But for the work I've been doing lately, I've been learning python and I'm finding that the more I use...
Forum: Python Dec 13th, 2005, 7:50 AM
Replies: 8
Views: 339
Posted By MegaArcon
Yea, I was building this with the standars in...

Yea, I was building this with the standars in mind, but IE made my scripts cry. ;) I'm doing some kinda trickey stuff with this project, and unfortunatly, some anti-standard stuff had to be used to...
Forum: Python Dec 12th, 2005, 10:45 AM
Replies: 8
Views: 339
Posted By MegaArcon
Sorry for being unclear. The problem I was having...

Sorry for being unclear. The problem I was having was exactly HOW to get the dynamcially generated string of html off the page. I made a quick trip over to the javascript section, and I can get...
Forum: JavaScript and Client-Side Browser Scripting Dec 12th, 2005, 10:40 AM
Replies: 3
Views: 241
Posted By MegaArcon
Awsome! ^_^ Thanks again guys!

Awsome! ^_^ Thanks again guys!
Showing results 1 to 40 of 66

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:44 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC