We are using a jquery accordion on our site : http://www.racedayworld.com
It basically lists events under each month...
Apparently people are finding difficulties knowing how it really works and they don't see at first glance that there are more events under each month (that you click to expand)
So I was thinking about opening two at a time…
I've got a big UIView that responds to touches, and it's covered with lots of little UIViews that respond differently to touches. Is it possible to touch anywhere on screen and slide around, and have each view know if it's being touched?
For example, I put my finger down on the upper left and slide toward the lower right. The…
I'm building an iPhone application that talks to a Ruby on Rails backend. The Ruby on Rails application will also service web users. The restful_authentication plugin is an excellent way to provide quick and customizable user authentication. However, I would like users of the iPhone application to have an account created…
We have a complex aggregate (sensitive names obfuscated for confidentiality reasons).
The root, R, is composed of collections of Ms, As, Cs, Ss. Ms have collections of other low-level details. etc etc
R really is an aggregate (no fair suggesting we split it!)
We use lazy loading to retrieve the details. No problem…
I am using search logic to filter results on company listing page. The user is able to specify any number of parameters using a variety of named URLs. For example:
/location/mexico
/sector/technology
/sector/financial/location/argentina
Results in the following respectively:
params[:location] == 'mexico'…
Hey all- we have a typical web application that is essentially a data entry application with lots of screens some of which have some degree of complexity. We need to provide that standard capability on making sure if the user forgets to click the "Save" button before navigating away or closing their browser they…
Problem 1: I'd like to generate a set of n strings of fixed length m from alphabet s such that the minimum Levenshtein distance (edit distance) between any two strings is greater than some constant c. Obviously, I can use randomization methods (e.g., a genetic algorithm), but was hoping that this may be a…
I'm trying to use the Html.DropDownList extension method but can't figure out how to use it with an enumeration.
Let's say I have an enumeration like this:
public enum ItemTypes
{
Movie = 1,
Game = 2,
Book = 3
}
How do I go about creating a dropdown with these values using the…
When creating a new Rails project using:
rails sample
Then creating a model using:
script/generate model person first_name:string last_name:string
Everything is fine. However, if I add any gems to my environment.rb:
config.gem "authlogic"
And run the same generator, I get the…
I've got a big old log file I'm trying to break down in terms of routes.
Essentially, I'm getting input of a path (/questions/31415 for example) and a list of all the registered Routes. What I want out is a Route and the parameters specified in the route (so in,…
can someone PLEASE point me in the right direction
all i want to do is simulate a mouse click in a video game that is minimized
the video game i am doing this for allows macroing like this, so its all good
however, the game uses directinput so using postmessage…
I have a folder within a site that is a seperate web app than the parent. Both are working fine, but when I go to the domain.com/folder/ path, I would like it to forward me to domain.com/folder/index.htm for consistency. This is the htaccess rule I was trying, but…
I need some advice on technique to perform page redirect in asp.net. Which one is more recommended to use in asp.net?
Dynamically changed the src of the Iframe to difference aspx.
Dim frame As HtmlControl = CType(Me.FindControl("frameMain"), HtmlControl)
…
for my app each annotation on a map corresponds to a mine locality. each mine has its own unique 7 digit integer identifier. I'm trying to add the property minesEntryNumber to the annotation so when the annotation is clicked on later I can bring up specific…
I am relatively new to ASP.NET programming, and web programming in general. We have a site we recently ported from .NET 1.1 to 3.5. Currently we have two methods of error handling: either catching the error during data load on a page and displaying the…
cipher.h cipher.m are developing a module has.
NSData value of the encrypted value problem as follows. : <0b21kck 0v35919 sk2910
As the purpose of encryption is to be sent to NSURLConnection String value.
NSString value to NSData encrypted so I…
This questions involves 2 different implementations of essentially the same code.
First, using delegate to create a Comparison method that can be used as a parameter when sorting a collection of objects:
class Foo
{
public static…
I have a large website that I am moving into a new framework and in the process adding git. The current site doesn't have any version control on it.
I started by copying the site into a new git repository. I made a new branch and made…
I'm developing my first web-app, and I'm working through logistics.
New users (At first login) need to complete a few things before they can use the app fully.
For example, they need to complete their profile before they can move on…
I'm new to app development and CI as a whole, so I've got an oodle of questions.
What is profiling?
How is it used?
How does it work?
What is considered a "long" time?
More importantly,
How do I use it to improve performance?
How do I submit a form that can do two different things based on the URI?
For example, if the URI contains a string "new" the form will submit differently than it would if "new" were not in the URI.
I'm having trouble implementing…
i am getting this error in my apache2 log
[Tue Apr 06 09:00:56 2010] [error] [client A.B.C.D] request failed: URI too long (longer than 8190)
what setting can i change to increase this limit?
What's a good way to validate phone numbers being input in codeigniter?
It's my first time writing an app, and I don't really understand regex at all...
Is it easier to have three input fields for the phone number?
…
The definitive reference for using Scala on android seems to be here: http://www.scala-lang.org/node/160
Unfortunately, all the references on using scala with android are based around Scala 2.7 and refer to a custom…