Hi everyone, I'm asking here because I've search everywhere and could not find a correct solution about how to properly set a presence status using UCMA 1.0
Can you point me in the right direction?
Thanks.
Hi , when i want compile my app with the Distribution or Release method i get 140 ERRORS, i am using facebook connect on my app , and the path is right [my errors refer to fbconnect] , xcode runs my app fine on the debug !!!!!!! what's the problem ?
New here guys but have got a genuine problem. I have an iPhone app that was developed using SDK4. With apple introducing the new iOS version 6, does my code need to be recompiled on the new SDK to make it compatible with version 6?
Right now it crashes on iOS6. Also, do I need to do that everytime apple brings out a new version? I wonder every other app on earth already does that ?!
Thanks,
Raghav
Here is the node structure
class Node:
def __init__(self, data):
# initializes the data members
self.left = None
self.right = None
self.parent = None
self.data = data
complete binary tree
Definition: A binary tree in which every level, except possibly the deepest, is completely filled. At depth n, the height of the tree, all nodes must be as far left as possible.
-- http://www.itl.nist.gov/div897/sqg/dads/HTML/completeBinaryTree.html
I am looking for an efficient algorithm.
I have used the jQuery dialog code so that I can prompt my user. Is there a way to catch if the user clicks the close button (the 'X' in the top right? Thanks.
I am having an issue trying to work out how to use a function variable in a foreach loop so that I can do the following but its not working.
$var =
array(7) { [0]=> array(3) { ["listingId"]=> int(532712629) } [1]=> array(3) { ["listingId"]=> int(532712202) }
Works but not right:
foreach($var as $varr)
{
var_dump($varr['id']);
{
Goal - Having the array variable as the foreach value
foreach($var['id'] as $item)
{
if($item === $foo)
{
}
}
I have a virtual directory setup in one of my web apps that needs to not inherit the web.config of the main app so it can run on it's own. I am wondering how I can do this because right now when I hit it (mainwebapp.domain.com/virdir) it throws an error saying it can't find some dependencies that are listed in the main apps web.config (shows main app web.config in the error message), this virdir contains it's own little app that needs to just run standalone.
Suppose from index.py, i have post file .fasta to display file. I want to change .fasta file extension to **.aln in display file. How can i do it?
I am working right now on python cgi.
Thanks for listening
Right now I am writing a simulation program which output is formatted according to certain factors. The question is in a MVC architecture, where is the conditional formatting to be taken place? What are some strategies for implement this feature?
FYI, The platform I am using is rather bare-bone in its GUI/front-end execution. To change color and formatting, it requires a change to the formatting state (much like OpenGL).
In a big project where you have lots of resources (resx) what would be the right approaches and/or tools of translation in order to save time, at the same time keep everything in order and leave nothing behind.
More precisely, how to find (as far as translations are concerned) what has been modified (adds and removes are easy) of an entire .NET application from a previous version to another? Would resx technology help you there? How?
I have a child object in the database that looks like this:
CREATE TABLE Child
(
ChildId uniqueidentifier not null,
ParentId uniqueidentifier not null
)
An then I have a parent like so.
CREATE TABLE Parent
(
ParentId uniqueidentifier not null
)
Now, the problem is that in my Parent class, I have
public virtual Child Child { get; set; }
I've tried references, hasone, referencesany and can't seem to get the mapping right. Anyone have any ideas?
Thanks,
Simply, I'm just looking to get a list of connected remote disks.
I have a script right now that compares /Volumes/ to "diskutil -list" but that only gives me the name of the remote disks, not the actual address.
Anyone have ideas as to how I might go about doing this?
Thanks in advance.
I have a form posting data to a php page. Then I have the PHP page echoing the data aswell as posting it to twitter. Whenever In a word with an apostrophe it adds a back-slash right before it. So I type in "I'm going to the park" it echos "I\'m going to the park" what's going on and how do I fix it? Thanx :)
hi im new i have a UITextView field on a view and when i orientate the iphone to the right side the keyboard doestn move it stays horizontal. how do i make it move along?
Hey,
I'm trying to redirect something like foo/bar to ?foo=bar, so I can do www.mydomain.com/hey/foo/bar to www.mydomain.com/hey/?foo=bar, but I can't seem to get the syntax right. I tried the following:
RewriteEngine on
RewriteRule ^foo/(.*)$ ?foo=bar [NC]
But this doesn't work. How would I accomplish this? I tried adding a forward slash behind the question mark, but that makes it link to the root directory.
Thanks,
Jengerer
is there any pgp key dumping program like http://www.pgpdump.net/ that also shows the MPI values as well as the other information? the linked website's program will print out ... for the long MPI, which is perfectly logical, but I want to see the values since my program is for some reason getting all but one part right (reading an elgamal public key), and its messing with everything that comes afterwards. i want to see where im off by a few bits
Please tell me how can i show symbols like "lamada" or Mu using c#.net in desktop application. what i think is we may do it useing ASCII values and convert.toChar();.. if i am right that please give me link of page where i can get ASCII values of all such a sciencetific symbols.
I want to have pretty urls so http://www.domain.com/foo will return http://www.domain.com/foo.php
The issue is that there is a directory that has the same name. I have another page at http://www.domain.com/foo/bar/baz and right now my server just returns the directory listing of foo when I request http://www.domain.com/foo
Pseudocode:
If the request plus ".php" is a file
rewrite out the file instead of the directory
Actual Code:
RewriteEngine On
RewriteBase /
RewriteCond %{SCRIPT_FILENAME}\.php -f
RewriteRule (.*) $1.php [NC,L]
Let's say I have this:
SolutionSet(const SolutionSet &solutionSet) {
this->capacity_ = solutionSet.capacity_;
this->solutionsList_ = solutionSet.solutionsList_; // <--
}
And solutionsList_ is a vector<SomeType*> vect*. What is the correct way to copy that vector (I suppose that way I'm not doing it right..)?
How can I run a .sql file with the sqlcmd utility specifying to continue if there are errors?
Right now if an error occurs, the entire sql file aborts. Is there away around this?
So, we have a grails app set up with a Hudson CI build process. We're running unit tests, integration tests, and about to set up Selenium for some functional tests as well.
However, are there any good ways of fully testing a sites links to make sure nothing has broken in a release.
I know there's link checkers in general, but I'd like to have it be a part of the build process, so a build outright fails if something isn't right.
Total JacaScript n00b question right here:
I've made this snippet that clicks a link after 10th second:
function timeout() {
window.setTimeout(function() {
$('img.left').click();
}, 1000);
setTimeout("timeout()", 1000);
}
timeout();
My question is, how do I execute this function every 10th second, instead of just once?
Is this the best way to do this, or is there some kind of nifty jQuery method that you prefer?
I was playing around with ASP.NET Web Parts which has a "drop down" div. It's all the way to the right of the page. When I click to bring it up, it goes off the window. Usually anything off the viewable area will trigger the bottom scrollbars. How is this possible? See screenshot: http://i42.tinypic.com/4sejww.png