110 Discussion / Question Topics

Remove Filter
Member Avatar for pseudorandom21

Anyone know of a way to obtain an MD5 checksum of a file (through HTTP) before downloading it through HTTP?

Member Avatar for Reinhard_1
0
6K
Member Avatar for pseudorandom21

Can I use a DLL embedded in an executable (as a resource) without writing it to the disk? (Windows)

Member Avatar for pseudorandom21
0
1K
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
767
Member Avatar for pseudorandom21

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 …

Member Avatar for BobS0327
0
120
Member Avatar for pseudorandom21

These days the use of mainframe computers and terminals is highly outdated, but I'd like to predict it will make a comeback sometime soon. Today our terminals, our smartphones and tablets and even laptops and TVs are much more powerful than they used to be--and much more mobile. Instead of …

Member Avatar for jwenting
0
255
Member Avatar for pseudorandom21

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?

Member Avatar for DavidKroukamp
0
183
Member Avatar for pseudorandom21

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; …

Member Avatar for pseudorandom21
1
1K
Member Avatar for pseudorandom21

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 …

0
144
Member Avatar for pseudorandom21

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 …

Member Avatar for dexblack
0
222
Member Avatar for pseudorandom21

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 …

Member Avatar for Narue
0
236
Member Avatar for pseudorandom21

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.

Member Avatar for JamesCherrill
0
584
Member Avatar for pseudorandom21

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?

Member Avatar for Rashakil Fol
0
212
Member Avatar for pseudorandom21

[url]http://live.reuters.com/Event/Iowa_Caucuses_2012[/url] Iowa Caucuses, on the page you can find some stuff regarding the various candidates...

Member Avatar for HiHe
0
42
Member Avatar for pseudorandom21

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 …

Member Avatar for mike_2000_17
0
187
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
150
Member Avatar for pseudorandom21

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 …

Member Avatar for vijayan121
0
180
Member Avatar for pseudorandom21

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 …

Member Avatar for jwenting
0
95
Member Avatar for pseudorandom21

[url]http://www.cnn.com/video/#/video/politics/2011/11/01/pkg-moos-perry-loosey-goosey-giddy-new.cnn[/url] This is hilarious (to me), but also potentially of concern for undecided voters or even Perry supporters, so I'd like to hear some feedback, what do you all think is going on with Rick Perry here?

Member Avatar for vegaseat
0
98
Member Avatar for pseudorandom21

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?

Member Avatar for pseudorandom21
0
221
Member Avatar for pseudorandom21

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 …

Member Avatar for darkagn
0
139
Member Avatar for pseudorandom21

Of course they will probably work out a solution, but what will happen if the U.S. government shuts down? [url]http://money.cnn.com/2011/11/18/news/economy/debt_committee/index.htm?source=cnn_bin[/url] What parts of defense and nondefense spending will be cut automatically? What about agencies like the CIA and FBI? What about military funding for the Army and such?

Member Avatar for jwenting
0
155
Member Avatar for pseudorandom21

If you or anyone you know is on the needy list this winter, you may want to sign this petition: [url]http://wh.gov/jyC[/url] Hey it's better than Obamacare and it might actually help some people.

Member Avatar for Ancient Dragon
0
59
Member Avatar for pseudorandom21

This is my first time trying to use a web API with C#, a friend asked me to make him a simple remote control app. I don't really know where to begin, I'm thinking I can create a [URL="http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx"]WebRequest[/URL] filled with the proper info, is this going to work? A …

0
88
Member Avatar for pseudorandom21

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" …

Member Avatar for TrustyTony
0
301
Member Avatar for pseudorandom21

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.

Member Avatar for pseudorandom21
0
104
Member Avatar for pseudorandom21

If you're like me and enjoy Steam's service (not having to mess with DVDs and CDs), you may have purchased Skyrim through steam. Now if you're in the Americas and this category fits yourself, you might like to know all you need is an IP in a different country to …

Member Avatar for frogboy77
0
182
Member Avatar for pseudorandom21

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]

Member Avatar for thines01
0
133
Member Avatar for pseudorandom21

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]

Member Avatar for stevanity
0
136
Member Avatar for pseudorandom21

You can watch the CNN/Western Republican debate live on CNN.com right now. I just find these events so hilarious, Perry just looked like an idiot and it looks like he's wearing makeup too.

Member Avatar for GrimJack
0
233
Member Avatar for pseudorandom21

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.

Member Avatar for ret801
0
162

The End.