failure

iphone binary failing to compress

When I try to compress my binary (to upload for app submission), I get a ridiculously small zip file (a 10 meg file turns into 300k). I've done this a dozen times and never had a problem and am uncertain what could be causing this. I tried restarting xcode and doing a clean build. Has anyone seen this happen before? ...

hints of impending failure

I'm looking for indicators that I can programatically check that would hint at an impending failure of my application. I'm looking for general things like "the number of free IO threads is dangerously low", "memory available to the app pool is low", and "processor usage is high". This is for C#/asp.net and IIS. Examples of checking the...

software errors vs failures

if a small proportion of software errors turn into software failures; is it necessary to make investments to eliminate software errors? ...

MooTools Request Failing

So I have a bit of a problem. When I ask MooTools to send a request it comes back as failed every time. I can't seem to diagnose the problem either because if I try to get the returned header info the console just gives me "Refused to get unsafe header 'Status'" Message. The only thing I can think of is that the server isn't letting me a...

Any stories where trying to apply Scrum went wrong?

Question marked as community wiki for an obvious reason. My colleagues are betting big on Scrum, they are super-excited about it. However, when doing day-to-day programming the priority is often to "get it done" over "try to do it right the first time". Of course, time-to-market matters, but then having to hire an army of tech support a...

SVN commit failed: Directory out of date

I have a problem that seems very simple but is hard to solve. I get the mentioned error after deleting a directory. I did not find a solution yet to solve the conflict. This is how it occurs: svn add dir svn add dir/file1 svn commit svn add dir/file2 svn commit svn delete dir svn commit --> commit failed --> Directory '/dir' is out o...

Psake nested build does not fail

I have a fairly simple Psake build script (default.ps1) that calls Invoke-Psake from within one of the tasks. Something like this: (default.ps1) . .\utilities.ps1 properties { ...define some properties } task default -depends Step1 task Step1 { Invoke-Psake script2.ps1 } The second build script has a task and does its thing....

Fail fast or fail safe?

Hi, I'm working on a small project involving the creation of a console program intended to be run in background by a larger product. The program is supposed to talk with the main product (IP21) on one hand and act as a server, handling several clients, on the other. I've started working on the architecture and came up with something b...

How to generate bounce-back email notification, with some extra info included

I am just now beginning to research this, and so far haven't come up with much. So, I'm hoping you guys can help me, or point me in some sort of direction. I am in a situation in which I need to somehow be able to detect a failed email delivery and/or bounced-back email. Then, I need to be able to sent out a notification email describin...

What's the difference between failure and error in JUnit?

I'm running JUnit tests on a large code base, and I've been realizing that sometimes I get "Errors" while other times I get "Failures". What's the difference? ...

How to display failure message if the mail is not delivered to recipient using c#

I am sending a mail using SMTP server in C# from my application. Whether the mail is delivered or not to the recipient, i need the response to our application. How it can be done using C#??? ...

validates_inclusion_of :in => [true, false] is allowing Strings and Fixnums

I have this validation in my model: validates_inclusion_of :imported, :in => [true, false] but still allows Strings and Fixnums. This Shoulda macro returns 2 failures: should_not_allow_values_for :imported, "blah", 42 and I've checked that the macro isn't at fault by doing this in a test: @item.imported = 42 assert [email protected] ...

SQL Server generating error during merge replication on a table which has been deleted

I added a table tblJoinCustBlastList to a merge replicated database and now I'm getting this failure error during replication: Error messages: The schema script 'if object_id(N'[dbo].[tblJoinCustBlastlist]') is not null exec('ALTER TABLE [dbo].[tblJoinCustBlastlist] ADD CONSTRAINT PK_tblJoinCustBlastlist PRIMARY KEY CLUSTERED ( Joi...

Maven fails with tomcat-maven-plugin since this morning

Since this morning Maven can not build any project that requires tomcat-maven-plugin. I tried with the minimalistic pom.xml, with just that one dependency, but in all cases I get the following: [INFO] Error building POM (may not be this project's POM). Project ID: org.codehaus.mojo:tomcat-maven-plugin Reason: Error gett...

GWT Maven Eclipse Plugin - Compilation Fails Due to Duplicate Class

Hi, I am using Eclipse 3.5 (Galileo) with m2eclipse and GWT Eclipse plugins installed. I created a project using the gwt-maven-plugin archetype. I have created an RPC service defined with these classes: my.package.client.DataService my.package.client.DataServiceAsync my.package.server.DataServiceImpl When I run mvn clean, the targe...

How you go about troubleshooting SQL query failure?

I have a SQL query and it fails at times. That means that query runs fine most of the times. Once the query fails if I execute is again with some delay, it is successful in the same execution. Please note there are no changes in the tables being used in the query in between the success and failure scenarios. They are exactly same. As m...

Failed to compile with distcc, but OK without it.

Hi guys. I'm trying to compile RaLink drivers for usb wifi dongle. Without using distcc everything is OK but if i use distcc there is error. Here make log: make -C UTIL/ cp -f os/linux/Makefile.6.util /home/tobi/RaLink_driver/UTIL/os/linux/Makefile make -C /home/tobi/linux/ SUBDIRS=/home/tobi/RaLink_driver/UTIL/os/linux modules mkdir -p...

Simulating Failures with Sockets and LibEvent

I'm building a fault tolerance system, and I need to be able to simulate socket errors that are low level. That is, I would like to forcibly close them and simulate physical real world events in a reliable manner. Are there tools at an OS level that let me mess around with sockets? If so, what are they. ...

Working on localhost but server returns “Failed to open stream: No such file or directory”

Hello to everyone, I'm a newbie that really needs help, been trying to make this php script work with no luck, when I'm running the site locally it works but after I move the files to the server Im getting the following error, hope someone can help me: Warning: include(/var/chroot/home/content/16/5976816/html/inc/header.php) [function.i...

C# App Developed with VS2010 fails on startup with .NET 3.0

Read a ton of material on this one and still cannot find a workable solution... We have a "Hello, World1" app--one text block on a MainWindow--built and tested with VS2010 (C#). Target version is set to .NET 3.0. When "deployed" on a .NET 3.0 (SP2) system the app fails on startup. It fails in the call to InitializeComponent() in the Ma...