help

Can't work with more recent gems

Hi all, I'm working on a university project and my teacher set up the server for it, but after installing Ruby 1.9.x we had to return to Ruby 1.8.x, because of the Ruby 1.9/Rails 2.3.4 problem. Now, every time I build a Rails app, it's always using Rails 2.2.3 gems. I've changed the environment.rb (RAILS_GEM_VERSION = '2.3.4' ...), bu...

iPhone SDK: Two animation sequences playing at random *help*

I have two animation sequences, and I want one of them to play randomly when a button is pressed. Here is the code: { color.animationImages = [NSArray arrayWithObjects: [UIImage imageName: @"1.gif"], [UIImage imageName: @"2.gif"], [UIImage imageName: @"3.gif"],...

Need a little help with the Qt painting classes

I'm trying to write a paint program (paint where ever a mouse press/hold is detected), but I'm having trouble using the Qt QPainter. I have read the documentation on their web site and I'm still kind of lost. A link to a tutorial that isn't on their web site would be nice or maybe explain to me how I can accomplish this in Qt. The only t...

jQuery Coda Slider Last Slide is missing in IE 5,6,7

I am working on a site with the current working copy held at: www.OnlineUticaCollege.com/david I'm not all that familiar with the code slider in jQuery tools, but I know how to program so it's rather easy to make sense of. I've searched through multiple posts on here and other sites to find a similar problem (and hopefully a solution) ...

HTML HELP WORKSHOP - Adding to TOC

I have a help project consisting of a number of files in the \html subdirectory of the directory where the .hlp project file resides. I added a new file called x.htm under the project tab and populated it with some html code; the file ended up in the \html directory. I next went to the Contents tab and added a topic file. If I double ...

Hand off variable to html

So instead paying $35 for slideshowpro for lightroom, I just decided to whip up a quick javascript slideshow to do a simple task. Rotate 10 images within a div, randomly. It works like so: var imageSrc = "source_folder/"; var imageType = ".jpg"; var randomImage = imageSrc + 0 + Math.floor(#*Math.random()) + imageType; (This isn't all ...

jQuery Coda Slider IE 6,7 Crashing when switching tabs...I hate IE...

First off, I would just like to mention my absolute hatred of Internet Explorer and the grief it is causing me. Okay, so I have am using a Coda slider for a clients website, located at: www.onlineuticacollege.com/david Here is my declarations for my Coda Slider. <script src="tabbed-bottom-nav/js/jquery-1.3.2.min.js" type="text/javas...

What is the best online help system you’ve seen?

A lot of areas of web development have good resources on best practices. One area that doesn't seem to have a standard is the way "help" is offered. So I'd like to compile a list of sites that have really good online help systems. I'd like to see sites that have a good FAQ section, getting started guide, a searchable knowledge base, sear...

Tips for Project Euler Problem #78

This is the problem in question: Problem #78 This is driving me crazy. I've been working on this for a few hours now and I've been able to reduce the complexity of finding the number of ways to stack n coins to O(n/2), but even with those improvements and starting from an n for which p(n) is close to one-million, I still can't reach the...

How to cycle through xcode windows (or open 'help' within the bottom pane)?

Hi. I'm using a MBP... In Xcode 3.2 the help/reference pops up in a new window when I ALT, CMD, DOUBLECLICK on a class name**. In previous versions it looks like it used to open up in the bottom pane of the main Xcode window. Can I replicate that in 3.2+? The problem I'm having is that if either one of the Xcode windows (help or main) ...

Javascript dialog script feedback needed

Hello, I am writing a Javascript dialog script which is seen in a lot of typical Role Playing Games. At the moment I got an array with text strings which you can skip trough. I got at the point where you can make a decision and based on the input a different string will show. However I don't think this is the right way to do it. These...

Where does pythons pydoc help function get its content from.

I have a lot of callable objects and they all have the __doc__ string correctly filled out, but running help on them produces the help for the their class instead of help based on __doc__. What I want to do is change it so that running help on them produces customized help that looks essentially like what you would get if they were actu...

Ruby on Rails passing of parameters between views (not all being transferred)

Hi, I've been trying to trace this error for nearly 2 days now and i can't seem to understand what is going wrong. I'll explain: I have 2 views (.html.erb format) ViewA has the following <% form_tag (:action => 'ViewB') do %> i have on this page a select_tag radius text_field_tag searchQuery (disabled as is filled in already), text...

Zend PDF word wrapping

Does Zend_Pdf already support automatic wrapping of text? For example I want to create a textblock and fill it with text. This is a very important feature and unless Zend Pdf does not have it I am not able to switch from FPDF. Also I think a Framework that says it has PDF support should be able to offer their developers this kind of fe...

creating help for asp.net website

My requirement is to have database based help system for asp.net website, as shown in the image below. i have searched web but could not find even remotely related solution. ...

Is there any way to repair help index for Visual Studio 2008?

Seems that my VS2008 help index has finally become FUBAR. It's already a known issue that after installing SQL Books Online 2008 SP1 a lot of inter-topic links break down, but this is even worse. When index entries start pointing to completely unrelated topics and things like "System.Collections.IList namespace" appear - then you know yo...

About the Double combobox

please visit my link and select the source for my libray page, to bring up the coding, as this post will not allow me to paste the coding. http://ittookamiracle.ca/library.html Sorry for the mess.....my problem is that when you select for instance the pioneer writings, and then click select on a book (ex:3 Angels-Revelation 14 by J. N ...

Should I revive Clippy ? aka how can i provide user-friendly tips and help in a desktop application ?

While I've been working hard to keep the WinForms application I'm working on simple and easy to learn, the functional domain I'm working in (finance) is pretty rich, and I feel I should help the user figure out what to do next once the program is launched. I must add that in the software I'm working on, there's often "something to do ne...

How to get PHP $_GET array ?

Hello, I have a question. Is it possible to have a value in $_GET as an array? If I am trying to send a link with http://link/foo.php?id=1&amp;id=2&amp;id=3, and I want to use $_GET['id'] on the php side, how can that value be an array? Because right now echo $_GET['id'] is returning 3. Its the last id which is in the header link. Any ...

python optparse, how to include additional info in usage output?

Using python's optparse module I would like to add extra example lines below the regular usage output. My current help_print() output looks like this: usage: check_dell.py [options] options: -h, --help show this help message and exit -s, --storage checks virtual and physical disks -c, --chassis checks specified chassis components...