1,336 Topics

Member Avatar for
Member Avatar for Mariyameggy

My brother got a laptop the other day and i have been having some trouble setting it up with our existing wireless network. I have a laptop that is about 3 years old and a D-Link wireless router. I could get my brothers laptop to connect to the router but …

Member Avatar for Michael York
0
172
Member Avatar for viktorijakup

Hi ! Sorry for my english ! My script must rename file name, but don't do it. What is wrong with this script: [CODE]@rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl :WinNT …

Member Avatar for k_manimuthu
0
224
Member Avatar for col415

[B]Bsplayer is a videoplayer. I want to start bsplayer with the parameter -stime-x, where x is the amount of seconds. This result in playing a movie from say 23 minutes 10 seconds with the parameter -stime=1390. The whole thing I can manage to do in [COLOR="Green"][U]DOS[/U][/COLOR] and looks like: @echo …

Member Avatar for col415
0
142
Member Avatar for newsguy

Now that's what I call an Android phone. Actually, that's what I call an Android phone that might just [URL="http://www.daniweb.com/blogs/entry3944.html"]kick some iPhone ass[/URL]. The [URL="http://www.sonyericsson.com/cws/products/mobilephones/specifications/xperiax10a?lc=en&cc=us#a"]Sony Ericsson Xperia X10[/URL] social networking phone is Android powered and feature rich. How rich? Well, how does 1GB RAM plus 16Gb of flash storage and …

Member Avatar for cwrinn
2
721
Member Avatar for jex89

Hi, I am undertaking a peice of work and may need a bit of help. The problem i need to find a solution for is as follows - I am requesting a Text based document through a http request, and currently have the document i want from the http request. …

Member Avatar for jlm699
0
75
Member Avatar for Xydric

Hi Guys and Gals! I come to you today requesting assistance! Let me explain what I am trying to do first, and then I will show you my code. The purpose is to read a list of regular expressions in from a text file (one regex per line, only about …

Member Avatar for jlm699
0
111
Member Avatar for aliashoori

I am working on a Wincor ATM model [B]2150xe[/B]. The OS of the Wincor is NT 4.0 and Procash NDC is installed on it. Its connection to host was X.25, and Eicon C91 Card was installed on it. I made necessary modifications on it to change it to TCP/IP, but …

Member Avatar for Bob_180_Bob
0
300
Member Avatar for trihaitran

Hi I am running OS X 10.5 Leopard. It ships with Python 2.5.1 and I just installed Python 2.5.4 from python.org. The site-packages directory for 2.5.1 is located at /Library/Python/2.5/site-packages The 2.5.1 interpreter is located at /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5 The 2.5.4 interpreter is located at /Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5 The thing is that now that …

Member Avatar for pythopian
0
190
Member Avatar for nevets04

I know Remembering secure passwords is difficult. So I made this. [code] import random, os a= ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','1','2','3','4','5','6','7','8','9','{',':','>','?','}','|','!','@','#','$','%','^','&','*','(',')','-','+'] z = int(raw_input("How many words in your password?: ")) os.system("clear") List = [] for x in xrange(z): List.append(random.choice(a)) print "".join(List) print "1) Yes" print "2) No" b = int(raw_input("Would you like to save …

Member Avatar for sneekula
0
166
Member Avatar for math743

For whatever reason, Python on OS X sets the default file directory to the "~/Documents/ " folder. It's a bit annoying because it makes my documents folder massively cluttered with python files as well as files from my computer. I'd like to change it simply by adding a "Python" folder …

Member Avatar for Gribouillis
0
162
Member Avatar for nevets04

[code] #Credits: #Nevets04 #Fallen #Uber1337 #Farout import os List = [] z = int(raw_input("How many words in your list?: ")) os.system("clear") for x in xrange(z): List.append(raw_input("")) List.sort(),os.system("clear") print "\n".join(List) [/code]

Member Avatar for vegaseat
0
112
Member Avatar for GWats

My daughter just received a refurbished laptop from the grandparents as a birthday gift. It worked fine for a few days but now it won't go very far during startup. It's a Compac Presario V2000 and I can't even tell what the OS is or any other details. The startup …

Member Avatar for GWats
0
129
Member Avatar for lcl

I'm brand new to the video editing world and I'm getting desperate. I made a decision to begin making my own DVDs for my seminars and students so after lots searching/shopping I invested, what for me is a small fortune, in a state of the art system. Until three weeks …

Member Avatar for Carmy
0
203
Member Avatar for khess

Does it seem to you that Linux distributions have fallen into to a [I]well[/I] or other deep support chasm that defies the space-time continuum? It seems so to me. Linux distributions are lagging behind Windows and Mac in significant ways. Well, it doesn't work for this chipset. Well, it works …

Member Avatar for jaanu123
1
811
Member Avatar for jpdbaugh

Hey Daniweb, I a 13.3 inch Macbook Pro (5,5) running Snow Leopard that I would like to triple boot Snow Leopard, Windows 7, and Ubuntu 9.10 on. I am running an 80 GB Intel X-25M as my primary drive and I after I have the three operating systems installed via …

Member Avatar for gdrori
1
245
Member Avatar for ajay_p5

Hi everyone Well I have been trying to install some modules like Bundle::DBI, DBD ::mysql and latex::Parser on my apple comp running mac OS X operating system. Every time I am trying to install a module I get an error like this : make had returned bad status, install seems …

Member Avatar for ajay_p5
0
156
Member Avatar for nerdagent

Just like the title says. I need help on clicking on a box in a grid and filling it in with a color. Right now each block is 10x10 so I would have to use a 9x9 rectangle so it doesn't overlap. [CODE] #!/usr/bin/python import pygame,os,sys from pygame.locals import * …

Member Avatar for vegaseat
0
2K
Member Avatar for ankit894u

need to decode and encode the following text=== {Newton’s Law of Software Engineering Law 1: Every Software Engineer continues her/his state of chatting or forwarding mails unless s/he is assigned work by external unbalanced manager. Law 2: The rate of change in the software is directly proportional to the payment …

Member Avatar for asb77777777
0
719
Member Avatar for nevets04

[code] def a(classname,highdamageweaponname,lowdamageweaponname,ldmgname,hdmgname,yourhealth,enemyhealth,ldmgspellname,hdmgspellname): import os import random os.system("clear") monsters = ['cyclopse', 'duck', 'dragon', 'wizard', 'magician'] randommonster = random.choice(monsters) print "Class: %s" % classname print "1) %s (More damage, but less armor)" % highdamageweaponname print "2) %s (Less damage, but more armor)" % lowdamageweaponname a = int(raw_input("You are battling a %s …

Member Avatar for nevets04
-2
312
Member Avatar for bol0gna

I am reading in files containing 238 x 1 feature vectors. Attempting to grab the first 2 numbers in each file to create a 2d plot using numpy. I've got a decent start, just am stuck on how to fill the np array that I want to plot. [CODE] import …

Member Avatar for bol0gna
0
354
Member Avatar for prsrose

Just recently bought more ram for my powermac g5 - Specs: Machine Name: Power Mac G5 Machine Model: PowerMac7,3 CPU Type: PowerPC G5 (3.1) Number Of CPUs: 2 CPU Speed: 2.3 GHz L2 Cache (per CPU): 512 KB Memory: 3.5 GB Bus Speed: 1.15 GHz If anything it seems slower …

0
129
Member Avatar for weasel7711

Running Ubuntu Intrepid. Installed Dansguardian recently. When I try to start or restart dansguardian, I get the following error: [CODE]micah@micah-ubulaptop:~$ dansguardian Unable to getgrnam(): Success[/CODE] I know this has something to do with the group in my dansguardian.conf file. The only thing I can see that relates to that is …

Member Avatar for dipinkrishna
0
409
Member Avatar for loki1234

hi, i got a problem for doing a proxy for binary files with python please kindly help #! python import cgi, os file_r = open('x.jpg', 'rb') file_w = open('y.jpg', 'wb') image_data = file_r.read() file_r.close() file_w.write(image_data) file_w.close() it works fine for duplicating x.jpg to y.jpg however, it doesn't work for me …

0
36
Member Avatar for girishmsampath

HI GUYS, I HAVE A PROBLEM IN FINDING OUT AN INTERFACE FOR PYTHON 2.6.3 AND MYSQL-5.1.31. IS THERE ANY COMPATIBLE VERSION FOR BOTH THE ABOVE???? WHEN I RAN THE setup.py file of MySQL-Python1.2.2 version, i got the following error. -[COLOR="Red"]-------------------------------------------------------------------------- [COLOR="Green"]This script requires setuptools version 0.6c5 to run (even to …

Member Avatar for Stefano Mtangoo
-2
246
Member Avatar for jackerman

Hi Techsters, I has a weird thing happen today. I had just opened a folder that held all my original forms, found the two I needed and attached them in an e-mail and sent it. It sent just fine, but when I went to find another document in that same …

Member Avatar for sDJh
0
130
Member Avatar for Massena

First of all I'd like to congratulate you on the excellent community you have here. It is helpful and knowledgeable. I'm looking for a library that would allow me to make a video file (.avi, .mov, any file works) from bitmaps, or other image formats, on the mac. I have …

1
107
Member Avatar for khess

The Department of Justice (DOJ) is investigating [URL="http://www.ibm.com"]IBM[/URL]'s computer market conduct and, depending on the outcome, it might just affect your beloved [URL="http://www.apple.com"]Apple[/URL] computers. As everyone knows, IBM is the major player in the mainframe computer market but now their business practice of not licensing other hardware makers to run …

Member Avatar for khess
1
922
Member Avatar for iyyappan1985eee

hi , i have downloaded Mac os x 10.6 beta from net. its file size is 6.8 gb, how can i burn in a DVD od 4.7 gb....i tried using Toast its asking another DVD....perhaps i dont know how exactly to use the TOAST ....i need help ......pls tell how …

Member Avatar for jbennet
-1
153
Member Avatar for splurchner

This program is (as you can see in the notation) a homework assignment I'm doing for class. I wrote the whole thing, which as far as I can tell right now is logically functional. It takes commands from a user and uses them to denote what happens to a linked …

Member Avatar for splurchner
0
169
Member Avatar for DARK_BYTE

Hello I'm doing my OS homework and I need to know how to read an write a 32 bit integer with the write system call Here is the code that I wrote: [code] #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include<unistd.h> #include<string.h> struct Person { char name[21]; int ch_in_name; char address[21]; …

Member Avatar for gerard4143
0
4K
Member Avatar for aldebaran31

Hi all, I need to get 'make' on Darwin, so I have downloaded Xcode from apple's website. I am unable to install it, however. I am running Mac OS X 10.4.11. Any suggestions? Thanks.

0
74
Member Avatar for twolfcorner2009

I've had my mac for a few months, and remember when I first got it during set up that it asked me if i wanted to use ctrl+click as my secondary click. I now want to disable it but cannot for the life of me figure out how or where …

Member Avatar for twolfcorner2009
-1
46
Member Avatar for sakura_fujin

Hi. I'm at wits end. Can't fix my wireless network. My laptop specs are: Model: HP Pavilion dv5000 series OS: Windows XP SP2 I recently reformatted my laptop using HP's PC Recovery tool installed with the notebook. Everything looked fine except that I could not connect to the internet thru …

Member Avatar for hughv
0
184
Member Avatar for computerfreak97

I am trying to develop a program using pygame that will let you "paint." There is just one problem, when I change the RGB values, all of the pixles change!!! Please HELP!!! Code: [CODE] import pygame, os pygame.init() pygame.display.init() screen = pygame.display.set_mode((830, 620)) draw = 0 selected = 0 points …

0
50
Member Avatar for ihatehippies

My app works fine when its a .py file, however as soon as I compile it with py2exe 0.6.9 I get LookupErrors when using the email MIME library. I tried including the "packages": ["encodings"] option in py2exe but to no avail. I'll post the relevant code and traceback. (note: not …

Member Avatar for ihatehippies
0
135
Member Avatar for csgirlie

I'm trying to store or arrange three sets of two-dimensional data into three 2xN matrices that are stored as NumPy arrays. [CODE] 1. import os # for file handling functions 2. import numpy as np # for array/matrix processing 3. import matplotlib.pyplot as plt # for general plotting 4. from …

Member Avatar for woooee
0
317
Member Avatar for tylerlemieux

Hey, I've been trying to install pycURL on my Python install on this Mac for the past 3-4 days now and I can't seem to get it to work. I have easy_install setuptools installed and I've been using the command: easy_install -U pycurl and it finds the package just fine, …

Member Avatar for woooee
0
368
Member Avatar for sravan953

Hey guys, I have made a program called 'tLapse', here's the code: [code='python'] import subprocess import time import os print("Welcome to tLapse...") time.sleep(3) os.system('cls') try: com=open("action.txt",'r').read() condition=True except: print("File error") raw_input("<Any key to quit>") condition=False if(condition): clock=raw_input("Enter time duration after which\nuser-specifiedaction will be\npeformed.\n\nFormat- [hh:mm][24- hour format]: ") def app(path): ext=path[-3:] …

Member Avatar for sravan953
0
139
Member Avatar for sravan953

Hey guys, I am making a program called 'Weather Watch' which basically gets weather updates for any city you type in. For now, it only gets info for a particular city. I don't know how to search for the term entered in [url]www.weather.com[/url] and then get the updates. The code …

Member Avatar for EAnder
0
408
Member Avatar for sravan953

Hey guys, I have some code: [code='python'] import urllib2 as url import subprocess import os webs=open("url.txt",'r') read_webs=webs.read() def get_html(): try: req=url.urlopen(read_webs) res=req.read() return True except: print("<Error reading from the website>") def get_command(): if True: for x in res: if(x!='<'): command+=x else: break determine() command="" def determine(): format=command[len(command)-3:] print format get_html() …

Member Avatar for sravan953
0
156
Member Avatar for r0dder

i cannot get the adobe flash media player to work in my mac...the adobe site says it's successfully downloaded and it will work in the safari browser but not my firefox....i'm sure it's not too complicated to fix but it sure has me stumped.....HELP!!

Member Avatar for gasp
0
75
Member Avatar for newsguy

Safari 4.0.3 is out now and available for [URL="http://support.apple.com/downloads/Safari_4_0_3"]download[/URL] from Apple, for both Mac OS X and Windows operating systems. While there are the usual claims of making things more stable when using third party plugins and in particular for handling the HTML 5 video tag, it is with regards …

1
277
Member Avatar for Techwriter10

I've never been a big fan of American Idol or reality TV in general, but the tit for tat going on between Microsoft and Apple ads reminds me a bit of a reality TV competition with bloggers acting as Simon and Paula and the gang. We watch. Sometimes we laugh. …

Member Avatar for Techwriter10
0
217
Member Avatar for khess

[URL="http://www.apple.com"]Apple[/URL] users are the most dedicated and fervent operating system fans with undying loyalty to their operating system, hardware and peripherals. And they're just as loyal now to the new Unix-based OS X as they were to the old proprietary Mac OS. However, when given the option of a Linux-based …

Member Avatar for khess
0
313
Member Avatar for Techwriter10

It's with more than idle curiosity that I've watched the recent [URL="http://news.cnet.com/microsofts-lauren-ad-follow-up-disses-mac-power/?tag=rtcol;pop"]Microsoft ads[/URL] that attack Apple, subtly suggesting that it's too expensive and that it's all glitz with no real computing power. There is so much wrong with these assertions that it's hard to know where to begin. There is …

Member Avatar for Techwriter10
0
430
Member Avatar for newsguy

Love your Mac? Love Lego? Love Batman? Oh boy have I got good news for you. Yes, it would seem that a date has been fixed for the arrival of Lego Batman on the Mac. That date is April 9th according to [URL="http://www.feralinteractive.com/game/legobatman"]Feral Interactive[/URL] which has already had moderate success …

0
179
Member Avatar for khess

I've had the pleasure of taking a special [URL="http://www.debian.org"]Debian[/URL] 5.0 [URL="http://ftp.utexas.edu/debian-cd/5.0.0/i386/iso-cd/debian-500-i386-xfce+lxde-CD-1.iso"]distribution[/URL] (Debian 5.0 i386 XFCE LXDE) for a recent test drive as a virtual machine in [URL="http://www.citrix.com"]Citrix[/URL] XenServer 5.0. This single CD distribution comes with two selections for a graphical interface, [URL="http://www.xfce.org"]XFCE[/URL] and [URL="http://www.lxde.org"]LXDE[/URL]. XFCE works great and is very …

Member Avatar for meckel
0
312
Member Avatar for Lisa Hoover

If you've been following this blog for any length of time, you know I focus a lot on employment -- or lack thereof -- in the tech sector. I'm always on the lookout for ways IT professionals can get additional skills or enhance the ones they have, so I feel …

Member Avatar for Techwriter10
0
468
Member Avatar for khess

I'm not talking about openssl, PHP, or even the Linux kernel but all the above plus every other program or bit of code on a Linux system. It's vulnerable. It's hackable. It can be changed at will by anyone because the source is open and freely available (the definition of …

Member Avatar for khess
0
427
Member Avatar for newsguy

Apple users opting not to grab a free 30 day demo version iWork 09, or even cough up the bucks for a full retail version, have found themselves getting more than they bargained for. It appears that something in the region of 20,000 people have downloaded a pirated version of …

Member Avatar for jonas leo
0
244

The End.