My task is necessary and shouldn't be canceled, how do I ask ProgressMonitor not to display the "Cancel" button, so when it finishes, it will auto close the panel.
Frank
For instance I have a string like this : abc123[*]xyz[#]098[~]f9e
[*] , [#] and [~] represents 3 different non-printable characters.
How can I replace them with "X" in Java ?
Frank
I don't have a cell phone, but Google App Engine needs SMS to verify account, how to solve this problem ?
I'm surprised they don't use gmail account to do this.
Frank
Now I use my own Java FTP program to ftp objects from my PC to my ISP's website server.
I want to use Google App Engine's servlet to get Paypal IPN messages, then store the messages into my own objects and ftp the objects to my ISP's website server, is this doable ? I heard Google App Engine doesn't support FTP.
I don't expect Google to do it for me, but can I use my own Java FTP program in the web app that I upload onto the App Engine to do it ?
Frank
Hi, I have attached a
CSShover.htc file on my site to
rectify the inherent problems in IE
when creating a horizontal SPRYmenu in
dreamweaver. The file has
worked tremendously and displays fine
on mozilla and IE. However on
Chrome (my default browser) the menu
skips accross the page by about 20px.
The menu is quite wide in total at
975px. The menu still works on
chrome but i would just like that the
page displays the same on all
browsers. Please help with your
suggestions; Andy
We have switched to JBoss 6 to make it possible to use a wider range of Java EE technologies. We chose JBoss because of its small memory footprint compared to other application servers, so we have no other choice.
Do you know any developer tools that can be integrated with JBoss AS 6?
Thanks in advance
Jonathan Frank
How to use a filter to change an incoming request url :
From : "http://nm-java.appspot.com/Check_License/Dir_My_App/Dir_ABC/My_Obj_123"
To : "http://nm-java.appspot.com/Check_License?Contact_Id=My_Obj_123" ?
Frank
Is it possible to have a UITabBarController inside a UINavigationController? Interface Builder seems to dislike the idea. Although I can create a View with a "Tab Bar" and add "Tab Bar Items", this feels like a hack.
Thanks,
Andy
Hi folks,
I've been teaching myself Dojo over the last few days...
However, if you look at the following page:
http://www.mechanic-one.suburban-glory.com/
You'll see that the simple script in the header doesn't work in IE
I get the following message:
Message: 'duration' is null or not an object
Line: 8
Char: 622
Code: 0
URI: htt p://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/fx.xd.js
Do you have any ideas why this is so?
Andy
I don't know too much about encryption, I just want to ask, which method can get me the shortest result message ?
For instance, the message looks like this : "This is the secret input message", I wonder if the encrypted message can be shorter then the above 32 characters long ? Maybe something like "dfkfjkvf12".
Frank
Hi all,
I'm playing about with some vertex and fragment shaders using Cg on my little netbook (running Linux). Clearly I'm going to frequently hit resource limits for my graphics controller, so was wondering if there's a nice way to run the shaders on the CPU, just to test them. Something like D3D's refrast...
TIA
Andy
Hi!
I am looking to embed a Quicktime with dynamically created starttime and endtime. This all works fine, however the Quicktime movie starts caching from the very beginning of the movie instead of from the starttime. Is there any way to get QT to cache from the starttime?
Much appreciated!
Frank
I'm using NB6.7 to auto generate an executable jar file for my project, how and where to tell NB to include a certain resource into the result jar file ? I know if I put the resource in the "lib" directory, NB will put it into "dist/lib/", but what I want is to include the resource within the final executable jar, where in NB do I specify that ?
Frank
Hi ,
I'm having a windows form which contains listview control ,
where listView1.View = View.Details; and listView1.CheckBoxes = true;
then added a column with HeaderName as "FileName".
listView1.Columns.Add("File Name", 200, HorizontalAlignment.Left);
Here I would like to have check box in the Header of listview , ie FileName.
Can anyone help me with this.
Thanks in advance.
andy
I am writing a tomcat app, and have a need to do authentication within the URL like this:
https://user:[email protected]
Except for the life of me i'm not sure how to set it up or able to find the docs to read up on it, clearly my google skills need work.
Can anyone tell me where i should be looking for this kind of info or where to start?
Cheers
Andy
I am using composite components in my JSF 2.0 project, and I want to combine my composite components with like this:
<ex:mycompositecomponent>
<f:ajax event="change" render="anotherComponent" />
</ex:mycompositecomponent>
Is there any way to do that?
Yours sincerely
Jonathan Frank
Hi,
I'm learning Ruby, and I'm starting to play with building extensions in C. I have Programming Ruby The Pragmatic Programmers' Guide and so I can follow that for the basic nuts and bolts. What I was wondering is if there already existed some nifty frameworks/whatever to help interoperability between Ruby and other languages, with C++ being the most important for me. I've tried googling, but the results focus on language comparisons, rather than language interoperability.
TIA,
Andy
I am working on a debugger project for a game's scripting engine. I'm hoping to write the debugger's GUI in C#. The actual debugging engine, however, is embedded in the game itself and is written in a mixture of C, C++, and assembly patches.
What's the best way to handle communication between the debugger GUI and the debugging engine? The two will be running in separate processes.
Thanks!
Andy
I have a PC with dual cores, it has two MAC addresses : 00-1D.... & 00-21.....
Are these IDs for the two cores ?
If I want to get hold of a unique ID for this PC, how to get it with a Java call ? Maybe there is something in Java like "System.getId()" ?
Frank
I have a ViewController and add programmatically a subview.
During the initialization of the subview (initWithFrame) i want to set some attributes to values according to attributes that belong to another ViewControllers Child-Object (not a view).
-(id)initWithFrame:(CGRect)frame {
if (self = [super initWithFrame:frame]) {
// The following is kind of what i want
self.myAttribute = [self.viewController.otherObject otherValue];
}
return self;
}
Thanks in advance for any answers and comments how to improve the question.
Frank
Hi,
I am using search display controller and a search bar. When i click inside the serach bar the keyboard appears. When i navigate away to another page , the keyboard does not disappear and stays in the same page. Can you please help me ?
Thanks,
Andy.
Hi,
Given a pair of floats for latitude and longitude, and a MapView, how do I get the MapView to drop a pin in the location and "zoom" the screen to display the location?
I've read through some of the SO posts and they all seem to be about specific aspects of this, but I haven't been able to "put them together" in my head.
Thanks very much!
-Frank
The Korn shell used to have a very useful option to cd for traversing similar directory structures e.g. given the following directorys
/home/sweet/dev/projects/trunk/projecta/app/models
/home/andy/dev/projects/trunk/projecta/app/models
Then if you were in the /home/sweet.... directory then you could change to the equivalent directory in andy's structure by typing
cd sweet andy
So if ksh saw 2 arguments then it would scan the current directory path for the first value, replace it with the second and cd there. Is anyone aware of similar functionality in bash.
EDIT 1
Following on from Michal's excellent answer I have now created the following bash function called scd (For Sideways cd)
function scd {
cd "${PWD/$1/$2}"
}
EDIT 2
Thanks to @digitalross I can now reproduce the ksh functionality exactly with the code from below (With the addition of a pwd to tell you where you have changed to)
cd () {
if [ "x$2" != x ]; then
builtin cd ${PWD/$1/$2}
pwd
else
builtin cd "$@"
fi
}
I have a problem that seems similar to this fellow - I just want to display the data slightly differently. I'm pretty terrible with SQL so can't modify it to suit, but perhaps someone else can.
My table looks similar to this (date format is dd/mm/yyyy):
ID User Date_start Role
1 Andy 01/04/2010 A
2 Andy 10/04/2010 B
3 Andy 20/04/2010 A
4 John 02/05/2010 A
I want to show the total number of days that anyone was in a certain role. Users stay in the role until there is another entry into the table. Users can only be in one role at a time. So the summary data would look like this (assuming that the date is 04/05/2010):
A: 26 days
B: 10 days
Thanks for any help :)
For a game server, I want to record details when a player makes a kill, store this, and then at intervals update to a sql database.
The part i'm interested in right now is the best method of storing the kill information.
What i'd like to pass to the sql server on update would be {PlayerName, Kills, Deaths}, where the kills and deaths are a sum for the period between updates.
So i'm assuming i'd build a list along the lines of
{bob, 1, 0}
{frank, 0, 1}
{tom, 1, 0}
{frank, 0, 1}
then on update, consolidate the list to {frank, 14, 3}etc
Can someone offer some advice please?