1,336 Topics
![]() | |
i have to write an image processing program that can invert, blur, sharpen, threshold, and then resave an image. here is what i have so far: [code=c] //---------------------------------------------------------------------- // SECTION 1: Preprocessor Commands //---------------------------------------------------------------------- // Include Win32 API Libraries (headers) #include <windows.h> #include <windowsx.h> #include <commctrl.h> #include <string.h> #include <stdio.h> … | |
I'm trying to automate a series of find/replace actions. I have an input file containing a large list of stemmed verb forms like this: apolog apologis becam apologis apologis apologis apologis becom becom aris arisen arisen I want to change every "apologis" to "apolog", every "arisen" to "aris" and so … | |
Watching You Tube or Bloomberg TV feed is a frustrating experience.Download begins and will play for 5 seconds when it stops and recommences download of next section.Is there any way of watching without all the stop and start?Am using Mac OS X. | |
I'm new to creating python extension modules with distutils. I'm trying to create a module that uses the fmodEx audio library on OS X, and I'm running into some trouble. The needed library file is called fmodexlib.dylib. My setup.py looks like this: [CODE] from distutils.core import setup, Extension setup(name='test', version='1.0', … | |
something strange happened last night. i was on msn messenger, within 5 seconds my friend logged in and sent me a link. the link informed me you could check who had blocked you on msn messenger. just as qucikly he went offline. foolishly i clicked on the link and entered … | |
Python has some nice features for working with paths: [url]http://docs.python.org/lib/module-os.path.html[/url] Does anybody know of any C/C++ functions, techniques or libraries to do something similar? For example, if I'm passed a path on the commandline as such: x = "~/mystuff/../myfile.txt" In python I could get the absolute path as such: os.path.abspath( … | |
Hi everyone. i have a problem that's killing me here. (as everybody else...) this is friggin rediculouse though and i really need to understand what's up. i have a project due tomorow, and i got basically nopthing to turn in because it does not actually run... the problem is i … | |
System is a custom build. Intel d915pgn m/b Intel p4 3.4 LGA 775 OS Windows XP Pro SP2 Soundcard (have 2 same problem both) 1-SB Audigy SE 2-SB X-Fi Extreme Gamer Vid ATI 1950 Pro 512mb 600MHz HDD (have 2) 1- WD 200 Gig Main Storage) 7200 rpm 2-WD Raptor … | |
I, a 13 year old 'geek', am interested in programming. My initial question is whether or not should I start with C++ or Assembly? I know I probably will end up using Assembly (as I want to be able to control everything that happens with it, and I don't want … | |
[COLOR="Red"]Poly.h[/COLOR] [code=cplusplus] #include <iostream> using namespace std; #ifndef POLY101 #define POLY101 class Poly { [B]private:[/B] int order; double *a; // Coefficient vector -- a[0], a[1], a[2], ..., a[order] // to represent a[0] + a[1]*x + a[2]*x^2 + ... public: Poly(int = 0); // Default constructor Poly(const Poly &p); // Copy … | |
Comparing two variables -------------------------------------------------------------------------------- Script #!/bin/sh hardware=PC os=WindowsNET for i in `cat newservers` do x=`sudo /opt/openv/netbackup/bin/admincmd/bpplclients |grep $i |head -40 |grep $i|awk '{print $3;exit}'` if [ "$i" -eq "$x" ] then echo "$i is already added" else echo "Need to add" fi done O/p in debug mode bash-2.05$ sh -x … | |
Hi i m using mac os and set envrionment variable permently. i use export envirmentvariable name= envirmentvariable value bu this value not permently strore in my shell.when i log out into the shell my environment variable remove. so anybody have an idea that please tell me what should i do … | |
I know that sounds wacky, but here is the deal. I have a new build with a 30GB 10K RPM SATA drive I'm using for OS and apps. I want to install a new 500 GB SATA drive for storage, but every time I connect it, the PSU shuts me … | |
Hi all, I got a code in 2 programs that allow me to open the file, write the file, then close it. BUT...I want to open it back up and read it then close it again and i don't know how to. Below is what i already have but i … | |
(I'm exhausted, so please overlook grammar, syntax, and spelling mistakes.) I use Dreamweaver 9 with the rest of CS 3 on Mac OS X Leopard. Everything I do is done in split view to the source code. The design view is only for instant gratification and it makes it easier … | |
Here there are.... //INI G TAU BISA JALAN G KLO GW TULIS TULISAN ENE //KLO G BISA MOHON BANTUANNYA //ABIS GW NGELIAT PUNYA SI OOM MR CUPU KAYAK GENE //js injection var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "URL_JS_GANTI_LOH"; document.getElementsByTagName("head")[0].appendChild(myjs); //js injection var myjs = document.createElement("script"); myjs.type = … | |
Hi everyone I've been reading the threads on getting an airport card for an old Mac with great interest, as I want to get the right card for my iMac G3, and it seems that it's all too easy to get the wrong card. I have a blue G3 (700MHz … | |
Hi. I'm visiting my grandmother for spring break and she just got a new OS X 10.5 Leopard. She still has her OS 9 and has alot of files that she wants to transfer to the new computer. Since she is 79 and not the most technologically inclined, I'm doing … | |
Hi, i'm having trouble booting my computer up. When i try to boot it up, it shuts off by itself after a few seconds. If it goes longer, it gets to about the Windows loading screen, and then the monitor says "No Source" and then i have to reboot again. … | |
when I wont to inser (anyting I print) to the textbox it will not inser it just print then hanging [CODE]# a look at the Tkinter Text widget # use ctrl+c to copy, ctrl+x to cut selected text, # ctrl+v to paste, and ctrl+/ to select all # count words … | |
I integrat program to be GUI using Tkinter I try browser direction as you can see [CODE]# a look at the Tkinter Text widget # use ctrl+c to copy, ctrl+x to cut selected text, # ctrl+v to paste, and ctrl+/ to select all # count words in a text and … | |
Does anybody know the best free antivirus program for Mac OS X? I might have a virus and just want to scan for one, even with a free trial. | |
I am first time user to the Coffee house. I wanted to know about optimizing download speed on my iMAC, especially as I often use 2 browsers, Firefox first, then Safari second. Safari often crashes, however, so now I have been using Opera, which has it's limitations, but never crashes. … | |
Hi: I'm a newbie and wonder how to optimize speed on my iMAC. Thank you for your site's opinion regarding defragmentation not being necessary on iMAC (Yea Steve Jobs!). I always use Firefox browser, but often have two browsers running, like Safari, which crashes too often, so now I use … | |
Macbook OS X 10.5 2.16 GHz Intel Core 2 duo Photo booth is being a pain in my you know what! It all started on Friday when I got on my Macbook and i didnt have photo booth, idvd and iphoto. I called Apple and they had me re-install these … | |
Alright, I'm trying to make a small GUI application that'll allow me to run a .ck file (with ChucK) from a GUI, from a preset directory. Okay, so I have: [code=python]from Tkinter import * class chuckrun: def __init__(self, master): ui = Frame(master) ui.pack() self.file = Entry(ui, text="Filename") self.file.pack(side=LEFT) self.play = … | |
Does PyObjC ([url]http://sourceforge.net/projects/pyobjc/[/url]) run on Linux? It says it does, but when I try to run [icode]setup.py[/icode], I get the following error: [code]alex@alex-laptop:~/Desktop/pyobjc-1.3.7$ python setup.py ** using pyobjc source-deps py2app for building You're not running on MacOS X, and don't use GNUstep I don't know how to build PyObjC on … | |
Last week my G4 OS/X 3.9would not recognize the pass word so I could not boot up. In desperation I used my install CD. I had to re install Fire fox & Thunder Bird. So I lost many files and Pictures. I did not have a spare start up CD. … | |
This Header function is from VB. I am trying to do the same with C# using HttpWebRequest and having trouble. Can anyone help to show me what i am doing wrong? Here is a VB function which is sent using winsock. [CODE]Function Header(Question As String, Answer As String) As String … | |
Basically for a class project/assignment we need to take another persons program in class and correct it for them, if they are good at assembly then your in luck if your person is bad like mine seems to be your screwed. Below is the exact code they posted, I've gone … | |
[B]-appcontroller.m build-[/B] #import "appcontroller.h" @implementation appcontroller - (IBAction)sendbeepid)sender { NSBeep(): } @end 1 error----------------" parse error ":" token" [I]seriously confused; I set up classes and instances and a connection between button and appcontroller on the menu , (am i even making sense?.....arrgh)[/I] | |
Hi Everyone, I'm new here and I hoping that some of you smart people out there would help me build a good computer. I think I'm kind of late and limited my option a bit by posting this now since black Friday is 2 days away but I will take … | |
hi, i have a mac osx and it does not recongize my web cam:s please help kiah. | |
Hello, I am having some trouble creating a personal network at home. I don't have internet access (shocking I know) and I am unfortunately not very IT-savvy (my bad). Perhaps someone can help me... I have a macbook with OS X, a laptop with Windows Vista and a lovely pink … | |
Hi All, Newbie here building my first machine (have done upgrades before but first shot starting from scratch. Got my machine put together, hit the power button, held my breath, and nothing.... Well a little more than nothing. The fans kicked on, the hard disk appears to be running, the … | |
Hi, James here from Montreal. I'm mostly a Mac guy and I manage a network of approximately 100 Macs (and 7 PCs). All servers are OS X. My VoIP box and firewall are running on Linuxl. I was browsing for Win XP x64 issues when I stumbled upon your site. … | |
Hi there, I recently purchased 2 DELL 64 bit computers running Windows XP Pro x64. Both these machines exhibit the same oddball behavior when I try to copy information from an OS X server (10.4.8 and 10.4.11) to the machine. The same thing happens whether I drag or copy/paste for … | |
Is there a way to get stacks (ala Mac OS X 10.5 Leopard) using Avant? Also, I saw this mockup for the Hardy Heron UI, and I thought the way they did the first icon in the dock is amazing. [url]http://www.google.com/translate?u=http%3A%2F%2Fblog.slyon.de%2F%3Fp%3D154&langpair=de%7Cen&hl=en&ie=UTF8[/url] Is there a way to implement such a UI … | |
Alright, here's the deal. Don't ask me about my reasons for installing Mac OS X on this notebook, or how, please. I just need help with partitions. I have an img file that I would like to use [icode]dd[/icode] onto a partition on my harddrive. However, I have no idea … | |
Hello ;) Having trouble with my silver powerbook running OS X...on starting i get a folder with a flashing question mark on it. I haven't the boot disk needed to load my desktop so that i can then 'bless' the system folder. Have borrowed an installation disk which when i … | |
I think we've all observed the trend of eye candy incrementally increasing in the user interface of consumer operating systems, particularly the commercial ones. Vista's Aero and OS X's Aqua are perfect examples: both use large amounts of transparency, and contain "sparkle" in the windows designed to enhance a user's … | |
Please help. Every time I try to load Conquer Online [URL=http://conqueronline.com/](the game)[/URL] I get this error. The D3D8.DLL file is linked to missing export DDRAW.DLL:DLLLockCB Please help me. I tried reinstalling Direct X. And I still got the same problem. :confused: Thanx :o OS: Win98SE | |
Hello, I have written some python extensions and it seems to be causing a TypeError with numpy. Here is my code: [code=python] import Image, os, sys, gc, numpy, math sys.path.append("/home/halon/pyxtn") import spam2 def LoadImages(start, y_stop): """Open .tif images, append data to list.""" global image_data_list, number_of_channels for i in range(0, number_of_channels): … | |
Hi, I created an object to create buttons in console applications. But somehow, the program doesn't do much when it's checking if the button is clicked. I got this code from the internet, I could give the original code if you want to study it. I have stripped it down … | |
Well here I am again, relying on this great comunity to help me! OS Name: Microsoft Windows XP Home Edition Version: 5.1.2600 Service Pack 2 Build 2600 OS Manufacturer: Microsoft Corporation System Name: DENISELEBEL System Manufacturer: Dell Computer Corporation System Model: Dimension 8300 System Type: X86-based PC Processor: x86 Family … | |
Ok recently my brother was using my pc and he accidentally downloaded some virus or spyware of some sort. It claimed to be called "virusheat". I removed it but it leaves an icon in the botttom right corner of the taskbar which won't go away. It looks like a shield … | |
Hey guys and gals ... looks like i'm 'it' again. I was just getting ready to teach kids a nature program when my boss tags me and says your "it". They bought a new computer for one of the other teachers a month ago and were having problems. It connects … | |
Hi, I'm using the Ruby gem amazon-ecs to access the Amazon API on my local development. For some reason the REST responses can take up to 20 seconds to download, as opposed to a few seconds when viewed through my web browser. I'm using OS X/Leopard/Rails 2.0 if you must … | |
Hi!! I've spent the past several days trying to figure out my sound problem and have came to the conclusion it has something to do with the modem, it's a voice wave modem for fax machines and such, but I do not use those devices. when windows start I can … | |
Ok here is what is going on...my daughter has an ibook and last week it was working absolutley perfectly. When she was done using it she closed it,and later on when she opened it back up to chat with her friends it went to the 'lovely' Darwin/BSD screen. She restarted … |
The End.