havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.0, 2.4.3, 2.3.6, 2.6.0-preview1: https://www.ruby-lang.org || Paste 4+ lines of text to https://gist.github.com || Rails questions? Ask in #RubyOnRails || Books: https://goo.gl/wpGhoQ || Logs: https://irclog.whitequark.org/ruby
n0m4d1c has joined #ruby
houhoulis has joined #ruby
kapil___ has joined #ruby
RougeR has joined #ruby
jshjsh has quit [Quit: Leaving]
mikecmpbll has quit [Quit: inabit. zz.]
hahuang61 has joined #ruby
beremenushka2 has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
beremenjushka has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Quit: WeeChat 2.0.1]
hahuang61 has joined #ruby
Strepsils has joined #ruby
Azure has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
Azure has joined #ruby
willmichael has quit [Ping timeout: 248 seconds]
cschneid has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
BaD_CrC has quit [Ping timeout: 264 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
hahuang61 has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
fyrril2 has joined #ruby
fyrril has quit [Ping timeout: 256 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
lroca has joined #ruby
lroca has quit [Remote host closed the connection]
nadir has quit [Quit: Connection closed for inactivity]
RougeR has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.0.1]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
bmurt has joined #ruby
mynameisdebian has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
mynameisdebian has joined #ruby
al2o3-cr has quit [Client Quit]
hahuang61 has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
G_ has joined #ruby
G_ is now known as Guest53493
Guest53493 has quit [Read error: Connection reset by peer]
G__ has joined #ruby
marr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
RougeR has joined #ruby
mynameisdebian has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 268 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
AJA4350 has quit [Quit: AJA4350]
SynSynack has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yzguy has joined #ruby
cdg has joined #ruby
alfiemax has joined #ruby
n0m4d1c has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
alfiemax has quit [Ping timeout: 252 seconds]
milardovich has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
houhouli_ has joined #ruby
rgiscard has joined #ruby
dviola has quit [Quit: WeeChat 2.0.1]
houhoulis has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
RougeR has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 276 seconds]
Yzguy has quit [Quit: Zzz...]
alfiemax has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
bmurt has joined #ruby
drewmcmillan has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Yzguy has joined #ruby
ixti has joined #ruby
gizmore|2 has joined #ruby
dviola has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
dinfuehr_ has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 260 seconds]
rgiscard has quit [Quit: Gone fishing]
kapil___ has quit [Quit: Connection closed for inactivity]
saksida has quit [Quit: ZNC 1.6.5 - http://znc.in]
kapil___ has joined #ruby
arescorpio has joined #ruby
houhouli_ has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 256 seconds]
n0m4d1c has quit [Remote host closed the connection]
cschneid has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
sagax has quit [Remote host closed the connection]
dviola has quit [Quit: WeeChat 2.0.1]
davidsiegel has joined #ruby
ixti has quit [Quit: WeeChat 2.0.1]
govg has joined #ruby
<davidsiegel> Hi there! I made a tool to generate typechecked Ruby models from JSON/schema using the dry-types gem and I'm looking for feedback: https://app.quicktype.io/?l=ruby
<davidsiegel> I'm a little dismayed at the amount of code I had to generate to accomplish this and am looking for any ways to make it a bit more idiomatic.
xuanrui has joined #ruby
cschneid has joined #ruby
Yzguy has quit [Quit: Zzz...]
knight33_ has joined #ruby
cschneid has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
arescorpio has quit [Quit: Leaving.]
n0m4d1c has quit [Remote host closed the connection]
armyriad has quit [Read error: Connection reset by peer]
davidsiegel has quit [Ping timeout: 260 seconds]
armyriad has joined #ruby
trautwein has quit [Quit: ZNC 1.6.5 - http://znc.in]
trautwein has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidsiegel has joined #ruby
marxarelli|afk has quit [Ping timeout: 240 seconds]
davidsiegel has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
hahuang61 has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
armyriad has quit [Read error: Connection timed out]
armyriad has joined #ruby
Asher has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
Asher has joined #ruby
alfiemax_ has joined #ruby
Rubemlrm has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 265 seconds]
Rubemlrm has joined #ruby
gix has joined #ruby
hahuang61 has joined #ruby
gix- has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 248 seconds]
fyrril2 has quit [Ping timeout: 255 seconds]
jamesaxl has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
fyrril has joined #ruby
hahuang61 has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
hahuang61 has joined #ruby
soniya29 has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
sidx64 has joined #ruby
sidx64 has quit [Client Quit]
mangoicedtea has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
xco has joined #ruby
sidx64 has joined #ruby
__main__ has joined #ruby
xco has quit [Ping timeout: 256 seconds]
knight33_ has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
soniya29 has quit [Ping timeout: 245 seconds]
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
Dimik has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
anisha has joined #ruby
hahuang65 has joined #ruby
xco has joined #ruby
karapetyan has joined #ruby
aufi has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
anisha_ has joined #ruby
anisha has quit [Ping timeout: 256 seconds]
karapetyan has quit [Remote host closed the connection]
aufi has quit [Remote host closed the connection]
hahuang61 has joined #ruby
G__ has quit [Ping timeout: 265 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
hahuang61 has quit [Ping timeout: 252 seconds]
alex`` has joined #ruby
hahuang65 has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
dionysus69 has joined #ruby
hogetaro_ has joined #ruby
Flabbergazta_ has joined #ruby
Some-body_ has joined #ruby
mahlon_ has joined #ruby
aufi has joined #ruby
jhill__ has joined #ruby
xco has left #ruby [#ruby]
ammar_ has joined #ruby
SuperL4g has joined #ruby
nyuszika7h has quit [Disconnected by services]
yokel_ has joined #ruby
untitaker_ has joined #ruby
nyuszika7h_ has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
th1nkpad has joined #ruby
sspreitzer has joined #ruby
sspreitzer has joined #ruby
sspreitzer has quit [Changing host]
pmodin has joined #ruby
Hobbyboy|BNC has joined #ruby
hahuang65 has joined #ruby
DarthGandalf has quit [*.net *.split]
roshanavand has quit [*.net *.split]
modin has quit [*.net *.split]
surminus has quit [*.net *.split]
SuperLag has quit [*.net *.split]
thinkpad has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
lunarkitty7 has quit [*.net *.split]
yokel has quit [*.net *.split]
tatpap[m] has quit [*.net *.split]
mahlon has quit [*.net *.split]
jimeh has quit [*.net *.split]
BuildTheRobots has quit [*.net *.split]
kireevco has quit [*.net *.split]
Flabbergazta has quit [*.net *.split]
arcturiaen has quit [*.net *.split]
jhill_ has quit [*.net *.split]
jetpack_joe has quit [*.net *.split]
untitaker has quit [*.net *.split]
bcavileer has quit [*.net *.split]
hogetaro has quit [*.net *.split]
ndrst has quit [*.net *.split]
Takumo has quit [*.net *.split]
dizzy1or5[m] has quit [*.net *.split]
KevinMGranger has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
heyimwill has quit [*.net *.split]
ammar has quit [*.net *.split]
sparr has quit [*.net *.split]
headius has quit [*.net *.split]
r3dc0d3r has quit [*.net *.split]
sspreitz has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
Some-body_ is now known as DarthGandalf
pmodin is now known as modin
untitaker_ is now known as untitaker
yokel_ is now known as yokel
th1nkpad is now known as thinkpad
Elysia has joined #ruby
headius has joined #ruby
jnollette has quit [*.net *.split]
_aeris_ has quit [*.net *.split]
daemonwrangler has joined #ruby
heyimwill has joined #ruby
r3dc0d3r has joined #ruby
r3dc0d3r has joined #ruby
r3dc0d3r has quit [Changing host]
Hobbyboy|BNC is now known as Hobbyboy
Lomex has left #ruby ["Textual IRC Client: www.textualapp.com"]
Fridtjof has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
Tharbakim has joined #ruby
Tharbakim has joined #ruby
Tharbakim has quit [Changing host]
halbbalda has quit [Ping timeout: 260 seconds]
iNs has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
iNs has joined #ruby
halbbalda has joined #ruby
dizzy1or5[m] has joined #ruby
KevinMGranger has joined #ruby
ndrst has joined #ruby
ndrst is now known as Guest87992
Takumo has joined #ruby
surminus has joined #ruby
tatpap[m] has joined #ruby
kireevco has joined #ruby
jetpack_joe has joined #ruby
workmad3 has joined #ruby
roshanavand has joined #ruby
lunarkitty7 has joined #ruby
jimeh has joined #ruby
sparr has joined #ruby
bcavileer has joined #ruby
arcturiaen has joined #ruby
BuildTheRobots has joined #ruby
oleo has quit [Quit: Leaving]
hahuang61 has joined #ruby
mangoicedtea has left #ruby ["Leaving"]
workmad3 has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dionysus69 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #ruby
hahuang65 has quit [Ping timeout: 268 seconds]
n13z has quit [Quit: leaving]
GinoMan has quit [Ping timeout: 240 seconds]
maum has quit [Remote host closed the connection]
detectiveaoi has quit [Quit: Leaving]
alfiemax_ has quit [Remote host closed the connection]
sidx64_ has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.0.1]
sidx64 has quit [Ping timeout: 256 seconds]
roshanavand has quit [Quit: Leaving.]
roshanavand has joined #ruby
Dimik has quit [Ping timeout: 264 seconds]
sidx64 has joined #ruby
sidx64_ has quit [Ping timeout: 264 seconds]
_Joes_ has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
conta has joined #ruby
guardianx has joined #ruby
_Joes_ has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.0.1]
dionysus69 has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
andikr has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guardianx has quit []
Rubemlrm has quit [Ping timeout: 268 seconds]
hahuang61 has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
dionysus70 is now known as dionysus69
Rubemlrm has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
hahuang61 has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
kliq has joined #ruby
kliq has quit [Remote host closed the connection]
al2o3-cr has quit [Quit: WeeChat 2.0.1]
schneider has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
bigblind has joined #ruby
yohji has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
willmichael has joined #ruby
clemens3 has joined #ruby
imode has quit [Ping timeout: 264 seconds]
ta_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
Puffball has quit [Ping timeout: 264 seconds]
bigblind has quit [Ping timeout: 245 seconds]
Puffball has joined #ruby
claudiuinberlin has joined #ruby
Burgestrand has joined #ruby
oetjenj has joined #ruby
c0ncealed has quit [Remote host closed the connection]
aupadhye has joined #ruby
rahul_bajaj has joined #ruby
c0ncealed has joined #ruby
willmichael has quit [Ping timeout: 245 seconds]
rabajaj has quit [Ping timeout: 248 seconds]
willmichael has joined #ruby
marr has joined #ruby
hahuang61 has joined #ruby
cschneid has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
phaul has joined #ruby
cschneid has quit [Ping timeout: 256 seconds]
schneider has quit [Ping timeout: 260 seconds]
sidx64 has joined #ruby
schneider has joined #ruby
wojnar has joined #ruby
mikecmpbll has joined #ruby
rabajaj has joined #ruby
riotjones has joined #ruby
rahul_bajaj has quit [Ping timeout: 256 seconds]
ltt has joined #ruby
yohji has quit [Ping timeout: 268 seconds]
ltt has quit [Client Quit]
willmichael has quit [Ping timeout: 256 seconds]
bigblind has joined #ruby
willmichael has joined #ruby
ltt has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
ltt has quit [Client Quit]
mikecmpbll has joined #ruby
ta_ has joined #ruby
Burgestrand has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
yohji has joined #ruby
guille-moe has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
KeyJoo has joined #ruby
konos5_ has joined #ruby
willmichael has quit [Ping timeout: 252 seconds]
willmichael has joined #ruby
alfiemax has joined #ruby
Strepsils has quit [Read error: Connection reset by peer]
cdg has joined #ruby
rahul_bajaj has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
rabajaj has quit [Ping timeout: 265 seconds]
ltt has joined #ruby
PaulePanter has quit [Remote host closed the connection]
PaulePanter has joined #ruby
leitz has joined #ruby
cdg has joined #ruby
<leitz> In line 5, is the "superclass.hierarchy" recursing back up the class hierarchy until it gets to "BasicObject, then creating the array, and adding each Class as it comes out of the recursion?
<leitz> The question is more "Do I understand this correctly?"
cdg has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
hahuang61 has joined #ruby
rabajaj has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahul_bajaj has quit [Ping timeout: 260 seconds]
cdg has quit [Ping timeout: 255 seconds]
ltt has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
armyriad has quit [Read error: Connection reset by peer]
Beams has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Papierkorb has joined #ruby
Papierkorb has left #ruby ["Konversation terminated!"]
marens has quit [Remote host closed the connection]
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
leitz has quit [Quit: Nappy time]
Strepsils has joined #ruby
ta_ has quit [Remote host closed the connection]
ltt has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider- has joined #ruby
schneider has quit [Read error: Connection reset by peer]
sylario has joined #ruby
ShekharReddy has joined #ruby
workmad3 has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
amatas has joined #ruby
drewmcmillan has joined #ruby
claudiuinberlin has joined #ruby
amatas has quit [Quit: amatas]
amatas has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
tomphp has joined #ruby
milardovich has joined #ruby
Guest87992 is now known as ndrst
ndrst has quit [Changing host]
ndrst has joined #ruby
vrih has joined #ruby
amatas has quit [Quit: amatas]
claudiuinberlin has quit [Ping timeout: 245 seconds]
amatas has joined #ruby
hahuang61 has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
fribmendes has joined #ruby
TomyWork has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcopeland has quit [Quit: tcopeland]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has joined #ruby
ta_ has joined #ruby
qba73 has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
bigblind has quit [Ping timeout: 264 seconds]
Burgestrand has joined #ruby
goatish has joined #ruby
cdg has joined #ruby
ltt has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
Cavallari has joined #ruby
cdg has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
ldnunes has joined #ruby
Cavallari1 has joined #ruby
Cavallari has quit [Ping timeout: 256 seconds]
Cavallari1 is now known as Cavallari
atta has joined #ruby
shinnya has joined #ruby
hahuang61 has joined #ruby
Puffball has quit [Ping timeout: 256 seconds]
Puffball has joined #ruby
Cavallari1 has joined #ruby
hahuang61 has quit [Ping timeout: 245 seconds]
Cavallari has quit [Ping timeout: 260 seconds]
Cavallari1 is now known as Cavallari
schneider- has quit [Ping timeout: 248 seconds]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
tcopeland has joined #ruby
<zmo> hi o/
synthroid has joined #ruby
<zmo> I'd like to make a member from a parent class available as self attribute in the children classes.. I thought it would be obvious, but it actually isn't. I tried doing it the same way I defined class methods (self.name) but no luck
<zmo> I tried with @@name
willmichael has quit [Ping timeout: 264 seconds]
Exagone313 has quit [Quit: see ya!]
bigblind has joined #ruby
<zmo> how can I have a class member and access it from a child's method ?
Exagone313 has joined #ruby
<Burgestrand> zmo could you provide a minimal example of what you want to do?
<zmo> class A; self.a = 42; end ; class B < A; def foo; print(a); end; end
SynSynack has quit [Quit: Не разучиться мечтать... любить...]
bmurt has joined #ruby
<zmo> hm.. actually what I really want, beyond the syntax is the opposite pattern: class A; def foo; print(self.a); end ; class B < A; self.a = 42; end
<zmo> so that B.foo prints 42
<Burgestrand> zmo in the example you provided, your `.a` is defined as A.a, but your `#foo` is defined as `B.new.foo`, is that really what you're afteR/
<zmo> (B.new.foo)
<zmo> Burgestrand - yes, I want to access A.a from an instance, without having to know the class name
<Burgestrand> zmo Now your second explanation kind of said the opposite :)
<zmo> Burgestrand - indeed, but it's the same mechanism
<Burgestrand> zmo so for one, @@-variables are shared with subclasses, whereas @-variables aren't — @@-variables in this sense are dangerous because the mechanics are more likely to come at a surprise to the developer
<Burgestrand> zmo because of the inheritation-mechanic you can do something kind of iffy, like so: https://repl.it/repls/TrimDelightfulLoaderprogram
nowhereman_ has joined #ruby
<Burgestrand> zmo the knowledge of @@-variables tend to come with a _strong_ recommendation of "don't use them"
<zmo> ok, thanks, I'll try that
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cavallari1 has joined #ruby
<zmo> well, I'm just implementing a specialization pattern, so it should be fine
<zmo> even though the @@ syntax is ugly :)
<Burgestrand> zmo you can definitely create your own accessor around it
<Burgestrand> zmo see the same link again: https://repl.it/repls/TrimDelightfulLoaderprogram
mynameisdebian has joined #ruby
<zmo> ah, that's indeed more elegant
<zmo> I'll do it that way, thanks
nowhere_man has quit [Ping timeout: 260 seconds]
n008f4g_ has joined #ruby
ltt has joined #ruby
Cavallari has quit [Ping timeout: 268 seconds]
Cavallari1 is now known as Cavallari
vaillancourtmax has joined #ruby
schneider- has joined #ruby
dreger has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
dreger has quit [Client Quit]
willmichael has joined #ruby
mynameisdebian has quit [Read error: Connection reset by peer]
G_ has joined #ruby
G_ is now known as Guest45753
schneider- has quit [Ping timeout: 256 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
inukshuk_ has joined #ruby
Guest45753 has quit [Quit: Leaving]
roshanavand has quit [Ping timeout: 256 seconds]
shinnya has quit [Ping timeout: 264 seconds]
lroca has joined #ruby
alfiemax has quit [Remote host closed the connection]
vaillancourtmax has quit [Ping timeout: 252 seconds]
qba73 has quit [Ping timeout: 248 seconds]
Burgestrand has quit [Quit: Closing time!]
schneider- has joined #ruby
hahuang61 has joined #ruby
Burgestrand has joined #ruby
lroca has quit [Quit: lroca]
Strepsils has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider- has quit [Ping timeout: 256 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
schneider- has joined #ruby
qba73 has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
Sambsquanch has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
willmichael has quit [Read error: Connection reset by peer]
willmichael has joined #ruby
lroca has joined #ruby
willmichael has quit [Read error: Connection reset by peer]
schneider- has quit [Ping timeout: 248 seconds]
willmichael has joined #ruby
conta1 has joined #ruby
goatish has quit [Quit: Hibernating]
schneider- has joined #ruby
jcalla has joined #ruby
conta has quit [Ping timeout: 256 seconds]
conta1 is now known as conta
lroca is now known as roca
synthroid has quit [Remote host closed the connection]
chatchatt has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
synthroid has joined #ruby
inukshuk_ has quit [Quit: Lost terminal]
kapil___ has joined #ruby
KeyJoo has quit [Ping timeout: 240 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
John_Ivan has quit [Ping timeout: 240 seconds]
drewmcmillan has joined #ruby
Canaimero-15d8 has joined #ruby
jottr has joined #ruby
<Canaimero-15d8> buenas
memo1 has joined #ruby
Canaimero-15d8 has left #ruby [#ruby]
<dminuoso> Burgestrand: everything that involves hidden sharing of state has the same smell as globals
<dminuoso> @@ variables are semi global.
<Burgestrand> Burgestrand what do you mean by _semi_ global?
<Burgestrand> …
<Burgestrand> dminuoso ^
<dminuoso> Burgestrand: Well semi in that you have to derive from that class or one if its descendants. first.
<dminuoso> Burgestrand: It's not like every part of your program has - things like class_variable_set aside - access to it.
<Burgestrand> dminuoso Maybe it's just arguing semantics, but I don't consider $variable.thing to be different from A.thing
<Burgestrand> (i.e. A is global, so A.thing is global)
ryandv has joined #ruby
<dminuoso> Burgestrand: Yup. Though luckily people dont make a habit of keeping mutable things in constants.
<dminuoso> And at least most good libraries make an effort to freeze constants.
<Burgestrand> Aye-aye
goatish has joined #ruby
chatchatt has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> Burgestrand: I think Ruby would be quite fine if we had a module system, using identifiers that were separated from any scope.
ryandv has quit [Ping timeout: 264 seconds]
aupadhye has quit [Ping timeout: 252 seconds]
<Burgestrand> dminuoso i.e. `A = require "./a"`?
<dminuoso> Burgestrand: No I want something that doesn't operate on the assumption that every module includes itself by simply infesting global Object
<Burgestrand> dminuoso I don't follow
<dminuoso> Burgestrand: Do you know ES6 modules from JavaScript?
DLSteve has joined #ruby
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
pilne has quit [Quit: Leaving]
<dminuoso> Something like that.
<dminuoso> Burgestrand: Effectively `require` is not a "require that library" but "eval that file"
bmurt has joined #ruby
vaillancourtmax has joined #ruby
<Burgestrand> dminuoso Isn't that pretty much what I just wrote? I guess I capitalized the A in error, so more like `a = require "./a"`, i.e. give `require` a return value
<dminuoso> Burgestrand: I dont follow you then.
<Burgestrand> dminuoso ES6 modules works by explicitly exporting certain things in your module, e.g. `export function print(…) {}`, when you require something you get an object back with accessors for each export, i.e. `kernel = require("kernel"); kernel.print("Hello");`
kn-928 has joined #ruby
kn-928 has quit [Client Quit]
<dminuoso> Burgestrand: Ah, I was just confused because you re-used ruby `require`
<Burgestrand> dminuoso :)
<dminuoso> Burgestrand: But yeah, basically that.
kn-928 has joined #ruby
<Burgestrand> Yeah, I agree, I've kind of wished that when you write a gem you're pretty much hoping that the global constant you're exposing won't clash with some other global constant available in the code of whoever is requiring your gem
<dminuoso> Burgestrand: And I dont want to have to specify the order of dependencies (having to control the order in which require statements go in, is just pure spaghetti), this is the implementations job.
<dminuoso> Yup.
ltt has joined #ruby
reber has joined #ruby
hahuang61 has joined #ruby
bigblind has quit [Remote host closed the connection]
<Cork> is there a way to get the key size of OpenSSL::PKey ?
aupadhye has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
fribmendes has quit [Quit: fribmendes]
mikecmpbll has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
ryandv has joined #ruby
<darix> Cork: probably
<Cork> ya, just found it .n.num_bits
<Cork> (about a min ago)
<darix> hmm
<darix> doesnt work here
<Cork> OpenSSL::PKey.new(pem_string).n.num_bits
<Cork> or OpenSSL::PKey.new(4096).n.num_bits == 4096
<Cork> opps
<Cork> * OpenSSL::PKey::RSA.new(pem_string).n.num_bits
<Cork> or OpenSSL::PKey::RSA.new(4096).n.num_bits == 4096
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
vrih has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
gnufied has joined #ruby
luminous has joined #ruby
govg has quit [Ping timeout: 248 seconds]
da3mon has joined #ruby
KeyJoo has joined #ruby
jnollette has joined #ruby
da3mon has quit [Client Quit]
Puffball has quit [Remote host closed the connection]
ananth99 has quit [Quit: Connection closed for inactivity]
netherwolfe has joined #ruby
chouhoulis has joined #ruby
frm has joined #ruby
da3mon has joined #ruby
da3mon has quit [Client Quit]
hahuang61 has joined #ruby
Rapture has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
vaillancourtmax has quit [Ping timeout: 264 seconds]
frm has quit [Remote host closed the connection]
_aeris_ has quit [Quit: ZNC - http://znc.sourceforge.net]
_aeris_ has joined #ruby
vaillancourtmax has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
Gnut has joined #ruby
vaillancourtmax has quit [Ping timeout: 260 seconds]
vaillancourtmax has joined #ruby
hahuang61 has joined #ruby
aupadhye has quit [Remote host closed the connection]
rippa has joined #ruby
hahuang61 has quit [Ping timeout: 252 seconds]
tomphp has joined #ruby
memo1 has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
Cavallari has quit [Quit: Cavallari]
karapetyan has quit [Remote host closed the connection]
tcopeland has quit [Ping timeout: 256 seconds]
tcopeland_ has joined #ruby
cschneid has joined #ruby
conta has quit [Ping timeout: 256 seconds]
jeffreylevesque has joined #ruby
kanobt61 has joined #ruby
yohji has quit [Ping timeout: 240 seconds]
ryandv has quit [Ping timeout: 260 seconds]
GinoMan has joined #ruby
ryandv has joined #ruby
oleo has joined #ruby
<kanobt61> Using Jbuilder is it possible to create json where the key to a hash has a dot in it?
<kanobt61> that gist has an example of what i want
<kanobt61> I did some googling and didn't come up with anything
<Burgestrand> kanobt61 (guessing) possibly with `public_send("foo.bar", 1)`
<Burgestrand> Sorry, `json.public_send(…)`
anisha_ has quit [Ping timeout: 252 seconds]
anisha__ has joined #ruby
<Burgestrand> I don't use jbuilder, but I have a vague memory that it uses `method_missing` to create dynamic methods that correspond to the key output
ryandv has quit [Ping timeout: 240 seconds]
<kanobt61> 2.3.6 :126 > Jbuilder.encode do |json|
<kanobt61> 2.3.6 :128?> end
<kanobt61> 2.3.6 :127 > json.public_send("foo.bar")
<kanobt61> => "{\"public_send\":\"foo.bar\"}"
<kanobt61> hmm it seems to think public_send is the key then
<Burgestrand> Hah, that's kinda hilarious
<kanobt61> yeah
<kanobt61> (mindblown)
<Burgestrand> kanobt61 even if it were to work, you'd have to give it two variables, not one, it needs to know the value
<kanobt61> right it errored when i did json.public_send("foo.bar", 1)
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Burgestrand> kanobt61 you could try `json.__send__("foo.bar", 1)` :D
<kanobt61> oh i got ya 1min
<Burgestrand> There's probably a more appropriate method to use for this, hehe.
<kanobt61> 2.3.6 :129 > Jbuilder.encode do |json|
<kanobt61> 2.3.6 :131?> end
<kanobt61> 2.3.6 :130 > json.__send__("foo.bar", 1)
<kanobt61> => "{\"foo.bar\":1}"
<kanobt61> noice
<kanobt61> I think that's it, thanks!
<Burgestrand> kanobt61 Aye, `json.set!("foo.bar", 1)`
conta has joined #ruby
<kanobt61> oh nice, that works also
<kanobt61> cool, that does seem better
<Burgestrand> Indeed :)
<kanobt61> kinda shady that public send didn't work lolz
<kanobt61> did you happen to find that in the docs? I wonder how i missed that
<Burgestrand> kanobt61 Naw, I skipped the docs, went straight into the source
<kanobt61> cool, yeah i should have thought of that
<kanobt61> thanks!
<Burgestrand> kanobt61 (searched for `method_missing` and then saw that it used `set!`)
ryandv has joined #ruby
<Burgestrand> kanobt61 Although, to be fair, it _does_ say in the README :)
<kanobt61> seems like Jbuilder could just not use method_missing magic and always use set.
<Burgestrand> It's a stylistic preference I guess
yohji has joined #ruby
<kanobt61> Right, I guess it is, just, like my opinion man, that method_missing stuff turns into magic.
<kanobt61> lol. Well this is working great. Thanks again
<Burgestrand> kanobt61 I agree, it doesn't help that people almost always forget to implement `respond_to_missing?`, which does make interacting with the magic stuff a little bit nicer
<Burgestrand> kanobt61 you're welcome :)
<kanobt61> yeah, and it needing to act like a method has ramifications to what the json can look like. Which is probably fine most of the time. But json needing to match ruby method calls syntactically seems like an odd dependency.
<kanobt61> (shrug)
karapetyan has joined #ruby
guille-moe has quit [Ping timeout: 264 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
rikkipitt has joined #ruby
marr has quit [Ping timeout: 255 seconds]
guille-moe has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xuanrui has quit [Ping timeout: 248 seconds]
rikkipitt has quit [Quit: Leaving...]
ltt has joined #ruby
yohji has quit [Ping timeout: 264 seconds]
aupadhye has joined #ruby
SuperL4g is now known as SuperLag
milardovich has quit [Remote host closed the connection]
hahuang61 has joined #ruby
[Butch] has joined #ruby
RougeR has quit [Read error: Connection reset by peer]
xuanrui has joined #ruby
desperek has joined #ruby
yohji has joined #ruby
aupadhye is now known as aupadhye|food
conta1 has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
qba73 has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby
conta has quit [Ping timeout: 245 seconds]
conta1 is now known as conta
aufi has quit [Quit: Leaving]
kn-928_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
kn-928 has quit [Ping timeout: 255 seconds]
schneider- has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
schneider- has joined #ruby
bmurt has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
Guest84333 has left #ruby ["WeeChat 1.4"]
vrih has joined #ruby
marxarelli has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrabe is now known as upmime
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kies has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
nowhereman_ has quit [Ping timeout: 240 seconds]
nowhereman_ has joined #ruby
nadir has joined #ruby
Emmanuel_Chanel has joined #ruby
ryzokuken has joined #ruby
conta has quit [Ping timeout: 256 seconds]
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
imode has joined #ruby
tomphp has joined #ruby
chmurifree is now known as chmuri
kn-928_ has quit [Ping timeout: 260 seconds]
kn-928_ has joined #ruby
Zaab1t has joined #ruby
jcarl43 has joined #ruby
marr has joined #ruby
kapil___ has joined #ruby
kn-928_ has quit [Ping timeout: 264 seconds]
schneider- has quit [Ping timeout: 268 seconds]
darkhanb has joined #ruby
krawchyk has joined #ruby
memo1 has joined #ruby
anjen has joined #ruby
Strepsils has joined #ruby
Strepsils has quit [Max SendQ exceeded]
hahuang61 has joined #ruby
TinkerTyper has quit [Quit: ZNC 1.7.x-nightly-20180219-15ccaca4 - https://znc.in]
TinkerTyper has joined #ruby
memo1 has quit [Quit: WeeChat 1.4]
memo1 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
sanscoeur has joined #ruby
hahuang61 has quit [Ping timeout: 268 seconds]
hahuang65 has joined #ruby
goatish has quit [Quit: Hibernating]
Emmanuel_Chanel has joined #ruby
aupadhye|food is now known as aupadhye
konos5_ has quit [Quit: Connection closed for inactivity]
mtkd has quit [Ping timeout: 252 seconds]
kies has joined #ruby
mtkd has joined #ruby
hahuang61 has joined #ruby
armyriad has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
hahuang61 has quit [Ping timeout: 248 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
ldnunes has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
TomyWork has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
conta has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
andikr has quit [Remote host closed the connection]
Inside has joined #ruby
<Inside> Heyo. So this is a meta question and I don't really know where to start... but I want to develop a UI for ruby. I've used qtbindings gem in the past and it was /okay/ to use, but packaging up the application with OCRA is sorta tedious and it takes forever to start up
<Inside> what do people use to develop UIs for windows these days? :|
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
frm has joined #ruby
gizmore|2 has quit [Ping timeout: 268 seconds]
<dminuoso> Inside: Not ruby.
frm has quit [Client Quit]
<dminuoso> Inside: What do you need ruby for?
<Inside> it's what i'm most familiar with ;)
<dminuoso> Inside: Then get familiar with something else.
krawchyk_ has joined #ruby
<Inside> well that's where I was going with this
goatish has joined #ruby
<Inside> I'm starting to kind of see why people use electron... :/
<dminuoso> Inside: People use electron because they know nothing else.
<Inside> I see
<dminuoso> Or dont want to incur the cost.
<Inside> My actual use case is I'm trying to develop a UI for a PLC... which talks over RTU/Modbus
yohji has quit [Remote host closed the connection]
<Inside> My previous version was quite retarded: I had a MODBUS/Websocket server and then the UI ran inside a webpage because I needed to POST the results to a database
<dminuoso> Inside: Rust has pretty solid gtk+ 3 bindings
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<Inside> I want to cut out the whole MODBUS/Websocket/Webpage thing and just have a single layer between the PLC & DB
krawchyk has quit [Ping timeout: 268 seconds]
<dminuoso> Inside: What kind of UI complexity are we talking about?
<dminuoso> How much "stuff" do you need to jam in there?
troys has joined #ruby
frm has joined #ruby
frm has joined #ruby
frm has quit [Changing host]
<Inside> Not much - 2 input forms, 4 outputs, and an image that changes based on the state of the PLC
<Inside> I mean the webpage approach "works" and haslogged about 10,000 interactions
<dminuoso> Inside: Any demands for deployability, or is it just a personal play thing?
<Inside> it's for a test fixture for work
<Inside> There would be 1-3 deployments.. probably on a windows PC since IT wants to keep everything on windows
mikecmpbll has quit [Ping timeout: 264 seconds]
mtkd has quit []
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
<dminuoso> Inside: How do you communicate with that decice? serial bus?
aupadhye has quit [Quit: Leaving]
<Inside> yeah, serial over USB
<dminuoso> Inside: Are the input forms to be used by humans, or is the interface to be consumed by an automated test framework?
<Inside> for humans
<Inside> it's a test fixture in a factory - not the software kind :D
<dminuoso> Inside: Does the device generate the picture itself, or is that something you have to do as well?
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<Inside> Someone drops in a component, scans the serial number, then pushes start
<Inside> Then the PLC does some leak checks, etc, then the interface will read a status code from the PLC and POST it to a database. For troubleshooting the UI will show an image with a possible leak location
<dminuoso> Inside: a miniature sinatra solution sounds like the easiest thing then.
anjen has quit [Quit: anjen]
goatish has quit [Quit: bye]
mtkd has joined #ruby
<Inside> ooh
<Inside> run the server locally, have it talk to the PLC then the interface is a webpage?
<Inside> That's actually less retarded than what I'm doing - running a remote ruby on rails server which talks to the DB & renders the UI for the application... then running a server locally which talks to the PLC and communicates with the application UI page over websockets
hahuang61 has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<Inside> Not sure why I didn't do that in the first place, hah.
memo1 has quit [Ping timeout: 268 seconds]
<dminuoso> 18:44 Inside | run the server locally, have it talk to the PLC then the interface is a webpage?
<dminuoso> Yes.
<Inside> Hmmm
<dminuoso> Given the simplicity of the interface, this is the "least-effort" solution. It's also relatively robust.
<dminuoso> And if for whatever reasons you need to have hardware control, you can rewrite whatever you need in a native extension,.
<dminuoso> (Or write it as an external library that you use in a native extension)
<Inside> Makes sense
<Inside> Yeah - there's an RMODBUS library for ruby that mostly works so I've got that covered
<dminuoso> Even better then =)
<dminuoso> Inside: And ditch rails. You just need sinatra.
clemens3 has quit [Ping timeout: 260 seconds]
<Inside> Right
n13z has joined #ruby
<dminuoso> Or if you want it even smaller, camping is really small
hahuang65 has quit [Quit: WeeChat 2.0.1]
<Inside> size is not a problem
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
eckhardt_ has joined #ruby
Dimik has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
hahuang65 has joined #ruby
guille-moe has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
Beams has quit [Quit: .]
cdg has quit [Ping timeout: 245 seconds]
<dminuoso> Inside: That's what she said.
<dminuoso> Inside: Send me pretty pictures if your device ends up in a big ball of flame.
* dminuoso is always looking for new pictures to decorate his apartment with
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tipyn has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
qba73 has quit [Ping timeout: 260 seconds]
frm has quit [Quit: my znc crashed]
qba73 has joined #ruby
fribmendes has joined #ruby
lytol has joined #ruby
fribmendes is now known as Guest69428
Guest69428 is now known as frm
frm has quit [Changing host]
frm has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
willmichael has quit [Read error: Connection reset by peer]
willmichael has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
willmichael has quit [Ping timeout: 264 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
hahuang61 has joined #ruby
rgb-one has joined #ruby
<rgb-one> Hey
AndBobsYourUncle has joined #ruby
alfiemax has joined #ruby
vrih has quit [Ping timeout: 248 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
willmichael has joined #ruby
cagomez has quit [Ping timeout: 264 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
WebDawg has quit [Ping timeout: 260 seconds]
clemens3 has joined #ruby
guille-moe has quit [Ping timeout: 264 seconds]
conta has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
\void has joined #ruby
<Inside> dminuoso: oh man, at my last job someone framed a PCB that I (briefly) turned into an LED/SED
WebDawg has joined #ruby
<dminuoso> Haha
frm is now known as fribmendes
alfiemax has quit [Ping timeout: 256 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
Code4Dopamine has quit [Ping timeout: 260 seconds]
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
phaul has quit [Ping timeout: 260 seconds]
Emmanuel_Chanel has joined #ruby
krawchyk_ has quit [Quit: krawchyk_]
jottr has quit [Ping timeout: 264 seconds]
cagomez has joined #ruby
_whitelogger has joined #ruby
hfp_work has quit [Quit: bye]
hfp_work has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
fribmendes has quit [Remote host closed the connection]
tomphp has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
hfp_work has quit [Quit: bye]
willmichael has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
n0m4d1c has joined #ruby
biberu has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
tipyn has quit [Read error: No route to host]
tipyn has joined #ruby
hfp_work has joined #ruby
cagomez has joined #ruby
qba73 has quit [Ping timeout: 264 seconds]
jcalla has quit [Quit: Leaving]
hfp_work has quit [Client Quit]
tipyn has quit [Client Quit]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
vaillancourtmax has quit [Ping timeout: 264 seconds]
hfp_work has joined #ruby
cagomez has quit [Ping timeout: 265 seconds]
schneider- has joined #ruby
SeepingN has joined #ruby
Code4Dopamine has joined #ruby
roca has quit [Quit: roca]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
rwb has joined #ruby
rgb-one has left #ruby ["Konversation terminated!"]
tomaw has quit [Quit: Quitting]
tomaw has joined #ruby
cagomez has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
fribmendes has joined #ruby
fribmendes is now known as Guest28043
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vrih has joined #ruby
Guest28043 has quit [Client Quit]
raynold has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moei has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
am55 has joined #ruby
cagomez has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
hfp_work has quit [Ping timeout: 264 seconds]
milardovich has joined #ruby
hfp_work has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
cagomez has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
xuanrui has quit [Ping timeout: 240 seconds]
riotjones has quit [Ping timeout: 268 seconds]
schneider- has quit [Ping timeout: 265 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
schneider- has joined #ruby
bmurt has quit [Ping timeout: 260 seconds]
frm has joined #ruby
frm has joined #ruby
frm has quit [Changing host]
frm is now known as fribmendes
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
cyberRodent has quit [Ping timeout: 256 seconds]
cyberRodent has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
conta has joined #ruby
vrih has quit [Quit: WeeChat 2.0.1]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
amatas has quit [Quit: amatas]
milardovich has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
anisha__ has quit [Quit: This computer has gone to sleep]
fribmendes has quit [Quit: huh... i guess my bouncer crashed...]
fribmendes has joined #ruby
fribmendes has quit [Changing host]
fribmendes has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
fribmendes has quit [Client Quit]
fribmendes has joined #ruby
fribmendes has quit [Changing host]
fribmendes has joined #ruby
cyberRodent has quit [Ping timeout: 252 seconds]
am55 has quit [Quit: am55]
claudiuinberlin has joined #ruby
fribmendes has quit [Client Quit]
fribmendes has joined #ruby
RougeR has quit [Ping timeout: 248 seconds]
fribmendes has quit [Changing host]
fribmendes has joined #ruby
jottr has joined #ruby
Yzguy has joined #ruby
mtkd has quit []
cyberRodent has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
wojnar has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
RougeR has joined #ruby
jcalla has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
Rr4sT has joined #ruby
biberu has quit []
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
cyberRodent has quit [Ping timeout: 240 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
kapil___ has joined #ruby
cagomez has quit [Ping timeout: 256 seconds]
cagomez has joined #ruby
Emmanuel_Chanel has joined #ruby
cyberRodent has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
cdg has joined #ruby
fribmendes has quit [Quit: huh... i guess my bouncer crashed...]
fribmendes has joined #ruby
fribmendes is now known as Guest54353
hahuang61 has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
raul782 has quit [Read error: Connection timed out]
raul782 has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
cagomez has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
luminous has quit [Quit: Connection closed for inactivity]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
n008f4g_ has quit [Ping timeout: 252 seconds]
Guest54353 has quit [Quit: huh... i guess my bouncer crashed...]
eckhardt_ has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
SeepingN has joined #ruby
cagomez has joined #ruby
frm has joined #ruby
frm has joined #ruby
frm has quit [Changing host]
frm is now known as fribmendes
dinfuehr has quit [Ping timeout: 264 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
dinfuehr has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rwb has quit [Ping timeout: 264 seconds]
karapetyan has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Quit: WeeChat 2.0.1]
jeffreylevesque has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
n0m4d1c has quit [Remote host closed the connection]
workmad3 has joined #ruby
am55 has joined #ruby
drewmcmillan has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
baweaver has quit [Ping timeout: 256 seconds]
b0rng0matic has joined #ruby
dan64- has quit [Ping timeout: 268 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jenrzzz has joined #ruby
sameerynho has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Mike11 has joined #ruby
mjacob has joined #ruby
am55 has quit [Ping timeout: 265 seconds]
<mjacob> i'm looking for a ruby tutorial for someone who already has a lot of programming experience (in my case python)
<mjacob> can you recommend something like that?
workmad3 has quit [Ping timeout: 276 seconds]
Coldblackice has quit [Ping timeout: 268 seconds]
<dminuoso> mjacob: Eloquent Ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
mtkd has quit []
am55 has joined #ruby
memo1 has joined #ruby
baweaver has joined #ruby
baweaver is now known as Guest15092
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
hahuang61 has quit [Ping timeout: 264 seconds]
memo1 has quit [Client Quit]
memo1 has joined #ruby
dan64 has joined #ruby
synthroid has quit []
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
memo1 has quit [Ping timeout: 268 seconds]
RougeR has quit [Ping timeout: 248 seconds]
Yzguy has quit [Quit: Zzz...]
<miah> i'd go with Well Grounded Rubyist https://www.manning.com/books/the-well-grounded-rubyist because it covers basic ruby stuff and using the stdlib. if you already have programming skills its probably the things you need to know about ruby.
Yzguy has joined #ruby
<mjacob> both books don't seem to be specifically for people who are already programmers. or am i misinterpreting the descriptions?
<mjacob> basically i'm looking for something like "dive into python", but for ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<miah> WGR is similar to DIP if im reading the description correctly
<miah> WGR isn't trying to teach you OOP etc, just how to do ruby. if you already know python you can probably skim WGR for just the details you need
<miah> alternatively, Ruby Pocket Reference is there too http://shop.oreilly.com/product/9780596514815.do
<dminuoso> mjacob: Eloquent Ruby is definitely targeted at people with programming background
<dminuoso> mjacob: It just has a quick dozen pages of so with some introduction for a bizarre reason that is beyond me, and then catapults into the depths of ruby.
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<mjacob> dminuoso: it's from 2011. would you say it's still up-to-date?
<dminuoso> mjacob: Yeah.
<dminuoso> mjacob: Ruby hasn't changed much, the few bits you can pick up along the way.
<miah> ya the good ruby books are all from that era
willmichael has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.0.1]
memo1 has joined #ruby
dmitriy_ has joined #ruby
claudiuinberlin has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
spiette has quit [Remote host closed the connection]
mrBen2k2k2k has quit [Ping timeout: 256 seconds]
reber has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
upmime is now known as jrabe
hahuang61 has joined #ruby
conta has quit [Ping timeout: 268 seconds]
memo1 has quit [Ping timeout: 256 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
hahuang61 has quit [Ping timeout: 260 seconds]
Mike11 has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
anjen has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
raynold has quit [Quit: Connection closed for inactivity]
RougeR has joined #ruby
RougeR has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
memo1 has joined #ruby
vaillancourtmax has joined #ruby
garyserj has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
rwb has joined #ruby
jcalla has quit [Quit: Leaving]
jenrzzz_ has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
pilne has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<Code4Dopamine> mjacob: a little late, but maybe you can try to see if something fits your taste here: https://github.com/EbookFoundation/free-programming-books/blob/master/free-courses-en.md#ruby
ldnunes has quit [Quit: Leaving]
drewmcmillan has quit [Read error: Connection reset by peer]
AndBobsYourUncle has quit [Read error: Connection reset by peer]
slde_track has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
drewmcmillan has joined #ruby
SynSynack has joined #ruby
garyserj has quit [Read error: Connection reset by peer]
charlie has joined #ruby
cdg has quit [Ping timeout: 268 seconds]
Rubemlrm has quit [Read error: Connection reset by peer]
Azure has joined #ruby
Rubemlrm has joined #ruby
tw1sted has quit [Quit: No Ping reply in 180 seconds.]
Guest14307 has quit [Ping timeout: 260 seconds]
slde_track has joined #ruby
jaredrhine has quit [Quit: No Ping reply in 180 seconds.]
hfp_work has quit [Ping timeout: 260 seconds]
justinmcp has quit [Quit: No Ping reply in 180 seconds.]
Keltia has quit [Read error: Connection reset by peer]
darkhanb has quit [Read error: Connection reset by peer]
Keltia has joined #ruby
tw1sted has joined #ruby
sameerynho has quit [Ping timeout: 264 seconds]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
arahael has quit [Ping timeout: 260 seconds]
jhill__ is now known as jhill
justinmcp has joined #ruby
anjen has quit [Ping timeout: 260 seconds]
jsaak has quit [Ping timeout: 260 seconds]
ByronJohnson has quit [Ping timeout: 260 seconds]
UKn0Me has quit [Ping timeout: 260 seconds]
darkhanb has joined #ruby
dhollinger has quit [Ping timeout: 260 seconds]
jsaak has joined #ruby
ByronJohnson has joined #ruby
Map has joined #ruby
jaredrhine has joined #ruby
Map is now known as Guest86301
phaul has joined #ruby
hfp_work has joined #ruby
Emmanuel_Chanel has joined #ruby
jnollette has quit [Remote host closed the connection]
Yzguy has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Remote host closed the connection]
<weaksauce> mjacob i second eloquent ruby... that's the best programming book i have read
UKn0Me has joined #ruby
jnollette has joined #ruby
arahael has joined #ruby
Rr4sT has quit [Quit: Connection closed for inactivity]
Exagone313 has quit [Ping timeout: 240 seconds]
vaillancourtmax has quit [Ping timeout: 256 seconds]
claudiuinberlin has joined #ruby
GinoMan has quit [Ping timeout: 240 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
dhollinger has joined #ruby
memo1 has quit [Ping timeout: 264 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
Exagone313 has joined #ruby
vaillancourtmax has joined #ruby
pastorinni has joined #ruby
GinoMan has joined #ruby
<dminuoso> I wouldn't go that far..
<dminuoso> But its probably the best ruby book.
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
GinoMan has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
anjen has joined #ruby
tcopeland_ has quit [Quit: tcopeland_]
vaillancourtmax has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
ryandv has quit [Ping timeout: 256 seconds]
johnny56 has quit [Ping timeout: 276 seconds]
johnny56_ has joined #ruby
cdg has joined #ruby
memo1 has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
mniip has quit [Ping timeout: 240 seconds]
cdg_ has joined #ruby
babykosh has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<weaksauce> i don't know, everything about it was great
mniip has joined #ruby
<dminuoso> weaksauce: Yeah but if thats the best programming book you have read, then you're in for a treat..
IshMael_ has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
<miah> hah
babykosh has quit [Client Quit]
<weaksauce> dminuoso what is better in your opinion?
vaillancourtmax has joined #ruby
<weaksauce> at least in the context of what someone is asking for? a book for competent programmers to get a good lay of idiomatic practices in a language
<weaksauce> written for experienced programmers
<dminuoso> weaksauce: Books that dont focus on teaching you language idioms.
mtkd has quit []
<weaksauce> concept wise there are more useful books sure. none i have read were as nicely written though.
<dminuoso> weaksauce: The vast majority of language idioms are not "good patterns to train", but rather mishaps and misfeatures in language design that are hacked and worked around with poor abstractions.
havenwood has quit [Quit: ZNC 1.6.5 - http://znc.in]
havenwood has joined #ruby
havenwood has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
IshMael_ has left #ruby ["WeeChat 2.0.1"]
memo1 has quit [Ping timeout: 260 seconds]
netherwolfe has quit [Ping timeout: 256 seconds]
<dminuoso> miah is likely to have a fancy random suggestion, based on their comment.
<dminuoso> =p
jottr has quit [Ping timeout: 256 seconds]
<weaksauce> i'm all ears
<weaksauce> my statement might have been a bit of hyperbole ;)
<dminuoso> weaksauce: Im currently digging through "Pierce, Types and Programming Languages" which is a very refreshing book that is broadening my horizon with every paragraph. :)
<pilne> anyone have any horror stories about the pycall gem for *borrowing* things from the stricter snakey folk? (:
schneider- has quit [Ping timeout: 240 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
slde_track is now known as sidetrack
ChaosBringer has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has quit [Ping timeout: 265 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
raynold has joined #ruby
memo1 has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kn-928_ has joined #ruby
eckhardt_ has joined #ruby
workmad3 has joined #ruby
<memo1> hi, if i want to read the first 10 lines of a file, how i do it in ruby?
kn-928_ has quit [Ping timeout: 240 seconds]
milardovich has quit []
Guest15092 is now known as lemur
lemur is now known as Guest87228
workmad3 has quit [Ping timeout: 246 seconds]
cagomez has quit [Read error: Connection reset by peer]
<weaksauce> file=File.open('somefile', 'r'); (1..10).to_a.each do puts file.read_line end or something like that should work
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
yokel has quit [Ping timeout: 264 seconds]
vaillancourtmax has quit [Ping timeout: 248 seconds]
yokel has joined #ruby
<memo1> weaksauce: why (1..10).to_a, why i have to convert to array?
<weaksauce> >> (1..10).each do |i| puts i end
<ruby[bot]> weaksauce: # => 1 ...check link for more (https://eval.in/970739)
<weaksauce> i guess it works now. i thought that was not allowed
b0rng0matic has quit [Quit: Leaving]
cdg_ has quit [Ping timeout: 256 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has quit [Remote host closed the connection]
cdg has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inside has quit [Quit: leaving]
bmurt has quit [Remote host closed the connection]
bmurt has joined #ruby
SeepingN has quit [Ping timeout: 248 seconds]
tcopeland has joined #ruby
s3nd1v0g1us has joined #ruby
ryzokuken has quit [Quit: Connection closed for inactivity]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
hahuang61 has quit [Ping timeout: 240 seconds]
<apeiros> memo1: also File.foreach(path).first(10)
<memo1> hi, im trying to open a file than contains many jpeg files. When i opened it displays a lot ot rubish https://gist.github.com/anonymous/dd53cca93cb690dc4354117b5d81a65b
<apeiros> memo1: what did you expect? images are binary files. they don't contain text.
<memo1> i need to find a pattern to construct independet jpeg files, but the ?? sigs dont help me. There is a way to view the file on hex
<memo1> apeiros: i read a perl file that extract that kind files, looking for this patther "\xFF\xD8" and "\xFF\xD9"
<apeiros> ok: 1) binary files don't really have lines, 2) except for header data, text manipulation won't work all that well to manipulate jpegs
<apeiros> and 3) if you read the file as binary (encoding: "binary"), you can do such searches and substitutions. "\xff\xd8" is the same in ruby as in perl (or well, similar enough, not sure about perl's encoding handling)
<apeiros> (not that I'd recommend it, especially since you don't seem to know what those patterns actually mean)
<memo1> apeiros: can i share the perl file?, is short, i just try ro reply on ruby. Just for learning
<apeiros> sure, but it'll be others to look at it. I'm hitting the pillow now.
<apeiros> as said, I'm off now
<memo1> sure,
milardovich has joined #ruby
<memo1> thanks apeiros
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
orbyt_ has joined #ruby
<memo1> apeiros: to open de file (encoding binary) i with optcion 'b'?
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
eckhardt_ has joined #ruby
anjen has quit [Quit: anjen]
kn-928_ has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
kn-928_ has quit [Ping timeout: 264 seconds]
cagomez has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
charlie has left #ruby [#ruby]
<havenwood> memo1: File.binread
alfiemax has joined #ruby
houhoulis has joined #ruby
<havenwood> >> ''.encoding
hahuang61 has joined #ruby
<ruby[bot]> havenwood: # => #<Encoding:UTF-8> (https://eval.in/970766)
<havenwood> >> ''.b.encoding
<ruby[bot]> havenwood: # => #<Encoding:ASCII-8BIT> (https://eval.in/970767)
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
SeepingN has joined #ruby
alfiemax has quit [Remote host closed the connection]
ramfjord has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
roca has joined #ruby
raul782 has quit [Ping timeout: 256 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
Guest87228 is now known as baweaver
baweaver has quit [Changing host]
baweaver has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
memo1 has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rubemlrm has quit [Quit: Quit]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
desperek has quit [Quit: xoxo]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]