problems

What are your programming exercises?

Do you have any programming "exercises" that you do in order to hone your programming skills? Anything from FizzBuzz to more complicated problems to get you thinking about real-life scenarios that you may encounter? ...

What kind of problems are state machines good for?

What kind of programming problems are state machines most suited for? I have read about parsers being implemented using state machines, but would like to find out about problems that scream out to be implemented as a state machine. ...

C++ Practice Problems

I am learning C++ currently and am probably at the intermediate level. I am running out of ideas for what to do with my current programming skill. And, as the title puts it I need some practice problems. ps. maybe the problems can be divided into beginner, intermediate and advanced ...

Qt - Event handler

Does any one know how the event handler manages the posted events? In my app i have two threads(1:guiThread and 2:computationThread). After an exception is thrown I call postEvent(..)to an existing dialog. The Qt-Event-Handler holds this one back until the dialog is closed. ...

Design problem regarding type slicing with many different subclasses.

A basic problem I run into quite often, but ever found a clean solution to, is one where you want to code behaviour for interaction between different objects of a common base class or interface. To make it a bit concrete, I'll throw in an example; Bob has been coding on a strategy game which supports "cool geographical effects". These r...

What is the biggest problem with software development?

What do you think the biggest problem is with software development? To me, when I think of the problems I face developing software, I think of a lack of precision. There's too much "Hey, let's try this out and maybe it'll work." Not all of you may work in a field that requires any kind of precision, but for me, I'm constantly battling ...

How to share host VPN connection with VM instances in Hyper-V?

I'm running my workstation on Server 2008 and a few servers in Hyper-V VM's on that server. I connect to my corporate LAN using VPN from the main OS (the host) but my VM's aren't seeing the servers in the corporate LAN. Internet and local access to my home network work fine. Each of the VMs has one virtual network adapter. What should ...

Why does Swing in my Java Applet flicker on fast mouse over?

I made a Java Applet with some Standard GUI Components on it. I used the MigLayout Manager. If I move the mouse slowly over the various GUI Components everything appears to be fine, but if I move the mouse fast, it flickers. What could make that nasty ugly redraw? (Core 2 Duo 6300, 2GB Ram, Windows XP) ...

Beginner practical programming problems?

Where can I find lists of practical programming problems for a novice? Something similar to http://www.projecteuler.net, but for practical problems. I am asking for problems even less complex than this question ...

Weird random data being sent from Arduino to Processing

I'm trying to read data from a photocell resistor and my Arduino Decimila and then graph it in real-time with Processing. Should be painfully simple; but its growing into a little bit of a nightmare for me. code I'm running on my Arduino: int photoPin = 0; void setup() { Serial.begin( 9600 ); } void loop() { int val = int( map( ...

Looking for some Interesting C# Programming Problems

I am tired of doing typical CRUD programming type applications. I would like to work on some interesting (not too hard) programming problems. Are there any sites out there to help me exercise my brain? ...

Oracle: TNS-12532: TNS:invalid argument

Trying to establish a connection between my windows box (2003 server) and the oracle (11g) database. I'm able to successfully ping the oracle host from the windows box. However tnsping command fails with the error tns-12532 error. Any ideas to solve this issue? ...

Should I heed Derek Sivers' warnings about migrating from PHP to Rails?

As you probably know, Derek Sivers is the guy who created CD Baby and eventually sold it for some big bucks. He wrote it in PHP originally and then down the road set about rewriting it in Rails. His troubles are the stuff of legend: 7 reasons I switched back to PHP after 2 years on Rails That article came out in 2007 but being newly in...

What is this problem called?

I'm trying to look up this problem but I don't know what it's called. The premise is this: Given m machines and j jobs, where each job can only be assigned to machines i through j, I need to assign the jobs to machines so that I maximize busy machines at one time. I am only concerned with how they are assigned at time 0. I am not concer...

Hard problems for municipality

I am a programmer for a fairly large town. Lately, I have been spending all my time developing web-based CRUD applications, mostly to replace Microsoft Access or dBase systems. Given that this is a sizable organization, I'm convinced that there must be significant problems out there waiting to be identified and solved, but I'm having t...

ASP.NET Development server inaccessible

I've been working on a home project using VS2008. It involves WCF and Silverlight. Until recently, ASP.NET development server worked just fine and was accessible from the browsers (I use both FF and IE). Now, it seems the browsers are no longer able to access the asp.net dev server. Initially, I believed it to be certain installations I ...

Excel as the Backend to a Website!?

Dear Ammo, A third party developer my boss has brought in, designed a "Better" System than our ASP.NET + MSSQL Server 2005 website we're using now. Here are the relevant specs: Excel + ODBC as the data store Built using old school ASP, not ASP.NET Is there any glaring problem with his solution short of the ancient tech? Thread saf...

C# in Depth: Problem set?

Right now I am reading "C# in Depth". One of the thing missing is the set of problems that I can go through once I finish a chapter. That would have helped me understand the concepts that I just learned. Any place where I can find good problem sets for C#3.0 stuff? Thanks ...

Learning a language while on a project?

Hello, Have you ever tried learning a language while on a project? I have, and from my personal experience I can say that it takes courage, effort, time, thinking, lots of caffeine and no sleep. Sometimes this has to be done without choice, other times you choose to do it; if you are working on a personal project for example. What I no...

Reporting services, Excel rendering problem reporting services

Hi, I am rendering my report in excel from reporting services. Sometimes, when a cell value contains mutiplelines of text, it just stops with the first line. I found a kind of work around in this link http://www.kodyaz.com/articles/reporting-services-excel-rendering-autogrow.aspx But it doesnt work everytime. I compared the xml with othe...