87 Archived Topics
Remove Filter Anyone know of a way to obtain an MD5 checksum of a file (through HTTP) before downloading it through HTTP? | |
Can I use a DLL embedded in an executable (as a resource) without writing it to the disk? (Windows) | |
I'm attempting to transfer some OpenCV images over the network, I've been trying to put them into a format I can easily encrypt and transfer, but I'm almost certain it's not going to work properly. Essentially the IplImage is a structure but it has a pointer that points to some … | |
Is there some trick to networking between LAN machines? I want a client/server system on the network but I haven't a slightest about the IP. I'd like to avoid dropped packets, so from my limited knowledge I'd go with TCP. Etc. How do I locate another machine via IP on … | |
Java: I have a bunch of stuff drawn to the blank space of a JApplet app. I need to add a JButton at a specific location. I don't know how. What's the easiest way to do this? | |
My simple POP3 client (set up for Gmail) isn't downloading all of my messages... Any idea why? I have 350 messages in my inbox and the program only says 296 of them show up. Program.cs [code] using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.Net.Security; using System.IO; … | |
Here is a sort of description to my yet-unimplemented AI agent to play tic-tac-toe. It doesn't have to win, it just has to work, and my description of it has to be good. Tell me what you think: [code] /* "RATION_AL" The goal of my agent is to implement an … | |
So I can set a global low level keyboard hook from within a DLL pretty easily, but does it actually load that DLL into every process? How is it then, "Global" ? Any useful insight into the way this works? I use the command line program "tasklist" with the /M … | |
Is there a library that's easy to setup and use with Visual Studio 2010 for AES encryption/decryption? I've been fiddling with CryptoPP and it's endless link errors and iterator_level_not_equal error messages for an hour now, so I think it's time to look for an installer or a new lib. Any … | |
Is there a simple way to get a list/array of all the predefined colors? (without listing them all individually) ? It seems as though the colors are properties of the class "Color" rather than an enumeration. | |
Can I use my own code that I slapped a GPL on and provided to sourceforge in my own commercial application? In that way, does the GPL somehow relinquish my own rights to my IP? | |
I've been fiddling with some boost spirit stuff, and my code seems to start infinitely looping somewhere in the standard library stuff. Any ideas what's wrong? The qi::phrase_parse works very well, but the karma gets me. [code] #include <iostream> #include <string> #include <vector> #include <algorithm> //#include <boost/spirit.hpp> #include <boost/spirit/include/qi.hpp> #include … | |
I've been trying to make a reliable IRC client for a while now, and I know very little about sockets. I have read the RFC quite a bit, but programmatically responding when appropriate, and detecting errors still boggles me. How is the program to know the server will send three … | |
If ASIO had better documentation I could probably have found for myself an answer, but instead... Is there a way to determine bytes available to read using the asio::ip::tcp::iostream ? I really like the tcp iostream because it's super-easy to use, but I haven't found it exactly feature-packed. Does it … | |
It has occurred to me that there are very many factories in my area that use CNC (Computer Numerical Controlled) Lathes and other computer controller machinery. Is the operation of this machinery typically a job for a software programmer or does it require specialized knowledge? Is it worth doing with … | |
I have a combobox I need to display some data in from a Database, but there are duplicates and I don't know how to select the distinct ones. Any help? | |
I have a form with a number of controls on it, and I had thought that the "Controls" property of the form instance contained all of the controls on the form as per the documentation. Actually it does, but now iterating over all of my controls becomes similar to iterating … | |
I have accepted an internship that involves re-writing a project written in "Clipper Summer of '87" in C#, and basically it's missing a couple source code files and I have no idea how to work with the database files it uses. I do know it uses something called "dBase III" … | |
I have a database bound to a listbox but I would like to view only certain items, how to do that? It sounds like a really simple task but I don't know how to do it. | |
Is there any reason I'm missing as to why not many languages let a programmer create a table of constant information at compile time? Something like: [code] public const Dictionary<string,decimal> SOME_DICT = new Dictionary<string,decimal>( {"A", 1.9}, {"B",2.3}, {"C", 4.4444} ); [/code] | |
What is the equivalent of the "setw" stream manipulator for C++ in Java? I've been messing with the java.util.formatter class, but haven't figured this out yet? [url]http://www.cplusplus.com/reference/iostream/manipulators/setw/[/url] | |
Windows API Can the KEYBDINPUT structure in the INPUT structure be used to send a mouse click? I know there is a different structure for the mouse but I would like to use the KEYBDINPUT structure if possible. | |
I have a number of plain text strings that I need to allow a user of my program to change, what is the usual/best way of doing something like this? I was considering using C# properties for them all (and a "edit properties page") but I'm not sure that's the … | |
Hi I have a struct in my form, and I need to pass a reference/handle to it to a separate class, which is ok with the simple "ref" keyword. Now, how do I store this ref to a struct in the class (as a member variable)? Is this possible? I … | |
Hello all, I'm a Jr. in college and I haven't studied machine learning yet to any extent. I would like to at least know how to specify this project I have in mind though. Basically I'd like to have a number of input images to "train" the software with, and … | |
Hey guys what's the easiest way to find the Nth occurrence of a character in a string? I'm hoping there is a standard library function with a name like "NthOf" or something. Thx. | |
Hello there, I'm not too entirely familiar with the operation of scheduled tasks within Windows XP and I'm tasked with finding an operable solution. Firstly, a couple things come to mind: 1. Start the process with windows using a low priority and sleep until it is time to function. This … | |
Is there a built-in way to convert a string to an operator like + or - ? I get the feeling support for it isn't there but it's worth a try... | |
Basically I'm wondering what a sensible approach to learning Windows driver development would be. I have a logitech mouse that logitech decided to drop support for Vista/W7 on, and I'd like to write a driver for it but if that isn't possible it's fine and I would work with some … | |
Hey, I need to know how to add my program to the environment variable PATH without messing up my PATH in the process... Of course I plan to use Environment.GetEnvironmentVariables() and set... Anyone have some experience with this? | |
I'm looking for a... general purpose uber high-level programming/scripting language, with a small learning curve. I'm thinking it would be suitable for automating tasks like simple file IO, http requests, searching/sorting, simulating user input, etc. So what language would you carry with you on your day-to-day mundane tasks? | |
I need to run some code written in Java from my personal website. How do I even begin? | |
I was just wondering what is the usual solution for synchronizing solutions between laptop/desktop (or maybe in another case between home/work) ? I was thinking an svn repo. would do the job, but where to find free hosting, or can I host it myself? | |
Do freelance programmers get somewhat f'd on projects, mainly the fixed-price ones? I can understand paying $16.00 for a utility if it doesn't take two or three days to complete, oh and the requirements keep changing too! Bet employers don't tell their unlucky programmers that the requirements will change and … | |
I had a seemingly bright idea for a cleaner and easier to use operating system feature, for when the Windows clutter just gets too bad. Basically I want to alter the behavior of every window, such that when it loses focus it is minimized. But I don't know how to … | |
Hey, I'm wondering if it's a good idea to put my email in the about box of a utility I wrote, and in the source code. My thinking is the developers or users will be able to contact me if they have problems with it or ever need to update … | |
I copy data from a "DataGridView" to the clipboard, but it contains lots of mysterious tabs that shouldn't be a part of the data, here's a sample of what I mean: [code] Keywords Searches omaha nebraska apartments 260 houses for rent in omaha nebraska 140 houses in omaha nebraska 720 … | |
I need to extract an integer value from the end of a string, and I'm a little bit lost on algorithm functions/classes in C#. Is there any sort of convenient class/function to help with this? Here is a sample string: "omaha nebraska weather 2400" | |
In the past I used a "Finite State Machine" to follow a sequence of keystrokes to completion, but I don't think it's effective and I was wondering how you guys would implement this: (I have the keyboard & mouse hook lib worked out) When a sequence of events (keystrokes & … | |
I recently stumbled upon a boost installer (which I think is awesome), here [url]http://www.boostpro.com/download/[/url] and I was wondering if there is anything similar for QT and Visual Studio 2010? On the QT Website I found this page, but no VS2010 installer. Will the 2008 one work ? [url]http://qt.nokia.com/downloads[/url] I suppose … ![]() | |
I need to know a bit about this "default int" thing in C. What I mean is, is this actually ok and with what version of C is it ok? [code] main() { return 0; } [/code] As far as I knew this was standard modern C (i.e., no retarded … | |
Hi this project is actually C++/CLI but I expected more useful help from the .NET developers (most things are similar). So, I have a transparent form (completely transparent) and I want to draw a visible rectangle onto it and since I am using C++/CLI I was hoping to do it … | |
The idea(s) aside, how does a lone programmer with a few languages at his disposal make awesome software? Do you think with proper research, planning, and design a lone programmer can make awesome software, or do you think it will usually require a couple of partners? How do I learn … | |
I'm hoping for a second opinion on which of these two motherboards to buy (I hope this is the right place). [url]http://www.newegg.com/Product/Product.aspx?Item=N82E16813128511&Tpk=Gigabyte%20A75M-UD2h[/url] [url]http://www.newegg.com/Product/Product.aspx?Item=N82E16813138331&Tpk=Biostar%20TA75A%2b[/url] Obviously the Biostar has better advertising, which one would you pick, and why? (Space inside my case is not an issue at all, and the USB 3.0 … | |
Hi, I'm trying to display a message in the compiler output using VS2010. In C/C++ we can use:[icode] #pragma message(">> Win32 <<") [/icode], but for C# I'm not really sure what options are available. | |
Not sure where to post this, hopefully here. Basically if I make an application that does some stuff in the background, how does an antivirus know it isn't a trojan horse or something? Will my application be flagged as a virus, or is it generally safe to assume it won't … | |
Anyone know of a generic guide for using third party C++ libraries, specifically with Visual Studio 2010? I'm thinking "winging it" isn't cutting it, I want a resource to learn more about how these things are usually prepared, and used. I swear I saw a mention of a library system … | |
The worst thing about C++ in my opinion is trying to use a library (with VS2010 at least). It always causes me great pain, and usually I am not met with success. So, I'm trying to use the Magick++ library, which is a part of the ImageMagick program, and I … | |
Ok so my parents bought a Nintendo Wii to use for Netflix, which is overall pretty sweet for me during the two more months I'll be living at home. So far I'm loving Netflix, but is there any way to pre-load movies instead of streaming them? I would like to … | |
So.. I want information on drawing on top of a DirectX game, like how Steam does it. I would consider naively trying to obtain a "device context" of the client area of the game's window, and then try some 2D drawing functions. D: I don't know if that's going to … |
The End.