00:02
lightstalker has quit [Ping timeout: 265 seconds]
00:05
lightstalker has joined #ruby
00:08
alfiemax has quit [Remote host closed the connection]
00:09
BSaboia has joined #ruby
00:09
rusua has joined #ruby
00:19
BSaboia has quit [Quit: This computer has gone to sleep]
00:20
BSaboia has joined #ruby
00:22
gix has quit [Ping timeout: 265 seconds]
00:28
alfiemax has joined #ruby
00:28
alfiemax has quit [Remote host closed the connection]
00:29
alfiemax has joined #ruby
00:33
alfiemax has quit [Ping timeout: 240 seconds]
00:33
ur5us has quit [Ping timeout: 260 seconds]
00:35
cliluw has joined #ruby
00:40
poro has joined #ruby
00:48
<
Dirak >
in Ruby, how can I debug what instance variables are available in my class via the rails console?
00:49
imode has quit [Ping timeout: 256 seconds]
00:49
howdoi has quit [Quit: Connection closed for inactivity]
00:51
imode has joined #ruby
00:51
kinduff has quit [Read error: Connection reset by peer]
00:52
kinduff has joined #ruby
00:54
quazimodo has quit [Read error: Connection reset by peer]
01:00
quazimodo has joined #ruby
01:02
<
havenwood >
Dirak: Do you mean which attributes?
01:03
<
havenwood >
Dirak: klass.attribute_names
01:03
<
havenwood >
Dirak: klass.instance_variables
01:06
ur5us has joined #ruby
01:11
meinside has joined #ruby
01:14
raj has quit [Quit: Just quitting]
01:18
imode has quit [Ping timeout: 264 seconds]
01:19
imode has joined #ruby
01:30
Benett has quit [Remote host closed the connection]
01:33
Benett has joined #ruby
02:00
poro has quit [Quit: Leaving]
02:02
cliluw has quit [Read error: Connection reset by peer]
02:03
BSaboia has quit [Quit: This computer has gone to sleep]
02:03
cliluw has joined #ruby
02:04
BSaboia has joined #ruby
02:05
cliluw has quit [Max SendQ exceeded]
02:06
raj has joined #ruby
02:07
cliluw has joined #ruby
02:08
ttoocs has joined #ruby
02:09
cliluw has quit [Read error: Connection reset by peer]
02:12
howdoi has joined #ruby
02:22
BSaboia has quit [Quit: This computer has gone to sleep]
02:23
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:24
nicholaslyang has joined #ruby
02:35
kinduff has quit [Ping timeout: 265 seconds]
02:44
Rakko has joined #ruby
02:45
postmodern has joined #ruby
02:45
rafadc has quit [Read error: Connection reset by peer]
02:46
rafadc has joined #ruby
02:47
BSaboia has joined #ruby
02:55
BSaboia has quit [Quit: This computer has gone to sleep]
02:58
rusua has quit [Quit: Connection closed for inactivity]
03:15
drincruz has joined #ruby
03:15
r3m has quit [Quit: WeeChat 2.9-dev]
03:15
r3m has joined #ruby
03:19
drincruz has quit [Ping timeout: 246 seconds]
03:23
imode has quit [Ping timeout: 240 seconds]
03:24
imode has joined #ruby
03:24
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:37
alfiemax has joined #ruby
03:40
Dirak has quit [Ping timeout: 260 seconds]
03:54
ChmEarl has quit [Quit: Leaving]
04:05
gitter1234 has quit [Quit: Connection closed for inactivity]
04:07
alfiemax has quit [Remote host closed the connection]
04:08
skx86 has joined #ruby
04:08
cd has quit [Quit: cd]
04:09
donofrio has quit [Remote host closed the connection]
04:12
deimos_ has quit [Quit: leaving]
04:12
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:15
Rakko has quit [Quit: Leaving]
04:15
skx86 has quit [Quit: Updating details, brb]
04:15
skx86 has joined #ruby
04:15
nicholaslyang has joined #ruby
04:25
deimos_ has joined #ruby
04:26
skx86 has quit [Quit: Updating details, brb]
04:26
skx86 has joined #ruby
04:28
alfiemax has joined #ruby
04:29
chalkmonster has quit [Quit: WeeChat 2.8]
04:30
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:33
segy has quit [Ping timeout: 264 seconds]
04:34
segy has joined #ruby
04:38
segy has quit [Ping timeout: 265 seconds]
04:40
segy has joined #ruby
04:46
segy has quit [Ping timeout: 260 seconds]
04:48
segy has joined #ruby
04:52
nicholaslyang has joined #ruby
04:54
nicholaslyang has quit [Client Quit]
05:06
chalkmonster has joined #ruby
05:12
BTRE has quit [Ping timeout: 264 seconds]
05:13
nicholaslyang has joined #ruby
05:15
nicholaslyang has quit [Client Quit]
05:16
BTRE has joined #ruby
05:16
segy_ has joined #ruby
05:17
segy has quit [Ping timeout: 264 seconds]
05:17
segy_ is now known as segy
05:23
stryek has quit [Quit: Connection closed for inactivity]
05:23
segy_ has joined #ruby
05:24
segy has quit [Ping timeout: 260 seconds]
05:24
segy_ is now known as segy
05:28
nicholaslyang has joined #ruby
05:28
ur5us has quit [Ping timeout: 256 seconds]
05:37
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:47
segy has quit [Ping timeout: 256 seconds]
05:48
segy has joined #ruby
05:57
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:57
nicholaslyang has joined #ruby
05:58
nicholaslyang has quit [Client Quit]
05:59
segy has quit [Ping timeout: 264 seconds]
05:59
segy has joined #ruby
06:06
nicholaslyang has joined #ruby
06:07
nicholaslyang has quit [Client Quit]
06:08
BTRE has quit [Ping timeout: 256 seconds]
06:09
segy has quit [Ping timeout: 265 seconds]
06:11
segy has joined #ruby
06:12
nicholaslyang has joined #ruby
06:13
Xiti` is now known as Xiti
06:20
segy_ has joined #ruby
06:20
segy has quit [Ping timeout: 256 seconds]
06:21
segy_ is now known as segy
06:23
bradfordli has joined #ruby
06:25
<
bradfordli >
How can I set strong parameters to simply be one level? For example `{test: 1, foo: 2}`. RIght now I have `params.require(:user).permit(:first_name, :last_name, :email)` which requires a user symbol
06:25
snickers has joined #ruby
06:27
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:34
segy has quit [Ping timeout: 256 seconds]
06:36
conta has joined #ruby
06:37
segy has joined #ruby
06:38
cxl has quit [Quit: bye]
06:41
vondruch has joined #ruby
06:59
alfiemax has quit [Remote host closed the connection]
07:04
venmx has joined #ruby
07:07
chalkmonster has quit [Read error: Connection reset by peer]
07:08
chalkmonster has joined #ruby
07:11
nicholaslyang has joined #ruby
07:12
chalkmonster has quit [Read error: Connection reset by peer]
07:22
howdoi has quit [Quit: Connection closed for inactivity]
07:33
birkbeggar has joined #ruby
07:33
neheist2 has quit [Remote host closed the connection]
07:33
birkbeggar has quit [Client Quit]
07:40
nostrooo has joined #ruby
07:46
ur5us has joined #ruby
07:49
schne1der has joined #ruby
07:49
roadie has joined #ruby
08:01
vondruch has quit [Ping timeout: 258 seconds]
08:04
jenrzzz has quit [Ping timeout: 258 seconds]
08:08
jetchisel has quit [Ping timeout: 258 seconds]
08:10
jetchisel has joined #ruby
08:11
chalkmonster has joined #ruby
08:20
alfiemax has joined #ruby
08:24
jetchisel has quit [Ping timeout: 260 seconds]
08:25
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:26
AndreYuhai has joined #ruby
08:30
ua_ has quit [Ping timeout: 260 seconds]
08:31
bga57 has quit [Ping timeout: 264 seconds]
08:33
<
AndreYuhai >
Hey there, in rails why doesn't an instance of an object get the foreign ID automatically from its parent, if the parent already exists in the DB?
08:34
<
AndreYuhai >
If the parent is a new object as well, that's fine but if the parent already exists in the DB then the IDs do not get set.
08:34
nostrooo has quit [Read error: Connection reset by peer]
08:34
bga57 has joined #ruby
08:42
ua_ has joined #ruby
08:44
jenrzzz has joined #ruby
08:44
<
CommunistWolf >
I hate leetcote, hackerrank, etc
08:45
<
CommunistWolf >
(replying to an old convo)
08:45
<
CommunistWolf >
leetcode*
08:47
neheist2 has joined #ruby
08:49
vondruch has joined #ruby
08:50
alfiemax has quit [Remote host closed the connection]
08:50
nicholaslyang has joined #ruby
08:54
nicholaslyang has quit [Client Quit]
08:56
neheist2 has quit [Read error: Connection reset by peer]
09:02
alfiemax has joined #ruby
09:06
alfiemax has quit [Ping timeout: 256 seconds]
09:10
nicholaslyang has joined #ruby
09:10
bga57 has quit [Ping timeout: 246 seconds]
09:11
nicholaslyang has quit [Client Quit]
09:13
alfiemax has joined #ruby
09:15
jenrzzz has quit [Ping timeout: 240 seconds]
09:19
jenrzzz has joined #ruby
09:21
mr_rich101 has quit [Ping timeout: 265 seconds]
09:23
poro has joined #ruby
09:24
jenrzzz has quit [Ping timeout: 264 seconds]
09:25
bga57 has joined #ruby
09:30
mr_rich101 has joined #ruby
09:42
imode has quit [Ping timeout: 260 seconds]
09:46
alfiemax has quit [Remote host closed the connection]
09:49
nicholaslyang has joined #ruby
09:50
nicholaslyang has quit [Client Quit]
09:53
jenrzzz has joined #ruby
09:54
bga57 has quit [Ping timeout: 246 seconds]
09:55
nicholaslyang has joined #ruby
09:56
nicholaslyang has quit [Client Quit]
09:56
ur5us has quit [Ping timeout: 256 seconds]
09:58
ddgrr has joined #ruby
09:58
ddgrr has left #ruby [#ruby]
10:00
bradfordli has quit []
10:08
bga57 has joined #ruby
10:08
duderonomy has quit [Ping timeout: 246 seconds]
10:09
alfiemax has joined #ruby
10:09
BTRE has joined #ruby
10:17
nicholaslyang has joined #ruby
10:18
nicholaslyang has quit [Client Quit]
10:20
poro has quit [Quit: Leaving]
10:21
roadie has quit [Ping timeout: 272 seconds]
10:29
roadie has joined #ruby
10:30
fercell has joined #ruby
10:32
alfiemax has quit [Remote host closed the connection]
10:33
vondruch has quit [Ping timeout: 265 seconds]
10:34
evdubs_ has joined #ruby
10:35
KramerC has quit [Remote host closed the connection]
10:35
KramerC_ has joined #ruby
10:36
miah has quit [Ping timeout: 246 seconds]
10:36
KramerC_ is now known as KramerC
10:36
alfiemax has joined #ruby
10:36
evdubs has quit [Ping timeout: 256 seconds]
10:37
postmodern has quit [Quit: Leaving]
10:37
miah has joined #ruby
10:41
nicholaslyang has joined #ruby
10:42
conta has quit [Quit: conta]
10:42
nicholaslyang has quit [Client Quit]
10:45
jenrzzz has quit [Ping timeout: 264 seconds]
10:50
alfiemax has quit [Remote host closed the connection]
10:56
alfiemax has joined #ruby
10:59
segy has quit [Ping timeout: 258 seconds]
11:04
segy has joined #ruby
11:05
vondruch has joined #ruby
11:07
davispuh has joined #ruby
11:08
alfiemax has quit [Remote host closed the connection]
11:14
jenrzzz has joined #ruby
11:17
GodFather has joined #ruby
11:19
dionysus69 has joined #ruby
11:22
lazarus1 has joined #ruby
11:26
duderonomy has joined #ruby
11:28
nicholaslyang has joined #ruby
11:30
nicholaslyang has quit [Client Quit]
11:34
vondruch has quit [Ping timeout: 246 seconds]
11:39
Technodrome has joined #ruby
11:40
alfiemax has joined #ruby
11:44
ellcs has joined #ruby
11:47
BSaboia has joined #ruby
11:49
jenrzzz has quit [Ping timeout: 256 seconds]
11:51
BSaboia has quit [Client Quit]
11:52
BSaboia has joined #ruby
11:53
nicholaslyang has joined #ruby
11:54
nicholaslyang has quit [Client Quit]
11:55
BSaboia has quit [Client Quit]
12:02
drincruz has joined #ruby
12:07
burningserenity has joined #ruby
12:11
drincruz has quit [Ping timeout: 256 seconds]
12:17
BSaboia has joined #ruby
12:17
nicholaslyang has joined #ruby
12:18
nicholaslyang has quit [Client Quit]
12:21
drincruz has joined #ruby
12:24
duderonomy has quit [Ping timeout: 256 seconds]
12:25
jenrzzz has joined #ruby
12:26
vondruch has joined #ruby
12:27
duderonomy has joined #ruby
12:28
BSaboia has quit [Quit: This computer has gone to sleep]
12:29
BSaboia has joined #ruby
12:31
roadie has quit [Ping timeout: 256 seconds]
12:31
Garb0 has joined #ruby
12:31
BSaboia has quit [Client Quit]
12:37
impermanence has joined #ruby
12:38
BSaboia has joined #ruby
12:42
nicholaslyang has joined #ruby
12:43
nicholaslyang has quit [Client Quit]
12:47
sarna has joined #ruby
12:49
dionysus69 has quit [Quit: dionysus69]
12:52
leah2 has quit [Ping timeout: 258 seconds]
12:53
burningserenity has quit [Quit: Leaving.]
12:54
burningserenity has joined #ruby
13:00
TCZ has joined #ruby
13:00
jenrzzz has quit [Ping timeout: 264 seconds]
13:03
BSaboia has quit [Quit: This computer has gone to sleep]
13:04
BSaboia has joined #ruby
13:05
conta has joined #ruby
13:07
stryek has joined #ruby
13:07
nicholaslyang has joined #ruby
13:08
nicholaslyang has quit [Client Quit]
13:09
leah2 has joined #ruby
13:12
TomyWork has joined #ruby
13:21
burningserenity has quit [Remote host closed the connection]
13:25
BSaboia has quit [Quit: This computer has gone to sleep]
13:28
drincruz has quit [Ping timeout: 265 seconds]
13:29
drincruz has joined #ruby
13:32
darkstardev13 has quit [Remote host closed the connection]
13:32
exmortus has joined #ruby
13:32
nicholaslyang has joined #ruby
13:33
nicholaslyang has quit [Client Quit]
13:35
roadie has joined #ruby
13:36
jenrzzz has joined #ruby
13:37
conta has quit [Quit: conta]
13:50
chalkmonster has quit [Quit: WeeChat 2.8]
13:53
davispuh has quit [Ping timeout: 260 seconds]
13:57
nicholaslyang has joined #ruby
13:58
nicholaslyang has quit [Client Quit]
13:59
Dirak has joined #ruby
13:59
sarna has quit [Quit: Connection closed]
14:05
BSaboia has joined #ruby
14:05
davispuh has joined #ruby
14:06
alfiemax has quit [Remote host closed the connection]
14:07
BSaboia has quit [Client Quit]
14:10
BSaboia has joined #ruby
14:11
TCZ has quit [Quit: Leaving]
14:12
integral_ has joined #ruby
14:12
manveru_ has joined #ruby
14:12
alfiemax has joined #ruby
14:13
epistrephein has joined #ruby
14:14
donofrio has joined #ruby
14:14
gorsuch has quit [Ping timeout: 256 seconds]
14:14
redlegion has quit [Ping timeout: 256 seconds]
14:14
MentalPower has quit [Ping timeout: 256 seconds]
14:15
siasmj has quit [Ping timeout: 256 seconds]
14:15
ryzokuken has quit [Ping timeout: 256 seconds]
14:15
Dirak_ has joined #ruby
14:15
d0liver has quit [Ping timeout: 256 seconds]
14:15
arekushi has quit [Ping timeout: 256 seconds]
14:16
BSaboia has quit [Quit: This computer has gone to sleep]
14:16
manveru has quit [Read error: Connection reset by peer]
14:16
integral has quit [Read error: Connection reset by peer]
14:16
manveru_ is now known as manveru
14:16
integral_ is now known as integral
14:16
skx86 has quit [Ping timeout: 256 seconds]
14:16
entel has quit [Ping timeout: 256 seconds]
14:16
jetpack_joe has quit [Ping timeout: 256 seconds]
14:16
timwis has quit [Ping timeout: 256 seconds]
14:16
gorsuch has joined #ruby
14:17
Vashy has quit [Remote host closed the connection]
14:17
Vashy has joined #ruby
14:17
MentalPower has joined #ruby
14:17
skx86 has joined #ruby
14:17
jetpack_joe has joined #ruby
14:17
siasmj has joined #ruby
14:18
d0liver has joined #ruby
14:18
Dirak has quit [Ping timeout: 256 seconds]
14:18
entel has joined #ruby
14:18
tekk has quit [Ping timeout: 246 seconds]
14:18
ryzokuken has joined #ruby
14:18
timwis has joined #ruby
14:18
codefriar has quit [Ping timeout: 258 seconds]
14:19
redlegion has joined #ruby
14:21
tekk has joined #ruby
14:22
codefriar has joined #ruby
14:23
jenrzzz has quit [Ping timeout: 265 seconds]
14:26
BSaboia has joined #ruby
14:31
S0bait has joined #ruby
14:32
<
S0bait >
How do I build a Hash of array values if i have a "tuple" containing keys that are common like this example:
https://dpaste.org/LO9K
14:37
<
yxhuvud >
Call to_h on the array.
14:37
codefriar has quit [Remote host closed the connection]
14:38
arahael1 has joined #ruby
14:38
codefriar has joined #ruby
14:39
Arahael has quit [Ping timeout: 256 seconds]
14:41
ChmEarl has joined #ruby
14:43
DaRock has quit [Ping timeout: 258 seconds]
14:45
<
jhass >
to_h would give 2 => "B"
14:46
alfiemax has quit [Remote host closed the connection]
14:46
<
jhass >
&>> [[1, "A"], [2, "B"], [1, "C"]].each_with_object(Hash.new {|h, k| h[k] = [] }) {|(k, v), h| h[k] << v }
14:47
alfiemax has joined #ruby
14:48
nicholaslyang has joined #ruby
14:50
nicholaslyang has quit [Client Quit]
14:50
<
yxhuvud >
oh right, I should have read the question a bit closer :P
14:50
orbyt_ has joined #ruby
14:51
jenrzzz has joined #ruby
14:51
<
phaul >
you can group_by #first
14:52
<
jhass >
and then have to double map out .second
14:52
alfiemax has quit [Ping timeout: 256 seconds]
14:52
<
yxhuvud >
a.group_by(&:first).transform_values {|as| as.map(&:last)} works too
14:54
dionysus69 has joined #ruby
14:54
BSaboia has quit [Quit: This computer has gone to sleep]
14:55
roadie has quit [Ping timeout: 272 seconds]
15:04
dionysus69 has quit [Quit: dionysus69]
15:05
burningserenity has joined #ruby
15:06
<
apotheon >
jhass: Am I mistaken in thinking that `Hash.new {|h, k| h[k] = [] }` could've just been `Hash.new []`?
15:06
<
apotheon >
I might just not be fully awake yet.
15:07
<
jhass >
apotheon: yes you are. That would use the same array instance for all keys
15:07
<
jhass >
and never actually assign any key
15:07
<
jhass >
(.keys would stay empty)
15:08
<
apotheon >
right, okay
15:08
<
apotheon >
As I feared, I'm not fully awake.
15:09
jobewan has joined #ruby
15:09
rafadc has quit [Read error: Connection reset by peer]
15:10
BSaboia has joined #ruby
15:10
rafadc has joined #ruby
15:15
nicholaslyang has joined #ruby
15:15
SeepingN has joined #ruby
15:16
nicholaslyang has quit [Client Quit]
15:17
<
S0bait >
@apotheon haha, coffee helps.
15:18
<
apotheon >
I don't like coffee.
15:20
jenrzzz has quit [Ping timeout: 260 seconds]
15:25
raj has quit [Remote host closed the connection]
15:26
rippa has joined #ruby
15:26
roadie has joined #ruby
15:27
raj has joined #ruby
15:27
alfiemax has joined #ruby
15:32
alfiemax has quit [Ping timeout: 246 seconds]
15:32
codefriar has quit [Ping timeout: 240 seconds]
15:34
howdoi has joined #ruby
15:36
codefriar has joined #ruby
15:40
<
apotheon >
I'm also out of Pepsi.
15:41
nicholaslyang has joined #ruby
15:41
ellcs1 has joined #ruby
15:42
nicholaslyang has quit [Client Quit]
15:46
roadie has quit [Ping timeout: 260 seconds]
15:51
BSaboia has quit [Quit: This computer has gone to sleep]
15:52
In0perable has quit [Quit: All your buffer are belong to us!]
15:53
BSaboia has joined #ruby
15:53
BSaboia has quit [Max SendQ exceeded]
15:54
imode has joined #ruby
15:54
BSaboia has joined #ruby
15:54
roadie has joined #ruby
15:54
BSaboia has quit [Max SendQ exceeded]
15:55
BSaboia has joined #ruby
15:55
jenrzzz has joined #ruby
15:55
BSaboia has quit [Max SendQ exceeded]
16:01
exmortus has quit [Remote host closed the connection]
16:02
exmortus has joined #ruby
16:02
<
jhass >
make a tea :)
16:07
chalkmonster has joined #ruby
16:07
nicholaslyang has joined #ruby
16:09
nicholaslyang has quit [Client Quit]
16:12
<
apotheon >
I'm thinking about it.
16:12
<
apotheon >
I have some gyokuro tea that might be calling tome.
16:12
<
apotheon >
s/tome/to me/
16:14
dfucci has joined #ruby
16:14
BSaboia has joined #ruby
16:15
romanlevin3 has quit [Ping timeout: 246 seconds]
16:20
roadie has quit [Ping timeout: 272 seconds]
16:20
teclator has joined #ruby
16:21
BSaboia has quit [Quit: Leaving]
16:22
jenrzzz_ has joined #ruby
16:24
alfiemax has joined #ruby
16:25
jenrzzz has quit [Ping timeout: 246 seconds]
16:26
Inoperable has joined #ruby
16:26
Eiam has joined #ruby
16:27
chalkmonster has quit [Quit: WeeChat 2.8]
16:29
S0bait has quit [Quit: Leaving.]
16:29
S0bait has joined #ruby
16:29
S0bait has quit [Changing host]
16:29
S0bait has joined #ruby
16:34
nicholaslyang has joined #ruby
16:35
roadie has joined #ruby
16:36
nicholaslyang has quit [Client Quit]
16:47
S0bait has quit [Quit: Leaving.]
16:53
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:02
nicholaslyang has joined #ruby
17:02
sepp2k has left #ruby ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
17:03
nicholaslyang has quit [Client Quit]
17:03
linuus[m] has left #ruby ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
17:03
sepp2k has joined #ruby
17:09
dfucci has quit [Ping timeout: 264 seconds]
17:15
gix has joined #ruby
17:16
pwl has joined #ruby
17:19
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:22
Technodrome has joined #ruby
17:29
nicholaslyang has joined #ruby
17:30
bmurt has joined #ruby
17:30
nicholaslyang has quit [Client Quit]
17:32
factormystic has quit [Read error: Connection reset by peer]
17:36
dfucci has joined #ruby
17:37
iNs has quit [Ping timeout: 240 seconds]
17:39
iNs has joined #ruby
17:39
factormystic has joined #ruby
17:41
dfucci has quit [Ping timeout: 240 seconds]
17:43
romanlevin33 has joined #ruby
17:45
burningserenity has quit [Remote host closed the connection]
17:45
fercell has quit [Quit: WeeChat 2.8]
17:48
factormystic has quit [Read error: Connection reset by peer]
17:49
GodFather has quit [Ping timeout: 260 seconds]
17:50
nicholaslyang has joined #ruby
17:52
nicholaslyang has quit [Client Quit]
17:53
BSaboia has joined #ruby
17:54
gato has joined #ruby
17:56
alfiemax has quit [Remote host closed the connection]
17:57
meinside has quit [Quit: Connection closed for inactivity]
17:58
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:00
nicholaslyang has joined #ruby
18:00
nicholaslyang has quit [Client Quit]
18:00
nicholaslyang has joined #ruby
18:02
nicholaslyang has quit [Client Quit]
18:02
nicholaslyang has joined #ruby
18:07
SeepingN has joined #ruby
18:07
reyfi9e has joined #ruby
18:07
alfiemax has joined #ruby
18:07
gato has quit [Quit: Connection closed]
18:08
BSaboia has quit [Quit: This computer has gone to sleep]
18:08
SeepingN has quit [Client Quit]
18:09
BSaboia has joined #ruby
18:10
vondruch has quit [Ping timeout: 256 seconds]
18:14
dfucci has joined #ruby
18:16
factormystic has joined #ruby
18:19
dfucci has quit [Ping timeout: 265 seconds]
18:20
PimarSimil has joined #ruby
18:21
<
Dirak_ >
In ruby / rails, how can I list all the attributes of a model?
18:22
sauvin has quit [Read error: Connection reset by peer]
18:22
conta has joined #ruby
18:26
roadie has quit [Ping timeout: 260 seconds]
18:28
cliluw has joined #ruby
18:36
jenrzzz_ has quit [Read error: Connection reset by peer]
18:36
jenrzzz has joined #ruby
18:36
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:39
nicholaslyang has joined #ruby
18:41
<
reyfi9e >
Dirak_: (for ActiveRecord): Model.attribute_names or Model.columns to get db meta
18:43
Eiam has joined #ruby
18:44
gigetoo has quit [Read error: No route to host]
18:44
renich has joined #ruby
18:45
gigetoo has joined #ruby
18:48
roadie has joined #ruby
18:53
postmodern has joined #ruby
18:59
fercell has joined #ruby
19:02
BSaboia has quit [Quit: This computer has gone to sleep]
19:05
alfiemax has quit [Remote host closed the connection]
19:07
conta has quit [Quit: conta]
19:24
miskatonic has joined #ruby
19:29
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:39
nicholaslyang has joined #ruby
19:42
roadie has quit [Ping timeout: 256 seconds]
19:44
roadie has joined #ruby
19:57
rmnull has joined #ruby
20:08
lektrik has joined #ruby
20:11
roadie has quit [Ping timeout: 272 seconds]
20:13
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:18
roadie has joined #ruby
20:33
imode has quit [Ping timeout: 256 seconds]
20:41
roadie has quit [Ping timeout: 260 seconds]
20:41
jetchisel has joined #ruby
20:45
jenrzzz_ has joined #ruby
20:47
cliluw has quit [Ping timeout: 240 seconds]
20:47
jenrzzz has quit [Ping timeout: 240 seconds]
20:51
pwl has quit [Ping timeout: 264 seconds]
20:53
akem has quit [Quit: Leaving]
20:58
akem has joined #ruby
21:06
roadie has joined #ruby
21:10
Dirak_ has quit [Read error: Connection reset by peer]
21:13
arekushi has joined #ruby
21:19
ur5us has joined #ruby
21:19
rmnull has quit [Quit: WeeChat 2.8]
21:19
romanicus has joined #ruby
21:23
BSaboia has joined #ruby
21:25
romanicus has quit []
21:25
snickers has joined #ruby
21:27
roadie has quit [Ping timeout: 272 seconds]
21:29
roadie has joined #ruby
21:32
schne1der has quit [Ping timeout: 246 seconds]
21:41
BSaboia has quit [Quit: This computer has gone to sleep]
21:41
duderonomy has quit [Ping timeout: 264 seconds]
21:49
roadie has quit [Ping timeout: 256 seconds]
21:50
<
AndreYuhai >
I will run multiple threads and I want them to work synchronously on an array of numbers. Each thread should pick the last number and so on.
21:50
<
AndreYuhai >
Should I read these numbers from a txt file?
21:50
Omnilord has joined #ruby
21:51
Omnilord has quit [Client Quit]
21:52
Garb0 has quit [Quit: I'm out.]
21:52
<
AndreYuhai >
There are going to be a more than a million numbers. What would be the efficient way to go through these numbers synchronously with multiple threads.
21:52
<
AndreYuhai >
I said txt because in case the program stops I need to know where I left.
21:53
jetpack_joe has quit [Ping timeout: 256 seconds]
21:53
jetpack_joe has joined #ruby
21:54
jenrzzz_ has quit [Ping timeout: 258 seconds]
21:55
rcl_ has joined #ruby
21:56
rcl_ has quit [Client Quit]
21:56
MrCrackPot has quit [Remote host closed the connection]
21:56
cliluw has joined #ruby
21:57
jenrzzz has joined #ruby
21:59
ellcs1 has quit [Ping timeout: 256 seconds]
22:00
evert| has joined #ruby
22:01
MrCrackPot has joined #ruby
22:01
<
AndreYuhai >
or I could just make a counter and increment it with each thread instead of using an array. And just print out the current number that the thread has, somewhere when the program exits.
22:01
isxek has joined #ruby
22:01
Manchotix[m] has quit [*.net *.split]
22:03
evert has quit [Read error: Connection reset by peer]
22:03
evert| is now known as evert
22:04
thecoffemaker has quit [Ping timeout: 246 seconds]
22:04
zenspider has quit [Ping timeout: 264 seconds]
22:04
snickers has quit [Read error: Connection reset by peer]
22:04
zenspider has joined #ruby
22:04
Vashy has quit [*.net *.split]
22:04
turt2live has quit [*.net *.split]
22:04
ljarvis_ has quit [*.net *.split]
22:04
mnemon has quit [*.net *.split]
22:04
jhass has quit [*.net *.split]
22:05
tekk has quit [Ping timeout: 264 seconds]
22:06
thecoffemaker has joined #ruby
22:06
yxhuvud has quit [Ping timeout: 256 seconds]
22:07
yxhuvud has joined #ruby
22:07
orbyt_ has quit [Ping timeout: 264 seconds]
22:07
tekk has joined #ruby
22:08
<
havenwood >
AndreYuhai: Say a bit more about the work being done?
22:08
imode has joined #ruby
22:08
<
havenwood >
AndreYuhai: You have a million numbers. What are you doing with them?
22:09
<
AndreYuhai >
havenwood, basically each number is an ID to make an API call. ID of a topic.
22:09
<
AndreYuhai >
And there are millions of them incrementing one by one.
22:10
<
havenwood >
AndreYuhai: Typhoeus or async-http should work nicely.
22:12
<
havenwood >
AndreYuhai: Async::HTTP will use Fibers under the hood and supports HTTP/2 for multiplexing.
22:12
<
havenwood >
AndreYuhai: Typhoeus wraps the battle-tested libcurl, and it's easy to set up a "Hydra" for parallel requests.
22:12
<
AndreYuhai >
havenwood, for making requests you mean?
22:12
isxek has quit [Quit: Leaving]
22:12
Vashy has joined #ruby
22:12
jhass has joined #ruby
22:12
mnemon has joined #ruby
22:12
turt2live has joined #ruby
22:12
ljarvis_ has joined #ruby
22:12
<
havenwood >
AndreYuhai: For making parallel requests.
22:13
<
havenwood >
AndreYuhai: I maintain a spreadsheet that shows which HTTP clients in Ruby support parallel requests.
22:14
isxek has joined #ruby
22:15
<
havenwood >
AndreYuhai: Typhoeus is the go-to solution. Async::HTTP with Fibers is a Ruby-3-looking solution that also happens to work with Falcon webserver in a very fancy way.
22:15
<
havenwood >
AndreYuhai: Both support HTTP/2.
22:15
dfucci has joined #ruby
22:16
dostoyevsky has quit [Quit: leaving]
22:16
<
havenwood >
AndreYuhai: You can't spin up a million threads so if you want to do a low level solution with threads you'll need to use a thread pool.
22:16
dostoyevsky has joined #ruby
22:16
<
AndreYuhai >
havenwood, Oh I already had my client written with httprb.
22:17
isxek has quit [Client Quit]
22:17
<
AndreYuhai >
Maybe later I might switch. But thank you for the spreadsheet :)
22:17
isxek has joined #ruby
22:18
<
AndreYuhai >
I was thinking about a few threads but that will take time as well.
22:18
<
havenwood >
AndreYuhai: You could a connection pool with persistent connection with HTTP.rb.
22:18
d0liver has quit [Ping timeout: 256 seconds]
22:18
<
havenwood >
could use*
22:19
<
havenwood >
AndreYuhai: HTTP is nicely designed to work with a connection pool and persistent connection, but doesn't support it out of the box.
22:19
d0liver has joined #ruby
22:19
<
AndreYuhai >
And what can you suggest about saving the state of those threads? Like which number I am currently on and etc. Just in case I get an exception or something.
22:19
d0liver has quit [Changing host]
22:19
d0liver has joined #ruby
22:19
<
AndreYuhai >
havenwood, checking now, thank you
22:20
<
havenwood >
AndreYuhai: You can use threads but it's important to also use a persistent connection so you don't have to tear it down and re-establish it a million times.
22:20
dfucci has quit [Ping timeout: 240 seconds]
22:20
<
havenwood >
And a connection pool so you can have more than one request at once.
22:20
<
havenwood >
AndreYuhai: You're welcome.
22:20
Manchotix[m] has joined #ruby
22:20
isxek has quit [Client Quit]
22:21
TomyWork has quit [Remote host closed the connection]
22:21
TomyWork has joined #ruby
22:27
Manchotix[m] has quit [*.net *.split]
22:28
jetchisel has quit [Ping timeout: 256 seconds]
22:29
AndreYuhai has quit [Quit: Leaving]
22:30
Vashy has quit [*.net *.split]
22:30
turt2live has quit [*.net *.split]
22:30
ljarvis_ has quit [*.net *.split]
22:30
mnemon has quit [*.net *.split]
22:30
jhass has quit [*.net *.split]
22:33
postmodern has quit [*.net *.split]
22:33
leah2 has quit [*.net *.split]
22:33
zapata has quit [*.net *.split]
22:33
BH23 has quit [*.net *.split]
22:33
tris has quit [*.net *.split]
22:33
leftylink has quit [*.net *.split]
22:33
mbarbar has quit [*.net *.split]
22:33
d0liver has quit [*.net *.split]
22:33
yxhuvud has quit [*.net *.split]
22:33
tranch[m] has quit [*.net *.split]
22:33
badeball has quit [*.net *.split]
22:33
Benett has quit [*.net *.split]
22:33
sol1d has quit [*.net *.split]
22:33
darris has quit [*.net *.split]
22:33
lucianp_ has quit [*.net *.split]
22:33
nirix has quit [*.net *.split]
22:33
linetrace has quit [*.net *.split]
22:33
m27frogy has quit [*.net *.split]
22:33
meimeix has quit [*.net *.split]
22:33
ropeney has quit [*.net *.split]
22:33
bier has quit [*.net *.split]
22:33
KrzaQ has quit [*.net *.split]
22:33
tomaw has quit [*.net *.split]
22:33
madhatter has quit [*.net *.split]
22:33
klaas has quit [*.net *.split]
22:33
Cork has quit [*.net *.split]
22:33
napcae has quit [*.net *.split]
22:33
neot1 has quit [*.net *.split]
22:33
Milos has quit [*.net *.split]
22:33
Junaos has quit [*.net *.split]
22:33
finn[m] has quit [*.net *.split]
22:33
major_majors has quit [*.net *.split]
22:33
thebetra1 has quit [*.net *.split]
22:33
Querens has quit [*.net *.split]
22:33
`brian has quit [*.net *.split]
22:33
spk has quit [*.net *.split]
22:33
matthewd has quit [*.net *.split]
22:33
baweaver has quit [*.net *.split]
22:33
lypsis_ has quit [*.net *.split]
22:33
bukkitgerman8608 has quit [*.net *.split]
22:33
jtdowney has quit [*.net *.split]
22:33
SoF has quit [*.net *.split]
22:33
fmccann has quit [*.net *.split]
22:33
ruskie has quit [*.net *.split]
22:33
hagabaka has quit [*.net *.split]
22:33
MuffinPimp has quit [*.net *.split]
22:33
bodgix_ has quit [*.net *.split]
22:33
JasonO has quit [*.net *.split]
22:33
balo has quit [*.net *.split]
22:33
hsiktas[m] has quit [*.net *.split]
22:33
batisi[m] has quit [*.net *.split]
22:33
canton7 has quit [*.net *.split]
22:33
ltd has quit [*.net *.split]
22:33
coffeejunk has quit [*.net *.split]
22:33
kevinsjoberg has quit [*.net *.split]
22:33
jnoon has quit [*.net *.split]
22:33
shansen_ has quit [*.net *.split]
22:33
jokester has quit [*.net *.split]
22:33
Tuor has quit [*.net *.split]
22:33
jobewan has quit [*.net *.split]
22:33
gix has quit [*.net *.split]
22:33
codefriar has quit [*.net *.split]
22:33
arahael1 has quit [*.net *.split]
22:33
lightstalker has quit [*.net *.split]
22:33
Xeago has quit [*.net *.split]
22:33
jinie has quit [*.net *.split]
22:33
sphex has quit [*.net *.split]
22:33
shokohsc has quit [*.net *.split]
22:33
pyrmont has quit [*.net *.split]
22:33
edwardly has quit [*.net *.split]
22:33
Xiti has quit [*.net *.split]
22:33
Emmanuel_Chanel has quit [*.net *.split]
22:33
en10n has quit [*.net *.split]
22:33
jrhorn424 has quit [*.net *.split]
22:33
Lewix has quit [*.net *.split]
22:33
Pillus has quit [*.net *.split]
22:33
legit has quit [*.net *.split]
22:33
Sp4rKy has quit [*.net *.split]
22:33
dorian has quit [*.net *.split]
22:33
justinmcp has quit [*.net *.split]
22:33
jennis has quit [*.net *.split]
22:33
chihhsin has quit [*.net *.split]
22:33
shortdudey123 has quit [*.net *.split]
22:33
donofrio has quit [*.net *.split]
22:33
BTRE has quit [*.net *.split]
22:33
rubydoc has quit [*.net *.split]
22:33
phaul has quit [*.net *.split]
22:33
hiroaki_ has quit [*.net *.split]
22:33
sagax has quit [*.net *.split]
22:33
bvdw has quit [*.net *.split]
22:33
Exagone313 has quit [*.net *.split]
22:33
graphicsv has quit [*.net *.split]
22:33
kermit has quit [*.net *.split]
22:33
afisher has quit [*.net *.split]
22:33
JayDoubleu has quit [*.net *.split]
22:33
Net has quit [*.net *.split]
22:33
mniip has quit [*.net *.split]
22:33
marens_ has quit [*.net *.split]
22:33
LtHummus has quit [*.net *.split]
22:33
vqrs has quit [*.net *.split]
22:33
bhaak has quit [*.net *.split]
22:33
pelegreno_____ has quit [*.net *.split]
22:33
SanguineAnomaly has quit [*.net *.split]
22:33
axsuul has quit [*.net *.split]
22:33
roger_rabbit has quit [*.net *.split]
22:33
apoc has quit [*.net *.split]
22:33
connor_goodwolf has quit [*.net *.split]
22:33
pppktz has quit [*.net *.split]
22:33
Eiam has quit [*.net *.split]
22:33
rafadc has quit [*.net *.split]
22:33
ChmEarl has quit [*.net *.split]
22:33
ttoocs has quit [*.net *.split]
22:33
cloaked1 has quit [*.net *.split]
22:33
plutes has quit [*.net *.split]
22:33
robotmay has quit [*.net *.split]
22:33
tastemakerChuck has quit [*.net *.split]
22:33
genpaku has quit [*.net *.split]
22:33
fowlduck has quit [*.net *.split]
22:33
duckpuppy has quit [*.net *.split]
22:33
mozzarella has quit [*.net *.split]
22:33
itok has quit [*.net *.split]
22:33
pwnd_nsfw has quit [*.net *.split]
22:33
gavlee has quit [*.net *.split]
22:33
FastJack has quit [*.net *.split]
22:33
rprimus has quit [*.net *.split]
22:33
havenwood has quit [*.net *.split]
22:33
kloeri has quit [*.net *.split]
22:33
x0n has quit [*.net *.split]
22:33
nixy37179 has quit [*.net *.split]
22:33
LenPayne has quit [*.net *.split]
22:33
belak has quit [*.net *.split]
22:33
Azure has quit [*.net *.split]
22:33
jenrzzz has quit [*.net *.split]
22:33
dostoyevsky has quit [*.net *.split]
22:33
imode has quit [*.net *.split]
22:33
tekk has quit [*.net *.split]
22:33
fercell has quit [*.net *.split]
22:33
factormystic has quit [*.net *.split]
22:33
teclator has quit [*.net *.split]
22:33
Inoperable has quit [*.net *.split]
22:33
impermanence has quit [*.net *.split]
22:33
bga57 has quit [*.net *.split]
22:33
venmx has quit [*.net *.split]
22:33
quazimodo has quit [*.net *.split]
22:33
dhollinger has quit [*.net *.split]
22:33
Mikaela has quit [*.net *.split]
22:33
Archenoth has quit [*.net *.split]
22:33
RiPuk has quit [*.net *.split]
22:33
SuperLag has quit [*.net *.split]
22:33
mattwc has quit [*.net *.split]
22:33
stnly has quit [*.net *.split]
22:33
chamunks has quit [*.net *.split]
22:33
Secret-Fire has quit [*.net *.split]
22:33
sh7d has quit [*.net *.split]
22:33
cranq has quit [*.net *.split]
22:33
nofxx_ has quit [*.net *.split]
22:33
mydog2 has quit [*.net *.split]
22:33
lmat has quit [*.net *.split]
22:33
eldritch has quit [*.net *.split]
22:33
e2 has quit [*.net *.split]
22:33
volix has quit [*.net *.split]
22:33
MrCrackPot has quit [*.net *.split]
22:33
shaman42 has quit [*.net *.split]
22:33
adam12 has quit [*.net *.split]
22:33
MasterNayru_ has quit [*.net *.split]
22:33
Vagabond[m] has quit [*.net *.split]
22:33
znz_jp has quit [*.net *.split]
22:33
simi[m] has quit [*.net *.split]
22:33
haylon[m] has quit [*.net *.split]
22:33
d10n-work has quit [*.net *.split]
22:33
nuck has quit [*.net *.split]
22:33
justache has quit [*.net *.split]
22:33
Fridtjof has quit [*.net *.split]
22:33
xtsee has quit [*.net *.split]
22:33
Hobbyboy has quit [*.net *.split]
22:33
r3my has quit [*.net *.split]
22:33
TheMoonMaster has quit [*.net *.split]
22:33
kent\n has quit [*.net *.split]
22:33
helpa has quit [*.net *.split]
22:33
nemesit|znc has quit [*.net *.split]
22:33
thecoffemaker has quit [*.net *.split]
22:33
akem has quit [*.net *.split]
22:33
lektrik has quit [*.net *.split]
22:33
bmurt has quit [*.net *.split]
22:33
exmortus has quit [*.net *.split]
22:33
mr_rich101 has quit [*.net *.split]
22:33
r3m has quit [*.net *.split]
22:33
kaleido has quit [*.net *.split]
22:33
DTZUZU has quit [*.net *.split]
22:33
Axy has quit [*.net *.split]
22:33
gdonald has quit [*.net *.split]
22:33
Tempesta has quit [*.net *.split]
22:33
cgfbee has quit [*.net *.split]
22:33
vircung has quit [*.net *.split]
22:33
IsoLinCHiP has quit [*.net *.split]
22:33
Jello_Raptor has quit [*.net *.split]
22:33
_Caerus has quit [*.net *.split]
22:33
j416 has quit [*.net *.split]
22:33
noodle has quit [*.net *.split]
22:33
rann has quit [*.net *.split]
22:33
joast has quit [*.net *.split]
22:33
greenbagels has quit [*.net *.split]
22:33
rcvu has quit [*.net *.split]
22:33
gsingh93 has quit [*.net *.split]
22:33
daemonwrangler has quit [*.net *.split]
22:33
xMopx has quit [*.net *.split]
22:33
shenghi has quit [*.net *.split]
22:33
ule has quit [*.net *.split]
22:33
aef has quit [*.net *.split]
22:33
PimarSimil has quit [*.net *.split]
22:33
davispuh has quit [*.net *.split]
22:33
Rudd0 has quit [*.net *.split]
22:33
dputtick has quit [*.net *.split]
22:33
maxmanders has quit [*.net *.split]
22:33
lipoqil has quit [*.net *.split]
22:33
Liothen has quit [*.net *.split]
22:33
BuildTheRobots has quit [*.net *.split]
22:33
Nowaker has quit [*.net *.split]
22:33
coniptor has quit [*.net *.split]
22:33
apotheon has quit [*.net *.split]
22:33
salvor- has quit [*.net *.split]
22:33
electrostat has quit [*.net *.split]
22:33
camilasan has quit [*.net *.split]
22:33
livcd has quit [*.net *.split]
22:33
Fire-Dragon-DoL has quit [*.net *.split]
22:33
sirecote has quit [*.net *.split]
22:33
jordanm has quit [*.net *.split]
22:33
Flonk has quit [*.net *.split]
22:33
ablackack has quit [*.net *.split]
22:33
phI||Ip has quit [*.net *.split]
22:33
extrowerk has quit [*.net *.split]
22:33
wmoxam has quit [*.net *.split]
22:33
nebiros has quit [*.net *.split]
22:33
e has quit [*.net *.split]
22:33
iNs has quit [*.net *.split]
22:33
_aeris_ has quit [*.net *.split]
22:33
reyfi9e has quit [*.net *.split]
22:33
sepp2k has quit [*.net *.split]
22:33
execat[m] has quit [*.net *.split]
22:33
prkn8[m] has quit [*.net *.split]
22:33
hahuang65 has quit [*.net *.split]
22:33
gajus has quit [*.net *.split]
22:33
sapphyrus has quit [*.net *.split]
22:33
englishm has quit [*.net *.split]
22:33
Hien_ has quit [*.net *.split]
22:33
oz has quit [*.net *.split]
22:33
methos1 has quit [*.net *.split]
22:33
s_ has quit [*.net *.split]
22:33
ByronJohnson has quit [*.net *.split]
22:33
dumptruckman has quit [*.net *.split]
22:33
larissa has quit [*.net *.split]
22:33
Nightmare has quit [*.net *.split]
22:33
bougyman has quit [*.net *.split]
22:33
snapcase has quit [*.net *.split]
22:33
cliluw has quit [*.net *.split]
22:33
segy has quit [*.net *.split]
22:33
deimos_ has quit [*.net *.split]
22:33
al2o3-cr has quit [*.net *.split]
22:33
greypack has quit [*.net *.split]
22:33
yokel has quit [*.net *.split]
22:33
gray_-_wolf has quit [*.net *.split]
22:33
ujjain has quit [*.net *.split]
22:33
FetidToot has quit [*.net *.split]
22:33
cadeskywalker has quit [*.net *.split]
22:33
foxxx0 has quit [*.net *.split]
22:33
Kilo`byte has quit [*.net *.split]
22:33
zululee_ has quit [*.net *.split]
22:33
spiette has quit [*.net *.split]
22:33
t3hyoshi has quit [*.net *.split]
22:33
jmcgnh has quit [*.net *.split]
22:33
Frogging101 has quit [*.net *.split]
22:33
TvL2386 has quit [*.net *.split]
22:33
arthurnn has quit [*.net *.split]
22:34
hackeron has quit [*.net *.split]
22:34
KnownSyntax has quit [*.net *.split]
22:34
go|dfish has quit [*.net *.split]
22:34
kenichi has quit [*.net *.split]
22:34
`Alison has quit [*.net *.split]
22:34
IceDragon has quit [*.net *.split]
22:34
olspookishmagus has quit [*.net *.split]
22:34
z4phod has quit [*.net *.split]
22:34
CalimeroTeknik has quit [*.net *.split]
22:34
void09 has quit [*.net *.split]
22:34
zenspider has quit [*.net *.split]
22:34
evert has quit [*.net *.split]
22:34
jetpack_joe has quit [*.net *.split]
22:34
arekushi has quit [*.net *.split]
22:34
miskatonic has quit [*.net *.split]
22:34
timwis has quit [*.net *.split]
22:34
ryzokuken has quit [*.net *.split]
22:34
entel has quit [*.net *.split]
22:34
gorsuch has quit [*.net *.split]
22:34
skx86 has quit [*.net *.split]
22:34
manveru has quit [*.net *.split]
22:34
stryek has quit [*.net *.split]
22:34
redlegion has quit [*.net *.split]
22:34
rhe has quit [*.net *.split]
22:34
doug[m] has quit [*.net *.split]
22:34
ruby[bot] has quit [*.net *.split]
22:34
Guest23015 has quit [*.net *.split]
22:34
pitastrudl has quit [*.net *.split]
22:34
jimeh has quit [*.net *.split]
22:34
zipkid has quit [*.net *.split]
22:34
alnk has quit [*.net *.split]
22:34
cstrahan has quit [*.net *.split]
22:34
Furai has quit [*.net *.split]
22:34
tabakhase has quit [*.net *.split]
22:34
grvgr has quit [*.net *.split]
22:34
reaVer has quit [*.net *.split]
22:34
claw has quit [*.net *.split]
22:34
dan64 has quit [*.net *.split]
22:34
ta has quit [*.net *.split]
22:34
ec has quit [*.net *.split]
22:34
Caius has quit [*.net *.split]
22:34
DarthGandalf has quit [*.net *.split]
22:34
Spitfire_ has quit [*.net *.split]
22:34
creat has quit [*.net *.split]
22:34
ghormoon has quit [*.net *.split]
22:34
wnd has quit [*.net *.split]
22:34
G has quit [*.net *.split]
22:34
lunarkitty has quit [*.net *.split]
22:34
spectra has quit [*.net *.split]
22:34
timmow_ has quit [*.net *.split]
22:34
liKe2k1 has quit [*.net *.split]
22:34
sparr has quit [*.net *.split]
22:34
tweaks has quit [*.net *.split]
22:34
Seich has quit [*.net *.split]
22:34
JoL1hAHN has quit [*.net *.split]
22:34
EvilJStoker has quit [*.net *.split]
22:34
voker57 has quit [*.net *.split]
22:34
gigetoo has quit [*.net *.split]
22:34
renich has quit [*.net *.split]
22:34
Technodrome has quit [*.net *.split]
22:34
rippa has quit [*.net *.split]
22:34
ellcs has quit [*.net *.split]
22:34
miah has quit [*.net *.split]
22:34
phenom has quit [*.net *.split]
22:34
funnel has quit [*.net *.split]
22:34
cfjk has quit [*.net *.split]
22:34
CrazyEddy has quit [*.net *.split]
22:34
dualfade has quit [*.net *.split]
22:34
kozowu has quit [*.net *.split]
22:34
Fenhl has quit [*.net *.split]
22:34
peteretep has quit [*.net *.split]
22:34
sylario has quit [*.net *.split]
22:34
Iambchop has quit [*.net *.split]
22:34
ctOS has quit [*.net *.split]
22:34
podman has quit [*.net *.split]
22:34
Argorok_ has quit [*.net *.split]
22:34
maths22_ has quit [*.net *.split]
22:34
NGC3982 has quit [*.net *.split]
22:34
gueorgui has quit [*.net *.split]
22:34
Scient has quit [*.net *.split]
22:34
quintasan has quit [*.net *.split]
22:34
kaivai has quit [*.net *.split]
22:34
c0san0stra has quit [*.net *.split]
22:34
con3 has quit [*.net *.split]
22:34
jidar has quit [*.net *.split]
22:34
EvanR has quit [*.net *.split]
22:34
mojca has quit [*.net *.split]
22:34
romanlevin33 has quit [*.net *.split]
22:34
drincruz has quit [*.net *.split]
22:34
lazarus1 has quit [*.net *.split]
22:34
ua_ has quit [*.net *.split]
22:34
ErhardtMundt has quit [*.net *.split]
22:34
clemens3 has quit [*.net *.split]
22:34
Arkantos has quit [*.net *.split]
22:34
michael_mbp has quit [*.net *.split]
22:34
arooni has quit [*.net *.split]
22:34
PaulePanter has quit [*.net *.split]
22:34
tbisker8 has quit [*.net *.split]
22:34
NightMonkey has quit [*.net *.split]
22:34
llua has quit [*.net *.split]
22:34
mcspud has quit [*.net *.split]
22:34
freshmaker666 has quit [*.net *.split]
22:34
shalok has quit [*.net *.split]
22:34
Raboo has quit [*.net *.split]
22:34
booboy has quit [*.net *.split]
22:34
umjisus has quit [*.net *.split]
22:34
thebetrayer has quit [*.net *.split]
22:34
jken has quit [*.net *.split]
22:36
matti has quit [Ping timeout: 260 seconds]
22:36
jhill has quit [Ping timeout: 260 seconds]
22:36
CustosLimen has quit [Ping timeout: 260 seconds]
22:37
howdoi has quit [Ping timeout: 260 seconds]
22:38
tranch[m] has joined #ruby
22:38
bga57 has joined #ruby
22:38
Azure has joined #ruby
22:38
LenPayne has joined #ruby
22:38
nixy37179 has joined #ruby
22:38
belak has joined #ruby
22:38
x0n has joined #ruby
22:38
havenwood has joined #ruby
22:38
genpaku has joined #ruby
22:38
d0liver has joined #ruby
22:38
cloaked1 has joined #ruby
22:38
`Alison has joined #ruby
22:38
z4phod has joined #ruby
22:38
go|dfish has joined #ruby
22:38
hackeron has joined #ruby
22:38
plutes has joined #ruby
22:38
yokel has joined #ruby
22:38
void09 has joined #ruby
22:38
Frogging101 has joined #ruby
22:38
TvL2386 has joined #ruby
22:38
t3hyoshi has joined #ruby
22:38
spiette has joined #ruby
22:38
zululee_ has joined #ruby
22:38
foxxx0 has joined #ruby
22:38
Kilo`byte has joined #ruby
22:38
FetidToot has joined #ruby
22:38
ujjain has joined #ruby
22:38
gray_-_wolf has joined #ruby
22:38
greypack has joined #ruby
22:38
al2o3-cr has joined #ruby
22:38
segy has joined #ruby
22:38
deimos_ has joined #ruby
22:38
leftylink has joined #ruby
22:38
tris has joined #ruby
22:38
BH23 has joined #ruby
22:38
zapata has joined #ruby
22:38
badeball has joined #ruby
22:38
kenichi has joined #ruby
22:38
rafadc has joined #ruby
22:38
IceDragon has joined #ruby
22:38
ttoocs has joined #ruby
22:38
arthurnn has joined #ruby
22:38
connor_goodwolf has joined #ruby
22:38
mattwc has joined #ruby
22:38
postmodern has joined #ruby
22:38
pelegreno_____ has joined #ruby
22:38
axsuul has joined #ruby
22:38
vqrs has joined #ruby
22:38
afisher has joined #ruby
22:38
mniip has joined #ruby
22:38
leah2 has joined #ruby
22:38
bhaak has joined #ruby
22:38
marens_ has joined #ruby
22:38
apoc has joined #ruby
22:38
pppktz has joined #ruby
22:38
roger_rabbit has joined #ruby
22:38
kermit has joined #ruby
22:38
Net has joined #ruby
22:38
phaul has joined #ruby
22:38
sagax has joined #ruby
22:38
hiroaki_ has joined #ruby
22:38
`brian has joined #ruby
22:38
major_majors has joined #ruby
22:38
matthewd has joined #ruby
22:38
rubydoc has joined #ruby
22:38
thebetra1 has joined #ruby
22:38
Querens has joined #ruby
22:38
BTRE has joined #ruby
22:38
spk has joined #ruby
22:38
mydog2 has joined #ruby
22:38
kloeri has joined #ruby
22:38
gavlee has joined #ruby
22:38
rprimus has joined #ruby
22:38
MasterNayru_ has joined #ruby
22:38
eldritch has joined #ruby
22:38
FastJack has joined #ruby
22:38
duckpuppy has joined #ruby
22:38
pwnd_nsfw has joined #ruby
22:38
mozzarella has joined #ruby
22:38
tastemakerChuck has joined #ruby
22:38
sh7d has joined #ruby
22:38
adam12 has joined #ruby
22:38
yxhuvud has joined #ruby
22:38
lmat has joined #ruby
22:38
RiPuk has joined #ruby
22:38
nofxx_ has joined #ruby
22:38
Secret-Fire has joined #ruby
22:38
chamunks has joined #ruby
22:38
volix has joined #ruby
22:38
e2 has joined #ruby
22:38
tau has joined #ruby
22:38
shaman42 has joined #ruby
22:38
CalimeroTeknik has joined #ruby
22:38
Mikaela has joined #ruby
22:38
venmx has joined #ruby
22:38
dhollinger has joined #ruby
22:38
Tuor has joined #ruby
22:38
shansen_ has joined #ruby
22:38
imode has joined #ruby
22:38
jenrzzz has joined #ruby
22:38
factormystic has joined #ruby
22:38
teclator has joined #ruby
22:38
fercell has joined #ruby
22:38
tekk has joined #ruby
22:38
Inoperable has joined #ruby
22:38
shortdudey123 has joined #ruby
22:38
jokester has joined #ruby
22:38
jnoon has joined #ruby
22:38
coffeejunk has joined #ruby
22:38
canton7 has joined #ruby
22:38
r3my has joined #ruby
22:38
ltd has joined #ruby
22:38
fowlduck has joined #ruby
22:38
voker57 has joined #ruby
22:38
EvilJStoker has joined #ruby
22:38
JoL1hAHN has joined #ruby
22:38
tweaks has joined #ruby
22:38
Seich has joined #ruby
22:38
sparr has joined #ruby
22:38
liKe2k1 has joined #ruby
22:38
lunarkitty has joined #ruby
22:38
wnd has joined #ruby
22:38
ghormoon has joined #ruby
22:38
Spitfire_ has joined #ruby
22:38
creat has joined #ruby
22:38
DarthGandalf has joined #ruby
22:38
dan64 has joined #ruby
22:38
Caius has joined #ruby
22:38
reaVer has joined #ruby
22:38
grvgr has joined #ruby
22:38
claw has joined #ruby
22:38
Furai has joined #ruby
22:38
zipkid has joined #ruby
22:38
tabakhase has joined #ruby
22:38
jimeh has joined #ruby
22:38
pitastrudl has joined #ruby
22:38
ruby[bot] has joined #ruby
22:38
doug[m] has joined #ruby
22:38
manveru has joined #ruby
22:38
rhe has joined #ruby
22:38
gorsuch has joined #ruby
22:38
skx86 has joined #ruby
22:38
entel has joined #ruby
22:38
redlegion has joined #ruby
22:38
miskatonic has joined #ruby
22:38
arekushi has joined #ruby
22:38
zenspider has joined #ruby
22:38
evert has joined #ruby
22:38
aef has joined #ruby
22:38
ule has joined #ruby
22:38
shenghi has joined #ruby
22:38
xMopx has joined #ruby
22:38
daemonwrangler has joined #ruby
22:38
greenbagels has joined #ruby
22:38
gsingh93 has joined #ruby
22:38
rcvu has joined #ruby
22:38
noodle has joined #ruby
22:38
IsoLinCHiP has joined #ruby
22:38
Tempesta has joined #ruby
22:38
electrostat has joined #ruby
22:38
Nightmare has joined #ruby
22:42
_whitelogger has joined #ruby
22:42
alnk has joined #ruby
22:42
pitastrudl has joined #ruby
22:42
en10n has joined #ruby
22:42
gigetoo has joined #ruby
22:42
dualfade has joined #ruby
22:42
rippa has joined #ruby
22:42
Technodrome has joined #ruby
22:42
cfjk has joined #ruby
22:42
CrazyEddy has joined #ruby
22:42
ellcs has joined #ruby
22:42
funnel has joined #ruby
22:42
kozowu has joined #ruby
22:42
Fenhl has joined #ruby
22:42
phenom has joined #ruby
22:42
ctOS has joined #ruby
22:42
Iambchop has joined #ruby
22:42
peteretep has joined #ruby
22:42
sylario has joined #ruby
22:42
Argorok_ has joined #ruby
22:42
Scient has joined #ruby
22:42
kaivai has joined #ruby
22:42
quintasan has joined #ruby
22:42
c0san0stra has joined #ruby
22:42
maths22_ has joined #ruby
22:42
gueorgui has joined #ruby
22:42
NGC3982 has joined #ruby
22:42
EvanR has joined #ruby
22:42
podman has joined #ruby
22:42
con3 has joined #ruby
22:42
jidar has joined #ruby
22:42
mojca has joined #ruby
22:42
Fenhl has quit [Ping timeout: 310 seconds]
22:42
timwis has joined #ruby
22:42
integral has quit [Ping timeout: 260 seconds]
22:42
Guest23015 has joined #ruby
22:43
fowlduck has quit [Ping timeout: 246 seconds]
22:43
howdoi has joined #ruby
22:43
jnoon has joined #ruby
22:43
matti has joined #ruby
22:43
batisi[m] has joined #ruby
22:43
hahuang65 has joined #ruby
22:43
redlegion has joined #ruby
22:43
darthThorik has joined #ruby
22:43
Lewix has joined #ruby
22:43
miah has joined #ruby
22:43
cranq has joined #ruby
22:43
Net has joined #ruby
22:43
integral has joined #ruby
22:43
rann has joined #ruby
22:44
mbarbar has joined #ruby
22:44
kermit has joined #ruby
22:44
JayDoubleu has joined #ruby
22:44
entel has joined #ruby
22:44
skx86 has joined #ruby
22:44
KnownSyntax has joined #ruby
22:44
Mutsuhito has joined #ruby
22:44
ryzokuken has joined #ruby
22:45
fowlduck has joined #ruby
22:45
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
22:45
gajus has joined #ruby
22:45
dostoyevsky has quit [Quit: leaving]
22:45
ec has joined #ruby
22:46
BuildTheRobots has joined #ruby
22:46
graphicsv has joined #ruby
22:46
d10n-work has joined #ruby
22:47
dostoyevsky has joined #ruby
22:47
cstrahan has joined #ruby
22:47
CommunistWolf has joined #ruby
22:47
jmcgnh has joined #ruby
22:47
dostoyevsky has quit [Client Quit]
22:47
sepp2k has joined #ruby
22:47
dostoyevsky has joined #ruby
22:48
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
22:48
simi[m] has joined #ruby
22:48
Fenhl has joined #ruby
22:50
turt2live has joined #ruby
22:55
Manchotix[m] has joined #ruby
22:55
venmx has quit [Ping timeout: 264 seconds]
22:55
haylon[m] has joined #ruby
22:56
tranch[m] has joined #ruby
22:56
justache has joined #ruby
22:57
cd has joined #ruby
22:57
execat[m] has joined #ruby
22:57
hsiktas[m] has joined #ruby
22:58
Eiam has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
23:01
Garb0 has quit [Quit: I'm out.]
23:01
Garb0 has joined #ruby
23:02
SegFaultAX has quit [Ping timeout: 260 seconds]
23:02
SegFaultAX has joined #ruby
23:10
impermanence has quit [Quit: Connection closed]
23:12
Exuma has joined #ruby
23:15
bambanx has joined #ruby
23:20
Exuma has joined #ruby
23:21
Exuma has quit [Client Quit]
23:21
PimarSimil has quit [Ping timeout: 240 seconds]
23:28
tosaraja has joined #ruby
23:28
nicholaslyang has joined #ruby
23:29
drincruz has quit [Ping timeout: 260 seconds]
23:34
DaRock has joined #ruby
23:35
Garb0_ has joined #ruby
23:37
Garb0 has quit [Ping timeout: 246 seconds]
23:41
Garb0__ has joined #ruby
23:42
BSaboia has joined #ruby
23:43
Garb0_ has quit [Ping timeout: 256 seconds]
23:49
bambanx has quit [Ping timeout: 258 seconds]
23:51
smccarthy has joined #ruby
23:51
fercell has quit [Quit: WeeChat 2.8]
23:52
<
smccarthy >
I have a version.rb file, which just has "module Client/n VERSION = '1.0.0'/n end" , I want to run ruby from the command line to grab that version. is there anyway ?
23:53
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:54
BSaboia has quit [Quit: This computer has gone to sleep]
23:55
Garb0__ has quit [Ping timeout: 258 seconds]
23:55
<
havenwood >
smccarthy: Client::VERSION
23:57
<
smccarthy >
havenwood: we meet again ! but I need to get it from a bash script.