help

Codeigniter: Controller URI with Library

I have a working controller and library function, but I now need to pass a URI segment to the library for decision making, and I'm stuck. Controller: function survey($method) { $id = $this->session->userdata('id'); $data['member'] = $this->home_model->getUser($id); //Convert the db Object to a row array $data['manager'...

Codeigniter: how should I restructure db schema?

I don't even know if that's the right term. May it be known that I'm a major novice! I have three tables: users, profiles, and survey. Each one has user_id as it's first field, (auto-increment for users), and they're all tied by a foreign key constraint, CASCADE on DELETE. Currently, for each user, let's say user_id 1, they have a co...

Flash / Actionscript wheel

Hi, I have been asked to create a wheel for navigation similar to on the Visit Provence website. However, I don't know where to start and my Googling effort have been unsuccessful - I guess that I am searching using the wrong terms. It the the way that the wheel moves and interacts with the other segments around it that interests me. ...

Help with google maps api, user allowed marker map

Without telling everyone too much about my new idea for a website, Pretty much I need help, maybe someone can help write it up, with a site that has a simple map that allows any user to double click the map and make a marker. When the marker comes up I just want Title and Description available for edit(only once, so others cant chan...

Make help-file not TopMost

I created process and launched help-file Process help = new Process(); help.StartInfo.FileName = "C:\MyProjects\comp\help_eng.hlp"; help.Start(); However, this help file is displaying topform;I need to open a folder for example, but it is always under this process.Could you tell me, how to make process "ordinary"? - it shouldn't be to...

remainder application in ruby

i want to send develop a web app in ruby on rails . which wil send the remainder to the mail and mobile tooo . can some body help me out thanks in advance ...

Can pydoc/help() hide the documentation for inherited class methods and attributes?

When declaring a class that inherits from a specific class: class C(dict): added_attribute = 0 the documentation for class C lists all the methods of dict (either through help(C) or pydoc). Is there a way to hide the inherited methods from the automatically generated documentation (the documentation string can refer to the base c...

Changing the width of a knob on a JSlider

Ok, so I have searched google for a while now to see if I can find the answer to this but no dice. Maybe I am just searching for the wrong thing but this is what I want to know: How do you change the width of the actual Knob on the JSlider component? NOT how to change the width of the JSlider. Any help would be greatly appreciated! ...

initWithCoder breaking my touch events (touchBegan, touchMoved, etc)

So I have a UIView that has been setup, and in each touch event handler I have an NSLog fire off a message to the console. - (void) touchesBegan:(NSSSet*)touches withEvent:(UIEvent*)event { NSLog(@"touchesBegan"); } And that pretty much works as expected. But once I implement initWithCoder (even blank) - (id)initWithCoder:(NSCode...

Is this Informix SE?

I have a group of files that have extensions of .dat & .idx. They seem to be named in pairs. These files were under a folder named deeds.dbs. How do I access this data? Sorry for the general question, but I know nothing about Informix at all. ...

Windows 7 Style Help File ?

How does one make their application help file similar to the new windows 7 help format and is that compatible with Windows XP? Can anyone provide details ? Can we use the windows 7 default viewer as a shell to our own help files???? ...

Help on Removal of Dynamically Created sprites.

import flash.display.Sprite; import flash.net.URLLoader; var index:int = 0; var constY = 291; var constW = 2; var constH = 40; hydrogenBtn.label = "Hydrogen"; heliumBtn.label = "Helium"; lithiumBtn.label = "Lithium"; hydrogenBtn.addEventListener (MouseEvent.CLICK, loadHydrogen); heliumBtn.addEventListener (MouseEvent.C...

ShouldNotReachhere classFileParser ANDROID

Any idea how to fix this issue? I'm using Eclipse and it seems to occur even when I create a new android project. :( # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (classFileParser.cpp:3174), pid=3944, tid=3256 # Error: ShouldNotReachHere() # # JRE version: 6.0_18-b07 ...

Problem using help in Octave

Hi, I cannot get any help information from my octave command prompt. Example, when I enter octave:1>help rand I get the error message error: fwrite: invalid stream number = -1 error: called from: error: /usr/share/octave/3.2.3/m/help/makeinfo.m at line 147, column 5 error: /usr/share/octave/3.2.3/m/help/h...

C#- Console Program Ideas for Noob

So, Im a beginning C# programmer. I know basic syntax and simple things like if statements and loops(methods and classes too). I've only used console apps right now havent bothered with windows forms yet. So any simple app ideas that introduce new things important for C# programming. Also, NO tutorials. I want to make all by myself. ...

Reading Inputs in Java - help

I am having a problem reading inputs, can anyone help me. Each line of the input have to Integers: X e Y separated by a space. 12 1 12 3 23 4 9 3 I am using this code in java but is not working, its only reading the first line can anyone help me? String []f; String line; Scanner in=new Scanner(System.in); ...

Visual Studio Add-in Exec running Automatically

Hey guys, I have a dilemma that I am uncertain about, as I not sure if it's is exactly possible for a Visual Studio Add-in to run its code automatically. I need an add-in that can run passively, like a logger for Visual Studios. However, the Exec method that I know so far can only execute commandbar functionality, but I need the code to...

Ruby/Rails question about locating help/definitions w/in the system

This is probably super basic but, well, I can't find it... What's the best way to explore Rails from within the installation itself. Let me explain. I'm looking at some Migration code and curious what a symbol means. How/where do I look that up? In this case, specifically, i'm curious about :force => true and what it's doing but the mor...

Rails Variable across all controller actions

Hello, This should be a very simple rails question. I have a variable like the following. @administration = Administration.first I want this variable to be accessible through every controller action across all my controllers so for example if I have a Product controller and inside of it I have the usual CRUD actions, I want the @adm...

Cocos2D installation?

Hello, I am trying to install cocos2D but when I put it into terminal, I get the error: Error: This script must be run as root in order to copy templates to /Library/Application Support/Developer/Shared/Xcode What am I doing wrong here? Thanks in advance, Tate EDIT 1: I installed cocos2D and the project template show up but all of th...