jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
Phanes_ is now known as Phanes
coffeecupp has quit [Ping timeout: 240 seconds]
davedev24 has joined #ruby
macsteps has joined #ruby
davedev2_ has joined #ruby
ccooke has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 272 seconds]
saneax is now known as saneax_AFK
DoubleMalt has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
der-landgraf has joined #ruby
Sashimi has joined #ruby
PaulCape_ has quit [Quit: .]
PaulCapestany has joined #ruby
bmurt has joined #ruby
itguru has joined #ruby
Es0teric has joined #ruby
rbennacer has quit [Remote host closed the connection]
nyuszika7h has quit [Ping timeout: 264 seconds]
bauruine has quit [Ping timeout: 264 seconds]
chipotle has joined #ruby
vedu has joined #ruby
bmurt has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
bauruine has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
floatingpoint has quit [Read error: Connection reset by peer]
macsteps has quit [Remote host closed the connection]
roshanavand has quit [Client Quit]
floatingpoint has joined #ruby
macsteps has joined #ruby
nyuszika7h has joined #ruby
dikaio has joined #ruby
pilne has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
PlasmaStar has quit [Read error: Connection reset by peer]
CamonZ has joined #ruby
macsteps has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
saneax_AFK is now known as saneax
calmchaos has quit [Remote host closed the connection]
coffeecupp has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Remote host closed the connection]
marr has quit [Ping timeout: 252 seconds]
JeanCarloMachado has quit [Quit: leaving]
Rodya_ has joined #ruby
JeanCarloMachado has joined #ruby
ghr has joined #ruby
GodFather_ has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cheerio]
fujinuma has joined #ruby
<fujinuma> what happens when define a method in a module?
<fujinuma> module Common; def foo; 'foo
<fujinuma> '; end; end;
arajakul1 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
ramfjord has joined #ruby
roamingdog has joined #ruby
coffeecupp has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
ghr has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
Sucks has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
jaguarmagenta has joined #ruby
memorasus has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
ghr has joined #ruby
jazzonmymind`` has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
iamvery has quit [Read error: Connection reset by peer]
banisterfiend is now known as banisterfiend`
rbennacer has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
blackmesa has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
arajakul1 has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jazzonmymind`` has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
daffy_duck_3 has joined #ruby
chipotle has joined #ruby
kavanagh has joined #ruby
nankyokusei has joined #ruby
dikaio has quit [Quit: Textual IRC Client: www.textualapp.com]
daffy_duck_2 has quit [Ping timeout: 276 seconds]
davedev2_ has quit []
dikaio has joined #ruby
dikaio has quit [Max SendQ exceeded]
fujinuma has left #ruby ["Leaving"]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
ocbtec has quit [Quit: leaving]
ghr has quit [Ping timeout: 240 seconds]
<pilne> asked a rbenv/bundler type question (mostly bundler from what I can tell) in #bundler about an hour ago, may I ask it here?
dikaio has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
al2o3-cr has quit [Ping timeout: 260 seconds]
Xeago_ has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
chipotle_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
chipotle_ has quit [Client Quit]
roamingdog has quit [Ping timeout: 272 seconds]
chipotle has quit [Ping timeout: 240 seconds]
hipertracker has quit [Quit: hipertracker]
der-landgraf has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
bluOxigen has quit [Ping timeout: 258 seconds]
bluOxigen has joined #ruby
nando293921 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Read error: No route to host]
jenrzzz has quit [Ping timeout: 264 seconds]
Rodya_ has joined #ruby
der-landgraf has joined #ruby
dc4 has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
toretore has quit [Ping timeout: 264 seconds]
Es0teric has quit [Remote host closed the connection]
solocshaw has joined #ruby
rbennacer has quit [Remote host closed the connection]
coffeecupp has joined #ruby
chipotle has joined #ruby
CamonZ has quit [Read error: Connection reset by peer]
eljimmy has joined #ruby
der-landgraf has quit [Ping timeout: 258 seconds]
ekinmur has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
Es0teric has joined #ruby
roamingdog has joined #ruby
interki has quit [Ping timeout: 244 seconds]
chipotle has quit [Client Quit]
interki has joined #ruby
dc4 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
TriOptimum has quit [Quit: Leaving]
rbennacer has joined #ruby
dc4 has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
macsteps has joined #ruby
macsteps has quit [Remote host closed the connection]
macsteps has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
kaww has joined #ruby
macsteps has quit [Ping timeout: 250 seconds]
kaww is now known as shree-
ta__ has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
benlieb has joined #ruby
PlasmaStar has joined #ruby
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has joined #ruby
eljimador has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
benlieb has quit [Ping timeout: 244 seconds]
Sucks has quit [Ping timeout: 264 seconds]
roamingdog has quit [Remote host closed the connection]
Ropeney has joined #ruby
roamingdog has joined #ruby
hahuang61 has joined #ruby
ghr has joined #ruby
spiette has quit [Ping timeout: 250 seconds]
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
UnKnOwN| has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
johnmilton has quit [Remote host closed the connection]
UnKnOwN| has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
itguru has quit [Quit: Leaving.]
karapetyan has joined #ruby
<shevy> give it a try!
houhoulis has quit [Remote host closed the connection]
ghr has joined #ruby
blackmesa has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
coffeecupp has quit [Ping timeout: 260 seconds]
nando293921 has quit [Quit: Lost terminal]
<pilne> i know i can just start up a Gemfile and then bundle install --path ./vendor and it will install them to ./vendor, but is there anyway to just automatically install/update a gemfile with something like "gem install"?
jishankai has joined #ruby
dc4 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
Rodya_ has quit [Read error: No route to host]
blackmesa has quit [Ping timeout: 276 seconds]
al2o3-cr has joined #ruby
Rodya_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
arch___ has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Quit: Lost terminal]
jenrzzz has joined #ruby
interki has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
max1 has joined #ruby
max1 is now known as pickandmix
pontiki has joined #ruby
leea has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
skweek has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
solocshaw has quit [Ping timeout: 272 seconds]
Rodya_ has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
pilne has quit [Quit: Quitting!]
craigp has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
mistermocha has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
ghr has quit [Ping timeout: 240 seconds]
araujo has quit [Ping timeout: 276 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
araujo has joined #ruby
jaguarmagenta has joined #ruby
araujo has quit [Max SendQ exceeded]
alfiemax has quit [Ping timeout: 258 seconds]
ta__ has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
ta_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
banisterfiend` is now known as banisterfiend
arch____ has joined #ruby
roamingdog has quit [Ping timeout: 258 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arch___ has quit [Ping timeout: 244 seconds]
Rush has quit [Ping timeout: 264 seconds]
arescorpio has quit [Quit: Leaving.]
ghr has joined #ruby
zacts has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
zacts has joined #ruby
chipotle has joined #ruby
zacts has quit [Read error: Connection reset by peer]
zacts has joined #ruby
shinnya has quit [Ping timeout: 264 seconds]
zacts has quit [Read error: Connection reset by peer]
chipotle has quit [Client Quit]
nankyokusei has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
perniciouscaffei has joined #ruby
weemsledeux has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
ghr has joined #ruby
calmchaos has joined #ruby
blackmesa has joined #ruby
roamingdog has joined #ruby
gix has quit [Ping timeout: 264 seconds]
hogetaro_ has quit [Ping timeout: 246 seconds]
gix has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
xlegoman has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
enterprisey has joined #ruby
ghr has joined #ruby
coffeecupp has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MrBusiness2 has joined #ruby
floatingpoint has quit [Quit: Goodnight]
roamingdog has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
craigp has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
kavanagh has quit [Quit: That's all folks!]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
ghr has joined #ruby
charliesome has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
TheWhip has quit [Remote host closed the connection]
TheWhip has joined #ruby
chipotle has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
mistermocha has quit [Ping timeout: 250 seconds]
max1 has joined #ruby
rbennacer has quit [Remote host closed the connection]
TheWhip has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
nando293921 has joined #ruby
coffeecupp has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
dh64 has joined #ruby
coffeecupp has joined #ruby
jgpawletko has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PaulCape_ has joined #ruby
TheWhip has joined #ruby
blackgoat has joined #ruby
dennisvennink has joined #ruby
PaulCapestany has quit [Ping timeout: 240 seconds]
coffeecupp has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
kavanagh has joined #ruby
the_drow has joined #ruby
astrobunny has joined #ruby
hahuang61 has joined #ruby
hk238 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
yfeldblum has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
aries_liuxueyang has joined #ruby
saneax is now known as saneax_AFK
hahuang61 has quit [Ping timeout: 258 seconds]
leea has joined #ruby
kareeoleez has joined #ruby
ghr has joined #ruby
Rodya_ has joined #ruby
ensyde__ has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
coffeecupp has joined #ruby
giz|work has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
dminuoso has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
rbennacer has quit [Remote host closed the connection]
ghr has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
coffeecupp has quit [Ping timeout: 258 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
wald0 has joined #ruby
Guest43 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp has joined #ruby
ghr has joined #ruby
BTRE has quit [Quit: Leaving]
roamingdog has quit []
Rodya_ has quit [Read error: No route to host]
Guest43 has joined #ruby
Guest43 has quit [Client Quit]
Rodya_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ghr has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
kavanagh has quit [Ping timeout: 246 seconds]
craigp has quit [Ping timeout: 240 seconds]
perniciouscaffei has joined #ruby
chopin has joined #ruby
nando293921 has quit [Ping timeout: 240 seconds]
chopin is now known as Guest10211
chopin has joined #ruby
ghr has joined #ruby
ramfjord has joined #ruby
ddffg has joined #ruby
chopin is now known as Guest3899
Yzguy has joined #ruby
BTRE has joined #ruby
Guest10211 has quit [Ping timeout: 250 seconds]
dikaio has joined #ruby
Yzguy has quit [Client Quit]
dikaio has quit [Max SendQ exceeded]
ramfjord has quit [Ping timeout: 272 seconds]
freerobby has quit [Quit: Leaving.]
Devalo has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
astrobunny has joined #ruby
alfiemax has joined #ruby
prestorium has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
TheWhip has quit [Remote host closed the connection]
TheWhip has joined #ruby
zacts has joined #ruby
UnKnOwN| has quit [Ping timeout: 258 seconds]
ur5us has quit [Ping timeout: 246 seconds]
UnKnOwN| has joined #ruby
zacts has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
TheWhip has quit [Ping timeout: 276 seconds]
zacts has joined #ruby
enterprisey has quit [Remote host closed the connection]
Rodya_ has quit [Quit: Leaving...]
ghr has quit [Ping timeout: 240 seconds]
zacts has quit [Read error: Connection reset by peer]
prestorium has joined #ruby
dminuoso has quit [Ping timeout: 250 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
nankyokusei has joined #ruby
calmchaos has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
aries_liuxueyang has quit [Remote host closed the connection]
aries_liuxueyang has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
TheWhip has joined #ruby
max1 is now known as pickandmix
ghr has joined #ruby
blackmesa has joined #ruby
elifoster has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
hahuang61 has joined #ruby
l4v2 has joined #ruby
Yzguy has joined #ruby
JoshGlzBrk has joined #ruby
zacts has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
Yzguy has quit [Client Quit]
ghr has joined #ruby
Vingador has joined #ruby
raeoks has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
firstdayonthejob has joined #ruby
pawnbox has joined #ruby
adgtl_ has quit [Quit: EliteBNC - http://elitebnc.org (Auto-Removal: idle account/not being used)]
kareeoleez has quit [Remote host closed the connection]
Guest3899 has quit [Ping timeout: 258 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wuyin has quit [Quit: leaving]
scorphus has joined #ruby
Guest61992 has joined #ruby
JoshGlzBrk has joined #ruby
giz|work has joined #ruby
skade has joined #ruby
skade has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
cgfbee has joined #ruby
ramfjord has joined #ruby
Guest61992 has quit [Ping timeout: 240 seconds]
conta has joined #ruby
conta has quit [Client Quit]
pawnbox has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
arooni has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gooer has joined #ruby
karapetyan has joined #ruby
mistermocha has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
giz|work has quit [Ping timeout: 272 seconds]
dminuoso has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
karapetyan has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
Vingador has quit [Ping timeout: 240 seconds]
c0mrad3 has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
ghr has joined #ruby
last_staff has joined #ruby
pawnbox has joined #ruby
xlegoman has joined #ruby
Macaveli has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
dc4 has quit [Ping timeout: 252 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
Gooer has left #ruby [#ruby]
Sashimi has joined #ruby
yardenbar has joined #ruby
kareeoleez has joined #ruby
voodoofish430 has joined #ruby
voodoofish4301 has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
coyo has quit [Ping timeout: 258 seconds]
the_drow has joined #ruby
codecop has joined #ruby
saneax_AFK is now known as saneax
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
duncannz has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
pickandmix has quit [Quit: WeeChat 1.4]
ghr has joined #ruby
zacts has quit [Ping timeout: 258 seconds]
blackmesa has joined #ruby
aganov has joined #ruby
n1x-nz has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
meinside has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 240 seconds]
emilkarl has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
dminuoso has joined #ruby
ghr has joined #ruby
hipertracker has joined #ruby
der-landgraf has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
der-landgraf has quit [Excess Flood]
zacts has joined #ruby
][GaBrY][ has joined #ruby
][GaBrY][ has left #ruby [#ruby]
der-landgraf has joined #ruby
ghr has joined #ruby
<postmodern> is there an official list for MRI's build deps somewhere?
<dminuoso> postmodern: That depends. Will a useful answer result in another awesome tool of yours?
<postmodern> dminuoso, double checking if bison/flex are now explicit deps for MRI's ripper library?
ramfjord has joined #ruby
Devalo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<dminuoso> postmodern: Last I checked Ripper was directly hacked into the main bison grammar.
<dminuoso> Still is.
<postmodern> dminuoso, do they ship pre-generated C code, or is bison ran by ./configure or make?
Dimik has quit [Ping timeout: 264 seconds]
<dminuoso> postmodern: it must be a result of the build process. Basically it is one set of rules with multiple semantic actions (one set of actions for ruby, and one set of actions for ripper)
<dminuoso> (So almost all rules have 2 semantic actions)
giz|work has joined #ruby
<dminuoso> postmodern: I think miniruby is somehow involved in preprocessing this grammar to build both ruby and ripper, I distinctly remember it being involved there.
craigp has joined #ruby
Devalo has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 258 seconds]
<dminuoso> Be right back in a few inutes.
ghr has joined #ruby
ddffg has quit [Ping timeout: 250 seconds]
<postmodern> dminuoso, ah ha, ripper states bison >= 1.28
hahuang61 has quit [Ping timeout: 264 seconds]
dminuoso has quit [Remote host closed the connection]
pawnbox_ has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
jaguarmagenta has joined #ruby
TheWhip has quit [Ping timeout: 240 seconds]
craigp has quit [Ping timeout: 276 seconds]
pawnbox_ has quit [Remote host closed the connection]
dionysus69 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
m1dnight_ has quit [Quit: WeeChat 1.5]
ur5us has joined #ruby
dminuoso has joined #ruby
jaguarmagenta has quit [Ping timeout: 250 seconds]
voodoofish430 has quit [Ping timeout: 276 seconds]
voodoofish430 has joined #ruby
<dminuoso> postmodern: My feeling tells me that that may not be up to date.
elifoster has quit [Quit: going to bed now]
Madplatypus has joined #ruby
ghr has joined #ruby
<dminuoso> postmodern: But yeah I just checked, and indeed Ripper uses a miniruby script that preprocesses the grammar, extracting the semantic rules it wants.
<dminuoso> And then it just runs bison against it.
<postmodern> dminuoso, so is there an explicit list of build deps that I'm not finding? or should i submit a documentation bug to ruby-core?
<dminuoso> Whatever Bison requirement it has, it must be the same as Ruby.
<dminuoso> (It cannot be less)
<dminuoso> Well I suppose it could.
jenrzzz has joined #ruby
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
<dminuoso> postmodern: Does not seem to be. I think you may have to crawl through the configure.in by hand as of right now.
<dminuoso> And that will not be covering the dependencies for all the ext stuff. There really seems to be no comprehensive dependency list.
abonec has joined #ruby
andikr has joined #ruby
nankyokusei has joined #ruby
ghr has joined #ruby
mark_66 has joined #ruby
calmchao_ has joined #ruby
calmcha__ has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
TomyWork has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
biberu has joined #ruby
pawnbox has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
calmchaos has joined #ruby
helpa has quit [Remote host closed the connection]
Xeago_ has joined #ruby
calmchao_ has quit [Ping timeout: 250 seconds]
helpa has joined #ruby
hipertracker has quit [Quit: hipertracker]
brainslug has quit [Ping timeout: 244 seconds]
adeponte has quit [Ping timeout: 272 seconds]
Miron has quit [Ping timeout: 250 seconds]
nlsun_ has quit [Ping timeout: 276 seconds]
mattp_ has joined #ruby
calmcha__ has quit [Ping timeout: 250 seconds]
ianconnolly has quit [Ping timeout: 272 seconds]
justinmcp has quit [Quit: No Ping reply in 180 seconds.]
ItSANgo has quit [Read error: Connection reset by peer]
thai_ has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
ICantCook has quit [Ping timeout: 264 seconds]
CloCkWeRX has quit [Ping timeout: 272 seconds]
ItSANgo has joined #ruby
calmchao_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
Ikri has quit [Quit: No Ping reply in 180 seconds.]
crowell has quit [Quit: No Ping reply in 180 seconds.]
Miron has joined #ruby
ghr has joined #ruby
Guest68389 has quit [Ping timeout: 240 seconds]
mmasaki has quit [Ping timeout: 240 seconds]
calmchao_ has quit [Read error: Connection reset by peer]
Coldblackice_ has joined #ruby
mattp__ has quit [Ping timeout: 276 seconds]
justinmcp has joined #ruby
calmchao_ has joined #ruby
calmchaos has quit [Ping timeout: 250 seconds]
sethetter has quit [Remote host closed the connection]
thomas has quit [Remote host closed the connection]
Ikri has joined #ruby
sethetter has joined #ruby
blackmesa has joined #ruby
thomas has joined #ruby
Lightsword has quit [Ping timeout: 276 seconds]
Paradox has quit [Ping timeout: 240 seconds]
crowell has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
Coldblackice has quit [Ping timeout: 258 seconds]
Paradox has joined #ruby
mmasaki has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
calmchaos has joined #ruby
Guest42469 has joined #ruby
calmcha__ has joined #ruby
CloCkWeRX has joined #ruby
deecross has joined #ruby
nlsun has joined #ruby
baweaver has joined #ruby
calmch___ has joined #ruby
Ishido has joined #ruby
brainslug has joined #ruby
cyphactor has joined #ruby
calmch___ has quit [Read error: Connection reset by peer]
calmchao_ has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
calmchaos has quit [Ping timeout: 250 seconds]
Lightsword has joined #ruby
calmchaos has joined #ruby
thai_ has joined #ruby
calmchao_ has joined #ruby
ianconnolly has joined #ruby
calmcha__ has quit [Ping timeout: 272 seconds]
craigp has joined #ruby
Satyajit has quit [Quit: https://fnordserver.eu]
blackgoat has quit [Quit: WeeChat 1.5]
firstdayonthejob has quit [Quit: WeeChat 1.5]
antgel has joined #ruby
calmchaos has quit [Ping timeout: 250 seconds]
calmchao_ has quit [K-Lined]
Guest35538 has quit [Quit: https://fnordserver.eu]
JeremyM_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
jkprg_ has joined #ruby
UnKnOwN| has quit [Read error: Connection reset by peer]
deecross has quit [Ping timeout: 258 seconds]
flopsec has quit [Quit: https://fnordserver.eu]
hahuang61 has joined #ruby
flughafen_ has joined #ruby
blackmesa has joined #ruby
ghr has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
loopy has joined #ruby
Couch has joined #ruby
CamonZ has joined #ruby
joonty has joined #ruby
ta__ has joined #ruby
deecross has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
l4v2 has quit [Quit: l4v2]
multi_io_ has joined #ruby
giz|work has quit [Ping timeout: 240 seconds]
ngw has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Hyuk has joined #ruby
kareeoleez has joined #ruby
blaxter has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
multi_io has quit [Ping timeout: 276 seconds]
astrobun_ has joined #ruby
mistermocha has joined #ruby
ghr has joined #ruby
calmchaos has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Ping timeout: 258 seconds]
anisha has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
mistermocha has quit [Ping timeout: 244 seconds]
dc4 has joined #ruby
calmchaos has quit [Ping timeout: 276 seconds]
max1 has joined #ruby
mtkd has quit [Ping timeout: 250 seconds]
marr has joined #ruby
jkprg_ has quit [Quit: jkprg_]
Couch has quit [Quit: Ex-Chat]
ghr has joined #ruby
roshanavand has joined #ruby
mtkd has joined #ruby
Xeago_ has joined #ruby
pandaant has joined #ruby
elaptics`away is now known as elaptics
roshanavand has quit [Client Quit]
zel has joined #ruby
zel is now known as Guest13284
flopsec has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
postmodern has quit [Quit: Leaving]
tvw has joined #ruby
jkprg has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
calmchaos has joined #ruby
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
calmchaos has quit [Read error: Connection reset by peer]
Silthias has quit [Ping timeout: 272 seconds]
firstdayonthejob has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
the_drow has joined #ruby
hipertracker has joined #ruby
ta_ has joined #ruby
emilkarl has joined #ruby
fclausen has quit [Quit: Lost terminal]
Snowy has joined #ruby
jenrzzz has joined #ruby
Satyajit has joined #ruby
ta__ has quit [Ping timeout: 276 seconds]
max1 is now known as pickandmix
ghr has joined #ruby
Xeago_ has quit [Remote host closed the connection]
der-landgraf has quit [Quit: WeeChat 1.5]
der-landgraf has joined #ruby
alfiemax has joined #ruby
tomphp has joined #ruby
vkyeof has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
colegatron has quit [Read error: Connection reset by peer]
wald0 has quit [Ping timeout: 264 seconds]
axsuul has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has joined #ruby
calmchao_ has joined #ruby
yeticry has joined #ruby
rkazak has joined #ruby
tvw has quit [Read error: Connection reset by peer]
calmchao_ has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
rkazak has quit [Client Quit]
ramfjord has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
phredus_ has joined #ruby
phredus has quit [Read error: Connection reset by peer]
aryaching has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 252 seconds]
aries_liuxueyang has quit [Ping timeout: 260 seconds]
phredus_ has quit [Read error: Connection reset by peer]
phredus has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
aries_liuxueyang has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
mistermocha has joined #ruby
charliesome has joined #ruby
aryaching has joined #ruby
jaguarmagenta has joined #ruby
nettoweb has joined #ruby
ghr has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
nettoweb has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
jxs_ has joined #ruby
Silthias has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
the_drow has joined #ruby
Xeago_ has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
astrobunny has joined #ruby
astrobun_ has quit [Read error: Connection reset by peer]
astrobunny has quit [Read error: Connection reset by peer]
Coldblackice_ has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Remote host closed the connection]
astrobunny has joined #ruby
cgfbee has quit [Read error: No route to host]
cgfbee has joined #ruby
karapetyan has joined #ruby
nankyokusei has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
zarubin has joined #ruby
Xeago_ has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
ta_ has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
ta_ has joined #ruby
banisterfiend is now known as banisterfiend`
pawnbox has joined #ruby
toretore has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
giz|work has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<raz> hmm, is this a safe thing to do in initialize(): raise StandardError, self ? (i.e. i'd like to return the partially initialized instance along with the exception - so the caller can inspect what went wrong)
mark_66 has quit [Remote host closed the connection]
szarubin has joined #ruby
duncannz has quit [Remote host closed the connection]
<dminuoso> raz: Yes.
<raz> dminuoso: thanks!
<dminuoso> raz: Initialize is just an initializer, the object is already completely constructed by the time it is called.
<jhass> that is safe in the sense it won't crash your interpreter
<raz> yea i thought so, but sometimes it feels better to ask ;)
naftilos76 has joined #ruby
mark_66 has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
raeoks has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
troulouliou_div2 has joined #ruby
Sashimi has joined #ruby
ur5us has quit [Remote host closed the connection]
CamonZ has quit [Read error: Connection reset by peer]
calmchaos has joined #ruby
Xeago_ has quit [Remote host closed the connection]
binaryplease1 has joined #ruby
Xeago_ has joined #ruby
jkprg has quit [Quit: jkprg]
binaryplease has quit [Ping timeout: 244 seconds]
calmchaos has quit [Remote host closed the connection]
ddffg has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
alebatt has joined #ruby
bruce_lee has joined #ruby
blackmesa has joined #ruby
mistermocha has joined #ruby
jkprg has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
binaryplease1 is now known as binaryplease
<alebatt> Anybody here ?
<alfiemax> yup
xcesariox has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
<alebatt> Did you already use a tree generator gem ?
<alebatt> like ancestry or mongoid-tree
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest1412 is now known as awk
Xeago__ has joined #ruby
jkprg has quit [Remote host closed the connection]
jkprg has joined #ruby
jgt has joined #ruby
Xeago_ has quit [Ping timeout: 264 seconds]
ferr has joined #ruby
Xeago__ has quit [Ping timeout: 246 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
cgfbee has quit [Quit: cgfbee]
flashpoi_ has joined #ruby
workmad3 has joined #ruby
andromedian has joined #ruby
<andromedian> what is the rails channel?
alebatt has quit [Quit: WeeChat 1.5]
<dminuoso> ?rails andromedian
<ruby[bot]> andromedian: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
flughafen_ has quit [Read error: Connection reset by peer]
<andromedian> Thanks I wonder why it isn't in the topic
aryaching has quit [Remote host closed the connection]
cgfbee has joined #ruby
coffeecupp has joined #ruby
Hyuk has joined #ruby
coffeecupp has quit [Client Quit]
coffeecupp has joined #ruby
wigust_ has joined #ruby
ccooke has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
M-Kodo has quit [Remote host closed the connection]
M-shine has quit [Read error: Connection reset by peer]
M-mistake has quit [Write error: Connection reset by peer]
wigust has quit [Ping timeout: 272 seconds]
ccooke has quit [Client Quit]
sdothum has joined #ruby
jgt has quit [Ping timeout: 252 seconds]
ccooke has joined #ruby
karapetyan has quit [Remote host closed the connection]
<raz> has anyone had any success with vcr + webmock + excon? i'm travelling various github issues and am just wtf'ing that this still seems to be unfixed (with excon being one of the most popular http libraries :/ )
troulouliou_div2 has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
lxsameer has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
diegoviola has joined #ruby
nettoweb has joined #ruby
vkyeof has quit [Remote host closed the connection]
M-shine has joined #ruby
jgt has joined #ruby
Xeago_ has quit [Remote host closed the connection]
nettoweb has quit [Ping timeout: 252 seconds]
nadir has quit [Quit: Connection closed for inactivity]
chip_ has joined #ruby
troulouliou_div2 has joined #ruby
karapetyan has joined #ruby
DaniG2k has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
nadir has joined #ruby
DTZUZU has joined #ruby
karapetyan has quit [Ping timeout: 272 seconds]
n1x-nz has quit [Quit: Computer says no]
mistermocha has joined #ruby
deecross has quit [Remote host closed the connection]
spiette has joined #ruby
karapetyan has joined #ruby
jaguarmagenta has joined #ruby
ta_ has quit [Remote host closed the connection]
deadnull has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
M-Kodo has joined #ruby
koooge has quit [Quit: Leaving...]
jaguarmagenta has quit [Ping timeout: 252 seconds]
karapetyan has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
karapetyan has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
karapetyan has quit [Remote host closed the connection]
nettoweb has quit [Ping timeout: 258 seconds]
ur5us has quit [Remote host closed the connection]
karapetyan has joined #ruby
Xeago_ has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
elaptics is now known as elaptics`away
emilkarl has joined #ruby
flashpoi_ has quit [Remote host closed the connection]
deecross has joined #ruby
jgt has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
Vingador has joined #ruby
nankyokusei has joined #ruby
raldu has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
johnmilton has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
coffeecupp has quit [Quit: leaving]
karapetyan has quit [Remote host closed the connection]
rodfersou has joined #ruby
Raboo has joined #ruby
GodFather has quit [Remote host closed the connection]
jkprg has quit [Quit: jkprg]
pickandmix has quit [Remote host closed the connection]
max2 has joined #ruby
karapetyan has joined #ruby
max2 is now known as pickandmix
GodFather has joined #ruby
jenrzzz has joined #ruby
LoneHermit has joined #ruby
M-mistake has joined #ruby
Snowy has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
LoneHermit has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Remote host closed the connection]
Xeago_ has joined #ruby
hanmac has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
karapetyan has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
Pumukel has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
hipertracker has quit [Quit: hipertracker]
Xeago_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
jgt has joined #ruby
Xeago_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
gizmore has joined #ruby
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Xeago_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
calmchaos has joined #ruby
karapetyan has joined #ruby
hanmac has joined #ruby
ldnunes has joined #ruby
calmchaos has quit [Remote host closed the connection]
Nahra has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Xeago_ has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
sepp2k has joined #ruby
last_staff has quit [Remote host closed the connection]
jrafanie has joined #ruby
last_staff has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
workmad3 has quit [Quit: Lost terminal]
elaptics`away is now known as elaptics
ponga has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
Vingador has quit [Remote host closed the connection]
synthroid has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
karapetyan has joined #ruby
GinoManWorks_ has quit [Read error: Connection reset by peer]
lkb has joined #ruby
blackgoat has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
antgel has quit [Ping timeout: 272 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
calmchaos has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
calmchaos has quit [Remote host closed the connection]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha_ has joined #ruby
anisha has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
flashpoint9 has joined #ruby
benlieb has joined #ruby
deuterium has joined #ruby
LoneHermit has joined #ruby
jkprg has joined #ruby
ramfjord has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 240 seconds]
swills has quit [Ping timeout: 244 seconds]
Xeago_ has quit [Remote host closed the connection]
Xeago_ has joined #ruby
deecross has quit [Ping timeout: 272 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
hipertracker has joined #ruby
ta_ has quit [Remote host closed the connection]
spiette has quit [Ping timeout: 272 seconds]
sharkman has quit [Ping timeout: 250 seconds]
aupadhye has joined #ruby
jishankai has quit [Ping timeout: 250 seconds]
spiette has joined #ruby
emilkarl has joined #ruby
pawnbox has quit [Remote host closed the connection]
jmnlwy has joined #ruby
dennisvennink has joined #ruby
spiette has quit [Ping timeout: 272 seconds]
<Bish> https://s32.postimg.org/knygtin7p/graph.png <= could this be garbage collection?
fmcgeough has joined #ruby
ponga has quit []
<Bish> (i create about 1000 objects per minute)
bigkevmcd has joined #ruby
<Bish> and that graph shows send messages per minute
<Bish> and every ~4 seconds there is this drop
DaJobat has joined #ruby
ItSANgo has quit [Quit: Leaving...]
<Bish> every 4 minutes*
blackgoat has quit [Quit: WeeChat 1.5]
mistermocha has joined #ruby
<jhass> not unreasonable
GodFather has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
DaJobat has quit [Client Quit]
pawnbox has joined #ruby
alebatt has joined #ruby
bigkevmcd has quit [Ping timeout: 264 seconds]
<Bish> always wondered where that comes from
ChiefAlexander has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Ping timeout: 272 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
blackmesa has joined #ruby
ojab has left #ruby [#ruby]
vuoto_ has joined #ruby
colegatron has joined #ruby
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
vuoto has joined #ruby
Es0teric has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
fgo has joined #ruby
JeremyM_ has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
jgpawletko has left #ruby [#ruby]
<Bish> asm>> puts "hi" if $DEBUG
<ruby[bot]> Bish: I have disassembled your code, the result is at https://eval.in/600786
deecross has joined #ruby
ramortegui has joined #ruby
<Bish> couldn't ruby drop debug instructions?
kies has quit [Ping timeout: 272 seconds]
dc4 has quit [Ping timeout: 276 seconds]
flughafen_ has joined #ruby
<adaedra> You can change $DEBUG at runtime, no?
<Bish> what i mean is, the check of debug is an instruction
mkosaki has joined #ruby
<Bish> couldn't you just remove every branch that will be evaluated BEFORE runtime
GodFather has joined #ruby
<Bish> and drop the check if debug is falsy
<Bish> kinda like an implicit #ifdef
banisterfiend` is now known as banisterfiend
nankyokusei has joined #ruby
karapetyan has joined #ruby
jgt1 has joined #ruby
karapetyan has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aegis3121 has joined #ruby
CloCkWeRX has quit [Ping timeout: 276 seconds]
jgt has quit [Ping timeout: 264 seconds]
diegoviola has quit [Quit: WeeChat 1.5]
karapetyan has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
diegoviola has joined #ruby
alebatt has quit [Quit: WeeChat 1.5]
MrBusiness3 has joined #ruby
ta_ has joined #ruby
chip_ has quit [Ping timeout: 244 seconds]
jkprg has quit [Quit: jkprg]
bluOxigen has quit [Ping timeout: 272 seconds]
ekinmur has joined #ruby
bluOxigen has joined #ruby
kies has joined #ruby
MrBusiness2 has quit [Ping timeout: 272 seconds]
jkprg has joined #ruby
joonty has joined #ruby
bigkevmcd has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
hosttor has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 276 seconds]
bigkevmcd has joined #ruby
hutch34 has joined #ruby
hogetaro has joined #ruby
CloCkWeRX has joined #ruby
TheWhip has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
bigkevmcd has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
malconis has joined #ruby
ItSANgo has joined #ruby
bigkevmcd has joined #ruby
xdcc has joined #ruby
nankyokusei has joined #ruby
z3ndrag0n has joined #ruby
xdcc has quit [Read error: Connection reset by peer]
bigkevmcd has quit [Ping timeout: 252 seconds]
TheWhip has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
goeast has joined #ruby
alfiemax has joined #ruby
<goeast> Hello ! Why my loop is ending and not continuing unless the condition is met ?
blackmesa has joined #ruby
<Zarthus> you are never modifier your_answer
<Zarthus> modifying*&
hosttor has joined #ruby
<Zarthus> although I presume you mean "the loop is never ending"
calmchaos has joined #ruby
<dminuoso> goeast: There is no loop.
<Zarthus> oh yeah, that too.
<goeast> Thanks guys !
<Zarthus> a while loop involves 'until', not 'unless'
<goeast> ahh ok
<goeast> Actually yes I just put until and the loop is infinite..
flashpoint9 has quit [Remote host closed the connection]
<dminuoso> goeast: unless is just a negated if.
<Zarthus> you'd still need to modify your_message in some way if you want the loop to stop.
flashpoint9 has joined #ruby
codecop has quit [Remote host closed the connection]
TheWhip has quit [Ping timeout: 276 seconds]
<goeast> thank you :) I will see what I can do :)
rbennacer has joined #ruby
Devalo has joined #ruby
goeast has quit [Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506]]
mostlybadfly has quit [Quit: Connection closed for inactivity]
`tim` has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
last_staff has quit [Quit: last_staff]
sergio_101 has joined #ruby
k13nox has joined #ruby
daffy_duck_3 has quit [Remote host closed the connection]
patrick_star has joined #ruby
patrick_star has quit [Client Quit]
daffy_duck has joined #ruby
TriOptimum has joined #ruby
TriOptimum has quit [Max SendQ exceeded]
TriOptimum has joined #ruby
TriOptimum has quit [Max SendQ exceeded]
nando293921 has joined #ruby
eljimador has quit [Read error: Connection reset by peer]
floatingpoint has joined #ruby
TriOptimum_ has joined #ruby
TheWhip has joined #ruby
TriOptimum_ has quit [Client Quit]
mjuszczak has joined #ruby
rbennacer has quit [Remote host closed the connection]
mjuszczak has quit [Read error: Connection reset by peer]
mjuszcza_ has joined #ruby
mjuszcza_ has quit [Max SendQ exceeded]
TheWhip has quit [Remote host closed the connection]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
rbennacer has joined #ruby
jhack has joined #ruby
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
mjuszczak has quit [Read error: Connection reset by peer]
mjuszczak has joined #ruby
aries_liuxueyang has joined #ruby
mjuszcza_ has joined #ruby
mjuszczak has quit [Read error: Connection reset by peer]
mjuszcza_ has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
vondruch has quit [Quit: Ex-Chat]
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
vondruch has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
solene has joined #ruby
davedev24 has joined #ruby
TheWhip has joined #ruby
marr has joined #ruby
mjuszczak has quit [Ping timeout: 240 seconds]
chip_ has joined #ruby
mkosaki has quit [Ping timeout: 276 seconds]
roshanavand has quit [Ping timeout: 272 seconds]
TheWhip has quit [Ping timeout: 264 seconds]
sergio_101 has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
Snowy has joined #ruby
dhollinger has joined #ruby
rbennacer has joined #ruby
shinnya has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
pawnbox has quit [Remote host closed the connection]
chouhoulis has joined #ruby
memorasus has joined #ruby
HalcyonicStorm2 has joined #ruby
HalcyonicStorm2 has left #ruby [#ruby]
HalcyonicStorm2 has joined #ruby
pawnbox has joined #ruby
openstruct has joined #ruby
whippythellama has joined #ruby
karapetyan has joined #ruby
<openstruct> Without knowing C, are there any ways to determine the big O notation of methods like Enumerable#select?
<jhass> common sense helps ;)
calmchaos has quit [Remote host closed the connection]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<openstruct> Oh, should've checked that first.
ChiefAlexander has quit [Remote host closed the connection]
LoneHermit has joined #ruby
Hobogrammer has quit [Quit: WeeChat 0.4.2]
<jhass> Enumerable#select is n in all cases
JakFrist has joined #ruby
<dminuoso> openstruct: All enumerable methods have O(1) - it uses the Chuck Norris algorithm.
<jhass> it has to look at all elements but it also only has to look at all elements
<dminuoso> While roundhouse kicking the collection.
<dminuoso> Until the right element or return value presents itself.
<openstruct> Can always count on Chuck Norris to be consistent.
z3ndrag0n has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
ramfjord has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
<dminuoso> openstruct: The bulk of Enumerable relies on #each - that should indicate the minimum O for any operation.
flughafen_ has quit [Ping timeout: 276 seconds]
LoneHermit has quit [Ping timeout: 244 seconds]
<dminuoso> (Well technically all of it does, but some also require <=>)
<jhass> well
eljimmy has joined #ruby
<jhass> Enumerable#find relies on each too
<openstruct> Ruh roh, are we not agreeing on common sense?
<jhass> it's best-case is 1 though, contrary to say Enumerable#select's best case which is still n
ramfjord has quit [Ping timeout: 272 seconds]
dc4 has joined #ruby
<jhass> then Eumerable#sort relies on #to_a I guess, which in turn does rely on each too. it's worst-case is whatever quicksort's was (I can never remember), but Enumerable#select's is still n
yonahw has joined #ruby
<openstruct> I believe quick sort's worst-case is n log(n)
lkb_ has joined #ruby
<aegis3121> Google says n^2 is worst-case for quicksort...
<aegis3121> via KhanAcademy
<jhass> n*log(n) smells like its average or best case
<openstruct> Oh, I was thinking of mergesort.
agentmeerkat has joined #ruby
jmignault has quit [Ping timeout: 246 seconds]
dminuoso has quit [Ping timeout: 264 seconds]
<openstruct> Wonder if it's best to avoid sugary methods when developing algorithms with Ruby in the event I can't confidently state the big o
calmchaos has joined #ruby
ByronJohnson has quit [Ping timeout: 272 seconds]
chip_ has quit [Ping timeout: 276 seconds]
xcesariox has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
tenc has quit [Ping timeout: 272 seconds]
ChiefAlexander has joined #ruby
aganov has quit [Remote host closed the connection]
lkb has quit [Ping timeout: 240 seconds]
ByronJohnson has joined #ruby
<jhass> I think it's obvious for pretty much all cases
<jhass> Enumerable#sort being quicksort is as much internals knowledge as you ned
<jhass> *need
sneakerhax has quit [Max SendQ exceeded]
l4v2 has joined #ruby
<jhass> everything else is O(n) anyway
jishankai has joined #ruby
ddffg has quit [Quit: Leaving]
<jhass> some have better average or best cases
<jhass> well Enumerable#first is O(1) I guess
kies has quit [Ping timeout: 272 seconds]
<jhass> but that's still obvious
tenc has joined #ruby
duoi has quit [Ping timeout: 250 seconds]
<openstruct> Sure - I suppose I was just worried that it may do something unexpected. I imagine I can make safe space complexity assumptions as well?
nando293921 has quit [Ping timeout: 258 seconds]
<jhass> some things work with internal hashes
<jhass> sort_by for example
duoi has joined #ruby
polishdub has joined #ruby
haxrbyte has joined #ruby
tokynet has joined #ruby
jishankai has quit [Ping timeout: 272 seconds]
dminuoso has joined #ruby
hk238 has joined #ruby
pandaant has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
anisha_ has quit [Quit: Leaving]
zarubin has quit [Quit: leaving]
calmchaos has quit [Remote host closed the connection]
freerobby has joined #ruby
rippa has joined #ruby
freerobby has quit [Client Quit]
imperator has joined #ruby
lkb_ has quit [Quit: Wychodzi]
lkb has joined #ruby
baweaver has quit [Max SendQ exceeded]
baweaver has joined #ruby
mistermocha has joined #ruby
szarubin has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 276 seconds]
baweaver has quit [Max SendQ exceeded]
isberg has joined #ruby
baweaver has joined #ruby
z3ndrag0n has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
Xeago__ has joined #ruby
calmchaos has joined #ruby
kies has joined #ruby
<imperator> need some help with an xml parsing issue: https://gist.github.com/djberg96/04b0723ff72339a0ab6ddd434bf05ccf
Xeago_ has quit [Read error: Connection reset by peer]
<imperator> basically, i have it working with rexml, but would like to have it working with nokogiri if possible
<imperator> the issue seems to be the leading text: "#< CLIXML\r\n"
mistermocha has quit [Ping timeout: 250 seconds]
Wsewolod has joined #ruby
<imperator> if i remove that, it works as expected, but i'm wondering if there's a way to deal with it without manually parsing that piece out
aegis3121 has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
HalcyonicStorm2 has left #ruby [#ruby]
allcentury has joined #ruby
arooni has joined #ruby
cdg has joined #ruby
karapetyan has quit [Remote host closed the connection]
aegis3121 has joined #ruby
karapetyan has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
rodfersou is now known as rodfersou|lunch
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
craigp has quit [Ping timeout: 250 seconds]
rodfersou|lunch is now known as rodfersou
pickandmix has quit [Ping timeout: 250 seconds]
ChiefAlexander has joined #ruby
dminuoso has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
mjuszczak has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
<jhass> is that something valid, if so what's its name? if not, rexml just ignores garbage at the start?
jkprg has quit [Quit: jkprg]
jhack has quit [Quit: jhack]
jhack has joined #ruby
hosttor has quit [Ping timeout: 244 seconds]
mark_66 has quit [Quit: Leaving.]
andromedian has quit [Quit: Leaving]
synthroid has quit [Remote host closed the connection]
jkprg has joined #ruby
Xeago_ has joined #ruby
Xeago__ has quit [Read error: Connection reset by peer]
existensil has quit [Quit: WeeChat 0.4.2]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
jyaworski has quit [Quit: ZNC - http://znc.in]
rkazak has joined #ruby
jyaworski has joined #ruby
existensil has joined #ruby
alebatt has joined #ruby
<alebatt> re
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
TomyLobo has joined #ruby
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
<imperator> jhass, not sure if it's valid or not, but the .parse method doesn't fail at least
<imperator> yeah, looks like rexml just ignores it
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
<jhass> I think .slice'ing or .sub'ing it out is the most appropriate solution then in fact
karapetyan has joined #ruby
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
<alebatt> How can i add dynamicly value to a hash of hash of hash ... with var[][][].. ? for now i am creating a ptr variable but when i say ptr = ptr[next] (who is empty) i loose my array :(
<jhass> karapetyan: because key never == start
k13nox has quit [Quit: Leaving...]
troulouliou_div2 has joined #ruby
AndrewIsHere has joined #ruby
<jhass> alebatt: the endless Hash would be Hash.new {|h, k| h[k] = Hash.new(&h.default_proc) }, whether it's the best solution to your problem, I can't tell from the context given
LoneHerm_ has joined #ruby
aryaching has joined #ruby
cschneid_ has joined #ruby
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
swills has joined #ruby
<karapetyan> jhass: oh, hi :) thanks.
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
chrisarc1nd is now known as chrisarcand
saneax is now known as saneax_AFK
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pdoherty has joined #ruby
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
jkprg has quit [Quit: jkprg]
LoneHerm_ has quit [Ping timeout: 252 seconds]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
<karapetyan> jhass:
<jhass> please don't highlight me with empty messages, thank you
CloCkWeRX has quit [Quit: Leaving.]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
Illya has left #ruby ["Textual IRC Client: www.textualapp.com"]
<karapetyan> sorry :(
CJKinni has joined #ruby
<karapetyan> key == start #=> true.
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
<gregf_> whats the values for key and start?
shadeslayer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<jhass> karapetyan: pleas edit your gist instead of adding a comment, especially for code it's just unreadable
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
<jhass> well I guess it's also possible that value.include?(target) is never true
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
<gregf_> >> def foo arr; return "Possible" if arr[0] == arr[1]; return "Impossible";end; p [[10, "foo"], [10, 10]].map{ |arr| foo(arr) }
<ruby[bot]> gregf_: # => ["Impossible", "Possible"] ...check link for more (https://eval.in/600863)
dgynn has quit [Quit: dgynn]
unforgiven512 has joined #ruby
<gregf_> karapetyan: what jhass found should be it
karapetyan has quit [Remote host closed the connection]
roshanavand has joined #ruby
ngw has joined #ruby
karapetyan has joined #ruby
flughafen_ has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
chopin has joined #ruby
<gregf_> i'd honestly write a unit test using rspec :/
chopin is now known as Guest89957
<jhass> karapetyan: always use p or .inspect for debugging
<jhass> besides that, this proves nothing to us
Xeago_ has quit [Remote host closed the connection]
spudowiar has joined #ruby
<jhass> both of my assumptions can still be true from the information we have
spudowiar has quit [Client Quit]
spudowiar has joined #ruby
<jhass> regarding inspect, I mean use things like puts "start: #{start.inspect}"
yos7ph has joined #ruby
Vingador has joined #ruby
cyource has joined #ruby
<cyource> Hey everyone, I'm trying to install pygments.rb, but I keep getting Error installing pygments.rb:
<cyource> ERROR: Failed to build gem native extension.
dminuoso has joined #ruby
<cyource> Am using python 3.5.0
yos7ph has quit [Client Quit]
<jhass> cyource: full output to a gist please
davedev2_ has joined #ruby
<imperator> jhass, was going to try Nokogiri::Slop, but it seems to be gone
<karapetyan> added inspect, and little bit more debug information
davedev24 has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
<cyource> jhass k
weemsledeux has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
macsteps has joined #ruby
<jhass> mmh, seems truncated on the right
basex has joined #ruby
aryaching has quit [Remote host closed the connection]
<cyource> jhass ?
yardenbar has quit [Ping timeout: 240 seconds]
Devalo has quit [Ping timeout: 240 seconds]
<dminuoso> cyource: Based on what Im seeing, I would say the extension was not written portably for Windows.
synthroid has joined #ruby
<cyource> <dminuoso> so what should I do?
<jhass> karapetyan: what happens is that you're in a recursive call, so the inner call returns with Possible, but the outer call completely ignores it and runs into "Impossible"
mtkd has quit [Ping timeout: 246 seconds]
<jhass> cyource: truncated as in cut off, the lines are incomplete
<cyource> jhass oh, ok.
Zackio has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
mtkd has joined #ruby
Zackio has joined #ruby
nando293921 has joined #ruby
<karapetyan> jhass: inner call - my each_pair loop? outer call - recursive call?
<dminuoso> cyource: Actually strike that.
<jhass> karapetyan: no
<dminuoso> cyource: Please gist without truncated lines.
rkazak has quit [Ping timeout: 264 seconds]
<jhass> karapetyan: https://repl.it/C8pq/2
joonty has quit [Quit: This computer has gone to sleep]
dhollinger has quit [Ping timeout: 272 seconds]
synthroi_ has joined #ruby
spudowiar has quit [Quit: brb]
synthroid has quit [Ping timeout: 258 seconds]
spudowiar has joined #ruby
<karapetyan> jhass: tnanks!
<cyource> dminuoso jhass how though in git bash for windows? I keep copy and pasting with truncated lines
gizless has joined #ruby
gizless has quit [Client Quit]
gizmore has quit [Ping timeout: 258 seconds]
<jhass> karapetyan: https://repl.it/C8pq/3 even more clear
<jhass> cyource: I never used that stuff, so I wouldn't know, sorry
zacts has quit [Ping timeout: 250 seconds]
<jhass> cyource: maybe you can pipe it into a file, gem install pygments.rb 2>&1 > error.txt
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
<cyource> jhass ah alright
whathappens has joined #ruby
Es0teric has joined #ruby
<dminuoso> cyource: Let me take this moment to rub some salt into your wounds: These are the voyages of the ruby developers on Windows. It's five-year mission: to explore strange new bugs, to seek out new extensions and gems, to boldly compile what no man has compiled before.
CJKinni` has joined #ruby
<cyource> dminuoso trying new ideas. nice
deuterium has quit [Ping timeout: 246 seconds]
CJKinni has quit [Ping timeout: 252 seconds]
<cyource> oh my days, git keeps truncating it
araujo has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
roshanavand has quit [Quit: This computer has gone to sleep]
hipertracker has quit [Ping timeout: 260 seconds]
<jhass> huh that seems unlikely
whathappens has quit [Ping timeout: 252 seconds]
araujo has quit [Max SendQ exceeded]
macsteps has quit [Remote host closed the connection]
<jhass> you did copy it from error.txt?
amclain has joined #ruby
roshanavand has joined #ruby
<cyource> jhass no really, when I pasted it - all the content was there. error.txt only had: Temporarily enhancing PATH to include DevKit...
<cyource> Building native extensions. This could take a while...
<jhass> great so it didn't redirect stderr
<jhass> wonder how they managed to break that
lupine has quit [Quit: No Ping reply in 180 seconds.]
<jhass> does piping stderr directly work? gem install pygments.rb 2> error.txt
tomphp has quit [Ping timeout: 276 seconds]
rodfersou is now known as rodfersou|lunch
<cyource> jhass that worked
lupine has joined #ruby
Coldblackice_ has joined #ruby
aegis3121 has joined #ruby
smathy has joined #ruby
Helheim has quit [Ping timeout: 276 seconds]
symm- has joined #ruby
cdg has quit [Remote host closed the connection]
Azure has quit [Ping timeout: 250 seconds]
Azure has joined #ruby
highbass has joined #ruby
zacts has joined #ruby
<highbass> what is best way to eclude gems during bundle install for builds? ... basically switching environments from heroku to aws and some gems conflict... sitll want backward compatibilitythough
jhack has quit [Quit: jhack]
<jhass> add them to a group
<dminuoso> highbass: use groups
<highbass> dminuoso: do groups only look at environment variable passed?
macsteps has joined #ruby
<jhass> do they at all?
<dminuoso> highbass: groups just group gems together.
aegis3121 has quit [Ping timeout: 246 seconds]
<dminuoso> highbass: which groups are installed depend on what groups you pass to bundler.
davedev24 has joined #ruby
<shevy> hmmm I look at old ruby code written by someone else
SCHAAP137 has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
<jhass> cyource: idk, yajl's maintenance story looks pretty dim, it might just not work on windows with ruby 2.3
<shevy> tmp.inject { |r, i| r * 256 | i }
<shevy> what is the last | there?
Pumukel has quit [Ping timeout: 246 seconds]
<cyource> jhass oh
<jhass> cyource: there are all sorts of weird solutions to that error message on google though
<cyource> jhass oh, ok
<jhass> cyource: like "use the 32bit version of the devkit" or "comment this in this header file"
<cyource> jhass Did you type the entire error log?
<jhass> cyource: no, just size of array 'ruby_check_sizeof_voidp' is negative
igam has joined #ruby
<cyource> jhass oh, ok thanks
dgynn has joined #ruby
<jhass> cyource: http://stackoverflow.com/a/15537192/2199687 looks like the most sensible answer so far
macsteps has quit [Remote host closed the connection]
<cyource> jhass ah ok.
<igam> Hi! I have a gem source (from github), that I have patched and I must bundle it with a script that uses it (temporarily it cannot be merged back into the main branch to be available with rubygem). How should I proceed? Is there a gem command to make a "tarball" or otherwise prepare it to be used as a "library"? I would just load it from the script.
<karapetyan> jhass: thanks again, but afraid i still don't understand how it works?
roshanavand has quit [Quit: This computer has gone to sleep]
<jhass> karapetyan: I'm not sure how to make it any clearer
Devalo has quit [Remote host closed the connection]
dgynn has quit [Client Quit]
<karapetyan> jhass: okay.
<highbass> damn .. Bundler.require(:default, Rails.env) #Rails 4 ...
<jhass> igam: you can either gem build foo.gemspec in your patched source (perhaps after bumping the version number) and install the resulting .gem file, or use bundler, push the patch to a git repo and use the git:/github: and branch: options
<highbass> makes it tricky since it adds Rails.env
rbennacer has quit [Remote host closed the connection]
<jhass> igam: a third possibility is to use bundler again but with the path: option, in which case it stays all local
Guest__ has joined #ruby
<igam> Yes, it would have to stay local.
<jhass> highbass: not really?
<Guest__> Hey guys, I have a weird problem when executing a command using split up options versus one big string: https://gist.github.com/dv/48bffc4877009a8c904ab61e4de7370b
<alebatt> Any idea why my inject method not working with do |h,i| ... end but work with {|h, i| ...} ??
Guest__ is now known as relix
<jhass> highbass: first of all that doesn't define what you can load, but what is automatically loaded
<igam> jhass: ok I see. Thanks.
<jhass> highbass: second, you can define your own groups, you're not restricted to development or test
<jhass> highbass: third you can just edit the call if you want to autoload another group
<relix> as you can see, the command runs when I just create one large string and pass it to open, but when I split it up into options to avoid exploits, it doesn't work (the soffice claims bad input parameters)
<relix> what does the split-up do differently?
<karapetyan> jhass: well, i understand how it works, with your explanation, but don't understand how to return value from inner recursive loop?
<jhass> karapetyan: the best way depends on your actual implementation, I took "possible" and "impossible" just for debug values
aryaching has joined #ruby
mattwashere has joined #ruby
<jhass> alebatt: not from that context, make a gist with both, the working and not working version
Devalo has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.5]
jkprg has joined #ruby
imperator has left #ruby ["Leaving"]
<jhass> relix: interesting, I can't spot anything obvious from a quick look, might be worth to strace the execve call
<spudowiar> cyource: Git != GitHub
<relix> yes, string-by-string it should be identical or nearly (except the quotes, but I've tried different quotes around the quoted string, and none worked)
<cyource> spudowiar ?
<karapetyan> jhass: what options i have? i show you my actual implementations :)
<relix> thanks jhass I'll try that out, have never done so
<spudowiar> 17:04:20 <cyource> oh my days, git keeps truncating it
<alebatt> Strange, now it's works... i think vim swp file error i think --'
<spudowiar> Ruby is just so beautiful I feel a compulsive urge to write some sort of DSL in it
<cyource> spudowiar oh yea, lol, soz
<dminuoso> karapetyan: If you want a solution for your code, you have to share your code.
macsteps has joined #ruby
LoneHermit has joined #ruby
<dminuoso> karapetyan: Otherwise the ideal solution is to hire me!
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<alebatt> I love ruby, but i do prefer Golang =D
<jhass> relix: you want strace -e execve -s 1024 iirc
macsteps has quit [Remote host closed the connection]
mistermocha has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<jhass> alebatt: why?
<ytti> golang is super fast to compile, has terrific ecosystem, reliable/professional backing
<ytti> but as a language, it is kinda plain/boring
<ytti> luckily most things are easy do to said ecosystem, lot of high level libraries
<karapetyan> dminuoso: https://repl.it/C8pq/4
<dminuoso> ytti: Go code in Malbolge for a while. That is everything but boring.
<jhass> yes crystal is much more interesting and has the potential for a similar ecosystem :P
<ytti> i can see golang becoming the next java
<alebatt> jhass: as +ytti said but i didn't find it boring
<ytti> if we look at rust, nim, d, crystal, elixir
<jhass> karapetyan: this is no different from your previous examples
<alebatt> i start coding in C, when i code in ruby i felt is cheating :')
<ytti> it's hard to say it's not boring in comparison
<ytti> but often you want your tools to be boring...
abonec has quit [Ping timeout: 252 seconds]
<jhass> it's an interesting decision to make
<alebatt> the fact to compile, it's really fast, the community
chopin has joined #ruby
<spudowiar> Yeah, I've been trying Crystal
<spudowiar> It's brilliant
<jhass> I think if it's too boring it can harm your motivation and thus efficiency
LoneHermit has quit [Ping timeout: 252 seconds]
chopin is now known as Guest12522
<havenwood> alebatt: Folk used to say C was cheating.
<jhass> but otoh it does help in not getting too smart
<shevy> better mascot
<shevy> that is why they opt for Go
flughafen_ has quit [Ping timeout: 258 seconds]
<jhass> that article has a decent amount of FUD actually iirc
<alebatt> havenwood: So asm is cheating also, i prefer code in binary directly :')
<spudowiar> cya
spudowiar has quit [Quit: biab]
Guest89957 has quit [Ping timeout: 272 seconds]
<jhass> karapetyan: anyway, https://repl.it/C8pq/5
<karapetyan> jhass: https://repl.it/C8pq/6
<karapetyan> oh )
Tharbakim has quit [Read error: Connection reset by peer]
Guest12522 has quit []
blackmesa has joined #ruby
firstdayonthejob has joined #ruby
jishankai has joined #ruby
<karapetyan> jhass: thank you!)
nando293921 has quit [Ping timeout: 276 seconds]
kobain has joined #ruby
craigp has joined #ruby
kareeoleez has joined #ruby
Devalo has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
workmad3 has joined #ruby
jishankai has quit [Ping timeout: 276 seconds]
leea has joined #ruby
mustmodify has joined #ruby
Silthias has quit [Ping timeout: 258 seconds]
cwailes has joined #ruby
<mustmodify> encodings still confuse me sometimes. I got this in a "date" field recently. Might it be some oriental date encoding or something? "\u70ad\u70e7"
CJKinni` has quit [Read error: Connection reset by peer]
AndrewIsHere has quit [Remote host closed the connection]
<cyource> jhass YES FINALLY DONE IT!
<jhass> cyource: congrats
taylorrf has joined #ruby
<jhass> mustmodify: perhaps just a 64bit integer?
<cyource> jhass Turns out I had installed the x86 versions of Ruby and DevKit for me x64 pc. Silly me. Thanks for the help!
<jhass> ok :)
deecross has quit [Remote host closed the connection]
cwailes has left #ruby [#ruby]
AndrewIsHere has joined #ruby
<jhass> mustmodify: mmh, wait, it's just 6 bytes not 8...
Meow-J has quit [Quit: Connection closed for inactivity]
<jhass> anything more on the origin of that?
smathy_ has joined #ruby
<mustmodify> no. I can ask the user. There will be a language barrier but I can muddle through it. Just thought someone might have some idea.
<mustmodify> visit {"date": "\u70ad\u70e7", ... }
Tharbakim has joined #ruby
smathy has quit [Ping timeout: 258 seconds]
replay has joined #ruby
<jhass> oh well
vuoto has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> well that's interesting
<jhass> >> "\u70ad\u70e7".force_encoding("UTF-8")
<ruby[bot]> jhass: # => "炭烧" (https://eval.in/600884)
whathappens has joined #ruby
<jhass> mustmodify: ^
<jhass> perhaps
<jhass> >> ""\u70ad\u70e7"
<ruby[bot]> jhass: # => /tmp/execpad-259430f2c62d/source-259430f2c62d:2: syntax error, unexpected $undefined, expecting keyw ...check link for more (https://eval.in/600885)
<jhass> ups
<jhass> >> "\u70ad\u70e7"
<ruby[bot]> jhass: # => "炭烧" (https://eval.in/600886)
<jhass> mustmodify: I think they were just avoiding source file encoding issues
<mustmodify> then?
<mustmodify> they?
jkprg has quit [Quit: jkprg]
vuoto has joined #ruby
<jhass> whoever wrote visit {"date": "\u70ad\u70e7" ... }
smathy_ is now known as smathy
<mustmodify> The user who submitted that from the web? :P
<smathy> Just means "charcoal" apparently, doesn't make sense why they entered that for date.
<alebatt> Bye all
alebatt has quit [Quit: bye]
<havenwood> for radiocarbon dating?
<havenwood> al2o3-cr: later
zacts has quit [Ping timeout: 276 seconds]
<mustmodify> jhass: thanks so much. Good to know my theory about it being an oriental character was on track.
RegulationD has joined #ruby
<smathy> havenwood, :)
<mustmodify> smathy: thanks, interesting. Maybe charcoal is like Leo or Sagitarius? :)
mistermocha has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<smathy> Could be something cultural, yeah. Or maybe just garbage data.
AndyBotwin has joined #ruby
andikr has quit [Remote host closed the connection]
replay has quit [Ping timeout: 246 seconds]
banisterfiend is now known as banisterfiend`
whathappens has quit [Ping timeout: 250 seconds]
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
jgt1 has quit [Ping timeout: 244 seconds]
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
Silthias has joined #ruby
Bira has joined #ruby
tw1sted has quit [Changing host]
tw1sted has joined #ruby
aegis3121 has joined #ruby
<cschneid_> Is there a nice way to pass several procs/blocks to a method? I'm doing def foo(if_default: ->() { ... }, if_whatever: ->() { ...}) { main_work }
<cschneid_> using those procs as "callbacks" for odd cases
DoubleMalt has quit [Ping timeout: 276 seconds]
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
TheWhip has joined #ruby
whathappens has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
macsteps has joined #ruby
TheWhip has quit [Remote host closed the connection]
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
aep-shoutlet has joined #ruby
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
whathappens has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
karapetyan has quit [Remote host closed the connection]
zacts has joined #ruby
yqt has joined #ruby
flashpoint9 has joined #ruby
ramfjord has joined #ruby
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
aryaching has quit [Ping timeout: 246 seconds]
nando293921 has joined #ruby
pilne has joined #ruby
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
banisterfiend` is now known as banisterfiend
mostlybadfly has joined #ruby
banisterfiend is now known as banisterfiend`
replay has joined #ruby
max2 has joined #ruby
moei has quit [Quit: Leaving...]
mistermocha has joined #ruby
mjuszczak has quit []
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
skade has joined #ruby
spudowiar has joined #ruby
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
aryaching has joined #ruby
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
jenrzzz has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
<smathy> cschneid_, other than that you can still pass a hash into a method expecting named args, not really any particularly nice or not-nice way.
araujo has quit [Max SendQ exceeded]
tomphp has joined #ruby
phantummm has quit [Quit: WeeChat 1.5]
Snowy has quit [Remote host closed the connection]
araujo has joined #ruby
rbennace_ has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<cschneid_> smathy: yeah, just awkward. I wish I had smalltalk style keyword args that were prettier. Just a syntax thing that bugs me I think.
crank1988 has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
ta_ has joined #ruby
<smathy> Yup. I assume you know you can omit the parens?
fmcgeough has joined #ruby
banisterfiend` is now known as banisterfiend
banisterfiend is now known as banisterfiend`
nando293921 has quit [Ping timeout: 252 seconds]
<cschneid_> for the stabby lambdas?
nando293921 has joined #ruby
<cschneid_> cool. I rarely use them, I favor the word lambda as syntax, since it's a bit clearer imo when skimming, but the stabby is great for inline stuff
`tim` has joined #ruby
banisterfiend` is now known as banisterfiend
rbennacer has quit [Ping timeout: 258 seconds]
banisterfiend is now known as banisterfiend`
<smathy> Yeah.
dsea has quit [Read error: Connection reset by peer]
<smathy> >> -> { "foo" }
<ruby[bot]> smathy: # => #<Proc:0x41d91b10@/tmp/execpad-06c98ea84bfb/source-06c98ea84bfb:2 (lambda)> (https://eval.in/600894)
<cschneid_> hmm, cool. Slightly less line noise :)
shree- is now known as sicky-creamy
<igam> Actually, I used the --standalone option too: bundle install --standalone --path $install/mygem
<igam> it works nicely :-)
<isberg> Any recommendations on gems for building command line tools?
<aegis3121> thor is pretty popular
phantummm has joined #ruby
karapetyan has joined #ruby
<isberg> aegis3121 I was thinking something like trollop
macsteps has quit [Remote host closed the connection]
<isberg> havenwood Awesome!
<isberg> Anything for running/chaining system commands that can handle users params?
baweaver has quit [Max SendQ exceeded]
<isberg> Like bash
Madplatypus has joined #ruby
baweaver has joined #ruby
<drbrain> isberg: system and Process.spawn both support IO redirection
troulouliou_div2 has quit [Quit: Leaving]
nando293921 has quit [Ping timeout: 246 seconds]
<isberg> drbrain Was hoping for something more high-level. Maybe with a DSL for terminal scripts?
<drbrain> so you can use IO.pipe to let data flow from one command to the next inside ruby, similar to cat | grep | …
<drbrain> I don't know of such a thing
<drbrain> but writing without higher-level API is not difficult
<isberg> But error prone
<drbrain> r, w = IO.pipe; system 'cat', 'whatever', out: w; system 'grep', 'whatever', in: r
<isberg> I much rather use something existing that writing it my self
<drbrain> you're not going to get much clearer than ↑ with some library
<drbrain> maybe Open3 (which is stdlib)
<isberg> Is still need to handle status codes, changing error messages, escaping, using input and so on
<isberg> I usually use Open3.capture3
<isberg> *user input
JoshGlzBrk has joined #ruby
ldnunes has quit [Ping timeout: 258 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
<drbrain> I don't think you can make Process::Status easier to use
<isberg> drbrain I want to work at a different abstraction layer
Devalo has joined #ruby
deadnull has quit [Quit: Bye]
<drbrain> what would that look like?
whathappens has joined #ruby
<isberg> I'm betting there are nice DSLs out there for this particular problem
UnKnOwN| has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<drbrain> I believe they're called a shells
<drbrain> (editing)
Xeago_ has joined #ruby
<isberg> drbrain Shells?
<drbrain> bash, zsh, csh, etc.
<eam> gross
<isberg> Yeah, but I still want to write it in Ruby
JeanCarloMachado has quit [Read error: Connection reset by peer]
hck89 has joined #ruby
<eam> it's pretty easy to use pipe(), fork() and exec() to do what you want to do
<drbrain> my recommendation is to write it using the API ruby provides, then extract your own higher-level API from that, if you can find one
GodFather_ has joined #ruby
GodFather has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 252 seconds]
GodFather_ has quit [Remote host closed the connection]
zeroDi has joined #ruby
<drbrain> modern ruby's system (and Process.spawn) functionality is so powerful Open3 doesn't add much that makes me want to use it anymore
<isberg> drbrain Not if something already exists. I rather focus on the business logic
<toretore> isberg: what sort of abstractions are you actually looking for?
<drbrain> I've never heard of a thing like that, probably because ruby's existing support has been good enough
<toretore> "a dsl" is vague
<isberg> toretore I'm not sure. I'm open for ideas. Here's one I found: https://github.com/commander-rb/commander
skade has quit [Quit: Computer has gone to sleep.]
<toretore> that is probably more for argument parsing etc
<isberg> toretore Scroll down :)
jhack has joined #ruby
nando293921 has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
minimalism has joined #ruby
<isberg> Or this one: https://github.com/ddfreyne/cri
GodFather has joined #ruby
<toretore> none of these are related to what you're talking about
JeanCarloMachado has joined #ruby
<isberg> toretore What did I ask for? :=
<isberg> :)
<drbrain> "10:36 isberg: Anything for running/chaining system commands that can handle users params?"
<toretore> ^
<isberg> Aha, I think I misread the readme
<drbrain> which to me means: "10:37 drbrain: isberg: system and Process.spawn both support IO redirection"
deecross has joined #ruby
weckl has joined #ruby
TheWhip has joined #ruby
<drbrain> If you mean "I want to be able to pipe data in and out of the executable I will write" then there are lots of those
<isberg> Maybe a DSL that imitates bash
<drbrain> In ruby we use Kernel#system
blaxter has quit [Quit: foo]
ta_ has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
<isberg> I know. I've been using Ruby for 8 years.
nando293921 has quit [Ping timeout: 244 seconds]
jgt1 has joined #ruby
jmnlwy has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 260 seconds]
<isberg> I must have 100 cli script lying around on my system. Éverytime I start writing a new script I always think; "there must be a better way". So here I am, looking for that particular way
jhack has quit [Quit: jhack]
`tim` has joined #ruby
dc4 has quit [Ping timeout: 276 seconds]
jhack has joined #ruby
hck89 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt1 has quit [Ping timeout: 240 seconds]
Silthias has quit [Quit: Leaving.]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bogusdisk has joined #ruby
jhack has quit [Client Quit]
jhack has joined #ruby
hck89 has joined #ruby
benlieb has joined #ruby
the_drow has joined #ruby
cdg has joined #ruby
<funrep> is "get static_pages_home_url" same as "get(static_pages_home_url)"?
weaksauce has joined #ruby
blackmesa has joined #ruby
calmchaos has quit [Remote host closed the connection]
<funrep> is get a keyword or something general defined in rails source?
miqlas-H has joined #ruby
<drbrain> funrep: `get` is a method
<drbrain> ruby does not require that use use parentheses around method calls
calmchaos has joined #ruby
<drbrain> … so `get(url)` and `get url` are the same
<drbrain> some people (like me) prefer to omit as many parentheses as they can because they believe it makes ruby easier to read
<baweaver> drbrain: Seattle? :P
<drbrain> you can't chain methods like: get(url).save_to(some_file) so you have to use variables to describe what you're doing
<drbrain> baweaver: yup
<baweaver> I swear Seattle is known for that style
<baweaver> I have some reservations about it myself, mainly because it makes passing methods as first class functions a royal pain.
<baweaver> though it does read nicely as a DSL, so I'm torn in some ways
yfeldblum has joined #ruby
<drbrain> it can prevent some typo-errors, too: https://gist.github.com/drbrain/5ea7c9389a55c81fd3c1
calmchao_ has joined #ruby
moei has joined #ruby
mauro1 has joined #ruby
mauro1 has quit [Client Quit]
calmchaos has quit [Ping timeout: 250 seconds]
<smathy> I use parens in programming as I do in math, only when required to override precedence.
flashpoint9 has quit [Remote host closed the connection]
weemsledeux has joined #ruby
calmchao_ has quit [Remote host closed the connection]
weemsledeux has quit [Client Quit]
sneakers has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
calmchaos has joined #ruby
TheWhip has quit [Remote host closed the connection]
<baweaver> drbrain: I'd agree with geeksam that that was doing too much
basex has quit [Ping timeout: 276 seconds]
flashpoint9 has joined #ruby
<funrep> drbrain: nice thanks! :)
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aegis3121 has quit [Ping timeout: 250 seconds]
rodfersou|lunch is now known as rodfersou
<smathy> I think the argument presented about paren usage introducing bugs is a strawman, that'd be like suggesting that this buggy code is a demonstration of the problem with not using parens: YAML.load_file full_path_for 'config/one.yml'[environment]
calmchaos has quit [Remote host closed the connection]
<smathy> If you're coding/testing in a way that allows those sorts of errors, parens or not isn't going to save you from yourself.
<baweaver> Perl: The Reckoning
hahuang61 has quit [Ping timeout: 264 seconds]
KCmetro has joined #ruby
<drbrain> baweaver: yeah, but you can't fall into that trap in the first place if you avoid () as much as you can
<dminuoso> smathy: Well in some cases parens can be a code smell.
<dminuoso> smathy: My popular example is parens to fix precerence order when using &&/and, ||/or.
<dminuoso> If you have to use parens, chances are you are using the wrong version. :-)
flashpoint9 has quit [Remote host closed the connection]
<smathy> dminuoso, I see them the same as doing something like: ( 4x + 4 ) = y in math.
<smathy> At the risk of offending some people, it just looks ignorant to me :)
<smathy> Like people aren't quite sure of their operator precedence, so they add parens "just in case"
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<karapetyan> jhass: thanks a lot! :)
shinnya has quit [Ping timeout: 264 seconds]
<dminuoso> smathy: Agreed.
<C0deMaver1ck> not offended by I lump parens for operator precedence in the readability category, not ignorance
spider-mario has joined #ruby
<C0deMaver1ck> same reason I hate ternaries
emilkarl has joined #ruby
`tim` has joined #ruby
<dminuoso> smathy: There can be some cases where parens can be useful to visually group things together for whatever reason - but more often than not that is a code smell again and asks for breaking it into multiple lines using variables.
emilkarl has quit [Remote host closed the connection]
<smathy> dminuoso, yep.
gizmore has joined #ruby
tomphp has joined #ruby
calmchaos has joined #ruby
codecop has joined #ruby
kirun has joined #ruby
aegis3121 has joined #ruby
<smathy> C0deMaver1ck, would you do `y = ( 4x + 3 )` in math (vs `y = 4x + 3`) too?
flashpoint9 has joined #ruby
<dminuoso> The one valid case for adding parens in Ruby that I can see, is when you make method calls. There is quite a few ways where you can actually provoke Syntax errors if you omit method call parens
last_staff has joined #ruby
<smathy> Heh, I see method calls the same as any other syntax.
macsteps has joined #ruby
<jhack> anyone get a build failed error when updating to ruby 2.3.1 with rbenv?
<C0deMaver1ck> smathy, no that overly simplistic and doesn't need to be more readable
karapetyan has quit [Remote host closed the connection]
<dminuoso> C0deMaver1ck: parens dont make code more readable - they are a result of you trying to jam too many things into one line.
<smathy> C0deMaver1ck, but you'd write y = ( bool ? x : y ) in ruby?
<C0deMaver1ck> nope, hate ternary
<smathy> C0deMaver1ck, oh sorry, I misread your previous as "have". So you'd write: y = ( foo && bar ) ?
<C0deMaver1ck> I'm not advocating for parens in assignment or method calls
mtkd has quit [Ping timeout: 240 seconds]
KCmetro has quit [Remote host closed the connection]
<C0deMaver1ck> more for `if x && y || (b == a && !h)`
dc4 has joined #ruby
karapetyan has joined #ruby
mtkd has joined #ruby
<smathy> Ok, so that to me looks like: x * y + ( b * a^c )
<dminuoso> smathy: why the parens?
<dminuoso> ;-)
<smathy> Exactly.
<smathy> My first thought is that I've missed something that the parens MUST be there to override.
juanfra has quit [Quit: juanfra]
blackmesa has quit [Ping timeout: 250 seconds]
KCmetro has joined #ruby
<smathy> (of course, these days that's not my first thought, my first thought is "ho hum, unnecessary parens again")
ramfjord has joined #ruby
<dminuoso> About the only thing I do from time to time, is to enclouse conditions after an if/unless in parens - but that is only a silly habit I picked up writing C and C++. :)
<dminuoso> And that is mostly just muscle memory doing its job and me not noticing it.
<smathy> :)
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheWhip has joined #ruby
elaptics is now known as elaptics`away
weckl has quit [Remote host closed the connection]
wald0 has joined #ruby
leea has joined #ruby
<jhack> Anyone get this error when updating ruby to ruby2.3.1? (using rbenv) Inspect or clean up the working tree at /var/folders/vy/_mqwkz2j2d1c06fl577s4d1c0000gn/T/ruby-build.20160705145554.7723
Devalo has joined #ruby
griffindy has joined #ruby
blackmesa has joined #ruby
<dminuoso> jhack: which OSX version?
jgt1 has joined #ruby
<jhack> dminuoso: 10.11.5
<dminuoso> jhack: What version of OSX did you run the last time you compiled Ruby?
hahuang61 has joined #ruby
<jhack> oh.. I dont remember
<dminuoso> (There is a point to this question)
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
<jhack> I believe it was before i updated to el capitan
roshanavand has joined #ruby
<dminuoso> jhack: The one thing I do remember, is that El Capitan introduced a new feature called SIP, which could have the most bizarre effects during many compilation things.
<jhack> dammit
<dminuoso> (Because it basically disabled DLYD_ environment variables, which could have bizarre effects loading the wrong libraries)
karapetyan has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 250 seconds]
<dminuoso> jhack: Do you have some actual error message from the compilation process?
GodFather has quit [Ping timeout: 250 seconds]
<jhack> Yeah, ill put it up ona gist
dagelf has joined #ruby
jgt1 has quit [Ping timeout: 272 seconds]
prestorium has quit [Ping timeout: 240 seconds]
<dminuoso> jhack: Do me a favour, create a simple hello_world.c, and try to compile and link it.
johnmilton has quit [Remote host closed the connection]
<jhack> idk how thats done :x
<dminuoso> jhack: In fact, do you even have a compiler?!
<jhack> no haha
<dagelf> What's the "state-of-the-art" to get random ruby packages running? rvm? lxc? docker? ubuntu? fedora? precompiled binaries? ... :-)
<havenwood> jhack: xcode-select --version
roshanavand has quit [Quit: This computer has gone to sleep]
<havenwood> jhack: then: xcode-select --install
<jhack> xcode-select version 2343.
<havenwood> jhack: That's fine.
<jhack> ok
<dminuoso> dagelf: Anything with docker is sexy. Nobody can tell you why, but it's great.
ramfjord has quit [Ping timeout: 240 seconds]
<havenwood> dagelf: Archlinux and Fedora are two options with up-to-date Ruby packages. If you need more flexibility you might like installing Rubies with ruby-install and switching between them with chruby.
<havenwood> dagelf: Here's a gist showing a chruby setup with Archlinux Ruby packages: https://gist.github.com/jhass/8839655bb038e829fba1
blackmesa has quit [Ping timeout: 246 seconds]
ChiefAlexander has quit [Remote host closed the connection]
<havenwood> jhack: Using Homebrew or one of the other package managers?
<jhack> yeah, homebrew
<jhack> i’ve updated/upgraded it as well
nankyokusei has quit []
<havenwood> An aside, but since rbenv's ruby-build doesn't install deps, you might want to yourself: brew install automake bison gdbm libffi libyaml openssl readline
<dminuoso> havenwood: Since that topic was brought up by postmodern today, is there a definite list somewhere on the build dependencies?
<havenwood> jhack: Or try installing for rbenv with ruby-install (which does install deps): https://github.com/postmodern/ruby-install#readme
banisterfiend` has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> dminuoso: That's the problem, the most definitive list I know of is chruby's. :P
<dminuoso> :P
banisterfiend has joined #ruby
<havenwood> Well, chruby's wiki or ruby-install.
<dminuoso> havenwood: See, I should have told him that. Im sure he would have understood the humour.
tomaz_b has joined #ruby
ChiefAlexander has joined #ruby
<havenwood> It'd be nice to have a canonical list.
<havenwood> dminuoso: Hah
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt1 has joined #ruby
<dminuoso> Well he went off to create a bug report about it.
nankyokusei has joined #ruby
Dimik has joined #ruby
tomaz_b has quit [Client Quit]
tomaz_b has joined #ruby
prestorium has joined #ruby
roamingdog has joined #ruby
<jhack> no i havent
<havenwood> jhack: You could see if `brew doctor` complains about your compiler setup.
<dminuoso> jhack: I was talking about someone else. :)
<jhack> :)
diegoviola has quit [Ping timeout: 272 seconds]
fgo has quit [Quit: WeeChat 1.3]
<dminuoso> jhack: echo "int main() {}" > test.c && gcc test.c
<dminuoso> jhack: what does that yield?
DoubleMalt has joined #ruby
<havenwood> echo $? #=> 0
<jhack> think that’s the problem?
<jhack> dminuoso: clang: error: linker command failed with exit code 1 (use -v to see invocation)
<dminuoso> Ho.
aep-shoutlet has quit [Quit: Connection closed for inactivity]
<dminuoso> jhack: Do as clang tells you to.
KCmetro has quit [Remote host closed the connection]
<dminuoso> Let's see what its trying to invoke.
toretore has quit [Ping timeout: 260 seconds]
<dminuoso> And of course "gcc" just means "clang" because Apple.
KCmetro has joined #ruby
hipertracker has joined #ruby
tomphp has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> jhack: Your entire chain seems to try and build ios things.
<dminuoso> Perhaps havenwood knows more.
<havenwood> jhack: Err, gist us?: gcc -v
chipotle_ has joined #ruby
KCmetro has quit [Remote host closed the connection]
blackmesa has joined #ruby
tomphp has quit [Max SendQ exceeded]
chipotle_ has quit [Max SendQ exceeded]
<jhack> at the bottom
Meow-J has joined #ruby
<havenwood> that is a funky --with-gxx-include-dir
n61505 has joined #ruby
chipotle_ has joined #ruby
tomphp has joined #ruby
<dminuoso> havenwood: Everything about his toolchain setup is funky. It's all configured to include, compile to, and link against iOS.
n61505 has left #ruby [#ruby]
chipotle has quit [Ping timeout: 260 seconds]
<havenwood> jhack: It'd normally be: --with-gxx-include-dir=/usr/include/c++/4.2.1
n61505 has joined #ruby
Devalo has joined #ruby
<havenwood> dminuoso: Yeah, it's not occurring to me what might have precipitated that.
<jhack> :|
<dminuoso> jhack: I would direct this question at #macdev
deecross has quit [Remote host closed the connection]
<havenwood> jhack: Just to sanity check, what do you get for?: command -v gcc
LoneHerm_ has joined #ruby
KCmetro has joined #ruby
<jhack> /usr/bin/gcc
<dminuoso> looks right
failshell has joined #ruby
johnmilton has joined #ruby
CJKinni has joined #ruby
macsteps has quit [Remote host closed the connection]
[Butch] has joined #ruby
jxs_ has quit [Remote host closed the connection]
LoneHerm_ has quit [Ping timeout: 252 seconds]
nhhc has joined #ruby
symm- has quit [Quit: Leaving...]
johnmilton has quit [Ping timeout: 244 seconds]
KCmetro has quit [Remote host closed the connection]
n61505 has quit [Ping timeout: 260 seconds]
symm- has joined #ruby
kareeoleez has quit [Remote host closed the connection]
CJKinni has quit [Remote host closed the connection]
calmchaos has quit [Remote host closed the connection]
ddffg has joined #ruby
deecross has joined #ruby
KCmetro has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
wigust_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wigust has joined #ruby
calmchaos has joined #ruby
calmchaos has quit [Remote host closed the connection]
calmchaos has joined #ruby
nankyokusei has quit [Remote host closed the connection]
kareeoleez has joined #ruby
benlieb has quit [Quit: benlieb]
mostlybadfly has quit [Quit: Connection closed for inactivity]
hipertracker has quit [Quit: hipertracker]
ChiefAlexander has quit [Remote host closed the connection]
kareeoleez has quit [Ping timeout: 258 seconds]
AngryBuzzy has joined #ruby
flughafen_ has joined #ruby
johnmilton has joined #ruby
mostlybadfly has joined #ruby
whathappens has quit [Remote host closed the connection]
zacts has quit [Ping timeout: 258 seconds]
whathappens has joined #ruby
elifoster has joined #ruby
kareeoleez has joined #ruby
KCmetro has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 272 seconds]
DoubleMalt has quit [Ping timeout: 240 seconds]
whathappens has quit [Ping timeout: 276 seconds]
KCmetro has joined #ruby
hk238 has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
Devalo has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 276 seconds]
kareeoleez has quit [Ping timeout: 276 seconds]
Beverage has joined #ruby
Silthias has joined #ruby
ramfjord has joined #ruby
karapetyan has joined #ruby
aegis3121 has joined #ruby
l4v2 has quit [Quit: l4v2]
zeroDi has quit [Quit: WeeChat 1.5]
DoubleMalt has joined #ruby
Wsewolod has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
KCmetro_ has joined #ruby
chip_ has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
zacts has joined #ruby
leea has joined #ruby
nando293921 has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
KCmetro has quit [Ping timeout: 240 seconds]
KCmetro has joined #ruby
spudowiar has quit [Quit: biab]
cyource has quit [Quit: Leaving]
KCmetro has quit [Remote host closed the connection]
swills has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
juanfra has joined #ruby
KCmetro_ has quit [Ping timeout: 250 seconds]
tomaz_b has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
kareeoleez has joined #ruby
<dagelf> havenwood: Awesome thanks not looked at how Arch does things, nor chruby... I'm trying to figure out what the best way is to keep ruby packages & dependencies up-to-date yet compatible and compilable in a distribution.... too many stale ruby-dependencies in Ubuntu and Debian and trying to see if I can come up with a better or easier way to do things...
djbkd has joined #ruby
KCmetro has joined #ruby
<dagelf> havenwood: oh yes, of course osx factor to contend with too...
mustmodify has left #ruby [#ruby]
GodFather has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> dagelf: You can use chruby with Homebrew Rubies as well, but it does *just work* with ruby-install.
flughafen_ has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
blackgoat has joined #ruby
<lupine> +1 for chruby + ruby-install
<lupine> it's pretty much zero-effort
Devalo has joined #ruby
kareeoleez has quit [Ping timeout: 272 seconds]
KensoDev has joined #ruby
usuari0 has joined #ruby
johnmilton has quit [Ping timeout: 252 seconds]
jgt1 has quit [Ping timeout: 272 seconds]
fmcgeough has quit [Quit: fmcgeough]
Devalo has quit [Ping timeout: 264 seconds]
kareeoleez has joined #ruby
Xiti has quit [Quit: Xiti]
tomphp has joined #ruby
kareeoleez has quit [Ping timeout: 258 seconds]
Xiti has joined #ruby
roamingdog has quit [Remote host closed the connection]
[Butch] has quit [Quit: [Butch]]
UnKnOwN| has quit [Read error: Connection reset by peer]
nando293921 has quit [Ping timeout: 272 seconds]
[Butch] has joined #ruby
UnKnOwN| has joined #ruby
flughafen_ has joined #ruby
mistermocha has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
gizmore has quit [Ping timeout: 240 seconds]
skade has joined #ruby
codecop has quit [Remote host closed the connection]
gizmore has joined #ruby
UnKnOwN| has quit [Read error: Connection reset by peer]
flughafen_ has quit [Ping timeout: 276 seconds]
whippythellama has quit [Quit: WeeChat 1.2]
mistermocha has quit [Ping timeout: 260 seconds]
UnKnOwN| has joined #ruby
flughafen_ has joined #ruby
l4v2 has joined #ruby
ChiefAlexander has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
SilverKey has joined #ruby
ur5us has joined #ruby
macsteps has joined #ruby
SilverKey has quit [Max SendQ exceeded]
ta_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
rcvalle has joined #ruby
KnownSyntax_ has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
axsuul has joined #ruby
KnownSyntax_ has joined #ruby
KnownSyntax_ has quit [Changing host]
KnownSyntax_ has joined #ruby
UnKnOwN| has quit [Ping timeout: 250 seconds]
kareeoleez has quit [Ping timeout: 260 seconds]
Sashimi has joined #ruby
hck89 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChiefAlexander has quit [Remote host closed the connection]
yfeldblum has joined #ruby
jhack has quit [Quit: jhack]
DoubleMalt has quit [Ping timeout: 246 seconds]
synthroi_ has quit []
ddffg has quit [Ping timeout: 244 seconds]
allcentury has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
yqt has joined #ruby
replay_ has joined #ruby
whathappens has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
swills has joined #ruby
replay has quit [Ping timeout: 240 seconds]
replay_ has quit [Ping timeout: 252 seconds]
kareeoleez has joined #ruby
hck89 has joined #ruby
sepp2k has quit [Quit: Leaving.]
ChiefAlexander has joined #ruby
ghr has joined #ruby
rodfersou is now known as rodfersou|lunch
usuari0 is now known as gehenna
flughafen_ has quit [Ping timeout: 276 seconds]
hipertracker has joined #ruby
gehenna has quit [Quit: Leaving]
shinnya has joined #ruby
kareeoleez has quit [Ping timeout: 240 seconds]
blandflakes has joined #ruby
karapetyan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
last_staff has quit [Quit: last_staff]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
<leea> just a quick poll, what is the preferred development tool for ruby? i.e. RubyMine, vi/vim, Atom, sublime?
<leea> i guess since is opinionated it would be your personal preference
workmad3 has joined #ruby
failshell has quit []
<aegis3121> I think everyone uses something different for different reasons. I prefer sublime at home and a combination of sublime/rubymine at work (since I get the license for free and it's REALLY useful for debugging very large applications).
kareeoleez has joined #ruby
<matt_d> leea: whichever makes you more productive.
karapetyan has quit [Ping timeout: 244 seconds]
<leea> aegis3121 for rubymine @ work, is that because your work is a huge rails app?
<aegis3121> yes :(
<Papierkorb> leea: I use Atom (because of its integration with e.g. Rubocop), if it weren't for that, I'd still use Kate (KDEs general purpose editor)
<Papierkorb> Has its own share of annoyances, but at least it's OSS.
ghr has joined #ruby
mattwashere has quit [Ping timeout: 276 seconds]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
<leea> matt_d how would a beginner like myself quantify productivity?
postmodern has joined #ruby
<matt_d> leea: try as many as you can.
karapetyan has joined #ruby
kareeoleez has quit [Ping timeout: 244 seconds]
asdf123 has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<asdf123> is there not a ruby on rails chat?
<Papierkorb> asdf123: there absolutely is over at #RubyOnRails
<aegis3121> #RubyOnRails
<asdf123> thx
asdf123 has left #ruby [#ruby]
hahuang61 has joined #ruby
ldnunes has quit [Quit: Leaving]
jhack has joined #ruby
JeanCarloMachado has quit [Ping timeout: 246 seconds]
whathappens has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
kareeoleez has joined #ruby
jgt1 has joined #ruby
<lupine> gedit is also good
<lupine> editorwise
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
calmchaos has quit [Remote host closed the connection]
kareeoleez has quit [Ping timeout: 276 seconds]
jgt1 has quit [Ping timeout: 276 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
zacts has quit [Ping timeout: 272 seconds]
ashleyhindle has joined #ruby
ashleyhindle has left #ruby [#ruby]
kareeoleez has joined #ruby
openstruct has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ghr has joined #ruby
jhack has quit [Quit: jhack]
DoubleMalt has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
jhack has joined #ruby
deecross has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
DoubleMalt has joined #ruby
replay has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
bruce_lee has quit [Read error: Connection reset by peer]
deecross has joined #ruby
bruce_lee has joined #ruby
openstruct has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
eljimmy has joined #ruby
SilverKey has quit [Quit: Halted.]
pawnbox has quit [Remote host closed the connection]
aupadhye has quit [Ping timeout: 246 seconds]
agentmeerkat has quit [Ping timeout: 244 seconds]
openstruct has quit [Client Quit]
SilverKey has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deecross has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 264 seconds]
perniciouscaffei has joined #ruby
vuoto has quit [Quit: Lost terminal]
DoubleMalt has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 250 seconds]
jgt1 has joined #ruby
jhack has quit [Quit: jhack]
mistermocha has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ta_ has joined #ruby
craigp has quit [Quit: WeeChat 1.5]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp has joined #ruby
craigp has quit [Client Quit]
hutch34 has quit [Ping timeout: 272 seconds]
macsteps has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
<isberg> drbrain Still there?
relix has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
igam has quit [Remote host closed the connection]
Radar has joined #ruby
igam has joined #ruby
nankyokusei has joined #ruby
Radar is now known as Guest95125
biberu has quit []
hck89 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest95125 is now known as Radar
Radar has quit [Changing host]
Radar has joined #ruby
ta_ has quit [Ping timeout: 272 seconds]
basex has joined #ruby
nando293921 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
last_staff has joined #ruby
JeanCarloMachado has joined #ruby
zacts has joined #ruby
agentmeerkat has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
KCmetro has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizless has joined #ruby
<isberg> Does anyone know if there's a ruby gem similar to this DSL for defining command line scripts? https://gist.github.com/anonymous/231d10cc1cf2520db8bc3ff018bd8252 ping drbrain
rbennace_ has quit [Read error: Connection reset by peer]
gizmore has quit [Ping timeout: 250 seconds]
KCmetro has joined #ruby
KCmetro has quit [Remote host closed the connection]
rbennacer has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
denimchikn has joined #ruby
dc4 has quit [Ping timeout: 250 seconds]
<isberg> I spent a few hours defining my own DSL (no logic). My guess is that someone else already did this
mistermo_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
nando293921 has quit [Read error: Connection reset by peer]
wigust has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
ramfjord has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
<matt_d> isberg: thor, commander ?
mistermo_ has quit [Ping timeout: 250 seconds]
<isberg> matt_d Looked at both, but non really did what my example DSL is doing
braincrash has joined #ruby
pdoherty has quit [Ping timeout: 240 seconds]
<Papierkorb> isberg: there is the 'shell' gem bundled with ruby, I don't know about another gem for this though. I like your idea though
<isberg> or is suppose to do
_gautam_ has joined #ruby
kareeoleez has quit [Remote host closed the connection]
eljimmy has joined #ruby
<isberg> Papierkorb Thanks. Running an arbitrary script is simple, the difficult part is maintaining it. Havent found a way to do this yet
nhhc has quit [Quit: Leaving]
<Papierkorb> isberg: yeah, especially if it comes to some kind of flow control
chip_ has quit [Ping timeout: 250 seconds]
<isberg> The example I posted has the ability to validate each command before running them (checking the type and so on) which would be nice
ramfjord has quit [Ping timeout: 240 seconds]
ramfjord_ has joined #ruby
<isberg> Yeah, flow control was the word I was looking for
<isberg> Didn't know what to search for, that should be it
dminuoso has quit [Ping timeout: 272 seconds]
bb010g has joined #ruby
cd-rum has joined #ruby
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cd-rum_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
calmchaos has joined #ruby
cd-rum has quit [Ping timeout: 252 seconds]
dc4 has joined #ruby
ghr has joined #ruby
chouhoul_ has joined #ruby
TheWhip has quit [Remote host closed the connection]
highbass has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
ghr has quit [Ping timeout: 240 seconds]
SilverKey has quit [Quit: Halted.]
chouhoulis has quit [Ping timeout: 252 seconds]
firstdayonthejob has quit [Ping timeout: 246 seconds]
aegis3121 has quit [Ping timeout: 252 seconds]
hutch34 has joined #ruby
chouhoul_ has quit [Ping timeout: 276 seconds]
djbkd has quit [Remote host closed the connection]
scorphus has quit [Changing host]
scorphus has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
denimchikn has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
denimchikn has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ghr has joined #ruby
JoshGlzBrk has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
Xeago_ has joined #ruby
SilverKey has joined #ruby
pawnbox has joined #ruby
Rodya_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
zenlot has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
zenlot has joined #ruby
polishdub has quit [Quit: Leaving]
timmow has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
fp- has joined #ruby
JakFrist has joined #ruby
aries_liuxueyang has quit [Ping timeout: 258 seconds]
zacts has quit [Read error: Connection reset by peer]
ChiefAlexander has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
jishankai has joined #ruby
_gautam_ has quit [Quit: Lingo: www.lingoirc.com]
timmow has joined #ruby
macsteps has joined #ruby
basex has quit [Quit: basex]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
ghr has joined #ruby
jishankai has quit [Ping timeout: 240 seconds]
aries_liuxueyang has joined #ruby
Rodya_ has joined #ruby
last_staff has quit [Quit: last_staff]
wald0 has quit [Quit: Lost terminal]
floatingpoint has quit [Quit: Goodnight]
SilverKey has quit [Quit: Halted.]
pawnbox has joined #ruby
Xeago_ has quit [Ping timeout: 244 seconds]
z3ndrag0n has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
naftilos76 has quit [Quit: Αποχώρησε]
ghr has quit [Ping timeout: 240 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
elifoster has quit [Ping timeout: 252 seconds]
basex has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
bfrizzle has quit [Ping timeout: 240 seconds]
Authenticator has quit [Quit: leaving]
mostlybadfly has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
hipertracker has quit [Quit: hipertracker]
Regulati_ has joined #ruby
xingped has joined #ruby
hipertracker has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
<xingped> I'm learning ruby and I really hate omitting parenthesis for function calls. with that in mind, i'm trying to learn rspec, but I can't figure out how to put parenthesis into this: expect(5).to be < 5
Rodya_ has quit [Read error: No route to host]
<xingped> sorry, expect(4)
cdg has joined #ruby
<xingped> the closest i can get is expect(4).to(be < 5)
<xingped> but I'm not sure what to do with 'be' and hte less than symbol
Rodya_ has joined #ruby
bfrizzle has joined #ruby
postmodern has quit [Quit: Leaving]
replay has quit [Ping timeout: 260 seconds]
zeroDi has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
<Papierkorb> xingped: that's as close you will get
z3ndrag0n has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<Papierkorb> xingped: well, you could: expect(4).to(be.<(5)) But that's not readable at all anymore
spider-mario has quit [Remote host closed the connection]
<Radar> xingped: If you like parentheses so much, why not use Lisp? ;)
<smathy> be().<(5) - just sayin'
hipertracker has quit [Quit: hipertracker]
<jhass> how about some useless grouping?
<jhass> (((expect(((4))).to((be(()).<(((5))))))))
<nofxx> there's no #gt #lt ?
<smathy> ZOMG bro, do you even ruby?
cschneid_ has quit [Remote host closed the connection]
ghr has joined #ruby
vdamewood has joined #ruby
nettoweb has joined #ruby
<lupine> it's really best to treat rspec as something of a DSL
<jhass> actually, we shouldn't discriminate against those poor [] and {} folks
<jhass> [{nil => (expect((4)).to((be(()).<((5))))}]
GodFather has quit [Ping timeout: 250 seconds]
nettoweb has quit [Max SendQ exceeded]
KCmetro has joined #ruby
<lupine> I was a bit sad to see the ruby style guide recommending against using m-exps
<jhass> or <>
<jhass> [{%<> => (expect((4)).to((be(()).<((5))))}]
<Radar> throw more brackets
hahuang61 has joined #ruby
spudowiar has joined #ruby
saneax_AFK is now known as saneax
CharlesN has joined #ruby
elifoster has joined #ruby
karapetyan has quit [Remote host closed the connection]
eljimador has joined #ruby
KCmetro has quit [Ping timeout: 240 seconds]
araujo has quit [Ping timeout: 276 seconds]
yeticry has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 272 seconds]
zacts has joined #ruby
yeticry has joined #ruby
araujo has joined #ruby
arooni_______ has joined #ruby
braincrash has joined #ruby
<xingped> Papierkorb, ah, thanks
swills has quit [Ping timeout: 272 seconds]
<xingped> Radar, because I'm teaching Ruby, not Lisp. believe me, I didn't chose this language of my own accord. :P
flashpoint9 has joined #ruby
<Radar> xingped: Then I would recommend to stick to the common practice of writing it like your original example: expect(5).to be < 5
<Radar> xingped: Enforcing your own standards which don't match the commonly accepted way of doing things means that it's going to be rude shock to people if/when they go into companies and they do it the other way.
<Radar> HOWEVER: It's that old joke "3 lawyers, 4 opinions"... "3 companies, 4 coding styles"
<Radar> Maybe I am being too pedantic?
SCHAAP137 has quit [Quit: Leaving]
fp- has quit [Quit: Lingo: www.lingoirc.com]
<xingped> heh, i will be teaching it the "most common" way, i was just trying to figure out how to do it with parenthesis for my own sake
rhllor has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
<nofxx> Radar, at least ruby got some nice stuff convetioned (does that word exists?) 2 spaces, no trailing, do/end {}
hipertracker has joined #ruby
rhllor has quit [Client Quit]
<Radar> nofxx: I would say "we've agreed upon at least one convention"
<nofxx> xingped, dont forget to use rubocop
<xingped> really though, there really shouldn't be two ways of doing the same thing if there's not mutually exclusive use cases for each
<Radar> xingped: That sounds like the Python school of thought ;)
<xingped> haha, never used python. one of these days though.
yeticry has joined #ruby
nettoweb has joined #ruby
<xingped> nofxx, yep, will be teaching rubocop. thanks!
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nofxx> Radar, usually a js for instance, makes my emacs glow up like a xmas tree... and first save does a lot of auto-fixery...it's like, everyline has a change when you commit hehe
<nofxx> need to turn things off =D
SilverKey has joined #ruby
<Radar> exactly
<jhass> xingped: size/length, inject/reduce, map/collect, select/find_all, key?/has_key?, is_a?/kind_of?, $:/$LOAD_PATH, the list goes on, welcome to ruby
<xingped> jhass, i'm already groaning, lol
ghr has quit [Ping timeout: 240 seconds]
kavanagh has joined #ruby
<shevy> xingped use one and forget the others :D
<shevy> also use the right one!
basex has quit [Quit: basex]
Hobogrammer has joined #ruby
<nofxx> find/detect .. later good to avoid some ORM/ODM you'll problably using
<nofxx> any reason for find_all over select?
<nofxx> first thing a ORM does is ovewrite #find heh
chouhoulis has joined #ruby
ghr has joined #ruby
koooge has joined #ruby
Rodya_ has quit [Remote host closed the connection]
arooni_______ has quit [Ping timeout: 250 seconds]
xingped has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
memorasus1 has joined #ruby
arooni has quit [Ping timeout: 272 seconds]
<al2o3-cr> sup claire bears
arooni_______ has joined #ruby
arooni has joined #ruby
memorasus has quit [Ping timeout: 244 seconds]
memorasus1 is now known as memorasus
charliesome has joined #ruby
allcentury has joined #ruby
nankyokusei has joined #ruby
<al2o3-cr> shevy: make me laugh :)
ghr has joined #ruby
<shevy> I am trying to bundle everything related to bioinformatics into a single project!
arooni_______ has quit [Ping timeout: 250 seconds]
<al2o3-cr> shevy: i don't no whether to praise you or say "dog in the fog"
nankyokusei has quit [Ping timeout: 258 seconds]
<al2o3-cr> either way you is a character
symm- has quit [Ping timeout: 252 seconds]
<shevy> biggest problem is that most of this is very boring
<shevy> or digging into ancient perl code
ghr has quit [Ping timeout: 240 seconds]
<al2o3-cr> that's is you fault
AndrewIsHere has quit [Remote host closed the connection]
basex has joined #ruby
<al2o3-cr> shevy: you still at 1.8?
AndrewIsHere has joined #ruby
arooni_______ has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
JoshGlzBrk has joined #ruby
<al2o3-cr> shevy: you like a drink?
[Butch] has quit [Quit: I'm out . . .]
<shevy> there were some smaller problems mostly when switching from ruby 1.8 to 1.9.x and beyond
<shevy> the last obstacle was that psych requires UTF-something
<shevy> but there is syck too
KCmetro has joined #ruby
<shevy> past that point it was no longer really that hard
ghr has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
<al2o3-cr> shevy: u switched to 2.3?
<shevy> yeah
<shevy> I think 4 years ago or something like that
<al2o3-cr> u like?
<shevy> well
<shevy> to the *most current variant back then
<shevy> there were some smaller good ideas like the did you mean gem
<al2o3-cr> character u shevy boats
<shevy> I still think that one of the biggest problems in ruby is the documentation
hutch34 has joined #ruby
<shevy> even jhass links to non-default ruby homepages/docupages :)