Displaying 20 results from an estimated 4000 matches similar to: "(no subject)"
2006 May 26
3
Breakdowns in has_many abstraction
I discovered an interesting aspect of has_many behavior that I''m
struggling to work around. I''m not sure if I''m doing something wrong,
or if it''s a legitimate bug, or if it''s an inherent part of Rails that
I just have to learn to deal with.
It boils down to these two problems:
- changes in collection objects (i.e. models that belong_to a
container
2007 May 31
3
where to get list of all ActiveRecord classes
Anybody know how to get a list of all your model classes from a rails
environment?
I''d like to do something like "ActiveRecord::Base.subclasses" but that
gives me:
pcollins@horatio:~/proj/foobox$ script/console
Loading development environment.
>> ActiveRecord::Base.subclasses
NoMethodError: protected method `subclasses'' called ...
Anybody know how to do
2007 Feb 27
3
Icecast source encoder that can handle http streams?
I need to set up an icecast server which will stream out local MP3s
sometimes and relay another internet radio station at other times. In
order to do this, it seems like the icecast relay support won't help
me - there's no way to turn that on and off without changing the
icecast config and restarting the server. The only external icecast
source app that seems to handle http
2008 Sep 24
3
Changing a plot
Hello list,
I've been working on this problem for a while and I haven't been able
to come up with a solution.
I have a couple of functions that plot a bunch of data, then a single
point on top of it. What I want is to be able to change the plot of
the point without replotting all the data. Consider the following
example:
x = rnorm(100,1,0.5)
y = rnorm(100,1,0.5)
plot(x,y,pch=16)
2015 Mar 19
2
libvirt-python Segfaults
Hello
I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I
tried installing the binaries from the repo itself:
1.
root@test-vm8-109:/home/test# libvirtd --version
libvirtd (libvirt) 1.2.2
root@test-vm8-109:/home/test# python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or
2015 Mar 20
1
Re: libvirt-python Segfaults
Hi Harish,
I believe the proper establishment of a connection should be done by libvirt.open()
or libvirt.openAuth() or libvirt.openReadOnly(). All of them will return a functional
virConnect instance.
I'm not sure this segfault is worth to fix since instantiate a virConnect directly
is not an expected usage.
Hope this information will help you.
Best Regards,
Hao Liu
+86-010-62608262
2015 Oct 30
2
Re: Creating network interfaces with specific name in LXC
Thanks Martin. What I would like to achieve is govern the interface name
created within the container, so that my application can take different
actions on different interfaces (such as eth0, eth1 etc.,).
Libvirt's lxc driver seems to create interfaces as eth0, eth1 and so on,
when there are multiple <interface /> entries in the domain xml. How can I
request for a particular interface
2012 Jan 18
4
R-Help
I am trying to create a frequency distribution and I am a bit confused.
Here are the commands I have entered:
> data <- read.csv(file="40609_sortedfinal.csv",head=TRUE,sep=",")
> NumberOfActionsByStatus = data$STATUS
> NumberOfActionsByUser = data$ETS_LOGIN
> NumberOfBidOffer = data$BID_OFFER
> NumberOfActionsByUser.freq = table(NumberOfActionsByUser)
>
2006 Jul 06
6
Functional tsts
Hi all,
I have created projects module in my application using scaffold,
and it created me everything, and all the modules are working except the
functional test. This is the error
1) Failure:
test_create(ProjectsControllerTest)
[test/functional/projects_controller_test.rb
:55]:
Expected response to be a <:redirect>, but was <200>
8 tests, 25 assertions, 1 failures, 0
2011 Nov 11
6
Puppet in a bash script
Hello,
I''m using puppet via a bash script when I spin up a machine to configure
it. I''d like to restart the instance after puppet''s run is complete. In
my bash script I have:
puppet agent --test
shutdown -r now
Puppet runs to completion, but "shutdown -r now" never executes. I''m not
sure why not - these are the last two lines in my bash
2006 Jul 05
3
list of users
Hi all,
I''m creating admin module. in that module i need to get the list of
users and also the projects created by the each user.
No doubt i''m getting the list of users. but i''m not getting the list
of projects done by each user..
This is my code::
<% for user in @users %>
<%=link_to
2015 Oct 30
2
Creating network interfaces with specific name in LXC
Hello
I am trying to create interfaces within an LXC container with specific
name. I am using the following XML:
<interface type='network' name='blah'>
<source network='dpbr_n_0'/>
</interface>
This doesn't seem to work; it always ends up creating interface with name
as "eth0".
I found some examples here:
2006 Jul 05
4
Rails Web Hosting?
Hi,
Where can I find Rails web hosting? I wish to get a domain name + web
hosting.
Kind Regards,
Lennie De Villiers
OpenMind Connections
Website: HYPERLINK
"http://www.openmindconnections.co.za/"www.openmindconnections.co.za
Win-Ads: HYPERLINK "http://www.win-ads.co.za/"www.win-ads.co.za ? Online
Advertisement Coming Soon!
--
No virus found in this
2015 Apr 20
2
Mounting directory as readonly within LXC
Hello
Is there a way to mount a directory as readonly when using LXC with libvirt?
Something like:
<filesystem type="mount">
<source dir="/sw/py27/python2.7_x86_64"/>
<target dir="/opt//py27"/>
<readonly/>
</filesystem>
The documentation says
2006 Jul 04
4
Please help me
Hi all,
I''m getting the list of my projects in the page. But i want to get
the list according the month, i.e., if i select july in the drop down
then i should get the
list of projects done in the month of july..
Please reply..
Regards,
Harish
--
Posted via http://www.ruby-forum.com/.
2015 Mar 19
3
Building libvirt 1.2.13 from source
Hello
I am trying to build libvirt 1.2.13 (latest) from source on a Ubuntu 14.04
64 bit box. After installing all the dependencies (libyajl, libdevmapper,
libpciaccess, libnl), I could finish the build and install. However,
invoking libvirtd throws this:
root@ubuntu:/home/hvishwanath/Downloads/libvirt-1.2.13# libvirtd
libvirtd: /usr/lib/libvirt-qemu.so.0: version `LIBVIRT_QEMU_1.2.3' not
2016 Nov 08
3
Sharing network namespace between containers
Hello
Based on the lxc driver documentation, I am trying to create an xml to
share an existing network namespace with another container. I am running
libvirt 1.2.15.
Here is the xml:
<domain type='lxc' xmlns:lxc='http://libvirt.org/schemas/domain/lxc/1.0'>
<name>nt</name>
<uuid>43c00192-e114-4e29-8ce7-4b5487f60a75</uuid>
<memory
2006 Jun 26
1
domU to domU configuration
Was setting up 2 domUs on the same xen machine. Is there any benefit in using
the same bridge vs. two separate bridges (one for each domU) incases where we
are interested in only domU-domU network traffic? What will be the preferred
configuration?
thanks in advance,
harish
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2006 Aug 01
3
Rails Application Failed to start properly
Hi all,
I have created a new application and Its working fine in my local
system and also in the server.
But after some days I have added one new controller(projects) in the
admin module so that the admin can manage the projects. Its also working
good.
All the things are working in the application but in the admin module,
admin should see the list of users and if the admin click on
2004 Aug 06
2
IceS and Icecast for real time streaming...
Hi all,
I have requirement for one of my college projects - to build
an on-demand streaming music web site. Users will be able to upload songs
to the server and other members of the site will be able to listen and
rate them on their quality etc.
Here is a little background about my development architecture - I am
using a Linux box with Apache as my web server and Icecast (obviously) as my
MP3