523 Topics
| |
# Show # This procedure doesn't conform to any particular calling convention. It is designed specifically to work with other subroutines designed by me. Any of my examples won't be using and standard library functions either. Not because I think they are inadequate, but rather give me complete independence and … | |
Hey guys, I'm trying to install my own version of python on an HPC without root access so I can use my own packages. So far I am banging my head against the wall and getting nowhere. I actually had my own version of python, numpy, ipython and a couple … | |
-53 45 -54 43 -55 42 -56 41 -57 40 -59 37 -61 35 -61 36 -62 34 -64 33 -65 31 -65 32 -67 30 -68 29 -69 28 -72 25 -73 23 -73 24 -74 22 -76 20 -76 22 -78 20 -79 18 -80 17 -81 16 … | |
| Hello. Can someone tell me if there is possible to get localhost:8000 -> localhost/admin This is on a ubuntu 12.04 with lamp. |
Hello everybody, I'm using Ubuntu 11.10 and I don't know about assembler for linux, but I think there is. Do anybody know about Assembler for linux? Thanks. =] | |
I'm trying my hand at OpenCV and have run into a problem that Dr. Google hasn't been able to help me out with. According to O'Reilly, the following code should play an AVI file in a window the program creates. [CODE] #include "highgui.h" #include <stdio.h> int main( int argc, char** … | |
Hi everyone, Again, I'm just trying stuff out to try and learn a bit more but here goes... I created a small Logger util - I included the pthread library and added a mutex lock in each of the "write*" functions, tested it by running a few instances of a … | |
I have an assignment question . We need to simulate FCFS scheduling algorithm using C on linux OS. This is what I need to do Write a program to simulate **FCFS scheduling algorithm** using pipes for inter process communication. 1. Let the parent program be the scheduler. 2. It takes … | |
Hi! I'm trying to emplement the job queue. Somehow i can't initialize it: the queue is empty `Inline Code Example Here` //INCLUDES #include <stdio.h> #include <stdlib.h> #include <semaphore.h> #include <pthread.h> //GLOBALS pthread_mutex_t job_queue_mutex = PTHREAD_MUTEX_INITIALIZER; int i; #define N_threads 10 int val=0; //STRUCTURES typedef struct job { int data; struct … | |
Hi, I have a problem with a the imput of some data on a program Im making (FYI new in c++, homework). So basicly the progrma I have is to imput diferent type of data, this is what im doing. (Im using codeblock 8.02 in Ubuntu 10.04 ) #include <iostream> … | |
In a nutshell i'm working with a program that uses JSCH and xstream to zip a file, and send it to a remote linux server. I'm using static folders, but when i send a file with the same name as one in the folder it will overwrite the exhisting file. … | |
Ive got a bunch of VOB (mp2) files from DVDs - far too many to transcode to, say, H.264 format), plus i dont want to lose any quality. I want to be able to stream these from my (linux) server. What software do I need? | |
Guys can you suggest me what Operating system should I use for our networking subject, base on this criteria: Low specs requirements, userfriendliness, security and performance | |
I was wondering if anyone can assist me with a problem that I have with C Bluetooth programming (Linux Bluez). I am using Ubuntu 10.04, BlueZ 4.60. My goal is to have a L2CAP socket in which there will be minimal delay for sending data between 2 computers. So far … | |
Hi, I Want a shell script, when i run it should print the current row & column number of the terminal in which is invoked , so how can i get the current row & column number in the linux . Thanks Srikanth M. | |
Ok, im trying to PXE boot a thin client under Linux. Ive been using the following HOWTO: [code] tftpd cannot do PXE installs due to the lack of the tsize option, so we use tftpd-hpa instead: sudo apt-get install dnsmasq tftpd-hpa tftp-hpa openbsd-inetd xinetd bootp dhcp3-server sudo mkdir /var/lib/tftpboot cd … | |
Hi friend, I want to use connector for mysql data base. I am follow this page [url]http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html[/url] But it seems hard . Is there any other tutorial present. Please let me know. | |
my professor provided us with the java program so we could each compile it and run it on our computers. heres what i get: socketProgramming$ java TCPServer <--------name of program - TCP Server program started. - Server welcoming at port #: 6789 im trying to connect to my professors terminal … | |
Hi, I have a task to perform which all to do with the smurfs, reading from a file and doing some simple stuff to it. The last part I need to do is print out a list of all smurfs and their corresponding role in alphabetical order. I am hoping … | |
[CODE]#include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <termios.h> int main() { int fd; int wd=0; unsigned char buff[] = { 0x02, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x23, 0x01, 0x21, 0x03}; fd = open("/dev/ttyS0", O_RDONLY | O_NOCTTY | O_NDELAY ); if (fd == -1) … | |
serial port problem is occuring,,, pls guide on the same as i new to this,,, [CODE]#include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <termios.h> int main() { int fd; int wd=0; unsigned char buff[] = { 0x02, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x23, 0x01, … | |
I am developing the Django application which runs the Matlab code and create some txt and png files on the server.when I run these below python command on server, it works fine but when I try to run from the server (it is coded in Viewspy).It shows file is updated.(from … | |
So I have a matrix class that must run on a unix/linux server. The main is a test file that is provided by the instructor. When I compile my code in visual studio it works fine except for test 8 because I can't figure out how to return a print … | |
I am trying to start a daemon on a server with Ajax PHP and JQuery. The following code executes without any errors an opens all the html files in separate browser windows like it's supposed to. I receive the alert message . However, the daemon never starts. Can anyone see … | |
If I mprotect a segment with PROT_NONE and if a SIGSEGV occurs due to a write which gets handled by sigaction with sa_sigaction, We will be able to find the address where the fault occurs using siginfo_t's si_addr. Is there a way to know the data that was tried to … | |
I have a slackware 13.1 tower computer and an Ubuntu 10.04 netbook. The netbook has an Atheros AR9285 wireless adapter, and I just recently got a Netgear WG111v3 USB wireless for the tower. I got the ndiswrapper driver working for the Netgear, and I have been previously been using the … | |
I'm having problems reading or writing files in my C++ program. I'm using Fedora 16 on a USB stick and Eclipse for C/C++ developers. Here's snippet of code from my program. fp is always 0. I've also got other code that is loading files (which always fail). I've tried running … | |
I have problem when itegrate my webcam with JMF. I have got this following error, when i running JMFINIT or running jmfregistry and detect capture device. [CODE] Trying 6 352 288 Trying 6 768 576 Trying 7 160 120 Trying 7 320 240 Trying 7 640 480 Trying 7 176 … | |
Hello Everybody. I'm not sure if I should post this here or in the Linux forum. Here goes: 1 - I have a local Linux server (Mandriva 2010) with a WordPress blog in it. It's for testing. 2 - I have other 2 computers at home (both have Linux and … | |
I got an ubuntu cd time ago and it said it was a bootable CD so I tried it out. It ended up installing in my machine somehow and I tried to search for my pictures and other files with no result. I took the hard drive out and put … |
The End.