havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: 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
dinfuehr has quit [Ping timeout: 264 seconds]
chamar has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
Guest58336 has quit [Ping timeout: 264 seconds]
tjbp has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 265 seconds]
white_lilies has quit [Ping timeout: 256 seconds]
ElFerna has joined #ruby
Guest58336 has joined #ruby
ElFerna has quit [Client Quit]
venmx has quit [Ping timeout: 256 seconds]
Guest58336 has quit [Ping timeout: 268 seconds]
jcarl43 has quit [Quit: WeeChat 2.1]
jenrzzz has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Quit: WeeChat 2.1]
Guest58336 has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
postmodern has quit [Quit: Leaving]
<cthulchu_> the most annoying thing ever is absense of seamless casting
<cthulchu_> so I always have to do weird stuff like a.to_s == b.to_s
<cthulchu_> I mean I used to do it in Java and other languages of the same level, but Ruby feels top level enough to have it.
<cthulchu_> so many unexpected things
Guest58336 has quit [Ping timeout: 264 seconds]
zachk has quit [Quit: Leaving]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
tjbp has joined #ruby
TinkerT has quit [Quit: ZNC 1.8.x-nightly-20180605-8edcdf32 - https://znc.in]
TinkerT has joined #ruby
roamingdog has joined #ruby
<havenwood> cthulchu_: By "seamless casting" I think you mean weak typing. :-P
<havenwood> There's no reason for it to exist, but... anyhoo - a pure Ruby SipHash 13 command line tool: https://github.com/havenwood/digest-sip_hash#command-line-examples
SeepingN has joined #ruby
solocshaw has joined #ruby
herbmillerjr has joined #ruby
<havenwood> cthulchu_: And yuck. Do you want the `1 + '1' #=> '11'` JavaScript madness. Or the `1 + '1' #=> 2` PHP madness?
<baweaver> havenwood: So can you `sip "tea"` now?
orbyt_ has joined #ruby
<havenwood> baweaver: echo -n "tea" | siphash #=> 70b4599868a10553 -
<havenwood> baweaver: checks out!
cyberg has quit [Remote host closed the connection]
<baweaver> cthulchu_: "unexpected" is very much dangerous to use loosely. For you, a newbie to the language, a lot of things are going to be unexpected at a personal level as you have biases from other languages.
<baweaver> Such as 0 being truthy. For Rubyists that's expected. For someone who's used other languages that can be surprising.
<Zarthus> in fairness, php 7.x permits strict typing (though it doesn't solve 1+'1' specifically, you can now specify the type in a function and ensure it really is that.)
<Zarthus> i do much prefer a typeerror on this kind of stuff, though.
<Zarthus> While I may take care of my code.. my colleagues seem to have different ideas :P
cjs226_ has joined #ruby
cjs226_ has quit [Client Quit]
<havenwood> Zarthus: Yeah, PHP isn't strongly typed, but it does have a few strict features. I think people often confuse strict and strong, since they're both s-words.
<havenwood> I have no weak typing envy.
<Zarthus> php without strict typing opt-in is just chaos.
* havenwood It's actually kinda hard to find SipHash 13 examples. This Elixir one is my favorite: https://github.com/whitfin/siphash-elixir
solocshaw has quit [Quit: solocshaw]
Guest58336 has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
Guest58336 has quit [Ping timeout: 265 seconds]
Guest58336 has joined #ruby
gizmore has quit [Remote host closed the connection]
jyaworski has quit [Ping timeout: 240 seconds]
<zenspider> if a != b && a.to_s == b.to_s then # => ???
dogweather has joined #ruby
<zenspider> that sure seems like a clusterfuck to debug to me...
jyaworski has joined #ruby
<zenspider> havenwood: consider refactoring with an #add method that always does the mask.
<havenwood> zenspider: Good point. It's repetitive. Thanks, will do!
<zenspider> having a proper numeric stack can be a pita sometimes.
<zenspider> it'd kinda be neat if you could opt into fixed size ints sometimes... tho that opens their own can of worms too
dogweather has quit [Ping timeout: 248 seconds]
Guest58336 has quit [Ping timeout: 256 seconds]
Guest58336 has joined #ruby
nowhere_man has quit [Ping timeout: 245 seconds]
nowhere_man has joined #ruby
gnufied has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 245 seconds]
jzhu has quit [Quit: Connection closed for inactivity]
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
Guest58336 has quit [Ping timeout: 268 seconds]
workmad3 has joined #ruby
ElFerna has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
lytol has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
gnufied has joined #ruby
konsolebox has joined #ruby
hph^ has quit [Ping timeout: 255 seconds]
whathappens has quit [Remote host closed the connection]
cschneid has joined #ruby
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
whathappens has joined #ruby
white_lilies has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
gnufied has quit [Ping timeout: 248 seconds]
ghoti has quit [Ping timeout: 260 seconds]
Guest58336 has joined #ruby
cadillac_ has joined #ruby
chamar has joined #ruby
tdy has joined #ruby
ghoti has joined #ruby
Guest58336 has quit [Ping timeout: 245 seconds]
Guest58336 has joined #ruby
pastorinni has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
Guest58336 has quit [Ping timeout: 256 seconds]
pastorinni has quit [Remote host closed the connection]
starseed0000 has joined #ruby
chamar has quit [Quit: Leaving]
shinnya has joined #ruby
pastorinni has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
pastorinni has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
booboy_ has quit [Quit: ZNC - http://znc.in]
booboy has joined #ruby
sspreitz has quit [Ping timeout: 276 seconds]
braincras has joined #ruby
sspreitz has joined #ruby
ElFerna has joined #ruby
Guest58336 has joined #ruby
r29v has quit [Quit: r29v]
ElFerna has quit [Ping timeout: 264 seconds]
cschneid has quit [Remote host closed the connection]
meinside has joined #ruby
cschneid has joined #ruby
akaiiro has quit [Ping timeout: 256 seconds]
Guest58336 has quit [Ping timeout: 268 seconds]
cadillac_ has quit [Ping timeout: 264 seconds]
shinnya has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
dogweather has joined #ruby
\void has quit [Ping timeout: 265 seconds]
dogweather has quit [Ping timeout: 240 seconds]
\void has joined #ruby
gix has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
gix- has quit [Ping timeout: 255 seconds]
RougeR has quit [Ping timeout: 264 seconds]
<haxx0r> https://thepasteb.in/p/2RhK443ZyO7s4 why is the .average() function returning 1/100ths of the real result? that's weired tho
<haxx0r> ^ rails related
<mozzarella> haxx0r: it's not
jamesaxl has quit [Quit: WeeChat 2.1]
<mozzarella> e2 means * 10^2
<haxx0r> lol, i didn't even see that
<haxx0r> to_s gives "18.384333313836"
<haxx0r> weired
<haxx0r> sweet. thanks!
<mozzarella> np
white_lilies has quit [Ping timeout: 248 seconds]
akaiiro has joined #ruby
Guest58336 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shwouchk has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
GinoMan has quit [Quit: Leaving]
NightMonkey has quit [Ping timeout: 248 seconds]
Guest58336 has quit [Ping timeout: 240 seconds]
nickjj has quit [Read error: Connection reset by peer]
Guest58336 has joined #ruby
NightMonkey has joined #ruby
nickjj has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
Klumben has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
G has quit [Ping timeout: 265 seconds]
Liothen has quit [Ping timeout: 260 seconds]
rcs has quit [Ping timeout: 245 seconds]
eam has quit [Ping timeout: 256 seconds]
miah has quit [Ping timeout: 276 seconds]
Azure has quit [Ping timeout: 265 seconds]
russt has quit [Ping timeout: 276 seconds]
kenichi has quit [Ping timeout: 240 seconds]
Junaos has quit [Ping timeout: 264 seconds]
SolarAquarion has quit [Ping timeout: 276 seconds]
SegFaultAX has quit [Ping timeout: 276 seconds]
ElFerna has joined #ruby
nicht_ has quit [Ping timeout: 245 seconds]
cschneid has quit [Remote host closed the connection]
mjolnird has quit [Remote host closed the connection]
JamJam_kid has joined #ruby
cschneid has joined #ruby
Guest58336 has quit [Ping timeout: 256 seconds]
mjolnird has joined #ruby
akaiiro has quit [Ping timeout: 256 seconds]
cschneid has quit [Remote host closed the connection]
akaiiro has joined #ruby
d_kam has joined #ruby
suukim has joined #ruby
cschneid has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
starseed0000 has quit [Ping timeout: 276 seconds]
dviola has quit [Quit: WeeChat 2.1]
cschneid has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 264 seconds]
cschneid has joined #ruby
apeiros has joined #ruby
d_kam has quit [Quit: Be back later ...]
JamJam_kid has quit [Ping timeout: 256 seconds]
Guest58336 has joined #ruby
cschneid has quit [Ping timeout: 256 seconds]
d_kam has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
cschneid has joined #ruby
dhollinger has joined #ruby
wilbert has joined #ruby
sauvin has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
cschneid has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
Guest58336 has quit [Ping timeout: 256 seconds]
Junaos has joined #ruby
Guest58336 has joined #ruby
planigan has quit [Ping timeout: 256 seconds]
anisha has joined #ruby
G has joined #ruby
planigan has joined #ruby
eam has joined #ruby
ElFerna has joined #ruby
dogweather has joined #ruby
venmx has joined #ruby
motstgo_ has joined #ruby
motstgo has quit [Ping timeout: 276 seconds]
Guest58336 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
dogweather has quit [Ping timeout: 260 seconds]
reber has joined #ruby
cschneid has quit [Ping timeout: 260 seconds]
kitallis has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
Guest58336 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
jcarl43 has joined #ruby
r29v has joined #ruby
matcouto has quit [Read error: Connection reset by peer]
sauvin has joined #ruby
TomyWork has joined #ruby
aupadhye has joined #ruby
Dockyard has joined #ruby
workmad3 has joined #ruby
kitallisii has joined #ruby
ur5us has quit [Remote host closed the connection]
Guest58336 has quit [Ping timeout: 248 seconds]
apeiros has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
Inline has quit [Quit: Leaving]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
ElFerna has quit [Ping timeout: 260 seconds]
Dockyard has quit [Quit: /quit ok bye]
biberu has joined #ruby
cthu| has joined #ruby
DTZUZO has joined #ruby
wilbert has quit [Ping timeout: 264 seconds]
cthulchu_ has quit [Ping timeout: 240 seconds]
schleppel has joined #ruby
ciscam has quit [Ping timeout: 268 seconds]
Guest58336 has joined #ruby
ciscam has joined #ruby
amar has joined #ruby
Puffball has quit [Quit: Puffball]
jcarl43 has quit [Quit: WeeChat 2.1]
donofrio has quit [Remote host closed the connection]
dogweather has joined #ruby
russt has joined #ruby
ElFerna has joined #ruby
jmi0920 has joined #ruby
epochwolf has quit [Ping timeout: 260 seconds]
craysiii has quit [Ping timeout: 256 seconds]
Guest58336 has quit [Ping timeout: 256 seconds]
dogweather has quit [Ping timeout: 268 seconds]
Guest58336 has joined #ruby
KnownSyntax has quit [Ping timeout: 256 seconds]
epochwolf has joined #ruby
andikr has joined #ruby
kspencer_ has quit [Ping timeout: 260 seconds]
epochwolf has quit [Read error: Connection reset by peer]
KnownSyntax has joined #ruby
epochwolf has joined #ruby
aupadhye has quit [Ping timeout: 248 seconds]
Eiam has quit [Ping timeout: 245 seconds]
Guest58336 has quit [Ping timeout: 276 seconds]
craysiii has joined #ruby
KnownSyntax has quit [Max SendQ exceeded]
rann has quit [Ping timeout: 276 seconds]
craysiii has quit [Max SendQ exceeded]
Dockyard has joined #ruby
r29v has quit [Quit: r29v]
mjolnird has quit [Remote host closed the connection]
akaiiro has quit [Ping timeout: 256 seconds]
baweaver has quit [Excess Flood]
epochwolf has quit [Ping timeout: 245 seconds]
baweaver has joined #ruby
baweaver has joined #ruby
hurricanehrndz has quit [Ping timeout: 264 seconds]
craysiii has joined #ruby
kspencer_ has joined #ruby
kspencer_ has quit [Max SendQ exceeded]
KnownSyntax has joined #ruby
kspencer_ has joined #ruby
kspencer_ has quit [Max SendQ exceeded]
KnownSyntax has quit [Max SendQ exceeded]
craysiii has quit [Ping timeout: 240 seconds]
KnownSyntax has joined #ruby
clemens3 has joined #ruby
KnownSyntax has quit [Max SendQ exceeded]
rann has joined #ruby
kitallisii is now known as uditk
rann has quit [Max SendQ exceeded]
uditk has left #ruby [#ruby]
KnownSyntax has joined #ruby
craysiii has joined #ruby
hurricanehrndz has joined #ruby
KnownSyntax has quit [Max SendQ exceeded]
rann has joined #ruby
kspencer_ has joined #ruby
KnownSyntax has joined #ruby
aufi has joined #ruby
aupadhye has joined #ruby
epochwolf has joined #ruby
claudiuinberlin has joined #ruby
ElFerna has quit [Ping timeout: 255 seconds]
\void has quit [Quit: So long, and thanks for all the fish.]
sysvalve has joined #ruby
za1b1tsu has joined #ruby
Guest58336 has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Ping timeout: 240 seconds]
aupadhye has quit [Ping timeout: 260 seconds]
aupadhye has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
jzhu has joined #ruby
Guest58336 has quit [Ping timeout: 256 seconds]
cschneid has joined #ruby
Guest58336 has joined #ruby
dogweather has joined #ruby
za1b1tsu has joined #ruby
cschneid has quit [Ping timeout: 255 seconds]
p4p0l0 has joined #ruby
SolarAquarion has joined #ruby
dogweather has quit [Remote host closed the connection]
dogweather has joined #ruby
Guest58336 has quit [Ping timeout: 265 seconds]
Guest58336 has joined #ruby
sysvalve has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
venmx has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
DoubleMalt has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
Guest58336 has joined #ruby
wald0 has joined #ruby
aufi_ has joined #ruby
sysvalve has joined #ruby
klaas has quit [Quit: ZNC - http://znc.sourceforge.net]
workmad3 has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
yohji has joined #ruby
Burgestrand has joined #ruby
Guest58336 has quit [Ping timeout: 260 seconds]
Guest58336 has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
haxx0r has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
conta has joined #ruby
Klumben has joined #ruby
dr3w_ has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
claudiuinberlin has joined #ruby
ishe has joined #ruby
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
sagax has quit [Quit: Konversation terminated!]
guille-moe has joined #ruby
guille-moe has quit [Remote host closed the connection]
cadillac_ has quit [Ping timeout: 248 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
cadillac_ has joined #ruby
guille-moe has joined #ruby
tvw has joined #ruby
cadillac_ has quit [Ping timeout: 264 seconds]
cadillac_ has joined #ruby
<arne> some general software design question
<arne> i want a specific format for a ssl key, and i use it often
ProjectH has joined #ruby
<arne> ssl_key.to_s.lines[1..-1].map(&:strip).join
<arne> now ih ave that code, where do i put it?
<arne> utility class? do i monkeypatch PKey::RSA? do i put it in a proc?
Mike11 has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
<arne> do i rewrite it in every class i program?
jottr has joined #ruby
d_kam has quit [Quit: Be back later ...]
<quintasan> arne: You can try using refinements
<arne> so it's a clojure monkeypatch?
Beams has joined #ruby
guille-moe has quit [Quit: guille-moe]
workmad3 has joined #ruby
guille-moe has joined #ruby
dhollin3 has joined #ruby
dhollinger has quit [Ping timeout: 264 seconds]
Dockyard has quit [Quit: Dockyard]
Dockyard has joined #ruby
cschneid has joined #ruby
tty has joined #ruby
gregf_ has joined #ruby
guille-moe has quit [Quit: guille-moe]
<arne> is there a short version for class.method?
guille-moe has joined #ruby
<arne> (calling a method of the class, inside of an instance of said class)
<arne> just wondering
<dminuoso> arne: nope
<arne> would that be cool?
cschneid has quit [Ping timeout: 268 seconds]
<arne> guess not
icarus has joined #ruby
<dminuoso> No.
<dminuoso> arne: For what its worth I think class methods are a fatally wrong abstraction.
<dminuoso> Virtually all class methods are just a wrongful attempt to create namespaced *functions*
ur5us has joined #ruby
<arne> for what its worth OOP is the wrong abstraction
<dminuoso> arne: OOP has a lot of so-called "patterns" that shoe horn abstractions into OO.
<arne> whats wrong about namespaced functions tho
<dminuoso> The "factory pattern" is not the solution to a problem.
Dockyard has quit [Quit: /quit stupid]
ElFerna has joined #ruby
<dminuoso> It's a work around because most OO languages lack higher order functions.
<dminuoso> 11:13 arne | whats wrong about namespaced functions tho
<dminuoso> Nothing.
<dminuoso> Except Ruby has no module infrastructure and no proper standalone functions
<dminuoso> The closest thing is `E = -> (e) { ... }`
<dminuoso> But that infests global namespace
<arne> well, whats the difference between standalone functions & not
ProjectH has quit [Quit: Page closed]
<dminuoso> arne: You mean the difference between a method and a lambda?
<dminuoso> one is bound to an instance
<dminuoso> python makes this a bit more obvious
<dminuoso> methods effectively receive an implicit parameter (self)
<cdunklau> a great source of confusion for newbies, that
<cdunklau> but yeah the explictness is nice
ur5us has quit [Remote host closed the connection]
d_kam has joined #ruby
<dminuoso> something like: foo.bar(quux) is semantically closer to: foo::bar(foo, quux)
<dminuoso> or perhaps
<dminuoso> foo.class::bar(foo, quux) as some pseudo code
jottr has quit [Ping timeout: 256 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
KeyJoo has joined #ruby
arne has quit [Ping timeout: 256 seconds]
ElFerna has quit [Ping timeout: 256 seconds]
conta has quit [Quit: conta]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
sylario has joined #ruby
tdy has quit [Quit: WeeChat 2.1]
jottr has joined #ruby
arne has joined #ruby
chris349 has quit [Ping timeout: 248 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
desperek has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
Guest58336 is now known as sameerynho
sameerynho is now known as Guest82829
arne has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
za1b1tsu has quit [Ping timeout: 240 seconds]
devyn has joined #ruby
arne has joined #ruby
mzo has joined #ruby
nyuszika7h_ is now known as nyuszika7h
cschnei__ has joined #ruby
<ferr> Hey, any ideas why would this case sentence not fire as expected? https://gist.github.com/Fercell/b7125354e1d3608bf7f52ca8a55813c5
<dminuoso> ferr: because case uses ===
<ferr> oh
ishe has quit [Ping timeout: 256 seconds]
<dminuoso> ferr: What you can do is just use `case self when Load` ...
ciscam has quit [Ping timeout: 268 seconds]
<dminuoso> It annoys me too =)_
ciscam has joined #ruby
<arne> dminuoso: sorry, our primary internet line died
za1b1tsu has joined #ruby
maufart__ has joined #ruby
cschnei__ has quit [Ping timeout: 260 seconds]
Mortomes|Work has joined #ruby
tvw has quit []
d_kam has quit [Quit: Lingo: www.lingoirc.com]
aufi_ has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
ElFerna has joined #ruby
Zaab1t has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
za1b1tsu has quit [Read error: Connection reset by peer]
clemens3 has quit [Remote host closed the connection]
jrafanie has joined #ruby
cadillac_ has quit [Ping timeout: 255 seconds]
cadillac_ has joined #ruby
ElFerna has quit [Ping timeout: 260 seconds]
clemens3 has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
nickjj has joined #ruby
desperek has quit [Quit: xoxo]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
cadillac_ has quit [Ping timeout: 264 seconds]
lupine has quit [Read error: Connection reset by peer]
lupine has joined #ruby
Mike111 has joined #ruby
Mike111 has quit [Max SendQ exceeded]
karapetyan has joined #ruby
cadillac_ has joined #ruby
Mike11 has quit [Ping timeout: 248 seconds]
Mike11 has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
Nicmavr has quit [Read error: Connection reset by peer]
za1b1tsu has joined #ruby
jzhu has quit [Quit: Connection closed for inactivity]
Nicmavr has joined #ruby
ldnunes has joined #ruby
Nicmavr is now known as Guest3849
cadillac_ has quit [Ping timeout: 276 seconds]
houhoulis has joined #ruby
tdy has joined #ruby
cadillac_ has joined #ruby
za1b1tsu has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
arne has quit [Ping timeout: 240 seconds]
arne has joined #ruby
houhoulis has quit []
cadillac_ has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
houhoulis has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
synthroid has joined #ruby
jamesaxl has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
vonfry has joined #ruby
tvw has joined #ruby
donnie_2 has left #ruby ["Leaving"]
cadillac_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
GodFather has quit [Ping timeout: 264 seconds]
kristoff_ has quit [Quit: Textual IRC Client: www.textualapp.com]
whathappens has joined #ruby
za1b1tsu has joined #ruby
whathappens has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 260 seconds]
stnly has quit [Quit: The Lounge - https://thelounge.chat]
jottr has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
houhoulis has quit [Remote host closed the connection]
cadillac_ has joined #ruby
cschnei__ has joined #ruby
aufi_ has joined #ruby
cadillac__ has joined #ruby
Dockyard has joined #ruby
maufart__ has quit [Ping timeout: 260 seconds]
cadillac_ has quit [Ping timeout: 240 seconds]
cschnei__ has quit [Ping timeout: 260 seconds]
psychicist__ has joined #ruby
za1b1tsu has quit [Ping timeout: 265 seconds]
cadillac__ has quit [Read error: Connection reset by peer]
cadillac__ has joined #ruby
gnufied has joined #ruby
za1b1tsu has joined #ruby
mzo has quit [Ping timeout: 256 seconds]
ams__ has joined #ruby
cadillac- has joined #ruby
cadillac__ has quit [Ping timeout: 256 seconds]
Mortomes|Work has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
fmcgeough has joined #ruby
fmcgeough has quit [Client Quit]
stnly has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
cadillac__ has joined #ruby
megamos has joined #ruby
cadillac- has quit [Ping timeout: 268 seconds]
karapetyan has joined #ruby
cadillac__ has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
maufart__ has joined #ruby
jzhu has joined #ruby
AJA4350 has joined #ruby
ElFerna has joined #ruby
clemens3 has quit [Remote host closed the connection]
twobitsprite has joined #ruby
aufi_ has quit [Ping timeout: 256 seconds]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
cadillac__ has joined #ruby
karapetyan has joined #ruby
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
vondruch has quit [Ping timeout: 240 seconds]
OneNeptune has joined #ruby
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
Dockyard has quit [Quit: Dockyard]
karapetyan has quit [Ping timeout: 256 seconds]
yohji has quit [Ping timeout: 256 seconds]
conta has quit [Quit: conta]
yohji has joined #ruby
ElFerna has quit [Quit: WeeChat 1.9]
bmurt has joined #ruby
<livcd> kinda bothers me that graal is not usable that much with Ruby yet
<dminuoso> livcd: what do you mean it is not usable?
<dminuoso> livcd: Blame Ruby for creating an execution model that is notoriously difficult to optimize.
<dminuoso> When performance comes as an afterthought, it's going to be hard.
<livcd> dminuoso: i dont blame anyone i am just complaining it's not ready yet
yohji has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
cadillac- has joined #ruby
kevinsjoberg has joined #ruby
Mortomes|Train has joined #ruby
clemens3 has joined #ruby
cadillac__ has quit [Ping timeout: 264 seconds]
k0mpa has joined #ruby
cadillac__ has joined #ruby
beefjoe has joined #ruby
cadillac__ is now known as cadillac_
cschnei__ has joined #ruby
cadillac- has quit [Ping timeout: 240 seconds]
gnufied has quit [Ping timeout: 264 seconds]
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 264 seconds]
OneNeptune has joined #ruby
wald0 has quit [Ping timeout: 256 seconds]
cadillac_ has quit [Ping timeout: 248 seconds]
cschnei__ has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
cadillac_ has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
Inline has joined #ruby
fmcgeough has joined #ruby
mjolnird has joined #ruby
zer0s has joined #ruby
kitallis has quit [Quit: going, bye]
donkey_hotei has quit [Remote host closed the connection]
donofrio has joined #ruby
kapil___ has joined #ruby
Burgestrand has quit [Quit: Closing time!]
soniya29 has joined #ruby
Harzilein has quit [Quit: Hmmm. EPIC5-2.0.1 (1869) has another bug. Go figure...]
cadillac_ has quit [Ping timeout: 248 seconds]
soniya29 has quit [Client Quit]
cadillac_ has joined #ruby
kevinsjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
cadillac__ has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.1]
twobitsp1ite has joined #ruby
gnufied has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
arne has quit [Ping timeout: 256 seconds]
cadillac_ has joined #ruby
twobitsprite has quit [Ping timeout: 256 seconds]
cadillac__ has quit [Ping timeout: 248 seconds]
GodFather has quit [Ping timeout: 248 seconds]
tty has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Ping timeout: 248 seconds]
aupadhye has quit [Ping timeout: 264 seconds]
Mortomes|Train has quit [Ping timeout: 260 seconds]
jrafanie has joined #ruby
cadillac_ has joined #ruby
pastorinni has joined #ruby
yohji has joined #ruby
t0xik has quit [Quit: Connection closed for inactivity]
Rapture has joined #ruby
faces has quit [Ping timeout: 264 seconds]
cadillac_ has quit [Ping timeout: 255 seconds]
cschnei__ has joined #ruby
mzo has joined #ruby
whathappens has joined #ruby
zer0s has quit [Ping timeout: 264 seconds]
vonfry has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
ishe has joined #ruby
mjolnird has quit [Ping timeout: 276 seconds]
ishe has quit [Remote host closed the connection]
dhollin3 is now known as dhollinger
akaiiro has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
biberu has quit []
GodFather has joined #ruby
cschnei__ has quit [Ping timeout: 255 seconds]
cschnei__ has joined #ruby
ElFerna has joined #ruby
RougeR has joined #ruby
twobitsp1ite is now known as twobitsprite
workmad3 has quit [Ping timeout: 256 seconds]
gizmore has joined #ruby
cschnei__ has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
cadillac_ has joined #ruby
rdg has joined #ruby
grilix_ has joined #ruby
<rdg> 'bundle install' constantly spits out that libraries are being ignored due to non built extensions and telling me to run pristine.. is there a way to make them run in bulk?
<rdg> otherwise I'm basically working my way through a dependency tree trying to make it happen right noqw
<elomatreb> Quick-and-dirty fix would potentially be to install a new dependency tree specific to your project, e.g. with `--path=vendor`
<rdg> i'm literally just trying to get an initial jekyll site made
<rdg> like 'jekyll new blog'
<KrzaQ> I'd like to add error reporting to an existing app. Is there a way to add a global uncaught exception handler, so that I wouldn't have to wrap everything in begin/rescues?
<KrzaQ> Basically, I'm looking for something like php's set_exception_handler()
suukim has quit [Quit: Konversation terminated!]
<rdg> i'm using rvm single user install to ~/.rvm and using ruby 2.4.1 .. i run pristine against several of the packages and it doesn't seem to change.. bundle install still reports them not being built
dminuoso has left #ruby ["WeeChat 2.0.1"]
karapetyan has quit [Remote host closed the connection]
apeiros has joined #ruby
karapetyan has joined #ruby
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rdg> if I run jekyll new site I get -> Could not load Bundler. Bundle install skipped.
<rdg> should I be concerned that my 'bundle' is /usr/bin/bundle instead of in ~.rvm?
deathwishdave has joined #ruby
synthroid has quit [Remote host closed the connection]
<elomatreb> Probably, unless it's a symlink back to your home directory (which would be also kind of weird)
<elomatreb> Check if your PATH variable contains the rvm-managed directory before the global directory
dionysus69 has quit [Ping timeout: 240 seconds]
megamos has quit [Ping timeout: 256 seconds]
whathappens has quit [Remote host closed the connection]
cyberg has joined #ruby
OneNeptune has joined #ruby
<rdg> that's what it was
RougeR has quit [Ping timeout: 240 seconds]
r29v has joined #ruby
arne has joined #ruby
fluxAeon has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
cschnei__ has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
megamos has joined #ruby
RougeR has quit [Ping timeout: 268 seconds]
leitz has joined #ruby
RougeR has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
amar has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
tcopeland has joined #ruby
<KrzaQ> at_exit seems to do most of the job, but it doesn't catch threading errors
RougeT430 has joined #ruby
tcopeland has quit [Client Quit]
<havenwood> KrzaQ: Do you have?: Thread.abort_on_exception = true
<KrzaQ> No.
RougeT430 has quit [Max SendQ exceeded]
<KrzaQ> I guess it's a fair requirement, thanks
<elomatreb> Is it possible to monkey-patch the Exception constructor
<elomatreb> mh
RougeR has quit [Read error: Connection reset by peer]
RougeT430 has joined #ruby
<KrzaQ> but how would I know it was uncaught?
Es0teric has joined #ruby
RougeT430 has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
Es0teric has quit [Ping timeout: 255 seconds]
amar_ has joined #ruby
Es0teric has joined #ruby
megamos has quit [Ping timeout: 265 seconds]
deathwishdave has quit [Quit: Textual IRC Client: www.textualapp.com]
nicht_ has joined #ruby
amar_ has quit [Remote host closed the connection]
RougeT430 has joined #ruby
<apeiros> elomatreb: you can override Kernel#raise, yes, but that'll not work for C level exceptions
<apeiros> (or java level exceptions or whichever other native language your runtime uses :D)
clemens3 has quit [Ping timeout: 265 seconds]
maufart__ has quit [Ping timeout: 256 seconds]
<KrzaQ> I see
<apeiros> what problem are we trying to solve?
<KrzaQ> I'm creating a gem to send errors to backtrace.io (kinda like sentry)
DTZUZO has quit [Ping timeout: 248 seconds]
<apeiros> errbit/airbrake kinda things?
<KrzaQ> ideally, I want it to be plug-and-play in your script without changing the app
<KrzaQ> yes
<apeiros> re how to know it was uncaught: if $! is set, it is uncaught
<apeiros> at least I assume that's what you use in your at_exit
<KrzaQ> yes
<apeiros> however, you won't be able to cover all cases w/o changing the host application. unless you only want to report back crashing errors.
<KrzaQ> well, if an exception was caught I cannot really know if it's an error or part of their workflow anyway
<KrzaQ> so in this case, modifying the application seems like the only choice to me
<KrzaQ> crashing errors are kind of a no-brainer :)
<apeiros> it should never be part of their workflow. but it's not necessarily a report-worthy error :)
<apeiros> but yes, that's what I'm referring to.
<KrzaQ> sure, it shouldn't
* apeiros uses `MyThingy.reporting_exceptions do … end`
<KrzaQ> Also, you're right, even if it's an error, if they caught it, it might mean they don't want to hear about it
<apeiros> *rescued
amar_ has joined #ruby
<apeiros> we catch throws, which rarely ever are exceptions (even though 1.9+ allow throwing exceptions)
whathappens has joined #ruby
suukim has joined #ruby
whathappens has quit [Remote host closed the connection]
jcarl43 has joined #ruby
DTZUZO has joined #ruby
guille-moe has quit [Ping timeout: 268 seconds]
amar_ has quit [Ping timeout: 264 seconds]
mzo has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
RougeT430 has quit [Ping timeout: 264 seconds]
wontruefree has joined #ruby
wilbert has joined #ruby
whathappens has quit [Remote host closed the connection]
mozzarella has quit [Quit: WeeChat 2.0.1]
jottr has joined #ruby
karthik_ has joined #ruby
wontruefree has quit [Quit: bye]
ldepandis has joined #ruby
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mozzarella has joined #ruby
eckhardt_ has joined #ruby
fluxAeon has quit [Read error: Connection reset by peer]
<karthik_> Hi all
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<karthik_> Does anyone here have experience in cross compiling ruby gems
<karthik_> ?
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p4p0l0 has quit [Remote host closed the connection]
p4p0l0 has joined #ruby
<eam> do gems even support cross compilation?
jrafanie has joined #ruby
jzhu has quit [Quit: Connection closed for inactivity]
p4p0l0 has quit [Ping timeout: 240 seconds]
wilbert has quit [Quit: wilbert]
jrafanie has quit [Client Quit]
RougeR has joined #ruby
nowhereman_ has quit [Ping timeout: 268 seconds]
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
dr3w_ has joined #ruby
jrafanie has joined #ruby
<konsolebox> someone here tried cross-compiling with rake/Rakefile. not sure if it's possible
<matthewd> (but it's been a long time since I cared, so no idea how easy, or how current, that is)
RougeR has quit [Ping timeout: 245 seconds]
blackmesa has joined #ruby
dr3w_ has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 276 seconds]
cagomez has joined #ruby
Liothen has joined #ruby
Liothen has quit [Changing host]
Liothen has joined #ruby
rdg has quit [Quit: Leaving]
c0ncealed2 has quit [Remote host closed the connection]
wontruefree has joined #ruby
AJA4351 has joined #ruby
c0ncealed2 has joined #ruby
daed has quit [Quit: .]
AJA4350 has quit [Ping timeout: 256 seconds]
AJA4351 is now known as AJA4350
\void has joined #ruby
daed has joined #ruby
kspencer_ has quit [Changing host]
kspencer_ has joined #ruby
kspencer_ is now known as kspencer
rgiscard has joined #ruby
wontruefree has quit [Quit: this is not the client you are looking for]
claudiuinberlin has joined #ruby
RougeR has joined #ruby
yohji has quit [Remote host closed the connection]
sysvalve has quit [Quit: Leaving]
jottr has joined #ruby
<karthik_> @konsolebox and @matthewd Thank you for the support. I will go through the link.
rgiscard has quit [Client Quit]
OneNeptune has joined #ruby
fluxAeon has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
<karthik_> @matthewd I have indeed looked into this link before and i coudn't get any help from it. This is specific for Windows platform. This tells us to do "rake-compiler cross-ruby" which will automaticaly download the ruby compiler for Windows.
<konsolebox> karthik_: and aren't you able to?
<karthik_> But my target is not Windows
<karthik_> I am doing it for ARM linux machine and cross compiling on a x86 linux machine
<konsolebox> well that should be a bit easier. windows have these toolkit dependencies you have to install.
<konsolebox> karthik_: do you mean cross-ruby doesn't work in non-windows platforms?
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<konsolebox> karthik_: well it seems like it says "Rake-compiler also provides a standardized way to generate, from either Linux or OSX, extensions and gem binaries for your Windows users!"
<karthik_> konsolebox : Let me give you a newbie alert first. I need to cross compile some ruby gems (eventmachine) for ARM Linux machine. My host is x86_64 linux machine. There is not Windows in the entire picture.
<karthik_> There is no Windows in the entire picture*
GodFather_ has joined #ruby
GodFather has quit [Read error: No route to host]
<karthik_> I didn't mean to say the cross compiling is not working in non-windows platforms. I maybe doing something wrong. Can anyone provide me some reference links or docs or some kind of support for cross compiling on Linux platform ?
<konsolebox> karthik_: i know. i read your message. but i was wondering if cross-ruby supports cross-compiling against other platforms besides windows.
<karthik_> konsolebox : What exactly is cross ruby ? An app or a compiler or something else ?
dr3w_ has joined #ruby
<konsolebox> karthik_: i think i might misread it to be a gem a bit, but i just followed your message that, ""rake-compiler cross-ruby" automatically downloads the ruby compiler for Windows"
<karthik_> I have a rakefile in eventmachine source folder. Maybe if the rakefile is able to read the environment variables which included the exported cross compiler definitions.
<karthik_> konsolebox : Yes, i was reffering to the link which was provided. https://github.com/rake-compiler/rake-compiler#cross-compilation---the-future-is-now
wontruefree has joined #ruby
wontruefree has quit [Client Quit]
wontruefree has joined #ruby
<konsolebox> anyway, i'll try to see if the tutorial works for cross-compiling my gem
<karthik_> and if i am able to make the Rakefile read the cross compiled ruby and openssl (which i have already cross compiled in Yocto build) instead of my host machine's ruby and openssl. I don't know what variables has to be changed in Rakefile to make it read the Include paths and librarires of the cross compiled ruby and openssl.
<karthik_> konsolebox : sure, thanks.
TomyWork has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
<havenwood> Anyone mind testing installing TruffleRuby on RVM master?: rvm get master && rvm install truffleruby
<havenwood> I'm wondering if the deps install cleanly, or if an error I'm seeing is reproducible.
OneNeptune has quit [Ping timeout: 256 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has quit [Ping timeout: 240 seconds]
stephenmac7 has joined #ruby
<stephenmac7> Hey, is there a method that destructively concatenates an array to the left of another array?
Beams has quit [Quit: .]
<stephenmac7> So a method like Array#concat but where the argument goes on the left, not the right
SeepingN has joined #ruby
<konsolebox> karthik_: it seems like rake-compiler only supports cross-compiling against Windows. running it without an argument just shows me this: https://bpaste.net/show/e1e88f669ed0. i also check some parts of the page. it seems like it only mentions cross-compiling with mingw, which is basically just about Windows.
<karthik_> Yes, this is exactly what i am seeing when i am running the command "rake-compiler"
nicht_ has quit [Ping timeout: 245 seconds]
<karthik_> Are you telling cross compiling rubygems in Linux is not possible ?
marius has quit [Quit: Ping timeout (120 seconds)]
marius has joined #ruby
<konsolebox> karthik_: don't know, but rake-compiler is likely not the way
RougeR has quit [Ping timeout: 255 seconds]
<stephenmac7> Or, rather, an equivalent to arr.prepend(*other_arr)
Mike11 has quit [Quit: Leaving.]
karthik_ has quit [Ping timeout: 260 seconds]
JamJam_kid has joined #ruby
wontruefree has quit [Quit: this is not the client you are looking for]
bmurt has joined #ruby
Guest82829 has quit [Ping timeout: 276 seconds]
miah has joined #ruby
bmurt has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 245 seconds]
cadillac_ has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
blackmesa has joined #ruby
wontruefree has joined #ruby
cadillac_ has joined #ruby
grilix_ has quit [Ping timeout: 260 seconds]
cadillac_ has quit [Ping timeout: 255 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
orbyt_ has joined #ruby
Rubyist has joined #ruby
<Rubyist> Hey Everyone!
<Rubyist> I need some help installing Ruby 1.8.0 from Source
<konsolebox> why would you need that
Es0teric has quit [Quit: Computer has gone to sleep.]
mzo has joined #ruby
<konsolebox> Rubyist: don't mind me. do continue
<havenwood> I need help with someone testing RVM installation of TruffleRuby!
<havenwood> Rubyist: I think it's fair to say, 1) Don't do it! :-P
<havenwood> Rubyist: Why do you need 1.8?
<havenwood> Rubyist: It's by far easiest to install it on old systems.
<Rubyist> Some weird thing with work.
wontruefree has quit [Quit: bye]
<havenwood> Rubyist: What version of what OS are you trying to install it on?
<Rubyist> I run autoconf, configure, but when I get to make I get this error
<Rubyist> Ubuntu 18.04
<havenwood> Rubyist: You're going to get crazy errors on modern Ubuntu with unsupported Rubies.
<Rubyist> Okie I'll be back in an hour, I'll check with work for a different version
<havenwood> Rubyist: Your best bet is probably seeing if RVM has back-patches to make it work.
klaas has joined #ruby
<havenwood> Rubyist: Or use a different OS, something that has Ruby 1.8 in long term support.
RougeR has joined #ruby
<havenwood> Rubyist: Another option, maybe the best for you, is a Brightbox package: https://www.brightbox.com/docs/ruby/ubuntu/
RougeR has quit [Changing host]
RougeR has joined #ruby
<havenwood> Rubyist: Yeah, use the 1.8.7 Ruby package for Ubuntu that Brightbox maintains.
<havenwood> That's my advice!
chris349 has joined #ruby
bonhoeffer has quit [Ping timeout: 260 seconds]
grilix_ has joined #ruby
<baweaver> and if possible, use 2.5.1 instead.
Rubyist has quit [Ping timeout: 260 seconds]
JoL1hAHN has quit [Quit: WeeChat 1.4]
amar_ has joined #ruby
JamJam_kid has quit [Quit: Leaving]
<havenwood> ^ even better
<havenwood> much, much better
sameerynho has joined #ruby
Guest82829 has joined #ruby
cagomez has quit [Remote host closed the connection]
<whathappens> havenwood: i get "No binary rubies available for: osx/10.13/x86_64/truffleruby-1.0.0-rc2". when i rvm install truffle-ruby
blackmesa has quit [Ping timeout: 256 seconds]
<cthu|> oh guys!
wontruefree has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
<cthu|> I discovered the best thing ever in Ruby
<cthu|> yesterday
<cthu|> thing that makes Ruby _AMAZING_
<cthu|> I should check if JS has it
JoL1hAHN has joined #ruby
<cthu|> but hell, method(var3: 1, var1: 2, var5: 9) is just THE BEST
<havenwood> cthu|: Yes, keyword arguments are great. Use more of those!
<cthu|> it makes it soooo much easier to write custom tests.
<cthu|> I will rewrite all my method calls to have them and will always use them. the benefit is mindblowing
Guest82829 has joined #ruby
<cthu|> I used to have to rewrite all calls when I change the signature
<cthu|> not anymore
<havenwood> cthu|: In Ruby 2.5 you can use keywords with Structs too.
<havenwood> cthu|: Point = Struct.new :x, :y, keyword_init: true; Point.new x: 42, y: 0
<havenwood> cthu|: => #<struct Point x=42, y=0>
JoL1hAHN has quit [Client Quit]
<cthu|> I don't quite know what struct is. Is it a hash constructor?
<havenwood> cthu|: Think of a Hash that knows ahead of time what its keys are.
<cthu|> ah, cool
<cthu|> so like an ad-hoc class
<havenwood> cthu|: yup
<havenwood> cthu|: You can even do: Struct.new :x, :y do; def ...
<cthu|> ha
<cthu|> cool
<havenwood> cthu|: Here's an example of using a keyword_init struct where you could alternatively use a Hash: https://github.com/havenwood/digest-sip_hash/blob/master/bin/siphash#L9-L10
<cthu|> so it's a real class
claudiuinberlin has joined #ruby
<havenwood> cthu|: You can use Hash-like getter/setter, or Struct exposes nice methods.
<cthu|> neat
Guest82829 has quit [Ping timeout: 256 seconds]
JoL1hAHN has joined #ruby
twobitsprite has quit [Ping timeout: 255 seconds]
Guest82829 has joined #ruby
yokel has quit [Remote host closed the connection]
biberu has joined #ruby
dbrandon has left #ruby [#ruby]
codymj has joined #ruby
yokel has joined #ruby
twobitsprite has joined #ruby
dbrandon has joined #ruby
<baweaver> There are a ton of Ruby tips over there
Guest82829 has quit [Ping timeout: 245 seconds]
<havenwood> Such a great idea to have a tool that checks which tests for gems from your Gemfile.lock pass on your Ruby: http://www.graalvm.org/docs/reference-manual/compatibility/
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> Careful responding to baweaver's challenges... I tried a little one and ended up writing a SAX parser. :-O
<havenwood> That's a cool kinda challenge. :-D
russt has quit [Ping timeout: 268 seconds]
<gizmore> still working on my new framework... got rid of a factory class-method in favor of .new to make it easier for Eclipse to code-complete
<gizmore> all tests passing again :)
twobitsprite has quit [Disconnected by services]
twobitsp1ite has joined #ruby
Guest82829 has joined #ruby
tvw has quit [Remote host closed the connection]
<havenwood> gizmore: link to the code?
<gizmore> https://github.com/gizmore/gdo (Core, to be splitted more maybe) https://github.com/gizmore/GDO-Login (first module)
<gizmore> fun fact: the first i wrote was an own autoloader :)
jjunior__ has joined #ruby
<havenwood> gizmore: No need to require RubyGems (Ruby 1.8 is dead!): https://github.com/gizmore/gdo/blob/master/bin/gdo#L3
ElFerna has quit [Ping timeout: 264 seconds]
<gizmore> erasing this line should be safe?
<havenwood> gizmore: yes
<havenwood> gizmore: You have `module_name` and `method_name` variables to use here: https://github.com/gizmore/gdo/blob/master/bin/gdo#L27
Guest82829 has quit [Ping timeout: 260 seconds]
<havenwood> gizmore: Add `.byebug_history` to your .gitignore and `git rm` it: https://github.com/gizmore/gdo/blob/master/.byebug_history
<havenwood> You have two licenses.
<gizmore> hmmm gdo_module() is a method for Object iirc... should change this
<gizmore> my plan is to have a framework where you write one method to serve all: http,cli,exe,websocket,various_chat_clients
<havenwood> the one stdlib file I know of that is uppercase is English.rb
<havenwood> which causes hilarity when folk go from a case insensitive OS to a case sensitive one
<havenwood> i don't support capital filenames - follow convention!
<havenwood> gizmore: You can drop this `begin/end` and just `rescue` directly in the method.
anjen has joined #ruby
<havenwood> gizmore: remove the `begin` and `end` and deindent the content by two spaces
<havenwood> leaving the rescue in place
<havenwood> it'll *just work*
karapetyan has quit [Remote host closed the connection]
clemens3 has joined #ruby
megamos has joined #ruby
millerti has joined #ruby
Guest82829 has joined #ruby
<gizmore> havenwood: the advantage of my autoloader is that it is minmal and maps 1:1 constants to file names
workmad3 has quit [Ping timeout: 264 seconds]
<gizmore> i know it is unusual to have filenames like FooBar.rb
<gizmore> but i like my autoloader :)
<havenwood> gizmore: Typically, you don't check Gemfile.lock into git with gems.
<gizmore> thx thx thx
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmi0920 has quit [Remote host closed the connection]
<havenwood> gizmore: Change this to "1.0.0", preferably using GDO::VERSION: https://github.com/gizmore/gdo/blob/master/gdo.gemspec#L7
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
<havenwood> 1.00 != "1.0.0"
russt has joined #ruby
jinie has joined #ruby
orbyt_ has joined #ruby
wald0 has joined #ruby
suukim has quit [Quit: Konversation terminated!]
Guest82829 has quit [Ping timeout: 248 seconds]
<KrzaQ> Kernel.exit causes $! to be not nil, can I differentiate it somehow?
claudiuinberlin has joined #ruby
ferr has quit [Quit: WeeChat 2.1]
<KrzaQ> I only want to do at_exit stuff if there's an uncaught exception
<gizmore> havenwood: i have own versioning in my GDO, 1.00 => 1.01 => 1.02 etc.... i will return "1.0.0", "1.1.0", "1.2.0" instead?
dogweather has quit [Remote host closed the connection]
<apeiros> KrzaQ: well, ignore if it's SystemExit?
<gizmore> havenwood: so a method that converts GDO version to rubystyle version?
dogweather has joined #ruby
<havenwood> >> Gem::Version.new(1.00) # gizmore
<ruby[bot]> havenwood: # => #<Gem::Version "1.0"> (https://eval.in/1025968)
<KrzaQ> apeiros: sure. But now I wonder if the exclusion list is going to grow
<apeiros> KrzaQ: in general, you should be extra careful with exceptions which are not subclasses of StandardError
<apeiros> KrzaQ: it is. ^
<KrzaQ> mhm
<gizmore> >> Gem::Version.new(1.04)
zachk has joined #ruby
<apeiros> Interrupt is another one you probably don't want
<ruby[bot]> gizmore: # => #<Gem::Version "1.04"> (https://eval.in/1025969)
<havenwood> gizmore: RubyGems requires its conventions be followed. You can internally do what you'd like, though it's confusing. You kinda have it backwards right now.
<havenwood> gizmore: You are following convention internally, but not giving RubyGems a version it understands.
<gizmore> the reason for my versioning is update scripts
zachk has quit [Changing host]
zachk has joined #ruby
<havenwood> you can do update scripts with the conventional way
sauvin has quit [Remote host closed the connection]
<KrzaQ> apeiros: if $! and $!.class <= StandardError
<havenwood> >> "1.0.4".succ
<ruby[bot]> havenwood: # => "1.0.5" (https://eval.in/1025970)
<KrzaQ> does that make sense to you?
<gizmore> >> "1.04".succ
<ruby[bot]> gizmore: # => "1.05" (https://eval.in/1025971)
<gizmore> >> "1.04.0".succ
<ruby[bot]> gizmore: # => "1.04.1" (https://eval.in/1025972)
Guest82829 has joined #ruby
<apeiros> KrzaQ: sure. I just don't know whether it's what you want :) it might ignore too many exceptions.
<gizmore> >> "1.04.0.0".succ # sry
<ruby[bot]> gizmore: # => "1.04.0.1" (https://eval.in/1025973)
<KrzaQ> Eh :)
<KrzaQ> Very well, I'll leave it as it is and classify futher later
<apeiros> >> ObjectSpace.each_object(Exception.singleton_class).reject { |c| c <= StandardError } # KrzaQ those are from ruby itself
<ruby[bot]> apeiros: # => [SystemStackError, NoMemoryError, SecurityError, NotImplementedError, LoadError, SyntaxError, Script ...check link for more (https://eval.in/1025974)
<apeiros> KrzaQ: also there's a couple of programmers who fail to understand ruby's exception model and inherit from Exception directly.
<KrzaQ> hm
<KrzaQ> Maybe I'll make an exclusion list for now
Guest82829 has quit [Ping timeout: 256 seconds]
kenichi has joined #ruby
twobitsp1ite has quit [Ping timeout: 240 seconds]
pastorinni has quit [Remote host closed the connection]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest82829 has joined #ruby
<konsolebox> havenwood: i got touch: cannot touch ‘/home/user/.rvm/rubies/truffleruby-1.0.0-rc2/lib/ruby/site_ruby/2.4.0/auto_gem.rb’: No such file or directory
throstur has joined #ruby
<konsolebox> i had to modify some parts of it to not update the system since i don't use sudo to escalate privilege
mjolnird has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
<gizmore> havenwood: merged your suggestions and wrote a test for autoloader to fail :)
<gizmore> thank you very much :)
<throstur> I'm trying to call my_lambda.(x) and expecting to receive ['my', 'series'] but when I puts it, it prints each item on it's own line, how do I print it as an array?
<apeiros> throstur: use p, not puts
<throstur> oh yeah, of course... why was I even using puts
<throstur> thanks ^^
Guest82829 has joined #ruby
megamos has quit [Quit: Leaving]
Guest82829 has quit [Ping timeout: 268 seconds]
mzo has quit [Ping timeout: 240 seconds]
eckhardt_ has joined #ruby
Guest82829 has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest82829 has quit [Ping timeout: 248 seconds]
ElFerna has joined #ruby
dionysus69 has joined #ruby
dogweather has quit [Remote host closed the connection]
Guest82829 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
dogweather has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
dogweather has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
karapetyan has joined #ruby
Guest82829 has joined #ruby
tvw has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
Guest82829 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
Rubyist has joined #ruby
<Rubyist> Hey what version of Ubuntu should I use to compile Ruby 1.8?
<havenwood> rubyist: Did you see my comments earlier?
<havenwood> rubyist: (Regarding Brightbox.)
bmurt has joined #ruby
<Rubyist> No I had to leave. Work is killing me. What was your comment?
dogweather has quit [Remote host closed the connection]
<havenwood> rubyist: "Ubuntu Artful, Xenial and Trusty"
szulak has quit [Ping timeout: 256 seconds]
<havenwood> rubyist: artfil aardvark is your best bet
Guest82829 has quit [Ping timeout: 264 seconds]
<Rubyist> Thanks. Should building it from source work on that?
<havenwood> rubyist: It wouldn't have backported security fixes.
<havenwood> rubyist: I'd highly recommend the Brightbox package on Ubuntu 17.10.
dogweather has joined #ruby
<havenwood> Or free yourself from Ruby 1.8! Ruby 2.5 ftw!
<Rubyist> Trust me, If it were up to me, I wouldn't even be using 1.8. But my boss is hell bent about compiling it from source
whathappens has quit [Read error: Connection reset by peer]
<havenwood> rubyist: Tell your boss that you then need to backport security fixes, because there are known issues that are unpatched in the source.
<havenwood> rubyist: You can build it from source with a tool like RVM, which might include those patches. Or better yet, use a package manager that diligently does it for you.
<Rubyist> Will do. I really hate working for someone who has such a poor understanding of my work
<havenwood> rubyist: Ruby 1.8 is too old to build unpatched on a modern OS. Even if you wanted to cavalierly ignore the known security issues.
Guest82829 has joined #ruby
<gizmore> rubyist: maybe tell your boss that 1.8 is at end of support for quite a while. i did not receive security updates
<gizmore> *it
<Rubyist> Thanks for the help. Just in case we do switch to 2.x, I know he'll want to compile it from source. Is that possible without having Ruby installed?
<havenwood> rubyist: You could use a LTS release that still backports to 1.8. I'd push back on building 1.8 myself.
<havenwood> rubyist: Yes, you can compile Ruby from source without Ruby installed.
bmurt has quit [Ping timeout: 256 seconds]
<havenwood> rubyist: You just need to install the deps, and you're good to go.
<havenwood> rubyist: Consider installing to /usr/local.
<baweaver> It's quite frankly none of a manager's concern how you perform your job, only that the work gets done
<baweaver> Sounds like you have a micro manager who needs to step back and stay in his lane
<havenwood> rubyist: You can have RVM install from source, btw. Unless they also care *how* you install from source.
<havenwood> 1.8 is too old.
<baweaver> Likely you'll need to have a discussion at some point over whether or not they trusts you to do your job, and if he does you should call them on that
<havenwood> It's getting to be waaaaay more of a hassle to be on 1.8 than it's worth.
<havenwood> I don't actually know anyone on 1.8.
Guest82829 has quit [Ping timeout: 256 seconds]
<havenwood> Maybe CentOS folk. ;-P
<havenwood> It's even old for that!
Rubyist has quit [Ping timeout: 260 seconds]
leitz has quit [Quit: Nappy time]
jyaworski has quit [Ping timeout: 256 seconds]
jyaworski has joined #ruby
cagomez has joined #ruby
<cthu|> how do you call method calls with explicitly set arg names?
hph^ has quit [Ping timeout: 256 seconds]
dogweather has quit [Remote host closed the connection]
<cthu|> metod1(arg1:123,arg3="qwe")
dogweather has joined #ruby
<havenwood> cthu|: What about ^ that?
<cthu|> how do you call them?
<havenwood> cthu|: Do you mean mandatory arguments?
<cthu|> no
desperek has joined #ruby
<cthu|> that was a call
<cthu|> sorry, I meant :, not =
Guest82829 has joined #ruby
<havenwood> cthu|: I don't understand the question.
<cthu|> how do you call method calls with explicitly set argument names using :
<havenwood> cthu|: Like you're showing. What's not working?
<elomatreb> `methodname(keywordname: value)` (not like in python. Using = there silently creates a new local variable)
<cthu|> oh, no, I mean how do you call them
<cthu|> when you talk about them :)
<havenwood> ?
<elomatreb> Oh
<elomatreb> Keyword arguments
<cthu|> not when you invoke them
<havenwood> cthu|: keyword arguements
<cthu|> oh, thanks
lytol has quit [Remote host closed the connection]
eckhardt_ has joined #ruby
Guest82829 has quit [Ping timeout: 265 seconds]
p4p0l0 has joined #ruby
pastorinni has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
Guest82829 has joined #ruby
sameerynho has quit [Ping timeout: 264 seconds]
fmcgeough has quit [Quit: fmcgeough]
szulak has joined #ruby
nowhereman_ has joined #ruby
p4p0l0 has joined #ruby
weird_error has joined #ruby
Blaguvest has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
dogweather has quit [Remote host closed the connection]
troulouliou_div2 has joined #ruby
rann has quit []
dogweather has joined #ruby
rann has joined #ruby
nicht_ has joined #ruby
ski7777 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
pastorinni has quit []
ski7777 has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
__goodnight__ has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
reber has quit [Quit: Leaving]
Guest82829 has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hph^ has joined #ruby
karapetyan has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
Guest82829 has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
ldnunes has quit [Quit: Leaving]
__goodnight__ has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest82829 has joined #ruby
Eiam has joined #ruby
safetypin has joined #ruby
stephenmac7 has quit [Ping timeout: 260 seconds]
ciscam has quit [Read error: Connection reset by peer]
Guest82829 has quit [Ping timeout: 256 seconds]
ciscam has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest82829 has joined #ruby
<gizmore> const_name = "::GDO::#{self.module_name}::Method::#{method_name}"
<gizmore> method_name is user controlled. is it a security issue?
<gizmore> const = Object.const_get(const_name)
starseed0000 has joined #ruby
jenrzzz has joined #ruby
tag has joined #ruby
Guest82829 has quit [Ping timeout: 248 seconds]
Anthony_Bourdain has quit [Quit: Such jupe, many nick, w0w...]
<zenspider> gizmore: that's not gonna work the way it's written
Guest82829 has joined #ruby
synthroid has quit []
Guest82829 has quit [Ping timeout: 260 seconds]
KeyJoo has quit [Ping timeout: 240 seconds]
t0xik has joined #ruby
<cagomez> when using Dalli for Rails.cache, does `exist(key)` still make a network request?
icarus has quit [Ping timeout: 268 seconds]
mjolnird has quit [Remote host closed the connection]
Guest82829 has joined #ruby
mjolnird has joined #ruby
ElFerna has quit [Ping timeout: 248 seconds]
biberu has quit []
Guest82829 has quit [Ping timeout: 255 seconds]
Mike11 has joined #ruby
desperek has quit [Quit: xoxo]
rtsq has joined #ruby
r29v has quit [Quit: r29v]
jcalla has quit [Quit: Leaving]
Guest82829 has joined #ruby
fmcgeough has joined #ruby
<rtsq> Hi all, I have a problem that I cant seem to solve right now. I want to add a prefix to all keys in a hash. They should all start with "throwable_". But right now it cant get it to work. In the pastebin example I have tried to make the key to a string just to make the concatenation. https://pastebin.com/q6Amd16B
<ruby[bot]> rtsq: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<lupine> should probably update that recommendation given MS
Guest82829 has quit [Ping timeout: 268 seconds]
<zenspider> rtsq: curious... why?
<apeiros> zenspider: hm? newer ruby's const_get can do fully qualified constants
<zenspider> seriously??? I'm getting old
<apeiros> yupp
<apeiros> >> module A; module B; class C; end; end; end; Object.const_get("A::B::C")
<ruby[bot]> apeiros: # => A::B::C (https://eval.in/1026063)
<zenspider> rtsq: that's pretty unreadable
<apeiros> I think 2.2 or 2.3 introduced it
<cthu|> lol
<zenspider> n/m... that's terribly unreadable.
<rtsq> zenspider: I have a couple of keys that are the same name, and the way that they are used it would be prefered to have a prefix on them.
<cthu|> oh so 2.2 is considered to be not-too-old?
<zenspider> you're doing bad things with quoting
roamingdog has quit [Remote host closed the connection]
<apeiros> cthu|: iirc 2.2 is not EOL, but the next to be EOLd
<zenspider> but the code also doesn't demonstrate your problem, as far as I can tell
<cthu|> ok
roamingdog has joined #ruby
<elomatreb> Short answer: On newer versions of Ruby there is Hash#transform_keys
<zenspider> rtsq: I would suggest NOT doing any magic to add the keys automatically... just make your code work properly WITH the prefix added in there where needed
merpnderp has joined #ruby
<cthu|> how does the arrow work?
<elomatreb> But it looks like you're doing eval-y stuff, which is probably a bad idea
<apeiros> cthu|: by piercing its target
dogweather has quit []
<cthu|> hahahah)))
<apeiros> cthu|: also I hear that the fin has something to do with the airflow, stabilizing its flight.
jgpawletko has joined #ruby
<elomatreb> Objects in motion stay in motion
<zenspider> >> h = {}; def h.[](k) super "prefix_#{k}"; end; def h.[](k,v) super "prefix_#{k}", v; end; h["blah"] = 42; [h["blah"], h]
<ruby[bot]> zenspider: # => wrong number of arguments (given 1, expected 2) (ArgumentError) ...check link for more (https://eval.in/1026064)
<zenspider> grr
<zenspider> oops
<zenspider> >> h = {}; def h.[](k) super "prefix_#{k}"; end; def h.[]=(k,v) super "prefix_#{k}", v; end; h["blah"] = 42; [h["blah"], h]
<ruby[bot]> zenspider: # => [42, {"prefix_blah"=>42}] (https://eval.in/1026065)
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<zenspider> ALWAYS a one character bug
Guest82829 has joined #ruby
<apeiros> is that a type of "one off error"?
<zenspider> but again... this is a bad idea IMHO
<zenspider> pretty much
<apeiros> I get that a lot lately. thanks to stucky keyboard
<zenspider> I can't blame my keyboard... just my brain or my fingers
bastilian has joined #ruby
roamingdog has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 260 seconds]
jgpawletko has quit [Quit: jgpawletko]
ElFerna has joined #ruby
Guest82829 has joined #ruby
r29v has joined #ruby
<merpnderp> I don't know anything about ruby but am interested in learning. What language is ruby most like?
<baweaver> Ruby
<zenspider> tautological
joast has quit [Ping timeout: 260 seconds]
<zenspider> merpnderp: what languages do you know?
<baweaver> Joking aside, you'll find similarities between it, Javascript, Perl, and Lisp.
<apeiros> merpnderp: I'd say from the more popular languages, python
<rtsq> zenspider: Yes, that would be nice, but I cant control the key values that I get, so I want to enrich them when I assign them.
<apeiros> also it inherited a lot from perl
<zenspider> baweaver: ehem... SMALLTALK PLEASE
ur5us has joined #ruby
<havenwood> merpnderp: Do you mean only languages that existed before Ruby?
<baweaver> zenspider: how's the weather there?
<havenwood> merpnderp: Crystal-lang ;-P
<zenspider> gray and coolish today. finally
<merpnderp> zenspider: python, js, C, C#, Java, Perl
<baweaver> zenspider: there you go
<baweaver> smalltalk :D
<havenwood> merpnderp: mruby is quite similar
<rtsq> The best way should be just to concatenate the key when its created, but everything I tried fails.
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> merpnderp: Of those, Perl and Python are the most similar.
<zenspider> rtsq: see above
<merpnderp> havenwood: cool, thanks.
<merpnderp> apeiros: thanks.
Mike11 has quit [Quit: Leaving.]
Guest82829 has quit [Ping timeout: 265 seconds]
<elomatreb> Ruby outright copied a few Perl-isms, but they're usually considered bad style by now
tvw has quit [Ping timeout: 245 seconds]
tvw has joined #ruby
<havenwood> Perl 6 copied more than a few Rubyisms. The cycle continues.
<apeiros> copying the good parts is a great thing :)
ur5us has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
joast has joined #ruby
ur5us has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
<cthu|> yep
<rtsq> zenspider: I think that I am too tired to understand. What I try to do is to get this: event.get('thorowable').each { |key,value| event[key] = value; } to be something like this event.get('thorowable').each { |key,value| "throwable_#{event[key]}" = value; }
<rtsq> Exept that I cant spell throwable.... :)
<zenspider> I can't make sense of your code. sorry. Mine creates a hash that'll always prefix on [] and []=.
<zenspider> if you want to do something after the fact, then elomatreb's suggestion to use Hash#transform_keys is the right way to go
Guest82829 has quit [Ping timeout: 245 seconds]
<elomatreb> Keep in mind that it only exists on recent versions of Ruby (2.4 I think?)
<zenspider> but you said something to the effect of "I have several keys that are the same" and that doesn't make sense
Guest82829 has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
<rtsq> transform_keys have I looked at, but cant find out how to make it do the prefix for me....
<zenspider> rtsq: "make it do" ?
<apeiros> rtsq: if you're too tired to understand, you should probably get some sleep and try again tomorrow.
<zenspider> >> s = "some string"; "prefix_#{s}"
<ruby[bot]> zenspider: # => "prefix_some string" (https://eval.in/1026067)
<zenspider> rtsq: this esp doesn't make sense: |key,value| "throwable_#{event[key]}" = value
<zenspider> |key,value| "throwable_#{event[key]}" = value
<zenspider> |key,value| "throwable_#{key}" = value
<rtsq> apeiros: true, that would be the best.. :)
<zenspider> |key,value| event["throwable_#{key}"] = value
<zenspider> event[key] IS value
<SeepingN> otehrwise you ahve value=value
<zenspider> you want key
<zenspider> then you're not assigning anywhere
<cthu|> will a string cast into regex I wonder?
<cthu|> :(
<cthu|> it's quite awkward to have to do all the obvious casting manually
<rtsq> zenspider: I want to change the key, AND assign value, but maybe I need to do it in two steps as mentioned above.
<havenwood> cthu|: Weak typing is bad. Stop yearning for it.
<zenspider> rtsq: you're doing this: "string" = "value" and that doesn't compute
<apeiros> cthu|: ruby does plenty of conversions for you already. what's your current code?
<cthu|> It's not about weak typing it's about implicit conversion
psychicist__ has quit [Ping timeout: 264 seconds]
icarus has joined #ruby
<baweaver> >> 'string' = 'value'
<cthu|> 1+"asd"
<ruby[bot]> baweaver: # => /tmp/execpad-fd3b476d8482/source-fd3b476d8482:2: syntax error, unexpected '=', expecting keyword_end ...check link for more (https://eval.in/1026068)
<havenwood> >> Regexp.new 'cthu|'
<ruby[bot]> havenwood: # => /cthu|/ (https://eval.in/1026069)
<baweaver> cthu| that's weak typing
<havenwood> cthu|: Err, what do you think "weak typing" means?
<cthu|> I thought it was about types
<cthu|> not methods
<cthu|> cuz casting would be in +
raynold has joined #ruby
<rtsq> zenspider: I will check the version of ruby and see if I can get transform_keys to do the trick.
<zenspider> you know not of what you speak of
<zenspider> rtsq: you can still do what you want without it. But your code has to actually assign into the hash. see my step by step transformations above. happy to answer questions
<baweaver> implicit conversions in methods is textbook weak typing cthu|
fluxAeon has quit [Quit: Textual IRC Client: www.textualapp.com]
<cthu|> oh, okay, I didn't know it
<cthu|> thanks
<cthu|> why is it bad?
<cthu|> :)
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
<havenwood> apeiros: hahaha
codymj has quit [Quit: Leaving]
<apeiros> cthu|: ^ that
_pastel has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
beefjoe has quit [Ping timeout: 245 seconds]
<cthu|> apeiros, but there's typeless == and typefull ===
<cthu|> sure you'll get artifacts in rare cases.
<SeepingN> "I found out that strings that start with zero are coerced to 0 and then interpreted as false. Never used PHP for anything important since."
Guest82829 has joined #ruby
<cthu|> just like you get artefacts in ruby thanks to it multiple abstractions
grilix_ has quit [Ping timeout: 240 seconds]
ElFerna has quit [Ping timeout: 276 seconds]
<elomatreb> Just compare the frequency of cases where you do want coercion to the cases where it could subtly mess you up, and explicit conversion becomes the obvious choice
<cthu|> idk. I never had issues with it in JS, but keep using it all the time
<cthu|> saved me A LOT of time
<elomatreb> You'll notice that in "modern" php code people use type checks a lot to mitigate it (both through explicit inline checks and typed method signatures)
grilix_ has joined #ruby
<cthu|> I guess depends on usecase or on people's habits.
<apeiros> you can write bad code in any language, that's true
<cthu|> In JS, I rarely do type checking, but again, I use it on the backend and I rarely work with user input
<apeiros> some make it easier than others. ruby too is more on the "make it easy side".
<havenwood> but it's easier to write bad code in bad languages
<cthu|> well that's what is confusing to me
<cthu|> Ruby makes it super easy
<apeiros> but IMO weak typing is a needless move further towards "make it easy to write broken code"
<cthu|> even the things JS hesitated to do
<cthu|> like the keyword args
<cthu|> and yet, no weak typing
<apeiros> hm? kwargs aren't making it easier to write bad code.
<apeiros> quite the opposite.
<elomatreb> (quite the opposite)
<apeiros> ^5 elomatreb
<cthu|> well JS folks said it was a tradeoff
* elomatreb has flashbacks to options = {}
<cthu|> I actually don't know what other languages have this cool feature
* apeiros has flashbacks to method(:foo).arity > 5
<cthu|> it's the first time I'm seeing it
<elomatreb> Python has keyword arguments and probably popularized them in scripting languages
<elomatreb> Or rather, named arguments
<apeiros> cthu|: I think it's pervasive in objc
<cthu|> object C has it?!
safetypin has quit [Quit: ZZZzzz…]
<cthu|> wow
<cthu|> that's low
<apeiros> you have things like createColor fromRed: 255, green: 0, andBlue: 100
<cthu|> lower than I would expect it to be
<cthu|> riiight
<apeiros> (I don't do ObjC, so it's from memory and not 100% correct)
<havenwood> not kwargs but interlargs
<havenwood> is Smalltalk the origin there as well?
<apeiros> cthu|: why is that low?
<cthu|> well objective c is on the same level as C#/Javas, I think
grilix_ has quit [Ping timeout: 256 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cthu|> which makes it lower than things like Ruby, PHP, Python and JS
<apeiros> ah, you mean as in lower/higher level languages
<cthu|> yep
<elomatreb> Don't invest too much in the low/high-level language metaphor these days, it has become very blurred
Guest82829 has quit [Ping timeout: 264 seconds]
<cthu|> I don't. it's just a cosmetic, basically.
<elomatreb> And even that is broken quickly, e.g. Rust offers very "high-level" abstractions but compiles to 100% native code
<cthu|> it doesn't matter how it compiles
<apeiros> eh, the product is not a property of the language, but of the runtime
<cthu|> the coding experience matters
<apeiros> low/high level IMO is more related to what a language grants you access to
<cthu|> yeah
<cthu|> exactly
<elomatreb> But you can get the same access in e.g. Ruby as well, e.g. Fiddle
<elomatreb> IMO the metaphor is a leftover from the days where the options were line-based BASIC interpreters or C
<cthu|> also it's about levels of abstractions the language builds for you
<cthu|> more abstractions = higher level. less abstractions = lower level
<cthu|> binary grants no abstractions. HEX would be a simple abstraction above binary. Then asm comes.
zapata has quit [Read error: Connection reset by peer]
nicht_ has quit [Quit: Leaving]
zapata has joined #ruby
FernandoBasso has joined #ruby
whathappens has joined #ruby
Puffball has joined #ruby
Guest3849 has quit [Read error: Connection reset by peer]
fmcgeough has quit [Quit: fmcgeough]
roamingdog has joined #ruby
Nicmavr has joined #ruby
workmad3 has joined #ruby
lytol has joined #ruby
Nicmavr is now known as Guest78390
<zenspider> JS has no weak typing?!?!? what the fuck?
<zenspider> THEY FIXED IT!
amar_ has quit [Remote host closed the connection]
<zenspider> hex is NOT an abstraction over binary. it's just a different representation of the exact same numbers.
<havenwood> 1 + '1' #=> '11' #boo hiss
amar has joined #ruby
<zenspider> asm is 1:1 to the binary... so it isn't an abstraction either. it's just a more readable representation.
Es0teric has joined #ruby
<apeiros> havenwood: and in php `1 + '1'` => 2
<zenspider> I do wish you'd stop spouting nonsense and listen more than you talk.
<havenwood> apeiros: i think it should indeterminately be either '11' or 2, roll the dice each time
<apeiros> havenwood: haha
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Remote host closed the connection]
<apeiros> I actually don't remember how to concat two numeric strings in php
workmad3 has quit [Ping timeout: 260 seconds]
<apeiros> ooooh, right, .
<apeiros> omigosh. `1 . 1` looks so weird now.
Puffball has quit [Ping timeout: 256 seconds]
<elomatreb> String concat is the one example where phps weak typing doesn't mess up :)
ur5us_ has quit [Ping timeout: 268 seconds]
JamJam_kid has joined #ruby
<havenwood> >> class Integer; alias add +; def + other; if other.instance_of?(String); ["#{self}#{other}", add(other.to_i)].sample; else; add(other) end end end; [1 + '1', 1 + '1', 1 + '1']
<ruby[bot]> havenwood: # => undefined method `+' for class `Integer' (NameError) ...check link for more (https://eval.in/1026072)
<havenwood> oh, 2.3
Puffball has joined #ruby
<havenwood> >> class Fixnum; alias add +; def + other; if other.instance_of?(String); ["#{self}#{other}", add(other.to_i)].sample; else; add(other) end end end; [1 + '1', 1 + '1', 1 + '1']
<ruby[bot]> havenwood: # => ["11", 2, 2] (https://eval.in/1026073)
<havenwood> cthu|: There you go ^
<havenwood> cthu|: That's extremely weak typing, in Ruby! You're welcome. ;-)
<elomatreb> >> [1, "2"].join
<ruby[bot]> elomatreb: # => "12" (https://eval.in/1026077)
<cthu|> don'
<cthu|> don't use arrows
<cthu|> they penetrate targets and frighten noobs
<cthu|> also that's join
<cthu|> join's unfair
<cthu|> it has to be in... how do you call methods that are symbolic
<cthu|> like + or -
<elomatreb> Certain Ruby methods do give you something similar to weak typing, by just blindly trying to make everything into strings
<elomatreb> Operators
<cthu|> okay, in operators methods them
<cthu|> *then
<cthu|> yeah, to_s everythng is what I would expect from + if one of the args is a string
GodFather_ has quit [Ping timeout: 240 seconds]
<cthu|> anyhow
<cthu|> I accept Ruby as it is
cyberg has quit [Ping timeout: 264 seconds]
<cthu|> the keyword arrgs make up for a lot of things I may not like
<elomatreb> "If one of the args is a string" doesn't work though, as `a + b` is equivalent to `a.+(b)`, and since methods are defined on the receiver the inverse could do something different entirely
GodFather has joined #ruby
<zenspider> hahaha
<elomatreb> keyword arrrgs, pirate Ruby
cyberg has joined #ruby
<cthu|> ah
<cthu|> I thought there was a good reason
<cthu|> there it is
<zenspider> elomatreb: double dispatch can be a nice way to do numerics tho. Smalltalk uses it to coerce to the same type and then re-dispatch on the same operator
<zenspider> IIRC, a + b is roughly executed as: b.coerce(a) + a
<elomatreb> I'm getting less and less convinced that operator overloading is a good idea anyway, tbh (at least for the core set of arithmetics)
<zenspider> I've been enjoying it in haskell (if it is even considered that? I don't really think it is)... but I tend to agree for languages like ruby / smalltalk / whatever
ur5us has joined #ruby
ElFerna has joined #ruby
<zenspider> the complexity it brings is not worth it imo
<cthu|> I don't see the point to do that to any except the + tbh
<cthu|> and + only cuz it's so popular
<cthu|> << is better than + anyway
<cthu|> and probably << does the casting
Guest82829 has joined #ruby
<cthu|> does it?
nowhereman_ has quit [Ping timeout: 245 seconds]
<elomatreb> I'm also torn on it with Haskell, since it leads to extremely terse code (e.g. when I was learning it I was stuck on understanding what the $s in my code do for days)
<zenspider> maybe starting with "I don't see the point" should be a hint to listen more, speak less. Asserting your "knowledge" vs actually being open to learning stuff.
<zenspider> elomatreb: I took a course on ML a little while back and all of a sudden, I could read haskell. :P I've been enjoying studying it so far. It does have too many sigils imo
<zenspider> I have emacs set up with a whole bunch of extra tooling, so as I'm editing, emacs is suggesting changes as I go. This looks like a map! Now it looks like a foldr! Now it looks like blah blah... I have been learning the libraries this way
FernandoBasso has quit [Remote host closed the connection]
FernandoBasso has joined #ruby
blackmesa has joined #ruby
FernandoBasso has quit [Remote host closed the connection]
<apeiros> zenspider: `b.coerce(a) + a` you probably meant `b.coerce(a) + b`, no? (and I too think that's how it's done)
Guest82829 has quit [Ping timeout: 256 seconds]
<zenspider> if I remember a paper that Dan Ingalls published back in the day, the second dispatch ofter went backwards. I don't remember the reasoning for that tho. It's been years.
<apeiros> hm, actually it's more like b,a = b.coerce(a); b+a
Es0teric has quit [Quit: Computer has gone to sleep.]
<apeiros> I still got it wrong :D
Guest82829 has joined #ruby
<cthu|> :)
<apeiros> well, I guess I know now what I'll look at again tomorrow
cschnei__ has quit [Remote host closed the connection]
<zenspider> hah: A Simple Technique for Handling Multiple Polymorphism. In Proceedings of OOPSLA '86... so yeah. I "few" years ago. :P
JamJam_kid has quit [Read error: Connection reset by peer]
jyaworski has quit [Ping timeout: 240 seconds]
JamJam_kid has joined #ruby
throstur has quit [Quit: WeeChat 2.1]
amar has joined #ruby
wald0 has quit [Quit: Lost terminal]
<cthu|> >> p test(\ee\, "street");
<ruby[bot]> cthu|: # => /tmp/execpad-aa9c146a45c3/source-aa9c146a45c3:2: syntax error, unexpected $undefined, expecting ')' ...check link for more (https://eval.in/1026084)
JamJam_kid has quit [Read error: Connection reset by peer]
<zenspider> what is that even supposed to be?
venmx has quit [Ping timeout: 245 seconds]
JamJam_kid has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
amar has quit [Ping timeout: 268 seconds]
<elomatreb> "unexpected $undefined"
Guest82829 has quit [Ping timeout: 268 seconds]
karapetyan has joined #ruby
ur5us has joined #ruby
<havenwood> zenspider: I interpret it as an "artistic" attempt at: assert_match /ee/, 'street'
<cthu|> weird
<cthu|> why is this?
<cthu|> >>"asd asd" =~ /^asd\sasd/
<ruby[bot]> cthu|: # => nil (https://eval.in/1026099)
<cthu|> ahouls be 0
<havenwood> cthu|: Kernel#test is a method. It doesn't do what you seem to assume it does, at all. Regexp literals are // not \\.
<baweaver> Because the regex didn't match.
<zenspider> havenwood: I assumed it was more liek the archaic form of File.exist? "street"
<cthu|> and this is ok:
<cthu|> >>"asd asd" =~ /^asd\s/
<ruby[bot]> cthu|: # => 0 (https://eval.in/1026100)
<havenwood> zenspider: hahaha
<cthu|> ah
<cthu|> hell
<cthu|> >>"asd asd" =~ /^asd\s*asd/
<ruby[bot]> cthu|: # => 0 (https://eval.in/1026101)
<cthu|> ok, found, sorry
<cthu|> trying to get used to regex in Ruby
jyaworski has joined #ruby
ElFerna has quit [Quit: WeeChat 1.9]
<zenspider> I wonder if I still have any old code that uses Kernel#test instead of File#whatever?
ur5us has quit [Read error: Connection reset by peer]
<zenspider> oh god...
ur5us has joined #ruby
<zenspider> RubyInline, ZenTest, graph, hoe-seattlerb ... saaaad
<cthu|> hm
<cthu|> what's wrong with this one?
<cthu|> >>regexs = /asd/; str = "asd"; if (str =~ regexs)!=nil; puts "works"; end
<ruby[bot]> cthu|: # => works ...check link for more (https://eval.in/1026106)
<cthu|> I mean, it also returns nil after "works"
<cthu|> in eval
<zenspider> You're expecting us to be psychic
<cthu|> maybe that's eval's debug
<Radar> cthu|: I would advise you listen to the people trying to help you.
<zenspider> >> x=puts "woot"; x
<ruby[bot]> zenspider: # => woot ...check link for more (https://eval.in/1026109)
<zenspider> ah, well... puts returns nil. The bot biases towards IO
<cthu|> I am
<cthu|> I do
<cthu|> :)
<zenspider> no, you're really not.
<zenspider> I'd also ask that you start using your spacebar a lot more instead of return.
<Radar> cthu|: Maybe if someone is telling you something then perhaps that something is indicative of something else?
<zenspider> compare:
<zenspider> I am. I do. :)
JamJam_kid has quit [Read error: Connection reset by peer]
<cthu|> Radar, no idea what you're talking about, but I totally agree.
whathappens has quit [Remote host closed the connection]
<Radar> cthu|: It's been a running theme. You come in here, ask questions... then people try to help you, but you flatout ignore them and continue on with your own ramblings. It's really frustrating. Maybe take the time to reply to those who are replying to you?
<icy`> i mean, it does output "works" so what's the issue
<cthu|> Radar, you do see that I'm replying to you?
<Radar> cthu|: Yes, now you are. But previously you have not.
<cthu|> icy`, I think it was eval's debugging
<cthu|> on eval it returned nil too
<icy`> and?
<icy`> what did you expect it to *****return*****
<zenspider> >> eval "1+2"
<ruby[bot]> zenspider: # => 3 (https://eval.in/1026110)
<icy`> there's output, and there's return value
<cthu|> Radar, I may have not seen then. I usually answer unless ignored
jyaworski has quit [Ping timeout: 268 seconds]
<cthu|> icy`, yeah, I realize now that that nil was a return value.
ur5us has quit [Ping timeout: 256 seconds]
<cthu|> effectively meaning it doesn't return anything?
ur5us_ has joined #ruby
<icy`> cthu|, you still never specified what you want to happen
<zenspider> cthu|: this is exactly what Radar was talking about
<cthu|> icy`, my concern was about the nil
<cthu|> I got exactly what I needed in that case
<zenspider> icy` asked a clear question. you have yet to answer it
<cthu|> so all is good, thanks
<icy`> "works" if s=~r
<cthu|> indeed
<Radar> cthu|: Don't you go down the path of "all is good". People want answers.
<cthu|> Radar, I gave the answers
<cthu|> nil confused me
<zenspider> my rope... it is short. getting shorter...
whathappens has joined #ruby
<icy`> lol
<zenspider> icy`: do you feel like your questions were answered?
ur5us_ has quit [Read error: No route to host]
<zenspider> I sure don't... but I might be a bit testy at this point.
ur5us has joined #ruby
banisterfiend has joined #ruby
<baweaver> puts returns nil.
<baweaver> but it "prints" to the screen
<baweaver> (more accurately to STDOUT, but not the point)
<cthu|> yeah, thanks
<baweaver> Reading the documentation on methods will help to realize what they expect and what they return in given circumstances.
wontruefree has quit [Quit: bye]
<cthu|> yeah, it's just I didn't notice before that eval prints them when there's explicit print
<baweaver> In pry, with pry-doc, you can ask for the documentation inline: ? Kernel#puts
<cthu|> it didn't do it here cuz we only get one line of output here
<cthu|> I chose not to use pry
<zenspider> or `ri` in the terminal
<baweaver> I always forget about that one.
<cthu|> it has some weird issues with steps after the break.
<cthu|> there's another one we decided to use instead
<cthu|> doesn't have colors, but has a better navigation capabilities
<cthu|> byebug
<icy`> well hopefully you learned something about being more clear next time ;D
DTZUZO has quit [Ping timeout: 268 seconds]
<Eiam> choose not to use pry! forshame! =)
jyaworski has joined #ruby
<elomatreb> byebug uses pry though
<baweaver> shhhhhh
icy` has quit [Quit: .: ciao :.]
<Eiam> banisterfiend is sobbing
<cthu|> oh, cool
<cthu|> I was wondering why it's so alike pry
ur5us_ has joined #ruby
<elomatreb> :)
<baweaver> So does that make it a REPLacement?
<cthu|> it's just pry doesn't have proper stepping
<cthu|> idk
<Eiam> I personally use pry to replace irb
<cthu|> it does to me since I removed pry and added byebug
* zenspider still uses irb 99% of the time
<baweaver> (cjohnson: just for you)
blackmesa has quit [Ping timeout: 276 seconds]
<elomatreb> Yes, byebug is a debugger, pry is a repl. They integrate well, but they're different tools
ur5us has quit [Ping timeout: 240 seconds]
RougeR has quit [Ping timeout: 276 seconds]
<cthu|> yeah
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<Eiam> cthu|: you might want "pry-nav"
<cthu|> that's another gem
<zenspider> and 99% of the time, `minitest` is my debugger
<cthu|> occam's razor
<baweaver> zenspider: using Guard much?
tvw has quit []
<zenspider> that is not what occam's razor means
<Eiam> put them in your dev block in the gemfile...
<cthu|> that's where they are
<zenspider> baweaver: no. I use minitest-autotest now and then, but mostly don't bother
<Eiam> not sure why thats an issue, good useful gems are good, is there some kind of "gem shame" going around?
halbbalda has quit [Ping timeout: 256 seconds]
<cthu|> lol
<baweaver> Mmm, recently found uses for Guard outside of just tests
<Eiam> I comment in my gemfiles exactly what each gem is providing the project specifically so I have good reason for it to be present
<Eiam> that specific project, not generally what it provides.
ur5us_ has quit [Read error: Connection reset by peer]
whathappens has quit []
<zenspider> Eiam: that's a good practice
<baweaver> 4 upstream resources combine into one specification, so Guard watches them for changes and regens the spec for development. Very useful.
<banisterfiend> guard is just a very light wrapper around inotify right?
<zenspider> I generally found that guard doesn't have enough brains (at least, out of the box the way most ppl use it)
<Eiam> saw a project with multijson and no other json libraries was like ???
<banisterfiend> i think i just used inotify for a similar thing
halbbalda has joined #ruby
<elomatreb> And the respective APIs for other OSes and a fallback poll implementation, I think
ur5us has joined #ruby
<baweaver> Is it? I just defaulted to using it because that's what I was familiar with when I wrote it
<baweaver> Also, good day banisterfiend
<Eiam> banisterfiend: thanks again for pry
jrafanie has joined #ruby
<Eiam> such a lovely tool
<baweaver> banisterfiend: You'll enjoy this one - https://github.com/baweaver/xf
<Eiam> baweaver: you monster =/
<baweaver> It's running in production here for some things.
<banisterfiend> cool
<baweaver> Mostly JSON specification generation
bijan_ has joined #ruby
<banisterfiend> !seen saywatmang
<banisterfiend> !seen coderrr
Guest82829 has joined #ruby
<baweaver> The function itself was something like this:
<baweaver> Xf.trace_key_value('version', proc { |v| DateTime.parse('2018-05-01') > DateTime.parse(v) }).get_value(api_spec).uniq
jyaworski has quit [Ping timeout: 240 seconds]
<baweaver> Except the actual function for the value was: newer_than = proc { |d| proc { |t| DateTime.parse(d) > DateTime.parse(t) } }
<baweaver> So: Xf.trace_key_value('version', newer_than['2018-05-01']).get_value(api_spec).uniq
<baweaver> === is fun.
<baweaver> Had to find out if a given specification had APIs newer than the timestamp I was trying to generate an artifact for.
<baweaver> More than likely i'll turn that into a challenge later :D
Guest82829 has quit [Ping timeout: 240 seconds]
* baweaver is very excitable with new toys
Guest82829 has joined #ruby
jyaworski has joined #ruby
karapetyan has quit [Remote host closed the connection]
banisterfiend has quit [Remote host closed the connection]
_pastel has quit [Ping timeout: 240 seconds]
p4p0l0 has quit [Remote host closed the connection]
t0xik has quit [Quit: Connection closed for inactivity]
rtsq has quit [Quit: Leaving]
beefjoe has joined #ruby
blackmesa has joined #ruby
Guest82829 has quit [Ping timeout: 265 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
Guest82829 has joined #ruby
RougeT430 has joined #ruby
k0mpa has quit [Ping timeout: 250 seconds]
jcarl43 has quit [Quit: WeeChat 2.1]
cagomez has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 256 seconds]
cagomez has joined #ruby
nowhereman_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
Guest82829 has quit [Ping timeout: 260 seconds]
akaiiro has quit [Ping timeout: 256 seconds]