1,336 Topics

Member Avatar for
Member Avatar for Echo89

# EDIT # Fixed - skipped ever having to use an array. Although, I'd still like to know if I was right about the stack size, and what the best way might be to keep that many elements in an array. ## Prerequisites ## Operating System: OS X 10.10 Yosemite …

0
88
Member Avatar for jack_7

hello to all I want convert this code to assembly for mac osx intel 64 : #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> //#define RCVBUFSIZE 4096 int main( int argc, char *argv[] ) { int sock, length; struct sockaddr_in server; char *command; // …

Member Avatar for sDJh
0
445
Member Avatar for cilla

How might I gather all the songs in my music library (maintained in iTunes) on Mac OS X 10.8.5 with ID3 title tags (I guess? their titles in iTunes) that consist of 4 random capital letters. Or all the ones whose titles are 4 characters long, case insensitive, or mixed …

Member Avatar for chriswelborn
0
198
Member Avatar for reuben_1

I want to play Offical Crafting Dead on my mac from my technic launcher but all I get is a white/grey screen which does not move or do anything. I would really like to play it and here is the console script... [B#439] Analytics Response [runModpack]: 200 [B#439] Java HotSpot(TM) …

Member Avatar for rubberman
0
370
Member Avatar for MerryFrog

NCIT Solutions Provides offshore IT, Web design, software programming services for clients in the US and worldwide, with offshore prices and best quality. The mission of NCIT Solutions is to provide viable and lower cost outsourcing solutions. We offer you tailored offshore services to supplement your development effort. Our services …

0
136
Member Avatar for Jolie Tia

Hello, I am trying to create a function that will search a fixed line of text for a word or phrase. Once that is completed, I am to try and pass the line of text and the word as parameters. Can someone help lead me in the right direction. I …

Member Avatar for Jolie Tia
0
389
Member Avatar for mixmagz

Here is a code for those who wants Tic Tac Toe [CODE]#include <string.h> #include <stdio.h> #include <conio.h> #include <dos.h> #include <io.h> main() { //_setcursortype(_NOCURSOR); int x1=0, x2=0, x3=0, x4=0, x5=0, x6=0, x7=0, x8=0, x9=0; int o1=0, o2=0, o3=0, o4=0, o5=0, o6=0, o7=0, o8=0, o9=0; int a1=0, a2=0, a3=0, a4=0, a5=0, …

Member Avatar for mkamrul
0
1K
Member Avatar for Auroch

Hello everybody! I'm trying to display the result of difference of two-dimensional vectors using friend overloading. Builder shows the following error after compilation (line 40). What should I change for in my code in order to find the problem? Thanks in advance. **[C++ Error] 05_Part.cpp(40): E2034 Cannot convert 'double' to …

Member Avatar for Auroch
0
247
Member Avatar for lim.charmender

As the title says. I have tried FreeBSD's stack structure but it looks as though Mac does not use that structure. Also, how could I get their value into a particular register (ecx)? Thanks in advance!

Member Avatar for lim.charmender
0
262
Member Avatar for Dimaric

Using the following code as a foundation (it reddens the upper left corner of an image), I was told to create 2 different programs: one that would brighten the entire image, and one that would convert the entire image to grayscale. I need major help with this. Here's the code …

Member Avatar for Dani
0
343
Member Avatar for jack_7

How I can increase size of stack in assembly (NASM OS X intel64) I used **.STACK 4096** before **section .data** but return this error error: attempt to define a local label before any non-local labels error: parser: instruction expected Please guide me.

Member Avatar for Hiroshe
0
333
Member Avatar for Moe1981

Hi! Its been a while since i've been here but this place was always good to me before. Well my computer was really slow and 100% usage, i also noticed mysearchdial popup through firefox and i thought it was like an addon so i actually used that it silly me …

Member Avatar for Moe1981
0
948
Member Avatar for empressjragoo
Member Avatar for rubberman
0
279
Member Avatar for Patrick_6

Hi everyone, I wanted to write C++ a program that's going to logon to my twitter and alert me if I have any new messages or tweets. I found an article that explains how to log on to a website with libcurl, https://www.hackthissite.org/articles/read/1078. Using that article I've written a simple …

Member Avatar for Patrick_6
0
793
Member Avatar for rwe0

Hi, Is there a Python 3.x library that does mostly what a File Manager (Nautilus, Windows Explorer, PCmanFM, etc) does? I would like the typical features, mime programs launch in the native os, navigation and some GUI file pickers provide some of this. I don't think I can just invoke …

Member Avatar for rwe0
0
215
Member Avatar for kyleo92

I'm attemping to clone and install a Ruby application from github. I have it cloned, and am trying to run the "bundle install" command, but it failed the first time because of an issue with Rake. I installed it manually using "gem install rake -v '10.1.1'". That command was sucessful, …

Member Avatar for BrentK
0
276
Member Avatar for abaddon2031

SO im working on a python code that reads a csv file with 1600 entries roughly and i am splitting them up on the collum value of pc numbers. I keep getting a error that states " Traceback (most recent call last): File "C:\Users\HatterX\Desktop\test\test25", line 50, in <module> data.sort(key=lambda x: …

Member Avatar for abaddon2031
0
486
Member Avatar for varshaholla

I have two functions declared in my program, and i want to use the variables in another function to display the matched images. My code is: def messageWindow(): win = Toplevel() path = 'C:\Users\HP\Desktop\dataset' COLUMNS = 12 image_count = 0 for infile in glob.glob(os.path.join(path, '*.jpg')): image_count += 1 r, c …

Member Avatar for woooee
0
469
Member Avatar for rogerg

Hello, I have a mac os specific problem with iPython. The code I have works fine by using iPython on a PC by launching it with --pylab. On mac os, I try to do it with ipython-qtconsole-1.0.0-py27_0 My code is made for recognizing characters on an image. The part of …

Member Avatar for rogerg
0
296
Member Avatar for navi2582

I am trying to toggle between the two toolbars (in two different panes) and couldn't do it with the code below. Not sure where the problem is.... I should only see "Page number" details when I click on "Read/Write" and "Hello world" when I click on "Write". Any ideas are …

0
187
Member Avatar for DavidB

Attached are two images that I took on a Windows 7 machine. They are portions of a document that was just opened in Adobe Reader X (Version 10.1.9). One image is of a yellow ribbon across the top of the document, warning about certain data security risks. The other image …

Member Avatar for DavidB
0
371
Member Avatar for navi2582

I am trying to toggle between the two toolbars and couldn't do it with the code below. Not sure where the problem is.... Any ideas are very welcome!!! Here is the code: `Inline Code Example Here` import wx import wx.grid import wx.html import wx.aui from time import * import cStringIO …

0
177
Member Avatar for happygeek

News headlines screaming that yet another Microsoft Windows vulnerability has been discovered, is in the wild or has just been patched are two a penny. Such has it ever been. News headlines declaring that a 'major security problem' has been found with Linux are a different kettle of fish. So …

Member Avatar for happygeek
2
600
Member Avatar for rch1231

GNS3 is a Graphical Network Simulator that allows emulation of complex networks. You may be familiar with VMWare, VirtualBox or Virtual PC that are used to emulate various operating systems in a virtual environment. These programs allow you to run operating systems such as Windows XP Professional or Ubuntu Linux …

Member Avatar for rch1231
0
1K
Member Avatar for Gandalfs_beard

Hello I was hoping someone would be kind enough to assist me with a major problem I'm having with firefox. I'm running a Mac OS X 10.5.8 platform from a Macbook Pro and was using a very old version of the web browser firefox - version 3.6.23 to be exact …

Member Avatar for Troy III
0
248
Member Avatar for CarterLangley

I have got this code from an article on secure login systems. I know basically nothing about php so I would like to know if this is good code to use? Part 1 of 8: Configure Your Server 1. 1 Install a Web Server, PHP and MySQL on your server. …

Member Avatar for kidmizere
0
3K
Member Avatar for napninjanx

desktop.ini - A hidden file located in Windows folders that saves viewing options for that specific folder. This file can specify an image that is used for the folder icon as well as appearance options for files within the folder. It can be ignored, but if you delete the desktop.ini …

Member Avatar for Reverend Jim
0
975
Member Avatar for Josiah_1

I had a interal disk that wouldn't show in the finder at all but was showing as mounted on disk utility. I could get to the disk through a file alias so I know the disk was there and working. I tried numious posts including this one (http://www.daniweb.com/hardware-and-software/apple/mac-os-x/threads/94420/hard-drive-not-visible-mac-osx) with not …

Member Avatar for tompatrick
1
364
Member Avatar for cuivenion

Hi, I'm running a mid/late 2007 Macbook Pro with Mavericks: [Click Here](http://everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-2-duo-2.4-15-santa-rosa-specs.html) When I connect a second display the cpu temp goes through the roof, 90C with the fans at max. When I disconnect the screen the temperature comes down. Temperature Monitor shows that it's the CPU's not the GPU …

Member Avatar for cuivenion
0
319
Member Avatar for krystosan

I have made a python script that takes path of a folder and dispalys images in gallery or slideshow made in pyqt? So how do I add a right click menu of the folder in finder to pass the same folder path as argument to python script ?

0
175
Member Avatar for krystosan

How do I display images in QListView of size of standard thumbnail size like 250 x 200 , and file nametext should wrap to next line , right now the images displayed are very small and are not positioned under each other in proper row column order. import sys import …

Member Avatar for krystosan
0
2K
Member Avatar for Dane2259

I just got a new laptop that is running os x maverick. I opened the /etc/apache2/httpd.conf file and uncommented the # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf and LoadModule php5_module libexec/apache2/libphp5.so lines, but I still can't run php files. Does anyone have any idea how I can run php files locally again?

Member Avatar for rubberman
0
89
Member Avatar for rae08

Hi guys! Just conducting a survey for those who have tried these two operating systems. How would you compare these two in terms of these parameters: Ease of use Availability of Software Overall Security Virus Attacks Thanks!

Member Avatar for deceptikon
0
301
Member Avatar for Astudent

So I have another problem(new project new code), with a rather lengthy code. The problem is I am getting tkinter errors left and right and I can't find why. The error I get is: File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict__ File "N:\dkaul\CLASS-VSFX160-01\sklock20\Python\blackjack\Black.py", line 212, in <module> …

Member Avatar for vegaseat
0
7K
Member Avatar for Sayarin

Hello After I could not boot my Macbook Pro (OS X Lion 10.7.5) I tried to run safe boot. I thought it worked, but only thing it did was booting the mac without any data i used to have. All the software is there. It's like a brand new mac …

Member Avatar for macrobert1234
0
244
Member Avatar for lewashby

(Linux) `output = os.listdir()` In the above line of code I'm getting the name of the file(s) in a given directory, but how can I also get the permissions? This is what I want to see. -rwxr-xr-x 1 garrett garrett 158 Nov 23 10:49 dirlist.py drwxr-xr-x 2 garrett garrett 4096 …

Member Avatar for lewashby
0
149
Member Avatar for Labdabeta

Hello, I am working on an event driven library and am having one minor problem. Basically I have two ways to get what I want done. Method 1: Smart pointers and factory functions #include <iostream> #include <vector> #include <memory> using namespace std; class Object { public: virtual int getInt(){return 0;} …

Member Avatar for Labdabeta
0
257
Member Avatar for robert99x

Programming Python 3rd Edition by Mark Lutz has example code (below) where a variable seems to be assigned with options ("or") but what the criteria for selecting the options is not clear. The explanation is almost non-existent but I think this is to do with feeding in a variable number …

Member Avatar for robert99x
0
293
Member Avatar for james.lu.75491856

import os import web import traceback import datetime from functools import wraps ### Url mappings urls = [ '/', 'index', ] def addfolderhandler(f,root): u = os.path.join(root,f) u=u.strip("/").strip("\\") ident=u.lstrip("C:/Users/James/Desktop/it").replace("/","SLASH").replace("\\","SLASH").replace(".","DOT").strip() #replace invalid python expressions with valid ones globals()[ident] = "<h1>Directory listing for:%s</h1><hr>"%u+''.join(["<a href="+i+">"+i.lstrip(root)+"</a><br/>" for i in os.listdir(u)])+"<i>Python Server</i>" if ident=="": return try: …

Member Avatar for vegaseat
0
261
Member Avatar for Badgeking

I am working on a school project to create a basic, educational game. I started with the amazing code written by cactusbin and revised by Gareth Ress found [Here](http://codereview.stackexchange.com/questions/15873/a-small-bejeweled-like-game-in-pygame/15895#15895) for the basics of a bejeweled style game. The game objective is to match letters of DNA to make correct pairs …

Member Avatar for vegaseat
0
525
Member Avatar for dreking6

i recently took up a project on openvpn when i got the source code of an openvpn application written in python by ivanzoid http://code.google.com/p/pyopenvpnman/ but after laying my hands on many things and reshaping the application i couldnt go any further because of some errors detected 1.writing to a config …

0
151
Member Avatar for DuffManLight

Downloaded and installed latest RE2. When building simple test code with Xcode 5, build fails. #include <iostream> #include <string> #include <re2/re2.h> using namespace std; int main(int argc, const char * argv[]) { unsigned long ulValue = 0L; string sMultiple; string sMatch = "^(\\d+)([KkMm])"; string sData = "2M"; if (RE2::FullMatch(sData, sMatch, …

Member Avatar for phorce
0
287
Member Avatar for rwe0

I am using Beautiful Soup 4, python 3.x on a project just to learn it. 1. soup = BeautifulSoup(s ) # use default parser 2. soup = BeautifulSoup(s, 'html5lib') # specified parser Actually #2 solved my problem already. But, when using the first approach I got different behavior on my …

Member Avatar for rwe0
0
402
Member Avatar for morchouse

I am quite new to Mac, I am running an iMac G3 with OS X 10.2.4 Jaguar. I have MS Office for Mac & was wondering if there was anything simmilar to MS Publisher, that will run on a Mac. I'd like to make cards, flyers, buisiness cards etc, but …

Member Avatar for tylers4
-10
2K
Member Avatar for Goldfinch

Hi, I'm trying to build a prototype or model of a program and that program requires the ability to store and retrieve data and operate locally (no network connection is needed at this time). I've discovered the javax.sql package but that seems to only connect to a database. I need …

Member Avatar for Goldfinch
0
174
Member Avatar for G

I want to make a Cocoa applictation using all code in Xcode, not using the Interface Builder. I have searched a lot on this and have not found anything since most people want to use the Interface Builder. Please don't say anything like "Don't waist your time on it", "They …

Member Avatar for bondo
0
318
Member Avatar for james.lu.75491856

import os import web ### Url mappings urls = [ '/', 'index', '/.*','notfound' ] for root, dirs, files in os.walk("C:/Users/James/Desktop/server"): for f in files: u = os.path.join(root,f) u=u.strip("/").strip("\\") ident=u.lstrip("C:/Users/James/Desktop/server").replace("/","slash").replace("\\","SLASH").replace(".","DOT") globals()[ident] = open(u,mode='rb').read() exec(""" class %(classname)s: def GET(self): global %(data)s return %(data)s """%{"classname":ident+"server","data":ident}, globals(), globals()) #create a class as if were …

Member Avatar for james.lu.75491856
0
359
Member Avatar for G

Sorry if this is the wrong place to post this. I am new to this site. Actually, I just joinned about 10 minutes ago. Anyway... I want to make a Cocoa applictation using all code in Xcode, not using the Interface Builder. I have searched a lot on this and …

Member Avatar for Ancient Dragon
0
262
Member Avatar for happygeek

Small groups of what are best described as cyber-mercenaries, willing and able to perform surgically precise hit and run hacking operations, are offering their services for hire out of China, Japan and South Korea. That's the conclusion of security researchers at [Kaspersky Lab](http://www.kaspersky.co.uk/) who have been following the progress of …

Member Avatar for bradly.spicer
1
364
Member Avatar for ktsangop

Hello! I would like some help with a piece of java code that i'm having problem. I have to make simultaneous tcp socket connections every x seconds to multiple machines, in order to get something like a status update packet. I use a Callable thread class, which creates a future …

Member Avatar for ktsangop
0
524

The End.