Hello,
I have a for loop that loops over one array...
for i=1:length(myArray)
In this loop, I want to do check on the value of myArray and add it to another array myArray2 if it meets certain conditions. I looked through the Matlab docs, but couldn't find anything on creating arrays without declaring all their values on initialization or reading data into them in one shot.
Many thanks!
How do you suggest I proceed in changing the GoogleAddressBook sample to retrieve 25 contacts?
Google suggests using AutoPaging=true on http://code.google.com/apis/contacts/docs/2.0/developers_guide_dotnet.html#retrieving_without_query
If this is still valid, how can I go about passing this parameter in the DotNetOpenAuth sample provided?
TIA
Tie::Hash has these:
sub FIRSTKEY { my $a = scalar keys %{$_[0]}; each %{$_[0]} }
sub NEXTKEY { each %{$_[0]} }
NEXTKEY takes two arguments, one of which is the last key but that arg is never referenced?
The various Tie docs don't shed any light on this other than this in perltie:
my $a = keys %{$self->{LIST}}; # reset each() iterator
looking at the doc for each doesn't add to this.
What's going on?
I would like my page action to be activated for all the outgoing links from a certain page. How might I go about doing that? I've gone over the docs to no avail. Any pointers would be appreciated!
Using the pysnmp framework i get some values doing a snmp walk. Unfortunately for the oid
1.3.6.1.21.69.1.5.8.1.2 (DOCS-CABLE-DEVICE-MIB)
i get a weird result which i cant correctly print here since it contains ascii chars like BEL ACK
When doing a repr i get:
OctetString('\x07\xd8\t\x17\x03\x184\x00')
But the output should look like:
2008-9-23,3:24:52.0
the format is called "DateAndTime". How can i translate the OctetString output to a "human readable" date/time ?
Hi,
I am using a third party library that provide some callbacks for a widget, but I'm not sure what the callback parameter objects are (no docs on them).
Is there a way to just dump all the attributes of an object in javascript, then print them using alert(), maybe? I just want to see what methods and attributes they contain,
Thanks
All the recent VisualSVN Server posts made me want to check it out. I have SVN running right now through Apache, but I'd like to try out VisualSVN Server, mostly for the active directory integration. Their docs don't describe whether you can easily migrate an existing repository. Anyone done this before?
HI,
I am just trying to set a field value and disable it at the same time.
Can this be done in ext js? The docs are very weak on this subject.
something like this generates errors:
myForm.getForm().findField('start_date').setValue('').setDisabled(true);
I'm used to JQuery which does this sort of thing nicely but haven't had luck with Ext.
Thanks for any help.
Hello,
I need to redirect myhomepage.com/ to myhomepage.com/sub/
When I read the guide at apache.org/docs/1.3/misc/rewriteguide.html I have no clue what they are talking about. Hence I decided to friendly ask one of the experts here. I guess it takes just some seconds to figure that rule out.
Thanks, Carin.
How can I view and override the full definition for built in classes? I have seen the library docs but am looking for something more.
For e.g. is it possible to override the Array Class such that the base index starts from 1 instead of 0, or to override .sort() of list to a sorting algorithm of my own liking?
Where I can find a complete list of all jQuery supported events (like click, mouseup etc) with some explanations when they are triggered? I am looking for those that can be binded:
$('#foo').bind('click', handler);
For example I just found out by accident that there is paste event but I can't find any references to it anywhere in their docs. What else is there?
I'm using dbms_scheduler to execute a PL/SQL stored procedure. I would like to be able to have that code create some text logging output and associate it with the run to verify it's working, but I can't find anything to do that in the docs. Is there a facility to do this that I'm missing? This is an 11g database running under Unix. It would be real nice if I could use dbms_output so I could also run it from sqlplus and get output.
According to this: http://code.google.com/appengine/docs/whatisgoogleappengine.html
it seems that GAE only uses Datastore to store data, which is equivalent with Table service on Windows Azure Platform.
Does anyone know that which RDBMS it uses? or such thing exists or not?
I read the http://htmlpurifier.org/docs/enduser-youtube.html doc, but I still can't figure out where to put the code to allow object, param and embed tags and Use experimental features with my htmlpurifier. Can someone please show me how to do this?
I'd like to dynamically be able to host client's domains, with just having to provide them instructions like this: http://www.tumblr.com/docs/en/custom_domains
I'm running a pretty typical LAMP stack; any good tutorials for configuring this on both the Apache and PHP side?
I can find the start coordinates of where a swipe starts by doing the following
- (void)oneFingerSwipeUp:(UISwipeGestureRecognizer *)recognizer
{
CGPoint point = [recognizer locationInView:[self view]];
NSLog(@"Swipe up - start location: %f,%f", point.x, point.y);
}
Is it possible to find the coordinates where the swipe ended?
I looked into the docs and its not mentioned. Is there some work around for this?
Many Thanks,
-Code
From the docs:
You usually access to-many
relationships using
mutableSetValueForKey:, which returns
a proxy object that both mutates the
relationship and sends appropriate
key-value observing notifications for
you.
So this returns an "intelligent" NSMutableSet which automatically lets the context delete objects when they get deleted from the set, and reverse? Is that a proxy object?
I'm trying to unit test an observer in rails but none of its callbacks are being invoked. I'm sure I have something configured incorrectly but just to be sure I was wondering if this may be a Rails limitation during unit testing.
I've looked at the docs and they don't mention anything.
I want to be able to map Google Docs' folder system to urls in my application and am just wondering how I can say "route, I want you to match an arbitrary set of nodes, and the last one is the file (or possibly a directory, I can check in the controller)".
So I could do things like:
www.mysite.com/documents/folder1/childfolderA/document
www.mysite.com/documents/root-level-doc
Can the routes.rb file do something like this?
I have actually 2 questions:
1)What is the difference between base64url encoding and base64 encoding and
2)How base64url encode is different from Facebooks base64url encode because facebook mentions that it sends url in a form of base64url but with no padding and two different characters. http://developers.facebook.com/docs/authentication/canvas (under Why Sign calls)
Can anyone plese provide a pseudocode with explaination for converting to and from each other.
Hi,
We are looking building intranet portal for our staff.
as we need
simple wiki
forum
groups
blog
download
docs
..etc
So which software can do this ?
Thanks.
Hi,
I want to sort document by relevancy i.e. First all docs having "Burj Khalifa" in title and then in summary field? and sort by publishdate as well. means latest documents must have high score.
criteria is like sort by score with publishdate
http://localhost:8080/solr/select?sort=score+desc,publishdate+desc&q=Burj Khalifa
What resources do folks use for UITableView related stuff? Apple's Docs seem sufficient , but am sure everyone has a UITableView reference that they use when implementing table views.
i want my lines to be drawn with negative color (taken from the screen under the line), i just didnt understand how the blending works, looked at docs etc, tested 50 combinations and so on. started to think its not possible at all...
could someone just give the two values, im tired of thinking how it works.
thanks,