1,336 Topics

Member Avatar for
Member Avatar for rhys1619

Hi, i was want to add an image that is displayed before my game and then the user will click or press enter and the image will disappear and my game will start. I have tried "blit" and a few other thinks to try and get the image to appear …

Member Avatar for Lucas_10
0
365
Member Avatar for Pandey_1

from Tkinter import * from ttk import Style class Example(Frame): def __init__(self, parent): Frame.__init__(self, parent, background="#333") self.parent = parent self.parent.title("sample") self.parent.iconbitmap('sample.ico') self.pack(fill=BOTH, expand=1) self.centerWindow() self.initUI() def centerWindow(self): w = 500 h = 450 sw = self.parent.winfo_screenwidth() sh = self.parent.winfo_screenheight() x = (sw - w)/2 y = (sh - h)/2 self.parent.geometry('%dx%d+%d+%d' …

Member Avatar for Pandey_1
0
7K
Member Avatar for mblan180131

So I'm making an OS in javascript/html. I made the login screen (although it's as secure as a calculator, it looks quite nice). I made the Operating System Interface using a little JavaScript and CSS, and put an iframe in the window. However, whenever I load the interface, it looks …

Member Avatar for Matt_17
0
451
Member Avatar for rhys1619

hi, so ive been trying to add a splash screen to the start of my game. the user presses "e" to continue and "q" to quit. it's not working, could anyone help. import os import pygame import random pygame.init() #Colours im using in the game white = (255,255,255) black = …

0
265
Member Avatar for rhys1619

Hi, i'm making a maze game. As you can see i have added an image for my floor and i'm trying to add an image to my walls. I am having trouble adding the image to the walls. Could anyone start me on my path on how to do this …

0
324
Member Avatar for rhys_2

Hi, i have been making a maze game in pygame. I have made every level and have them all in different folders so i can find them easily. I have been trying to make a menu for the game where you are able to pick any level and play it. …

0
148
Member Avatar for rhys_2

Hi, i have been making a maze game in pygame. I have made every level and have them all in different folders so i can find them easily. I have been trying to make a menu for the game where you are able to pick any level and play it. …

0
172
Member Avatar for john-carter

What are my chances of data recovery from external hard drive which is password protected. I consulted one data recovery services and their asking price is $350. Do I have some other less costlier option for data recovery? HDD Manufacturer - WD Elements WDBUZG0010BBK-EESN 1TB Portable External Hard Drive"

Member Avatar for steven.lsyan
0
385
Member Avatar for rhys1619

Hi, this is a maze I have been working on. As you can see everything is just flat colors. I was wanting to make it so i can add more detail like having it so i could have a picture of some tree textures as the walls to my maze …

Member Avatar for DerSoldi
0
320
Member Avatar for rhys1619

Hi, at the end of the maze you see a red square. I was trying to make it say "you win , would you like to play again y or n". i have tried using def mes and gameover = false but nothing seems to work. would help a lot …

Member Avatar for Gribouillis
0
1K
Member Avatar for Lucas_9

Please help me , I need to convert this C code in Python: #include<stdio.h> #include<stdlib.h> #include<conio.h> main() { system ("color F9"); float preco[150], precoNF, NFPreco_Produto[150]; //Vetores e variáveis que trabalham com preço int a=0, x=0, v=0, rel=0, y, i, aux, cod_exclui, troca; //Declaração de variáveis utilizadas para leitura, gravação, exlclusão …

Member Avatar for Gribouillis
0
1K
Member Avatar for holye459

I am going to sell my old Mac Mini and i need to erase all the data stored on the drive. I heard that a factory reset is not secure enough. The data recovery software can still access the data on the drive. Is worth to a buy third-party app …

Member Avatar for CimmerianX
0
349
Member Avatar for tactfulsaint

I dont know if it happens to other people's mac but mine whenever i delete file or data from my flash drive with me mac it leaves exactly the same size of the same files i deleted in a .Trash, _DStore folder. plus how can i enable show/hidden files on …

Member Avatar for Clint_1
0
16K
Member Avatar for Stuugie

Hi All, I'm looking for some advice. After having to take about two years off from university due to suffering from viral meningitis, I have finally gone back and finished my undergraduate degree in Information Systems, which is a stream from the applied computer sciences. I am very excited to …

Member Avatar for jkon
0
285
Member Avatar for Lau_1

Hello, i faced some problem in building the android calculator. The problems like this: 1) If i click 2 + 3, it worked well, and screen will show the 5.** BUT! **when i clicked + and + and + and +...... it will continuosly add the answer. How can i …

Member Avatar for BenWard
0
429
Member Avatar for bigtalk

I have a 20 gig drive in a firewire enclosure. It works. I bought a new 80 gig drive to replace the 20. I put it in the enclosure. OS X 3.4 Server told me that I needed to initialize the new disk. Disk Utility opens up. It sees the …

Member Avatar for bigtalk
0
414
Member Avatar for SAMMY12345
Member Avatar for john-carter

Few days ago, the guys at the Apple store had to reinstall my OS and they have installed OS X 10.10. Is there a simple and easy way to create a copy of this to an external hard drive to use it in the future if I need to boot …

Member Avatar for rubberman
0
826
Member Avatar for chetanbhasin

This may seem absurd at first but please read on. Recently I've heard that a lot of people are installing Mac on standard machines made for Windows - either using hardware Virtualization or using some kind of tweak with their BIOS. I also heard that Apple recently switched their working …

Member Avatar for Honny flussia
-1
559
Member Avatar for vegaseat

The idea of this thread is to help the beginning Python programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! The creators of Python are very active, improving the language all the time. Here is a little of the …

Member Avatar for vegaseat
23
34K
Member Avatar for Mecbethben

I don't care if there is a Bluray drive built in or not. I have an external one that didn't cost a fortune. What I would like is for Apple or some third party to release some proper software support for Bluray films, in particular those that have some form …

Member Avatar for OwenTaylor
0
351
Member Avatar for Raisefamous

Function coinT() tests if two time series are stationary using ADF test and Hurst exponent. Time series are stored in cvs files 1511x6 each, but for testing only a vector of the 5th column is returned by function stock(), there are 50 files in total. It seems that the program …

Member Avatar for Gribouillis
0
841
Member Avatar for Saran_1

Good Afternoon: I would like to have this JSON object written out to a CSV file so that the keys are header fields (for each of the columns) and the values are values that are associated with each header field. Is there a best practice for working with this? Ideally …

Member Avatar for Saran_1
0
18K
Member Avatar for pars99

Everytime I link a `webview` into my OS X project, it always brings up `Use of undeclared type 'WebView'`. How am I supposed to fix this? I've tried linking the WebKit framework and things like that, but they never worked.

Member Avatar for vegaseat
0
355
Member Avatar for Felipe_1

my project consists of 6 files with .py. The first is the main project file, which I called Metodos.py and whose code is: #!/usr/bin/python # coding: latin-1 #import os, sys import Menu from numpy import * Menu.elmenu() Let's see the code Menu.py file: #!/usr/bin/python # coding: latin-1 from math import …

Member Avatar for Gribouillis
0
221
Member Avatar for vegaseat

I am sitting in front of a brandnew 27 inch Apple Macintosh running on OS X Yosemite, trying to compile a timed insertion sort from my Windows days. The Xcode app is a sweatheart, but there are some Windows things in the code that cause a problem. This line ... …

Member Avatar for vegaseat
0
275
Member Avatar for happygeek

As any fan of the The Matrix trilogy of films will tell you, the Keymaker is a character in The Matrix Reloaded who has the keys to provide Neo access to the system mainframe and by so doing hopefully save Zion from the ongoing sentinel attack. In the movie, the …

Member Avatar for MrWonderful1961
0
473
Member Avatar for cbreeze

My professor assigned a problem from our OS book about matrix multiplication. Its pretty simple as the book shows how to do most of it. But now my professor has added an extra layer of difficulty. Instead of declaring the multidimensional arrays globally he wants us to input the size …

Member Avatar for Tedi_1
0
3K
Member Avatar for happygeek

According to a [SecureList posting](https://securelist.com/blog/69462/darwin-nuke/) dated April 10th, researchers Anton Ivanov, Andrey Khudyakov, Maxim Zhuravlev and Andrey Rubin discovered a vulnerability in the Darwin kernel back in December 2014. Why is this of interest? Well, the Darwin kernel is an open source part of both the Apple operating systems. The …

Member Avatar for ChaoticCoder
0
479
Member Avatar for scrapple

Hi, hoping someone might be able to help me with a possible infection. A few months ago, I started to notice some mouse lagging whenever I started chrome. I didn't think anything of it at the time because I usually start chrome with 5 tabs and 5 extensions, and figured …

Member Avatar for scrapple
0
666
Member Avatar for scheppy

Ive made a java program to do automated tasks for a game. It takes screen shots with java.robot every 250 milliseconds. The program is working great, but it will always crash at around the 30min mark Im running this program on my mac, and this is the crash report that …

Member Avatar for scheppy
0
983
Member Avatar for nyfan68

I am working on an application that will let a user make a graph using the number of hours that the user has slept. Currently the attached code will take the input and make a graph expecting an integer values from the user. I want to be able to instead, …

Member Avatar for nyfan68
0
737
Member Avatar for scheppy

Ive made a java program to do automated tasks for a game. It takes screen shots with java.robot every 250 milliseconds. The program is working great, but it will always crash at around the 30min mark Im running this program on my mac, and this is the crash report that …

Member Avatar for scheppy
0
426
Member Avatar for OnceUponaDime

A recent assignment requires me to create a pseudocode for a game of tic tac toe. And I'm a bit lost. Here's the details: ++++++++++++++++++++++++++++++++++++++ Design a program that allows two players to play a game of tic-tac-toe. Use a two-dimensional String array with three rows and three columns as …

Member Avatar for rubberman
0
1K
Member Avatar for AshleyBallard

Can Mac OS X 10.8 upgrade now? Mine is Macbook Pro which is brought in 2011.

Member Avatar for OscarCin
0
159
Member Avatar for TheFearful

Hey guys, I just learned the very basics of arrays and I have to write this program of a tic-tac-toe game. The requirements are this: Write a modular program that allows two players to play a game of tic-tac-toe. Use a two-dimensional char array with 3 rows and 3 columns …

Member Avatar for マーズ maazu
0
3K
Member Avatar for rubeea.jaffari

Hello everyone, I am trying to connect my android application to MYSQL database. I have used the following: MYSQL already created database test (accessed via xampp using localhost/phpmyadmin) Created a table named as student in the database test consisting of Name and Roll No columns and 2 records. A user …

Member Avatar for hericles
0
955
Member Avatar for asic_designer

I have a question about the assembly code generated by this small patch of C code that I wrote. The code patch is shown below, basically what I am doing is reading floating point values in from a hardware updated register and performing the arctan2f function on those values. #include …

Member Avatar for asic_designer
0
397
Member Avatar for iamthwee

Hi Guys, So this thread is going to be a tutorial on cross platform GUI programming the easy way. In this tutorial I'll be exploring all Operating systems, mainly, windows 7, mac os x and the most popular linux distro at the moment (Ubuntu). However, I won't be using the …

Member Avatar for iamthwee
0
502
Member Avatar for driven13

Hello all: Somebody, anybody, please please help. I am running the latest version of Fedora and below you will find the contents of /etc/httpd/conf/httpd.conf file. My problem is that when I try to view my site from the web I get the "Forbidden / You don't have permission to access …

Member Avatar for IOSIX
0
8K
Member Avatar for markdean1989

*** Systems *** OS: Windows 8.1 64bit IDK: MS Visual Studio Express 2013 for Windows Desktop Problem: I created a simple (very simple) User-defined function named func_compare that compares two numbers, it has two parameters of type Integer. It has no errors whatsoever until you compile it, and it says …

Member Avatar for markdean1989
0
324
Member Avatar for EddieC

Microsoft this week acquired [url=http://www.teamprise.com/]Teamprise[/url], a division of [url=http://www.sourcegear.com/]SourceGear[/url] that built tools to give developers access to Visual Studio 2008 Team Foundation Server from systems running Linux, Mac OS X and Unix.SourceGear's flagship [url=http://www.sourcegear.com/sos/]SourceOffSite[/url] provides remote access to Visual SouceSafe, Microsoft's version control system. Teamprise comes in [url=http://www.teamprise.com/products/download/]three forms[/url]. The …

Member Avatar for mike_2000_17
1
1K
Member Avatar for harry202

I have 1 TB Toshiba hard drive which wouldn't mount. My Mac gives an error message that the drive is unreadable and need to be initialized. First I tried to repair using Disk Utility but that option won't work for me at all. I also tried safe boot and I …

0
176
Member Avatar for khess

I'm a fairly prominent member of the Linux Community as a writer, contributor, and longtime evangelist for the cause and there are a few things I'd like the Community-at-Large to consider on my behalf. These are five things that I wish Linux had. Consider this as my wish list for …

Member Avatar for rubberman
0
703
Member Avatar for momal

I'm making an app that allows users to add speech bubbles on runtime and place them any where on the screen. First I was using a different approach and I failed. So I found a tutorial that had a simple drag and drop way. I am able to create a …

0
140
Member Avatar for cambalinho

i did these menu class: class Menu { private: static int intID; int ID=0; bool primeiromenu=false; HMENU MenuHandle=NULL; HMENU hMenu=NULL; int menuposition=0; string strCaption=""; public: Menu(string caption="&Menu",HMENU subtmenu=NULL, HWND MainHWND=WindowMain) { intID=intID+1; ID=intID; if(caption!="-") caption=(string)caption + " " + to_string(ID); strCaption=caption; if(GetMenu(MainHWND)==NULL) hMenu = CreateMenu(); else hMenu =GetMenu(MainHWND); if (subtmenu==NULL) …

Member Avatar for cambalinho
0
677
Member Avatar for androiddev

Hello, Could anyone help please on the next topic? My android app does not start on emulator. it gets stuck on this step "Starting activity com..MainActivity on device emulator-5554" package com.fun.funapp; import java.util.Random; <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.fun.funapp" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="18" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" …

Member Avatar for peter_budo
0
315
Member Avatar for mkv_1

[Free MOD converter](http://www.modconverter.net) software to convert .mod to avi, mp4, mov, m4v, divx, flv, etc. on mac os x and windows 1. Connect your camcorder (for example, JVC camcorders) to your Mac with AC cable and the USB plug. 2. Open the new drive appears on your Mac. Copy the …

0
50
Member Avatar for happygeek

A 22 year old vulnerability, yes you read that right, has been discovered which some security experts suggest could be bigger than Heartbleed. The bug, reported as '[CVE-2014-6271:remote code execution through bash](http://seclists.org/oss-sec/2014/q3/649)' relates to how environment variables are processed: with trailing code in function definitions being executed independently of the …

Member Avatar for Djmann1013
6
960
Member Avatar for josverhoeff

I have been programming on a PC with 101 key keyboard for almost thirty years now. Surprise, when this type of keyboard turned out to be very poorly supported by OSX on a Mac Mini. as you know, on the mac mini you have to attach your own keyboard. This …

0
173

The End.