Working alone on academic research sometimes breeds bad habits. With no one else reading my code, I would write a lot of throw-away code, and I would lose track of intermediate results which, weeks or months later, I wish I had retained.
My recent attempts to make my personal workflow conform to the Joel Test raised interesting question...
Hi!
I'm developing GAE application in Eclipse with PyDev and am using gaeunit for testing.
gaeunit generates output in web browser like this:
Traceback (most recent call last):
File "tests\test_user.py", line 9, in test_current_user
user = users.current_user
AttributeError: 'User' object has no attribute 'current_user'
I want ...
Some of my users download several pdf files from an internet website regularly. They'd like to automate the process to save a few minutes every day, and most importantly, to minimize errors.
I tried mechanize but failed as mechanize does not process javascripts. Since the download links in the remote site are all triggered by javescript...
This is how I define the find object:
Range rngDoc = m_oDocument.GetContent();
nEnd = rngDoc.GetEnd();
rngDoc.SetRange(nStart,nEnd);//do not search entire document -> faster
Find fn = rngDoc.GetFind();
However, when I execute the Find, it finds objects that lay before the given start.
Any idea how do I define where the...
So I need a Windows Script that I can tell it a directory to go through and it will parse all sub-directories and while in each subdir, will archive all files with a certain file extension and keep it in the same subdir, then move onto the next one.
What's the best way to go about this? Perl Automation Scripting, AutoIt?
Any sample cod...
Recently I read some articles about some doubts about benefits of acceptance testing, because it is quite costly compared to what it brings. To form my own opinion, I would like to gather as much benefits of automated acceptance testing as possible. Can you help me?
...
I'm implementing a continuous integration environment with SVN and reporting services.
The reports are stored in the SVN repository. when a change occurs, they are automatically downloaded from the repository, and any file changed should be uploaded to the reporting services server.
How could you automate the upload/update process for ...
Hello, I'm trying to make sense on the best way to do automatize a series of things in a row in order to deploy a web-app and haven't yet came up with a suitable solution. I would like to:
use google's compiler.jar to minify my JS
use yahoo's yui-compressor.jar to minify my CSS
access a file and change a string so that header files lik...
Hello!
I have written a php script which generates an sql file containing all tables in my database.
What i want to do is execute this script daily or every n days. I have read about cron but i am actually using Windows. How can i automate the execution of the script on the server?
Thanks!
...
Hi,
I'm having a VARIANT with its type set to VT_R8. Subsequently I need to change its type to VT_BSTR.
I would like know whether there is a way of resetting a VARIANT status.
Thus, I noticed that every time I set value to the VARIANT (in my case, its double) , VARIANT itself set its bstrVal member to a bad pointer, even though I se...
Controller con = new Controller();
Plugin plugin = null;
try
{
plugin = con.New();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
my code running fine in IE8. But same code does not work in a different machine with IE6. I would request ...
I have TFS2008 and have a build running, however, I want to automate the deployment of the build folder and place the build into the inetpub folder it belongs to.
I.E.:
Run Build
After Build, automatically place the new built solution into Inetpub/wwwroot/websitefolder
I have tried xcopy, robocopy and synctoy 2.1 and I cannot get an...
I don't even really know if the title is the best way to explain what I'm trying to do, but anyway...
We have a web app that is being ported to a number of DB backends via MDB2. Our unit tests are pretty lacking at the moment, but our internal users are pretty good at knowing what to test to see if things are broken.
What I'm 'imaginin...
This seems like a no-brainer but I couldn't find anything on it.
How do I detect if a date variant in Outlook is "empty"? For example TaskItem.DueDate - the duedate is not necessarily filled.
If it's not filled Outlook returns "4501.01.01." - I can test for this value, but this just doesn't seem "elegant" enough.
Thanks!
...
I know this is quite a vague question -- sorry about that. If I have a forum, shoutbox or something similar where users enter and submit data, running on PHP and MySQL, what is the best way to have the newly submitted content automatically display on the page for all users when it is submitted?
Much like a live newsfeed, if you like... ...
I want to learn it.
Where can I get some good information to start learning?
...
At my new job, we sell imported stuff. In order to be able to sell said stuff, currently the following things need to happen for every incoming shipment:
Invoice arrives, in the form of an email attachment, Excel spreadsheet
Monkey opens invoice, copy-pastes the relevant part of three columns into the relevant parts of a spreadsheet te...
Hey everyone, I was wondering how would I start programming an interface to trading stocks in Etrade in python. I am attempting to make an automated trading bot, but there is no api publicly available for automated trading with Etrade. Thanks in advance. ^^
...
In Delphi you can pass class references around to compare the types of objects, and to instantiate them. Can you do the same with interface references being passed to a COM automation server?
For example, you can define a method taking a GUID parameter using the type library editor:
function ChildNodesOfType(NodeType: TGUID): IMBNode;...
What is the easiest way to control Chrome (pc/mac) from an NUnit test?
Things I want it to do:
Use a proxy server I specify
not bring up any dialog boxes that need to be clicked.
open a url I specify
close
With firefox I can do all these things by writing out a temp firefox profile, and telling firefox to use it. If someone knows a...