Hi all, I have an method in the tableview controller class. It consists few of the UIColor and UIFont class names. I am unit testing that metohd. But when i build that test target i am getting this error: "/Developer/Tools/RunPlatformUnitTests.include:451:0 Test rig '/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/Developer/usr/bin/otest' exited abnormally with code 133 (it may have crashed)."
Any idea about this? Thanks in advance.
Hi all,
I tried to create a custom tabitem on Silverlight, but when i run it, it's complaining Unable to cast CustomTab to TabItem.
I am not sure how to fix that, any idea?
Thanks alot
I have two applications running on the same computer where one needs to send data to the other using TCP.
What sort of transfer rate (in bytes per second) should I expect on a decent PC ?
I understand this is very relative to the hardware. I would just like to get a rough idea.
Hi,
I have an application build on my x64 computer. It is now build for x86 but on windows XP machines (x86) it fails with the "bad image format". On all Vista and up OS, it runs perfectly on x64 platfomrms. I tracked the problem to my icon.
I removed the icon and now it runs fine, anyone got an idea of how on earth this could relate to anything?
I am getting this exception while accessing the jax-ws web service from my client.
i have no idea, what is happened?
anyone who have the solution?
thanks you.
Hi,
Recently i designed an MFC paint application so can anyone provide me idea to how to share this application to others so that when i draw on this application others also can watch what i am drawing.
Hi,
I'm currently writing a multi-process client and a multi-treaded server for some project i have.
The server is a Daemon.
In order to accomplish that, i'm using the following daemonize() code:
static void daemonize(void)
{
pid_t pid, sid;
/* already a daemon */
if ( getppid() == 1 ) return;
/* Fork off the parent process */
pid = fork();
if (pid < 0) {
exit(EXIT_FAILURE);
}
/* If we got a good PID, then we can exit the parent process. */
if (pid > 0) {
exit(EXIT_SUCCESS);
}
/* At this point we are executing as the child process */
/* Change the file mode mask */
umask(0);
/* Create a new SID for the child process */
sid = setsid();
if (sid < 0) {
exit(EXIT_FAILURE);
}
/* Change the current working directory. This prevents the current
directory from being locked; hence not being able to remove it. */
if ((chdir("/")) < 0) {
exit(EXIT_FAILURE);
}
/* Redirect standard files to /dev/null */
freopen( "/dev/null", "r", stdin);
freopen( "/dev/null", "w", stdout);
freopen( "/dev/null", "w", stderr);
}
int main( int argc, char *argv[] ) {
daemonize();
/* Now we are a daemon -- do the work for which we were paid */
return 0;
}
I have a strange side effect when testing the server on Debian (Ubuntu).
The accept() function always fail to accept connections, the pid returned is -1
I have no idea what causing this, since in RedHat & CentOS it works well.
When i remove the call to daemonize(), everything works well on Debian, when i add it back, same accept() error reproduce.
I've been monitring the /proc//fd, everything looks good.
Something in the daemonize() and the Debian release just doesn't seem to work.
(Debian GNU/Linux 5.0, Linux 2.6.26-2-286 #1 SMP)
Any idea what causing this?
Thank you
have a general idea on how to use hook alter to modify the feel of the registration form .
However the challenge I have is to not only have the user register, but to save some extra data into another table and then redirect user to a new page.
How would I get about doing that? Please help
hi :)
after an hour of trying to find a solution, I give up (temporarily). "this.selectedIndex = -1" clears all select element just fine in FF and other browsers, but NOT in Internet Explorer 8.
any idea how to clear select elements in IE?
thanks!
Hii,
I m working in Asp.net 2.0 with C#.... I have a custom control and i have to use 'Datasource' property which is exactly like a repeater having. Any idea regarding this pls help me.
I have an idea to write a multimotor taskbar application in c# for windows xp. So, does anyone have any information how
to put a taskbar on the second
monitor,
to make it use windows styles,
to prevent aplications running on the
second monitor to appear in default
taskbar,
so on...
Any help would be ...helpful )))
Greets,
Made some app on android. I for the life of me can't get it to install on the phone as a stand alone application. It runs fine when I deploy from eclipse but never remains on the device. any idea whats happening?
I put the apk file on a web server, went to the address downloaded and installed but still it wasn't to be found.
I'm lost!
I have a regular Java application and want to access an GWT RPC endpoint. Any idea how to make this happen? My GWT application is on a GAE/J and I could use REST for example but I already have the GWT RPC endpoints and don't want to build another façade.
Yes, I have seen http://stackoverflow.com/questions/1330318/invoke-a-gwt-rpc-service-from-java-directly, but this discussion goes into a different direction.
Hello
How can I use the update() method on a single model which I retrieved via Queryset.get() ? It seems like model. Model doesn't have an update() method yet I cannot invoke .save() as I have a pre-save signals which messes things up.
EDIT: An idea would be passing some parameter to the save method and catching it at the pre_save signal, so that I can understand the purpose, how can this be done ?
Thanks
I'm trying the following request to access the bucket by using curl, via the public API:
curl -X POST -H 'Content-Type: image/jpeg' -d @xxx.jpeg 'https://www.googleapis.com/upload/storage/v1/b/clips.eyecam.com/o?uploadType=media&name=x.jpeg&key=XXX'
With XXX being the generated key in the Public API.
However I'm getting an authorization failure:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Login Required",
"locationType": "header",
"location": "Authorization"
}
],
"code": 401,
"message": "Login Required"
}
}
Seems the request is incorrect and does not pass the authorization key, any idea what would be the right form of the request?
I am a web developer and usually use php/JS/mysql.
I have heard lot about python.
I have no idea where is python used and why it is used.
Just like
php/asp/cold fusion/.net/
are used to build websites
C, C++ , Java
are used to build software or desktop apps
Where does python stands from those langages
WHich is the thing whic can be done by python but not with those common languages
I have data from a database loaded into a JTable through a custom table model. I want to have a column (should be the first column) which simply shows the display row number (i.e. it is not tied to any data (or sorting) but is simply the row number on the screen starting at 1). These "row headers" should be grayed out like the row headers.
Any idea how to do this?
Thanks
Can anyone have idea to show DataGrid in the RowDetail of the Row in the dataGrid, I want to show datagrid in the detail of the grid row.
thanks in advance
hii
every one,
I m creating an project
in which Admin is one user
I want code or any idea how can Admin send a quotation of any type of products to his
customer though email on their email ID
and this quotation has to be a print option button
bec. after clicking on print button quotation should be print
How can i do it?
I have a webapp in ASP.Net with a VB codebehind. I need a List variable I have declared to persist as long as the person is on the page, but currently any time a control posts back to the code, everything is cleared out. I am completely new to ASP.net, so I have no idea if this is even possible. Can it be done with a Session variable? Those seem to me to be limited to base types, but I could be wrong.
These questions are a kind of game, and I did not find the solution for them.
It is possible to write ::: in C++ without using quotes or anything like this and the compiler will accept it (macros are prohibited too).
And the same is true for C# too, but in C#, you have to write ???.
I think C++ will use the :: scope operator and C# will use ? : , but I do not know the answers to them.
Any idea?