Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 31,920 points

coreyog

Favorite Answers29%
Answers395
  • When buying a used car, do you specify that you're paying cash?

    I've heard from some people that you should mention you'll be paying cash when buying a used car. Yet others say you shouldn't because they won't make you as good a deal. What to do?

    3 AnswersBuying & Selling1 decade ago
  • What hash given this value returns this result?

    Given the value 1331487 as input, what hash produces "ILZXFZF" (minus the quotes)?

    1 AnswerProgramming & Design1 decade ago
  • Boot Camp hibernating Windows 7?

    I recently installed Windows 7 on my laptop. Before I was running Vista and when I shut the lid it'd hibernate and the light would "breathe." When I'd open the lid, it'd begin unhibernating and start things back up like it should. After reinstalling Windows 7, I don't think I have the proper chipset drivers to make it work like it used to, although I'm not sure. Now the laptop shuts completely off and when I open the lid I have to push the button, and (this is what bugs me) the clock tends to be either 2 hours fast or slow of the actual current time. The clock is the main thing I want to fix, I don't mind hitting the power button to start it as long as the clock is the right time.

    1 AnswerSoftware1 decade ago
  • What's the difference between "C" and "CE" on a calculator?

    I'm programming a calculator for a tutorial I'll be giving in programming, but I want to be sure I program the buttons to do exactly what they're supposed to do. As far as I've ever known, C and CE on a calculator do the same thing, reset the calculator to just as if you turned it on.

    2 AnswersMathematics1 decade ago
  • Does PHP have a unsigned long data type?

    I have an encryption that I'm porting to multiple languages and I wanted to include PHP. The encryption uses unsigned longs for a lot of bitwise logic as well as multiplication. Is there a way in PHP I can specify that I want a variable to be a long (int64)? Better yet a ulong? Will there be an error if the long/ulong overflows? Ideally, in the encryption any overflow would go unchecked and is just truncated off the value. I'd rather let the language truncate then me having to MOD after every multiplication to ensure it stays within it's proper bounds.

    2 AnswersProgramming & Design1 decade ago
  • C++ editing an unsigned char* one letter at a time?

    unsigned char* one = (unsigned char*)"abc";

    unsigned char* two = (unsigned char*)"def";

    unsigned char tempone = one[0];

    unsigned char temptwo = two[0];

    unsigned char tempxor = tempone ^ temptwo;

    one[0] = tempxor;

    The problem is on "one[0] = tempxor;" and I get an error saying "Access violation writing location 0x0003874c" or some similar address to memory. What I've written above is a small simple version of what I'm doing on a much bigger scale, an encryption, thus that's why I'm using unsigned chars. Besides, I get the same error if I use regular chars. Is there a quick memory/time efficient way to change one character in a character array? I'll be doing this millions of times in the encryption with large character arrays so I don't want to be rebuilding the cstring every time. Any other ideas?

    2 AnswersProgramming & Design1 decade ago
  • C#, Getting every IP address possible on a network?

    I am trying to find out what every possible IP address can be on a network. If I have the current machine's IP address, the gateway's IP address, and the Subnet Mask, how can I figure out every possible IP address the network could give out?

    3 AnswersComputer Networking1 decade ago
  • C#, getting a list of every active IP address on the network?

    I want to write an app that will connect to other computers who are also running the same program. I want to run the program at my college and they shutdown mDNS, so I can't just get a list of computer names, I need to get the IP addresses. Can I get that info from the DHCP tables? Also, I need to get it to work around complicated subnet values. My school doesn't just have 255.255.255.0. I don't know much about subnet masks (reading wikipedia currently) but I know they have to do with which values in an IP are the same from computer to computer.

    In short, I need to formulate a list of all in-use IP addresses on an advanced network. Although I would prefer in-use IP addresses, I don't mind going through all possible IPs on a network.

    1 AnswerProgramming & Design1 decade ago
  • Call to mysql_connect in php crashes Apache 2.2 on Windows XP?

    I just finished setting up a web server for personal use here at my house. I used MySQL 5.1.34, Apache 2.2.11, and PHP 5 (using the MSI installer) on Windows XP. The web part is running just fine and PHP is successfully being parsed, until I make a call to mysql_connect(...). When I call the function, the page doesn't load (ever, not even showing html code that's before the connect) and I get a pop up from Windows saying that Apache HTTP Server was shutdown. The MySQL extension is loaded in PHP.ini. The MySQL installation was successful (I have test databases and have successfully connected with MySQL Administrator and is on the default port) and libmysql.dll IS in the path. I've tried mysql_connect() or die("Error") and it never does the die() statement, so it's more then just a PHP parser error. Is there a setting in Apache I need to change?

    1 AnswerProgramming & Design1 decade ago
  • IIS can't be seen on LAN?

    How do I set up IIS 5.1 to allow ASP.net scripts to be accessed from anywhere on my home network? Currently I can only access the site from the localhost. What settings do I change?

    1 AnswerProgramming & Design1 decade ago
  • How to access specific computers inside another network?

    I have a network set up at home and I have a few computers set up at home that can only be used with remote desktop. I can connect to one of them fine, but the other I'm having issues connecting to. My router forwards the remote desktop port to the first computer, so when I'm outside the network I can only access it, and not the second. Is there a way I can tell remote desktop to go to my home network and then go to a particular computer in the home network? I could set up IIS on each computer to have a special port for the remote desktop protocol active x control, but I've noticed that only sometimes will it actually let me connect (very unreliable).

    Is there any way I can specify something like 192.168.x.x@x.x.x.x? Or a way that I can tell remote desktop to use a different port and then forward that port to the second computer?

    1 AnswerComputer Networking1 decade ago
  • How to reliably read a certain number of bytes in C++?

    I'm porting an encryption to C++. I have all the ideas and concepts written out and successfully running in C#. My only issue in C++ is reading in an exact amount of data. I'm using randomly generating input files and particular characters seem to stop the input file from reading. IN is my ifstream, buffer is my char * with enough allocated space to hold buffSize which is an int. I've tried IN.read(buffer, buffSize) and I've tried IN.get(buffer, buffSize) and neither has reliably filled buffer with buffSize characters. For example, I have a 100MB file, and it will only do the first 300 bytes or so before stopping.

    2 AnswersProgramming & Design1 decade ago
  • How do I write a technical paper for a new software algo?

    A friend of mine and I have been writing a new algorithm for Encryption. We would like to submit a technical paper to CRYPTO, but they require any paper submissions to be technical papers. I've never written a technical paper. Where can I go to learn how to write a technical paper for software?

    2 AnswersSoftware1 decade ago
  • Downloading files using hyperlinks in plain HTML files?

    http://www.coreyogburn.com/

    Recently I received a domain name + hosting for Christmas. I decided to put up some simple HTML pages. Well in the site I'm allowing people to download some source code to my projects. They download just fine except for one detail... the file extension is on each file twice when I try to download. For example: MySourceCode.zip.zip

    On my computer, I have it set to not hide file extensions, so I know that the file I uploaded to the site doesn't have the file extension twice. Maybe some settings on the server, or my HTML code is putting the extension on? You can check the HTML on the site.

    2 AnswersProgramming & Design1 decade ago
  • Displaying thumbnail of custom made picture file?

    I made a new picture file format. More or less for a challenge and just to have some fun. It's not a wrapper around a known picture format, it's all original. Using my own C# DLL, I can view and display and convert and all that good stuff. But of course when I save the file to my desktop or anywhere... Windows can't display a thumbnail of the picture as the icon. How would I go about making this work? Shell extension? Codec? Driver? I really want this to work, so any help with this would be great. I have great documentation for this and it's a very easy to understand layout. Very simple, I just need to know how to do this, I have no idea where to start.

    2 AnswersProgramming & Design1 decade ago
  • Getting a patent on Software/Algorithm?

    A friend of mine and I have been working for awhile now in order to create our own encryption, one very different then any other encryption out there. We've done our optimization and security analysis and we believe that we have something worthy of public release. How do we go about getting a patent on a piece of software or the encryption algorithm itself?

    Once we have that done, how do we make our encryption known? How do we get it out there so we can sell rights to use the encryption for commercial use? We could set up a website, and search engine optimization and all that, but what else can we do? Are there encryption competitions out and around?

    1 AnswerProgramming & Design1 decade ago
  • IIS not showing PHP Errors?

    I'm learning PHP on my laptop for school and have IIS set up to run my ASP.Net site and I've already got it set up to run PHP scripts on a different port. Both are running fine and working as they should. Except that when there's an error in my PHP code, IIS returns a 500 code (Server Error) and I don't get any output from my code, or any sort of error specific output. What changes would I need to make to IIS 7.0 in order to get PHP errors to be displayed in the browser when they happen?

    3 AnswersProgramming & Design1 decade ago
  • Rich Text Format Control? Changing Colors?

    I'm making a rudimentary Chat client to teach a group of students. I planned on creating a pretty good replica of an old AIM chat window, but I couldn't change the colors in the control. I can get through the class without teaching them anything about RTF, but now it's about me learning, I've found some documentation but I can't find what I'm looking for, all I want to do is make the SN of any incoming messages to be blue and any messages I send, I want to be red, and only the SN, like AIM 5. Any RTF syntax I've overlooked?

    1 AnswerProgramming & Design1 decade ago
  • What version of Linux should I get?

    I'm getting an old gateway computer that I just got from my mom. As soon as I was told that I would have it handed down to me, I've planned to wipe the drive, but I'm curious as to which flavor of linux I should load up on it. It has 512 MB of ram (hopefully I'll upgrade soon). I don't know much about linux, or ANY of the flavors, but I want to take a look at it. I need to make sure that I can remote desktop into it, that's really the only thing it needs to do because the only things plugged into it will be power, my external drive, and the internet. I'll have a moniter/keyboard/mouse while I'm installing the OS, but it will primarily be used as a remote desktop. I don't know if that's specific to the OS or if there's a good RDP application that will let me remote in from a windows machine, but that's the only specification I need it to meet. Any ideas? Fadora? Ubuntu?

    6 AnswersSoftware1 decade ago
  • Programming around the UAC?

    I'm writing a program and I'm trying to avoid the UAC of Vista. I don't want to create an installer for the project, i know that an installer would give me more rights in the UAC, but I want my end users to just drop it on their desktop (or wherever) and run it. I want to know about any and all folders that I can write to in Vista without the UAC notifying the user of every saved file, or completely prevent the file from saving in some cases. Anywhere I can find a list of folders that I can freely read/write to/from?

    1 AnswerProgramming & Design1 decade ago