1,336 Topics
![]() | |
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 … | |
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' … | |
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 … | |
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 = … | |
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 … | |
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. … | |
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. … | |
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" | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
BEST FREE SOFTWARE | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 ... … | |
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 … | |
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 … | |
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 … | |
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 … Information Security api app-store audio chrome-os data-protection dns google-api home-theater http-protocol microsoft-access microsoft-office microsoft-windows os-x pci-card pdf peer-to-peer printer sharepoint storage user-interface vbscript video-card visual-studio window-manager windows-api windows-virus windows-vista | |
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 … | |
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, … | |
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 … | |
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 … | |
| |
![]() | 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 … |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
*** 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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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" … | |
[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 … | |
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 … | |
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 … |
The End.