1,336 Topics

Member Avatar for
Member Avatar for jkrueger

Hi, I got the cxfreeze working on the Mac OS X 10.6.7 and the distilled Python script runs fine on that Mac Book. Now I'm getting reports from Mac user clients that it doesn't work for them. It is a simple script that only calls from the Mac it's terminal. …

Member Avatar for jkrueger
0
379
Member Avatar for dogsbody

I'm using a Snow Leopard OS X 10.6.7 and find the print program very limiting in its capabilities. For instance if I want to print "duplex" or "poster printing" it just does not seem to have the ability. If I want to print glossy photos there seems to be no …

Member Avatar for jingda
0
130
Member Avatar for imperialguy

Platform and Python installation info: [b]Platforms: Windows, OS X Python: Active State Python 2.7 wxPython: Version 2.9[/b] Here is a sample code in which I use a wxMessageBox: [code]import wx,os class Frame(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(100, 100),style=wx.MINIMIZE_BOX | wx.SYSTEM_MENU | wx.CAPTION | wx.CLOSE_BOX | …

Member Avatar for vegaseat
0
1K
Member Avatar for Billy D

Hey everybody. I was wondering if this is possible, and if it is, why it isn't working. When you right-click an application (.app), there is an option for "Show Package Contents." If you select that option, it opens up a "Contents" folder. Inside that folder, there are multiple folders, but …

Member Avatar for jingda
0
190
Member Avatar for eadrtwist

Hi i'm using Mac Os X 10.3.9 G4. It freezes on start-up and doesn't go beyond the blue screen. I started up and run fsck and realised i have a mal-formed library. I lost the install disk and don't have an Apple shop in my country. Is there any other …

Member Avatar for jingda
0
227
Member Avatar for kimkim0513

this is an assignment homework I have defined a structure X.... [CODE]struct X{ string name; char grade; }; [/CODE] here are the questions a) Declare r as a variable of X, s as a pointer variable to X and w as a pointer variable to a pointer of X. [CODE]X …

Member Avatar for Narue
0
150
Member Avatar for Billy D

I'm not sure if this is possible. Basically, I have a function that will detect the current active user. [CODE]string currentUser() { string user; ofstream outf("CurrentUser.dat", ios::trunc); system("whoami >> CurrentUser.dat"); outf.close(); ifstream inf("CurrentUser.dat"); inf >> user; return user; }[/CODE] I have another function which will create a directory in the …

Member Avatar for Billy D
0
362
Member Avatar for Rickay

I'm not really sure what the proper forum for this is. Basically, I have compiled a small program (written in C++) that I want to execute. It first creates an AppleScript, then runs it. But, when the program is run (it is a 'Unix executable file'), I want to to …

Member Avatar for Rickay
0
275
Member Avatar for imperialguy

Some details of my machine and installed packages before proceeding further: [B]Mac OSX version: 10.6.6 Python version: Activestate Python 2.7.1 wxpython version: wxpython 2.8 (uses Carbon API hence limited to 32-bit mode arch only) [/B] I installed wxPython2.8-osx-unicode-py2.7 from wxpython website using their .dmg installer file. This package uses the …

Member Avatar for imperialguy
0
620
Member Avatar for HelloPeople1

Hi guys I'm writing a top down shooter game in pygame and wanted to use sprites for my object. I got a character sprite working fairly well except I have two problems. 1. When I rotate my character the point of rotation is changing. This causes a uneven rotation in …

0
104
Member Avatar for J-M DESMETTRE

Hi, I've posted two scripts that I would like to improve. The first one (SparePartsDemo.py) is a little utility that takes a .csv (.txt) data file exported from another application, builds a SQLite database,performs a request to select and sort records and write the results to a sqlite database file, …

0
664
Member Avatar for DAS-03590

I have a Mac notebook running Mac OS X Snow Leopard at my home owned by another in the family and for some reason it has been having problems with connecting to the wireless in the house. Network: TW CBL Modem to a Netgear N600 Wireless router NG N600 has …

Member Avatar for jingda
0
325
Member Avatar for lsvife

When I install sony vegas 8.0 i got an error message. Extracting file failed, it is most likely caused by low memory (low disk space for swapping file) or corrupted Cabinet. I certainly don t have an issue with low memory so what can you guys tell me about this …

Member Avatar for lsvife
0
1K
Member Avatar for jlego

we have a mysql server running from mac os x. i dont like mac but the server has been here forever. a client machine received the 'too m any connections to server' error. my colleague restarted the mysql server - and now the mysql server service will not start. does …

Member Avatar for jlego
0
225
Member Avatar for CodyOebel

Maybe you can help me here triumph, or anyone else for that matter. I have users running my program on various operating systems, and am running into two common problems. The window\game window my program sends messages to and gets pixels from is an older direct x game coded in …

Member Avatar for ashishchoure
0
477
Member Avatar for DAS-03590

I am posting as a new user and have been curious if there happens to be a way to allow Win Home Server to share a printer to a MAC running OS X Snow Leopard. Also, if Home Server allows Win 7 to be backed-up or would that cause complications …

Member Avatar for DAS-03590
0
118
Member Avatar for russellquin

From what I've read root user does not exist on mac os X unless you activate it. But being paranoid I fingered root to see if it exist on my computer. It was used just a few weeks ago. Should I be paranoid? Or am I miss understanding something? Also …

Member Avatar for jingda
0
158
Member Avatar for falsedimitrii

I am trying to install OS X 10.4.6 on an iBook. I am installing from a DVD copy made by the local apple store. The "Checking your installation DVD" part completes without errors. During the install it stops and says: BomFatalError - cpio read error: bad file format Install failed: …

Member Avatar for jingda
0
211
Member Avatar for TrustyTony

[URL="http://www.pyside.org/"]PySide[/URL]: Python for Qt 1.0 released! The PySide team is thrilled to announce the release of PySide: Python for Qt version 1.0.0. In addition to the source code release, project community packagers have already released binary packages [developer.qt.nokia.com] for all major Linux distributions, Microsoft Windows, Mac OS X, and Nokia’s …

Member Avatar for e-papa
2
420
Member Avatar for bioplanet

Hi all, I have the following script for creating scatter plots and I was wondering if there is a way of adding the legends also for each dot in the plot (i.e. Method1, Method2 etc) [code] #!/usr/bin/env python import sys,re,os; import matplotlib as mpl; import matplotlib.pyplot as plt; datafile = …

0
105
Member Avatar for Unseen Machine

Hi folks, I have googled around, read a lot and still can't figure it out. I know a bit of C++, but am far from literate in all commands. I am much happier with QBasic (old i know, but it works). I have made qb code and need to convert …

Member Avatar for mike_2000_17
0
344
Member Avatar for joya

I downloaded Mac OS X again because Safari disappeared. When I finished downloading it, all my files and photos have gone and my mac has no memory! Is there any possible way of getting all my files back?? Please help me I need some of these files desperately!!! Thank you

Member Avatar for jingda
0
455
Member Avatar for bangla

Hi, When you have a chance, can you pls take a look at the html code and let me know why there are empty space in the browser? I spent hours. still no luck. thanks. ---------------- [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <HEAD> <TITLE>BengaliaList.COM - A list of …

Member Avatar for bangla
0
344
Member Avatar for MisterSinyster

need help with a homework problem and i've been starring at code all day and my brain is fried... any advice or pointers would be greatly appreciated Description of the Problem Write a method minimum3 that returns the smallest of three floating-point numbers. Use the Math.min method to implement minimum3. …

Member Avatar for jon.kiparsky
0
1K
Member Avatar for stevanity

Guyz, I have been using codeblocks IDE (Latest Version GCC 4.x) for sometime now. For some weeks now Im facing some problem in it. When I build a program for the first time, it runs smoothly. Then I make changes and I build again, then it gives an error saying …

Member Avatar for GDICommander
0
122
Member Avatar for anraevlus18

Hi, I am very new to C++. In my code i am using readline to get the user input which is a command and that input will be processed accordingly. When user enters a command named "setflag", i should set a flag to TRUE in all the active sessions of …

0
90
Member Avatar for servooo

Hi, i have a problem with getline function in cpp program on os x Error: main.cpp:158: error: 'getline' was not declared in this scope i read that in os x are some issues with getline() function but i am newbie and i dont know what to do. is possible to …

Member Avatar for gerard4143
0
385
Member Avatar for bonucci

hi there guys, i have right a email form, and it works very well, but im having some trouble whit something, how can i make it possible to have a attachement file whit him, take a look of my code please: [CODE] <?php $nome=$_POST["nome"]; $morada=$_POST["morada"]; $CodPostal1=$_POST["CodPostal1"]; $CodPostal2=$_POST["CodPostal2"]; $localidade=$_POST["localidade"]; $telefone=$_POST["telefone"]; $email=$_POST["email"]; …

0
46
Member Avatar for Tgon

Hey guys, My AV has located a rootkit MBR:\\.\PHYSICALDRIVE0 I have already tried a solution that I found in this forum but it has not worked. basically I have run bootkit_remover.rar and run it. It returned the following: -- [COLOR="Red"]Bootkit Remover (c) 2009 eSage Lab [url]www.esagelab.com[/url] Program version: 1.2.0.0 OS …

Member Avatar for jholland1964
0
1K
Member Avatar for Simplicity.

My code tries to solve an optimization problem constrained to hyperbolic PDE by matching a numerical solution to a desired one. The basic idea is that: I've initial condition "U" as input which is being updated by this line: U = Initialize(Update_Design_Parameter(U)). I expect that updated U will affect all …

Member Avatar for Gribouillis
0
167
Member Avatar for eduard77

I try to make an exercise that involves classes. I reached until this point [CODE] #include <iostream> #include<math.h> #include<iomanip> #include<conio.h> using namespace std; class Cplx { double re, im; public: //constructors Cplx(double x=0, double y=0); Cplx(const Cplx& z); //accessing the members double real() const {return re;} double imag() const {return …

0
60
Member Avatar for eduard77

I try to make an exercise from a book and I have only one error. On this line [CODE]cin >> t;[/CODE] it writes me that "more than one operator >> matches this operand" I know that defined this operand before in another way but I don't know how to solve …

Member Avatar for jonsca
0
187
Member Avatar for Rockpile

Hi there, I know there are some changes between Python 2x and 3x, and I know this is probably due to the changes with how 3x handles unicode and binary but I dont know how to make it work properly in 3x. In 3x my code returns the value I …

Member Avatar for TrustyTony
0
286
Member Avatar for ilyons

Hey all, I work at a small (~120 students/semester) study abroad program and I'm looking to revise my setup of a networked printer. As it stands, we have a very mixed environment (every version and SP of Windows from XP to 7 and Mac OS X 10.4 and up) and …

Member Avatar for royng
0
181
Member Avatar for leiger

Hey everyone, Usually when I create a Java application I will use the built-in Preferences class to save user preferences. I believe this saves user information to the registry on Windows, and to other locations on Linux / Mac OS X. When I need to store a serialised object, I'm …

Member Avatar for leiger
0
187
Member Avatar for katarey

Hi, I have developed a web application using PHP + MySQL on Apache 2.2.17 what should be the recommended server specification application if +10000 users access at same time. I am looking for recommendation on these points Server specifications: Software: • Server Type: Apache/2.0.52 (Red Hat) • Apache 2.2.x • …

Member Avatar for katarey
0
176
Member Avatar for svcghost

Hey guys, How long is a file, such as a jpeg, in memory, after the file is closed? Let's say I open a jpeg file in Windows preview, or Previewer on Mac OS X, then I close the previewer program. How long is that jpeg in RAM? How can I …

Member Avatar for benmar
0
160
Member Avatar for gladiatorohit

Hello everybody, I am trying to send an image from midlet to servlet. I have converted the image into its BASE64 format. I have to send it now to a servlet. Please help me how to read the sent bytes in servlet..?? And where and how will be the received …

0
63
Member Avatar for Relik1989

Hello, I have a Acer Aspire 5920 that currently has a 15.4" display, which has very low contrast and and low resolution(1280x800). I just recently had my old 17" Toshiba crap out on me, and it has a absolutely gorgeous screen, high contrast and the resolution is (1440x900). Now what …

Member Avatar for BlackScorp
0
429
Member Avatar for Goalatio

I wrote an operating system in 16bit asm (NASM), and thought it was easy. Then I came up with the crazy idea that I could learn 32bit asm.. And quickly became disgusted. All of the 32bit tutorials out there TELL you to use C or a similar language; I want …

Member Avatar for Goalatio
0
129
Member Avatar for triple sick

Ok, so in this program, the user enters a number and it assigns that number to "answer". Now I have a bunch of strings already named by numbers, it starts out with "one", "two", "three" and so on being valued as a dash sign "-". So say they enter "five", …

Member Avatar for VernonDozier
0
155
Member Avatar for burningcandle10

this is a php code when i check this code on "online php checker" it gives an error "Parse error: syntax error, unexpected T_STRING" on line 1708 how to solve this please give some advice [CODE]<?php class PopUp_Domination { var $base_name = ''; var $theme_path = ''; var $theme_url = …

Member Avatar for burningcandle10
0
2K
Member Avatar for provster

Hey there, I have an annoying problem! I hope someone else has experienced the same. I am basically trying to style a text box, and make it a bit more dynamic. However, on windows machines (in FF, CH & IE), I am finding that the mouse cursor disappears when I …

Member Avatar for johnsteve.bravo
0
553
Member Avatar for buniferous

I promise I read the Read This First post and also searched for relevant threads, but I didn't have any luck. I'm taking my first C++ class, and the instructor hasn't been much help when it comes to fundamental things like what compiler we should use, where to get it, …

Member Avatar for buniferous
0
279
Member Avatar for kinz653

Hi, Just started using python. I can run simple python programs from the terminal in OS X. It says python version 2.6.1. I wanted to try turtle. I copied some code I found from others on here and tried to run it, and ran into problems right away with things …

Member Avatar for kinz653
0
3K
Member Avatar for printman55

I am redesigning a site and I want to have it compatible with the IPad. Could someone show me the code in either JavaScript or PHP so that when someone comes to my site on an IPad they will be automatically redirected to a site that is narrower, contains no …

Member Avatar for smantscheff
0
150
Member Avatar for stankefa

[CODE] class X { public: X () : myID(id) {} X (const X& right) : myID(++id) {} friend ostream& operator<< (ostream&, const X&); private: static int id; int myID; }; int X::id = 0; ostream& operator<< (ostream& os, const X& x) { return os<<x.myID; } X f (X x1, X& …

Member Avatar for Fbody
0
198
Member Avatar for Daemon9

I have my 360 and Vista-based PC connected to an NR041 router. My PC detects my 360, but not the other way around. I've tried just about everything. File sharing has been enabled on Windows Media player 11 (which also detects the 360). The router settings are at default. No …

Member Avatar for Gorillababy94
0
218
Member Avatar for hogdogjr

I am working on a python application where most of the GUI is written in TKinter, but I need a data grid control like Excel. I know tktreectrl is supposed to do this but I am unable to get the latest version to compile. What I want to know is …

Member Avatar for richieking
0
218
Member Avatar for lius84

Hi all, I write because I am struggling with a very strange thing. I have this class: [CODE] static const long POINTS_VERY_FEW = 100; class Bin2DSphere { /*! Class for 2-dimensional binning on a sphere */ public: string Name; double PhiMin; /* Minimum value of Phi */ double PhiMax; /* …

Member Avatar for mike_2000_17
0
181

The End.