LinuxKnight

Activity Graph

Page 1 of 1

2018-12-10

[11:17:07] LinuxKnight: Remote host closed the connection

2018-12-09

[11:18:17] LinuxKnight: Remote host closed the connection
[11:18:40] LinuxKnight: has joined #ruby

2018-12-08

[11:18:04] LinuxKnight: Remote host closed the connection
[11:18:28] LinuxKnight: has joined #ruby

2018-12-07

[10:07:42] LinuxKnight: Remote host closed the connection
[10:08:05] LinuxKnight: has joined #ruby
[10:59:22] LinuxKnight: Ping timeout: 268 seconds
[11:18:08] LinuxKnight: has joined #ruby

2018-12-06

[10:07:24] LinuxKnight: Remote host closed the connection
[10:07:47] LinuxKnight: has joined #ruby

2018-12-05

[10:06:56] LinuxKnight: Remote host closed the connection
[10:07:18] LinuxKnight: has joined #ruby

2018-12-04

[10:06:36] LinuxKnight: Remote host closed the connection
[10:06:59] LinuxKnight: has joined #ruby

2018-12-03

[10:06:18] LinuxKnight: Remote host closed the connection
[10:06:41] LinuxKnight: has joined #ruby

2018-12-02

[10:05:58] LinuxKnight: Remote host closed the connection
[10:06:22] LinuxKnight: has joined #ruby

2018-12-01

[10:05:33] LinuxKnight: Remote host closed the connection
[10:05:57] LinuxKnight: has joined #ruby

2018-11-30

[10:05:15] LinuxKnight: Remote host closed the connection
[10:05:39] LinuxKnight: has joined #ruby

2018-11-29

[10:04:58] LinuxKnight: Remote host closed the connection
[10:05:21] LinuxKnight: has joined #ruby

2018-11-28

[10:04:35] LinuxKnight: Remote host closed the connection
[10:04:57] LinuxKnight: has joined #ruby

2018-11-27

[10:04:01] LinuxKnight: Remote host closed the connection
[10:04:24] LinuxKnight: has joined #ruby

2018-11-26

[10:03:45] LinuxKnight: Remote host closed the connection
[10:04:07] LinuxKnight: has joined #ruby

2018-11-25

[10:03:27] LinuxKnight: Remote host closed the connection
[10:03:49] LinuxKnight: has joined #ruby

2018-11-24

[10:03:08] LinuxKnight: Remote host closed the connection
[10:03:36] LinuxKnight: has joined #ruby

2018-11-23

[10:02:52] LinuxKnight: Remote host closed the connection
[10:03:14] LinuxKnight: has joined #ruby

2018-11-22

[00:11:17] LinuxKnight: Ping timeout: 268 seconds
[10:02:53] LinuxKnight: has joined #ruby

2018-11-21

[12:35:29] LinuxKnight: Remote host closed the connection
[12:35:50] LinuxKnight: has joined #ruby

2018-11-20

[12:35:12] LinuxKnight: Remote host closed the connection
[12:35:33] LinuxKnight: has joined #ruby

2018-11-19

[12:34:56] LinuxKnight: Remote host closed the connection
[12:35:18] LinuxKnight: has joined #ruby

2018-11-18

[12:34:40] LinuxKnight: Remote host closed the connection
[12:35:03] LinuxKnight: has joined #ruby

2018-11-17

[12:34:20] LinuxKnight: Remote host closed the connection
[12:34:43] LinuxKnight: has joined #ruby

2018-11-16

[12:33:59] LinuxKnight: Remote host closed the connection
[12:34:22] LinuxKnight: has joined #ruby

2018-11-15

[12:33:44] LinuxKnight: Remote host closed the connection
[12:34:07] LinuxKnight: has joined #ruby

2018-11-14

[12:33:26] LinuxKnight: Remote host closed the connection
[12:33:48] LinuxKnight: has joined #ruby
[13:13:03] LinuxKnight: Dear Ruby experts, can you please guide me how to limitize an inner loop to run only for one iteration? when nested in one or more outer loops? I am going in circles with no solutions so far.
[15:18:30] LinuxKnight: Hello All, I need some help to make sure that the inner loop in following example runs only once , please suggest : https://carc.in/#/r/5iq7
[18:16:28] LinuxKnight: foldr, jhass, phaul, I got timed out and moved away from desk, please allow me some time to read back and reply
[18:21:39] LinuxKnight: foldr, jhass, phaul, i amsure not trying to use your help for a specific solution, however, what i am doing for real is trying to make a multi provider , multi vm vagrantfile ;
[18:22:34] LinuxKnight: need for nested loop is to decide and apply count of disks , count of network adapters
[18:23:35] LinuxKnight: so, i am trying to understand and solve that as per the required fundaments
[18:42:07] LinuxKnight: Eiam, you are right but since the file uses Ruby and needed a specific looping experience, I thought that awesome people here could help either ways
[18:46:00] LinuxKnight: Eiam, so this loop is needed because when I need to apply the additional devices to a vagrant vm, the customization can be provider specific , it makes sense to work such statements in an inner loop
[18:47:04] LinuxKnight: say I want a createhd satement to run, once, it instead runs 4times being being nested.
[18:59:57] LinuxKnight: foldr, jhass, phaul, its late for me and I got to go again, but thanks for trying to help as always, in case you want to dig into the exact Vagrant I am trying to get done and hitting wall with unbreakable loop then here it is - > https://carc.in/#/r/5irn
[19:02:10] LinuxKnight: (inspired by https://github.com/scottslowe 's work - but trying to address addition of additional disk and net devices)

2018-11-13

[12:32:58] LinuxKnight: Remote host closed the connection
[12:33:20] LinuxKnight: has joined #ruby

2018-11-12

[12:00:14] LinuxKnight: has joined #ruby
[12:04:48] LinuxKnight: Hello Ruby Saints, a Ruby rookie here .. actually trying to get a Vagrantfile done ;
[12:04:53] LinuxKnight: Please help me correct the following syntax to use the value of the variable addon_disk_count as below: this variable is a sub variable in a JSON code
[12:05:14] LinuxKnight: (1..opts[:addon_disk_count]).each do |i|
[12:06:04] LinuxKnight: I suppose I need to be able to use some kind of escape sequence for "opts[:addon_disk_count]"
[12:06:19] LinuxKnight: please suggest
[12:32:41] LinuxKnight: Quit: Leaving
[12:33:00] LinuxKnight: has joined #ruby
[15:17:04] LinuxKnight: phaul, thanks for looking into my request, the vagrant-error I get with that ruby is "Message: ArgumentError: bad value for range"
[15:18:40] LinuxKnight: the given ruby code, yes
[15:19:34] LinuxKnight: (1..opts[:addon_disk_count]).each do |i|
[15:21:46] LinuxKnight: yes it is an int
[15:24:59] LinuxKnight: previous puts did report the correct variable value, let me try the recent one suggested above
[15:28:36] LinuxKnight: phaul, TvL2386, you are right, my rookie skills - that wasn't an int :-)
[15:28:56] LinuxKnight: with your help!
[15:29:44] LinuxKnight: much thanks guys! I hope to sort out rest of my code, wish you all a great time and hope to hang around and see you again!
[15:30:00] LinuxKnight: "$ vagrant up
[15:30:01] LinuxKnight: opts[:addon_disk_count] is 2 and is a String
[15:31:08] LinuxKnight: in the Vagrant file, i is usedto create and attach disks to a vm
[15:32:48] LinuxKnight: ok, and that does what?
[15:33:06] LinuxKnight: ACTION tempted to pick up a Ruby book 
[15:34:35] LinuxKnight: ok, I'll give this a thought once I have a working overarching proof of my vagrant file
[15:34:40] LinuxKnight: thanks a lot!
[15:34:56] LinuxKnight: TvL2386++ phaul++