Hey All
I have an array(NSMutableArray) with 8 objects.
I then remove number 5 (removeObjectAtIndex:4)
does the array now count only 7 objects? or 8 with a space?
I need to know. I plan to 'drain the array' after doing a thing with each object.
Cheers Guys
Sam
Hey, I want to make an little window like the sort of thing used by Teamspeak/Ventrillo or Steam/xFire where a window can be shown while still in a fullscreen game using Java. There was a similar question/answer ("How to create an overlay window in Java?") but that doesn't work for the particular game (EVE) whereas the previously mentioned overlays work just fine. What's the missing element? Or is it an entirely different method?
hey guys
is it possible to have two forms with two submit buttons but when i click on the button then it saves both forms input fields
im concerning to solve this in php /mysql
i tried my own way :
if ((isset($_POST["form-1"])) && (isset($_POST["form-2"])) {
//SQL Insertion
}
thanks in advance
hey guys
i need to shorten or better to say ., harden my codes
this is my original code :
if ($type = "recent") {
$OrderType = "sid DESC";
}elseif ($type = "pop"){
$OrderType = "counter DESC";
}else {
$OrderType = "RAND()";
}
now how can i use markers like this :
$OrderType = ($type = "recent") ? "sid DESC" : "counter DESC" ;
i tried but i didnt know how to write elseif in operators
hey all
i have a protected directory where only user on .htpasswd can access, but sometimes it requires the user to change password or username, edit a specific username password to his username him self
sample users
kevien : kka
mike : mike
Hey guys, I'm solving one task and I need to create a piece of CSS what would apply only in Safari, NOT the other WebKit browser (mustn't apply in Chrome, f.e.). Please, could anyone toss in some ideas?
Hey folks,
Been messing about with this all day and haven't got anywhere so I'm hoping someone can help me - I have a HeapReAlloc method failing with the error ACCESS_VIOLATION, but I'm unsure how to implement a further check using GetExceptionCode as it uses try/catch or exception or something - can someone give me a quick example of how I can use it to narrow down this failure, please?
Thanks very much,
Becky
Hey all,
I was wondering if there is some variable that will return what $_SERVER['DOCUMENT_ROOT'] returns when I call PHP like this: ./somescript
If not, how do people get around this case? I'm looking to be able to call the same script (a template compiler) in both the web browser and the terminal.
Thanks!
Matt Mueller
Hey,
I'm trying django-haystack with Solr and HAYSTACK_INCLUDE_SPELLING = True.
How do you access the spelling suggestions on the template (generated by the default SearchView) ?
Thanks :-)
Hey we have a library class (lib/Mixpanel) that calls delayed job as follows:
class Mixpanel
attr_accessor :options
attr_accessor :event
def track!()
..
dj = send_later :access_api # also tried with self.send_later
..
end
def access_api
..
end
The problem is that when we run rake jobs:work: we get the following error:
undefined method `access_api' for #
Any idea why?
hey hello...
my application consist of a landscape view where i want to put a modalview but the problem is with modalview. it doesn't get load on presenting it.. code is:
--------------------code here----------------------
UIViewController *modalViewController = [[UIViewController alloc] init];
modalViewController.view = modelView1;
[self presentModalViewController:modalViewController animated:NO];
[self performSelector:@selector(hideSplash) withObject:nil afterDelay:5.0];
plz kindly help me with this....
Hey,
I have an android devic, i wish to know when it is connected to the pc via java/.net
i know its possible - the Samsung New PC Studio is doing it, when ever i connect an android device it lets me know. how can i achieve the same?
Hey guys I have an assigned array from mysql results and I simply want to number them starting at one. Does anyone know how to do this?
while ($row=mysql_fetch_assoc($query)){
$out[] = array("ASSIGNED INTEGER", $row['total']);
}
Hey Everyone,
I've got what I'm hoping is a simple question. In the Delphi IDE, the path to the Delphi installation is specified as $(DELPHI). I am wondering if there is a way to create my own path indicators, such as $(MY_LIBRARY) or something similar. I thought $(DELPHI) was specified as an environment variable, but apparently not. Any ideas?
Thanks all!
~DJ
DJ Quimby
Hey all,
I have a CustomValidator, RequiredFieldValidator and ValidationSummary controls on an aspx page to check the current password and make sure the new password is not blank.
When I click submit I get the js alert() box from the summary control telling me about just the RequiredFieldValidator being false, but the client script for the CustomValidator does not seem to get its return value used. I have checked the "arguments.IsValid" value using FireBug, so it is getting called and returning the correct bool, but it never shows up in the val summary box?
Thanks,
Goosey
Hey Guys,
I have a uitableview and I am populating the tableview with data from the internet. I added some sort features to the table but when I do the sorting and get new results from the web server and reload the table.
The table doesn't refresh, the old results stay on the table and if I press on a particular cell I see the new result just for that cell.
Can someone please help me?
Thanks
Hey guys,
How can I, in PHP, get a summary of any URL? By summary, I mean something similar to the URL descriptions in Google web search results.
Is this possible? Is there already some kind of tool I can plug in to so I don't have to generate my own summaries?
I don't want to use metadata descriptions if possible.
-Dylan
Hey,
I have an input text :
<input name="Email" type="text" id="Email" value="[email protected]" />
I want to put a default value like "What's your programming question ? be specific." in StackOverFlow, and when the user click on it the default value disapear.
Hey guys,
I was wondering which tool in ORACLE 11g (their latest DBMS) can be used for publishing XML. I am about to download it but would first like to know the name of the XML publisher and where I could get more information about it from.
Thanks in advance.
S
Hey,
I'am trying to follow an ASP.NET with AJAX Training. At certain moment, they deploy an AJAX-Enabled Web Site. but for me I can't found this option (I'm using Visual Studio 2008).
Even if I installed the Ajax Control Toolkit it still not working for me !!
What must I do to find this ?
Hey Everyone,
I am trying to install web.go using goinstall github.com/hoisie/web.go, and I keep getting an error about the path.
goinstall: github.com/hoisie/web.go: git: no such file or directory
goinstall is working for sure because when I type in just goinstall I get the options list for it. Any ideas on what I am doing wrong?
Metropolis
Hey there,
I'm Dr. Falken and I'm trying to make a computer program on my computer (WOPR) that simulates Global Thermonuclear War. So far I've simulated Checkers and Tic-Tac-Toe, but I've never tried to do anything on this scale. Any pointers on how I should start?
Sincerely,
Dr. Falken
What is a regex I can write in bash for parsing a line and extracting text that can be found between two | (so that would be ex: 1: |hey| 2: |boy|) and keeping those words in some sort of array?