havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has joined #ruby
aduabu has joined #ruby
kreantos has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
balazs has quit [Remote host closed the connection]
aduabu has joined #ruby
kreantos has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
t-recx has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
eckhardt has joined #ruby
aduabu has quit [Ping timeout: 255 seconds]
t-recx_ has joined #ruby
t-recx has quit [Disconnected by services]
t-recx_ is now known as t-recx
brent__ has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
brent__ has joined #ruby
s3nd1v0g1us has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
sylario has quit [Quit: Connection closed for inactivity]
canteen4 has joined #ruby
s3nd1v0g1us has quit [Ping timeout: 276 seconds]
shakes has joined #ruby
emilford has joined #ruby
aduabu has quit [Ping timeout: 276 seconds]
chouhoul_ has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
orbyt_ has joined #ruby
carnegie has quit [Remote host closed the connection]
runescape07rsps has quit [Ping timeout: 240 seconds]
marr has quit [Remote host closed the connection]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
<imode> am I crazy or can I not have a class inside of a module?
aduabu has joined #ruby
<imode> nevermind. that was dumb, I was missing a "self."
bdnelson has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Technaton has quit [Ping timeout: 276 seconds]
bdnelson has quit [Client Quit]
Technaton has joined #ruby
bdnelson has joined #ruby
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
chouhoulis has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
bronson has quit [Remote host closed the connection]
creshiem has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
gusrub has quit [Remote host closed the connection]
carnegie has joined #ruby
umaaji has joined #ruby
ramfjord has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
runescape07rsps has joined #ruby
<imode> do I always have to define functions in modules via def MyModule.foobar()?
<matthewd> imode: It depends how you're using the module
gothicsouth has joined #ruby
<imode> matthewd: I have a module with one method inside of it, named timestamp.
ramfjord has quit [Ping timeout: 252 seconds]
<imode> it returns a string. how do I call this method?
BSAlb has joined #ruby
<elomatreb> If you just want a module that contains module-level methods "module_function" is pretty useful
gizmore|2 has joined #ruby
Neo95 has joined #ruby
<matthewd> How do you want to call it?
<elomatreb> Additionally, you don't need to write out the module name, def self.foobar works as well
d^sh_ has joined #ruby
<imode> I don't know. MyModule::timestamp I guess?
<imode> I am new to Ruby.
ramfjord has joined #ruby
<imode> I know Modules can be used for mixin-style programming but I'm honestly just wanting to use them as an indicator of a namespace.
<matthewd> If you want to define and use it as a "static" method (so the module is just a namespace for a global thing), then yes, define it with def self.xx and then call it as MyModule.xx
shakes has quit [Quit: Leaving]
<matthewd> (or, as elomatreb said, `def xx; ..; end; module_method :xx`)
BSaboia has quit [Ping timeout: 240 seconds]
<imode> interesting. why does Ruby allow bare defs inside of modules then?
<imode> if, in order to actually use the things you define, you have to do def self.foobar or that module_method line.
<matthewd> Because they "can be used for mixin-style programming"
gizmore has quit [Ping timeout: 255 seconds]
<imode> ah. and normally you aren't supposed to just use a bare module?
<elomatreb> For the mentioned mixin-style programming, if you include the module in a class they appear as instance methods
d^sh has quit [Ping timeout: 248 seconds]
<matthewd> Well.. no more than you're 'supposed' to write a Java program mostly out of static methods
<elomatreb> A class technically is a special kind of module, so the distinction on when you should use a class and when you should use a module is often a matter of opinion
<matthewd> It's a thing you can do, and it's not *wrong*.. but it's somewhat missing out on the OO part of OOP
<imode> I see.
<imode> alright, that makes more sense. their use case makes more sense to me now.
<elomatreb> If there is any sort of state involved you should probably use a class, but you can have state in modules as well
ramfjord has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
tenderlo_ has joined #ruby
<imode> so that's weird. if I define something like def FooBar.BazQuux, trying to access it gives me an uninitialize constant error.
<imode> but if I name it FooBar.bazquux, it works fine.
<imode> is capitalization relevant?
tenderlove has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
brent__ has joined #ruby
ramfjord has joined #ruby
<matthewd> Yes, capitalization is relevant
<matthewd> Constants start with capital letters, variables and most methods start with lowercase
<matthewd> FooBar::ID() would work, because it's unambiguously a method call... but FooBar::ID looks like a constant lookup
<imode> I see. weird.
<matthewd> But don't use uppercase letters in method names. Lowercase, with underscores.
<matthewd> Also: no semicolons
<imode> I'll write in my own style, but thank you. I didn't find that detail anywhere.
<matthewd> And as a more stylistic note, Ruby code is almost always indented to two spaces
<imode> four is good.
ResidentBiscuit has joined #ruby
brent__ has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
lacuna has joined #ruby
canteen4 has joined #ruby
ResidentBiscuit has quit [Ping timeout: 276 seconds]
GodFather has quit [Ping timeout: 252 seconds]
mim1k has joined #ruby
crankharder has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
perniciouscaffei has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
irated has joined #ruby
<irated> how do you partition by that?
cagomez has joined #ruby
riskish has joined #ruby
<matthewd> irated: You probably want #group_by instead
<irated> tried that too
<irated> it doesnt like the embedded attribute
<irated> returns nil class
<matthewd> Oh, right, you're missing the outer hash
go|dfish has quit [Ping timeout: 248 seconds]
<matthewd> The first x.keys is [:"int-ceph1"], not [:labels]
canteen4 has joined #ruby
<elomatreb> You've also got a stray ' in there it seems
cagomez has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
davidmichaelkarr has quit [Quit: Connection closed for inactivity]
<irated> that wasnt there before and it stil does it
kapil___ has quit [Quit: Connection closed for inactivity]
<irated> oh damn
<irated> matthewd: i see what i did
aduabu has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
<irated> well that wasnt it either
<irated> i need to get chef-shell working
ramfjord has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
go|dfish has joined #ruby
ResidentBiscuit has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
uZiel has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
aduabu has joined #ruby
ResidentBiscuit has quit [Ping timeout: 276 seconds]
emilford has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 255 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
runescape07rsps has quit [Read error: Connection reset by peer]
ams__ has quit [Quit: Connection closed for inactivity]
Neo95 has quit [Ping timeout: 248 seconds]
laphoraig92 has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
creshiem has quit [Quit: WeeChat 1.9]
uZiel has joined #ruby
pugcs has joined #ruby
t-recx has quit [Quit: t-recx]
canteen4 has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
frozengeek has quit [Quit: frozengeek]
aduabu has joined #ruby
kies has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
goyox86 has joined #ruby
canteen4 has joined #ruby
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
jordanm has quit [Quit: Konversation terminated!]
canteen4 has quit [Ping timeout: 248 seconds]
gothicsouth has joined #ruby
enterprisey has joined #ruby
canteen4 has joined #ruby
subrat has joined #ruby
lacuna has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
bdnelson has quit [Quit: Computer has gone to sleep.]
phinxy has joined #ruby
m27frogy has quit [Ping timeout: 248 seconds]
lacuna has quit [Client Quit]
uZiel has quit [Ping timeout: 268 seconds]
aduabu has joined #ruby
m27frogy has joined #ruby
bdnelson has joined #ruby
benlieb has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
lacuna has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
CrazyEddy has joined #ruby
orbyt_ has joined #ruby
harai has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
hutch34 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
Neo95 has joined #ruby
uZiel has joined #ruby
aduabu has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
bronson has joined #ruby
subrat has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Quit: I quit]
dlitvak has quit [Quit: Connection closed for inactivity]
bronson has quit [Ping timeout: 255 seconds]
Neo95 has quit [Ping timeout: 260 seconds]
korzybski has quit [Quit: korzybski]
graft has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
sspreitz has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
carnegie has quit [Remote host closed the connection]
haylon has joined #ruby
bdnelson has quit [Quit: Textual IRC Client: www.textualapp.com]
carnegie has joined #ruby
milardovich has quit []
aduabu has joined #ruby
carnegie has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 255 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
lacuna has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
subrat has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
gix has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 252 seconds]
mim1k has joined #ruby
aduabu has joined #ruby
enterprisey has quit [Quit: Leaving]
alfiemax has joined #ruby
phinxy has quit [Read error: Connection reset by peer]
phinxy has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
gix has joined #ruby
anisha_ has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
subrat has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
subrat has joined #ruby
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
hutch34 has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
haylon has quit [Read error: Connection reset by peer]
aduabu has joined #ruby
kapil___ has joined #ruby
gusrub has joined #ruby
gnufied has quit [Ping timeout: 276 seconds]
gusrub has quit [Client Quit]
canteen4 has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
harai has quit [Ping timeout: 276 seconds]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 255 seconds]
umaaji has quit [Quit: Leaving...]
canteen4 has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
aduabu has quit [Ping timeout: 240 seconds]
harai has joined #ruby
aduabu has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
Defenestrate has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
lacuna has joined #ruby
aduabu has joined #ruby
goyox86 has quit [Quit: goyox86]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
sagax has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
enterprisey has joined #ruby
kreantos has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
kreantos has quit [Ping timeout: 260 seconds]
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
agent_white has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
Dry_Lips has quit [Ping timeout: 252 seconds]
certhird has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
gothicsouth has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
<zenspider> rawr
nofxx has quit [Ping timeout: 248 seconds]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
aduabu has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
uZiel has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
canteen4 has joined #ruby
ramfjord has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
<agent_white> rhar
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
kies has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
nofxx has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
ta_ has quit [Remote host closed the connection]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
inoperable has quit [Quit: user rectified]
in0perable has joined #ruby
segy has quit [Ping timeout: 246 seconds]
_aeris_ has quit [Ping timeout: 268 seconds]
segy has joined #ruby
_aeris_ has joined #ruby
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
certhird has quit [Ping timeout: 260 seconds]
canteen4 has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
Bock has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
phinxy has quit [Read error: Connection reset by peer]
aduabu has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
ramfjord has joined #ruby
canteen4 has joined #ruby
alfiemax has quit [Remote host closed the connection]
aduabu has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
oleo has quit [Quit: irc client terminated!]
P1ro has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
enterprisey has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
ramfjord has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
canteen4 has joined #ruby
deepthought42 has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 248 seconds]
gothicsouth has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
alfiemax has joined #ruby
aduabu has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
nupizdets has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
jashmatthews has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
enterprisey has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
jashmatthews has quit [Read error: Connection reset by peer]
jashmatthews has joined #ruby
roshanavand has joined #ruby
Neo95 has joined #ruby
bronson has joined #ruby
alex`` has joined #ruby
ramfjord has joined #ruby
canteen4 has joined #ruby
jashmatt_ has joined #ruby
jashmatthews has quit [Read error: Connection reset by peer]
Neo95 has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 255 seconds]
jashmatt_ has quit [Client Quit]
aduabu has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
rabajaj has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
canteen4 has joined #ruby
ur5us has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
sleetdrop has quit [Remote host closed the connection]
aduabu has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.93 [Firefox 55.0.2/20170814142917]]
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 55.0.2/20170814142917]]
Azure|dc has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
Azure has quit [Ping timeout: 246 seconds]
canteen4 has joined #ruby
enterprisey has quit [Quit: Leaving]
pugcs has quit [Quit: pugcs]
Ltem has joined #ruby
aduabu has quit [Ping timeout: 264 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
Mortomes|Work has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
lacuna has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
gothicsouth has joined #ruby
aduabu has joined #ruby
ResidentBiscuit has joined #ruby
uZiel has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
conta has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
bigkevmcd has joined #ruby
<imode> well. I just rolled my own wrapper for several redis types in ruby. I love this language.
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
TomyWork has joined #ruby
harai has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
kalyan57 has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
canteen4 has joined #ruby
subrat has quit [Quit: Textual IRC Client: www.textualapp.com]
aduabu has quit [Ping timeout: 264 seconds]
aduabu has joined #ruby
andikr has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
lxsameer has joined #ruby
alibby1 has joined #ruby
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alibby has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
jinie has quit [Ping timeout: 276 seconds]
ShekharReddy has joined #ruby
harfangk has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
lacuna has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
jinie has joined #ruby
moei has joined #ruby
gothicsouth has joined #ruby
phaul has joined #ruby
waveprop has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
jaruga has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
waveprop has joined #ruby
aufi has joined #ruby
kreantos has joined #ruby
kreantos has quit [Remote host closed the connection]
kreantos has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
samlisl_ has quit [Ping timeout: 276 seconds]
sysvalve has joined #ruby
aduabu has joined #ruby
claudiuinberlin has joined #ruby
paranoicsan has joined #ruby
alex`` has quit [Ping timeout: 276 seconds]
canteen4 has quit [Ping timeout: 264 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
mark_66 has joined #ruby
canteen4 has joined #ruby
anisha__ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
kapil___ has joined #ruby
<nofxx> imode, two seriously fun things to work...ruby and redis ;)
canteen4 has quit [Ping timeout: 252 seconds]
bladdezz has quit [Ping timeout: 255 seconds]
anisha_ has quit [Ping timeout: 252 seconds]
<imode> I have never felt this kind of freedom with a language before! it's exciting.
waveprop has quit [Ping timeout: 260 seconds]
gr33n7007h is now known as al2o3-cr
Ropeney has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Silthias has joined #ruby
<aduabu> speaking of redis .. I tried to cache remote api response with redis, but it keep hitting the api source each time I refresh, I was hoping it would be the less expensive option.. any ideas what I'm doing wrong
ana_ has joined #ruby
canteen4 has joined #ruby
marr has joined #ruby
ur5us has joined #ruby
bweston92 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
canteen4 has quit [Ping timeout: 260 seconds]
claudiuinberlin has joined #ruby
<dminuoso> nofxx: Only one of these two is fun.
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
canteen4 has joined #ruby
<nofxx> dminuoso, hehe, ok, whatabout using redis with ruby?
claudiuinberlin has quit [Client Quit]
<dminuoso> nofxx: If Salvatore wanted you, he would have given you native Ruby bindings. ;p
mikecmpbll has joined #ruby
Burgestrand has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
antgel has joined #ruby
deepthought42 has quit []
imode has quit [Ping timeout: 252 seconds]
frozengeek has joined #ruby
claudiuinberlin has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
biberu has joined #ruby
<nofxx> dminuoso, haha, we get close with hiredis, but, at least there's no python native bindings =P
<nofxx> heh, but maybe I'm just washing my dirties with it here, loose some time trying to run some stuff lately
guille-moe has joined #ruby
ams__ has joined #ruby
frozengeek has quit [Remote host closed the connection]
frozengeek has joined #ruby
aduabu has joined #ruby
dionysus69 has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
aduabu has quit [Ping timeout: 255 seconds]
waveprop has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Quit: dionysus69]
harfangk has quit [Ping timeout: 255 seconds]
Guest8586 has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cope has joined #ruby
dionysus69 has joined #ruby
Cope is now known as Guest38132
nofxxx has joined #ruby
tomphp has joined #ruby
cagomez has joined #ruby
claudiuinberlin has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Quit: Closing time!]
cagomez has quit [Ping timeout: 240 seconds]
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has quit [Quit: Textual IRC Client: www.textualapp.com]
nupizdets has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
lxsameer has joined #ruby
jameser has joined #ruby
cdg has joined #ruby
skweeke has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 246 seconds]
cdg has quit [Ping timeout: 246 seconds]
frozengeek has quit [Quit: frozengeek]
mtkd has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
mim1k has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
harfangk has joined #ruby
dangerousdave has joined #ruby
perlun has joined #ruby
<perlun> Hi, I needed to recompile my Ruby from source to debug a memory leak in my application/some 3rd party dependency. However, the version I compiled gives a warning every time on boot:
<perlun> <main>: warning: pthread_create failed for timer: Invalid argument, scheduling broken
dionysus69 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<perlun> This is running on an Ubuntu 16.04 VM with VirtualBox on Vagrant. On my host macOS machine, it all works fine, compiled with the same flags. I have installed all the build dependencies.
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
paranoicsan is now known as paranoicsan[Away
claudiuinberlin has joined #ruby
paranoicsan[Away is now known as paranoicsan
charliesome has joined #ruby
<Pateros> your os sounds fucked
<Pateros> try spawn a new VM. do a sanity check that pthreads actually work. then recompile ruby.
tvw has joined #ruby
<Pateros> otherwise. if it keeps happening, then i think you'll have to isolate the problem with a ruby script, and find out why it is happening.
charliesome has quit [Client Quit]
<matthewd> perlun: Are you compiling from scratch? Nothing that could be leaking through from your macOS build?
jottr has joined #ruby
Defenestrate has quit [Quit: This computer has gone to sleep]
frozengeek has joined #ruby
Puffball has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
wogi has joined #ruby
Puffball has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
Burgestrand has joined #ruby
brent__ has joined #ruby
antgel has quit [Remote host closed the connection]
jaruga_________ has joined #ruby
rgr has quit [Quit: rgr]
Defenestrate has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
jaruga has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has quit [Read error: Connection reset by peer]
pandaant has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
phaul has quit [Ping timeout: 248 seconds]
lasey has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
gixxer1k has joined #ruby
<perlun> Pateros: thanks. I get it when I run `ruby -v` or similar trivial commands, so yes, something with pthreads seem seriously broken.
<perlun> matthewd: I was suspecting that also, and I did initially use the same working copy. But I've wiped it afterwards and unpacked the tar.gz from scratch
<matthewd> Try compiling from `apt-get source` instead, maybe?
ur5us has joined #ruby
<perlun> matthewd: could do, but it will give me a 2.3.0 instead of a 2.4.1
Serpent7776 has joined #ruby
<matthewd> Yeah, I'd just be looking for a known-good baseline, to bound the search space in finding how the two differ
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
<perlun> matthewd: good point
tvw has quit [Ping timeout: 240 seconds]
<matthewd> (so assuming that's okay, I guess my next step would be a clean build from a 2.3.0 tarball, for example -- even though that's clearly not directly useful for your end-goal)
paranoicsan is now known as paranoicsan[Away
jaruga__________ has joined #ruby
jaruga_________ has quit [Ping timeout: 248 seconds]
<perlun> matthewd: yes, will try that. I think I'll grab it from git instead, so I can easily switch between the releases also.
<perlun> thanks for the suggestion
mim1k has quit [Ping timeout: 240 seconds]
bladdezz has joined #ruby
tomphp has joined #ruby
sagax has joined #ruby
charliesome has joined #ruby
tomphp has quit [Client Quit]
phaul has joined #ruby
canteen4 has joined #ruby
sami has quit [Quit: Lost terminal]
tomphp has joined #ruby
Guest38132 is now known as Cope
aduabu has quit [Ping timeout: 246 seconds]
Cope is now known as Guest51959
Neo95 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
Guest51959 has quit [Quit: leaving]
paranoicsan[Away is now known as paranoicsan
bronson has joined #ruby
aduabu has joined #ruby
sepp2k has joined #ruby
Neo95 has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Quit: Closing time!]
bronson has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
senape has joined #ruby
canteen4 has joined #ruby
Ltem has quit [Quit: Leaving]
senape has quit [Quit: Leaving]
aduabu has quit [Ping timeout: 276 seconds]
hfp_work has quit [Quit: bye]
aduabu has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
hfp_work has joined #ruby
<jokke> how can i get a very large integer. like Float::INFINITY
canteen4 has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
<matthewd> jokke: If you want infinity, the float might work
<dminuoso> jokke: Whats your goal?
mim1k has joined #ruby
<matthewd> jokke: If you just want a large number.. 10**[some number] ?
<jokke> i'm setting a limit to a database query
<Pateros> Float::INFINITY is beyond large. it has no finish. be ware of that or you'll just sit looking at infinite loops all day.
<jokke> or rather "unsetting" it
alfiemax has quit [Remote host closed the connection]
<dminuoso> jokke: Ah, so you need some large number that is effectively "infinite" as an upper boundary?
<matthewd> jokke: nil?
<jokke> ah
<jokke> 0
<jokke> perfect
<jokke> A limit() value of 0 (i.e. .limit(0)) is equivalent to setting no limit.
<jokke> rtfm helps
Burgestrand has joined #ruby
<ljarvis> was this an ActiveRecord question or something? this has nothing to do with Ruby tbh
* dminuoso stabs ljarvis
<Pateros> dunno of `limit` method in ruby, so probably AR question
<ljarvis> the canonical way to remove an existing limit in AR is .limit(nil). You don't actually want a LIMIT to be added to the SQL, even if it's 0
<matthewd> ljarvis: It was a perfectly reasonable ruby question as asked... but it was an XY whose real answer involved the specific API in use
<matthewd> And yeah, not AR because .limit(0) isn't a thing
canteen4 has joined #ruby
<ljarvis> not AR? what?
<Pateros> not supported is prob what he meant
<Pateros> the 0 arg
<ljarvis> it's perfectly supported
<Pateros> ¯\(°_o)/¯
<matthewd> It's obviously not about AR, because jokke said they found .limit(0) was the documented right thing, and that's not true for AR
<ljarvis> but .limit(0) in AR is *not* equivalent to setting no limit
<ljarvis> right
<jokke> it's the native mongodb driver
<Pateros> mongo
<Pateros> yeah
<jokke> yap
<ljarvis> lol
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
anisha__ has quit [Quit: Leaving]
lasey has quit [Read error: Connection reset by peer]
anisha has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
canteen4 has joined #ruby
GodFather has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
tomphp has joined #ruby
cagomez has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
raynold has quit [Quit: Connection closed for inactivity]
aduabu has joined #ruby
cagomez has quit [Ping timeout: 246 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
phaul has quit [Ping timeout: 246 seconds]
cagomez has joined #ruby
Burgestrand has quit [Quit: Closing time!]
aduabu has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
cagomez has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
canteen4 has joined #ruby
hnt5lwbj has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
ShalokShalom has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
hnt5lwbj is now known as ViPojIeE
canteen4 has quit [Ping timeout: 240 seconds]
KeyJoo has joined #ruby
camilasan has quit [Ping timeout: 252 seconds]
guille-moe has quit [Ping timeout: 252 seconds]
mim1k has quit [Ping timeout: 255 seconds]
guille-moe has joined #ruby
apparition47 has joined #ruby
bruno- has joined #ruby
InfinityFye has joined #ruby
canteen4 has joined #ruby
<perlun> matthewd: interesting, I get similar problems with a locally compiled Ruby 2.3.4 now...
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<perlun> I wonder if jemalloc is causing the problems. I'll try compiling without it and see.
<matthewd> perlun: Using your compilation arguments, or the .deb build script?
<perlun> matthewd: in this case, my compilation arguments.
aduabu has quit [Ping timeout: 248 seconds]
<perlun> you're right, I should try the `apt-get source` approach also.
BSAlb has quit [Quit: Leaving]
<matthewd> Yeah, I'd wonder if the package has something special going on -- either a patch, or a specific config parameter
BSaboia has joined #ruby
<Pateros> stock ruby compiles and works fine for me on ubuntu
<matthewd> Either way, if you can find it, you might be able to transplant it to the thing you actually want to build
aduabu has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
camilasan has joined #ruby
aduabu has quit [Ping timeout: 255 seconds]
<perlun> interesting: compiling _with_ jemalloc gives me a Ruby that can't create pthreads. compiling _without_ jemalloc gives me one that works.
tvw has quit []
mim1k has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
xcesariox has joined #ruby
canteen4 has joined #ruby
minimalism has quit [Quit: minimalism]
aduabu has quit [Ping timeout: 255 seconds]
sajbar has joined #ruby
ldnunes has joined #ruby
<sajbar> anybody that can recommend a free IDE that runs on mac, that does basic stuff like autocompletion and stuff like that
aduabu has joined #ruby
lxsameer has quit [Quit: WeeChat 1.7]
cagomez has joined #ruby
canteen4 has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
sysvalve has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
<Pateros> rubymine for "IDE" but sublime text, atom, ..
xcesariox has joined #ruby
alfiemax has quit [Remote host closed the connection]
charliesome has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
znz_jp has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
xcesariox has quit [Read error: Connection reset by peer]
cdg has quit [Ping timeout: 255 seconds]
xcesario_ has joined #ruby
roshanavand has quit [Quit: roshanavand]
t-recx has joined #ruby
znz_jp has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
<perlun> sajbar: Visual Studio Code is what I use.
<perlun> I like its integrated debugger/launcher.
Burgestrand has joined #ruby
gregf_ has joined #ruby
aduabu has joined #ruby
VladGh has quit [Remote host closed the connection]
<sajbar> perlun: thanks, I'll try that one
<Pateros> nice. it works with Ruby and OSX?
aupadhye has joined #ruby
cabotto has joined #ruby
VladGh has joined #ruby
cabotto has quit [Client Quit]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
mim1k has quit [Ping timeout: 276 seconds]
xcesario_ has quit [Quit: Textual IRC Client: www.textualapp.com]
gixxer1k has quit [Quit: Leaving]
gixxer1k has joined #ruby
aduabu has quit [Ping timeout: 264 seconds]
<perlun> Pateros: that's where I use it. I don't use the code completion, but "go to definition" is really great. It messes up if you have methods with the same name in different classes, but it's still a great step in the right direction.
xcesariox has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
ldnunes has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
<Pateros> for sure. great to have more options
synthroid has joined #ruby
aupadhye has quit [Quit: Leaving]
bronson has joined #ruby
knight33 has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
claudiuinberlin has joined #ruby
canteen4 has joined #ruby
paranoicsan is now known as paranoicsan[Away
<perlun> Pateros: vscode is great in that it's truly polyglot. The support for JavaScript and especially TypeScript is great. Also C# support works quite well. Not as great as in regular Visual Studio, but still really really nice for a FOSS application which has only been in development for a couple of years.
bronson has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
<dionysus69> hello all
<dionysus69> how would I coolify this line ? https://gist.github.com/anonymous/598c506dad7145d3bd145b13ef699f25
quiqua has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dionysus69> seems clumsy atm
skweek has joined #ruby
ldnunes has joined #ruby
quiqua has joined #ruby
<Papierkorb> dionysus69: `@selected_id = @property&.town&.id || Town.tbilisi_id` - Not 100% semantically equivalent
<Papierkorb> dionysus69: Or Object#try if you're using ActiveSupport (Rails)
canteen4 has quit [Ping timeout: 260 seconds]
<dionysus69> what does this mean? &
<Papierkorb> `&.` does a nil-check, and only calls the following method if the value is non-nil
<dionysus69> @property.try("town.id") ?
paranoicsan[Away is now known as paranoicsan
<ljarvis> dont use try if you can use &. -- they also do very different things
tomphp has joined #ruby
<dionysus69> oh nice, today I learned something xD
<dionysus69> well ye, & sounds simpler too
<dionysus69> I ll stick with it thanks :)
bruno- has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
alfiemax has joined #ruby
nadir has joined #ruby
sysvalve has joined #ruby
hutch34 has joined #ruby
canteen4 has joined #ruby
<Pateros> perlun: nice
alfiemax has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
simmaniac has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
agimenez has joined #ruby
xcesariox has joined #ruby
sysvalve has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simmaniac has quit [Ping timeout: 248 seconds]
quobo has joined #ruby
agimenez is now known as sysvalve
bruno- has joined #ruby
brent__ has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
aduabu has joined #ruby
bkxd has joined #ruby
tvw has joined #ruby
pandaant has quit [Remote host closed the connection]
vondruch has quit [Remote host closed the connection]
konsolebox has joined #ruby
canteen4 has quit [Ping timeout: 246 seconds]
canteen4 has joined #ruby
sajbar has left #ruby [#ruby]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
canteen4 has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby
canteen4 has joined #ruby
claudiuinberlin has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
Trynemjoel has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
imperator has joined #ruby
tacoboy has quit [Remote host closed the connection]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
ShalokShalom has quit [Remote host closed the connection]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
Neo95 has joined #ruby
kreantos_ has joined #ruby
vondruch has joined #ruby
aduabu has quit [Ping timeout: 264 seconds]
frozengeek has quit [Quit: frozengeek]
mim1k has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
<imperator> al2o3-cr, good morning, have another faraday question for you :)
<imperator> (or anyone who is up for it)
<imperator> I'm using oauth2, which uses faraday under the hood for requests
kreantos has quit [Ping timeout: 255 seconds]
frozengeek has joined #ruby
Neo95 has quit [Ping timeout: 240 seconds]
<imperator> However, oauth2 appears to ignore custom error handlers on failed requests, raising an OAuth2::Error instead of using my custom handler
<imperator> ideas on how to make it use the handler instead?
ResidentBiscuit has joined #ruby
<dminuoso> ast>> def foo(arg); puts 1+1; end
<ruby[bot]> dminuoso: I have parsed your code, the result is at https://eval.in/851906
hutch34 has joined #ruby
alibby1 has quit [Ping timeout: 248 seconds]
alibby has joined #ruby
quiqua has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
aufi has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
quiqua has joined #ruby
Defenestrate has quit [Ping timeout: 255 seconds]
quiqua has quit [Client Quit]
bruno- has quit [Quit: Lost terminal]
Defenestrate has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
canteen4 has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
tvw has quit [Read error: No route to host]
tvw has joined #ruby
bruno- has joined #ruby
jordanm has joined #ruby
nopolitica has joined #ruby
paranoicsan is now known as paranoicsan[Away
skweek has quit [Ping timeout: 255 seconds]
canteen4 has joined #ruby
cdg_ has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 252 seconds]
aduabu has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 260 seconds]
<dionysus69> both this town_district.try(:name).prepend('- ')
paranoicsan[Away is now known as paranoicsan
<dionysus69> and town_district&.name.prepend('- ') give undefinied method for nil class if name is nil
<dionysus69> how do i rescue out of it?!
laphoraig92 has joined #ruby
<dionysus69> ok I ended up with second try but it had some weird syntax if it involves calling a method with an argument
canteen4 has joined #ruby
mson has joined #ruby
nopolitica has quit [Ping timeout: 255 seconds]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
QualityAddict has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
xcesariox has quit [Remote host closed the connection]
aduabu has quit [Ping timeout: 240 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sylario has joined #ruby
Guest76076 has quit [Ping timeout: 248 seconds]
xcesariox has joined #ruby
enterprisey has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
ViPojIeE has quit [Quit: Leaving]
canteen4 has joined #ruby
yaewa has joined #ruby
Klumben has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
ta_ has quit [Remote host closed the connection]
moei has quit [Ping timeout: 240 seconds]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
huyderman has quit [Ping timeout: 246 seconds]
enterprisey has quit [Remote host closed the connection]
Klumben has joined #ruby
Kyoshiro has left #ruby ["Ex-Chat"]
chouhoulis has quit [Ping timeout: 276 seconds]
canteen4 has quit [Ping timeout: 260 seconds]
dyjakan has joined #ruby
huyderman has joined #ruby
rabajaj has quit [Remote host closed the connection]
dyjakan has left #ruby [#ruby]
<perlun> dionysus69: town_district&.name&.prepend('-') should work?
<al2o3-cr> imperator: i've only just seen your question, but i think you might need `raise_errors: false` in your request.
<imperator> al2o3-cr, tried that, it just does nothing then
<dionysus69> perlun: ok I guess that's easier :D
<ule> town_district&.name&.prepend('-') || "-#{town_district}"
<ule> (:
qCMFMcuB has joined #ruby
aufi has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
perlun has quit [Quit: Leaving.]
GodFather has joined #ruby
canteen4 has joined #ruby
ResidentBiscuit has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
aufi has joined #ruby
canteen4 has joined #ruby
runescape07rsps has joined #ruby
jaruga__________ is now known as jaruga
aduabu has quit [Ping timeout: 246 seconds]
<al2o3-cr> *phone call* - hmm, no to sure then. let me take a look
tlaxkit has joined #ruby
alfiemax has joined #ruby
polishdub has joined #ruby
phaul has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
xcesariox has joined #ruby
aduabu has joined #ruby
Rapture has joined #ruby
alfiemax has quit [Ping timeout: 255 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
theunraveler has joined #ruby
samlisl_ has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
facest has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has joined #ruby
faces has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
sysvalve has quit [Ping timeout: 240 seconds]
mikecmpb_ has joined #ruby
sepp2k has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
kalyan57 has quit [Quit: Nettalk6 - www.ntalk.de]
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
TomyWork has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
jaruga has quit [Quit: jaruga]
aduabu has quit [Ping timeout: 240 seconds]
Defenestrate has quit [Quit: This computer has gone to sleep]
claudiuinberlin has joined #ruby
DroidBurgundy has joined #ruby
pandaant has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Remote host closed the connection]
Defenestrate has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
<imperator> al2o3-cr, np, thanks
joast has quit [Quit: Leaving.]
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
Defenestrate has quit [Client Quit]
Defenestrate has joined #ruby
chouhoulis has joined #ruby
Defenestrate has quit [Remote host closed the connection]
TomyWork has joined #ruby
roshanavand has joined #ruby
sepp2k has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skweek has joined #ruby
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
canteen4 has joined #ruby
vondruch has joined #ruby
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
cdg_ has quit [Remote host closed the connection]
rippa has joined #ruby
cdg has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
sysvalve has joined #ruby
t-recx has quit [Quit: t-recx]
ana_ has quit [Quit: Leaving]
simmaniac has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
cdg_ has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
sysvalve has quit [Ping timeout: 240 seconds]
cdg__ has joined #ruby
cdg has quit [Read error: Connection reset by peer]
c__ has joined #ruby
gizmore|2 is now known as gizmore
cdg_ has quit [Ping timeout: 260 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
paranoicsan is now known as paranoicsan[Away
mikecmpb_ has quit [Quit: inabit. zz.]
synthroid has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
canteen4 has joined #ruby
TomyWork has joined #ruby
milardovich has joined #ruby
charliesome has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
synthroid has joined #ruby
qCMFMcuB has quit [Remote host closed the connection]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has quit [Quit: This computer has gone to sleep]
contradictioned has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
synthroi_ has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
conta has quit [Ping timeout: 240 seconds]
synthroid has quit [Ping timeout: 248 seconds]
kreantos_ has quit [Remote host closed the connection]
aufi has quit [Quit: Leaving]
canteen4 has quit [Ping timeout: 276 seconds]
skweek has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
skweek has joined #ruby
cagomez has joined #ruby
alfiemax has quit [Remote host closed the connection]
tenderlo_ has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
bkxd has joined #ruby
tenderlove has joined #ruby
knight33 has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlo_ has joined #ruby
chouhoulis has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
paranoicsan[Away is now known as paranoicsan
andikr has quit [Remote host closed the connection]
mark_66 has quit [Remote host closed the connection]
ShalokShalom has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
pandaant has quit [Remote host closed the connection]
canteen4 has joined #ruby
skweek has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 255 seconds]
aduabu has quit [Ping timeout: 248 seconds]
Trynemjoel has joined #ruby
brent__ has joined #ruby
apparition47 has quit [Quit: Bye]
brent__ has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
brent__ has joined #ruby
dionysus69 has joined #ruby
skweek has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
Ouchy has joined #ruby
armyriad has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
armyriad has joined #ruby
kreantos has joined #ruby
alfiemax has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
Prutheus has joined #ruby
kendocod` has joined #ruby
<Prutheus> Hello! Wanna compile a program with gtk3 via OCRA to an exe. But ocra results with this error: https://bpaste.net/show/5690cdcb840e What does this mean? How can I fix it? If you need any more info, e.g. code or whatever, just tell me please....
kreantos has quit [Ping timeout: 255 seconds]
kendocode has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 255 seconds]
Serpent7776 has quit [Quit: Leaving]
[Butch] has joined #ruby
aduabu has joined #ruby
quobo has joined #ruby
Prutheus has quit [Quit: leaving]
frozengeek has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 246 seconds]
contradictioned has joined #ruby
Ropeney has joined #ruby
hahuang65 has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skweek has quit [Ping timeout: 260 seconds]
paranoicsan has quit [Quit: paranoicsan]
belmoussaoui_ has joined #ruby
Ropeney has quit [Ping timeout: 246 seconds]
frozengeek has joined #ruby
cdg__ has quit [Remote host closed the connection]
cdg has joined #ruby
simmaniac has quit [Quit: wrong network!]
bronson has quit [Ping timeout: 252 seconds]
frozengeek has quit [Client Quit]
GodFather has joined #ruby
Burgestrand has quit [Quit: Closing time!]
canteen4 has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
gusrub has joined #ruby
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
GinoMan has joined #ruby
skweek has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
phaul has joined #ruby
oleo has joined #ruby
conta has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canteen4 has joined #ruby
imperator has quit [Quit: Leaving]
aduabu has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
imperator has joined #ruby
cdg has quit [Remote host closed the connection]
nrdb has joined #ruby
cdg has joined #ruby
aduabu has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wogi has left #ruby [#ruby]
DroidBurgundy has quit [Remote host closed the connection]
astronavt has joined #ruby
astronavt has left #ruby [#ruby]
harfangk has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 246 seconds]
<nrdb> I was wondering why RoR requires so many different applications to deploy. Mina, unicorn, nginx for example. Why so many? What do they do?
canteen4 has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
milardovich has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
canteen4 has joined #ruby
milardovich has joined #ruby
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
DroidBurgundy has joined #ruby
<Papierkorb> Never heard of mina. Unicorn is the http server it uses for the application itself (there are many to choose from), but it's not a separate application to deploy. You don't *need* NGINX or any other front-end loadbalancer, but it's a good idea for many reasons, regardless if you use RoR, or NodeJS, or whatever else is hip right now
aduabu has quit [Ping timeout: 260 seconds]
t-recx has joined #ruby
orbyt_ has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
kies has quit [Ping timeout: 240 seconds]
GinoMan2440 has joined #ruby
kahra has joined #ruby
bruno-_ has joined #ruby
nemesit|znc has left #ruby ["WeeChat 1.5"]
TomyWork has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 240 seconds]
GinoMan has quit [Ping timeout: 276 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lacuna has joined #ruby
<eam> does anyone know why unicorn came about instead of say developing a mod_ruby for apache?
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 252 seconds]
davidmichaelkarr has joined #ruby
aduabu has joined #ruby
davidmichaelkarr has left #ruby [#ruby]
<apeiros> eam: there is (or by now maybe "was") a mod_ruby
<apeiros> it had issues. don't remember which, though, since when I came to ruby, it was already declared dead.
<eam> I guess I should say I wonder why folks didn't develop a new mod_ruby
canteen4 has quit [Ping timeout: 260 seconds]
<apeiros> good question. I have no idea.
<apeiros> history as I remember was: mod_ruby -> mongrel -> mod_passenger -> exploooosion (puma, unicorn, and a couple of others which are already gone again)
minimalism has joined #ruby
kendocod` has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
mtkd has quit [Ping timeout: 240 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
SeepingN has joined #ruby
kendocode has joined #ruby
mtkd has joined #ruby
nopolitica has joined #ruby
robouk has joined #ruby
frozengeek has joined #ruby
AndChat182964 has joined #ruby
<AndChat182964> Anyone looking for assistant?
<AndChat182964> <AndChat182964> I want to learn coding by assisting
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
<havenwood> eam: I think the Passenger folk did too good of a job fixing all the issues that mod_ruby was having. Since they released the Nginx and standalone version too and really-well maintained them nobody else has stepped up to duplicate.
<havenwood> I guess mod_mruby and mruby_ngx are spiritual successors.
<havenwood> I guess Rails was having issues with mod_ruby so Passenger called theirs mod_rails.
Beams has quit [Quit: .]
belmoussaoui__ has joined #ruby
<eam> aha
tomphp has joined #ruby
tomphp has quit [Client Quit]
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
belmoussaoui_ has quit [Ping timeout: 240 seconds]
raynold has joined #ruby
canteen4 has joined #ruby
DroidBurgundy has quit [Ping timeout: 252 seconds]
DroidBurgundy has joined #ruby
zachk has joined #ruby
bronson has joined #ruby
gusrub has quit [Remote host closed the connection]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
jordanm has quit [Ping timeout: 255 seconds]
canteen4 has quit [Ping timeout: 240 seconds]
belmoussaoui__ has quit [Quit: belmoussaoui__]
uZiel has quit [Ping timeout: 268 seconds]
phaul has quit [Ping timeout: 248 seconds]
belmoussaoui__ has joined #ruby
phaul has joined #ruby
imode has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
belmoussaoui__ has quit [Quit: belmoussaoui__]
AndChat182964 has left #ruby ["Leaving"]
gothicsouth has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
milardov_ has joined #ruby
canteen4 has joined #ruby
belmoussaoui has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
aduabu has quit [Ping timeout: 246 seconds]
swills has quit [Remote host closed the connection]
aduabu has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 240 seconds]
moei has quit [Quit: Leaving...]
ShalokShalom has quit [Remote host closed the connection]
belmoussaoui has quit [Quit: belmoussaoui]
kies has joined #ruby
belmoussaoui has joined #ruby
canteen4 has joined #ruby
swills has joined #ruby
kahra has quit [Quit: WeeChat 1.9]
aduabu has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
<nrdb> so nginx is a load balancer?
<eam> it's a http server, and most all http servers can be configured to be routers or load balancers
rabajaj has joined #ruby
<eam> in general (and not specific to ruby) you'll have an application server which lets you run a set of worker processes with all your app logic
<havenwood> nrdb: Nginx is an Apache competitor.
<eam> and typically you'll have a smaller, high performance http server in front of that to handle slow clients
<havenwood> and static file serving
conta has quit [Ping timeout: 276 seconds]
<eam> yeah
conta has joined #ruby
<havenwood> nrdb: Unicorn, for example, has a really rough time handling slow clients. So you reverse proxy from Nginx to Unicorn, and problem solved.
<eam> workers are typically memory bound; you don't want to spend a heavy worker process doing things like handshaking over the network, transmitting data, etc
Rapture has joined #ruby
<havenwood> You could instead use Rainbows! to handle slow clients in Ruby in front of Unicorn, but Apache and Nginx and battle-tested and performant.
ur5us has quit [Ping timeout: 248 seconds]
zenit has quit [Remote host closed the connection]
<havenwood> nrdb: You *can* just serve Puma up on port 443, but for reasons above it's much more popular to reverse proxy to the Ruby webserver port or more often socket.
sekmo has joined #ruby
zenit has joined #ruby
<havenwood> nrdb: Run Ruby app on a socket, point Nginx or Apache to it as a reverse proxy.
zenit has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
conta has quit [Ping timeout: 240 seconds]
skweek has quit [Ping timeout: 276 seconds]
<nrdb> so you have a webserver (nginx or apache) point to another app that is actually the RoR server?
<havenwood> nrdb: yup
DroidBur_ has joined #ruby
<havenwood> nrdb: Unicorn listens on a socket: listen "#{shared_dir}/sockets/unicorn.sock"
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> nrdb: And Nginx reverse proxies to it: location @app { proxy_pass http://app; ... }
jordanm has joined #ruby
zenit has joined #ruby
karunamon has quit [Ping timeout: 248 seconds]
DroidBurgundy has quit [Ping timeout: 240 seconds]
<nrdb> how is unicorn different from the "rails server"?
<havenwood> nrdb: Rails ships with Puma as the default server.
<nrdb> oh
<havenwood> nrdb: Just `rails s` on a default Rails 5 app will be Puma on port 3000.
<nrdb> is unicorn better than puma?
banisterfiend has joined #ruby
<havenwood> nrdb: If you swap out Puma for Unicorn in your Gemfile and bundle, it'd be Unicorn.
<havenwood> nrdb: No, not particularly. They're both very nice.
workmad3 has quit [Ping timeout: 240 seconds]
<havenwood> nrdb: I'd suggest sticking with the Rails default stack until you have a reason to switch - unless just experimenting, in which case carry on!
<havenwood> nrdb: They've chosen a nice selection.
* havenwood ponders whether to resist omakase
* havenwood caves
vondruch has quit [Quit: vondruch]
<havenwood> TL;DR: Here's a dramatic reading of the above: https://www.youtube.com/watch?v=E99FnoYqoII
vondruch has joined #ruby
marxarelli|afk is now known as marxarelli
gusrub has joined #ruby
orbyt_ has joined #ruby
mostlybadfly has joined #ruby
harai has joined #ruby
<nrdb> havenwood, so if I understand this... we have nginx filter out static pages requests and just offload the RoR stuff to another program for the heavy lifting?
<havenwood> nrdb: Yes, the typical setup is that Nginx/Apache serve static files directly without pestering the Rails app.
DroidBur_ has quit [Remote host closed the connection]
lxsameer has joined #ruby
<havenwood> nrdb: Then app traffic is reverse proxied to the Rails app directly.
TomyLobo has joined #ruby
<havenwood> nrdb: You can have Rails serve static files, but it's very common to offload that responsibility.
<havenwood> nrdb: You can set it either way depending on the Rails environment in your Rails environment configuration.
gusrub has quit [Remote host closed the connection]
<havenwood> config/environments/*
<havenwood> nrdb: The #RubyOnRails channel can go into detail on configuration options.
<nrdb> havenwood, ok I understand that. so why use something different from the default puma server?
<havenwood> nrdb: Apache/Nginx can handle more static file load with less memory and it's easy to configure.
<havenwood> nrdb: It's not necessary.
imode has quit [Ping timeout: 246 seconds]
imode has joined #ruby
gusrub has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 255 seconds]
DroidBurgundy has joined #ruby
milardovich has joined #ruby
Ltem has joined #ruby
sekmo has quit [Quit: Textual IRC Client: www.textualapp.com]
rabajaj has quit [Quit: Leaving]
swills has quit [Remote host closed the connection]
harai has quit [Ping timeout: 252 seconds]
Trynemjoel has quit [Ping timeout: 276 seconds]
milardov_ has quit [Ping timeout: 248 seconds]
kendocode has quit [Remote host closed the connection]
lacuna has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
aduabu has joined #ruby
swills has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
belmoussaoui has quit [Ping timeout: 240 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
uZiel has joined #ruby
alfiemax has joined #ruby
Guest40 has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
workmad3 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
KeyJoo has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
KeyJoo has joined #ruby
milardovich has quit [Remote host closed the connection]
FrostCandy has joined #ruby
lxsameer has joined #ruby
KeyJoo has quit [Read error: Connection reset by peer]
jinie has quit [Ping timeout: 260 seconds]
Guest40 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jinie has joined #ruby
synthroid has joined #ruby
synthroi_ has quit [Read error: Connection reset by peer]
yqt has joined #ruby
belmoussaoui has joined #ruby
Guest40 has joined #ruby
Ouchy`w has joined #ruby
Bock has quit [Ping timeout: 240 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
GodFather has joined #ruby
<nrdb> havenwood, thanks for all the info
Ouchy has quit [Ping timeout: 246 seconds]
Ouchy has joined #ruby
Ouchy has joined #ruby
Ouchy has quit [Changing host]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
hanmac has joined #ruby
canteen4 has joined #ruby
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
belmoussaoui has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
milardovich has joined #ruby
bauruine has quit [Quit: ZNC - http://znc.in]
aduabu has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
ShalokShalom has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
Ouchy`w has quit [Ping timeout: 240 seconds]
Ouchy`w has joined #ruby
Ouchy has quit [Ping timeout: 240 seconds]
Ouchy has joined #ruby
Ouchy has joined #ruby
Ouchy has quit [Changing host]
aduabu has quit [Ping timeout: 276 seconds]
bauruine has joined #ruby
jjaii9 has joined #ruby
high_fiver has joined #ruby
alfiemax has joined #ruby
aduabu has joined #ruby
gregf_ has quit [Ping timeout: 260 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
yosafbridge has quit [Quit: Leaving]
cagomez has quit [Remote host closed the connection]
aduabu has joined #ruby
jobewan has joined #ruby
Ouchy`w has quit []
jobewan has quit [Client Quit]
uZiel has quit [Ping timeout: 268 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
ledestin has joined #ruby
canteen4 has joined #ruby
raul782 has joined #ruby
aduabu has quit [Ping timeout: 252 seconds]
yosafbridge has joined #ruby
phaul has joined #ruby
runescape07rsps has quit [Ping timeout: 246 seconds]
MrMorkel has joined #ruby
<MrMorkel> I try to mock Stripe::Customer.retrieve with mocha. Is this possible?
<ule> MrMorkel: VCR would be a good fit for that
<MrMorkel> ule: Thanks i use vcr. I thought it better to mock some requests
milardovich has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
synthroid has quit []
aduabu has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
InfinityFye has quit [Quit: Leaving]
WeiJunLi has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
uZiel has joined #ruby
high_fiver has quit [Ping timeout: 252 seconds]
harai has joined #ruby
canteen4 has joined #ruby
perniciouscaffei has joined #ruby
knight33 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
MrMorkel has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
<eam> I don't suppose anyone's tried the various ruby netlink bindings and has a favorite to recommend?
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
<al2o3-cr> eam: only one i know of is https://github.com/kleymenus/netlink
canteen4 has joined #ruby
<al2o3-cr> although i've never used it, so can't say anything about it :(
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
GinoMan1423 has joined #ruby
<al2o3-cr> it must be possible to use netlink sockets from stdlib no?
canteen4 has quit [Ping timeout: 248 seconds]
belmoussaoui has quit [Read error: Connection reset by peer]
gixxer1k1k has joined #ruby
GinoMan2440 has quit [Ping timeout: 240 seconds]
<eam> I can definitely create a socket with vanilla ruby Socket stuff, but what I really want to avoid implementing is the message format
<eam> am currently giving the above netlink gem a spin, will see what works - I saw a couple others as well
tvw has quit [Remote host closed the connection]
<eam> it built as soon as I fixed this silly error: ERROR: While executing gem ... (Gem::InvalidSpecificationException) "FIXME" or "TODO" is not a description
AssembledBits has joined #ruby
<eam> s/TODO//g
gixxer1k has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<al2o3-cr> yeah, i'd imagine it's a pain to implement tbh
kapil___ has joined #ruby
<al2o3-cr> netlinks is the future
gusrub has quit [Remote host closed the connection]
Neo95 has joined #ruby
vondruch has quit [Quit: vondruch]
<al2o3-cr> i was going to create a my first gem soley for iptables using netlinks, then got lazy :P
<eam> I want to extract some taskstats data but I can't find any userland tools to do so
milardovich has joined #ruby
<al2o3-cr> something i've not dug into tbf
<eam> me either!
vondruch has joined #ruby
canteen4 has joined #ruby
Neo95 has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 260 seconds]
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
gusrub has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rapture has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
mikecmpbll has joined #ruby
nopolitica has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
aduabu has quit [Ping timeout: 255 seconds]
eckhardt has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kies has quit [Ping timeout: 240 seconds]
gothicsouth has joined #ruby
raul782 has quit [Remote host closed the connection]
<imode> man, ruby code really does devolve into DSLs.
emilford has joined #ruby
belmoussaoui has joined #ruby
<imode> use_if? (is_type? :list and condition) do |db|\n yield db, @key;\n end
<imode> checks to see if the desired key we latched onto in Redis exists, has type 'list', and the condition afterwards is true. if so, it yields the db handle as well as the key associated with the list.
<imode> this is such a fun language.
Rapture has joined #ruby
<SeepingN> heck yeah
<havenwood> gem update --system
<SeepingN> but unlike other 1 liners it isn't a complete disaster to decipher
<imode> no kidding. feels very forth-like without the mess.
cagomez has joined #ruby
AssembledBits has quit [Quit: Textual IRC Client: www.textualapp.com]
emilford has quit [Ping timeout: 248 seconds]
<Pateros> heh. rubygems was thoroughly owned
kies has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
belmoussaoui_ has joined #ruby
<SeepingN> yeah. I suppose I should show this to our IT guy
<SeepingN> then I'm sure it will break something, somehow
uZiel has quit [Ping timeout: 268 seconds]
korzybski has joined #ruby
phinxy has joined #ruby
<imode> welp, just upgraded. thanks for the PSA!
Chasetopher has joined #ruby
perniciouscaffei has quit [Read error: Connection reset by peer]
aduabu has joined #ruby
harai has quit [Ping timeout: 240 seconds]
haylon has joined #ruby
canteen4 has quit [Ping timeout: 246 seconds]
canteen4 has joined #ruby
claudiuinberlin has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
WeiJunLi has quit [Remote host closed the connection]
kreantos has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
kt has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
claudiuinberlin has quit [Client Quit]
Chasetopher has quit [Quit: Page closed]
canteen4 has quit [Ping timeout: 240 seconds]
milardov_ has joined #ruby
Mrgoose2 has quit [Read error: Connection reset by peer]
kreantos has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
amosbird has quit [Ping timeout: 264 seconds]
belmoussaoui_ has quit [Quit: belmoussaoui_]
amosbird has joined #ruby
belmoussaoui has joined #ruby
tlaxkit has quit [Quit: Saliendo...]
raul782 has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
raul782 has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
runescape07rsps has joined #ruby
canteen4 has joined #ruby
__Yiota has joined #ruby
haylon has quit [Remote host closed the connection]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
canteen4 has joined #ruby
biberu has quit []
jjaii9 has quit []
milardov_ has quit []
aduabu has quit [Ping timeout: 276 seconds]
aduabu has joined #ruby
canteen4 has quit [Ping timeout: 276 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
ramfjord_ has joined #ruby
Neo95 has joined #ruby
bkxd has joined #ruby
chouhoul_ has joined #ruby
jamiejackson has joined #ruby
ramfjord_ has quit [Ping timeout: 248 seconds]
Ouchy`w has joined #ruby
ramfjord_ has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
chouhoul_ has quit [Remote host closed the connection]
Neo95 has quit [Ping timeout: 248 seconds]
GinoMan1423 has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
Ouchy has quit [Ping timeout: 248 seconds]
Ouchy`w has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
gothicsouth has joined #ruby
ramfjord_ has quit [Ping timeout: 248 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
ldnunes has quit [Quit: Leaving]
ramfjord has joined #ruby
sepp2k has quit [Quit: Leaving.]
canteen4 has joined #ruby
justinweiss has joined #ruby
milardovich has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 248 seconds]
workmad3 has quit [Quit: Lost terminal]
ramfjord has joined #ruby
Neo95 has joined #ruby
aduabu has joined #ruby
gixxer1k1k has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
Ltem has quit [Quit: Leaving]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
GodFather has quit [Quit: Ex-Chat]
Neo95 has quit [Ping timeout: 246 seconds]
GodFather has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
ramfjord has joined #ruby
ramfjord_ has joined #ruby
waveprop has quit [Changing host]
waveprop has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
mson has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
sagax has quit [Ping timeout: 240 seconds]
marxarelli is now known as marxarelli|afk
aduabu has joined #ruby
carnegie has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
bkxd has quit [Ping timeout: 248 seconds]
canteen4 has quit [Ping timeout: 252 seconds]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest40 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
__Yiota has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
kt has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
raul782 has joined #ruby
jamiejackson has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
<Pateros> @havenwood i think what DHH article misses is the prominence making a gem 'default' can mean. if it's only one line to remove, it's only one line to add, without promoting it as 'standard'.
juria_roberts has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
<Pateros> basically adding a default gem to rails stock gemfile can make it part of rails culture, and other options are given less thought. that's my experience. so it's not as black and white as it is being painted imo
phaul has quit [Ping timeout: 252 seconds]
tenderlove has joined #ruby
milardov_ has joined #ruby
dviola has joined #ruby
raul782 has quit []
tenderlo_ has quit [Ping timeout: 252 seconds]
harai has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
ResidentBiscuit has quit [Quit: Critical Miss]
aduabu has quit [Ping timeout: 255 seconds]
<Pateros> it's more like, "here's 5 diners. eat with them. none of them want to do anything non-standard. so eat this frog, like it, and don't complain".
<zenspider> yes... that's exactly what it is like...
Neo95 has joined #ruby
bkxd has joined #ruby
pugcs1 has joined #ruby
Neo95 has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
DroidBurgundy has quit [Remote host closed the connection]
DroidBurgundy has joined #ruby
<Pateros> in a sense. i've worked with a lot of developers who are against moving to non-standard or unofficially recommended tools, even when there's merit to do so. the exception seems to be rspec.
weaksauce has joined #ruby
aduabu has joined #ruby
GodFather has quit [Quit: Ex-Chat]
<Pateros> that's why coffeescript in particular was painful. but.. webpack in rails5. so at least there's that. hopefully ES6 will be a default in the future.
theunraveler has quit []
mim1k has joined #ruby
enterprisey has quit [Quit: Leaving]
__Yiota has joined #ruby
cdg has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
frozengeek has quit [Quit: frozengeek]
GinoMan has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 246 seconds]
aduabu has joined #ruby
<Pateros> btw context is http://david.heinemeierhansson.com/2012/rails-is-omakase.html frog analogy isn't random :)
canteen4 has quit [Ping timeout: 260 seconds]
<imode> if people have a problem with rails, go to sinatra.
<imode> if people have a problem with sinatra.. use cgi. ;)
<Pateros> sure. if the world was that flexible it'd be great. in a lot of cases there isn't a choice other than rails
GinoMan has quit [Quit: Leaving]
<imode> if you're working on a project that someone else has created, sure.
okdas has quit [Ping timeout: 246 seconds]
<imode> the same is true for nearly every project under someone else's hands, regardless of language.
<Pateros> idk what it is, but basically some times, rails is too much. so you might suggest, hey let's do this part as a rack app and mount it. but response is "controller seems more standard and straight fwd". which probably true. it's just always a battle to take advantage of this 'modular' rails.
okdas has joined #ruby
okdas has joined #ruby
okdas has quit [Changing host]
__Yiota has quit [Max SendQ exceeded]
<Pateros> no. i don't think it's just that. it's just not a common practice to mount rack apps or sinatra apps inside rails in my experience.
<imode> I always have an uneasy feeling about the batteries included frameworks. too many assumptions are made.
<imode> it's a bit like an everything bagel. there's a certain kind of "everything" that's expected.
__Yiota has joined #ruby
<Pateros> rails doesn't try to be anything other than opinionated and it provides great stack for a lot of web apps. the idea that it is a modular framework is bit of a myth though given how rare it is to have a different opinion than the Rails one (it seems).
<imode> you can draw parallels to django, although from experience the two share a myriad of differences.
<Pateros> yea. not sure it's even a problem that needs solved.
gizmore has quit [Ping timeout: 248 seconds]
<imode> I'm glad I have the opportunity to be picky.
zachk has quit [Quit: Leaving]
<Pateros> nothing's perfect right. it's good enough for most things.
milardovich has joined #ruby
shanecav has joined #ruby
ensyde has joined #ruby
FrostCandy has quit []
milardov_ has quit [Ping timeout: 240 seconds]
aclark has quit [Remote host closed the connection]
moei has joined #ruby
nopolitica has joined #ruby
aclark has joined #ruby
<imode> jesus. david really is in his own little world.
<imode> "your opinion doesn't matter." is what it all boils down to.
<imode> that's kind of sickening but also something I rarely see outside of C developers.
<zenspider> Pateros: except your entire analogy is flawed... "here's 5 people. eat with them. enjoy it"... "um... no... I'll have a burger, thanks"
<Pateros> did you read the article?
<Pateros> because that's the whole premise of it
<zenspider> yes. FIVE years ago. have you ever used rails? has it ever really stopped you from using rspec or anything else?
<zenspider> if only... testing would be faster and better if they did prevent it...
<Pateros> okay. so. then the article is also flawed, because programming in rails is rarely a solo task. one person can't eat a burger, and another a frog. you both have to share the same plate. yes i have used rails.
<imode> well, okay. are you project head?
<Pateros> no
<imode> are you working on an already-established codebase?
<imode> that has some years behind it?
<Pateros> i dont work with rails right now, but in all cases where i did, yeah
<imode> do you have the budget for a rewrite?
<imode> if not, honestly, sticking with "house style" is what's called for, regardless of anybody's opinion, even management's.
<Pateros> hm. it's not really relevant. the argument that "just change 1 line if you don't like it" is not black and white, is my point.
<matthewd> On an established codebase, it wouldn't matter whether Rails was batteries-in: the project would have already picked its batteries / set the menu, so you're still stuck trying to push back against already-made decisions.
<imode> ^
<imode> probably to the detriment of yourself.
<zenspider> not probably
marxarelli|afk is now known as marxarelli
<imode> I would really not like to move an entire behemoth with personal preference and a crowbar. :P
alfiemax has quit [Remote host closed the connection]
<Pateros> it's going off point. the point is modular rails is rarely took advantage of. defaults matter a lot.
alfiemax has joined #ruby
<matthewd> A reasonable number of people use Mongo etc, and some use Sequel -- though less nowadays
<matthewd> Various non-erb template options are quite popular
TomyLobo has quit [Ping timeout: 264 seconds]
<matthewd> Rspec, as already mentioned
<Pateros> true on erb
Azure|dc has quit [Quit: Oops.]
cdg has joined #ruby
<matthewd> ("less nowadays" isn't an indicator of declining Sequel popularity, to be clear: just IMO Sequel users are increasingly less likely to use Rails at all, as various alternatives are on the rise)
<matthewd> I'm not really sure which point of modularity you think isn't being used
<Pateros> are they? do they receive adoption in professional space too? it seems strange all frameworks aren't mixed and matched frequently given how you can mount them from Rails, and prob vice versa (never tried)
alfiemax has quit [Ping timeout: 248 seconds]
<Pateros> hm. i think diverging from the default stack is uncommon, and in that sense isn't modular.
<matthewd> Defaults absolutely matter a lot: that's David's thesis. A lot of the time it's better to just pick one, and if you're going to make an arbitrary choice, better if it's similar to what a bunch of other people are using.
<zenspider> diverging from the default stack is uncommon???
<Pateros> in rails yeah
<zenspider> bullshit
<zenspider> put up numbers and sources
bronson has quit [Remote host closed the connection]
<Pateros> it's based on personal experience.
cdg has quit [Ping timeout: 276 seconds]
<zenspider> the plural of anecdote is not data
<Pateros> ok
<Pateros> do you have stats and data for your bullshit claim?
<Pateros> if you don't sounds like bullshit lol
<matthewd> If modular = multiple equally-distributed choices, then yes I'll grant that Rails isn't that, and we can agree to disagree on that definition instead
<zenspider> first off... I'm not the one making claims w/o proof. burden of proof is on you.
<Pateros> this is a subjective conversation.
<Pateros> no. i'm not making universal claims.
DroidBurgundy has quit [Remote host closed the connection]
<Pateros> i'm responding to an article
<zenspider> https://rubygems.org/gems/rspec 26.9 million downloads since may... you think that's just on developer dependencies on gems? hardly
<eam> I know this isn't what you mean, but an anecdote totally is data when *dis*proving something ;)
<zenspider> eam: only when you're disproving a proof
<eam> totes
<zenspider> :P
<Pateros> eh. rspec isn't the case-in-point of the whole argument. maybe you should take in the context of the whole conversation rather than focus on selective comments and aggressive replies.
<zenspider> way to ignore 26.9 million datapoints. cool. I'm done.
<matthewd> rspec, turbolinks, coffeescript
<Pateros> those are defaults..?
<Pateros> turbolinks+coffee
<Pateros> zenspider: way to ignore the whole conversation, then zone in a single thing, to prove yourself 'right'.
<imode> so heated in here.
<eam> what are we all talking about btw? I lost track of the positions here
* imode grabs a fan.
ams__ has quit [Quit: Connection closed for inactivity]
enterprisey has joined #ruby
<eam> was it something about the ramifications of making components default in rails?
<Pateros> yeah, well. it was in response to http://david.heinemeierhansson.com/2012/rails-is-omakase.html
<zenspider> eam: "diverging from the default stack is uncommon" because something something
<matthewd> Pateros: They're defaults that ~most people turn off
<eam> is this maybe one of those "you're both right" kinda things?
hahuang65 has quit [Ping timeout: 248 seconds]
<imode> it's more like "it's not that important".
<eam> I bet there are some components which are fairly rarely changed and some which are fairly often changed
<Pateros> i'm not trying to be right. zenspider is basically incapaable of conversation where he isn't trying to be an alpha male. he doesn't care for the contents of the discussion as much as how it makes him look.
<matthewd> Pateros: Okay, conversation over
<zenspider> Pateros: you're infringing on troll territory now
<zenspider> I was fine putting you on my /fools list... don't push it
<Pateros> sorry, but that's the impression you gave me. fine to ignore each other too.
<zenspider> kk
<eam> the first time I was asked to work on a rails app it was jruby and sequel and I had a pretty bad time
<zenspider> eam: I bet... the startup time must have been painful
<zenspider> how'd it feel doing rails + sequel tho? (ignoring jruby) I haven't worked on that combo yet
<eam> I have a rule about deviation from the normal stack: Three deviations and you've got better than even odds of running into a bug with a stack interaction that no one's ever seen before
<zenspider> hah. that's a pretty safe bet
Neo95 has joined #ruby
<eam> I really didn't do very much with it, I'm not a web stack person and I just kinda got a maint job for this basic CRUD app. Don't have much feeling beyond "yup, definitely not a web dev"
pugcs1 is now known as pugcs
tacoboy has joined #ruby
<zenspider> haha
<zenspider> (me too)
canteen4 has joined #ruby
frozengeek has joined #ruby
<matthewd> eam: Yeah, that's a good rule -- and may also be where my "there's huge diversity in the choices people make" bias comes from: a good portion of the bugs I see start from people doing something(s) weird
marr123 has joined #ruby
<eam> we found soooo many platform interaction bugs with jruby
marr has quit [Ping timeout: 248 seconds]
<eam> jruby itself? fine. But when 99% of your rubygem authors are writing for mri they're going to make platform assumptions
lacuna has quit [Quit: Textual IRC Client: www.textualapp.com]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo95 has quit [Ping timeout: 260 seconds]
<eam> almost all of them related to either system interactions like forking, or assumptions about GC behavior especially around file descriptor allocations
aduabu has quit [Ping timeout: 240 seconds]
<eam> or (oh god I'm having flashbacks) differences in things like database drivers
<zenspider> eww
conta3 has joined #ruby
<Pateros> lack of fork is what i miss most when using jruby
<eam> I remember when I figured out that ruby -e'loop { File.open "/etc/passwd" }' in mri will run forever, but will raise in jruby
<Pateros> raise when?
laphoraig92 has quit [Ping timeout: 240 seconds]
<eam> in mri there's a guard around EMFILE which forces a blocking GC run when the descriptor table is full - the guard exists wrapped around every descriptor generating syscall
bruno-_ has quit [Ping timeout: 264 seconds]
<eam> but the jvm doesn't provide an interface to the gc such that you can call it and block
<eam> so it's impossible to emulate the behavior -- so it just blows up and raises
milardov_ has joined #ruby
<Pateros> hum
<eam> we'd kinda regularly run into gems where someone provoked the above accidentally, and the impact is masked on mri so no one notices
<eam> same sorta stuff happens when you use any less popular platform, like say doing almost anything on FreeBSD
<Pateros> indeed. jruby can be diffilcult. probably amazing if you're a jvm/java dev though
conta3 has quit [Ping timeout: 248 seconds]
<eam> yeah, the reason we got into jruby is that we have a pretty heavy investment in jvm platform
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ineb has joined #ruby
Sammichmaker has quit [Ping timeout: 248 seconds]
<Pateros> cool. never walked into the jvm sphere. only through jruby. so it felt more like a limited ruby at the time.
milardovich has quit [Ping timeout: 260 seconds]
<eam> I have a similar story about ocaml and shared libraries back when x86_64 was brand new
frozengeek has quit [Quit: frozengeek]
<eam> we had used ocamlopt to build a native object file and link it into a shared object which we'd then call via FFI from perl, python, ruby, etc
s3nd1v0g1us has joined #ruby
<eam> worked fine on i386
s3nd1v0g1us has quit [Max SendQ exceeded]
<eam> did not work on x86_64, segfaults
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
<eam> we eventually discovered that the ocaml native asm emitter used an x86_64 register incorrectly - specifically %r11, which is needed for position independent code
<eam> this is a non-issue if your ocaml object is the executable being run, but it will break if you're building an object file inside a shared object being linked to by something being run
<eam> and apparently we were the only people on earth using ocaml to build shared objects used by other interpreters
knight33 has joined #ruby
<eam> beware oddball platforms
skweek has joined #ruby
<Pateros> languages too 😂
polishdub has quit [Quit: leaving]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
funkytwig has joined #ruby
Pisuke has quit [Ping timeout: 246 seconds]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
<funkytwig> hi, been using the mysql gem and went to ruby 2.4.1 so went to mysql2 but it seems very slow. I have just come across ruby-mysql. So whitch of these do people recoment?
<matthewd> funkytwig: mysql2
aduabu has joined #ruby
<funkytwig> matthewd, thanks, is there something I need to do to make it perform well, it seems VERY slow compared to mysql gen
nowhere_man has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
canteen4 has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
<matthewd> Nothing general that I know of
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
jottr_ has joined #ruby
gothicsouth has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 248 seconds]
canteen4 has joined #ruby
alveric4 has joined #ruby
t-recx has quit [Quit: t-recx]
gizmore has joined #ruby
t-recx has joined #ruby
alveric3 has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 276 seconds]
ShekharReddy has quit [Quit: Connection closed for inactivity]
jottr_ has quit [Ping timeout: 260 seconds]
mson has quit [Quit: Connection closed for inactivity]
rjungemann has quit [Read error: Connection reset by peer]
electrostat has quit [Remote host closed the connection]