frustration

Have you ever been barking up the wrong tree for hours?

I'm writing my first iPhone app, so there is a lot of guessing about how things work. The objC memory model takes a while to get used to. After adding some code I got stuck in applicationDidFinishLaunching. The app was crashing while sending a message to an object which I was sure should have been created at that point in the code. The...

How do you make programming fun (or at least less painful/frustrating)?

I'm unemployed and I don't have that much programming experience. So I need to get experience and I figure the best way of doing so is programming my own projects. Now there are a few problems with this: 1) I have a hard time thinking of practical/fun projects that are within my ability to program. 2) I have a strong aversion to gett...

C# namespaces in web.config

Coming from a VB background and being forced to learn C# I have hit the first hurdle. In VB i could put all the namespaces I wanted available across the entire app in the web.config file and it would be available in each code behind file without me having to add import statements. <namespaces> <clear/> <add namespace="System"/> <add ...

What application have you integrated with/developed on - that you would intentionally leave off your resume

You may well be an expert now working with "Application X"... However the hair pulling was so much that you'd never add it to your resume (even though it might sound impressive) for fear that a future employer might think your the ideal candidate to "migrate", "integrate" or otherwise work with "Application X". Feel free to elaborate o...

Is is possible to develop for windows, in C++, without Visual Studio?

I'm aspiring to work in real-time 3D graphics. I work almost exclusively in C++, with a healthy smattering of win32. Realistically, do I have any sane alternatives? ...

IIS7 Cache-Control

I'm trying to do something which I thought would be fairly simple. Get IIS 7 to tell clients they can cache all images on my site for a certain amount of time, let's say 24 hours. I have tried the step on http://www.galcho.com/Blog/PermaLink.aspx?guid=490f3c31-1815-40fc-a871-5d6899fa35e0 but to no avail. I still get requests going to...

Safari Native Code

Is anyone familiar with Native Code in OS X Safari (Version 3 and WebKit)? I'm using Javascript to parse some information in a form and one of my inputs is named "tags". When trying to get the value of that element using: // button is being passed through a function as a DOM object var tags = button.form.elements["tags"].value; Safari...

Frustration at standard of programming at work

I wanted to get some of your opinions on this issue. I am getting frustrated at the programs I am supposed to work with at my workplace. I am working as a junior software developer in a small company. A lot of times I need to "re-develop" apps - upgrade them. and so I need to understand what the apps currently do, migrate databases and s...

Fix Eclipse java references database corruption?

How do I make eclipse rebuild the database of classes contained within a project or workspace? This is what it uses to make the "References" menu action work, what it uses for the "Add import" dialog, etc. Basically, it's part of the core usefulness of Eclipse. And now, it's only working for maybe 5% of my project. I've run into this pr...

Unbounded element infinity symbol shows as rectangle in XMLSpy

I need to have screenshots of my XSD, and XMLSpy has great-looking and descriptive graphical view of XSD Schema. However, below unbounded elements, it tries to show a little infinity symbol in Arial and fails miserably, displaying small rectangle instead. I've tried changing the font as XMLSpy FAQ suggests, and I've tried using Arial MS...

How to deal with the frustration when a project is delayed for an indefinite amount of time...

Right now, I'm extremely frustrated because I was in the process of developing some cool mechanism to optimize a calculation system by reducing the number of calculations from around half a million to just a few thousands. It took a lot of time examining and analyzing data, writing things down, doing a few tests and in general just doing...

Is there a better developer toolbar for IE8?

I've been pulling my hair out for the last few hours trying to wrestle with the IE8 developer toolbar while working with some styles not playing with IE7 mode properly... Coming over from Firebug the difference is like... well lets just say its better then nothing. What I'm wondering is, has there been any.. additions, patches, hacks, ...

Aggrivated unexpected T_ELSE in small PHP function

Hello, I have a very aggrivated unexped T_ELSE on the last else in this function. function QueryPeople($stringQuery, $table, $max, $cmd) { $con = mysqli_connect("localhost","user","password", "host"); if ($cmd == "Option1") { $SearchSQL = "SELECT signature, firstname, birthdate FROM $table WHERE lower(signature) LIKE ?...

Why do fixes of PHP Bugs/Features take so long?

This may not be strictly programming-related. How come PHP Features / Bugs that seem important(*) always take a while to be developped? For example, in PHP most sorting functions support the SORT_LOCALE_STRING, which allows an array of elements to be sorted depending on the system's locale. Most of them, except for the super-useful arr...

Consuming WCF REST service in multiple ways (.Net, plain XML)

I have become quite frustrated of WCF as I just want to use this simple scenario: Provide a webservice using REST, with a UriTemplate like /method/{param1}/{param2}/ and a 3th parameter that is sent to the service as XML as POST data. Use just plain XML, no SOAP overhead. Be able to generate a proxy in Visual Studio so a .Net using cli...

Debugging build errors in painfully nested VB .aspx file

I have an VB ASP.NET (.aspx) file that has deeply nested logic and I'm getting lots of build errors like "If must end with a matching End If" and "Do must end with a matching Loop". How do I begin to debug this beast to at least get it to build? ...

C++/CLI, Winforms: New form under sub-folder in VS2008

When I create a new form under a sub-folder in VS2008 in a C++/CLI Winforms project, the .h and .cpp are correctly created under the sub-folder. However, when the form is opened in the designer and the title is changed, I get an error message saying that the .resx (AWOL till this particular moment) is already part of the project. One can...

Going crazy with these mouseEvent methods in Java

A week into it, and I am just banging my head up against this problem. It should be a simple excersise: I have a rectangle. I click and drag the rectangle on an x axis. The rectangle should only move within a set bounding area (the canvas), so if the canvas is 200 px wide, then the x coordinate should only go from 0 to getWidth()-REC...

Error when trying to connect to Jacorb naming service

I'm hoping to get some help with this weird problem. We're running the Jacorb name server and I have a simple client that I'm using to try to connect and do awesome CORBA voodoo. The name server is running, but when I try to start my java app, I get a "Connection failure" error (org.omg.CORBA.COMM_FAILURE, minor code 201, "caused by java...

How does IE calculate the CSS element width:100%?

Title says it all. Trying to get information on this so I can answer my other question here. ...