Displaying 20 results from an estimated 24 matches for "get_connections".
2011 Sep 19
7
how to get instance variables in another action in rails 3
In my controller show method i have two instance variables which have
large amount of data and take much time to fetch from remote system.
shown below
def show
@graph = Koala::Facebook::GraphAPI.new(session[:fbuser]
["credentials"]["token"])
@friends = @graph.get_connections("me", "friends")
@friends =@friends.to_a
end
in the same controller I have another action which requires same data.
shown below
def list
@graph ||= Koala::Facebook::GraphAPI.new(session[:fbuser]
["credentials"]["token"])
@friends ||= @graph.ge...
2008 Aug 30
3
Updated version of patch
Attached is a patch against shout-python-0.2 which does two trivial but
very useful things
(1) The function "get_connected" is exported so that shout-python
becomes usable
in nonblocking mode. In the current version of shout-python "open"
raises an exception in nonblocking mode.
(2) The global interpreter lock is released in the potentially blocking
functions
2004 Aug 06
2
icecast + irix
Yeah, alright, it configures fine, and here's what happens when i make.
>make
.....yadayadayada..just some warnings here.....
(here is where it dies)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall
-c connection.c
connection.c: In function `get_connection':
connection.c:191: `fd_set' undeclared (first use in this function)
connection.c:191: (Each undeclared
2003 Jan 20
0
HP-UX 11.11 question
I recently compiled 3.5p1 on a HP-UX 11.11 box.
Any time I use ssh (either locally or connecting from remote) I get a
Memory fault. The backtrace in gdb looks something like this (from
memory):
Libc (free())
Libc (something else)
Libnss (something related to DNS)
Libc
Ssh (get_connect())
I think it's the get_connect or get_connection in ssh where the called
function is failing. This
2013 May 08
1
Using koala get facebook albums photos
Hi Folks,
Good day,
I need to display my facebook album photos in my application.
I used *Koala *for facebook API.
I used this query for getting my album photos,
*current_user.facebook.get_connection("me","albums")*
by using this i can get only the albums details.
*"I need my photos which i upload in facebook "*
*
*
Please advise.
Thank you
--
You received
2004 Aug 06
2
icecast + irix
well i fixed it a bit, if you add
#include <sys/select.h>
it gets rid of:
connection.c:192: `fd_set' undeclared (first use in this function)
connection.c:192: (Each undeclared identifier is reported only once
connection.c:192: for each function it appears in.)
connection.c:192: parse error before "rfds"
connection.c:193: storage size of `tv' isn't known
2012 May 01
1
uninitialized constant LoginController in Ruby
...ok_cookies
@facebook_cookies =
Koala::Facebook::OAuth.new.get_user_info_from_cookie(cookies)
end
end
This is my login_controller.rb
class LoginController < ApplicationController
def index
graph =
Koala::Facebook::GraphAPI.new(@facebook_cookies["access_token"])
@likes = graph.get_connections("me", "likes")
end
I am using Rails 3 and the error I am getting is this: uninitialized
constant LoginController in Ruby.
I did rake routes and got this:
home_index GET /home/index(.:format) home#index
login_index GET /login/index(.:format) login#index
--
You received th...
2009 Feb 09
9
virt-manager and virt-install can''t use with new built xvm 3.3
Hi Dave,
I built successfully an xvm 3.3 system. However, I found virt-manager
and virt-install don''t work. I attached the error messages of both as
below.
xm tool seems to work. I can run OpenSolaris200811 LiveCD and install
it onto file based disk.
The error messages of virt-manager:
====start of error message====
Unable to open connection to hypervisor URI ''xen'':
2004 Aug 06
0
icecast + irix
> well i fixed it a bit, if you add
>
> #include <sys/select.h>
>
> it gets rid of:
>
> connection.c:192: `fd_set' undeclared (first use in this function)
> connection.c:192: (Each undeclared identifier is reported only once
> connection.c:192: for each function it appears in.)
> connection.c:192: parse error before "rfds"
>
2013 May 30
0
Import friends
...id= params[:mail]
logger.debug(''CURRENT'')
logger.debug( current_user.authentications[0][''token''] )
if( access_token = current_user.authentications[0][''token''] )
@graph = Koala::Facebook::GraphAPI.new(access_token)
*@graph.get_connections("me", "mutualfriends/#{friend_id}")*
begin
*@graph.put_object("me", "feed", :message => "hi,
#{current_user.user_name} has sent you request to join my project.")*
rescue
flash[:alert] = "Already Posted"...
2008 Sep 10
2
Updated version of patch
>This is in subversion now. I'll try to get a new release out this
>weekend. Thanks!
Thanks!
But I noticed that giving up the global interpretor lock
in a few functions allows other threads to do something stupid (like
deleting
the shout object during a write).
So for everything to be absolutely thread safe a python shout object
should contain a mutex and there should
be appropriate
2004 Aug 06
2
icecast + irix
Just wondering if anyone has tried to compile icecast on a SGI machine
running irix 6.5.14 or the like. I tried w/ a bunch of differnet
compiler options, (using gcc for the compiler) just to get a myriad of
errors.
Thanks,
Jeff Utter
<p><p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this
2004 Aug 06
3
icecast + irix
nah, i had <sys/time.h> already
grr. what could it be
> > well i fixed it a bit, if you add
> >
> > #include <sys/select.h>
> >
> > it gets rid of:
> >
> > connection.c:192: `fd_set' undeclared (first use in this function)
> > connection.c:192: (Each undeclared identifier is reported only once
> > connection.c:192: for each
2006 Mar 28
74
Is this an elaborate hoax/troll?
I sure hope so:
http://duckdown.blogspot.com/2006/03/additional-thoughts-on-why-ruby-isnt.html
Seems like it''s getting genuine rebuttals, though. It''s actually kind
of amusing.
2019 Feb 04
2
Installing libvirt and Xen on Red Hat 7.5
Hi,
I am installing OpenStack on Red Hat 7.5. For Nova compute component, I
choose libvirt and Xen.
However, I am running into some problems. It seems libvirt is unable to
communicate with Xen.
Xen installation:
I installed Xen410 using "Xen make easy"
https://xen.crc.id.au/support/guides/install/. Here is a list of packages
installed and verification that Xen is running.
#
2019 May 23
2
[PATCH libnbd] api: Get rid of nbd_connection.
This isn't quite finished because not all of the tests or examples
have been updated, but it demonstrates an idea: Should we forget about
the concept of having multiple connections managed under a single
handle?
In this patch there is a single ‘struct nbd_handle *’ which manages a
single state machine and connection (and therefore no nbd_connection).
To connect to a multi-conn server you must
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased
with changes from upstream.
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
Users can now:
* Add a new storage pool.
* Delete a storage pool.
* Start and stop storage pools.
* Add a new storage volume.
* Delete a storage volume.
* List existing storage pools, with details.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
Makefile.am | 31 +++++---
nodeadmin/addpool.py | 182 ++++++++++++++++++++++++++++++++++++++++++++
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that,
it refactors the domain administration pieces to now properly use storage pools
and volumes when defining a new VM.