00:03
gnufied has quit [Remote host closed the connection]
00:08
r29v has quit [Quit: r29v]
00:11
orbyt_ has joined #ruby
00:13
brool has joined #ruby
00:15
ramfjord has joined #ruby
00:15
s3nd1v0g1us has quit [Ping timeout: 258 seconds]
00:17
wallace_mu has joined #ruby
00:18
s3nd1v0g1us has joined #ruby
00:21
s3nd1v0g1us has quit [Client Quit]
00:22
yield has joined #ruby
00:23
dsmythe_ has joined #ruby
00:25
nwradio87888798 has joined #ruby
00:25
dsmythe_ has quit [Client Quit]
00:25
nwradio8788879 has quit [Ping timeout: 246 seconds]
00:25
dsmythe has joined #ruby
00:26
mangold has quit [Quit: This computer has gone to sleep]
00:27
yield has quit [Ping timeout: 268 seconds]
00:28
zachk has quit [Quit: Leaving]
00:34
Fernando-Basso has quit [Remote host closed the connection]
00:36
dsmythe has quit [Quit: Leaving...]
00:37
dsmythe has joined #ruby
00:38
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:39
mangold has joined #ruby
00:39
jottr has joined #ruby
00:45
jottr has quit [Ping timeout: 246 seconds]
00:45
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:53
yield has joined #ruby
00:57
yield has quit [Ping timeout: 246 seconds]
00:58
mangold has quit [Quit: This computer has gone to sleep]
01:00
hxegon has quit [Ping timeout: 255 seconds]
01:01
duderonomy has joined #ruby
01:09
ur5us has quit [Remote host closed the connection]
01:10
ur5us has joined #ruby
01:10
ur5us has quit [Read error: Connection reset by peer]
01:10
ramfjord has quit [Ping timeout: 245 seconds]
01:11
ur5us has joined #ruby
01:14
ramfjord has joined #ruby
01:15
SeepingN has quit [Quit: The system is going down for reboot NOW!]
01:16
lucasb has quit [Quit: Connection closed for inactivity]
01:18
LtHummus has joined #ruby
01:19
bambanx has quit [Ping timeout: 246 seconds]
01:19
bambanx has joined #ruby
01:24
yield has joined #ruby
01:28
yield has quit [Ping timeout: 250 seconds]
01:29
mangold has joined #ruby
01:31
DarthGandalf has quit [Ping timeout: 258 seconds]
01:39
bambanxx has joined #ruby
01:42
bambanx has quit [Ping timeout: 245 seconds]
01:54
AJA4350 has quit [Remote host closed the connection]
01:55
jenrzzz has quit [Ping timeout: 246 seconds]
02:03
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:10
esrse has joined #ruby
02:11
uplime is now known as cuplime
02:13
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:15
duderonomy has joined #ruby
02:16
Swyper_ has joined #ruby
02:20
duderonomy has quit [Client Quit]
02:21
duderonomy has joined #ruby
02:21
duderonomy has quit [Client Quit]
02:22
duderonomy has joined #ruby
02:22
duderonomy has quit [Client Quit]
02:23
Swyper_ has quit [Remote host closed the connection]
02:25
orbyt_ has joined #ruby
02:25
houhoulis has joined #ruby
02:26
orbyt_ has quit [Client Quit]
02:28
orbyt_ has joined #ruby
02:30
Swyper has joined #ruby
02:34
Swyper has quit [Remote host closed the connection]
02:35
Swyper has joined #ruby
02:41
jottr has joined #ruby
02:42
garyserj has joined #ruby
02:42
Sina has quit [Quit: Connection closed for inactivity]
02:43
barg has quit [Ping timeout: 250 seconds]
02:46
jottr has quit [Ping timeout: 268 seconds]
02:53
barg has joined #ruby
02:55
garyserj has quit [Ping timeout: 246 seconds]
03:06
braincrash has quit [Quit: bye bye]
03:10
gix- has joined #ruby
03:10
gix has quit [Disconnected by services]
03:10
braincrash has joined #ruby
03:14
ramfjord has quit [Ping timeout: 245 seconds]
03:17
jottr has joined #ruby
03:17
duderonomy has joined #ruby
03:19
DmitryBochkarev has joined #ruby
03:19
DmitryBochkarev has quit [Max SendQ exceeded]
03:20
DmitryBochkarev has joined #ruby
03:22
jottr has quit [Ping timeout: 246 seconds]
03:23
aqd has quit [Remote host closed the connection]
03:27
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:29
doodlebug has quit [Quit: -a- Connection Timed Out]
03:29
duderonomy has joined #ruby
03:32
yield has joined #ruby
03:33
yield has quit [Remote host closed the connection]
03:33
yield has joined #ruby
03:35
doodlebug has joined #ruby
03:35
brool has quit [Quit: WeeChat 2.4]
03:40
DarthGandalf has joined #ruby
03:40
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:42
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:44
ramfjord has joined #ruby
03:44
jenrzzz has joined #ruby
03:48
apg has joined #ruby
03:48
apg has quit [Changing host]
03:48
apg has joined #ruby
03:48
ramfjord has quit [Ping timeout: 246 seconds]
03:52
jenrzzz has quit [Ping timeout: 246 seconds]
04:12
bambanxx has quit [Quit: Leaving]
04:23
DmitryBochkarev has quit [Ping timeout: 246 seconds]
04:25
ramfjord has joined #ruby
04:35
jenrzzz has joined #ruby
04:44
jenrzzz has quit [Ping timeout: 246 seconds]
04:47
ur5us has quit [Remote host closed the connection]
04:47
ur5us has joined #ruby
04:50
duderonomy has joined #ruby
04:52
ur5us has quit [Ping timeout: 245 seconds]
04:54
gix- has quit [Ping timeout: 246 seconds]
05:02
ferr has joined #ruby
05:05
mangold has quit [Quit: This computer has gone to sleep]
05:09
houhoulis has quit [Remote host closed the connection]
05:18
envex has joined #ruby
05:19
jottr has joined #ruby
05:21
Fridtjof has quit [Read error: Connection reset by peer]
05:23
Fusl__ has joined #ruby
05:24
jottr has quit [Ping timeout: 250 seconds]
05:26
Fusl has quit [Ping timeout: 256 seconds]
05:27
mochiyoda_ has joined #ruby
05:29
Inline has quit [Quit: Leaving]
05:31
mochiyoda has quit [Ping timeout: 250 seconds]
05:32
jenrzzz has joined #ruby
05:33
DmitryBochkarev has joined #ruby
05:34
sauvin has joined #ruby
05:36
Swyper has quit [Remote host closed the connection]
05:36
jenrzzz has quit [Ping timeout: 250 seconds]
05:37
jenrzzz has joined #ruby
05:39
ByronJohnson has quit [Ping timeout: 244 seconds]
05:41
cthulchu_ has quit [Read error: Connection reset by peer]
05:42
daniel____ has quit [Read error: Connection reset by peer]
05:42
daniel____ has joined #ruby
05:43
sidx64 has joined #ruby
05:43
aqd has joined #ruby
05:45
aqd has quit [Remote host closed the connection]
05:45
daniel____ has quit [Read error: Connection reset by peer]
05:46
daniel____ has joined #ruby
05:46
ByronJohnson has joined #ruby
05:49
conta has joined #ruby
05:51
daniel____ has quit [Read error: Connection reset by peer]
05:52
kapil____ has joined #ruby
05:52
daniel____ has joined #ruby
05:56
daniel____ has quit [Read error: Connection reset by peer]
06:04
shtirlic has quit [Read error: Connection reset by peer]
06:07
shtirlic has joined #ruby
06:18
jenrzzz has quit [Ping timeout: 268 seconds]
06:21
za1b1tsu has joined #ruby
06:23
brendan- has quit [Read error: Connection reset by peer]
06:24
teardown has joined #ruby
06:24
brendan- has joined #ruby
06:27
snickers has joined #ruby
06:30
schleppel has joined #ruby
06:36
HendrikPeter has joined #ruby
06:44
andikr has joined #ruby
06:45
conta has quit [Ping timeout: 246 seconds]
06:47
aqd has joined #ruby
06:48
aqd has quit [Remote host closed the connection]
06:48
fanta7531 has joined #ruby
06:54
clemens3_ has quit [Ping timeout: 255 seconds]
07:00
jottr has joined #ruby
07:04
TomyWork has joined #ruby
07:06
marmotini_ has joined #ruby
07:10
nowhereman has quit [Ping timeout: 258 seconds]
07:10
aqd has joined #ruby
07:11
clemens3_ has joined #ruby
07:13
t0xik has quit [Quit: Connection closed for inactivity]
07:13
aqd has quit [Remote host closed the connection]
07:17
jottr has quit [Ping timeout: 255 seconds]
07:17
ur5us has joined #ruby
07:17
stryek has quit [Quit: Connection closed for inactivity]
07:18
rindolf has joined #ruby
07:19
lxsameer has joined #ruby
07:19
prestorium has joined #ruby
07:27
reber has joined #ruby
07:31
teardown has quit [Ping timeout: 246 seconds]
07:32
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:33
teardown has joined #ruby
07:33
teardown is now known as Guest22120
07:33
t0xik has joined #ruby
07:36
conta has joined #ruby
07:39
ellcs has joined #ruby
07:41
marmotini has joined #ruby
07:44
marmotini_ has quit [Ping timeout: 245 seconds]
07:46
DmitryBochkarev has quit [Remote host closed the connection]
07:46
sylario has joined #ruby
07:47
beilabs has quit [Ping timeout: 246 seconds]
07:48
DmitryBochkarev has joined #ruby
07:52
cd has quit [Quit: cd]
07:56
aqd has joined #ruby
07:57
vondruch has joined #ruby
07:58
nwradio87888798 has quit [Ping timeout: 250 seconds]
07:59
nwradio87888798 has joined #ruby
08:03
hightower2 has joined #ruby
08:09
suukim has joined #ruby
08:11
beilabs has joined #ruby
08:13
ricekrispie has quit [Read error: Connection reset by peer]
08:14
jenrzzz has joined #ruby
08:15
claudiuinberlin has joined #ruby
08:18
jenrzzz has quit [Ping timeout: 246 seconds]
08:18
postmodern has quit [Quit: Leaving]
08:21
aqd has quit [Remote host closed the connection]
08:29
aqd has joined #ruby
08:31
kyrylo has joined #ruby
08:32
aqd has quit [Remote host closed the connection]
08:38
teclator has joined #ruby
08:47
aqd has joined #ruby
08:48
alem0lars has joined #ruby
08:53
vondruch has quit [Quit: vondruch]
08:54
tdy has quit [Ping timeout: 268 seconds]
09:01
alem0lars_ has joined #ruby
09:01
andikr has quit [Ping timeout: 255 seconds]
09:03
alem0lars has quit [Ping timeout: 246 seconds]
09:03
andikr has joined #ruby
09:06
havenwood has quit [Ping timeout: 245 seconds]
09:07
havenwood has joined #ruby
09:07
havenwood has joined #ruby
09:08
tr50 has joined #ruby
09:11
suukim has quit [Remote host closed the connection]
09:14
tr50 has left #ruby [#ruby]
09:14
jottr has joined #ruby
09:16
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:16
aqd has quit [Remote host closed the connection]
09:18
alem0lars_ has quit [Remote host closed the connection]
09:24
andikr has quit [Ping timeout: 250 seconds]
09:25
aqd has joined #ruby
09:25
Nicmavr has quit [Read error: Connection reset by peer]
09:25
ur5us has quit [Remote host closed the connection]
09:26
ur5us has joined #ruby
09:26
andikr has joined #ruby
09:27
Nicmavr has joined #ruby
09:27
vondruch has joined #ruby
09:30
Guest22120 has quit [Ping timeout: 246 seconds]
09:30
ur5us has quit [Ping timeout: 246 seconds]
09:31
<
Bish >
adam12: i think i found the cause of the problem
09:32
teardown has joined #ruby
09:32
<
Bish >
i am using text_part and html_part
09:32
<
Bish >
which results in a "multipart/alternative"
09:32
teardown is now known as Guest5596
09:32
<
Bish >
as soon as you have file attachments thunderbirds expects multipart/mixed
09:33
<
Bish >
thunderbird seems to see the attachment just as another version of the email as instead of a attachments
09:38
rindolf has quit [Remote host closed the connection]
09:38
aqd has quit [Remote host closed the connection]
09:39
ogurk has joined #ruby
09:39
conta has quit [Ping timeout: 268 seconds]
09:39
DarthGandalf has quit [Ping timeout: 245 seconds]
09:39
mangold has joined #ruby
09:39
<
ogurk >
looking for docs on adding local ca cert to rubygmes on Linux - anyone could help?
09:43
jcarl43 has quit [Quit: WeeChat 2.4]
09:43
Guest5596 has quit [Ping timeout: 255 seconds]
09:43
dsmythe has quit [Read error: Connection reset by peer]
09:44
dsmythe has joined #ruby
09:44
terens has joined #ruby
09:44
<
terens >
is there a way to write it in one line
09:44
<
terens >
return unless enabled return if self.class.valid?
09:45
teardown has joined #ruby
09:45
<
terens >
return if !enabled || ( enabled && self.class.valid?) - the only thing i can think
09:45
teardown is now known as Guest3806
09:46
<
phaul >
!a || (a && b) == !a || b
09:49
<
phaul >
i mean !a && b.
09:50
<
phaul >
no I was right the first time
09:51
* phaul
needs morning coffee first
09:51
<
Bish >
return unless enabled && self.class.valid?
09:51
* Bish
didnt think about this but this should work
09:52
<
phaul >
you would need to negate self.class.valid? Bish
09:53
<
phaul >
!a || (a && b) == !a || b == !(a && !b)
09:53
dviola has joined #ruby
09:55
conta has joined #ruby
09:55
aqd has joined #ruby
09:56
<
Bish >
still that looks better, doesnt it?
09:56
<
Bish >
return unless enabled && !self.class.valid?
09:59
<
Bish >
hm, for me "return unless enabled && self.class.valid? works
10:00
<
rubydoc >
parser error at position 0 around `>'
10:00
<
phaul >
note that terens wanted to return
_if_ self.class.valid? was true
10:00
mhlei has joined #ruby
10:01
<
Bish >
but that doesnt make sense :p
10:02
<
Bish >
you can just skip checking enabled then and just return if valid
10:02
<
mhlei >
what is the sign '&' after a variable mean? like this: with_locale(user&.preferred_language, &block)
10:03
<
Bish >
mhlei: if you define & inside a parameter list (in "def") you say you want to get the given block as a proc
10:03
esrse has quit [Ping timeout: 250 seconds]
10:03
<
Bish >
if you call a method with the operator you pass a proc as a block
10:04
<
Bish >
&&> [1].map {|x| x.inc }
10:04
<
rubydoc >
parser error at position 0 around `&'
10:04
ramfjord has quit [Ping timeout: 245 seconds]
10:04
<
phaul >
&>> [1].map {|x| x.inc }
10:04
<
Bish >
&&> [1].map {|x| x.succ }
10:04
<
rubydoc >
parser error at position 0 around `&'
10:04
jottr has quit [Ping timeout: 255 seconds]
10:05
<
phaul >
the > is double not the &
10:05
<
Bish >
&>> [1].map {|x| x.inc }
10:05
<
Bish >
haha. oh man
10:05
<
Bish >
&>> [1].map {|x| x.succ }
10:05
<
phaul >
we will get there
10:05
<
Bish >
&>> [1].map(&:succ)
10:05
<
Bish >
mhlei: these 2 are identical as you can see
10:06
ferr has quit [Ping timeout: 255 seconds]
10:06
<
mhlei >
Bish: thank you ,let me think...
10:06
<
Bish >
the reason for that is:
10:07
<
Bish >
:x.to_proc is Proc.new { |obj| obj.x }
10:07
<
Bish >
and &:x implicitly calls .to_proc on the symbol ":x"
10:07
<
Bish >
&>> [1].map(&(:succ.to_proc))
10:08
aqd has quit [Remote host closed the connection]
10:09
<
Bish >
&>> [1].map(&Proc.new {|x| x.succ})
10:09
<
Bish >
all the same thing, just syntactic sugar around it
10:13
<
Bish >
haha, fun if you define [] with a &block, and then do [&:x] you get an array of one proc, that would be confusing af to a novice
10:15
ferr has joined #ruby
10:15
<
mhlei >
rubydoc is just a machine? not a person.
10:15
<
mhlei >
&&> [1].map {|x| x.inc }
10:15
<
rubydoc >
parser error at position 0 around `&'
10:15
<
mhlei >
i think so .
10:15
<
Bish >
mhlei: 2 > not 2 &
10:16
<
Bish >
phaul: oh its yours :)?
10:19
gregf_ has joined #ruby
10:19
aqd has joined #ruby
10:24
<
Bish >
adam12: yeah, m.content_type = m.content_type.gsub('alternative','mixed') "fixes" it
10:27
marmotini_ has joined #ruby
10:28
<
Bish >
&>> def self.to_proc; ->(x){p x} ;end;[*1..2].each(&self)
10:30
marmotini has quit [Ping timeout: 245 seconds]
10:35
marmotini has joined #ruby
10:36
<
phaul >
&fake Hacker.say_something_smart
10:36
<
rubydoc >
Try to connect the FTP hard drive, maybe it will override the multi-byte pixel!
10:37
<
mhlei >
& puts 'hello'
10:37
<
rubydoc >
parser error at position 0 around ` '
10:38
<
mhlei >
i see. '&>>' is the prefix used to execute online for rubydoc. rubydoc is a good machine.
10:39
<
mhlei >
Bish, thank you very much.
10:39
marmotini_ has quit [Ping timeout: 246 seconds]
10:40
jottr has joined #ruby
10:46
jottr has quit [Ping timeout: 245 seconds]
10:47
keden has joined #ruby
10:49
AJA4350 has joined #ruby
10:49
conta has quit [Ping timeout: 246 seconds]
10:52
conta has joined #ruby
10:55
<
Bish >
mhlei: yw :)
10:57
<
mhlei >
but my question is that the & is behind a variable. not before . was this the same mean?
10:58
<
mhlei >
def with_user_locale(user, &block) with_locale(user&.preferred_language, &block) end
10:59
<
mhlei >
the user& in this sentence.
10:59
<
phaul >
it's coupled with the `.' &.
10:59
jinie has joined #ruby
10:59
<
phaul >
it means (user.nil? ? nil : user.preferred_language)
11:00
RedSnarf has joined #ruby
11:00
mangold has quit [Quit: This computer has gone to sleep]
11:01
jenrzzz has joined #ruby
11:01
<
mhlei >
phaul, thank u, this is syntactic in ruby ?
11:01
<
phaul >
yes it's just a syntactic sugar for the above. relatively recent as well
11:02
<
phaul >
&>> 1&.succ
11:02
<
phaul >
&20>> 1&.succ
11:03
<
phaul >
20 meaning mri 2.0
11:03
themsay has joined #ruby
11:04
vondruch_ has joined #ruby
11:05
jenrzzz has quit [Ping timeout: 255 seconds]
11:05
<
phaul >
simply shortens code like if user then if user.address then if user.address.country ...
11:06
vondruch has quit [Ping timeout: 250 seconds]
11:06
vondruch_ is now known as vondruch
11:06
themsay has quit [Read error: Connection reset by peer]
11:06
themsay has joined #ruby
11:08
<
phaul >
assuming that anything can be nil along the chain
11:16
Guest3806 has quit [Ping timeout: 250 seconds]
11:18
prestorium has quit [Ping timeout: 255 seconds]
11:28
daniel____ has joined #ruby
11:29
kyrylo has joined #ruby
11:29
daniel____ has quit [Remote host closed the connection]
11:29
daniel____ has joined #ruby
11:33
t0xik has quit [Quit: Connection closed for inactivity]
11:33
jlebrech has joined #ruby
11:33
kyrylo has quit [Ping timeout: 255 seconds]
11:35
kyrylo has joined #ruby
11:38
ldnunes has joined #ruby
11:39
yield has quit [Remote host closed the connection]
11:39
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:41
<
jlebrech >
missing_method doesn't work with superclasses?
11:42
<
phaul >
I am guessing you mean method_missing
11:42
<
jlebrech >
that way round yes
11:43
<
jlebrech >
if I call, super on a child class and it's missing it won't scoop it up
11:44
<
jlebrech >
just something funky i wanted to try out.
11:46
<
phaul >
&>> class X; def method_missing(name); "from X : #{name}"; end; end; class Y < X; def foo; super; end; end; Y.new.foo
11:47
<
phaul >
it seems to work
11:48
andikr has quit [Ping timeout: 246 seconds]
11:49
sidx64 has joined #ruby
11:50
aqd has quit [Remote host closed the connection]
11:50
andikr has joined #ruby
11:55
<
Cork >
anyone know if there is a way to get redcarpet to offset the header level?
11:55
<
Cork >
i would want to have it start at h3 instead of the default h1
11:57
<
jlebrech >
phaul: thanks :)
11:57
aqd has joined #ruby
11:57
<
phaul >
jlebrech: yw
11:58
lele has quit [Ping timeout: 258 seconds]
11:58
PasNox has left #ruby ["Parting"]
12:00
ramfjord has joined #ruby
12:00
teardown has joined #ruby
12:00
teardown is now known as Guest65678
12:01
lele has joined #ruby
12:04
ramfjord has quit [Ping timeout: 252 seconds]
12:05
themsay has quit [Quit: Quit]
12:06
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:09
sidx64 has joined #ruby
12:13
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
12:19
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:21
doodlebug has quit [Read error: Connection reset by peer]
12:22
andikr has quit [Ping timeout: 252 seconds]
12:25
al2o3-cr has joined #ruby
12:30
sidx64 has joined #ruby
12:37
Tuor has joined #ruby
12:37
<
ryouba >
when entering a class with `attr_accessor :foo` through a static method on that class, and then inside of that static method doing `x = new` and `x.foo = :bar` and `return x`, why can't i access #foo from the outside?
12:38
DarthGandalf has joined #ruby
12:38
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:38
<
Cork >
ryouba: is x of that class?
12:39
<
Cork >
cause if it is it should work just fine
12:40
<
Cork >
Tuor: you mean what the result is or what it does deeper down?
12:41
<
phaul >
&>> class X; def self.blah; x = new; x.foo = :bar; x; end; attr_accessor :foo; end; X.blah.foo
12:41
<
Cork >
Tuor: cause the result is a class (struct) with an accessor name that you can give values
12:41
mangold has joined #ruby
12:42
jottr has joined #ruby
12:43
<
Tuor >
I don't know what an accessor is and where this class is defined (is Struct a class provided by ruby it self?)
12:44
<
Cork >
Tuor: new takes a list of values, and it returns a new instance with those names defined as accessor
12:44
<
Cork >
this means you can take the result.name or result.<what ever you called it that is a valid format name>
12:44
<
Cork >
struct isn't much more then that, it is basically a hash
12:46
<
Tuor >
so Options.name would then be a Struct?
12:46
<
Cork >
no it should be the value of the struct field name
12:46
<
Cork >
optoons should be a struct class
12:47
jottr has quit [Ping timeout: 255 seconds]
12:48
<
Tuor >
OK let me try.
12:50
aqd has quit [Remote host closed the connection]
12:58
aqd has joined #ruby
12:59
prestorium has joined #ruby
13:02
jenrzzz has joined #ruby
13:03
dsmythe has quit [Remote host closed the connection]
13:03
<
ryouba >
Cork: phaul: thanks for the MWE ... i must have a different problem then :-/
13:03
dsmythe has joined #ruby
13:03
fanta7531 has quit [Quit: fanta7531]
13:06
jenrzzz has quit [Ping timeout: 250 seconds]
13:07
sidx64 has joined #ruby
13:07
<
ryouba >
phaul: any reason you put attr_accessor at the end instead of the beginning of your example class?
13:07
ramfjord has joined #ruby
13:08
sidx64 has quit [Client Quit]
13:08
sidx64 has joined #ruby
13:10
<
phaul >
If I had to guess, I would say your attr accessor is on the singleton class of X not on X. are you putting it inside class << self block by any chance?
13:10
sidx64 has quit [Client Quit]
13:11
<
ryouba >
no, it's at the same place as your example
13:11
<
ryouba >
phaul: but my real class derives from Sequel::Model
13:11
<
phaul >
ok that was just a stab in the dark
13:12
<
ryouba >
even though that shouldn't matter
13:12
ramfjord has quit [Ping timeout: 245 seconds]
13:15
<
ryouba >
let me try to create a less minimal MWE
13:24
<
Tuor >
Cork: I played a bit around. Now I don't understand why this code prints 'Class': `options = Struct.new(:name); puts options.class`
13:24
<
ryouba >
phaul: the problem was in a completely different part of the code. i was just suspecting the static method to be the culprit as that's a new technique to me.
13:24
<
phaul >
ryouba: ok, glad you figured it out
13:25
<
Cork >
Tuor: that is the internal part i talked about before, i THINK Struct just use the generic Class.new to create a dynamic class under the hood, but not sure
13:26
apg has quit [Remote host closed the connection]
13:26
<
jlebrech >
anything better than rails? looking to simplify the: routes -> controller -> model thing. maybe a flat structure to have an api but also run webpacker.
13:26
<
ryouba >
phaul: all answers yield new questions though. from outside the class, "obj = X.blah; pp obj.foo" shows ":bar". but "pp obj" doesn't contain that info anywhere. why?
13:26
<
jlebrech >
can grape be used as an engine?
13:28
mondz has joined #ruby
13:29
<
phaul >
ryouba: it depends on the inspect method of the object. pp takes the output of that
13:31
<
ryouba >
oh okay ... so in this case, the inspect method of Sequel::Model?
13:31
<
phaul >
correct. pedantically the
_instance method_ inspect of Sequel::Model
13:32
<
ryouba >
i.e. the one without "self." in front of it
13:33
<
ryouba >
so if i want these object attributes to appear as part of #to_hash, then i'll have to overwrite Sequel::Model's #to_hash in my derived class
13:34
sidx64 has joined #ruby
13:34
prestori_ has joined #ruby
13:35
conta has quit [Remote host closed the connection]
13:35
<
phaul >
if you are interested, the way this works is somewhat different from other languages, and Ruby doesnt have static methods. even class methods is a term that's accepted by the community but that's not what we really have
13:35
<
phaul >
It's just one kind of methods.
13:36
<
ryouba >
well Ruby is all i want to write
13:36
<
ryouba >
even though my gf has to write her thesis in Matlab, which is why i'm having to learn that, too
13:36
<
phaul >
methods on objects. That object can be a class though
13:36
<
ryouba >
and okay, i enjoy Arduino, which is C++
13:36
<
ryouba >
but my main interest is Ruby :-D
13:36
<
phaul >
so when i say X.foo, it's not a static method, it's a method on class Foo which is just an object
13:37
<
ryouba >
so the distinction between static method and class method is basically just for the benefit of the humans, but makes no difference to the compiler?
13:38
prestorium has quit [Ping timeout: 246 seconds]
13:38
<
phaul >
more like the distinction between class methods and instance methods. (and static methods in other languages are modelled with class methods but ruby doesn't use such term))
13:39
reber has quit [Remote host closed the connection]
13:39
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:40
<
ryouba >
phaul: i understood that in order to use more precise language, one should say "class method" instead of "static method", but saying "instance method" is fine?
13:41
mistergibson has joined #ruby
13:41
<
phaul >
well, thecniqually a class method is an instance method of the classes singleton class. but that's a mouthful. so ppl just shorten it to class method. Saying just instance method would be confused with normal instance methods
13:43
cisco has joined #ruby
13:43
mistergibson has quit [Remote host closed the connection]
13:43
wallace_mu has quit [Remote host closed the connection]
13:43
Rapture has joined #ruby
13:44
<
phaul >
&>> x = 'a'; def x.up!; x.upcase; end; x.up!
13:45
<
phaul >
&>> x = 'a'; def x.up!; upcase; end; x.up!
13:45
ferr has quit [Quit: WeeChat 2.4]
13:45
* ryouba
reads and squints and reads some more and squints some more
13:45
jottr has joined #ruby
13:45
<
phaul >
so here up! is a method put in the singleton class of object x. No other strings have that method.
13:46
<
phaul >
similarly when in a class you define a method self.foo, it's put in the singleton class of that object that is that class.
13:46
<
phaul >
No other classes have that method
13:46
crankharder has joined #ruby
13:47
Fridtjof has joined #ruby
13:48
<
ryouba >
not rn as i need to get going but perhaps as something before bed
13:48
<
ryouba >
i like his books, never seen him talk!
13:50
jottr has quit [Ping timeout: 246 seconds]
13:58
DmitryBochkarev has quit [Ping timeout: 250 seconds]
13:59
vondruch has quit [Quit: vondruch]
13:59
vondruch has joined #ruby
14:03
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:04
<
Tuor >
Cork: so options is an instance of the class Class and has an attribute called name?
14:07
wallace_mu has joined #ruby
14:09
duderonomy has joined #ruby
14:09
<
havenwood >
Tuor: Options = Struct.new(:name); options = Options.new 'option name'
14:09
<
havenwood >
Tuor: `options` above is an instance of the `Options` Struct
14:11
<
havenwood >
Tuor: in modern Ruby, there's also a nifty `keyword_init:` param that I think is great
14:11
<
havenwood >
Options = Struct.new(:name, keyword_init: true); options = Options.new(name: 'option name')
14:11
<
havenwood >
#=> #<struct Options name="option name">
14:14
terens has quit [Quit: Leaving]
14:15
<
havenwood >
&>> Struct.new(:name).new('Lilibeth')
14:17
jottr has joined #ruby
14:18
<
Tuor >
Ah now, I'm creating a new class called Option.
14:19
<
Tuor >
I was thinking I am instanciating a Class not creating a new class. Thats a big difference... :)
14:20
marmotini has quit [Remote host closed the connection]
14:20
DmitryBochkarev has joined #ruby
14:21
<
Tuor >
I read your paste. I did understand I think even your metho to_s with the array to comma seperated words in the string.
14:21
Swyper has joined #ruby
14:22
jottr has quit [Ping timeout: 245 seconds]
14:26
nowhereman has joined #ruby
14:31
UnknownSoldier has joined #ruby
14:32
<
mhlei >
The tags file made by ctags/ripper-tags is not useful to the namespace. who to resolve it? it
14:34
<
mhlei >
Exactly, the ctags is not very firendly while go to the definition of a tag.
14:35
lxsameer has quit [Quit: out]
14:36
powerbit has quit [Remote host closed the connection]
14:37
Dbugger has joined #ruby
14:38
bahamas has joined #ruby
14:39
<
bahamas >
hello. does ruby still use oniguruma regular expressions?
14:39
<
bahamas >
great! thanks
14:40
<
leah2 >
Onigmo really
14:42
<
bahamas >
what's important is that it's close enough to the regex supported by textmate. because I want to use this site to test some regular expressions for syntax highligthing:
https://rubular.com/
14:42
beilabs_ has joined #ruby
14:43
AndroidKitKat has quit [Remote host closed the connection]
14:45
beilabs has quit [Ping timeout: 255 seconds]
14:46
mistergibson has joined #ruby
14:47
wallace_mu has quit []
14:48
nowhereman has quit [Ping timeout: 246 seconds]
14:49
AndroidKitKat has joined #ruby
14:50
Swyper has quit [Remote host closed the connection]
14:51
sidx64 has joined #ruby
14:51
priodev has quit [Ping timeout: 268 seconds]
14:53
priodev has joined #ruby
14:53
Swyper has joined #ruby
14:54
jottr has joined #ruby
14:55
AndroidKitKat has quit [Quit: バイバイ〜!]
14:55
mistergibson has quit [Quit: Leaving]
14:55
AndroidKitKat has joined #ruby
14:57
sidx64 has quit [Ping timeout: 245 seconds]
14:57
sidx64_ has joined #ruby
14:59
jottr has quit [Ping timeout: 245 seconds]
15:02
TomyWork has quit [Ping timeout: 246 seconds]
15:04
HendrikPeter has quit [Ping timeout: 246 seconds]
15:04
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:06
mondz has quit [Ping timeout: 245 seconds]
15:07
AndroidKitKat has quit [Quit: バイバイ〜!]
15:07
AndroidKitKat has joined #ruby
15:08
DmitryBochkarev has quit [Ping timeout: 268 seconds]
15:09
crankharder has quit [Ping timeout: 250 seconds]
15:12
Tuor has quit [Ping timeout: 250 seconds]
15:14
mangold has quit [Quit: This computer has gone to sleep]
15:15
jottr has joined #ruby
15:18
bahamas has quit [Ping timeout: 255 seconds]
15:20
cisco has quit [Ping timeout: 246 seconds]
15:21
crankharder has joined #ruby
15:23
rippa has joined #ruby
15:24
AJA4350 has quit [Ping timeout: 245 seconds]
15:25
eddof13 has joined #ruby
15:26
eddof13 has quit [Client Quit]
15:26
crankharder has quit [Ping timeout: 246 seconds]
15:30
eddof13 has joined #ruby
15:30
jcarl43 has joined #ruby
15:31
houhoulis has joined #ruby
15:31
bahamas has joined #ruby
15:33
DmitryBochkarev has joined #ruby
15:34
DmitryBochkarev has quit [Max SendQ exceeded]
15:34
tdy has joined #ruby
15:34
DmitryBochkarev has joined #ruby
15:36
Swyper has quit [Remote host closed the connection]
15:36
Swyper has joined #ruby
15:39
crankharder has joined #ruby
15:41
Fira has quit [Read error: Connection reset by peer]
15:48
mangold has joined #ruby
15:51
sidx64_ has quit [Ping timeout: 250 seconds]
15:52
clemens3_ has quit [Ping timeout: 255 seconds]
15:55
andikr has joined #ruby
15:58
bahamas has quit [Ping timeout: 250 seconds]
16:00
jlebrech has quit [Remote host closed the connection]
16:01
kiero has quit [Quit: leaving]
16:04
orbyt_ has joined #ruby
16:06
polishdub has joined #ruby
16:08
AJA4350 has joined #ruby
16:08
gix has joined #ruby
16:12
mondz has joined #ruby
16:15
jenrzzz has joined #ruby
16:15
yield has joined #ruby
16:16
mondz has quit [Ping timeout: 245 seconds]
16:19
andikr has quit [Ping timeout: 246 seconds]
16:19
claudiuinberlin has joined #ruby
16:19
yield has quit [Ping timeout: 250 seconds]
16:19
jenrzzz has quit [Ping timeout: 250 seconds]
16:20
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:22
claudiuinberlin has quit [Client Quit]
16:23
brool has joined #ruby
16:26
cisco has joined #ruby
16:26
hiroaki has quit [Ping timeout: 250 seconds]
16:26
cisco is now known as Guest89555
16:30
ua has quit [Ping timeout: 268 seconds]
16:30
HendrikPeter has joined #ruby
16:30
orbyt_ has joined #ruby
16:30
mondz has joined #ruby
16:32
andikr has joined #ruby
16:33
Inline has joined #ruby
16:38
houhoulis has quit [Remote host closed the connection]
16:40
cthulchu_ has joined #ruby
16:43
ua has joined #ruby
16:45
c-c has joined #ruby
16:46
yield has joined #ruby
16:50
yield has quit [Ping timeout: 246 seconds]
16:51
n13z has quit [Ping timeout: 268 seconds]
16:52
n13z has joined #ruby
16:56
aonemd has joined #ruby
16:57
pupsikov has joined #ruby
16:57
aonemd has quit [Client Quit]
16:57
cthulchu_ has quit [Read error: Connection reset by peer]
16:57
aonemd has joined #ruby
17:00
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:04
dsmythe has quit [Read error: Connection reset by peer]
17:04
dsmythe has joined #ruby
17:04
lxsameer has joined #ruby
17:06
doodlebug has joined #ruby
17:07
andikr has quit [Remote host closed the connection]
17:08
ramfjord has joined #ruby
17:12
spiette has quit [Ping timeout: 245 seconds]
17:13
ramfjord has quit [Ping timeout: 255 seconds]
17:13
i1nfusion has joined #ruby
17:14
wallace_mu has joined #ruby
17:17
yield has joined #ruby
17:18
spiette has joined #ruby
17:21
bahamas has joined #ruby
17:21
yield has quit [Ping timeout: 245 seconds]
17:21
prestori_ has quit [Ping timeout: 245 seconds]
17:23
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:24
ramfjord has joined #ruby
17:27
lucasb has joined #ruby
17:29
duderonomy has joined #ruby
17:29
za1b1tsu has quit [Remote host closed the connection]
17:32
cthulchu_ has joined #ruby
17:35
DarthGandalf has quit [Ping timeout: 250 seconds]
17:36
brool has quit [Quit: WeeChat 2.4]
17:38
ramfjord_ has joined #ruby
17:39
aonemd has quit [Quit: leaving]
17:40
ramfjord has quit [Ping timeout: 255 seconds]
17:43
orbyt_ has joined #ruby
17:44
UnknownSoldier is now known as \tau
17:48
yield has joined #ruby
17:50
DmitryBochkarev has quit [Ping timeout: 245 seconds]
17:52
yield has quit [Ping timeout: 255 seconds]
17:52
pupsikov has joined #ruby
17:53
Guest89555 has quit [Ping timeout: 250 seconds]
17:55
spiette has joined #ruby
18:01
\tau has quit [Remote host closed the connection]
18:04
yield has joined #ruby
18:07
SeepingN has joined #ruby
18:08
yield has quit [Ping timeout: 245 seconds]
18:09
waheedi has quit [Quit: waheedi]
18:15
jenrzzz has joined #ruby
18:19
jenrzzz has quit [Ping timeout: 246 seconds]
18:19
Guest65678 has quit [Ping timeout: 246 seconds]
18:19
postmodern has joined #ruby
18:23
Swyper has quit [Remote host closed the connection]
18:23
Swyper has joined #ruby
18:26
sauvin has quit [Read error: Connection reset by peer]
18:26
bahamas has quit [Quit: leaving]
18:27
zapata has joined #ruby
18:29
dsmythe has quit [Remote host closed the connection]
18:30
dsmythe has joined #ruby
18:34
<
c-c >
I'm thinking maybe must posix_spawn() or other fancying
18:35
yield has joined #ruby
18:39
mangold has quit [Quit: This computer has gone to sleep]
18:39
yield has quit [Ping timeout: 245 seconds]
18:40
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:41
dsmythe_ has joined #ruby
18:42
<
c-c >
- but is there a posix spawn in ruby libs?
18:43
<
c-c >
hm, maybe this could be bash level stuff
18:44
dsmythe has quit [Ping timeout: 246 seconds]
18:44
dsmythe has joined #ruby
18:44
orbyt_ has joined #ruby
18:45
dsmythe_ has quit [Ping timeout: 268 seconds]
18:55
noboruma has quit [Ping timeout: 246 seconds]
18:57
noboruma has joined #ruby
18:58
SeepingN has quit [Ping timeout: 246 seconds]
18:59
waheedi has joined #ruby
18:59
orbyt_ has quit [Ping timeout: 246 seconds]
19:03
orbyt_ has joined #ruby
19:03
UnknownSoldier has joined #ruby
19:03
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:06
UnknownSoldier is now known as \tau
19:06
yield has joined #ruby
19:07
<
miah >
\msg zenspider welcome to the team =)
19:07
<
miah >
all you saw was hunter2 right?
19:09
doodlebug has quit [Read error: Connection reset by peer]
19:09
doodlebug has joined #ruby
19:10
yield has quit [Ping timeout: 250 seconds]
19:12
<
Zarthus >
miah: I saw a person trying to cover up a huge mistake.
19:14
hiroaki has joined #ruby
19:16
<
miah >
by huge you mean asterisks right?
19:16
t0xik has joined #ruby
19:18
kapil____ has quit [Quit: Connection closed for inactivity]
19:18
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:21
duderonomy has joined #ruby
19:21
HendrikPeter has quit [Ping timeout: 255 seconds]
19:22
duderonomy has quit [Client Quit]
19:25
duderonomy has joined #ruby
19:26
duderonomy has quit [Client Quit]
19:28
cd has joined #ruby
19:29
eddof13 has quit [Quit: eddof13]
19:29
mochiyoda_ is now known as mochiyoda
19:30
vondruch_ has joined #ruby
19:31
HendrikPeter has joined #ruby
19:31
yield has joined #ruby
19:31
eddof13 has joined #ruby
19:32
vondruch has quit [Ping timeout: 255 seconds]
19:32
vondruch_ is now known as vondruch
19:36
yield has quit [Ping timeout: 255 seconds]
19:36
maxdoubt has joined #ruby
19:41
HendrikPeter has quit [Ping timeout: 255 seconds]
19:45
crankharder has quit [Ping timeout: 250 seconds]
19:50
duderonomy has joined #ruby
19:52
mondz has quit [Quit: ERC (IRC client for Emacs 26.1)]
19:52
duderonomy has quit [Client Quit]
19:53
mondz has joined #ruby
20:01
gnufied has joined #ruby
20:02
crankharder has joined #ruby
20:05
Nicmavr has quit [Read error: Connection reset by peer]
20:05
SeepingN has joined #ruby
20:05
doodlebug has quit [Ping timeout: 245 seconds]
20:06
crankharder has quit [Ping timeout: 246 seconds]
20:06
Nicmavr has joined #ruby
20:07
doodleb51 has joined #ruby
20:08
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:09
code_zombie has joined #ruby
20:10
doodleb51 has quit [Read error: Connection reset by peer]
20:12
ldnunes has quit [Ping timeout: 252 seconds]
20:13
doodlebug has joined #ruby
20:19
ldnunes has joined #ruby
20:19
crankharder has joined #ruby
20:20
ramfjord_ has quit [Ping timeout: 245 seconds]
20:20
waheedi has quit [Quit: waheedi]
20:23
doodlebug has quit [Ping timeout: 246 seconds]
20:25
doodleb37 has joined #ruby
20:27
hiroaki has quit [Ping timeout: 252 seconds]
20:28
doodleb37 has quit [Read error: Connection reset by peer]
20:28
quarters has quit [Ping timeout: 252 seconds]
20:30
quarters has joined #ruby
20:31
doodlebug has joined #ruby
20:32
HendrikPeter has joined #ruby
20:33
noboruma has quit [Ping timeout: 250 seconds]
20:35
noboruma has joined #ruby
20:35
aqd has quit [Remote host closed the connection]
20:37
eddof13 has quit [Ping timeout: 245 seconds]
20:38
maryo has joined #ruby
20:39
jenrzzz has joined #ruby
20:40
HendrikPeter has quit [Ping timeout: 250 seconds]
20:40
Fernando-Basso has joined #ruby
20:47
doodlebug has quit [Read error: Connection timed out]
20:49
doodlebug has joined #ruby
20:52
hightower2 has quit [Ping timeout: 268 seconds]
20:53
duderonomy has joined #ruby
20:55
i1nfusion has quit [Remote host closed the connection]
20:56
zleap has joined #ruby
20:56
zleap has quit [Changing host]
20:56
zleap has joined #ruby
20:56
i1nfusion has joined #ruby
20:56
ur5us has joined #ruby
20:59
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:59
duderonomy has joined #ruby
21:01
noboruma has quit [Ping timeout: 245 seconds]
21:02
duderonomy has quit [Client Quit]
21:03
noboruma has joined #ruby
21:04
dsmythe has quit [Ping timeout: 245 seconds]
21:04
interruptinuse has joined #ruby
21:05
hightower2 has joined #ruby
21:10
druonysus has joined #ruby
21:10
druonysus has joined #ruby
21:10
druonysus has quit [Changing host]
21:15
ldnunes has quit [Quit: Leaving]
21:24
nwradio878887987 has joined #ruby
21:25
quarters has quit [Ping timeout: 258 seconds]
21:25
nwradio87888798 has quit [Ping timeout: 246 seconds]
21:27
quarters has joined #ruby
21:29
ur5us has quit [Read error: Connection reset by peer]
21:29
ur5us has joined #ruby
21:30
ur5us has quit [Read error: Connection reset by peer]
21:30
dsmythe has joined #ruby
21:30
schleppel has quit [Quit: Konversation terminated!]
21:30
ur5us has joined #ruby
21:30
dsmythe has quit [Remote host closed the connection]
21:31
dsmythe has joined #ruby
21:31
doodleb6 has joined #ruby
21:32
doodlebug has quit [Ping timeout: 255 seconds]
21:32
doodleb6 has quit [Read error: Connection reset by peer]
21:32
nwradio878887987 has quit [Ping timeout: 255 seconds]
21:33
nwradio878887987 has joined #ruby
21:35
dsmythe has quit [Ping timeout: 245 seconds]
21:37
doodlebug has joined #ruby
21:38
AJA4350 has quit [Ping timeout: 245 seconds]
21:41
crankharder has quit [Ping timeout: 245 seconds]
21:42
zachrab has joined #ruby
21:42
zachrab has quit [Client Quit]
21:43
druonysus has quit [Quit: druonysus]
21:45
druonysus has joined #ruby
21:52
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:53
orbyt_ has joined #ruby
21:57
dsmythe has joined #ruby
21:59
dsmythe has quit [Remote host closed the connection]
22:00
SuperL4g has joined #ruby
22:00
dsmythe has joined #ruby
22:01
maxdoubt has quit [Quit: maxdoubt]
22:03
Dbugger has quit [Ping timeout: 250 seconds]
22:05
nuh^ has joined #ruby
22:05
segy has quit [Ping timeout: 245 seconds]
22:08
maryo_ has joined #ruby
22:09
segy has joined #ruby
22:09
SuperL4g has quit [Quit: WeeChat 2.2]
22:10
SuperL4g has joined #ruby
22:11
zachk has joined #ruby
22:11
maryo has quit [Ping timeout: 246 seconds]
22:12
i1nfusion has quit [Remote host closed the connection]
22:12
zachk has quit [Changing host]
22:12
zachk has joined #ruby
22:12
ramfjord has joined #ruby
22:13
i1nfusion has joined #ruby
22:16
nwradio878887987 has quit [Ping timeout: 255 seconds]
22:16
nwradio878887987 has joined #ruby
22:16
imadper has quit [Read error: Connection reset by peer]
22:18
jottr has quit [Ping timeout: 250 seconds]
22:20
nowhereman has joined #ruby
22:22
wallace_mu has quit [Remote host closed the connection]
22:23
wallace_mu has joined #ruby
22:25
crankharder has joined #ruby
22:26
gix has quit [Ping timeout: 250 seconds]
22:27
wallace_mu has quit [Ping timeout: 246 seconds]
22:27
orbyt_ has quit [Ping timeout: 245 seconds]
22:29
maryo_ has quit [Read error: Connection reset by peer]
22:31
maxdoubt has joined #ruby
22:32
lxsameer has quit [Ping timeout: 246 seconds]
22:33
lytol has joined #ruby
22:34
someuser has joined #ruby
22:41
duderonomy has joined #ruby
22:41
zachk has quit [Read error: Connection reset by peer]
22:42
zachk has joined #ruby
22:42
zleap has quit [Quit: WeeChat 2.4]
22:47
polishdub has quit [Quit: leaving]
22:50
Fusl__ is now known as Fusl
22:52
maxdoubt has quit [Quit: maxdoubt]
22:53
teclator_ has joined #ruby
22:54
teclator_ has quit [Client Quit]
22:54
teclator_test has joined #ruby
22:55
ellcs1 has joined #ruby
22:55
teclator_test has left #ruby [#ruby]
22:56
jottr has joined #ruby
22:56
AJA4350 has joined #ruby
22:56
jenrzzz has quit [Read error: Connection reset by peer]
22:56
jenrzzz has joined #ruby
22:57
nowhereman has quit [Ping timeout: 258 seconds]
22:59
cisco has joined #ruby
22:59
cisco is now known as Guest31420
23:00
jottr has quit [Ping timeout: 250 seconds]
23:02
someuser has quit [Ping timeout: 246 seconds]
23:04
jenrzzz has quit [Read error: Connection reset by peer]
23:10
jenrzzz has joined #ruby
23:11
lytol has quit [Remote host closed the connection]
23:18
Guest31420 has quit [Ping timeout: 255 seconds]
23:19
cisco_ has joined #ruby
23:24
wallace_mu has joined #ruby
23:24
cisco_ has quit [Ping timeout: 246 seconds]
23:28
jottr has joined #ruby
23:28
wallace_mu has quit [Client Quit]
23:30
amfdsrt^ has joined #ruby
23:35
bhaak has quit [Ping timeout: 252 seconds]
23:40
jottr has quit [Ping timeout: 255 seconds]
23:41
jcarl43 has quit [Quit: WeeChat 2.4]
23:43
mondz has quit [Ping timeout: 255 seconds]
23:48
scientes has joined #ruby
23:48
<
scientes >
how do i send EOF on a IO object?
23:52
orbyt_ has joined #ruby
23:54
jenrzzz has quit [Ping timeout: 268 seconds]
23:54
mondz has joined #ruby
23:55
jenrzzz has joined #ruby
23:56
<
scientes >
how do i daemonize a script?
23:57
<
scientes >
why is daemonizing a script so painful
23:58
<
scientes >
yeah I was a developer of systemd in its early days
23:58
<
scientes >
but i am running from a git hook
23:58
<
scientes >
and need to daemonize