2,007 Topics
Hello dears. I am using python 2.6 in Ubuntu 10.10. I need an interface that make me able to trace my project. for example portable python ver 1.1 has this ability. please intruduse me an interface that be compatible with my os. Thanks.
I'm running ubuntu on x86_32...and I keep getting segmentation fault while running this program. [CODE] #include<stdio.h> #include<stddef.h> char *memcp(char *dest, const char *src, size_t n) { char *dp = dest; const char *sp = src; while(n--) *dp++ = *sp++; return dest; } int main() { char *s = "abcde"; char …
Hey guys, first of all if this is the wrong category than I'm sorry but I really didn't know where to post this thread. Anyway I recently installed ubuntu on an external hard drive and it was booting up fine for a while, but later on the pc starting taking …
Hello All! First post I believe. I've hit a small program in a project of mine. For my Senior Projects class, I am writing an accounting system for a small town in Java. I have an AWT List Box that hold the login names for all the employees. In my …
Hi in my program there is an option to enter a directory as a command line argument. Is there any check I can perform to see whether this directory is relative to the current working directory? For example if we are /home/user and the user wants to input /home/user/folder they …
Hi I'm a newbie in linux. I installed Kubuntu 10.10. then tried to install VirtualBox. an error message appeared: g++ is not installed. the OS cannot be connected to the internet. where can I find and download a self-contained package for g++ to be installed on Kubuntu 10.10?
Hi guys, I want to access my virtual domain from another computer on same network by typing [url]www.site1.com[/url] or site1.com without using IP at the beginning of URL. Currently it works this way: [U]Server computer where Apache is running:[/U] [url]www.site1.com[/url] AND site1.com works fine as I want. [U]Another desktop computer …
Hi, hopefully someone can help me with this, since there seems to be dozens of threads similar to my situation yet unintelligible to me. So I recently did a fresh install of Windows 7 Professional x64, and in the process decided I would install Ubuntu to dual boot on the …
Hi All, after almost a year, I'm back to Pythoning again! Now I want to setup my Ubuntu Box with LAMPP to work with Django. In PHP I just put my files in www folder and there it is! Please help me setup Django sites. Thanks and Happy new year …
Hello, I have installed apache server on Ubuntu 9.1 desktop. When I access http://localhost:8888 or http://192.168.1.60:8888, I get message : "It works". Now, I am able to run the apache on the port 8888 using the windows 7 without any problem and I accessed it from outside internet and that …
i am using tata photon (epivalley) . i am trying to run on fedora 11 ,but the problem is that the desktop doesnt show when the photon is plugged, initially i thought cld be problem of USB bt pendrive comes up very easily. I have tried every way to install …
Hi there, I was wandering if anyone can give me a brief explanation on how to connect my C application to the Internet. What i would like to do in the end is to access a web page trough the application and have means to read the html code behind …
Hi, I'm using Ubuntu 10.10 and I would like to know a way to know what applications are asking you to enter password for default keyring to unlock. In the past that dialog used to appear at startup once but now appears twice and I would like to know which …
Hey guys,I admit I do commit Mistakes But this piece of code got well executed in my college (USED TURBO C++) But in my home PC (UBUNTU) Its not getting COMPILED [CODE]#include<stdio.h> /*header*/ //#include<conio.h> /*header*/ #include"maths.h" int main() { int rur1,rur2,b,a,c,x,y; int d; //clrscr(); printf( "Enter the value of A …
Hi Friends, Here is my Scenario, I have two ISP Connections from different Providers BSNL and Sify. Both are 1MBps. In my Office Now we are using Sify for Only one Machine and BSNL is configured in wifi router. But Often BSNL network is in problem. So we have planned …
Hi all ! In my Online Ticket Booking Project on i am using AJAX for source and destination cities.. destination is dependent on source city.. but on my machine Ajax is not working ... while on all the other machine it is working properly.. please help.. i am using mozilla …
Hi, Steps below works fine if I have only one folder(site) in /var/www/http/ but when I add another (folder)site into /var/www/http/ and repeat same steps just by changing the name of the (folder)site, it retrieves the previous site even if I enter the second one. e.g. myhost1.com and myhost2.com display …
Hi, Like everyone, I access my apache server by typing [url]http://localhost[/url] or [url]http://127.0.0.1[/url] but what I want is that I want to access it from outside by typing a domain name like [url]http://my.domain.com[/url] I've added my current IP information for you. This is what I need. I'll be much appreciated …
i run command to update all packages... the error came like this [CODE]E: Couldn't find package libmp3lame-dev[/CODE] what i need to do...
Hi everybody, I'm trying to set up a File Server running on Linux but I encountered some strange difficults... The hard disk I want to share is a 320GB I formatted before to install the Operating System (Ubuntu Server 10.10) and I formatted as NTFS because I want to read …
This is one of the easiest steps to view and convert dcm image useing the [B][COLOR="Red"]snake(python)[/COLOR][/B] There are 3 modules involved. 1. Search for [B]pydicom[/B] and install 2. Search for [B]matplotlib[/B] and install 3. Search for [B]pylab[/B] and install. If you are on ubuntu destro, Installing matplotlib via the repo …
Hello everyone, I'm working in Ubuntu right now trying to get some code working for a bluetooth dongle that I have connected. My goal is simply to communicate with another bluetooth device. I wrote some code using Bluez in Eclipse and I cannot seem to get a simple program running. …
Recently, whenever I try to visit any user's profile here on DaniWeb, I get an ugly and intrusive browser dialog trying to push Flash on me. It's more than intrusive... it's very weirdly-worded. [quote] You need Adobe Flash Player 8 (or above) to view the charts. It is a free …
Hi guys, I bought SONY VAIO vpcs13v9e to use as a Linux laptop but I cannot install Fedora 14 or Ubuntu 10.10. I get full black screen. I don't know what to do. My machine has Win 7 64bit on it. Wubi didn't work for 32 and 64 iso files. …
Can anyone compare between Windows 7 and Unbuntu Linux 7.10 ? You can compare some of these features. Memory Management Device Management File Management Security Management and User Interface Thank You Kindly.
Hi guys, I am having a nightmare with a small website I have built. Here's the visual_impairments.htm page: [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <head> <title> Visual impairments </title> <link rel="stylesheet" type="text/css" href="style.css" > </head> <body> <div class="banner"> <h1>IT and Disability</h1> </div> <!-- BREADCRUMB TRAIL STARTS HERE, EVERY …
A simple physics graph... [code=python]import pylab a_time = range(0,141,10) a_R = [3.0,2.8,2.56,2.36,2.2,2.0,1.86,1.7,1.6,1.43,1.3,1.2,1.1,1.06,0.96] for i in range(0,15): pylab.plot(a_time[i],a_R[i], 'x') pylab.errorbar(a_time[i], a_R[i], 0.5, 0.05) pylab.show() [/code] I'm guessing the [icode]pylab.plot[/icode] line isn't needed, but even with this there is nothing connecting the plots together. I'm pretty sure there wasn't anything extra needed …
So i have a 2005 compaq desktop. And i will from here post the specs then go on to describe my problem OS : ubuntu 10.04 G Card : Nvidia 8600 Ram : 1.5 gigs on 2 sticks So i did a thermal paste job on mny computer about 1 …
I am trying to call a php script through a shell script.The script is to be called as the run on receive directive of gammu-smsd.My php script executes as expected when I call it using[CODE]/opt/lampp/bin/php myvarsreader.php[/CODE].However on trying to run my script(From terminal): [CODE]#!/bin/sh PROGRAM=/opt/lampp/bin/php myvarsreader.php eval "$PROGRAM \"\${SMS_${i}_NUMBER}\" \"\${SMS_${i}_TEXT}\"" …
Hi all, This is my first post, and I am certainly no perl programmer. I do have programming experience and have inherited a some perl code written by someone else. I have spent days trying to find the solution to this, so here it goes. This script parses a tab …
I am new to linux... & not a single software is getting installed..... It is showing error that " E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?" I am not getting hw to overcome this......can any1 tell??
Hi all, I'm writing a program to read from a stream file, one line at a time, I used getline() and fgets(), both gives a correct result, but they give a "segmentation fault" when reading the last line of the file, I think because of the NULL character at the …
Hi I'm new here and I have a problem which is hindering me. I have opened a file and wrote some stuff to it. Then later on I want to open the file and read it back in to a buffer. When I try to read the file back in …
Hello I would like to install Android SDK but I have problem with ./configure I looked for my PATH with echo $PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin /usr/bin:/sbin:/bin:/usr/games:/bin:/usr/local/bin /usr/bin/make:/usr/bin/install What else should I do to install one package? (I know cd ./name_folder, ls to see my package and after ./configure, make and make install …
Hi guys. I've just installed libnetty-java package on my ubuntu $ sudo apt-get install libnetty-java and then try compile this code [CODE] import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ExceptionEvent; import org.jboss.netty.channel.MessageEvent; import org.jboss.netty.channel.SimpleChannelUpstreamHandler; ... [/CODE] It throws this error: javac QuoteOfTheMomentClientHandler.java QuoteOfTheMomentClientHandler.java:1: package org.jboss.netty.channel does not exist import org.jboss.netty.channel.ChannelHandlerContext; ^ QuoteOfTheMomentClientHandler.java:2: package org.jboss.netty.channel …
My HP dc5000 suddenly turned it's self off while i was browsing the Internet using it.It was running ubuntu 10.04.When I try to turn it back on the power LED does not light up but the one indicating hard disk activity does,the led on the mother board also blinks!After this …
Hi guys, So I'm doing some testing, and I wanted to emulate Branch Cache on a crappy connection. I have 3 laptops at my disposal to do this. So far, I have Windows7 installed on 2 of them, as well as Ubuntu Server installed on the third. I'm pretty new …
Hi all, I just switched to Ubuntu 10.10, and I found a very worrying problem, which I really need help with. In the Network Manager settings, you can click a "show key" checkbox in the security tab and it will reveal the password. I need to disable this option. How …
my problem is that i changed some compiz configurations and i broke my copy/paste(ctrl-c, ctrl-v... basically all the shortcuts that start with ctrl, including Eclipse's ctrl-space). i searched for key-shortcuts, i found a whole lot of them besides the ones i need. does anyone know how can i restore my …
Hi, I have just got my computer back from the shop and to my surprise a 1TB harddrive which is dedicated to the root partition is nearly full. I'm using Ubuntu 9.10 64 bit and according to the command "du -hc" there is only 157M total in there. But when …
The problem: My Sony DRU-842a is not working it will not write the Ubuntu ISO I want to burn. My pc is a dell dimension 2350.(old as heck i know but it gets the job done)I have put in sony cd/dvds and memorex as well. I am getting frustrated. The …
Hi there, about a week ago, i managed to get my hands on an old compaq ml350 server. the server had two thirty gig seagate scsi hdds in it. these two drives were attached, via a scsi cable, to the features board of the server - a pci daughter board. …
Hi, I had WinXp and CentOS Linux installed on my pc, but I uninstalled CentOS. Now I want to again install CentOS 5.3. I have 250 GB harddisk. Following are partitions. Fat16 Primary 40 MB.(Comes with Dell pc) NTFS Primary 90 GB NTFS Logical 90 GB Unallocated Logical 57 GB …
how do i mount a hardrive on Ubuntu via terminal?
guys i need a assembly x86 compiler..in windows i use MASM615..i dont want to code on windows.i do all my coding in java and C..on linux pleas some help for asm compile on ubuntu 10.10 .
Hi.I'm using Ubuntu 10.10. I wanna use sms gateway service. So, I've installed Kannel sms gateway and also I've installed playsms to manage it. I'm using my Nokia 5233 mobile phone as modem. Can u pls help me in confoguring and sending the sms using playsms & my nokia 5233 …
In Ubuntu Is there any package which enables to view different 'C' command syntaxes. I am tired of 'man sprintf',man **** commands. Is there any GUI interface?
Hi, I'm trying to install GCC 4.5.1 on Ubuntu for C++ programming. So far, I've tried a myriad of different commands in Terminal to try to update GCC (the preinstalled version is 4.3.2), but none of them seem to work. When I go to update my packages with Synaptic Package …
I am not sure if this is more software problem or C problem. Nevertheless, I am trying to run simple test code to check if my lapack installation is OK. [CODE]#include <stdio.h> #include <atlas_enum.h> #include "clapack.h" double m[] = { 3, 1, 3, 1, 5, 9, 2, 6, 5 }; …
Hi, I run Linux Ubuntu 10.04 and I installed Python 2.7 (didn't uninstall Python 2.6 which is Ubuntu 10.04's default). But I realized later on that I didn't have any practical use for keeping 2.7 anymore seeing that I mostly use 2.6 now. How can I remove Python 2.7? I …
The End.