Was wondering what kind of software and hardware component cant fail in a rmi program?
so for example in a client server model when a client invokes an object in the server?
thanks
Hello. I created a python project in IDE Anjuta, added some python files and the problem follows.
I need that would make the program after a few .py files lying in src copied to dir /usr/bin. Anjuta generates enormous configure- and makefiles. 'll Show you need to register and where that would make described above.
Thank you.
Hi,
I am writing my own shell program. I am currently implementing the cd command using chdir.
I want to implement the cd with the below options :
-P Do not follow symbolic links
-L Follow symbolic links (default)
My query is that , when a given path is entered on the shell how to figure out if the path is a symbolic link or an absolute path progamatically?
Thanks
i am trying to make java application that can get the information from other active window program ...such as information bar or even screenshot of other active window
is JNI the only option in this case?
thanks
Can anyone guide me how to create a table using obj-c for MAC. The program should read values from an NSArray object and display the values on the table.I wld appreciate if anyone helped me out.
For Example:
If I need to read a multiple line input like:
1 20
2 31
3 41
Also how to specify input in multiple lines?
When ever I hit "Enter" on keyboard for new line input the program starts execution?
I need to implement searching for SD-cards in my program.
Currently I'm using search for all removable devices like:
searcher = New Management.ManagementObjectSearcher("\\localhost\root\cimv2", "SELECT DeviceId FROM Win32_LogicalDisk WHERE DriveType=2 AND Size>0");
But it find USB flash drives also. Is there a proper way to find SD-cards only?
What I need is in general only drive letter for available SD-cards (like "F:" or so).
So I just got a C# program from someone that compiles and gives me a
fully functional application. However, when I want to see the .cs{Design] file it gives me the following error:
.ErrorStyle { font-family: tahoma; font-size: 11 pt;
....
How can I convert this to an actual Design file? I am working on Visual Studio C#. Thank you very much.
Hi all. I'm trying to make a program that can load an unknown set of plugins from a sub-folder, "Plugins". All of these plugins implement the same interface. What I need to know is how do I find all of the classes in this folder so that I can instantiate and use them?
I have a folder with .txt files in it. How can i make my menuitem get those .txt files and put the filenames in the menuitem, so that it creates a list of all .txt files in that folder.
So when i put a .txt in the folder the program automatically creates the menu item.
Does someone knows how to do this, or perhaps an example?
What characters are allowed in linux environment variable names? My cursory search of man pages and the web did only produce information about how to work with variables, but not which names are allowed.
I have a Java program that requires an defined environment variable containing a dot, like com.example.fancyproperty. With Windows I can set that variable, but I had no luck setting it in linux (tried in SuSE and Ubuntu). Is that variable name even allowed?
Hello!
How can I test intersesion ray and triangle, and if it exist how to get distance from ray origin to intersection point??
What optimization I can use, if in my program I've got to check 1 ray to ~10000 triangles ??
Hello to all, I'm doing a html text feature extractor in C++; the program need to be REALLY fast: i need to extract a this features in ms per html page and the memory usage needs to be good and finally unicode encoding well be nice.
I know how difficult is to have all of this things, but i want a parser close to these things at least.
Somebody have a suggestion?
I have used JSON::Any in my program to transfer the hash between client and server.
I faced one problem, I want to find whether the text (sent by client) is normal text or JSON encoded text.
Can anyone please tell me how to find,
without checking, I got some error in server side and it is closed.
When I code, I always write little pieces of unit, and compile it often. This helps me to make sure that everything run correctly, but it's very time consumed. is there any programming language that can support us to do coding and running at the same time side by side ? i mean as soon as a key press leads to valid code, the effect of the edit is incorporated into the executing program.
I'd like to run a program on a directory of files. I know how to do this with one file, using
cat myFile.xml | myProgram.py.
How can I run myProgram.py over a folder, say myFolder?
Thanks!
Help me settle a dispute with a coworker:
Does setting a variable or collection to null in Java aid in garbage collection and reducing memory usage? If I have a long running program and each function may be iteratively called (potentially thousands of times): Does setting all the variables in it to null before returning a value to the parent function help reduce heap size/memory usage?
Just wondering if it's possible to go through a flac, mp3, wav, etc file and edit portions, or the entire file by removing sections based on a specific frequency range?
So for example, I have a recording of a friend reciting a poem with a few percussion instruments in the background. Could I write a C program that goes through the entire file and cuts out everything except the vocals (human voice frequency ranges from 85-255 Hz, from what I've been reading)?
Thanks in advance for any ideas!
Hello everyone,
I'm trying to draw objects using Bezier surfaces with openGL's evaluators. I am struggling with defining the control points for my objects. Can anyone please suggest ways to get the control points for an object? Is there some program that I can use to design my object then import the control points into a file that I can use in my application?
I have a test script like this:
package Test;
sub new { bless {} }
sub DESTROY { print "in DESTROY\n" }
package main;
my $t = new Test;
sleep 10;
The destructor is called after sleep returns (and before the program terminates). But it's not called if the script is terminated with Ctrl-C. Is it possible to have the destructor called in this case also?
Hi
Using RubyMine 2.0.2 for the first time today, on Mac OSX Leopard. If I create files in the filesystem (with, say, script/generate) those new files do not appear in rubymine. I have had limited success with restarting the program, in that the files in the db/ folder are added and removed, but unfortunately new folders in the views directory are not shown.
Pardon my french, but wtf?
Thanks
On Linux, normally I use ptrace function to trace all syscall, and kill the process if the it tries to do anything harmful to my machine, such as system("shutdown -s -t 00") or so.
Is there a way for me to do this on Windows?
EDIT: I want to write Sandbox program to limit time and memory usage of its child that can work on both Windows and Linux, and now it can only run on Linux via ptrace
Hey guys, I currently present my mp3s by referencing their file location into a flash mp3 player for the users. Is is possible for users/bots to go onto your site and somehow execute an mp3 continuously and drain bandwidth? If so how can you prevent this? (I program in php). Thanks in advance for any advice.
I want to make a program that's like a simple text editor using Qt 4.6.2.
When the user block any text in a TextEdit and click on a button, the text will be bold/italic/underlined depend on the button..
I'm a beginner in Qt Programming, so if Possible, can you insert the programming code in Qt to do that?
Please answer this ASAP,, thank you very much!! :)
I want to do some metaprogramming in a statically typed language, where both my programs and my meta-programs will be typed. I mean this in a strong sense: if my program generator compiles, I want the type system to be strong enough that only type-correct programs can be generated.
As far as I know, only metaocaml can do this. (No, neither Template Haskell nor C++ templates fit the bill -- see this paper).