<nakilon>
carc.in is working now (18:55:04 <jhass> does carc.in stop or the bot?)
arestifo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tree has quit [Quit: tree]
Garb0 has joined #ruby
FetidToot1 has joined #ruby
FetidToot has quit [Ping timeout: 252 seconds]
FetidToot1 is now known as FetidToot
xuochi has joined #ruby
xuochi has quit [Client Quit]
xuochi has joined #ruby
xuochi has quit [Client Quit]
xuochi has joined #ruby
Qchmqs has joined #ruby
arestifo has joined #ruby
Garb0 has quit [Quit: Garb0]
Qchmqs has quit [Ping timeout: 250 seconds]
Qchmqs has joined #ruby
Qchmqs has joined #ruby
Qchmqs has quit [Changing host]
tree has joined #ruby
erb has joined #ruby
Qchmqs has quit [Remote host closed the connection]
Cata has joined #ruby
mbrndtgn8 has joined #ruby
rhe3 has joined #ruby
jinie_ has joined #ruby
llua` has joined #ruby
doma has joined #ruby
yosafbridge` has joined #ruby
ule_ has joined #ruby
jamesmar1inez has joined #ruby
dorian_ has joined #ruby
Bish_ has joined #ruby
yosafbridge has quit [*.net *.split]
ule has quit [*.net *.split]
dorian has quit [*.net *.split]
rhe has quit [*.net *.split]
Bish has quit [*.net *.split]
jinie has quit [*.net *.split]
gothprincess has quit [*.net *.split]
llua has quit [*.net *.split]
mbrndtgn has quit [*.net *.split]
jamesmartinez has quit [*.net *.split]
mbrndtgn8 is now known as mbrndtgn
rhe3 is now known as rhe
tree has quit [Quit: tree]
erb has quit [Read error: Connection reset by peer]
erb has joined #ruby
Garb0 has joined #ruby
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw has joined #ruby
dostoyev1ky2 has joined #ruby
moo- has joined #ruby
kinduff has quit [*.net *.split]
clemens3 has quit [*.net *.split]
moo has quit [*.net *.split]
Rounin has quit [*.net *.split]
dostoyevsky2 has quit [*.net *.split]
FastJack has quit [*.net *.split]
FastJack has joined #ruby
kinduff has joined #ruby
Garb0 has quit [Quit: Garb0]
clemens3 has joined #ruby
llua` is now known as llua
Rounin has joined #ruby
<nakilon>
is there a way to match any kind of dot with a regex?
<nakilon>
like . and · and •
<nakilon>
like if they had some sort of "tag 'looks like dot'" in the unicode table
arestifo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aestheti1>
I am not aware of any such thing like [[:digit:]] or equivalnet, but this page https://en.wikipedia.org/wiki/Interpunct gives a table of dot-like characters so perhaps you could make your own list
<nakilon>
I wanted to avoid the making an own list (
<aesthetikx>
ah, that is a nice tool, good find. You will probably have to combine the results; what happens if you put the other ones from the wikipedia table in there?
<aesthetikx>
yeah
royo25 has quit [Quit: Bye]
Garb0 has joined #ruby
Guest65_ has joined #ruby
Guest65_ has quit [Client Quit]
Guest65_ has joined #ruby
moo- has left #ruby [Leaving]
dostoyev1ky2 has quit [Quit: leaving]
dostoyevsky2 has joined #ruby
Guest65_ has quit [Ping timeout: 252 seconds]
jamesmar1inez is now known as jamesmartinez
gr33n7007h has joined #ruby
chonkbit has joined #ruby
chonkbit has quit [Quit: Konversation terminated!]
chonkbit has joined #ruby
chonkbit has quit [Quit: Konversation terminated!]
<jhass>
>> "hi"
* jhass
shrugs
<jhass>
nakilon: fun part is it does have your messages in the log
<nakilon>
it doesn't wanna talk today>
<nakilon>
not in the mood
<jhass>
it's more of a good listener I guess
<nakilon>
fits #ruby
chonkbit has joined #ruby
<jhass>
as said if you want to take a stab at fixing it up we can find a way certainly
* nakilon
does not code in crystal
<jhass>
ruby[bot] is in ruby
<nakilon>
oh
<jhass>
apeiros project, not public
pgib has joined #ruby
<nakilon>
making another wrapper on top of carc.in would be trivial
<nakilon>
if it uses the same API that I see in Network browser tab; since I don't see API docs
<jhass>
Sure it would be. I imagine this is somewhere in the framework and not the eval plugin, so you'd also help us with keeping its moderation functions working :D
<nakilon>
what are ruby[bot] functions?
<nakilon>
other than repl and IIRC giving the link to docs
<nakilon>
i.e. ri search I suppose
<jhass>
ri search was some other bot but I'd welcome it as a new plugin
<jhass>
it logs to internal logs and it has a bunch of moderation functions, ensuring bans are set correctly, automatically removed after some time and stuff
<xuochi>
so, I am just starting to learn Ruby, and I notice that p does something different from puts when iterating an array of strings. Does anyone mind ellucidating the actual difference?
<xuochi>
I feel like p is just dumping the object structure/contents
<adam12>
xuochi: It calls #inspect on the object.
<xuochi>
but I am not sure if I'm on the right track
<jhass>
xuochi: sure, puts calls .to_s on the object, p calls .inspect
<xuochi>
thx guys
<adam12>
xuochi: So if you have foo = nil; and then you `puts foo`, you’d see nothing. But with `p foo`, you’d see nil. It makes debugging a lot easier.
<xuochi>
thanks :)
<adam12>
xuochi: Similar to empty string. `foo = “”; puts foo` shows nothing. But `p foo` would be “”. Big difference if `foo` is actually assigned from something else (user input, whatever).
<adam12>
and `pp` is the big brother of `p`, where it can sometimes do indentation and stuff.
<adam12>
(sometimes being that the object being inspected would have to support it)
<jhass>
finally puts returns nil always whereas p returns it's argument, making it handy for in-place debugging of expressions, foo = p(bar) is valid and working as you'd expect
<xuochi>
ooooh, that is useful
<adam12>
Yeah, that’s a good point too (and was this weeks Ruby tip question on Twitter :P).
<nakilon>
or .tap(&method(:puts))
<adam12>
Actually it was last week.
motherr has quit [Ping timeout: 268 seconds]
motherr has joined #ruby
brw has joined #ruby
goldfish has joined #ruby
xuochi has quit [Quit: leaving]
jetchisel has joined #ruby
jinie_ is now known as jinie
RougeR has joined #ruby
Cata has quit [Quit: Leaving]
xuochi has joined #ruby
chonkbit has quit [Ping timeout: 272 seconds]
gearnode has quit [Ping timeout: 245 seconds]
drn has joined #ruby
jidar has joined #ruby
jidar has quit [Client Quit]
jidar has joined #ruby
gearnode has joined #ruby
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw has joined #ruby
goldfish has quit [Read error: Connection reset by peer]
goldfish_ has joined #ruby
goldfish_ has quit [Remote host closed the connection]