Search Results

Search found 24 results on 1 pages for 'joec'.

Page 1/1 | 1 

  • Excel Free Text Survey Question Analysis

    - by joec
    I have to analyse a survey. The survey consists of some yes/no questions, some numeric questions and some questions like the following (free text where respondents have entered multiple answers). Do you have any social networking accounts (Facebook, Twitter, Myspace etc) Y N If yes, which ones _____________________________ Respondents answer: Facebook and Twitter How do I put these types of answer into Excel to gain some sort of useful analysis? Thanks. PS. I know Excel is not great for surveys, but can't spend $1000 on SPSS or similar.

    Read the article

  • No page number for divider pages in LaTeX

    - by joec
    I have a report in LaTeX, and i have used the following commands to create my Appendix, however, my lecturer states that any divider pages should be unnumbered. \documentclass{report} \usepackage{appendix} \begin{document} \include{chap1} \include{appendix} \end{document} Then in appendix.tex \appendix \pagestyle{empty} \appendixpage \noappendicestocpagenum \addappheadtotoc This creates the Appendices divider page, but still puts a page number on it in the footer. There is no page number in the TOC, as expected. How can i remove it from the footer? Thanks

    Read the article

  • PDF thumbnails in TeXShop (LaTeX)

    - by joec
    How can i create PDF thumbnails in TeXShop using LaTeX and thumbpdf? I have \usepackage{thumbpdf} in my preamble, ran LaTeX twice, ran $ thumbpdf report.pdf from a Terminal (I'm on a Mac), then ran LaTeX again, but the PDF has no thumbnails? Am I missing a step? The thumbpdf command created png files but then deleted them again, and wrote a file called report.tpt. Thanks.

    Read the article

  • NSUserDefaults always returns 0, in Simulator and Device

    - by joec
    I have a settings bundle in my iPhone app, with the following PList: Type: PSMultiValueSpecifier Title: Within (Kilometres) DefaultValue: Number: 1 Titles: Array: Item 1: Number: 1 Item 2: Number: 2 Values: Array: Item 1: Number: 1 Item 2: Number: 2 Key: String: km Then in my code i have: NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSInteger choiceOne = [defaults integerForKey:@"km"]; choiceOne is always 0. What am i doing wrong? Thanks

    Read the article

  • UITableView titleForHeaderInSection prints headers to console twice then crashes

    - by joec
    In the method below titleForHeaderInSection, for some reason the NSLog prints out the headers twice and then the app crashes in objc_msgSend. I can't understand why this would cause the app to crash? It would seem from research that crashes in objc_msgSend are caused by sending messages to already freed objects, but is that the case here? My sectionNames array is populated in viewDidLoad. - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section { NSString *title = nil; title=[sectionNames objectAtIndex:section]; NSLog(title); return title; } Thanks

    Read the article

  • Representing Objective C Protocols on UML class diagrams

    - by joec
    How should i correctly reference protocols on a UML class diagram? For example my ListViewController conforms to the UITableViewDataSource and UITableViewDelegate protocols... where do i put the cellForRowAtIndexPath or numberOfRowsInSection methods? ... in ListViewController where they are implemented or in something like this: <<Protocol>> UITableViewDataSource --------------------- --------------------- -numberOfRowsInSection If i did the latter what would be the association between the ListViewController class and the protocol box be? All i have to show is how i hook into Cocoa Touch some how. Thanks.

    Read the article

  • Alter header distance using fancyhdr in LaTeX

    - by joec
    How can i change the distance between the bottom of the header and my page body using the fancyhdr package in LaTeX? At the moment they are like this: Chapter 1: INTRODUCTION This is text in the introduction I would like it to be: Chapter 1: INTRODUCTION This is text in the introduction I have tried changing \headheight with no success. Thanks.

    Read the article

  • Exploding by Array of Delimiters

    - by JoeC
    Is there any way to explode() using an array of delimiters? PHP Manual: array explode ( string $delimiter , string $string [, int $limit ] ) Instead of using string $delimiter is there any way to use array $delimiter without affecting performance too much?

    Read the article

  • CakePHP call to member function on non-object

    - by joec
    I have the following Model and Controller files, and when i visit this url, http://....../pois/index i get this error: Notice (8): Undefined property: PoisController::$Poi [APP/controllers/pois_controller.php, line 5] Fatal error: Call to a member function find() on a non-object in /home/joecoyle/public_html/app/controllers/pois_controller.php on line 5 The Model is this, called poi.php: <?php class Poi extends AppModel { } ?> And the controller is this, named pois_controller.php <?php class PoisController extends AppController { function index(){ $this->set('pois',$this->Poi->find('all')); } } ?> As i am new to CakePHP i am not sure what is causing this error, as everything seems to be named, right, and i am following the tutorial on the CakePHP site... Thanks

    Read the article

  • Creating 'select' listboxes using FormHelper in CakePHP

    - by joec
    I have two models Category and Point. The associations are defined as: Category hasMany Point Point belongsTo Category I would like, when adding Points to my database, to be able to select the category it belongs to from a <select> box, along with the rest of the form data. Where would i need to set the category list and how could i do it? And how would i produce the select box? I assume it could be done with $form->input('categorieslist',array('type'=>'select')); //categorieslist needs //setting somewhere. But i am fairly new to Cake and not done much with associations before. Thanks.

    Read the article

  • UITablevViewCellStyle strange behaviour with detailTextLabel

    - by joec
    I have set my UITableViewCellStyle to be Value2, and it shows the detailTextLabel and textLabel, but instead of the detailTextLabel being the small text to the left of the cell, it is now the primary text in the cell, and the textLabel is the small text. Strange behaviour and i'm not sure why? For now i'm just swapping the values over, but I'm pretty sure its not correct. Anyone else experienced this issue? Thanks

    Read the article

  • UINavigationController crashes after pushing 3 views onto stack

    - by joec
    I have a navigation controller, which has the following structure: Category Item Item Detail I can choose a category, and then choose an item to see its details. I can do this twice, i.e. go Back to the list of items and select another item. If i try this a third time, the app crashes, I get objc_msgSend in stack but thats all. But, instead of choosing another item, i go to the list of categories, and choose a different category, I can select two items in that category, before it crashes also. What would be causing this? Thanks

    Read the article

  • \ref Chapter Name in LaTeX

    - by joec
    Is it possible to use \ref{chap:conclusion} to refer to the actual name of the chapter instead of the chapter counter in LaTeX? So that I can do this: See the \ref{chap:conclusion} chapter for more information See the Conclusion chapter for more information instead of: See Chapter \ref{chap:conclusion} for more See Chapter 6 for more Thanks

    Read the article

  • AVAudioPlayer lag when calling play

    - by joec
    I have set up an AVAudioPlayer object in viewDidLoad, as per the Apple guidelines, calling prepareToPlay as the last line in viewDidLoad (i have tried in awakeFromNib also). When i press my play button, there is a pause, as it would appear to load the file, then it plays. In audioPlayerDidFinishPlaying, i reload the player with a different sound, and when clicking play for a second time, the file plays instantly. What would cause the player to lag on the first play? Thanks.

    Read the article

  • UITableView section footer multiple UIButtons

    - by joec
    In the section footer of my UITableView, i have one UIButton, this button is 320 pixels wide (i.e. takes up full width of view). I would like two buttons in the section footer, but when i try and add another button, Interface Builder just puts it on top of the existing button. If i try to change the size in the inspector from 320 to say 50 pixels, it always reverts to 320. What am i doing wrong? Thanks.

    Read the article

  • UISearchBar Not appearing

    - by joec
    Hi I have view controller, into the view i have put a table view, and a search bar into the table's header... the search bar is not showing up, just the empty table view. Do i need to do something additional? I'm pretty sure its to do with the view outlet of the UIViewController, set to View... Thanks

    Read the article

  • phpMyAdmin Cron to Delete Temporary Files

    - by JoeC
    I have a folder on my hosting which I periodically upload something to - /public_html/uploads - and I'd like to set up a cronjob through phpMyAdmin to empty it out on a regular basis. The current cron I have in pMA is find /public_html/uploads -maxdepth 1 -ctime 1 -exec rm -f {} \; (Ignore the fact that it's running every minute for now, it's so I can test it :) ) I know very little about what this command is actually doing, but it looks like "not very much". Can anyone help me fix it? :) Thanks.

    Read the article

  • Retain Delimiters when Splitting String

    - by JoeC
    Edit: OK, I can't read, thanks to Col. Shrapnel for the help. If anyone comes here looking for the same thing to be answered... print_r(preg_split('/([\!|\?|\.|\!\?])/', $string, null, PREG_SPLIT_DELIM_CAPTURE)); Is there any way to split a string on a set of delimiters, and retain the position and character(s) of the delimiter after the split? For example, using delimiters of ! ? . !? turning this: $string = 'Hello. A question? How strange! Maybe even surreal!? Who knows.'; into this array('Hello', '.', 'A question', '?', 'How strange', '!', 'Maybe even surreal', '!?', 'Who knows', '.'); Currently I'm trying to use print_r(preg_split('/([\!|\?|\.|\!\?])/', $string)); to capture the delimiters as a subpattern, but I'm not having much luck.

    Read the article

1