1,336 Topics

Member Avatar for
Member Avatar for khess

OK, you two, stop fighting. These little spats of yours are getting old. A [URL="http://news.yahoo.com/s/nf/20100602/tc_nf/73685"]rumor[/URL], heard yesterday, that [URL="http://www.google.com"]Google[/URL] is not going to use [URL="http://www.microsoft.com"]Windows[/URL] internally in their company might be just that: rumor. And, a bad one at that. It's interesting to note that, while such a rumor stirs …

Member Avatar for kashcool5
0
243
Member Avatar for G_S

Hi, I have a very simple question: first of all, my code: [CODE=python] import os def test(): x = "Linux" y = "Windows" if os.name == "posix": print(x) if os.name == "nt": print(y) else: print("there is a problem") [/CODE] Run that code on Linux (don't know about windows) and it'll …

Member Avatar for G_S
0
146
Member Avatar for miac09

Hi, I have the following files and can match but, am having trouble with getting the output to write correctly to a data matrix format that I need and would appreciate any help with getting the code right. File 1 has a list of numbers and Files 2, 3 and …

Member Avatar for woooee
0
200
Member Avatar for cthoes

i am using mac os x 10.5 with apache php and mysql. i tried below program but end up with following message.. Upload: insurance1.jpg Type: image/jpeg Size: 845.189453125 Kb Temp file: /private/var/tmp/php0Vueol Warning: move_uploaded_file(uploads/insurance1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Library/WebServer/Documents/php/upload_file.php on line 25 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable …

Member Avatar for cthoes
0
2K
Member Avatar for blazahjazz

Hello, I'm a high school student and I just started learning Python. I'd really appreciate some help on some problems I've been assigned, and some tips that could help me out in the future with problems like these. >>> getLeaves ( jenny ) [5,3,0,9] >>> >>> getLeaves ( joshua ) …

Member Avatar for griswolf
0
157
Member Avatar for nkinar

Hello--- I'm attempting to compile a software package ([url]http://www.freeusp.org/[/url]) on Mac OS X Snow Leopard (10.6.3), and unfortunately, the Makefile cannot find an include that is required for compilation. In the /trcgp/ directory is a Makefile with the following: [CODE] include ${DEPTROOT}/etc/gmake.init [/CODE] In my .bash_profile file, I have the …

Member Avatar for nkinar
0
1K
Member Avatar for leo1937ca

Name: George Ingram Using: vb6 OS: Windows 2000 I have created a Splash Screen for my program with a "Dont show this screen again" checkbox. I am using the checkbox value and the Savesetting/Getsetting parms to bypass the Splash Screen if checkbox is checked. It seems to be working correctly, …

Member Avatar for vb5prgrmr
0
103
Member Avatar for ChargrO

Hello, i was just wondering how i could make these buttons appear on the screen in the same position, but so the code is simpler and easy to use. [CODE] ## Screen design draft for major project ## Filename: majorProjectDesignDraft20090222.pyw ## import os from Tkinter import * import tkFileDialog class …

Member Avatar for sandorlev
0
245
Member Avatar for John A

Hi, I'm not sure if this is the right forum to post this thread in, but here it is. Even though I program on the Mac OS X platform, and am quite good at it, I'm really doing game programming, so I never really learned much Cocoa or Carbon. Can …

Member Avatar for jarimany
0
1K
Member Avatar for alabandit

i'm stumped... i get strange results from string[10:] to get the last 10 characters from a string? the code supposed to rename a batch of file sequentially and the number of numbers needs to be consistent eg. 00001 - 99999 thanks for the help [CODE]import os x=0 for file in …

Member Avatar for alabandit
0
260
Member Avatar for nishankyadav

HI, i am Nishank and have got a project -to make periodic table by using the following a. Data Structure b. Object Oriented Programming in C++ c. Data File Handling through the program the user should be able to: a.view the periodic table b.edit the periodic table c.delete a record …

Member Avatar for Ancient Dragon
0
6K
Member Avatar for chebude

I was able to print out daily values and aggregate the final annual result but I am lost and dont know where to start on how to sum the daily values to monthly and print it out. I need your help badely. Here is part of the code [CODE] import …

Member Avatar for woooee
0
148
Member Avatar for gjames

I have two questions that are Eclipse and Mac OS X specific. Question 1: Referring to eclipse preferences > java > Installed JRE's > Execution Environment: Can someone explain the [ execution environment's ] and compatible [ JRE's ]? I'm interpretting this as the execution environment being the JVM eclipse …

Member Avatar for gjames
0
159
Member Avatar for Silvershaft

Hey all! I got a little problem, well actually not so little when I try to go play something the graphic card crashes I get a notice on bottom right that it crashed and restored and sometimes I might get a bsod. It has worked well before, but it suddenly …

Member Avatar for caperjack
0
341
Member Avatar for GuyClapperton

Sometimes you see something and you really, really hope it's a hoax. Take this story on Slashdot, which confirms if true that [URL="http://apple.slashdot.org/story/09/10/23/1456221/Apple-Seeks-Patent-On-Operating-System-Advertising?from=rss"]Apple has applied for a patent to put advertising into its operating systems[/URL]. I really, really don't want adverts when I switch my computer on. Actually that's not …

Member Avatar for coullone
0
230
Member Avatar for MattyRobot

I am getting the error: There is no disk in the drive. Please insert a disk into drive \Device\Harddisk1\DR1. I have already read the answers of previous posts, but none of them fit to my situation. I am running code blocks from a usb stick. When I start debugging I …

Member Avatar for finito
0
126
Member Avatar for micseydel

Attached are a C file, a .i file, and a Makefile that I thought could produce a Python-loadable binary. Also, I included a text file with the output I got showing the failure. It looks like I didn't include something vital but I don't know what. Can anyone help me …

Member Avatar for micseydel
0
551
Member Avatar for hoangtrung2211

[url=http://www.servimg.com/image_preview.php?i=224&u=15025347][img]http://i62.servimg.com/u/f62/15/02/53/47/noname13.jpg[/img][/url] [url=http://www.servimg.com/image_preview.php?i=225&u=15025347][img]http://i62.servimg.com/u/f62/15/02/53/47/forema10.png[/img][/url] [url=http://www.servimg.com/image_preview.php?i=124&u=15025347][img]http://i62.servimg.com/u/f62/15/02/53/47/downlo10.gif[/img][/url] [CODE]Mirro1: [url=http://shareflare.net/download/04725.041a1c597f401cb6cb87d95e8/objectdock_freeware.exe.html]http://shareflare.net/download/04725.041a1c597f401cb6cb87d95e8/objectdock_freeware.exe.html[/url] Mirro2: [url=http://ugotfile.com/file/1257438/objectdock_freeware.exe]http://ugotfile.com/file/1257438/objectdock_freeware.exe[/url][/CODE] Jealous of that slick Mac interface? Check out ObjectDock, a free utility that replaces the Windows Taskbar with a colorful, animated dock similar to the taskbar in Mac OS X. ObjectDock displays icons for currently running applications and can hold quick-launch icons for …

0
36
Member Avatar for mariosbikos

[CODE]#include <stdlib.h> #include <stdio.h> #include <time.h> #define MAX_ROWS 10 #define MAX_COLS 10 static char map[10][10]; void sin1(char map[][MAX_COLS]); void sin2(void); void sin3(char map[][MAX_COLS]); int main(void) { system("chcp 1253 >nul "); FILE *fileptr; char myColchar,apantisi,map[MAX_ROWS][MAX_COLS]; int metritis1=0,apotelesma,myColnum=1,myrow=1,k,a,l,c,row, col; char r,fileRow[MAX_COLS + 2]; // account for newline and NULL printf("dose tin diataksi …

Member Avatar for mariosbikos
0
276
Member Avatar for olofom

I'm writing a slideshow program with Tkinter, but I don't know how to go to the next image without binding a key. [CODE=python]import os, sys import Tkinter import Image, ImageTk import time root = Tkinter.Tk() w, h = root.winfo_screenwidth(), root.winfo_screenheight() root.overrideredirect(1) root.geometry("%dx%d+0+0" % (w, h)) root.focus_set() root.bind("<Escape>", lambda e: e.widget.quit()) …

Member Avatar for olofom
0
311
Member Avatar for gjames

How do I load an older version of 'xerces-j 1.4.3' and 'xerces-j-docs' into eclipse so I can use the api's? I've looked at the Eclipse doc, and I'm not finding a direct reference to this which makes me think I'm not grasping some important concepts conerning plugins, and features. Below …

Member Avatar for gjames
0
73
Member Avatar for rukshilag

hi below is the code i am using to try and execute a pdf report. now the following code i saved in a separate file in the website folder itself. and in the form that contains the print button, when clicked i want it to execute the code in the …

0
81
Member Avatar for danielagaba

hi i'm trying to create an application that sends information through a query string to a php page that stores the information in an sql database. when i run the application it brings no errors and displays the form at the end of the connection method but no data is …

Member Avatar for peter_budo
0
78
Member Avatar for mariosbikos

[CODE]#include <stdlib.h> #include <stdio.h> #include <time.h> #define MAX_ROWS 10 #define MAX_COLS 10 void sin1(char *map); int main(void) { system("chcp 1253 >nul "); FILE *fileptr; char myColchar,apantisi,map[MAX_ROWS][MAX_COLS]; int apotelesma,myColnum=1,myrow=1,k,a,l,c,row, col; char r,fileRow[MAX_COLS + 2]; // account for newline and NULL printf("dose tin diataksi me ton arithmo pou epithymeis(1/2): \n"); scanf("%d",&k);//edo tha …

Member Avatar for mariosbikos
0
269
Member Avatar for goodwin912

I have finally got my program finished and going. Im now looking to make it look a bit better. While it is processing it shows and empty tk window. How does one go about putting something in here? I'd just like my users to be reassured it is actually working …

Member Avatar for TrustyTony
0
678
Member Avatar for Beaver Newby

I am replacing the HardDrive on a 350mhz iMac g3. The hard drive replacement has went ok, meaning I was able to replace the OS 9 and OS X operating system with out much trouble. So far I have the original drive intact but failing. I have two partitions on …

Member Avatar for Beaver Newby
0
142
Member Avatar for leviaeon

i am having this problem related to function implementation. my program is about sending an unread sms string to a bluetooth module and after sending the strings of sms messages it will mark the unread messages as read then move to a sms notification function that will notify me is …

Member Avatar for leviaeon
0
119
Member Avatar for j.ross

New Paragon NTFS for Mac OS X 8 includes HFS driver to provide access to HFS files and folders from any Windows-based PC!

0
124
Member Avatar for leviaeon

Hello guys, I am implementing this code that will transfer a string from mobile to a bluetooth device. I have already done the extraction of sms from the inbox and then save it as a text file by the way I am using nokia 6600 as a test phone. Then …

0
57
Member Avatar for noshdb

Is there a free photo editing that is simple to use for mac os x. I have GIMP but is there another simple free program available for basic photo editing?

Member Avatar for Adamshefard
0
198
Member Avatar for david888m

BRIEF BACKGROUND Two weeks ago, Avira's rescue CD reported for one computer: "Contains code of the Boot.1 virus". However, the closest match in their database is W-Boot.1 for which an alias is Dr. Web's WBoot. Malwarebytes saw nothing. AVG saw nothing. Dr. Web reported for another computer: "A: Boot Sector" …

Member Avatar for jholland1964
0
349
Member Avatar for girlscodetoo

Hi Guys! I am a Python noob. I wanted to merge data and eliminate duplicates. I have the solution. Now I am stuck at dumping the dict contents to MySQL. Any help is really appreciated. Data : [QUOTE]a b c d e f key dupe -------------------- 1 d c f …

Member Avatar for girlscodetoo
0
184
Member Avatar for elangkin

Hi Friends Im Elango from India, I have new problem, we have 6 computers connected with network switch. one system win2K other five is win98. resently a virus affect all our systems (virus name w32.sality) still we unable to clean it. if i scan with norten virus not found. but …

Member Avatar for chamarapro
0
221
Member Avatar for mauryoung

ok i have this project that i have been working on to fin harmonic,powerful,amicable and perfect numbers i have a few but im at a road block right now and would love some assisstance. [B]POWERFUL NUMBERS[/B] [CODE]#include <iostream> using namespace std; int main() { int endRange = 500, var1, var2, …

Member Avatar for WaltP
0
229
Member Avatar for khess

It isn't quite Perl version 6 but it's well on its way. Between now and Monday, [URL="http://www.activestate.com"]ActiveState[/URL] will release version 5.12 of its cross platform, easily installed ActivePerl. Version 5.12 offers more than simple bug fixes; it's a major release that some developers look toward with great anticipation. The major …

0
308
Member Avatar for danielagaba

hi i'm using the following code to enable a midlet to pull information from a php file. my problem is when i run the midlet in the wireless toolkit emulator, instead of showing the information, it displays "Error ...". I am using wamp to host the php page J2ME code: …

0
85
Member Avatar for class11a

Hi, I’m trying to use the following code in C++ on Mac OS X Snow Leopard to get the output of an external program through a pipe. [code=c++] FILE * al = popen("program program.cfg", "r"); string data; char buffer[100]; while (fgets(buffer, 100, al) != NULL) data.append(buffer); cout << "«" << …

Member Avatar for class11a
0
202
Member Avatar for musturd

ok so I'm very new to python and I know java pretty well... Here is the source code I have come up with for the beginnings of a md5 brute forcing program: [CODE]#For testing purposes only passwords that have one letter/number will be cracked import os import md5 def bruteForce(): …

Member Avatar for musturd
0
1K
Member Avatar for Tcll

as well as my last thread (hex editor) I need help knowing how to program a 3d model viewer that reads obj format, and supports texturing... unlike the hex editor, I have some code if you want to play around with it... you must set everything manually before you run …

Member Avatar for Tcll
0
202
Member Avatar for khess

Mac OS X 10.5.6 is out today. Are you excited? According to all the Apple-oriented buzz, it's a much-anticipated release. It has lots of fixes and some cool enhancements but do you want to know what would sell me an Apple product? (And it isn't a hip new release of …

Member Avatar for AnnoyingOrange
0
331
Member Avatar for rue64ja

Hey, I have a macbook 2.2 GHz intel core 2 Duo running OS x 10.5.8 and I want to set things up so I have an option of running ubuntu 9.10. I read a few threads else where claiming that I could do it by having ubuntu boot from an …

Member Avatar for thewebhostingdi
0
118
Member Avatar for garyinspringhil

I need a qtimer to trigger reading of a file line by line, I have the code working running with the timer trigger but qtimer will just read the first line over and over as it is now. Here is the code so far: self.lcdtimer = QTimer() self.connect(self.pushButton85,SIGNAL("clicked()"),self.update) self.connect(self.lcdtimer, SIGNAL("timeout()"), …

0
61
Member Avatar for sfurlow2

For my project, we're supposed to read data from a text file (circlemath.txt) and the program should output data for the circle to a text file (circoutput.txt). The input file contains data specific for class Circle (x-coordinate, y-coordinate, radius, ascii character), and each line has the form (Circle1 data, operator …

Member Avatar for sfurlow2
0
107
Member Avatar for BestJewSinceJC

What I've learned so far: An OS may trigger a software interrupt by executing a system call. According to what I read online, this is implemented via special instructions such as INT that the CPU can execute. I also understand how interrupts get handled by the interrupt service routine. My …

Member Avatar for BestJewSinceJC
0
170
Member Avatar for sheps

Hi, I'm super new to Java, and am desperately in need of some help. I'm making a little java desktop application where I basically have a grid of 4 JButtons ( 2 x 2 grid), and I need the background colour of individual JButtons to change, and after one second, …

Member Avatar for Ezzaral
0
2K
Member Avatar for kudresov

My MacBook Pro 4,1 doesn't want to load OS (can't find it) and displays the blinking folder with a question mark. I have tried everything I found on the forums. Mac does recognise hdd. I could copy all file from my hdd to remote hdd using terminal. However still every …

Member Avatar for kilroy294
-1
358
Member Avatar for garyinspringhil

[CODE]x = self.spinbox37.value() * 40 y = self.spinbox38.value() * 40 printer = str(self.comboBox4.currentText()) print_cmd = 'echo "IN;PU" x "," y | lpr -P %s %s' self.LCDNumber18.display(x) self.LCDNumber19.display(y) #print_cmd = 'echo "IN;PU2100,11300;" | lpr -P %s %s' os.system(print_cmd % (printer, ""))[/CODE] In the above line I'm trying to use the x …

Member Avatar for garyinspringhil
0
130
Member Avatar for AnnetteM

Hello, I am in the process of importing and reading data, reshaping the data, adding a header file on top (of the new data array or matrix), and writing a new file. I do this in a loop for many files. I'm using python 2.5 since that is the version …

Member Avatar for AnnetteM
0
187
Member Avatar for absk

Hi This is the summary (by Everest Home Edition) of my desktop Compaq Presario SR 1720IL [QUOTE]Field Value Computer Operating System Microsoft Windows XP Professional OS Service Pack Service Pack 3 DirectX 4.09.00.0904 (DirectX 9.0c) Computer Name User Name Motherboard CPU Type Intel Pentium 4 516, 2933 MHz (22 x …

Member Avatar for sparkax
0
304
Member Avatar for EricDLundquist

Currently I'm using the way posted below which works but it sure isn't elegant. Can anyone think of a way to test if the UI has loaded without using system() or popen() in c++ [CODE]FILE * fp; char inputArray[100]; fp = popen("ps aux | grep SystemUIServer | grep Library | …

0
53

The End.