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
7K
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
771
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
124
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
258
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
186
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
147
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
225
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
238
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
587
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
214
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
191
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
155
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
181
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
96
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
223
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
142
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
60
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
90
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
304
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
106
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
183
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
136
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
141
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
234
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
164
Member Avatar for pseudorandom21

[code] ArtificialPerson bob; ArtificialPerson clone(bob);//CLONING!!! [/code] Yes, a slightly funny and tasteful programming joke.

Member Avatar for Netcode
0
98
Member Avatar for pseudorandom21
Member Avatar for pseudorandom21

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 …

Member Avatar for Mohammed Ammar
0
134
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
95
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
158
Member Avatar for pseudorandom21

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.

Member Avatar for Momerath
0
440
Member Avatar for pseudorandom21

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 …

Member Avatar for Momerath
0
217
Member Avatar for pseudorandom21

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...

Member Avatar for ddanbe
0
90
Member Avatar for pseudorandom21

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 …

Member Avatar for Narue
0
80
Member Avatar for pseudorandom21

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?

Member Avatar for pseudorandom21
0
132
Member Avatar for pseudorandom21

Not to promote the use of alcohol, but it is in most places legal at least. Well I turned 21 a few months ago, so I'm wondering what everyone else drinks when relaxing on their off days? I like: Miller Lite Bud Light Other non-traditional (non-mass-produced) beers like dos equis, …

Member Avatar for Niles64
0
331
Member Avatar for pseudorandom21

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?

Member Avatar for TheNNS
0
224
Member Avatar for pseudorandom21

I need to run some code written in Java from my personal website. How do I even begin?

Member Avatar for NormR1
0
125
Member Avatar for pseudorandom21

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?

Member Avatar for pseudorandom21
0
204
Member Avatar for pseudorandom21

A while back there was a thread about what to do after retiring, I'm just gonna put this one up here: Sailing! As if we didn't know one day we would all become seamen. [url]http://www.amazon.com/Twenty-Small-Sailboats-Take-Anywhere/dp/0939837323/ref=sr_1_3?ie=UTF8&qid=1312183991&sr=8-3[/url] This is the introductory literature I'm looking at, what do you guys think?

Member Avatar for pseudorandom21
0
114
Member Avatar for pseudorandom21

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 …

Member Avatar for JustCC
0
158
Member Avatar for pseudorandom21

It's becoming that time again where Americans have to choose which idiot to vote for. In recent years I haven't voted nor have I been educated about the candidates, and so for 2012 I have decided to change that. Firstly, what is a good source of news for learning about …

Member Avatar for pseudorandom21
0
660
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
142
Member Avatar for pseudorandom21

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 …

Member Avatar for charlybones
0
100
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
197

The End.