BSaboia has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
Guest9014 has quit [Ping timeout: 250 seconds]
aighearach_ has quit [Remote host closed the connection]
aighearach_ has joined #ruby
ZAJDAN has quit [Ping timeout: 256 seconds]
Vaevictus has quit [Ping timeout: 256 seconds]
Vaevictus has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex0 has joined #ruby
Rounin has joined #ruby
croberts has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
gr33n7007h has quit [Ping timeout: 256 seconds]
gr33n7007h has joined #ruby
unyu has joined #ruby
goldfish has quit [Ping timeout: 240 seconds]
cdown has quit [Ping timeout: 267 seconds]
work has quit [Quit: Connection closed for inactivity]
Thanzex0 has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
polishdub has joined #ruby
Synthead has joined #ruby
<
Synthead>
bundle exec pry doesn't have this issue
<
Synthead>
(rails c starts a pry console, fwiw)
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
ZAJDAN has joined #ruby
bluedust has joined #ruby
Guest9014 has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
lunarkitty has joined #ruby
fef has joined #ruby
ZAJDAN has quit [Ping timeout: 240 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
oxfuxxx has joined #ruby
fef has quit [Ping timeout: 276 seconds]
Synthead has quit [Quit: Leaving]
oxfuxxx has quit [Ping timeout: 250 seconds]
fef has joined #ruby
victori has joined #ruby
ZAJDAN has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
bluedust_ has quit [Remote host closed the connection]
_ht has joined #ruby
Guest9014 has quit [Ping timeout: 250 seconds]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
fef has quit [Ping timeout: 276 seconds]
bluedust has joined #ruby
oxfuxxx has joined #ruby
mixfix41 has quit [Ping timeout: 240 seconds]
oxfuxxx has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Quit: WeeChat 3.4]
oxfuxxx has joined #ruby
gr33n7007h has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
xyhuvud has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 250 seconds]
oxfuxxx has joined #ruby
fef has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
leonthemisfit has joined #ruby
leonthemisfit has quit [Changing host]
leonthemisfit has joined #ruby
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 250 seconds]
hightower2 has joined #ruby
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
bluedust has quit [Remote host closed the connection]
oxfuxxx has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
cdown has joined #ruby
oxfuxxx has joined #ruby
gproto23 has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
oxfuxxx has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
John_Ivan has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
_ht has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
gproto23_ has joined #ruby
xyhuvud has quit [Ping timeout: 250 seconds]
gproto23 has quit [Quit: Leaving]
gproto23_ has quit [Remote host closed the connection]
gproto23 has joined #ruby
work has joined #ruby
cdown has quit [Remote host closed the connection]
John_Ivan has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
bluedust has joined #ruby
analogsalad has joined #ruby
xyhuvud has joined #ruby
yxhuvud has quit [Ping timeout: 240 seconds]
Guest9014 has joined #ruby
<
ox1eef>
I'm terribly sorry... Was ruby[bot] programmed in Victorian English?
Guest9014 has quit [Ping timeout: 256 seconds]
<
ox1eef>
i like ruby[moo] ! that's quite impressive.
<
havenwood>
oops, typo
_ht has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
fef has left #ruby [Leaving]
goldfish has joined #ruby
work has quit [Quit: Connection closed for inactivity]
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
ruby[moo] has joined #ruby
<
mooff>
been working on ruby[moo] around a month :O (though it lives on another network)
<
mooff>
latest is puzzle is why threads don't seem to start in forks:
<
mooff>
] fork { msg target, 'hi' }
<
mooff>
] fork { Thread.new { msg target, 'hi' } }
<
havenwood>
] fork { Thread.new { puts 'hi' }.join } # mooff
gproto23 has quit [Ping timeout: 256 seconds]
<
havenwood>
] fork { Thread.new { msg target, 'hi' }.join }
<
havenwood>
mooff: anyway, joining Threads before the forked process exits should work
<
mooff>
ah, thanks havenwood
<
mooff>
] fork { Thread.new { msg target, 'hi' }.join }
<
mooff>
what if the thread is spawned in a different part of the code than starts the fork?
<
mooff>
how come the .join is required?
<
leah2>
the main thread will just quit if you dont join anything
ox1eef has quit [Ping timeout: 256 seconds]
<
mooff>
ah! of course. thanks leah2
* mooff
considers diffing Thread.list and auto-joining any new ones in the fork
<
mooff>
] fork { Thread.new { sleep 1 }; msg target, Thread.list.inspect }
<
ruby[moo]>
[#<Thread:0x00007fe8e081db68 /app/dsl.rb:39 run>, #<Thread:0x00007fe8e07ba338 (eval):1 run>]
<
mooff>
] fork { msg target, (Thread.list - [Thread.main]).inspect }
ruby[moo] has quit [Quit: Thanks]
mahlon has quit [Ping timeout: 268 seconds]
rottame has quit [Quit: Client closed]
jtdowney_ has quit [Quit: Bye]
Rounin has quit [Ping timeout: 240 seconds]
fdan has joined #ruby
mdemo has joined #ruby
factor has quit [Read error: Connection reset by peer]
oxfuxxx has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.4]
oxfuxxx has quit [Ping timeout: 256 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4]
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
bluedust has joined #ruby
bluedust_ has quit [Ping timeout: 256 seconds]
factor has joined #ruby
factor has quit [Read error: Connection reset by peer]
fdan has quit [Ping timeout: 256 seconds]
bluedust_ has joined #ruby
bluedust has quit [Read error: Connection reset by peer]
perrierjouet has joined #ruby
oxfuxxx has joined #ruby
factor has joined #ruby
oxfuxxx has quit [Ping timeout: 268 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
perrierjouet has quit [Ping timeout: 256 seconds]
analogsalad has quit [Quit: bye]
oxfuxxx has joined #ruby
Guest33 has joined #ruby
factor has joined #ruby
<
Guest33>
Is that possible that we can create a new data types in ruby
oxfuxxx has quit [Ping timeout: 250 seconds]
mahlon has joined #ruby
oxfuxxx has joined #ruby
<
Guest33>
I did not find any sources about that. (user-defined types in ruby) I'd be grateful for your help.
oxfuxxx has quit [Ping timeout: 250 seconds]
<
leftylink>
what about creating a class, or a Struct? those count as creating new data types, right?
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 268 seconds]
<
Guest33>
Assume that i have a class named MyString and i create and instance obj = MyString.new and obj.class should be String type
<
Guest33>
Please ignore "MyString " example written above
<
Guest33>
For example in the haskel programming, we can create our own data types, Is that a way to do same thing in the ruby?
perrierjouet has joined #ruby
gproto23 has joined #ruby
<
jhass>
I would argue creating a class is creating your own datatype in an OO paradigm
hololeap has quit [Excess Flood]
hololeap has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
ur5us has joined #ruby
<
Guest33>
Thank you leftylink and jhass
Guest33 has quit [Quit: Guest33]
gproto23 has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 268 seconds]
bluedust_ has quit [Remote host closed the connection]
Guest9014 has joined #ruby
ox1eef has joined #ruby
<
ox1eef>
it looks like if the directory given to --prefix does not exist, the configure script creates it under /usr ?
<
ox1eef>
or relative to /usr
<
ox1eef>
i can't figure out how else it happened.
_ht has quit [Remote host closed the connection]
aeris has quit [Remote host closed the connection]
<
jhass[m]>
hope you don't run configure (or the build) as root oO
aeris has joined #ruby
gproto23 has joined #ruby
fowl has joined #ruby
<
ox1eef>
it created /usr/home/0x1eef/ as my user/group
<
ox1eef>
trying again, with the directory in place, it worked properly
<
ox1eef>
hm /usr/home/0x1eef looks like a FreeBSD thing, i'll ask in #freebsd
<
ox1eef>
/home is a symlink to /usr/home/ on FreeBSD, so that explains it
<
weaksauce>
how did you try to install it?
<
weaksauce>
not via ruby-build or the like?
fowl has quit [Quit: Client closed]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
oxfuxxx has joined #ruby
bluedust has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
gproto23 has quit [Ping timeout: 240 seconds]
oxfuxxx has quit [Ping timeout: 240 seconds]
<
mooff>
trying to close a sensitive fd in a fork, by using #io.close on an SSLSocket