Questions tagged [agent]

Questions about programming software agents or programming in an agent-oriented environment.

Agents are generally autonomous, reactive and intelligent pieces of software.

See wikipedia for more info.

Some common agent architectures include JADE and Jason.

1268 questions
120
votes
5 answers

Clojure differences between Ref, Var, Agent, Atom, with examples

I'm very new to Clojure, Can you guys give me explanation with real world scenarios. I mean, where to use Ref, Var, Agent, Atom. I read book, but, still couldn't understand the real world examples.
user472557
31
votes
5 answers

" The job failed" in copying database SQL Server 2012

I'm trying to copy a database. When going through the Copy Database Wizard, I'm getting a Execute SQL Server Agent Job error. The error states The job failed. Check the event log on the destination server for details Performing operation Add log…
mohammad_hasan
  • 321
  • 1
  • 3
  • 6
30
votes
5 answers

Predicate vs Functions in First order logic

I have been so confused lately regarding difference between predicate and function in first order logic. My understanding so far is, Predicate is to show a comparison or showing a relation between two objects such as, President(Obama,…
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
26
votes
3 answers

How to find all SQL Agent Jobs that call a given stored-proc

I'm in SQL 2008/R2. I want to run a query to see if there is a SQL Agent job calling a specified stored proc (there are too many to inspect manually).
NealWalters
  • 17,197
  • 42
  • 141
  • 251
25
votes
5 answers

SQL Agent Job - "Run As" drop down list is empty

Why is the "Run As" drop down list is always empty when I try to set up a SQL Agent Job? I am trying to set up some SQL Agent Jobs to run using a proxy account. I am a member of the SQLAgentUserRole, SQLAgentReaderRole, and SQLAgentOperatorRole.…
Edward Pescetto
  • 856
  • 1
  • 7
  • 16
23
votes
2 answers

Scrapy Shell - How to change USER_AGENT

I have a fully functioning scrapy script to extract data from a website. During setup, the target site banned me based on my USER_AGENT information. I subsequently added a RotateUserAgentMiddleware to rotate the USER_AGENT randomly. This works…
dfriestedt
  • 483
  • 1
  • 3
  • 18
23
votes
4 answers

"Failed to load Premain-Class manifest attribute" while trying to get the size of an object using java agent

When i try to run a java program (java -javaagent:size.jar ObjectSizeTest) i get the following error: Failed to load Premain-Class manifest attribute from D:\workspace\ObjectSizeTest\size.jar Error occurred during initialization of VM agent library…
java_geek
  • 17,585
  • 30
  • 91
  • 113
22
votes
3 answers

Design patterns for Agent / Actor based concurrent design

Recently i have been getting into alternative languages that support an actor/agent/shared nothing architecture - ie. scala, clojure etc (clojure also supports shared state). So far most of the documentation that I have read focus around the intro…
nso1
  • 595
  • 9
  • 18
20
votes
5 answers

Any good distributed agent/service models for .NET?

I'm looking for tools that implement the distributed agent/service model ... I guess we could also call this grid or cloud computing, but I'm not sure the term is exactly analagous. A distributed agent model would be one where developers build…
Ajaxx
  • 2,500
  • 4
  • 27
  • 38
15
votes
2 answers

Definitive list of GWT user.agent properties and the browsers they correspond to

Does anyone know of a definitive list of GWT's user.agent properties and the targeted browsers? I'll be damned if I can find such a thing anywhere on the web!
Alex Worden
  • 3,374
  • 6
  • 34
  • 34
14
votes
1 answer

How can I associate a project to an agent pool on TeamCity?

For my automated tests I have a project added to TeamCity server and 2 Agent Pool, one is a Windows Server and the other one is a MAC. The default agent pool is WIN but I wanted to run my tests on the MAC server. To change the agent pool to MAC, I…
Mahsa Mortazavi
  • 755
  • 3
  • 7
  • 23
14
votes
1 answer

PerformSegueWithIdentifier does not work

I am trying to use use self.performSegueWithIdentifier to change the view on the Storyboard when a JSON file loaded remotely. For this I am using the Swift Class "Agent" to perform the HTTP request. Everything is working when I write the…
Foddy
  • 467
  • 1
  • 6
  • 15
14
votes
2 answers

Non-resolvable parent POM: Could not find artifact

I have recently looked into Gorilla Logic's open source testing tool and need to make some changes in order to be able to log something to the console. I have checked out the code out of source control for the "Android Agent" and now I am looking…
Henry Harris
  • 620
  • 4
  • 7
  • 18
14
votes
2 answers

TeamCity agent error "failed to perform checkout on agent"

I am running my TeamCity 7 server and agent on MacOS. My repo is on github. I use ssh and I know that the authentication is correctly configured, because the test is successful. The build works fine when I use VCS Checkout Mode "Automatically on…
mishod
  • 1,040
  • 1
  • 10
  • 21
12
votes
1 answer

What is the meaning of the last letter "a", "b", or "s" in Azure DevOps' C:\agent\_work\1\a? Anyone know what that last letter stands for?

What is the meaning of the last letter "a", "b", or "s" in Azure DevOps' directory structure: C:\agent_work\1\a C:\agent_work\1\b C:\agent_work\1\s Anyone know what that last letter stands for? Extra credit: what's the "1" represent too?
Glenn
  • 175
  • 1
  • 7
1
2 3
84 85