When the program runs, the intermediate data must save in the user's computer.
Now I use .txt files, encoding with AES.
But file/code user can break, delete....
Maybe is better decision?
#!/bin/bash
function usage(){
cat <<EOF
USAGE: $0 [strategylist]
valid strategies are:
ALLD
ALLC
TitForTat
JOSS
WeightedRandom
Tester
EOF
exit 1
}
[ -z $1 ] && usage
javac robsAgents/*.java robsAgents/behaviours/*.java
agentlist='leader:robsAgents.TournamentLeader'
agentlist=$agentlist";$1:robsAgents.Contestant"
while shift;
do
agentlist=$agentlist";$1:robsAgents.Contestant"
done
java jade.Boot -gui -host 127.0.0.1 "$agentlist"
i have above bash script and have no access to a windows computer and i need to convert it to a .bat file, but don't even know how to do the shift and argument parsing
I have an installer wizard thing called 'install creator'. I want to include my mySQL database into the installer or find another way that the user, upon installation, can just use my database. Prob is-not everyone has MySQL installed on the computer and even then, the user doesn't know the name of the database or my password. Somehow the database must be created automatically upon install, and for my purposes, some of the tables created. How can one do this. Thanks
Hi,
I had installed a new IIS7 on a Win2008. Everything worked perfect on the server, but everytime a computer in the LAN tried to browse the web server the client got an error
401 - No autorizado: acceso denegado debido a credenciales no válidas.
No tiene permiso para ver este directorio o esta página con las credenciales que ha proporcionando.
The IIS user had full permission in the fily system and on the IIS.
Have anyone an idea why this could be happening?
Thanks
I realize there is a similar question to this, but it really has no information in it. I want to retrieve the currently playing song title (similar to MSN Messenger) within a C# app. The Windows Media Player I want to control is EXTERNAL- that is, it is running on the computer, not within the app. Anyway to do this?
I am uploading files to my shell account using scp. As I need different permissions on the server than on my computer, I'd like to have a way to easily change the permissions upon upload without needing to ssh to the account and change them manually.
Hi.
I need the remote client name (aka computer name) to save it into a database, I was looking into $_SERVER variables but it doesn't exist. How can I get this just using another PHP's function or even javascript if it is necessary.
I have a computer working as a server with many SQL Server 2005 databases in it since two years ago.
Today, I don't know why, when I try to connect locally to any of the databases it gives me that error. It fails even if I'm logged in using Windows Authentication or as 'sa' user. It just wouldn't let me access the databases' info.
Could anybody explain me what's going on?
I have a wcf service and hosted it on the server. Now when I am trying to run that on IE on my computer I am able to get to that service, I mean the service opens up.
Now when try to open the service in the IE on the server I get Internet explorer cannot opent the page.
Any help please.
Yesterday I tried to install Jeweler via Rubygems, however somewhere in the middle of the process I had a power failure, resulting in my computer turning off in the middle of the installation process.
Once I got it back up, I tried to reinstall Jeweler, however resulting in an error I've had trouble decoding.
Does anyone have any idea on how to fix this problem? (I tried uninstall, cleanup and check)
Developing a mac app, how can I tell whether the user is currently at their computer or not? Or how long ago they last pressed a key or moved the mouse?
I'm using java, in a java application for MACINTOSH computers.
The application creates an AVI, and I'd like to open it on the users computer with the default assigned application for playing AVI files.
Any ideas?
I am trying to build a google app engine app in Java. The app is trying to get information from another site. On my computer I am behind a firewall and need to connect to the site through a proxy. Google app engine does not allow the use of java.net.proxy. Is there a way to configure eclipse so it knows that when I use URL.getContent() my local host will connect to that url through a proxy??
I have added an IP address in IIS7 in the IP address and domain restrictions. From what I have read this should block all traffic to the folder apart from the allowed IP address. For some reason this does not work. If I access the section from my work computer all ok, when I access it from my phone I can still see the page.
Does anyone have any idea why IIS is not blocking all the other IPs out?
Thanks
Hi Folks,
Instead of asking a client timezone in registration form (to correctly format datetime, all server dates in UTC) I thought about fetching a time from client computer and calculating time offset between client and server.
Anyone tried this? How often clients have something insane on their system clocks?
Cheers!
I have a situation where I need NHibernate to ignore its caches and just hit the database because the data has changed (another user on another computer has changed the data). How is this possible? So far I have had no luck. Get, Load, Linq query, doesn't matter. NHibernate is not getting the most recent data.
i have intel 86 motherboard....how to load kernel and how to connect motherboard through another computer.Does anybosy have any clue reagrding this..I am newbie in this area.
Hi,
I musst have a IDE vor VB6.
I can't use DotNet, because I will not have to install a Framework on a computer in which I will use my application and I know VB.Net, so I decide to VB6 (I am open for other openions).
Which IDE do you prefer for VB6?
Hello, as a way to spice up my C++ programming homework, I've decided to instead of typing the C++ from the book onto my computer, instead reforming it in Ruby. Yes it's a bit silly, but I'm bored.
Anyway, I'm having trouble converting this kind of function to Ruby
void swap(int &a,int &b){
int c=b;
b=a;
a=c
}
What would the equivalent ruby code looking inside a function ?
Right now I am going through MIT's introduction to Computer Science course via OpenCourseWare. As a part of this course I am learning the Python Language.
I've read a lot of things about the benefits of learning C. Before I dig any deeper into Python I wonder if I will be hindered or helped by learning Python first.
Do you think that I will develop any bad habits or anything like that from Python?
how can mail server be implemented on localhost using php.i mean to say that how is it possible to send a mail from local client and response it from local host i.e. client and server both are on same computer.please give me the code for it in php.i am new to stackoverflow so please forgive me if my question is not upto your expectation.
I'm a software developer with a BS in Computer Science. I've been working in the field for 5 years, and I'm looking to develop my project leadership skills (I'm currently not a lead). Does anyone have any suggestions as to which schools / programs I can do? A masters is probably out of the question, due to the time required (and my not so good verbal score on my GRE). A shorter course would be preferable.
Hello,
I have SQL Server 2005 dev installed on my machine.
Using SQL Server Management Studio: how can I connect to a SQL Server on another domain?
Please note that the computer has to be VPN'ed into the domain I am connecting to.
Thanks,
Voodoo
I've created a custom solution in WordPress that will generate a CSV file to be downloaded by clicking a simple hyperlink, linked directly to this file. Instead of being prompted to download the file to the computer; the CSV opens in the the browser window instead.
FWIW I'm on Media Temple using a vanilla install of WordPress.
How can I get client side information using either Javascript or Java Servlets?
Client side information such as client's computer name, its IP Address etc.
Thanks in advance.