I have just changed a compiler option from 4.0 to 4.2.
Now I get an error:
jump to case label crosses initialization of 'const char* selectorName'
It works fine in 4.0
Any ideas?
I read through this tutorial Appcelerator: Using JSON to Build a Twitter Client and attempted to create my own simple application to interact with a Jetty server I setup running some Spring code. I basically call a get http request that gives me a bunch of contacts in JSON format. I then populate several rows with my JSON data and try to build a…
I love Visual Studio about 90% of the time, but that last 10% it is such a PITA it makes me want to launch my monitor off the desk.
My latest annoyances:
It won't remember my toolbar settings. I don't want any toolbars, ever. Quit popping open the CSS editor or XML editor or text editor everytime I open a file.
Doesn't remember which regions…
This Javascript is part of a Foreach loop.
var stickytooltip={
tooltipoffsets: [20, -30], //additional x and y offset from mouse cursor for tooltips
fadeinspeed: 200, //duration of fade effect in milliseconds
rightclickstick: false, //sticky tooltip when user right clicks over the triggering element (apart from pressing "s" key) ?
…
I am using CKEditor to do basic text and image input into my website. I have noticed that it is quite sporadic in it's method of generating HTML for images when you add them. (Sometimes it might use height and width tags, other times it might use CSS).
I use Timthumb for on the fly image resizing on a number of other websites and find…
Hello,
I'm writing an addin for Visual Studio 2008. At some point in my code, I'm attempting to access the current active configuration for a project:
var configName = _Project.ConfigurationManager.ActiveConfiguration.ConfigurationName;
Sometimes, in some very obscure cases, the getter for ActiveConfiguration throws an…
I get this error:
java.lang.IllegalStateException: Workspace is closed.
at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:339)
The code generating it is this:
IWorkspace ws = ResourcesPlugin.getWorkspace();
Can you please help with this problem?
Hi there,
is there anyway to load other JS files from within a single JS file. I would like to point my individual pages "ITS" js file and that js file would load jquery, other js files.
I know i can just pop all these into the html i.e.
I was thinking of separations of concerns so i was wondering if anything exists…
We are building an online subscription-based website and I'm looking for recommendations on which e-commerce platform to use for the checkout process.
Requirements include:
Only four products.
The sign-up process of the site is heavily customized, and after checkout the user should automatically get logged into the…
I have an app that appears to run without problems in normal use. The Clang Static Analyzer reports no problems either. When I try to run it in Instruments, it fails with an unrecognized selector exception.
The offending line is a simple property setter of the form:
self.bar = baz;
To figure out what's going…
I'm currently using jqGrid to display data. Part of jqGrid's interface will give you search options, posting back the search details in a JSON string, for example:
{"groupOp":"AND","rules":[{"field":"PersonID","op":"eq","data":"123"},{"field":"LastName","op":"eq","data":"Smith"}]}
(meaning i'm searching for…
I have a custom UITableViewCell which has an image & and some text. When entering editing mode, I would like the image to fade out & move offscreen to the left. When & how do I implement this code? I tried putting an animation block in willTransitionToState: but the image simply jumps offscreen w/…
From what I read so far, it sounds like these StringComparison types are meant to differ in how they do sorting of strings, if so, does that mean that it does'nt matter which StringComparison you use when doing an equality comparison?
string.Equals(a, b, StringComparison....)
Extra credit: does it make a…
Hi there,
Does anyone know of a good link to explain how to use the web.config......
For example, i am using forms authentication... and i notice there is a system.web and then it closed /system.web and then below configuration there are additional location tags
here is an example, if you ntoice there…
Hi.
Not an app question, but thought that I might ask here anyway! The responses might help someone.
I've got an app where we're going to be dealing with 5000-10000 people in a group/pool. Periodically, different subsets of people will break off in their own group.
I'm looking for thoughts on how to…
Hey, I have a program that needs to tell if an online image exists, but the only way that I've gotten this to work is by loading the image in a NSData pointer and checking if the pointer exists.
- (BOOL)exists {
NSString *filePath = @"http://couleeapps.hostei.com/BottomBox.png";
NSURL *url…
In regards to: http://stackoverflow.com/questions/720113/find-hyperlinks-in-text-using-python-twitter-related
How can I extract just the url so I can put it into a list/array?
Edit
Let me clarify, I don't want to parse the URL into pieces. I want to extract the URL from the text of the string to…
I am trying to match any url that has /images/ , /styles/ , or /scripts/ in a lighttpd $HTTP["url"] statement. How could this be done? I am currently using "^/images/" , etc. and it's only working if that directory is in the beginning of the URL.
Hi there,
Can anybody recommend a good FREE Admin GUI for Sqllite?
Needs to be run on a Windows PC.
I tried following some of the links i found via sqllite site which states they are free.. and when arriving they seem to be charging..
I just want a good standard GUI for listing data and executing…
I'm attempting to run bundle in my Rails project on OSX 10.9. It fails when getting to the pg gem with this error:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/kyledecot/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb
checking for pg_config... no
No…
I have two tables:
Users: ID, first_name, last_name
Networks: user_id, friend_id, status
I want to select all values from the users table but I want to display the status of specific user (say with id=2) while keeping the other ones as NULL. For instance:
If I have users:
1 John Smith
2 Tom …
I want to have to occasionally insert text into the UITextView text object. For example, if the user presses the "New Paragraph" button I would like to insert a double newline instead of just the standard single newline.
How can I go about such? Do i have to read the string from UITextView,…
Hi, I have a button as made for you to see here. Looks fine,right? Well on the live site, euroworker.no/shipping it seems stretched.
Renders fine in Chrome, IE and Safari, I thought it might have been a FF issue, but loaded the fiddle into FF and seems fine.
Quick ref CSS and html:
…