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]
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]
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 ;)
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]
<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
<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
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]
<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.
<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
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]
<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
<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
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…]
<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]
<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
<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
<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?
<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.
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?
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]
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…]
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
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"
<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 :)