Displaying 20 results from an estimated 20000 matches similar to: "for loops"
2009 Aug 27
2
Comparing and adding two data series
Dear R helpers
I have two series A and B as given below -
A <- c(2, 2, 1, 3, 7, 3, 3, 1, 14, 7, 31)
B <- c(0.0728,0.9538,4.0140,0.0020,2.5593,0.1620,2.513,0.3798, .0033,0.2282, 0.1614)
I need to calculate the total in dataset B corresponding to the numbers in dataset A i.e. for no 1 in A, I need the total as 4.0140+0.3798 (as 1 is repeated twice)
for no 2, I need the total as
2008 Jan 05
3
Logout from xm console
Hi folks,
my problem:
i am using putty and german layout. if i login from dom0
with "xm console xen1" i can login into the xen1 (domU)
but how can i quit this console ?
i have tested several commands:
ctrl+5
ctrl+altgr+9
ctrl+c
ctrl+x
nothin happend. any hints ?
--
Have an nice day,
Viele Grüße
Dominique H Schramm
_______________________________________________
Xen-users
2012 Jul 05
11
testing shorewall6 on a virtual machine
I want to test shorewall6 in a scenario with several virtual machines. Each virtual machine has the interface eth0.
With IPv4, I would assign an IP-alias to eth0:1 and so would have eth0 and eth0:1 as interfaces for shorewall6.
How is this done with IPv6?
Viele Grüße
Andreas Rittershofer
--
------------------------------------------------------------------------------
Live Security
2007 Dec 16
3
xen and quota
Hi guys,
i am running xen 3.1.0 from sources at my debian server. at the domU
it
seems there are no quota functionality:
quotacheck -mav
quotacheck: Cannot stat() mounted device /dev/hda1: No such file or
directory
quotacheck: Cannot find filesystem to check or filesystem not mounted
with quota option.
cat /etc/fstab
cat /etc/fstab
# <file system> <mount point>
2016 Sep 16
3
Upgrade to 4.5 error (SLES 12 SP1)
Hi,
i upgrade to sles sp1 with sernet packages and get the following error after upgrade. Its looks like that port 135 will not reached.
Anyone who have an information about that or a solution?
Thanks
Sven
orion:~ # samba-tool drs showrepl
Failed to connect host 192.168.24.2 on port 135 - NT_STATUS_CONNECTION_REFUSED
Failed to connect host 192.168.24.2 (orion.domain.local) on port 135 -
2005 Sep 26
2
Deutsche Rails-Gruppe
Hallo!
Wenn du das hier lesen und verstehen kannst, interessiert dich vielleicht
auch dieser Link zur neuen deutschen Ruby On Rails-Usergroup:
http://rubyonrails-ug.de/
+ Weblog
+ Mailingliste
Viele Grüße
~Tobias
PS: Danke an die Gründer!
2008 Jun 19
2
Bump > Error in network-route script
Hello,
Was wondering if there is a solution to the error posted by "Dominique
H Schramm" on the 5 Jan 2008
I''ve just changed from network-bridge to network-route and just
noticed this problem
Thanks,
"""
Hi guys,
i got the following error:
/etc/xen/scripts/network-route: line 27:
/proc/sys/net/ipv4/conf/eth/proxy_arp:
no such file or directory
I use the
2010 Oct 20
3
[JOBS] Integrating a payment gateway into my current website.
I am looking for a web developer to integrate a payment gateway into
my current website. It currently has a shopping basket system but is
not connected to a payments provider.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2008 Mar 25
2
creating xenbr0 manually
Hi guys,
i use xen3.2. how can i manually create the xenbr0 ? which parameters
have i to choose for brctl ?
thanks,
--
Viele Grüße
Dominique Holger Schramm | Linux Administrator
http://schwarz-weiss.cc/ | Life between PuTTy and reality
http://ihr-linuxadmin.eu/ | Commercial Admin Service
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2018 Jan 16
3
idmap limit?
Am 16.01.2018 um 17:26 schrieb Rowland Penny via samba:
> On Tue, 16 Jan 2018 16:54:17 +0100
> Andreas Hauffe via samba <samba at lists.samba.org> wrote:
>
>> Ok, you are completely right. Here are the real numbers with changed
>> user names:
>>
>> drwx------ 43 DOM\user1 DOM\domain-user 4096 Jan 10 08:00
>> user1 drwx------ 5 DOM\user2
2012 Oct 01
12
Can I have Ruby on Rails without json
Hello,
On my Chakra linux machine the json gem would not get compiled,
I already made a issue for that.
But for continuing my project can I have ruby on rails without the json gem
?
And if so, how can I do this ?
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Jan 09
9
Problem with Sessions
Hi,
Using Netbeans 6.7.1,
Rails Gem Version 2.3.2
MySQL Server 5.1
I am currently doing the depot application from the pragmatic programmer
book (agile web development with rails) everything has been fine up until
the point of creating sessions. I know they are using an earlier version of
Ruby and the gems version is 2.2.2. As soon as I put the necessary code in
the website no longer works and
2018 Mar 14
2
Comparison of huge files ineffective?
Hi,
how does rsync work if it compares two very huge files on two distinct
hosts (rsync uses a networked connection, via SSH)?
Some observation seems to indicate, that rsync first reads (and
checksums?) the remote (destination) side, then, if finished, it reads
(and checksums?) the local (source) side and then starts transferring
the delta if done with the comparison of these two files on both
2010 Nov 09
3
Rails 3 Action Mailer issue
Hi All,
I am trying to send an email on a user sign up. The email is working
without any issues. However there is a problem with the :from field
that I am specifying. My SMTP setting look like :
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => "587",
:domain => "test.com",
2018 Dec 30
2
--partial does not "unhide" the files
Hi,
I used --partial to transfer files from my local computer (rsync 3.1.2,
Debian) to a remote computer (rsync 3.1.1 WD MyPassport Storage device)
The files get transferred, but after successful transfer, the files
are not renamed from .<tmpfile> to <file>.
Where to go next?
Here is the verbose output after transferring an empty file
heiko at blade:~/Pictures$ rsync
2012 Sep 14
5
ruby server chrashes
Hello,
When I do rails server it chrashed with this ouput :
http://pastebin.com/DJ21qC5h
Anyone a idea what is the cause of this problem and how to solve this ?
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2012 Oct 11
4
what;s the right url in this case
Hello,
I have this models
class Berichten < ActiveRecord::Base
attr_accessible :bericht, :user
belongs_to :user
belongs_to :Category
end
class User < ActiveRecord::Base
attr_accessible :email, :name
has_many :berichten
end
class Category < ActiveRecord::Base
attr_accessible :id :name
has_many :berichten
end
What I wonder is what the right url is when I want to place a
2012 Sep 10
4
Object Efficiency
So I am using rufus-scheduler to call a controller which in turn calls an
email receiver to check emails...
In my controller, I have an instance method called checkEmail
In my rufus config file, I have to call MyController.new.checkEmail. Now I
set it to run every 5 minutes. So the system creates a new MyController
instance every 5 minutes. That''s very inefficient right?
I guess
2010 Jun 29
3
belongs_to. Association methods don't pass data to DB
Hi.
I have a problem with the association methods which passed to a model
through a belongs_to declaration. Here''s an illustration of the issue:
GIVEN:
# migration
class CreateArticlesAndAuthorsTables < ActiveRecord::Migration
def self.up
create_table :articles do |t|
t.text :title
t.integer :author_id
end
create_table :authors do |t|
t.text
2009 Dec 12
2
View change on db field change
I have an issue whereby, say I have a button in a view......that shows
one way if a boolean field in a db is true, and another way when it is
false.
When the value of that field in the db changes, I want the button;s
state in the view to change as well.
How would you guys recommend I do this? Thanks, R.Vince
--
You received this message because you are subscribed to the Google Groups "Ruby