00:00
<
apeiros >
what are you trying to achieve?
00:00
airdisa has joined #ruby
00:00
<
impermanence >
apeiros: hey. I'm writing that now.
00:00
jrabe has joined #ruby
00:02
<
impermanence >
apeiros: I have a lambda. say exp = -> (a, b) { a**b } and a method that takes a lambda. say def my_method(m) ; my_method needs to return a new lambda like the original, but with the arguments flipped
00:03
ascarter_ has joined #ruby
00:03
ascarter has quit [Ping timeout: 240 seconds]
00:03
cagomez has quit [Remote host closed the connection]
00:03
cagomez has joined #ruby
00:04
<
apeiros >
def foo; ->(a,b) { exp(b, a) }; end
00:04
<
apeiros >
assuming foo has somehow access to exp
00:05
<
apeiros >
though you're still very xy
00:06
<
impermanence >
apeiros: "very xy" ?
00:06
<
apeiros >
?xy impermanence
00:06
<
ruby[bot] >
impermanence: it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More:
http://meta.stackexchange.com/a/66378
00:06
<
apeiros >
you told me exactly
*zero* about your actual problem.
00:07
<
impermanence >
apeiros: oh, that was not my intention :)
00:07
<
apeiros >
I know. xy people often don't realize. they think "I reduced the problem". but instead, they substitute.
00:08
cagomez has quit [Read error: Connection reset by peer]
00:08
cagomez has joined #ruby
00:08
<
impermanence >
apeiros: one sec, being specific.
00:12
cagomez has quit [Ping timeout: 260 seconds]
00:20
__Yiota has joined #ruby
00:23
<
apeiros >
that does not really tell me anything more than you already told me
00:23
ascarter has joined #ruby
00:23
<
impermanence >
apeiros: I can be even more specific.
00:25
<
matthewd >
impermanence: I think you're being
*too* specific -- the question isn't for more clarity of what you want this method to do, but
*why* you want it
00:25
<
impermanence >
matthewd: oh, okay.
00:26
<
apeiros >
I'd actually say your gist did not add/increase specifity.
00:26
lxsameer has quit [Ping timeout: 260 seconds]
00:26
<
apeiros >
it added examples.
00:26
<
impermanence >
apeiros: are you wanting to know what problem I am trying to solve?
00:27
<
apeiros >
"I want to fetch some water" - "please tell me what problem you want to solve by fetching water" - "I want to fetch water with a bucket"
00:27
<
apeiros >
yes. I thought I'd even used those very words. but doesn't seem I did.
00:28
cadillac_ has quit [Read error: Connection reset by peer]
00:30
<
impermanence >
apeiros: no problem. I am trying to solve an exercise and am being asked to write a method that takes a lambda which itself takes two arguments, returns a new lambda like the original but with the two arguments flipped.
00:31
<
apeiros >
oh, homework
00:31
<
matthewd >
Right, so that's particularly important information, because it'd rather defeat the point of the exercise if someone accidentally just gave you the solution
00:31
cadillac_ has joined #ruby
00:32
<
impermanence >
that's why I led off by asking if I could access lambda parameters from inside a function that takes a lambda is its one argument.
00:32
mjolnird has quit [Ping timeout: 240 seconds]
00:32
<
matthewd >
So: no, but you don't need to
00:33
<
impermanence >
apeiros said that. at that point I started listening ;)
00:33
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:33
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
00:37
<
impermanence >
matthewd: -> (a,b) { f(b, a) }
00:38
digitalnomad has joined #ruby
00:38
<
impermanence >
I began working on this based on an earlier example from apeiros but
00:38
__Yiota has quit [Ping timeout: 276 seconds]
00:38
<
impermanence >
pry is throwing undef meth f
00:38
<
matthewd >
Presumably because f isn't a method
00:39
<
baweaver >
&ri Proc
00:39
<
baweaver >
How does one call a proc?
00:39
<
baweaver >
hint: not just with ()
00:43
<
baweaver >
>> lambda = -> a,b { a + b }; lambda(1,2)
00:43
<
ruby[bot] >
baweaver: # => wrong number of arguments (given 2, expected 0) (ArgumentError) ...check link for more (
https://eval.in/841978)
00:43
<
impermanence >
baweaver: ah, that makes sense.
00:43
<
baweaver >
...ignore my names there
00:43
<
impermanence >
baweaver: yes, I see now.
00:43
<
baweaver >
>> add = -> a,b { a + b }; add(1,2)
00:43
<
baweaver >
there we go
00:43
<
impermanence >
add.(1, 2)
00:43
* apeiros
puts up a gofundme to buy baweaver a dot
00:43
<
impermanence >
there we go :)
00:44
<
baweaver >
apeiros: Oh I know. I was making a point.
00:44
<
baweaver >
and it was received
00:44
mjolnird has joined #ruby
00:44
<
baweaver >
Admittedly I always screw that one up myself and I'm still not fond that you can't just call add(1,2)
00:44
<
Radar >
Elixir has the same thing
00:45
<
impermanence >
my understanding is that the dot operator access is new as of 2.4?
00:45
<
baweaver >
1.9 or before somewhere.
00:45
<
baweaver >
but for all intents and purposes it's in modern ruby versions is the point there
00:45
<
Radar >
At least 1.9.3
00:45
<
Radar >
I just tried it locally and it works on 1.9.3
00:45
<
baweaver >
1.9.2 -> 1.9.3 was odd
00:45
gigetoo has quit [Ping timeout: 240 seconds]
00:46
<
apeiros >
not before 1.9
00:47
<
apeiros >
and yes, lets pretend 1.9.0-1.9.2 didn't happen.
00:47
<
impermanence >
why?
00:47
<
baweaver >
Now if you really want to have fun with Lambdas read Raganwald's books and blog posts. Particularly: Kestrels, Quirky Birds, and Hopeless Egocentricity.
00:47
<
Radar >
o .() and calling Procs without #call/#[] <- from the 1.9.1 changelogs:http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_0/NEWS
00:48
gigetoo has joined #ruby
00:48
<
baweaver >
impermanence: darker times
00:48
<
baweaver >
uncivilized times
00:49
<
baweaver >
we do not talk about them
00:51
<
impermanence >
wow, the raganwald books are impressive.
00:52
<
apeiros >
impermanence: those updates had weird braking changes. and 1.9.0 was officially never for production.
00:53
<
impermanence >
apeiros: braking changes?
00:53
<
apeiros >
impermanence: yes. it stopped everything :o)
00:53
<
apeiros >
*breaking, oc
00:53
<
impermanence >
apeiros: ah.
01:07
agent_white has joined #ruby
01:11
ncthom91 has joined #ruby
01:22
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:22
rvca has joined #ruby
01:23
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:24
rheddry has quit [Quit: Farewell]
01:25
levifig has joined #ruby
01:27
nertzy has joined #ruby
01:29
gizmore has joined #ruby
01:29
digitalnomad has joined #ruby
01:31
ascarter_ has quit [Ping timeout: 240 seconds]
01:33
gizmore|2 has quit [Ping timeout: 260 seconds]
01:33
ascarter has joined #ruby
01:36
airdisa has quit []
01:36
ahrs has quit [Remote host closed the connection]
01:37
ahrs has joined #ruby
01:37
brent__ has joined #ruby
01:37
hutch34 has joined #ruby
01:38
brent__ has quit [Read error: Connection timed out]
01:38
brent__ has joined #ruby
01:39
rvca has quit [Ping timeout: 240 seconds]
01:43
charliesome has joined #ruby
01:44
ascarter has quit [Ping timeout: 276 seconds]
01:45
s3nd1v0g1us has quit [Ping timeout: 248 seconds]
01:46
hutch34 has quit [Ping timeout: 276 seconds]
01:52
FahmeF has joined #ruby
01:53
brent__ has quit [Remote host closed the connection]
01:57
FahmeF has quit [Ping timeout: 260 seconds]
01:57
rvca has joined #ruby
01:58
<
rapha >
YAY! , my Swiss keyboard and I mean
02:02
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:06
ecuanaso has joined #ruby
02:08
QualityAddict has quit [Ping timeout: 255 seconds]
02:15
rvca has quit [Ping timeout: 276 seconds]
02:17
kobain has joined #ruby
02:18
growp has joined #ruby
02:18
<
growp >
how do you split on regex?
02:20
<
growp >
like: string = ("John - Doe - John_Record.rb")
02:20
<
growp >
i want string.split to #=> ["John", "Doe", "John_Record"]
02:21
Bhootrk_ has joined #ruby
02:21
ascarter has joined #ruby
02:22
cagomez has joined #ruby
02:24
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:24
hndk has joined #ruby
02:26
<
rapha >
string.split /\ -\ /
02:26
cagomez has quit [Ping timeout: 246 seconds]
02:28
ascarter has quit [Ping timeout: 260 seconds]
02:28
HoierM has quit [Ping timeout: 248 seconds]
02:28
<
growp >
rapha that will return what I'm not looking for
02:29
<
growp >
that will have "John_Record.rb" as the third element in the string array
02:29
jeffreylevesque has joined #ruby
02:47
cschneid_ has joined #ruby
02:48
hutch34 has joined #ruby
02:52
hutch34 has quit [Ping timeout: 240 seconds]
02:56
AnoHito has joined #ruby
02:59
DTZUZO has quit [Read error: Connection reset by peer]
02:59
AnoHito_ has quit [Ping timeout: 240 seconds]
02:59
t-recx has quit [Quit: t-recx]
03:00
cadillac_ has quit [Quit: I quit]
03:00
cadillac_ has joined #ruby
03:03
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:03
DTZUZO has joined #ruby
03:09
hutch34 has joined #ruby
03:11
bruno- has quit [Ping timeout: 240 seconds]
03:13
hutch34 has quit [Ping timeout: 246 seconds]
03:19
postmodern has joined #ruby
03:28
patr0clus has joined #ruby
03:29
hutch34 has joined #ruby
03:33
KanKava has joined #ruby
03:34
hutch34 has quit [Ping timeout: 255 seconds]
03:36
dviola has quit [Quit: WeeChat 1.9]
03:36
CrazyEddy has joined #ruby
03:41
jinie_ has quit [Ping timeout: 240 seconds]
03:41
gix has quit [Ping timeout: 248 seconds]
03:42
patr0clus is now known as s3nd1v0g1us
03:43
jinie_ has joined #ruby
03:45
gix has joined #ruby
03:47
growp has quit [Killed (Sigyn (Spam is off topic on freenode.))]
03:50
hutch34 has joined #ruby
03:51
s3nd1v0g1us has quit [Quit: tempusfugit]
03:51
impermanence has joined #ruby
03:51
patr0clus has joined #ruby
03:51
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:51
patr0clus has quit [Max SendQ exceeded]
03:52
chouhoulis has quit [Ping timeout: 268 seconds]
03:54
sleepee has joined #ruby
03:54
hutch34 has quit [Ping timeout: 240 seconds]
03:54
t-recx has joined #ruby
03:57
chouhoulis has joined #ruby
04:00
AnoHito has quit [Quit: Leaving]
04:00
AnoHito has joined #ruby
04:01
t-recx has quit [Quit: t-recx]
04:02
segy_ has joined #ruby
04:03
AnoHito has quit [Client Quit]
04:03
AnoHito has joined #ruby
04:03
AnoHito has quit [Client Quit]
04:04
AnoHito has joined #ruby
04:04
sunya7a_ has joined #ruby
04:04
AnoHito has quit [Client Quit]
04:05
segy- has joined #ruby
04:05
segy has quit [Ping timeout: 240 seconds]
04:05
AnoHito has joined #ruby
04:06
KanKava has quit [Quit: leaving]
04:07
chouhoulis has quit [Ping timeout: 260 seconds]
04:08
chouhoulis has joined #ruby
04:08
segy_ has quit [Ping timeout: 268 seconds]
04:09
segy has joined #ruby
04:10
segy- has quit [Ping timeout: 260 seconds]
04:10
hutch34 has joined #ruby
04:11
opekktar has quit [Quit: leaving]
04:11
opekktar has joined #ruby
04:12
leandrobighetti has joined #ruby
04:12
ascarter has joined #ruby
04:13
segy_ has joined #ruby
04:13
__Yiota has joined #ruby
04:14
segy has quit [Ping timeout: 268 seconds]
04:16
hutch34 has quit [Ping timeout: 276 seconds]
04:16
leandrobighetti has quit [Ping timeout: 255 seconds]
04:19
AxelAlex has joined #ruby
04:20
chouhoulis has quit [Remote host closed the connection]
04:20
postmodern has quit [Quit: Leaving]
04:22
chouhoulis has joined #ruby
04:22
opekktar has quit [Quit: leaving]
04:22
ascarter has quit [Ping timeout: 260 seconds]
04:27
Yacker has joined #ruby
04:30
opekktar has joined #ruby
04:30
hutch34 has joined #ruby
04:35
joast has quit [Ping timeout: 246 seconds]
04:36
chouhoulis has quit [Ping timeout: 260 seconds]
04:40
opekktar has quit [Quit: leaving]
04:40
naprimer has quit [Read error: Connection reset by peer]
04:42
naprimer has joined #ruby
04:44
segy_ has quit [Ping timeout: 246 seconds]
04:44
ryzokuken has joined #ruby
04:47
opekktar has joined #ruby
04:47
AxelAlex has quit [Quit: AxelAlex]
04:49
shortdudey123 has quit [Ping timeout: 240 seconds]
04:50
Yacker has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:52
opekktar has quit [Client Quit]
04:55
hutch34 has quit [Ping timeout: 240 seconds]
04:56
duderonomy has joined #ruby
04:56
acalycine has joined #ruby
04:56
acalycine has joined #ruby
04:56
acalycine has quit [Changing host]
04:59
balazs has quit [Ping timeout: 240 seconds]
05:01
acalycine has quit [Ping timeout: 276 seconds]
05:04
balazs has joined #ruby
05:05
opekktar has joined #ruby
05:09
digitalnomad has joined #ruby
05:09
opekktar has quit [Client Quit]
05:11
opekktar has joined #ruby
05:12
hutch34 has joined #ruby
05:13
duderono_ has joined #ruby
05:13
duderonomy has quit [Ping timeout: 276 seconds]
05:16
andrzejku has joined #ruby
05:16
acalycine has joined #ruby
05:16
acalycine has joined #ruby
05:16
acalycine has quit [Changing host]
05:17
hutch34 has quit [Ping timeout: 246 seconds]
05:17
opekktar has quit [Quit: leaving]
05:18
opekktar has joined #ruby
05:19
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:21
ascarter has joined #ruby
05:21
govg has joined #ruby
05:21
opekktar has quit [Client Quit]
05:21
acalycine has quit [Ping timeout: 276 seconds]
05:21
opekktar has joined #ruby
05:27
leandrobighetti has joined #ruby
05:29
ascarter has quit [Ping timeout: 248 seconds]
05:31
leandrobighetti has quit [Ping timeout: 255 seconds]
05:33
hutch34 has joined #ruby
05:34
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:36
rvca has joined #ruby
05:38
hutch34 has quit [Ping timeout: 276 seconds]
05:39
jphase has joined #ruby
05:39
duderonomy has joined #ruby
05:41
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:43
jphase has quit [Ping timeout: 255 seconds]
05:44
digitalnomad has joined #ruby
05:48
duderono_ has joined #ruby
05:48
rabajaj has joined #ruby
05:48
high_fiver has joined #ruby
05:50
rvca has quit [Remote host closed the connection]
05:50
duderonomy has quit [Ping timeout: 260 seconds]
05:52
andrzejku has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
05:54
hutch34 has joined #ruby
05:58
hutch34 has quit [Ping timeout: 246 seconds]
05:58
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:01
TomyLobo3 has joined #ruby
06:02
ryzokuken has quit [Read error: Connection reset by peer]
06:03
ryzokuken has joined #ruby
06:03
beauby has joined #ruby
06:05
solrize_ has quit [Ping timeout: 246 seconds]
06:07
nofxxxx has joined #ruby
06:10
andrzejku has joined #ruby
06:11
nofxxx has quit [Ping timeout: 276 seconds]
06:14
hutch34 has joined #ruby
06:16
acalycine has joined #ruby
06:18
Yacker has joined #ruby
06:19
hutch34 has quit [Ping timeout: 255 seconds]
06:23
alex`` has joined #ruby
06:23
high_fiver has quit [Ping timeout: 246 seconds]
06:24
__Yiota has joined #ruby
06:26
ascarter has joined #ruby
06:31
Yacker has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:34
ascarter has quit [Ping timeout: 260 seconds]
06:35
hutch34 has joined #ruby
06:36
hndk has quit [Quit: Leaving]
06:37
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:39
hutch34 has quit [Ping timeout: 258 seconds]
06:41
mim1k has joined #ruby
06:41
alex`` has quit [Ping timeout: 240 seconds]
06:44
beauby has quit [Ping timeout: 240 seconds]
06:46
mim1k has quit [Ping timeout: 260 seconds]
06:48
__Yiota has joined #ruby
06:49
Dimik has joined #ruby
06:52
herbmillerjr has quit [Ping timeout: 248 seconds]
06:53
runescape07rsps has quit [Quit: Leaving]
06:54
brent__ has joined #ruby
06:55
hutch34 has joined #ruby
06:56
xall has joined #ruby
06:58
brent__ has quit [Ping timeout: 240 seconds]
07:00
mim1k has joined #ruby
07:00
acalycine has quit [Ping timeout: 255 seconds]
07:00
hutch34 has quit [Ping timeout: 246 seconds]
07:04
mim1k has quit [Ping timeout: 260 seconds]
07:04
scrooloose has quit [Ping timeout: 240 seconds]
07:05
vuoto has joined #ruby
07:07
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:08
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:09
baweaver is now known as baweaver_away
07:09
baweaver_away is now known as baweaver
07:09
vuoto has quit [Client Quit]
07:10
vuoto has joined #ruby
07:10
scrooloose has joined #ruby
07:11
vuoto has quit [Client Quit]
07:12
hkdsun has quit [Ping timeout: 276 seconds]
07:14
alex`` has joined #ruby
07:18
dionysus69 has joined #ruby
07:20
<
rapha >
growp: So change the regex accordingly.
07:24
_whitelogger has joined #ruby
07:24
yabbes has joined #ruby
07:24
andrzejku has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
07:27
andrzejku has joined #ruby
07:28
conta has joined #ruby
07:30
xall has quit [Quit: xall]
07:32
ascarter has joined #ruby
07:34
antgel has joined #ruby
07:34
solrize has joined #ruby
07:34
herbmillerjr has joined #ruby
07:34
solrize has quit [Changing host]
07:34
solrize has joined #ruby
07:37
hutch34 has joined #ruby
07:39
Radeds has quit [Quit: Page closed]
07:39
ascarter has quit [Ping timeout: 255 seconds]
07:41
masterasia has quit [Read error: Connection reset by peer]
07:41
hutch34 has quit [Ping timeout: 255 seconds]
07:42
KeyJoo has joined #ruby
07:44
minimalism has quit [Quit: minimalism]
07:52
djbkd has joined #ruby
07:58
FahmeF has joined #ruby
08:00
hurricanehrndz has quit [Quit: Goodbye]
08:01
_main_ has joined #ruby
08:01
_main_ has quit [Read error: Connection reset by peer]
08:01
VladGh_ has joined #ruby
08:01
__main__ has quit [Read error: Connection reset by peer]
08:02
_main_ has joined #ruby
08:02
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:03
_main_ has quit [Read error: Connection reset by peer]
08:04
hurricanehrndz has joined #ruby
08:04
VladGh has quit [Ping timeout: 246 seconds]
08:04
__main__ has joined #ruby
08:07
djbkd has quit [Remote host closed the connection]
08:08
djbkd has joined #ruby
08:10
vuoto has joined #ruby
08:10
mjolnird has quit [Quit: Leaving]
08:12
mjolnird has joined #ruby
08:12
djbkd has quit [Ping timeout: 260 seconds]
08:12
millerti has joined #ruby
08:13
hutch34 has joined #ruby
08:17
hutch34 has quit [Ping timeout: 246 seconds]
08:21
millerti has quit [Ping timeout: 240 seconds]
08:21
high_fiver has joined #ruby
08:28
dcunit3d has joined #ruby
08:37
ascarter has joined #ruby
08:40
Dimik has quit [Ping timeout: 246 seconds]
08:42
lexruee has joined #ruby
08:43
mim1k has joined #ruby
08:46
ascarter has quit [Ping timeout: 248 seconds]
08:48
mim1k has quit [Ping timeout: 248 seconds]
08:48
hutch34 has joined #ruby
08:53
ajnulo has joined #ruby
08:54
hutch34 has quit [Ping timeout: 276 seconds]
08:54
ajnulo has quit [Client Quit]
08:59
lxsameer has joined #ruby
08:59
ledestin has joined #ruby
09:00
marr has joined #ruby
09:07
belmoussaoui_ has quit [Ping timeout: 240 seconds]
09:09
djbkd has joined #ruby
09:14
vuoto has quit [Quit: Lost terminal]
09:14
vuoto has joined #ruby
09:15
sagax has quit [Read error: Connection reset by peer]
09:15
vuoto has quit [Client Quit]
09:17
vuoto has joined #ruby
09:22
vindvaki has joined #ruby
09:24
JyZyXEL has joined #ruby
09:24
<
JyZyXEL >
bash_to_zsh_history.rb:18:in `split': invalid byte sequence in UTF-8 (ArgumentError)
09:24
hutch34 has joined #ruby
09:27
<
apeiros >
JyZyXEL: is there a question in this somewhere?
09:27
<
JyZyXEL >
the error makes no sense to me
09:28
<
apeiros >
your file contains data which is not valid utf-8
09:28
<
apeiros >
you tell ruby to read and treat it as utf-8
09:28
<
apeiros >
and that doesn't work
09:28
<
apeiros >
you know what utf-8 is?
09:29
<
JyZyXEL >
i guess my bash_history isn't UTF-8 then
09:29
<
apeiros >
you don't have to guess. that's what ruby tells you and what I just told you :)
09:29
hutch34 has quit [Ping timeout: 255 seconds]
09:29
<
JyZyXEL >
but i also didn't see anywhere that it would need to be!
09:30
<
apeiros >
newer rubies default to utf-8 unless your env specifically states something else.
09:30
<
apeiros >
you have to tell ruby if you want to treat your files as e.g. binary.
09:31
<
JyZyXEL >
.bash_history: ISO-8859 text, with very long lines, .zsh_history: Non-ISO extended-ASCII text
09:31
<
JyZyXEL >
oh wow, the author had no consideration that these files don't even use the same encoding
09:32
conta has quit [Ping timeout: 246 seconds]
09:32
<
apeiros >
probably because that's not very likely? :)
09:34
<
apeiros >
(more likely because they didn't consider encodings at all)
09:34
<
JyZyXEL >
that's what it looks like. no wonder someone in the comments was complaining about data corruption
09:36
ryzokuken has quit [Ping timeout: 260 seconds]
09:37
cveron has joined #ruby
09:45
ascarter has joined #ruby
09:47
lexruee has quit [Remote host closed the connection]
09:51
Fr1eza has joined #ruby
09:51
ascarter has quit [Ping timeout: 255 seconds]
09:53
quobo has joined #ruby
09:54
apparition47 has joined #ruby
10:00
hutch34 has joined #ruby
10:01
lexruee has joined #ruby
10:01
lexruee_ has joined #ruby
10:01
lexruee has quit [Remote host closed the connection]
10:02
lexruee_ has quit [Client Quit]
10:05
beilabs has joined #ruby
10:05
belmoussaoui has joined #ruby
10:05
hutch34 has quit [Ping timeout: 276 seconds]
10:07
conta has joined #ruby
10:19
sagax has joined #ruby
10:30
Yacker has joined #ruby
10:33
Yacker has quit [Client Quit]
10:35
http_GK1wmSU has joined #ruby
10:37
ana_ has joined #ruby
10:39
http_GK1wmSU has left #ruby [#ruby]
10:42
kkiero has joined #ruby
10:43
melkor has joined #ruby
10:43
ana_ has quit [Ping timeout: 276 seconds]
10:49
ascarter has joined #ruby
10:51
c__ has quit [Ping timeout: 246 seconds]
10:54
beilabs_ has joined #ruby
10:54
brent__ has joined #ruby
10:55
c__ has joined #ruby
10:56
JyZyXEL has left #ruby ["WeeChat 1.9"]
10:58
beilabs has quit [Ping timeout: 240 seconds]
10:58
ascarter has quit [Ping timeout: 248 seconds]
10:58
brent__ has quit [Ping timeout: 240 seconds]
11:00
nofxxx has joined #ruby
11:03
nofxxxx has quit [Ping timeout: 260 seconds]
11:06
oleo has quit [Quit: irc client terminated!]
11:06
kahra_ is now known as kahra
11:09
<
konsolebox >
anyone knows a C function that checks if a string or symbol is a valid name for a constant?
11:09
http_GK1wmSU has joined #ruby
11:09
<
konsolebox >
or a class name
11:11
http_GK1wmSU has left #ruby [#ruby]
11:12
hutch34 has joined #ruby
11:16
http_GK1wmSU has joined #ruby
11:16
http_GK1wmSU has quit [K-Lined]
11:17
<
konsolebox >
nvm. found the functions i need to examine.
11:17
hutch34 has quit [Ping timeout: 276 seconds]
11:20
cagomez has joined #ruby
11:24
cagomez has quit [Ping timeout: 248 seconds]
11:26
belmoussaoui has quit [Remote host closed the connection]
11:27
belmoussaoui has joined #ruby
11:28
tomphp has joined #ruby
11:31
sleepee has quit [Ping timeout: 260 seconds]
11:32
melkor has quit [Ping timeout: 240 seconds]
11:32
beilabs_ has quit [Read error: Connection reset by peer]
11:33
oleo has joined #ruby
11:34
beilabs has joined #ruby
11:41
kkiero_ has joined #ruby
11:45
kkiero has quit [Ping timeout: 276 seconds]
11:45
beilabs has quit [Ping timeout: 268 seconds]
11:47
beilabs has joined #ruby
11:51
_whitelogger has joined #ruby
11:51
mim1k has joined #ruby
11:54
charliesome has joined #ruby
11:58
ascarter has joined #ruby
11:59
http_GK1wmSU has joined #ruby
12:00
http_GK1wmSU has left #ruby [#ruby]
12:03
oleo has quit [Quit: irc client terminated!]
12:03
ascarter has quit [Ping timeout: 240 seconds]
12:04
beilabs_ has joined #ruby
12:05
rahul_bajaj has joined #ruby
12:07
cveron has quit [Quit: Leaving]
12:07
rabajaj has quit [Ping timeout: 240 seconds]
12:08
beilabs has quit [Ping timeout: 240 seconds]
12:15
balazs has quit [Remote host closed the connection]
12:18
beauby has joined #ruby
12:19
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:21
Serpent7776 has joined #ruby
12:24
hutch34 has joined #ruby
12:25
impermanence has joined #ruby
12:27
__Yiota has joined #ruby
12:27
impermanence has quit [Client Quit]
12:29
oleo has joined #ruby
12:29
hutch34 has quit [Ping timeout: 246 seconds]
12:30
cadillac_ has quit [Read error: Connection reset by peer]
12:30
__Yiota has quit [Client Quit]
12:31
vuoto has quit [Remote host closed the connection]
12:31
vuoto has joined #ruby
12:33
beauby has quit [Ping timeout: 276 seconds]
12:34
cadillac_ has joined #ruby
12:35
beauby has joined #ruby
12:36
GodFather has joined #ruby
12:37
gr33n7007h has quit [Ping timeout: 276 seconds]
12:40
beauby has quit [Ping timeout: 260 seconds]
12:41
gr33n7007h has joined #ruby
12:50
dionysus69 has quit [Ping timeout: 240 seconds]
12:50
opekktar has quit [Quit: leaving]
12:53
ascarter has joined #ruby
12:54
alex`` has quit [Ping timeout: 276 seconds]
12:57
BTRE has quit [Quit: Leaving]
12:57
Fr1eza has quit [Ping timeout: 260 seconds]
13:00
hutch34 has joined #ruby
13:02
ascarter_ has joined #ruby
13:03
antgel has quit [Ping timeout: 240 seconds]
13:03
beauby has joined #ruby
13:04
ryzokuken has joined #ruby
13:05
vindvaki has quit [Ping timeout: 240 seconds]
13:05
hutch34 has quit [Ping timeout: 255 seconds]
13:05
S007 has quit [Ping timeout: 255 seconds]
13:07
dcunit3d has quit [Quit: WeeChat 1.4]
13:07
opekktar has joined #ruby
13:08
dcunit3d has joined #ruby
13:09
opekktar has quit [Client Quit]
13:10
jinie_ has quit [Ping timeout: 240 seconds]
13:10
vuoto has quit [Remote host closed the connection]
13:11
ascarter_ has quit [Ping timeout: 260 seconds]
13:12
jinie_ has joined #ruby
13:16
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:17
cveron has joined #ruby
13:18
tomphp has joined #ruby
13:19
kobain has joined #ruby
13:19
rgtk has joined #ruby
13:19
mim1k has quit [Ping timeout: 240 seconds]
13:19
chouhoulis has joined #ruby
13:20
mtkd has quit [Ping timeout: 258 seconds]
13:20
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
13:21
cveron has quit [Client Quit]
13:21
mtkd has joined #ruby
13:22
ascarter has joined #ruby
13:24
rgtk has quit [Ping timeout: 248 seconds]
13:24
digitalnomad has joined #ruby
13:24
rgtk has joined #ruby
13:25
Xiti` has joined #ruby
13:25
beauby has quit [Ping timeout: 260 seconds]
13:26
alex`` has joined #ruby
13:26
sepp2k has joined #ruby
13:27
jamesaxl has joined #ruby
13:29
Xiti has quit [Ping timeout: 268 seconds]
13:29
nicoulaj has quit [Quit: nicoulaj]
13:31
rahul_bajaj has quit [Quit: Leaving]
13:33
quobo has quit [Quit: Connection closed for inactivity]
13:34
mim1k has joined #ruby
13:34
jamesaxl has quit [Quit: WeeChat 1.7.1]
13:34
impermanence has joined #ruby
13:35
jamesaxl has joined #ruby
13:36
hutch34 has joined #ruby
13:39
mim1k has quit [Ping timeout: 260 seconds]
13:40
ryzokuken is now known as vim
13:41
vim is now known as v1m
13:41
hutch34 has quit [Ping timeout: 255 seconds]
13:43
tacoboy has joined #ruby
13:44
opekktar has joined #ruby
13:47
Yacker has joined #ruby
13:47
S007 has joined #ruby
13:48
hays_ has quit [Ping timeout: 260 seconds]
13:48
BTRE has joined #ruby
13:49
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:54
brent__ has joined #ruby
13:58
brent__ has quit [Ping timeout: 246 seconds]
13:59
Serpent7776 has quit [Quit: Leaving]
14:00
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
14:02
t-recx has joined #ruby
14:07
http_GK1wmSU has joined #ruby
14:07
ecuanaso has joined #ruby
14:08
ascarter has joined #ruby
14:08
belmoussaoui has quit [Ping timeout: 240 seconds]
14:10
http_GK1wmSU has left #ruby [#ruby]
14:11
v1m has quit [Remote host closed the connection]
14:12
v1m has joined #ruby
14:12
hutch34 has joined #ruby
14:13
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:13
v1m has quit [Remote host closed the connection]
14:14
bruno- has joined #ruby
14:15
nopolitica has quit [Ping timeout: 240 seconds]
14:17
hutch34 has quit [Ping timeout: 240 seconds]
14:18
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:18
ascarter has quit [Ping timeout: 240 seconds]
14:19
leandrobighetti has joined #ruby
14:20
ryzokuken has joined #ruby
14:23
digitalnomad has joined #ruby
14:23
leandrobighetti has quit [Remote host closed the connection]
14:30
pandaant has joined #ruby
14:30
Bhootrk_ has quit [Read error: Connection reset by peer]
14:31
mustaffa__ has joined #ruby
14:32
shortdudey123 has joined #ruby
14:32
yabbes has quit [Ping timeout: 246 seconds]
14:35
mim1k has joined #ruby
14:40
mim1k has quit [Ping timeout: 248 seconds]
14:40
rgr has joined #ruby
14:41
rgr_ has quit [Ping timeout: 246 seconds]
14:42
dcunit3d has quit [Quit: WeeChat 1.4]
14:42
tom69 has left #ruby ["WeeChat 1.9"]
14:42
tom69 has joined #ruby
14:42
dcunit3d has joined #ruby
14:44
Yacker has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:46
jgorak has joined #ruby
14:46
dcunit3d has quit [Client Quit]
14:47
dcunit3d has joined #ruby
14:48
ooc has joined #ruby
14:48
ooc has quit [Client Quit]
14:48
rgtk has quit [Ping timeout: 255 seconds]
14:49
<
jgorak >
Hi all. Does anyone have a compelling reason to do assignments like "a ||= b if b" instead of just "a ||= b"?
14:51
DLSteve has joined #ruby
14:52
Yacker has joined #ruby
14:53
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:54
hkdsun has joined #ruby
14:56
ta_ has joined #ruby
14:56
<
konsolebox >
it means assign a default value to a if a is not set and b is set. it kind of looks like b is an alternative default value which can be customized.
14:56
apparition47 has quit [Quit: Bye]
14:57
<
jgorak >
I understand the meaning of it, but I sometimes see it written with the conditional part at the end, but I don't see a difference
14:58
cveron has joined #ruby
14:59
__Yiota has joined #ruby
14:59
<
jgorak >
Wait, I just needed to say it out loud. I see the difference now. If a is nil and b is false, "a ||= b" makes a==false, but "a ||= b if b" makes a==nil
14:59
<
konsolebox >
`a ||= b` is not synonymous to `a ||= b if b` if b is `false`
15:00
dcunit3d has quit [Quit: WeeChat 1.4]
15:00
<
konsolebox >
jgorak: yeah, i noticed it soon but i had to verify hence the delay of my message
15:00
<
jgorak >
Didn't consider that there's multiple falsey values
15:00
cveron has quit [Client Quit]
15:00
cveron has joined #ruby
15:00
<
jgorak >
Just a curiousity I had. Thanks for helping me work through it :)
15:01
hkdsun has quit [Ping timeout: 240 seconds]
15:01
dcunit3d has joined #ruby
15:02
jphase has joined #ruby
15:02
chouhoulis has quit [Ping timeout: 240 seconds]
15:03
chouhoulis has joined #ruby
15:03
conta has quit [Ping timeout: 260 seconds]
15:05
hkdsun has joined #ruby
15:06
tom69 has quit [Remote host closed the connection]
15:06
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:07
cveron has quit [Quit: Leaving]
15:08
cveron has joined #ruby
15:09
cveron has quit [Client Quit]
15:12
gr33n7007h has quit [Read error: Connection reset by peer]
15:14
smulverine has joined #ruby
15:15
__Yiota has joined #ruby
15:16
ascarter has joined #ruby
15:16
leandrobighetti has joined #ruby
15:16
leandrobighetti has quit [Remote host closed the connection]
15:19
pandaant has quit [Remote host closed the connection]
15:19
gr33n7007h has joined #ruby
15:20
cschneid_ has quit [Read error: Connection reset by peer]
15:21
cschneid_ has joined #ruby
15:23
MrBusiness has quit [Ping timeout: 240 seconds]
15:23
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:24
cschneid_ has quit [Read error: Connection reset by peer]
15:24
ascarter has quit [Ping timeout: 246 seconds]
15:24
hutch34 has joined #ruby
15:25
cschneid_ has joined #ruby
15:25
conta has joined #ruby
15:27
beauby has joined #ruby
15:28
ecuanaso has joined #ruby
15:29
MrBusiness has joined #ruby
15:29
hutch34 has quit [Ping timeout: 246 seconds]
15:30
InfinityFye has joined #ruby
15:35
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:35
mim1k has joined #ruby
15:37
hkdsun has quit [Ping timeout: 255 seconds]
15:37
segy has joined #ruby
15:38
hkdsun has joined #ruby
15:38
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:39
digitalnomad has joined #ruby
15:40
mim1k has quit [Ping timeout: 240 seconds]
15:42
conta has quit [Quit: conta]
15:44
cveron has joined #ruby
15:45
nobitanobi has joined #ruby
15:46
InfinityFye has quit [Ping timeout: 260 seconds]
15:46
Fr1eza has joined #ruby
15:51
nopolitica has joined #ruby
15:51
leandrobighetti has joined #ruby
15:51
leandrobighetti has quit [Client Quit]
15:53
HoierM has joined #ruby
15:54
Fr1eza has quit [Changing host]
15:54
Fr1eza has joined #ruby
15:55
ledestin has joined #ruby
15:59
ledestin has quit [Ping timeout: 268 seconds]
15:59
naprimer2 has joined #ruby
16:02
naprimer has quit [Ping timeout: 260 seconds]
16:02
danieel has joined #ruby
16:03
<
danieel >
anybody here to help me out with ruby issues for gitlabhq installation (gentoo) ?
16:04
<
havenwood >
danieel: what issues are you running into?
16:04
<
danieel >
git@work /opt/gitlabhq-9.4 $ bundle exec rake gitlab:setup RAILS_ENV=production
16:04
<
danieel >
LoadError: cannot load such file -- peek-mysql2
16:04
<
danieel >
rake aborted!
16:05
<
danieel >
had a similar issues with mysql2 package, which i managed to pass by by editing Gemfile, deleting group tag
16:09
<
havenwood >
danieel: does `bundle` succeed? what version of peek-mysql2?
16:10
<
havenwood >
basename $(bundle show peek-mysql2)
16:10
<
danieel >
havenwood: i tried to add mysql2-peek to gemfile, then it complained that its there 2x
16:10
<
havenwood >
danieel: Gist your Gemfile?
16:10
<
danieel >
so i found it was there, again in mysql group
16:10
<
havenwood >
Is it resolving to version 1.2.0?
16:10
<
danieel >
i think i miss some essential bit... it was skipping to install those
16:11
<
danieel >
i edited this:
16:11
<
danieel >
# Supported DBs
16:11
<
danieel >
gem 'mysql2', '~> 0.3.16'
16:11
<
danieel >
#gem 'mysql2', '~> 0.3.16', group: :mysql
16:11
<
danieel >
the .bundle/config contains BUNDLE_WITHOUT: "development:test:mysql:thin:memcached:postgres"
16:11
<
danieel >
the suggested: bundle install --deployment --without development test mysql
16:12
<
danieel >
does not install those mysql stuff, so i removed the group specifier
16:12
<
danieel >
what did i miss here? (i am totally new to ruby and bundle.. )
16:12
kculpis has quit [Remote host closed the connection]
16:13
kculpis has joined #ruby
16:15
<
havenwood >
danieel: Why are you excluding all those groups with `--without`? Is that intended?
16:15
<
danieel >
it is in gitlab guide for gentoo.. i dont know exactly
16:16
<
danieel >
i did managed to pass by now for this, so now it is a question of user privileges on my sql server...
16:17
_aeris_ has quit [Remote host closed the connection]
16:17
aglorei has quit [Remote host closed the connection]
16:17
<
havenwood >
danieel: It's expected that if you `--without mysql` the :mysql group won't install.
16:17
_aeris_ has joined #ruby
16:18
<
danieel >
yes, just figured out how this is supposed to work
16:18
vuoto has joined #ruby
16:18
<
havenwood >
If you'd like to remove the "remembered" ones you can `bundle config --delete without`. You can also provide withouts by env var like: BUNDLE_WITHOUT="development:test" bundle --deployment
16:19
aglorei has joined #ruby
16:19
<
havenwood >
danieel: I've got to relocate but I'm sure others are waking up / still awake. Happy coding!
16:20
wrhwh has joined #ruby
16:20
jamesaxl has quit [Quit: WeeChat 1.7.1]
16:21
wrhwh has quit [Read error: Connection reset by peer]
16:23
ascarter has joined #ruby
16:24
__Yiota has joined #ruby
16:27
duderonomy has joined #ruby
16:27
dcunit3d has quit [Quit: WeeChat 1.4]
16:27
dcunit3d has joined #ruby
16:28
rgtk has joined #ruby
16:28
yabbes has joined #ruby
16:28
jamesaxl has joined #ruby
16:28
lexruee has joined #ruby
16:30
ascarter has quit [Ping timeout: 240 seconds]
16:32
dviola has joined #ruby
16:33
kobain has joined #ruby
16:34
rippa has joined #ruby
16:36
mim1k has joined #ruby
16:36
hutch34 has joined #ruby
16:40
LiamW has joined #ruby
16:40
<
LiamW >
so I've noticed that Kernel#` when called in a tight loop tends to create zombies
16:40
<
LiamW >
would that be a bug in ruby or in libc?
16:41
hutch34 has quit [Ping timeout: 255 seconds]
16:41
mim1k has quit [Ping timeout: 260 seconds]
16:42
<
LiamW >
loop { Process.wait } reaps them, obviously
16:42
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:42
<
LiamW >
but they shouldn't be sticking around in the first place
16:45
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:49
duderonomy has joined #ruby
16:50
nobitanobi has quit [Remote host closed the connection]
16:51
nobitanobi has joined #ruby
16:51
mim1k has joined #ruby
16:51
<
apeiros >
LiamW: might be related to finalizers and how they're non-deterministically run. i.e. it might be that the reaping happens in a finalizer, which might run "whenever"
16:55
ekinmur has joined #ruby
16:55
<
apeiros >
though, no. `` has to wait for the subprocess to terminate before it can return anyway… wouldn't make sense in a finalizer
16:55
nobitanobi has quit [Ping timeout: 276 seconds]
16:56
mim1k has quit [Ping timeout: 268 seconds]
16:56
beilabs_ has quit [Remote host closed the connection]
16:57
selim_ has joined #ruby
16:58
selim has quit [Ping timeout: 260 seconds]
16:58
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:00
tom69 has joined #ruby
17:00
rgtk has quit [Ping timeout: 260 seconds]
17:03
nobitanobi has joined #ruby
17:04
nobitanobi has quit [Remote host closed the connection]
17:04
nobitanobi has joined #ruby
17:04
nobitanobi has quit [Remote host closed the connection]
17:04
<
tom69 >
is there any way to compile a ruby script into an executable, or a more portable form?
17:05
nobitanobi has joined #ruby
17:08
normie1 has joined #ruby
17:09
sepp2k has quit [Read error: Connection reset by peer]
17:09
mim1k has joined #ruby
17:09
nobitanobi has quit [Ping timeout: 246 seconds]
17:10
melkor has joined #ruby
17:11
quobo has joined #ruby
17:11
gwilkes has quit [Quit: gwilkes]
17:12
normie1 has quit [Client Quit]
17:14
mim1k has quit [Ping timeout: 260 seconds]
17:14
beilabs has joined #ruby
17:17
airdisa has joined #ruby
17:18
cschneid_ has quit [Read error: Connection reset by peer]
17:18
ResidentBiscuit has joined #ruby
17:19
c_3 has joined #ruby
17:19
beilabs has quit [Read error: Connection reset by peer]
17:19
cschneid_ has joined #ruby
17:19
beilabs has joined #ruby
17:21
c__ has quit [Ping timeout: 240 seconds]
17:24
<
LiamW >
apeiros: but how could it be waiting if it created a zombie?
17:24
FahmeF has quit [Remote host closed the connection]
17:26
high_fiver has quit [Ping timeout: 258 seconds]
17:28
ascarter has joined #ruby
17:28
rgtk has joined #ruby
17:28
tom69 has left #ruby ["WeeChat 1.9"]
17:33
cveron has quit [Quit: Leaving]
17:37
ascarter has quit [Ping timeout: 276 seconds]
17:39
_sfiguser has joined #ruby
17:41
impermanence has joined #ruby
17:41
P_R_Deltoid has joined #ruby
17:46
KeyJoo has quit [Quit: Good luck! Have a nice Day!]
17:49
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:50
MarkBilk_ has joined #ruby
17:51
melkor has quit [Ping timeout: 240 seconds]
17:54
__Yiota has joined #ruby
17:54
MarkBilk has quit [Ping timeout: 258 seconds]
17:57
FahmeF has joined #ruby
17:57
melkor has joined #ruby
17:57
ResidentBiscuit has quit []
17:58
Joufflu has joined #ruby
17:58
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:01
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
18:02
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:05
smulverine has quit [Remote host closed the connection]
18:06
mim1k has joined #ruby
18:13
eightlimbed_ has joined #ruby
18:14
minimalism has joined #ruby
18:18
djbkd has quit [Remote host closed the connection]
18:18
dlitvak has quit [Quit: Connection closed for inactivity]
18:18
djbkd has joined #ruby
18:18
duderonomy has joined #ruby
18:21
|ifei5g00d has joined #ruby
18:25
eightlimbed_ has quit [Ping timeout: 246 seconds]
18:28
Dimik has joined #ruby
18:29
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:31
http_GK1wmSU has joined #ruby
18:33
http_GK1wmSU has quit [K-Lined]
18:35
govg has quit [Ping timeout: 248 seconds]
18:35
ascarter has joined #ruby
18:37
sepp2k has joined #ruby
18:37
airdisa has quit []
18:37
GK1wmSU-deepbook has joined #ruby
18:40
GK1wmSU-deepbook has left #ruby [#ruby]
18:40
digitalnomad has joined #ruby
18:41
beauby has quit [Ping timeout: 276 seconds]
18:41
chouhoulis has quit [Remote host closed the connection]
18:42
FahmeF has quit [Remote host closed the connection]
18:42
ascarter has quit [Ping timeout: 260 seconds]
18:45
watersoul has quit [Read error: Connection reset by peer]
18:46
watersoul has joined #ruby
18:48
|ifei5good has joined #ruby
18:48
|ifei5g00d has quit [Read error: Connection reset by peer]
18:49
swills_ has joined #ruby
18:49
eightlimbed_ has joined #ruby
18:50
swills_ has quit [Remote host closed the connection]
18:52
runescape07rsps has joined #ruby
18:58
perniciouscaffei has joined #ruby
18:59
duderonomy has joined #ruby
19:00
Phate has joined #ruby
19:01
SpComb^ has joined #ruby
19:01
alex``` has joined #ruby
19:03
csaunders_ has joined #ruby
19:03
Armand has joined #ruby
19:03
Marc- has joined #ruby
19:04
twe4ked_ has joined #ruby
19:04
danieel has left #ruby ["Leaving"]
19:04
Armand is now known as Guest78922
19:04
theRoUS` has joined #ruby
19:05
chloe__ has joined #ruby
19:06
dysfigur- has joined #ruby
19:06
FK04 has joined #ruby
19:06
Liothen- has joined #ruby
19:06
shortdudey123_ has joined #ruby
19:06
Bilge- has joined #ruby
19:06
ablackack_ has joined #ruby
19:06
iNs_ has joined #ruby
19:06
LBRapid_ has joined #ruby
19:06
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:07
beilabs has quit [*.net *.split]
19:07
cschneid_ has quit [*.net *.split]
19:07
quobo has quit [*.net *.split]
19:07
shortdudey123 has quit [*.net *.split]
19:07
alex`` has quit [*.net *.split]
19:07
PaulCapestany has quit [*.net *.split]
19:07
phate408 has quit [*.net *.split]
19:07
Koshian has quit [*.net *.split]
19:07
ruby[bot] has quit [*.net *.split]
19:07
FiendKing04 has quit [*.net *.split]
19:07
aidalgol has quit [*.net *.split]
19:07
Nightmare has quit [*.net *.split]
19:07
jtperreault has quit [*.net *.split]
19:07
LBRapid has quit [*.net *.split]
19:07
JoL1hAHN has quit [*.net *.split]
19:07
err_ok has quit [*.net *.split]
19:07
vedu has quit [*.net *.split]
19:07
dysfigured has quit [*.net *.split]
19:07
Scient has quit [*.net *.split]
19:07
chloe____ has quit [*.net *.split]
19:07
KnownSyntax has quit [*.net *.split]
19:07
twe4ked has quit [*.net *.split]
19:07
sonne has quit [*.net *.split]
19:07
modin has quit [*.net *.split]
19:07
theRoUS has quit [*.net *.split]
19:07
sinduck has quit [*.net *.split]
19:07
daxroc has quit [*.net *.split]
19:07
RealMarc has quit [*.net *.split]
19:07
alem0lars has quit [*.net *.split]
19:07
Klumben has quit [*.net *.split]
19:07
ablackack has quit [*.net *.split]
19:07
csaunders has quit [*.net *.split]
19:07
iNs has quit [*.net *.split]
19:07
justache has quit [*.net *.split]
19:07
knowtheory has quit [*.net *.split]
19:07
Bilge has quit [*.net *.split]
19:07
Apocalypse has quit [*.net *.split]
19:07
afisher has quit [*.net *.split]
19:07
lipoqil has quit [*.net *.split]
19:07
johnkpaul has quit [*.net *.split]
19:07
machty has quit [*.net *.split]
19:07
tessi_zz has quit [*.net *.split]
19:07
manveru has quit [*.net *.split]
19:07
SpComb has quit [*.net *.split]
19:07
Liothen has quit [*.net *.split]
19:07
GGMethos has quit [*.net *.split]
19:07
Bilge- is now known as Bilge
19:07
Liothen- is now known as Liothen
19:07
Guest78922 is now known as Apocalypse
19:07
twe4ked_ is now known as twe4ked
19:08
tessi_zz has joined #ruby
19:08
vedu has joined #ruby
19:08
bruno- has quit [Ping timeout: 240 seconds]
19:08
shortdudey123_ is now known as shortdudey123
19:08
Nightmare has joined #ruby
19:08
Scient has joined #ruby
19:09
sonne_ has joined #ruby
19:09
priodev has quit [Ping timeout: 260 seconds]
19:09
Klumben has joined #ruby
19:09
sinduck has joined #ruby
19:10
jnollette has quit [Ping timeout: 240 seconds]
19:10
rileyy has quit [Ping timeout: 240 seconds]
19:10
Caius has quit [Ping timeout: 240 seconds]
19:10
bokayio has quit [Ping timeout: 240 seconds]
19:10
modin has joined #ruby
19:11
Xeago has quit [Ping timeout: 240 seconds]
19:11
priodev has joined #ruby
19:12
ahrs has quit [Ping timeout: 260 seconds]
19:12
rileyy has joined #ruby
19:12
ahrs_ has joined #ruby
19:12
bokayio has joined #ruby
19:12
Xeago has joined #ruby
19:13
jnollette has joined #ruby
19:13
KnownSyntax has joined #ruby
19:13
Caius has joined #ruby
19:13
justache has joined #ruby
19:13
Caius has joined #ruby
19:13
Caius has quit [Changing host]
19:13
manveru has joined #ruby
19:13
machty has joined #ruby
19:15
joenas[m] has quit [Ping timeout: 240 seconds]
19:15
Tagami[m] has quit [Ping timeout: 240 seconds]
19:16
gokul_mr[m] has quit [Ping timeout: 240 seconds]
19:16
turt2live has quit [Ping timeout: 255 seconds]
19:16
inkky[m] has quit [Ping timeout: 240 seconds]
19:16
dman[m] has quit [Ping timeout: 240 seconds]
19:16
heftig has quit [Ping timeout: 240 seconds]
19:16
GGMethos has joined #ruby
19:16
velu_aon[m] has quit [Ping timeout: 246 seconds]
19:16
aagdbl[m] has quit [Ping timeout: 246 seconds]
19:16
lasenna[m] has quit [Ping timeout: 246 seconds]
19:16
Matt[m]1 has quit [Ping timeout: 255 seconds]
19:16
M107262[m] has quit [Ping timeout: 255 seconds]
19:16
yana[m] has quit [Ping timeout: 258 seconds]
19:16
aviraldg has quit [Ping timeout: 258 seconds]
19:17
jonjits[m] has quit [Ping timeout: 276 seconds]
19:17
torarne has quit [Ping timeout: 255 seconds]
19:17
KevinMGranger has quit [Ping timeout: 264 seconds]
19:17
Giphy[m] has quit [Ping timeout: 264 seconds]
19:18
ahrs_ is now known as ahrs
19:18
jtperreault has joined #ruby
19:18
JoL1hAHN has joined #ruby
19:18
knowtheory has joined #ruby
19:18
err_ok has joined #ruby
19:18
johnkpaul has joined #ruby
19:18
cschneid_ has joined #ruby
19:18
lipoqil has joined #ruby
19:18
afisher has joined #ruby
19:18
daxroc has joined #ruby
19:18
ruby[bot] has joined #ruby
19:18
Koshian has joined #ruby
19:18
quobo has joined #ruby
19:18
beilabs has joined #ruby
19:19
Tralin has quit [Ping timeout: 260 seconds]
19:21
Tralin has joined #ruby
19:21
\13k has quit [Ping timeout: 260 seconds]
19:22
\13k has joined #ruby
19:23
joast has joined #ruby
19:24
__Yiota has joined #ruby
19:24
nobitanobi has joined #ruby
19:24
HoierM has quit [Remote host closed the connection]
19:27
http_GK1wmSU has joined #ruby
19:27
http_GK1wmSU has quit [K-Lined]
19:30
FahmeF has joined #ruby
19:33
djbkd has quit [Remote host closed the connection]
19:33
djbkd has joined #ruby
19:33
clemens3 has joined #ruby
19:34
djbkd has quit [Remote host closed the connection]
19:34
djbkd has joined #ruby
19:34
InfinityFye has joined #ruby
19:34
djbkd has quit [Remote host closed the connection]
19:34
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:35
djbkd has joined #ruby
19:35
alem0lars has joined #ruby
19:37
ekinmur has joined #ruby
19:38
evlute has joined #ruby
19:38
Fr1eza has quit [Ping timeout: 268 seconds]
19:39
<
evlute >
hello, i wanna open an ipv6 socket and i'm don't know how to select AF_INET6 as Protocol.
19:39
djbkd has quit [Ping timeout: 246 seconds]
19:40
ascarter has joined #ruby
19:41
ascarter_ has joined #ruby
19:42
<
gr33n7007h >
evlute: what have you tried so far?
19:42
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:46
<
evlute >
maybe i have to use the socket class instead of tcpserver
19:46
ascarter has quit [Ping timeout: 240 seconds]
19:47
gusrub has joined #ruby
19:48
ekinmur has joined #ruby
19:50
tomphp has joined #ruby
19:50
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:50
<
gr33n7007h >
evlute: are you trying to create a tcpserver?
19:50
cdg has joined #ruby
19:51
ascarter_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
19:51
evlute has quit [Ping timeout: 255 seconds]
19:54
TomyLobo2 has joined #ruby
19:54
gusrub has quit [Remote host closed the connection]
19:56
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:56
Pierreb has quit [Quit: Page closed]
19:57
TomyLobo3 has quit [Ping timeout: 255 seconds]
19:58
gusrub has joined #ruby
20:00
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:01
rgtk has quit [Ping timeout: 255 seconds]
20:01
nobitanobi has quit [Remote host closed the connection]
20:02
nobitanobi has joined #ruby
20:04
skinnymg1 has quit [Remote host closed the connection]
20:04
beauby has joined #ruby
20:06
nobitanobi has quit [Ping timeout: 240 seconds]
20:06
grant has joined #ruby
20:06
opekktar has quit []
20:06
grant has quit [Client Quit]
20:08
beauby has quit [Ping timeout: 240 seconds]
20:10
gusrub has quit [Remote host closed the connection]
20:13
mlehrer has quit [Ping timeout: 240 seconds]
20:22
acalycine has joined #ruby
20:22
acalycine has joined #ruby
20:22
acalycine has quit [Changing host]
20:22
vuoto has quit [Remote host closed the connection]
20:23
rgtk has joined #ruby
20:24
phinxy has joined #ruby
20:27
melkor has quit [Ping timeout: 260 seconds]
20:28
eightlimbed_ has quit [Quit: Ex-Chat]
20:28
eightlimbed_ has joined #ruby
20:32
GodFather has quit [Ping timeout: 276 seconds]
20:33
ur5us has joined #ruby
20:33
beauby has joined #ruby
20:36
GodFather has joined #ruby
20:37
acalycine has quit [Ping timeout: 240 seconds]
20:37
aagdbl[m] has joined #ruby
20:44
opekktar has joined #ruby
20:45
ascarter has joined #ruby
20:46
Matt[m]1 has joined #ruby
20:46
velu_aon[m] has joined #ruby
20:47
<
LiamW >
apeiros: 4_500_000.times { `echo` }
20:47
Tagami[m] has joined #ruby
20:47
<
LiamW >
seems to do it
20:47
<
LiamW >
(that'll take 10-15 minutes)
20:47
<
LiamW >
I'm testing with a C version to see if I can get the same bug
20:48
<
LiamW >
it might be ruby just failing to wait()
20:48
dysfigur- is now known as dysfigured
20:49
naprimer2 has quit [Read error: Connection reset by peer]
20:50
<
LiamW >
C version didn't bug
20:50
naprimer has joined #ruby
20:54
ascarter has quit [Ping timeout: 240 seconds]
20:54
s1kx has joined #ruby
21:03
_sfiguser has quit [Ping timeout: 260 seconds]
21:07
yeticry has joined #ruby
21:08
yeticry_ has quit [Read error: Connection reset by peer]
21:11
quobo has quit [Quit: Connection closed for inactivity]
21:12
patr0clus has joined #ruby
21:12
patr0clus has quit [Max SendQ exceeded]
21:12
patr0clus has joined #ruby
21:13
patr0clus is now known as s3nd1v0g1us
21:14
segy_ has joined #ruby
21:15
_sfiguser has joined #ruby
21:15
mustaffa__ has quit [Ping timeout: 260 seconds]
21:15
dman[m] has joined #ruby
21:16
M107262[m] has joined #ruby
21:16
inkky[m] has joined #ruby
21:16
cdg has quit [Remote host closed the connection]
21:17
Guest94946 has joined #ruby
21:17
segy has quit [Ping timeout: 260 seconds]
21:17
segy_ is now known as segy
21:17
<
Guest94946 >
Hi Guys
21:17
joenas[m] has joined #ruby
21:17
<
Guest94946 >
need help on ruby script
21:18
yana[m] has joined #ruby
21:19
aviraldg has joined #ruby
21:19
jonjits[m] has joined #ruby
21:19
lasenna[m] has joined #ruby
21:20
Guest94946 has quit [Client Quit]
21:20
lxsameer has quit [Quit: WeeChat 1.7]
21:20
Giphy[m] has joined #ruby
21:20
tomphp has joined #ruby
21:21
Murda has quit [Quit: Murda]
21:21
KevinMGranger has joined #ruby
21:21
aidalgol has joined #ruby
21:21
torarne has joined #ruby
21:21
heftig has joined #ruby
21:21
turt2live has joined #ruby
21:21
gokul_mr[m] has joined #ruby
21:21
sepp2k1 has joined #ruby
21:21
_aeris_ has quit [Ping timeout: 248 seconds]
21:23
sepp2k has quit [Ping timeout: 260 seconds]
21:23
pb122 has joined #ruby
21:25
tomphp has quit [Client Quit]
21:26
segy_ has joined #ruby
21:27
_aeris_ has joined #ruby
21:27
banisterfiend has joined #ruby
21:29
eightlimbed_ has quit [Ping timeout: 246 seconds]
21:30
beilabs has quit [Remote host closed the connection]
21:30
segy has quit [Ping timeout: 260 seconds]
21:30
segy_ is now known as segy
21:30
mustaffa__ has joined #ruby
21:36
TomyLobo2 has quit [Ping timeout: 255 seconds]
21:37
segy_ has joined #ruby
21:38
tomphp has joined #ruby
21:40
opekktar_ has joined #ruby
21:41
evlute has joined #ruby
21:42
segy has quit [Ping timeout: 255 seconds]
21:42
segy_ is now known as segy
21:43
opekktar has quit [Ping timeout: 240 seconds]
21:43
ResidentBiscuit has joined #ruby
21:45
ryzokuken has quit [Quit: Leaving]
21:46
beauby has quit [Ping timeout: 246 seconds]
21:47
armyriad has joined #ruby
21:50
gusrub has joined #ruby
21:50
hkdsun has joined #ruby
21:54
ascarter has joined #ruby
21:54
ekinmur has joined #ruby
21:55
GinoMan has quit [Quit: Leaving]
21:57
gusrub has joined #ruby
21:58
dcunit3d has quit [Quit: WeeChat 1.4]
21:59
gusrub has quit [Remote host closed the connection]
22:00
raul782 has joined #ruby
22:00
Puffball has quit [Read error: Connection reset by peer]
22:01
evlute has quit [Ping timeout: 255 seconds]
22:02
ascarter has quit [Ping timeout: 260 seconds]
22:02
Puffball has joined #ruby
22:04
evlute has joined #ruby
22:09
impermanence has joined #ruby
22:09
sunrunner20 has quit [Ping timeout: 240 seconds]
22:09
<
impermanence >
^ i know there is a more ruby way to do this, but unsure how to make it happen
22:10
evlute has quit [Ping timeout: 255 seconds]
22:10
<
impermanence >
also unsure how to get it to stop duplicating the last element
22:12
sunrunner20 has joined #ruby
22:13
InfinityFye has quit [Quit: Leaving]
22:14
gusrub has joined #ruby
22:17
kkiero_ is now known as kkiero
22:18
beauby has joined #ruby
22:18
bruno- has joined #ruby
22:19
gusrub has quit [Ping timeout: 240 seconds]
22:21
dn` has quit [Ping timeout: 240 seconds]
22:23
dn` has joined #ruby
22:28
bruno- has quit [Read error: Connection reset by peer]
22:28
bruno- has joined #ruby
22:29
duderonomy has quit [Ping timeout: 260 seconds]
22:31
raul782 has quit [Remote host closed the connection]
22:31
duderonomy has joined #ruby
22:33
raul782 has joined #ruby
22:33
bruno- has quit [Read error: Connection reset by peer]
22:33
selim has joined #ruby
22:34
bruno- has joined #ruby
22:34
selim_ has quit [Ping timeout: 260 seconds]
22:38
bruno- has quit [Read error: Connection reset by peer]
22:40
|ifei5good has quit [Ping timeout: 240 seconds]
22:42
inkky[m] has left #ruby ["User left"]
22:42
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:43
raul782 has quit [Remote host closed the connection]
22:44
<
impermanence >
I've figured out the second part.
22:44
<
impermanence >
Now I'm just interested in rubifying this.
22:44
raul782 has joined #ruby
22:46
|ifei5g00d has joined #ruby
22:46
ekinmur has joined #ruby
22:48
thiru has quit [*.net *.split]
22:48
gregf_ has quit [*.net *.split]
22:48
raul782 has quit [Ping timeout: 240 seconds]
22:48
sepp2k1 has quit [Read error: Connection reset by peer]
22:53
thiru has joined #ruby
22:54
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:57
cschneid_ has quit [Remote host closed the connection]
22:59
rubylegend2092 has joined #ruby
22:59
ascarter has joined #ruby
23:00
astrobunny has joined #ruby
23:04
skweek has joined #ruby
23:05
karlding_ has quit [Ping timeout: 240 seconds]
23:05
karlding has joined #ruby
23:05
chloe__ has quit [Ping timeout: 240 seconds]
23:05
ltp_ has quit [Ping timeout: 240 seconds]
23:05
genpaku has quit [Ping timeout: 240 seconds]
23:05
chloe__ has joined #ruby
23:07
genpaku has joined #ruby
23:08
oblique has quit [Ping timeout: 268 seconds]
23:08
beilabs has joined #ruby
23:08
ascarter has quit [Ping timeout: 260 seconds]
23:09
bmurt has joined #ruby
23:09
oblique has joined #ruby
23:10
enodata has joined #ruby
23:11
rahult has joined #ruby
23:13
beilabs has quit [Ping timeout: 240 seconds]
23:13
ltp has joined #ruby
23:13
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:14
GodFather has quit [Ping timeout: 276 seconds]
23:14
lxsameer has joined #ruby
23:14
astrobunny has quit [Remote host closed the connection]
23:14
astrobunny has joined #ruby
23:15
GodFather has joined #ruby
23:15
segy_ has joined #ruby
23:17
segy has quit [Ping timeout: 260 seconds]
23:17
segy_ is now known as segy
23:17
raul782 has joined #ruby
23:17
bruno- has joined #ruby
23:19
astrobunny has quit [Ping timeout: 246 seconds]
23:19
cschneid_ has joined #ruby
23:23
nobitanobi has joined #ruby
23:24
segy has quit [Ping timeout: 240 seconds]
23:24
jinie_ has quit [Ping timeout: 260 seconds]
23:24
FahmeF has quit [Remote host closed the connection]
23:24
jinie_ has joined #ruby
23:24
Dimik has quit [Ping timeout: 240 seconds]
23:27
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:28
mustaffa__ has quit [Ping timeout: 248 seconds]
23:29
bmurt has joined #ruby
23:29
segy has joined #ruby
23:30
bmurt has quit [Client Quit]
23:31
alveric1 has joined #ruby
23:35
alveric4 has quit [Ping timeout: 276 seconds]
23:35
rahult is now known as rahult_
23:38
nobitanobi has quit [Remote host closed the connection]
23:38
nobitanobi has joined #ruby
23:39
rgtk has quit [Ping timeout: 240 seconds]
23:40
opekktar has joined #ruby
23:42
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:42
nobitanobi has quit [Ping timeout: 246 seconds]
23:43
opekktar_ has quit [Ping timeout: 240 seconds]
23:43
opekktar has quit [Client Quit]
23:44
mim1k has quit [Ping timeout: 260 seconds]
23:44
cschneid_ has quit [Remote host closed the connection]
23:48
cschneid_ has joined #ruby
23:50
mim1k has joined #ruby
23:54
mim1k has quit [Ping timeout: 240 seconds]
23:55
alex``` has quit [Ping timeout: 240 seconds]
23:55
raul782 has quit [Remote host closed the connection]
23:56
bmurt has joined #ruby
23:59
gusrub has joined #ruby