I've already spent countless hours puzzling over this, utilizing Google searches and other Stack Overflow questions to no avail.
I have an iPhone/iPad universal application, which seems to compile fine when the target is armv6. However, when the device is iPad, I get this warning:
warning: building for SDK 'Device - iPhone OS 3.2' requires an…
Having successfully gotten a sample program working, I'm now starting
to do Real Work with Fluent NHibernate - trying to use Automapping on my project's class
heirarchy.
It's a scientific instrumentation application, and the classes I'm
mapping have several properties that are arrays of floats e.g.
private float[]…
Here's the scenario: I've got a big file filled with all sorts of eclectic rubbish that I want to regex. I fiddle around and come up with a perfect search pattern by using the / command and seeing what it highlights.
Now I want to use that pattern to replace with. So, I start typing :%s/ and I cannot recall what the pattern…
While working with the EventKit on iPhone I noticed that some events can exist which cannot be modified. Examples I encountered so far are birthdays and events synced with CalDAV. When you view the event's details in the standard built-in calendar app on iPhone the "Edit" button in the top-right corner is not visible in…
Hi,
I've been trying to figure out why the following script's success function isn't running. Everything in my form works perfectly, and the form contents are being emailed correctly, but the success function isn't being called.
If anyone could review my code and let me know why my success function isn't being called…
Am I understanding it wrong, or is the description wrong?
Equals checks for noncompatible
operand
(EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS)
This equals method is checking to see
if the argument is some incompatible
type (i.e., a class that is neither a
supertype nor subtype of the class
that…
I am working on a site where I need to be able to split and image around 4000x6000 into 4 parts (amongst many other tasks) and I need this to be as quick as possible for multiple users.
My current code for doing this is
var bitmaps = new RenderTargetBitmap[elements.Length];
using (var stream =…
Hi all,
Im sure there is a very simple solution for this.
I have a bunch of .cpp / .h files from a project, say in directory ~/files
On the other hand, I want to create a c++ project using eclipse to work on those files, so I put my workspace on ~/wherever. Then I create a c++ project:…
Hi Guys,
My friends and I are trying to setup GIT for windows using this tutorial but we just keep running into problems.
I know many of you guys on this site are GIT gurus - so I was wondering whether anyone would be able to help us (and I am sure 100s of other Windows Devs who want…
I've decided to do it this way
flip numbers 0=1, 1=0
add 1 to LSB
if carry, loop until array[i]==0
But I'm stuck on the last point; how can I say that in a conditional loop?
My dbml file is just getting bigger and bigger and more unwieldy:
I favoured an all-in-one approach as supposed to multiple data contexts because when I tried that it was near impossible to manage in code. I was advised it was better to have them all in one chart and the difficulty…
Is it possible to get the target element in a keypress event handler in a design mode iframe ? I know it can be done in the mousedown event handler (by accessing event.target), but in the keypress / keydown handlers event.target is always the iframe element. For example, with the…
Hi there.
I'm trying to install SugarCRM version 5.5.1. on a webhost.
Everything goes nice until the step when the installation begins.
The output is this one:
Creating Sugar configuration file
(config.php)
Creating Sugar application tables,
audit tables and…
I am running Eclipse 3.5 and JBoss 5.1. I want to create a JSF 2.0 project.
I heard here that the Eclipse JBoss Tools plugin version 3.1 (available here) could do this for me.
I have installed the plugin. However, if I go to the Project Facets properties page for a…
I'm tearing my hair out trying to work out why the command I'm executing via Java using a ProcessBuilder & Process is not working. I run the "same" command at the Windows command line and it works as expected. It must be that they're not the same but I can't for…
With silverlight 4.0, it is possible to show a live video of the user on the screen:
Here is the code
VideoBrush videoBrush = new VideoBrush();
CaptureSource captureSource = new CaptureSource
{
…
I'm using this library: jsinq.
I want to create a new object using subqueries. For example, in .NET LINQ, I could do something like this:
from a in Attendances
where a.SomeProperty = SomeValue
select new {
.Property1 = a.Property1,
.Property2 =…
In Python, if I were to have a user input the number X, and then the program enters a for loop in which the user inputs X values, is there a way/is it a bad idea to have variable names automatically increment?
ie:
user inputs '6'
value_1 = ...
…
I made a custom scrollbar that sits beside a normal textbox.
I would like to scroll the text box like you would any other one with my control. How can this be done?
Thanks.
Hey there,
I am trying to get my application an installer via WiX 3.0. The exact code is:
<File Id="ServiceComponentMain" Name="$(var.myProgramService.TargetFileName)" Source="$(var.myProgramService.TargetPath)" DiskId="1" Vital="yes"/>
<!--…
How do you rotate an image with the canvas html5 element from the bottom center angle? See http://uptowar.com/test.php for my current code and image:
<html>
<head>
<title>test</title>
<script…