I don't like this ugly FileChooser layout in Linux.
This layout is used by any other program and is MUCH more beautiful.
Is this layout available in Java? If so, how?
I'm using the log queries not using index but it logs all that use indexes but just more advanced or using IFs.
Is there a parser or a program out there that can analyze the log and give me a literal output of saying "table.column should be a index"
Thanks
Hi, I'm working on a program that read arp cache from machine. I'm using Cocoa. There's a library called libdnet (libdnet.sourceforge.net) which has arp reading function. But I don't know how to write a code to use that function. Please help.
I want to get the fine name with out the file extension in VIM.
I wrote the following functions in my .vimrc file for compile and run the Java program.
:function! JAVA_RUN()
:!javac %^M
:endfunction
map <F3> :execute JAVA_RUN()<CR> :source $HOME/.vimrc<CR>
In side the function how can I get the file name with out the extension.
Hi, i made a flash application that loads image and sound from given url.But in my application whenever i run a program , first it loads or download all music and than it plays but i want to play a sound without loading all file.
Thank you
I am using Artistic Style version 1.24(http://astyle.sourceforge.net/) for indenting the C++ program but while indentation,it crosses the column 78.Does it contain any option to prevent this?
I'm looking into creating a GUI program for Windows in C++, I have a good knowledge of C++ in the command line and also in game creation. But I'm not sure where to start with GUI application development.
I have Visual Studio 2010 and have created new projects with a GUI but these templates are complex and leaves me not understanding whats happening and how to modify it.
So I'm asking where do I start? Preferably good websites that you can recommend or tutorials, rather than books being a poor student :)
What I mean is like have to user input a string with multiple variables and get the value of those variable. Like a simple quadratic formula: x^2 + 5x + 10. The user would then enter that and then the program would solve for x. I will be using the BeanShell Interpreter class to interpret the string as an equation. But how would I solve for x?
hi!
i want to download a huge file from an ftp server in chunks of 50-100MB each. At each point, i want to be able to set the "starting" point and the length of the chunk i want. i wont have the "previous" chunks saved locally (ie i cant ask the program to "resume" the downlaod).
what is the best way of going about that? i use wget mostly, but would something else be better?
hello.
my m file is:
x=0:0.01:2*pi;
y=sin(x);
plot(x,y)
I want build this program by .exe format.
i want run this .exe in a computer that dosen't has matlab.
can you help me?
I'm changing my dataset in my program. And when my job was finished, I'm connecting to mysql database. I don't want to do this job again, how can I send changings to database like this
mydatadapter.Update(dataset, " table");
I found this code, but I can't run it :S
I have a program that uses pthread library to do the matrix multiplication of 500x500 matrix. Each thread calculates 50 rows of the matrix.
When I run tiem command:-
shadyabhi@shadyabhi-desktop:~$ time ./a.out
real 0m0.383s
user 0m0.810s
sys 0m0.000s
shadyabhi@shadyabhi-desktop:~$
How come sys+user is greater than real time?
Hello,
I have created a program that write video stream to a named pipe on windows, using Visual Studio C++ 2008 . how to be sequre that no one exept programms on this computer can acsess this pipe?
npipe = CreateNamedPipe("\\\\.\\pipe\\TestChannel", PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES , 1024, 1024,5000,NULL);
I was wondering (if possible) if there was a program/tool/utility that when I create a new file and provide it with an extension that it creates the tags automatically?
For example, a new file I create called index.php would have the appropriate tags auto-generated inside:
<?php
?>
I hope you get the idea.
Any information regarding this would be helpful.
I'm compiling a C program for a MIPS embedded system.
GCC keeps sticking in stuff like __do_global_dtors_aux, frame_dummy, __do_global_ctors_aux.
How can I avoid that?
I think small exercises would be the baest way for me to learn programming. I am the begginer and I am willing to give plenty of time to this.
To explain, to my opinion exercises should be something to write not long programs (10-30lines), to say what the program will print or that is the mistake.
Who can help me and say where to maybe a website with such stuff?
Thanks
Hi guys, I'm using latex to write a program listing of all my code and am following this:
http://texblog.wordpress.com/2008/04/02/include-source-code-in-latex-with-listings/
It works, but my code runs of the side of the page.
How can i fix this?
Thanks
I've tried to connect to my local machine every time I try and run my program.
I am a nub, so it's probably a simple mistake somewhere.
def connect(self):
self.conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.conn.connect((self.host,self.port))
That is the code causing the error.
The host and port are defined.
Why is it giving me this error report?
[Errno 10061] No connection could be made because the target machine actively refused it
I've decided to teach myself C# by writing a music player in Visual Studio 2010. I went with WPF because from what I hear it sounds like it will be a good base to skin from.
I want to program my window with the behavior where if the window comes to the edge of a screen (within 10px or so) it will snap to the screen edge. What's the best way to go about this?
Write a program that computes the sum of the logarithms of all the primes from 2 to some number n, and print out the sum of the logs of the primes, the number n, and the ratio of these two quantities. Test this for different values of n.
I want to write a program in J2ME to turn the Bluetooth on/off automaticly in a certain time without the user permission.
I'v been looking for a while but I couldn't find an answer.
I would like to use the GCC -fstack-protector-all option on release mode. The main issue is that when there is an override a code is built. I would like to plug something that will just dump the stack and let the program continue. Is there a way to do that?
How can I link the .dll file to an executable?
I do not have the source for the dll nor executable. The two files operate on a 64-bit system.
When the executable is ported from another system, I get "The application failed to initialize properly (0xc0150002). Click OK to Terminate the program.
Looking at this block, I can follow the whole program until I hit, sum += square.
What is he point of this line, what does it say???
sum = 0
[1, 2, 3, 4].each do |value|
square = value * value
sum += square
end
puts sum