apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
mattwashere has quit [Remote host closed the connection]
maloik has joined #ruby
mattwashere has joined #ruby
gnufied has quit [Ping timeout: 272 seconds]
bob434 has joined #ruby
asal2107 has joined #ruby
cyphase has quit [Ping timeout: 276 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<frankiee_> Heya :)Hello! https://gist.github.com/frankie-loves-jesus/c23ce9183d5db1802c16063eb42ce54e -- how come mash.deep_fetch(:fields, :product_group) won't fetch me productGroup off that ugly JSON?
Derperperd has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mattwashere has quit [Ping timeout: 244 seconds]
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
jackjackdripper has joined #ruby
saneax is now known as saneax-_-|AFK
codelogix has joined #ruby
Rodya_ has quit [Remote host closed the connection]
gingray has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
Rodya_ has joined #ruby
roamingdog has joined #ruby
prawnzy has quit [Remote host closed the connection]
roamingdog has quit [Read error: Connection reset by peer]
giorgos1 has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
Rodya_ has quit [Ping timeout: 272 seconds]
nitric has quit [Ping timeout: 244 seconds]
codelogix has quit [Ping timeout: 272 seconds]
nando293921 has joined #ruby
jhack0 has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
csk has joined #ruby
nankyokusei has joined #ruby
jhack has quit [Ping timeout: 264 seconds]
brianpWins has quit [Quit: brianpWins]
nankyokusei has quit [Ping timeout: 264 seconds]
ryez has joined #ruby
roamingdog has quit []
zeroDi has quit [Quit: WeeChat 1.5]
codelogix has joined #ruby
whathappens has quit [Remote host closed the connection]
workmad3 has joined #ruby
Bellthoven has joined #ruby
giorgos1 has joined #ruby
JeanCarloMachado has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 276 seconds]
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
horst has joined #ruby
Snowy has quit [Ping timeout: 244 seconds]
hammond has quit [Ping timeout: 240 seconds]
ruby__ has joined #ruby
codelogix has quit [Ping timeout: 276 seconds]
shinnya has quit [Ping timeout: 240 seconds]
hammond has joined #ruby
hammond has quit [Changing host]
hammond has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
ruby_ has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
prawnzy has joined #ruby
ruby__ has quit [Ping timeout: 264 seconds]
mattwashere has joined #ruby
huthuthuthuthuth has quit [Quit: Page closed]
JoshS has joined #ruby
duderonomy has quit [Ping timeout: 272 seconds]
Bellthoven has quit []
jshjsh has joined #ruby
asal2107 has quit [Ping timeout: 264 seconds]
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
a7d7p has quit [Quit: a7d7p]
CloCkWeRX has joined #ruby
giorgos1 has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Ping timeout: 272 seconds]
Bellthoven has joined #ruby
ruby_ has joined #ruby
Bellthoven has quit [Client Quit]
nettoweb1 has joined #ruby
nettoweb1 has quit [Read error: Connection reset by peer]
ruby_ has quit [Remote host closed the connection]
nettoweb1 has joined #ruby
ruby_ has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
nettoweb_ has joined #ruby
mattwashere has quit [Remote host closed the connection]
nettoweb has quit [Ping timeout: 264 seconds]
blackmes1 has joined #ruby
Bellthoven has joined #ruby
nettoweb1 has quit [Ping timeout: 272 seconds]
jackjackdripper has quit [Quit: Leaving.]
blackmes1 has quit [Ping timeout: 244 seconds]
moeabdol has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
sleepee has joined #ruby
sleepee has quit [Max SendQ exceeded]
ur5us has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
tcrypt has quit [Ping timeout: 272 seconds]
Derperperd has quit [Read error: Connection reset by peer]
Derperperd has joined #ruby
tcrypt has joined #ruby
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BTRE has quit [Ping timeout: 265 seconds]
JakFrist[WVU] has joined #ruby
tcrypt has quit [Max SendQ exceeded]
BTRE has joined #ruby
dtscode has joined #ruby
tcrypt has joined #ruby
AndrewIsHere has joined #ruby
grill has joined #ruby
_sfiguser has quit [Remote host closed the connection]
AndrewIsHere has quit [Client Quit]
nadir has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
kingkong- has quit [Read error: Connection reset by peer]
symm- has joined #ruby
gril_ has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
kingkong- has joined #ruby
ryez has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
codelogix has joined #ruby
RegulationD has joined #ruby
auzty has joined #ruby
horst has quit [Quit: horst]
minimalism has joined #ruby
kingkong- has quit [Ping timeout: 272 seconds]
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<postmodern> is there a defacto lightweight object mapper for redis?
cyphase has joined #ruby
codelogix has quit [Ping timeout: 240 seconds]
brianpWins has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
dviola has quit [Quit: WeeChat 1.5]
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
JakFrist[WVU] has joined #ruby
cyphase has joined #ruby
kingkong- has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
A_Drone has joined #ruby
Ropeney has quit [Quit: Leaving]
A_Drone has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 272 seconds]
A_Drone has joined #ruby
sarbs has quit [Read error: Connection reset by peer]
elenatanasoiu has joined #ruby
nettoweb_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arescorpio has joined #ruby
sarbs has joined #ruby
tmtwd has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beauby_ has quit [Read error: Connection reset by peer]
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beauby has joined #ruby
tcrypt has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
cyphase has quit [Ping timeout: 244 seconds]
elenatanasoiu has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
jolamb has quit [Ping timeout: 244 seconds]
ichkv has joined #ruby
JakFrist[WVU] has joined #ruby
roger_rabbit has quit [Ping timeout: 252 seconds]
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
jolamb has joined #ruby
jcao219 has quit [Ping timeout: 244 seconds]
xentity1x has joined #ruby
samuelkadolph has quit [Quit: Quitting]
blackmes1 has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
pwnd_nsfw has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
braincra- has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
whathappens has joined #ruby
vdl has quit [Ping timeout: 244 seconds]
tcrypt has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
blackmes1 has quit [Ping timeout: 276 seconds]
elenatanasoiu has joined #ruby
redpants has quit [Ping timeout: 240 seconds]
vdl has joined #ruby
whathappens has quit [Client Quit]
sdothum- has quit [Ping timeout: 276 seconds]
ixti has quit [Quit: WeeChat 1.5]
braincrash has quit [Ping timeout: 240 seconds]
sdothum has joined #ruby
sdothum has quit [Remote host closed the connection]
elenatanasoiu has quit [Ping timeout: 240 seconds]
elifoster has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
jcao219 has joined #ruby
a7d7p has joined #ruby
duderonomy has joined #ruby
brendan- has joined #ruby
rose_ has quit [Ping timeout: 264 seconds]
beauby has quit [Read error: Connection reset by peer]
tcrypt has quit [Ping timeout: 272 seconds]
beauby has joined #ruby
Rodya_ has joined #ruby
yfeldblu_ has joined #ruby
shum has joined #ruby
nankyokusei has joined #ruby
inteq has joined #ruby
A_Drone has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
blackwind_123 has quit [Ping timeout: 276 seconds]
cyphase has quit [Ping timeout: 244 seconds]
tcrypt has joined #ruby
harai has quit [Ping timeout: 272 seconds]
csk has quit [Quit: ZZZzzz…]
vdl has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
kingkong- has quit [Ping timeout: 272 seconds]
tristanp has quit [Remote host closed the connection]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
frank has joined #ruby
kingkong- has joined #ruby
<frank> is there a ruby to perl compiler?
frank has quit [Client Quit]
cyphase has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
JoshS has quit [Ping timeout: 244 seconds]
govg has quit [Ping timeout: 276 seconds]
vdl has joined #ruby
codelogix has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
A_Drone has joined #ruby
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
horst has joined #ruby
minimalism has quit [Quit: minimalism]
minimalism has joined #ruby
cyphase has quit [Max SendQ exceeded]
tcrypt has quit [Ping timeout: 272 seconds]
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
codelogix has quit [Ping timeout: 272 seconds]
cyphase has joined #ruby
elenatanasoiu has joined #ruby
aryaching has joined #ruby
finisherr has joined #ruby
kingkong- has quit [Quit: No Ping reply in 180 seconds.]
tcrypt has joined #ruby
Sucks has joined #ruby
nadir has joined #ruby
kingkong- has joined #ruby
elenatanasoiu has quit [Ping timeout: 272 seconds]
peteykun has joined #ruby
vdl has quit [Ping timeout: 244 seconds]
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
Immune has joined #ruby
redpants has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
vdl has joined #ruby
gingray has joined #ruby
moeabdol has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
meinside has quit [Quit: Connection closed for inactivity]
moeabdol has quit [Ping timeout: 244 seconds]
gingray has quit [Ping timeout: 264 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincra- has quit [Quit: bye bye]
hahuang62 has joined #ruby
rsampaio_ has joined #ruby
pawnbox has joined #ruby
blackmes1 has joined #ruby
TechIsCool has quit [Ping timeout: 264 seconds]
jaguarmagenta has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
willywos has joined #ruby
jaguarmagenta has quit [Ping timeout: 272 seconds]
braincrash has joined #ruby
elenatanasoiu has joined #ruby
peteykun has quit [Ping timeout: 244 seconds]
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
prawnzy has quit [Remote host closed the connection]
astrobunny has joined #ruby
elenatanasoiu has quit [Ping timeout: 276 seconds]
cyphase has quit [Ping timeout: 240 seconds]
hahuang62 has quit [Ping timeout: 272 seconds]
craigp has quit [Ping timeout: 276 seconds]
willywos has quit [Quit: Textual IRC Client: www.textualapp.com]
fullofcaffeine has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
fullofcaffeine has joined #ruby
frankiee_ has quit [Ping timeout: 244 seconds]
brianpWins has joined #ruby
cyphase has joined #ruby
prawnzy has joined #ruby
tristanp has joined #ruby
fullofcaffeine has quit [Ping timeout: 264 seconds]
moeabdol has joined #ruby
ichkv has quit [Remote host closed the connection]
charliesome has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
SteenJobs has joined #ruby
tristanp has quit [Ping timeout: 264 seconds]
codelogix has joined #ruby
gix has quit [Ping timeout: 240 seconds]
tcrypt has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
horst has quit [Quit: horst]
giraffe_ has quit [Excess Flood]
MyMind has joined #ruby
Ropeney has joined #ruby
prawnzy has quit [Remote host closed the connection]
codelogix has quit [Ping timeout: 272 seconds]
elifoster has quit [Ping timeout: 244 seconds]
giraffe has joined #ruby
watersoul_ has joined #ruby
Papierkorb has quit [Ping timeout: 250 seconds]
giraffe is now known as Guest84199
bascht has quit [Ping timeout: 272 seconds]
Guest62386 has quit [Ping timeout: 272 seconds]
lipoqil_ has quit [Ping timeout: 272 seconds]
Yonk has quit [Ping timeout: 272 seconds]
boxrick1 has quit [Ping timeout: 272 seconds]
gix has joined #ruby
barajasfab has joined #ruby
hxegon has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 244 seconds]
fold4 has quit [Ping timeout: 250 seconds]
lipoqil_ has joined #ruby
mtkd has quit [Ping timeout: 272 seconds]
Alina-malina has quit [Ping timeout: 272 seconds]
Yonk has joined #ruby
nando293921 has quit [Ping timeout: 272 seconds]
spider-mario has quit [Ping timeout: 272 seconds]
bruce_lee has quit [Ping timeout: 272 seconds]
Sembei has quit [Ping timeout: 272 seconds]
jhack0 has quit [Remote host closed the connection]
JoshS has joined #ruby
watersoul has quit [Ping timeout: 272 seconds]
cstrahan_ has quit [Ping timeout: 272 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
hxegon has joined #ruby
Cra2yZer0 has joined #ruby
ChiefAlexander has joined #ruby
trollface has quit [Ping timeout: 250 seconds]
majoh has quit [Ping timeout: 248 seconds]
drbrain has quit [Ping timeout: 272 seconds]
tax has quit [Ping timeout: 272 seconds]
snapcase has quit [Ping timeout: 272 seconds]
WebDawg has quit [Ping timeout: 272 seconds]
ChiefAlexander has quit [Client Quit]
sarlalian has quit [Ping timeout: 250 seconds]
yonatankoren_ has quit [Ping timeout: 250 seconds]
Iacobus has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
Alina-malina has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
boxrick1 has joined #ruby
charliesome_ has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
charliesome has quit [Ping timeout: 272 seconds]
ytti has quit [Ping timeout: 272 seconds]
WebDawg has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
ghostlight has quit [Ping timeout: 240 seconds]
fladson[m] has quit [Ping timeout: 276 seconds]
cpfeilschifter[m has quit [Ping timeout: 276 seconds]
M-manveru has quit [Ping timeout: 276 seconds]
drbrain has joined #ruby
drbrain has quit [Changing host]
drbrain has joined #ruby
Iacobus has joined #ruby
peterhu has quit [Ping timeout: 272 seconds]
cajone has quit [Ping timeout: 250 seconds]
cstrahan_ has joined #ruby
ytti has joined #ruby
sarlalian has joined #ruby
Paradox has joined #ruby
peterhu has joined #ruby
yonatankoren has joined #ruby
fold4 has joined #ruby
iamayam has quit [Ping timeout: 250 seconds]
Papierkorb has joined #ruby
cyphase has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
ghostlight has joined #ruby
Suntzu has quit [Ping timeout: 272 seconds]
ytti has quit [Ping timeout: 272 seconds]
ytti has joined #ruby
beauby has quit [Read error: Connection reset by peer]
redpants has quit [Ping timeout: 264 seconds]
beauby has joined #ruby
brianpWins has quit [Quit: brianpWins]
Ankhers has joined #ruby
mim1k|wo1k has joined #ruby
tcrypt has joined #ruby
Bellthoven has quit []
Suntzu has joined #ruby
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k|work has quit [Ping timeout: 272 seconds]
spider-mario has joined #ruby
A_Drone has quit [Remote host closed the connection]
iamayam has joined #ruby
barajasfab has quit [Quit: Ex-Chat]
zel has joined #ruby
zel is now known as Guest27182
JakFrist[WVU] has joined #ruby
prawnzy has joined #ruby
jshjsh has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
cajone has joined #ruby
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcrypt has joined #ruby
ARCADIVS has joined #ruby
Sucks has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Quit: Leaving.]
tmtwd has quit [Ping timeout: 276 seconds]
JoshS has quit [Ping timeout: 272 seconds]
astrobunny has quit [Remote host closed the connection]
jshjsh has quit [Ping timeout: 272 seconds]
astrobunny has joined #ruby
blackmes1 has joined #ruby
tcrypt_ has joined #ruby
tcrypt has quit [Ping timeout: 276 seconds]
cyphase has quit [Ping timeout: 244 seconds]
jcao219 has joined #ruby
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
majoh has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
aries_liuxueyang has joined #ruby
tcrypt has joined #ruby
prawnzy has quit [Remote host closed the connection]
eljimmy has quit [Quit: This computer has gone to sleep]
astrobunny has quit [Ping timeout: 276 seconds]
arnonhongklay has joined #ruby
tcrypt_ has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 272 seconds]
snapcase has joined #ruby
cyphase has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
phredus is now known as phredus_
tcrypt has quit [Ping timeout: 240 seconds]
tcrypt_ has joined #ruby
skweek has joined #ruby
rsampaio_ has quit [Quit: WeeChat 1.5]
shum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
JoshS has joined #ruby
beauby has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
beauby has joined #ruby
dagda1 has joined #ruby
tcrypt_ has quit [Ping timeout: 272 seconds]
tristanp has quit [Remote host closed the connection]
nankyokusei has joined #ruby
a7d7p has quit [Quit: a7d7p]
roflmyeggo has joined #ruby
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 244 seconds]
tdy has joined #ruby
skweek has quit [Quit: Leaving]
skweek has joined #ruby
Rajamaa has joined #ruby
bob434 has joined #ruby
pawnbox has quit [Remote host closed the connection]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
tenderlove has quit [Changing host]
tenderlove has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
codelogix has joined #ruby
Rajamaa has quit [Ping timeout: 264 seconds]
astrobunny has joined #ruby
horst has joined #ruby
dtscode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tcrypt has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
astrobun_ has joined #ruby
codelogix has quit [Ping timeout: 244 seconds]
ruby_ has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
charliesome has joined #ruby
ruby_ has joined #ruby
JoshS has quit [Ping timeout: 264 seconds]
ruby_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
ruby_ has joined #ruby
astrobunny has quit [Ping timeout: 276 seconds]
astrobun_ has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
gingray has joined #ruby
flying has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
gingray has quit [Ping timeout: 240 seconds]
bocaneri has joined #ruby
NTrash has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
arescorpio has quit [Quit: Leaving.]
amclain has quit [Quit: Leaving]
astrobunny has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
A_Drone has joined #ruby
blackmes1 has joined #ruby
Rickmasta has joined #ruby
roflmyeggo has quit [Ping timeout: 244 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
harfangk has joined #ruby
last_staff has joined #ruby
blackmes1 has quit [Ping timeout: 272 seconds]
alfiemax has quit [Remote host closed the connection]
bascht has joined #ruby
JoshS has joined #ruby
dtscode has joined #ruby
moeabdol has joined #ruby
alfiemax has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 272 seconds]
tristanp has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
last_staff has quit [Remote host closed the connection]
jshjsh has joined #ruby
A_Drone has quit [Remote host closed the connection]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
brianpWins has joined #ruby
JoshS has quit [Ping timeout: 272 seconds]
hammond has quit [Ping timeout: 276 seconds]
cyphase has joined #ruby
tristanp has quit [Ping timeout: 272 seconds]
Hyuk has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 240 seconds]
compro has joined #ruby
RegulationD has joined #ruby
hammond has joined #ruby
hammond has joined #ruby
hammond has quit [Changing host]
hammond has joined #ruby
hammond has quit [Changing host]
codelogix has joined #ruby
alfiemax has left #ruby [#ruby]
horst has quit [Quit: horst]
Devalo has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
RegulationD has quit [Ping timeout: 264 seconds]
codelogix has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 264 seconds]
cyphase has quit [Ping timeout: 276 seconds]
skweek has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
geezus has joined #ruby
<geezus> hello
_djbkd has joined #ruby
<geezus> hola firned
<geezus> friend*
JohnVonNeumann has joined #ruby
<JohnVonNeumann> anyone here
<geezus> yes
<JohnVonNeumann> ayy
cyphase has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
yeezy has joined #ruby
tcrypt has joined #ruby
<geezus> hola baxter
symm- has quit [Ping timeout: 276 seconds]
<geezus> hola fred
paolooo has joined #ruby
Devalo has quit [Remote host closed the connection]
skweek has joined #ruby
<yeezy> whats doin
fladson[m] has joined #ruby
paolooo has left #ruby [#ruby]
deadprez has joined #ruby
compro has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
A_Drone has joined #ruby
dminuoso has joined #ruby
symm- has joined #ruby
frankiee_ has joined #ruby
JohnVonNeumann has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
geezus has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
Madplatypus has joined #ruby
cpfeilschifter[m has joined #ruby
geezus has joined #ruby
adac has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
gingray has joined #ruby
elastix has joined #ruby
yeezy has quit [Quit: Leaving...]
Cohedrin has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
yeezy has joined #ruby
M-manveru has joined #ruby
blackmes1 has joined #ruby
tcrypt has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
moeabdol has quit [Ping timeout: 264 seconds]
peteykun has joined #ruby
yfeldblum has quit [Remote host closed the connection]
A_Drone has quit []
yfeldblum has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
conta has joined #ruby
yfeldblum has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 240 seconds]
NTrash has joined #ruby
yfeldblu_ has joined #ruby
pawnbox has joined #ruby
moeabdol has joined #ruby
ur5us has quit []
nankyokusei has joined #ruby
compro has joined #ruby
s2013 has quit [Quit: Textual IRC Client: www.textualapp.com]
arnonhongklay has joined #ruby
adac has quit [Ping timeout: 240 seconds]
saneax-_-|AFK is now known as saneax
nankyokusei has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
rippa has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
vdamewood has quit [Quit: Life beckons.]
compro has quit [Ping timeout: 244 seconds]
UserJosh has joined #ruby
codelogix has joined #ruby
wugy has joined #ruby
horst has joined #ruby
skweek has quit [Ping timeout: 264 seconds]
jshjsh has quit [Ping timeout: 264 seconds]
LACampbell has joined #ruby
<LACampbell> I am reading the docs for BigDecimal, and it says if you require it it will add a "to_d" method to the Numeric class
<LACampbell> but it doesn't.
symm- has joined #ruby
codelogix has quit [Ping timeout: 264 seconds]
tcrypt has quit [Ping timeout: 272 seconds]
<LACampbell> ruby[bot]: require 'bigdecimal'; 0.to_d
aganov has joined #ruby
beauby has quit [Ping timeout: 240 seconds]
Snickers has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
tcrypt has joined #ruby
<LACampbell> oh you need 'bigdecimal/util' I only found that out from a blogpost
submitnine has joined #ruby
anisha has joined #ruby
vondruch has quit [Quit: vondruch]
dtscode is now known as god
vondruch has joined #ruby
compro has joined #ruby
ta_ has quit [Remote host closed the connection]
compro has quit [Max SendQ exceeded]
flying has quit []
compro has joined #ruby
geezus has quit [Remote host closed the connection]
yeezy has quit [Quit: Leaving...]
skweek has joined #ruby
Ropeney has quit [Ping timeout: 244 seconds]
Jon30 has quit [Read error: Connection reset by peer]
<apeiros> MOIN
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
harai has joined #ruby
TomyWork has joined #ruby
Sammichmaker has joined #ruby
elenatanasoiu has joined #ruby
mark_66 has joined #ruby
frankiee_ has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
craigp has joined #ruby
elenatanasoiu has quit [Ping timeout: 240 seconds]
_djbkd has quit [Quit: My people need me...]
elenatanasoiu has joined #ruby
peteykun has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 240 seconds]
dminuoso has joined #ruby
ReK2 has quit [Ping timeout: 276 seconds]
aufi has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
jaguarmagenta has joined #ruby
djbkd has joined #ruby
teclator has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 272 seconds]
blackmes1 has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
j416 has joined #ruby
moeabdol has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
claudiuinberlin has joined #ruby
meinside has joined #ruby
JoshS has joined #ruby
deadprez has quit [Quit: Leaving...]
tcrypt has joined #ruby
UserJosh has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
jaequery has joined #ruby
the_drow has joined #ruby
vdamewood has joined #ruby
blackgoat has quit [Ping timeout: 264 seconds]
adaccada has joined #ruby
antgel has joined #ruby
YaknotiS has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
postmodern has quit [Ping timeout: 272 seconds]
tcrypt has joined #ruby
horst has quit [Quit: horst]
fivmo has joined #ruby
salut has joined #ruby
meinside has quit [Read error: No route to host]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
teclator has joined #ruby
fivmo has left #ruby [#ruby]
meinside has joined #ruby
ferr has joined #ruby
Burgestrand has joined #ruby
fivmo has joined #ruby
b3atr has left #ruby ["WeeChat 1.5"]
Timba-as has quit [Quit: Be back later ...]
andikr has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
Tempesta has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
codelogix has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
AlexRussia has joined #ruby
JesseH has quit [Ping timeout: 275 seconds]
ICantCook has quit [Quit: bye]
minimalism has quit [Quit: minimalism]
codelogix has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 240 seconds]
tcrypt has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
<ljarvis> o/
ta_ has joined #ruby
jcao219 has quit [Ping timeout: 264 seconds]
Ropeney has joined #ruby
CloCkWeRX has joined #ruby
<apeiros> 2 bytes from ljarvis: icmp_seq=0 ttl=246 time=3021271.571 ms
elenatanasoiu has quit [Quit: WeeChat 1.5]
<ljarvis> stop byteing me
CloCkWeRX has quit [Client Quit]
elenatanasoiu has joined #ruby
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
jshjsh has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
ponga has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
blackmes1 has joined #ruby
minimalism has joined #ruby
edwinvdgraaf has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
watersoul_ has quit [Ping timeout: 264 seconds]
hakunin has joined #ruby
mikecmpbll has joined #ruby
fivmo has quit [Ping timeout: 264 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
bsrd has joined #ruby
edwinvdgraaf has joined #ruby
ptmiguelfernande has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
ptmiguelfernande has quit [Client Quit]
ptmiguelf has joined #ruby
edwinvdgraaf has joined #ruby
ptmiguelf has quit [Max SendQ exceeded]
ptmiguelf has joined #ruby
ptmiguelf has quit [Max SendQ exceeded]
<apeiros> ljarvis: don't hate me just because I measure your lag :(
pawnbox has quit [Remote host closed the connection]
blaxter has joined #ruby
ptmiguelfernande has joined #ruby
ptmiguelfernande has quit [Read error: Connection reset by peer]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
<ljarvis> apeiros: the lag is very real :(
ptmiguelf has joined #ruby
ptmiguelf has quit [Read error: Connection reset by peer]
<apeiros> it's still magnitudes lower than our current project-lag
marr has joined #ruby
<ljarvis> :D
<ljarvis> :(
<apeiros> :'( even
<apeiros> it means tons of features I was really looking forward to are scraped
pawnbox has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
<fbt> So yeah I didn't even need a fifo actually
miguelfernandes has joined #ruby
<fbt> .-.
finisherr has quit [Quit: finisherr]
<apeiros> so you had a fun sidequest and the only thing you've got from it was that t-shirt?
<fbt> All the modules are internal, just open a pipe and pass it to the workers
miguelfernandes has quit [Max SendQ exceeded]
antgel has joined #ruby
miguelfernandes has joined #ruby
<fbt> Realized it while reading the doc on IO :D
miguelfernandes has quit [Max SendQ exceeded]
yfeldblu_ has quit [Ping timeout: 272 seconds]
jcao219 has joined #ruby
tomphp has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
moeabdol has quit [Ping timeout: 240 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
nankyokusei has joined #ruby
pawnbox has quit [Remote host closed the connection]
last_staff has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
gener1c has quit [Quit: Lost terminal]
pawnbox has joined #ruby
alfiemax has quit []
senayar has joined #ruby
ctp has joined #ruby
salut_ has joined #ruby
moeabdol has joined #ruby
nofxx has quit [Ping timeout: 264 seconds]
salut has quit [Ping timeout: 240 seconds]
salut_ is now known as salut
nofxx has joined #ruby
GreatSUN has joined #ruby
prawnzy has joined #ruby
codelogix has joined #ruby
adaccada has quit [Quit: Leaving]
adaccada has joined #ruby
andrewvos has joined #ruby
adaccada has quit [Remote host closed the connection]
jaxxstorm has joined #ruby
jaxxstorm has quit [Client Quit]
jaxxstorm has joined #ruby
codelogix has quit [Ping timeout: 276 seconds]
<fbt> .ц 30
<fbt> oops
frankiee_ has joined #ruby
GreatSUN has quit [Remote host closed the connection]
koooge has quit [Quit: Leaving...]
alexherbo2 has quit [Quit: WeeChat 1.5]
prawnzy has quit [Remote host closed the connection]
[ace]_ is now known as [ace]
erlingur has quit [Ping timeout: 244 seconds]
GreatSUN has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
conta1 has joined #ruby
arnonhongklay has joined #ruby
GreatSUN has quit [Remote host closed the connection]
qiukun has joined #ruby
conta1 has quit [Ping timeout: 244 seconds]
nofxx has quit [Ping timeout: 264 seconds]
arnonhongklay has quit [Ping timeout: 276 seconds]
blaxter has quit [Quit: foo]
jcao219 has quit [Ping timeout: 264 seconds]
JeanCarloMachado has joined #ruby
harai has quit [Ping timeout: 272 seconds]
xentity1x has quit [Ping timeout: 264 seconds]
anisha_ has joined #ruby
god has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
anisha has quit [Read error: Connection reset by peer]
watersoul has joined #ruby
stamina has joined #ruby
jcao219 has joined #ruby
jaguarmagenta has joined #ruby
tmtwd has joined #ruby
edwinvdgraaf has quit [Ping timeout: 240 seconds]
jaguarmagenta has quit [Ping timeout: 276 seconds]
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
elastix has quit [Quit: elastix]
edwinvdgraaf has joined #ruby
jaxxstorm has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
edwinvdg_ has joined #ruby
pawnbox has joined #ruby
astrobunny has quit [Remote host closed the connection]
edwinvdgraaf has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
biberu has joined #ruby
duncannz has quit [Remote host closed the connection]
astrobunny has quit [Ping timeout: 264 seconds]
ARCADIVS has quit [Quit: ARCADIVS]
CloCkWeRX has joined #ruby
magellanicloud has joined #ruby
bob434 has joined #ruby
RegulationD has joined #ruby
pawnbox has quit [Remote host closed the connection]
workmad3 has joined #ruby
pawnbox has joined #ruby
codelogix has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
moeabdol has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
Snowy has joined #ruby
tcrypt has joined #ruby
codelogix has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
bumao_ has quit [Quit: ZNC 1.6.3 - http://znc.in]
frozengeek has joined #ruby
<frankiee_> Hi! How to fetch the value of `productGroup` off this JSON using hashie? https://gist.github.com/frankie-loves-jesus/c23ce9183d5db1802c16063eb42ce54e
<frankiee_> I'm trying `mash.deep_fetch(:fields, 0, :productGroup)` no-no!
<frankiee_> * but no-no!
<dminuoso> frankiee_: Include a full stack trace of the error please.
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
<frankiee_> one sec please
<dminuoso> frankiee_: Oh nevermind on the stack trace.
blackgoat has joined #ruby
<dminuoso> The initial TypeError is obvious.
<dminuoso> frankiee_: :fields points at an array, so you need an index to get into that, and the element 0 of that array has no key product_group
auzty has quit [Quit: Leaving]
<dminuoso> Your JSON does not have what you are looking for.
moeabdol has quit [Ping timeout: 244 seconds]
flying has joined #ruby
<frankiee_> dminuoso: Ahh, yeah that makes sense!
<frankiee_> I always found it difficult navigating hashes and arrays
arnonhongklay has joined #ruby
Guest5222 is now known as awk
Immune has quit [Ping timeout: 264 seconds]
Cra2yZer0 has quit [Ping timeout: 240 seconds]
<frankiee_> so i have to do "if that array contains a `name` with `productGroup`, fetch its `value`" somehow right?
Pumukel has quit [Ping timeout: 264 seconds]
<dminuoso> frankiee_: Yup.
ode_to_code has joined #ruby
<frankiee_> dminuoso: then probably deep_locate is better than deep_fetch? http://www.rubydoc.info/github/intridea/hashie#DeepFetch
tcrypt has quit [Ping timeout: 272 seconds]
pawnbox has quit [Remote host closed the connection]
Pumukel has joined #ruby
moeabdol has joined #ruby
johnmccabe has joined #ruby
tcrypt has joined #ruby
elenatanasoiu has quit [Quit: WeeChat 1.5]
pawnbox has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
postmodern has joined #ruby
dionysus69 has joined #ruby
aidalgol has quit [Quit: zZzZzZzZzzzzz]
Rajamaa has joined #ruby
<dminuoso> frankiee_: Perhaps. How about you try it out and let me know.
pawnbox has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 272 seconds]
gregf_ has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
<frankiee_> dminuoso: unfortunately `mash.deep_fetch(:fields, 0).deep_locate -> (key, value, object) { key.include?("product_group") } { "ERROR: category" }` returns `syntax error, unexpected ',', expecting ')`
<frankiee_> * productGroup
compro has quit [Ping timeout: 240 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
erlingur has joined #ruby
pawnbox has joined #ruby
elenatanasoiu has joined #ruby
<dminuoso> frankiee_:
tcrypt has quit [Ping timeout: 264 seconds]
<dminuoso> frankiee_: I do not think you are showing me the entire code here.
jcao219 has quit [Ping timeout: 276 seconds]
hahuang62 has joined #ruby
pwnd_nsfw has joined #ruby
asal2107 has joined #ruby
pawnbox has quit [Remote host closed the connection]
Pumukel has joined #ruby
<frankiee_> dminuoso: in this rake task i can use "product_group" instead of "productGroup" though due to its prettification thingie
<dminuoso> frankiee_: the parens for deep_locate are not optional, if you want to pass both a lambda and a blkock.
erlingur has quit [Ping timeout: 272 seconds]
<dminuoso> frankiee_: i.e. it needs to be method(->() {}) {}
ocbtec has joined #ruby
nankyokusei has joined #ruby
hahuang62 has quit [Ping timeout: 272 seconds]
rodfersou has joined #ruby
JesseH has joined #ruby
tmtwd has quit [Ping timeout: 276 seconds]
asal2107 has quit [Ping timeout: 240 seconds]
<frankiee_> dminuoso: will try mash.deep_fetch(:fields, 0).deep_locate(-> (key, value, object) { value.include?("product_group") }) { "ERROR: category" } then
shum has joined #ruby
Pumukel has quit [Ping timeout: 276 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
asal2107 has joined #ruby
<frankiee_> dminuoso: interesting, no error this time, just :category=>nil and the other stuff is as expected
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has quit [Ping timeout: 264 seconds]
<dminuoso> frankiee_: Im not sure whether the block is actually used.
Pumukel has joined #ruby
erlingur has joined #ruby
tcrypt has joined #ruby
AlexRussia has joined #ruby
moeabdol has joined #ruby
c355e3b has joined #ruby
pwnd_nsfw` has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
codelogix has joined #ruby
pwnd_nsfw has quit [Ping timeout: 272 seconds]
moeabdol has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
JeanCarloMachado has quit [Quit: Lost terminal]
compro has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
codelogix has quit [Ping timeout: 240 seconds]
antgel has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 264 seconds]
not_underground has joined #ruby
pawnbox has quit [Remote host closed the connection]
shum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
prawnzy has joined #ruby
Silthias has joined #ruby
postmodern has quit [Quit: Leaving]
shum has joined #ruby
tlaxkit has joined #ruby
tonini has quit [Quit: Connection closed for inactivity]
AlexRussia has joined #ruby
<frankiee_> dminuoso: maybe a reduced test case would be better? https://gist.github.com/frankie-loves-jesus/c23ce9183d5db1802c16063eb42ce54e
prawnzy has quit [Ping timeout: 272 seconds]
<frankiee_> hell, shhould have started with that
erlingur has quit [Ping timeout: 276 seconds]
<dminuoso> frankiee_: so apparently you cant do .deep_fetch(:key, 0)
edwinvdg_ has quit [Read error: Connection reset by peer]
asal2107 has quit [Ping timeout: 240 seconds]
edwinvdgraaf has joined #ruby
millerti has joined #ruby
<frankiee_> dminuoso: something else must be wrong, i can't even .deep_fetch(:key)
dionysus69 has quit [Ping timeout: 264 seconds]
Burgestrand has joined #ruby
craigp has quit [Ping timeout: 264 seconds]
qiukun has quit [Quit: qiukun]
andrewvos has quit [Quit: WeeChat 0.4.2]
tcrypt has quit [Read error: Connection reset by peer]
[k- has joined #ruby
pawnbox_ has joined #ruby
tcrypt_ has joined #ruby
mim1k|wo1k is now known as mim1k|work
salut has quit [Quit: salut]
<fbt> I have another scoping question. I have a method for ::String that renders strings as erb templates. In said erb templates I use local variables that were set in the scope the method is used. Why does this even work?
<fbt> Shouldn't the method not have access to these local variables?
Hyuk has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
<apeiros> fbt: can you provide a working minimal example?
CharlieLo has joined #ruby
<fbt> On it
<apeiros> hrmpf, Hash#dig should take a block.
<fbt> http://ix.io/1rv2/ruby with syn
LACampbell has quit [Ping timeout: 240 seconds]
bobdobbs has joined #ruby
askhat has joined #ruby
<fbt> I can't get my head around how scopes work in Ruby
tcrypt_ has quit [Ping timeout: 272 seconds]
<apeiros> hm, weird.
askhat has left #ruby [#ruby]
submitnine has quit [Read error: Connection reset by peer]
<fbt> It shouldn't even work, right?
<apeiros> I have a suspicion
[]\[] has quit [Ping timeout: 244 seconds]
bhrgunatha has joined #ruby
<apeiros> yupp
<apeiros> ERB#result defaults to using TOPLEVEL_BINDING
<fbt> Ah.
<fbt> Well that is insecure as all shit
<apeiros> so while the method does NOT have direct access to the local variables, it has indirect access to this very special scope through that constant.
monoprotic has quit [Ping timeout: 276 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
<apeiros> you can always pass in a specific binding
monoprotic has joined #ruby
tcrypt has joined #ruby
Sembei has joined #ruby
<fbt> Yeah. Or put my config into a module and work through that
nadir has joined #ruby
dionysus69 has joined #ruby
Guest94926 has quit [Ping timeout: 272 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
MyMind has quit [Ping timeout: 276 seconds]
bhrgunatha has quit [Client Quit]
craigp has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
nuck has joined #ruby
johnmilton has quit [Remote host closed the connection]
claudiuinberlin has quit [Remote host closed the connection]
nuck is now known as Guest474
anisha_ has quit [Quit: Leaving]
Scientz is now known as Scient
nettoweb has joined #ruby
<bobdobbs> Hi. I'm just experimenting with really basic stuff. I have a text file that looks like this: http://beta.pastee.com/3mp67 ...I want to just get the strings before ':' I'm trying this: http://beta.pastee.com/bhdkt
<bobdobbs> When I run this, it returns the first subtring: "Rennaisance" and then stops. It doesn't keep iterating through the lines.
<bobdobbs> What not?
ldnunes has joined #ruby
<dminuoso> bobdobbs: Because f.read reads the entire file
<dminuoso> bobdobbs: You can use f.readlines do |line| end to iterate over each line in the file.
<bobdobbs> ah, I see
magellanicloud has quit [Read error: Connection reset by peer]
<bobdobbs> thanks
<dminuoso> You are welcome.
<dminuoso> apeiros: Did you see this? I was nice to someone.
<apeiros> ?cookie dminuoso
<ruby[bot]> dminuoso: here's your cookie: 🍪
<dminuoso> Granted, if folks come in here, show us their input, their code, expected and observed behavior - then its fun to help them. :p
* bobdobbs steals dminuoso's cookie
yeticry has joined #ruby
<dminuoso> You can have it. I put the chocolate in my local storage.
<apeiros> indeed. it's sadly so rare that people spend a minimum of time to think about how to get help.
jayeola has joined #ruby
antgel has joined #ruby
<Zarthus> dminuoso: let me present you with my vague question without supplying code. the expected behaviour is that it stops misbehaving.
<dminuoso> Zarthus: let me present you with my solution
<dminuoso> go fix it.
<apeiros> Zarthus: nonono, the problem is that "it doesn't work", and the expected behaviour is that it "works"
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 244 seconds]
Ishido has joined #ruby
<dminuoso> Zarthus: Once it's fixed, please gist it somewhere so I can steal it.
<Zarthus> ok dminuoso i fixed it
<dminuoso> Let's see it.
Rajamaa has quit [Ping timeout: 272 seconds]
codelogix has joined #ruby
Rajamaa has joined #ruby
moshee has quit [Ping timeout: 244 seconds]
tomphp has quit [Ping timeout: 272 seconds]
tomphp has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
Burgestrand has joined #ruby
Pumukel has joined #ruby
doritostains has joined #ruby
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
doritostains has quit [Client Quit]
<fbt> http://ix.io/1rvu this is a better way to do this, right?
tcrypt has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
<Zarthus> dminuoso: No can do, this code is protected by the NSA
<Zarthus> it has a header that says # do not redistribute or you get pebbled
TomyWork has quit [Remote host closed the connection]
codelogix has quit [Ping timeout: 272 seconds]
not_underground has quit [Ping timeout: 240 seconds]
tcrypt has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
geezus has joined #ruby
Burgestrand has joined #ruby
<apeiros> btw., re our discussion from yesterday dminuoso - seems like rails *already* hooks into the FS :-p (via https://rubygems.org/gems/listen)
dminuoso has quit [Ping timeout: 276 seconds]
<Bish> if i have a file that is utf8 encoded, but has errors in it due to previous programs that walked over it
<Bish> can i somehow fix that file?
Pumukel has quit [Ping timeout: 244 seconds]
<Bish> the wrongly encoded things got their way into utf8 as weird byte sequences
<Bish> is there any ways to find out if these chars were a äüäé whatever
<apeiros> yes. but it's a lot of manual work.
Burgestrand has quit [Client Quit]
<Bish> like, you want me to do it?
<Bish> yeah i knew that was possible
dminuoso has joined #ruby
<apeiros> your question was "can I", I answered that :)
Pumukel has joined #ruby
<elomatreb> Bish: I've heard good things about https://github.com/LuminosoInsight/python-ftfy
<elomatreb> Not Ruby, but it's something
<Bish> well, i can also build a neural network that magicially can do that, but is as unlikely
<dminuoso> elomatreb: I think such a library is quite horrible.
anisha has joined #ruby
<elomatreb> dminuoso: Mh? Why is that?
<dminuoso> elomatreb: The problem is that people don't understand encoding. Spoonfeeding them with something like that allows them to completely avoid the issue, and have no fucking clue what they are working with..
blackmes1 has quit [Ping timeout: 240 seconds]
<apeiros> while I agree with dminuoso's concern, I prefer to blame the people over blaming the tools.
<dminuoso> apeiros: Absolutely.
<elomatreb> dminuoso: Agreed in principle, but even someone who understands encoding sometimes gets handed garbled data
<apeiros> but I've seen tons of horrible solutions to encoding issues
<apeiros> and if those solutions are replaced with ftfy, I think it's already an improvement
<dminuoso> apeiros: I would replace those persons.
<dminuoso> But hey.
<dminuoso> :p
<apeiros> sure
<apeiros> but we can't :)
<elomatreb> Putting a library like this one in your app and just passing all data through it is probably a bad idea, yeah
<elomatreb> But I see nothing wrong with it to fix stored data
<dminuoso> apeiros: Like the guy who came in here asking "hey if you cant oauth2 and want to safely store passwords for a third website on your server, how would you solve the problem" - I told him "by firing you"
<apeiros> yes, I've seen that. was a bit harsh.
<apeiros> sometimes you get handed problems where all solutions are bad
<elomatreb> Do we now pride ourselves on giving out non-solutions?
<apeiros> we maintain login+pw in the session in our app because we're not allowed to use a technical user in exchange, but are required to synchronize data with it and are not allowed to query logindata again. it's a horrible solution, but I don't see another one. I did my duty by advising against it.
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
<elomatreb> What is the person asking about the passwords going to do? Go to their boss and say "Well, those people in IRC told me it was a bad idea, let's not do it"
<dminuoso> elomatreb: Just asking the question is proof that he has no clue about the subject. Being tasked to then implement a solution to "safely/encryptographicallytilityfully/properly" solve security issues cannot yield any useful results.
johnmilton has joined #ruby
<elomatreb> dminuoso: I agree completely, but being rude is not going to help
<apeiros> and the case yesterday seemed somewhat similar. no influence on the login mechanism for those 3rd party apps. so all you can do is communicate the risks to your users and provide a technically awful solution.
<apeiros> i.e. all you can do is reduce the risk, but not eliminate it.
<dminuoso> apeiros: Last time someone here wanted to implement such an idiotic solution, I sent back a risk analysis, depicting that a potential attack could cost the company millions with various attack vectors described, and ensured someone from management heard about it. The issue was never pursued again.
<apeiros> what would you have done if management said "ok, thanks for the assessment, we'll still do it"?
<dminuoso> apeiros: It's a communication issue mostly.
gnufied has joined #ruby
<elomatreb> In the end, we probably didn't stop them implementing their password storing thingy
<dminuoso> apeiros: Then I would have told then "Im not a security expert to sufficiently provide a thorough solution"
<dminuoso> apeiros: And told them to hire security specialists to solve the problem.
<apeiros> "do a best effort"
Snowy has quit [Remote host closed the connection]
gnufied has quit [Max SendQ exceeded]
gnufied has joined #ruby
<dminuoso> apeiros: It's like when you splice optical cables. You don't ask your janitor whether "he can do a best effort" - you hire trained technicians who know about the equipment and procedures, otherwise you just get junk.
fmcgeough has joined #ruby
<elomatreb> "<apeiros> [...] I prefer to blame the people over blaming the tools." -- Why? We can fix the tools, I doubt we can fix people
edwinvdgraaf has quit [Ping timeout: 272 seconds]
ode_to_code has quit [Quit: ode_to_code]
<apeiros> s/fix people/educate people/
Immune has joined #ruby
glcx has joined #ruby
jayeola has quit [Ping timeout: 272 seconds]
<apeiros> and the assumption is that the tool works correctly
<dminuoso> apeiros: Maybe I just have a bit of an idealistic perspective and the freedom to excercie a thick head at times in my company
<apeiros> of course, if the tool is broken, I will blame the tool. but that was not the point of discussion.
tyang has joined #ruby
<elomatreb> What would be more work? Educating everyone who uses Tool X or designing X to not require (as much) education?
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<elomatreb> I'm mainly a designer, so I'm probably a bit biased here
<dminuoso> What do you design?
kristofferR has joined #ruby
<elomatreb> Mainly for websites, although I have done some mobile UI stuff in the past
<apeiros> elomatreb: problem is we're talking about programmers. they build more tools based on their ignorance. it's a snowballing problem.
<apeiros> I don't care when leaves do stupid things
roger_rabbit has joined #ruby
<apeiros> I do care when nodes do stupid things
<apeiros> because from nodes, stupid things propagate and grow.
<elomatreb> I hadn't thought of that. You mean like the influental people in programming spreading bad influence?
bruce_lee has quit [Ping timeout: 264 seconds]
<apeiros> and programmers are nodes. their stupidity is multiplied (through users of their programs) and passed down (code inheritance, teaching bad techniques, etc.)
synthroid has joined #ruby
bruce_lee has joined #ruby
<dminuoso> elomatreb: And contrary to popular belief encoding is a relatively simplistic issue, it just requires people to figure out what your input is and what your output needs to be.
<dminuoso> elomatreb: Which means effort.
<apeiros> it's a "spend an hour" issue.
<apeiros> and the caused issues of not spending that hour is magnitudes more than an hour.
<dminuoso> Granted, things get a bit interesting once you add collation into the mix.
<elomatreb> I agree somewhat, although the religious defenders of ISO8859 in my country make it interesting
<apeiros> yes, especially in languages like ruby which lack native support.
<apeiros> but luckily, collation is a much much less important problem than encoding.
<apeiros> elomatreb: I assume those people also hate emoji, so that's not a vector to convince them? :D
AlexRussia has joined #ruby
jayeola has joined #ruby
<apeiros> nb: there's nothing wrong with iso8859, as long as all your data fits in it and the use of it is properly documented (also nb: the use of utf-8 should also be properly documented)
<elomatreb> apeiros: It's one of the very few things that sometimes convince those people to switch their database encoding
rondon1124 has joined #ruby
<apeiros> elomatreb: and then they use mysql with 4byte utf-8 😂
* elomatreb looks at github angrily
<rondon1124> what widget toolkit do you use with ruby ?
<rondon1124> to make GUI apps ?
kvsari has joined #ruby
<rondon1124> Tk ?
ocbtec has quit [Quit: leaving]
<apeiros> *don't use
glcx has quit [Read error: Connection reset by peer]
glcx_ has joined #ruby
<dminuoso> apeiros: The really hateful thing about mysql in the whole story is collation actually. I was super annoyed and confused, when I got the strangest unique constraint violation errors - it took me hours to figure out that by default mysql has collation enabled..
tcrypt has quit [Ping timeout: 264 seconds]
<dminuoso> That was the last time I agreed to help out with a MySQL problem for the other department.
d10n-work has joined #ruby
<apeiros> well, that part makes sense IMO. it's the same as if you define a column to be case insensitive and then wonder why unique constraint triggers on 'hi' vs. 'HI'
<apeiros> unless I misunderstand the issue :)
<apeiros> (long time no mysql - pg in private, and *sadface* oracle & mssql at work)
edwinvdgraaf has joined #ruby
<dminuoso> apeiros: Well, as a software developer, to me "H" is not the same as "h"
<dminuoso> And "ä" is not the same as "a"
Burgestrand has joined #ruby
<dminuoso> I look at them and see codepoints.
<dminuoso> Not some humanized meaning.
<apeiros> dminuoso: sure. but it is equivalent if you say "compare case insensitive". even as a software developer. or even: especially as a software developer.
glcx has joined #ruby
glcx has joined #ruby
glcx has quit [Changing host]
glcx_ has quit [Read error: Connection reset by peer]
<apeiros> again, blame the people, not the tools :D
<apeiros> if they should have used binary comparison, they should have configured it that way.
Burgestrand has quit [Client Quit]
<apeiros> ok, partially can blame the tool maybe (bad default)
gingray has quit [Ping timeout: 264 seconds]
<dminuoso> apeiros: Indeed. I dont have a problem with the feature itself, just the fact that it's enabled by default.
<apeiros> oracle is also fancy that way in that you can only enable it globally. it's fun if one app needing it breaks all other apps (which need it off)
<dminuoso> Solution simple: buy more oracle.
Burgestrand has joined #ruby
<dminuoso> If you are rich to buy one oracle to begin with, you can buy multiple.
<dminuoso> That's their business concept.
symm- has joined #ruby
pwnd_nsfw has joined #ruby
Burgestrand has quit [Client Quit]
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
tcrypt has joined #ruby
asal2107 has joined #ruby
Snowy has joined #ruby
nankyokusei has joined #ruby
craigp has quit [Quit: WeeChat 1.5]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
aries_liuxueyang has joined #ruby
brendan- has joined #ruby
olblak_ has joined #ruby
olblak_ has quit [Client Quit]
Burgestrand has joined #ruby
claudiuinberlin has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
<rondon1124> is fxruby ok to use to make GUI apps ?
sdwrage has quit [Ping timeout: 276 seconds]
claudiuinberlin has quit [Ping timeout: 240 seconds]
<dminuoso> rondon1124: From all the frameworks Ive seen, none is really "ok" - they are all "meh" :(
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Hyuk has joined #ruby
<rondon1124> ok dminuoso thanks
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> rondon1124: But then again I used to work in a Qt heavy project, so Im really spoiled in terms of UI development.
<rondon1124> dminuoso: how is qt ?
<rondon1124> i mean with ruby ?
<rondon1124> are there any tutorials ?
<dminuoso> rondon1124: Do you really want to know how our Ruby code interacted with Qt?
<rondon1124> ok dminuoso
<dminuoso> rondon1124: http://www.corba.org/
craigp has joined #ruby
claudiuinberlin has joined #ruby
codelogix has joined #ruby
sdwrage has joined #ruby
edwinvdg_ has joined #ruby
Vingador has joined #ruby
codelogix has quit [Ping timeout: 240 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
crameth has joined #ruby
edwinvdgraaf has quit [Ping timeout: 240 seconds]
<dminuoso> rondon1124: Note that this is not "the way to connect these two". We had special architectural needs - so CORBA was already there.
Hobbyboy has quit [Ping timeout: 272 seconds]
<rondon1124> ok dminuoso i'm trying fxruby or rubyfx
face has joined #ruby
<rondon1124> don't recall hwo it is calle
<rondon1124> *called
<rondon1124> i just need a simple application
<dminuoso> rondon1124: You have "shoes", FXRuby, Ruby/GTK2 and qtbindings - those are your general options for GUI stuff.
edwinvdgraaf has joined #ruby
Rajamaa has quit [Ping timeout: 272 seconds]
<dminuoso> ramblinpeck: The first two are for simplistic solutions, the last two are just bindings for GTK and qt respectively.
olblak has quit [Ping timeout: 244 seconds]
djbkd_ has joined #ruby
prawnzy has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
redpants has joined #ruby
<rondon1124> ok ok dminuoso i can't achieve to install shoes as a gem
tcrypt has joined #ruby
<rondon1124> and it seems a separate program... i have problems with it
<rondon1124> maybe it needs JRuby
<rondon1124> i don't know
edwinvdg_ has quit [Ping timeout: 264 seconds]
erlingur has joined #ruby
jayeola has quit [Ping timeout: 276 seconds]
blackmes1 has joined #ruby
jayeola has joined #ruby
prawnzy has quit [Ping timeout: 276 seconds]
tvw has quit []
asal2107 has quit [Quit: Lost terminal]
tvw has joined #ruby
madduck- has quit [Quit: bb]
govg has joined #ruby
teclator has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 276 seconds]
tcrypt has quit [Quit: _ノ乙(、ン、)_]
last_staff has quit [Quit: last_staff]
lipoqil_ is now known as lipoqil
swills has quit [Remote host closed the connection]
Guest54 has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
djbkd_ has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
inteq has quit []
olblak has joined #ruby
rndUser_ has joined #ruby
Pumukel has joined #ruby
csk has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nofacade_ has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
blackmes1 has quit [Ping timeout: 244 seconds]
<frankiee_> Anybody know how I'd go about using hashie's deep_fetch properly? https://gist.github.com/frankie-loves-jesus/23bcf741b672da31cc8cb1ef8aa400df
bsrd has joined #ruby
bsrd has quit [Client Quit]
tcrypt has joined #ruby
mattwashere has joined #ruby
Immune has quit [Ping timeout: 244 seconds]
qiukun has joined #ruby
nofacade_ has quit [Client Quit]
kvsari has left #ruby [#ruby]
ramortegui has joined #ruby
redpants has quit [Ping timeout: 244 seconds]
tk__ has joined #ruby
csk has quit [Max SendQ exceeded]
djbkd has quit [Ping timeout: 244 seconds]
dminuoso has joined #ruby
djbkd has joined #ruby
erlingur has quit [Ping timeout: 272 seconds]
csk has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
jaguarmagenta has joined #ruby
Kruppe has joined #ruby
cdg has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
swills has joined #ruby
boogeyman has joined #ruby
rodfersou is now known as rodfersou|afk
gregf_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
monoprotic has quit [Quit: bite me]
pawnbox has quit [Remote host closed the connection]
YaknotiS has quit [Ping timeout: 276 seconds]
monoprotic has joined #ruby
YaknotiS has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
monoprotic is now known as Guest53963
brendan- has joined #ruby
Guest53963 has quit [Client Quit]
Pumukel has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 240 seconds]
sdothum has quit [Quit: ZNC 1.6.3 - http://znc.in]
pawnbox has joined #ruby
vondruch has quit [Quit: vondruch]
djbkd_ has joined #ruby
mtkd has joined #ruby
<frankiee_> Greetings! Trying to make a reduced test case to fetch some stuff off some JSON, but why isn't it working? https://gist.github.com/frankie-loves-jesus/c23ce9183d5db1802c16063eb42ce54e
djbkd has quit [Ping timeout: 276 seconds]
tcrypt has joined #ruby
tyang has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
jgpawletko has joined #ruby
Vingador has quit [Remote host closed the connection]
blackgoat has quit [Quit: WeeChat 1.5]
redpants has joined #ruby
pawnbox has joined #ruby
<elomatreb> frankiee_: What do you mean with "not working"?
YaknotiS has quit [Ping timeout: 244 seconds]
ruby_ has quit [Remote host closed the connection]
kristofferR has quit [Read error: Connection reset by peer]
<frankiee_> elomatreb: So far all I'm seeing is => "ERROR: name"
ruby_ has joined #ruby
kristofferR has joined #ruby
YaknotiS has joined #ruby
diprotic has joined #ruby
djbkd_ has quit [Ping timeout: 264 seconds]
<frankiee_> elomatreb: I'm trying to reduce it down from https://gist.github.com/frankie-loves-jesus/23bcf741b672da31cc8cb1ef8aa400df
dminuoso has quit [Remote host closed the connection]
truenito has joined #ruby
jayeola has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
sdwrage has quit [Ping timeout: 240 seconds]
YaknotiS has quit [Max SendQ exceeded]
tomphp_ has joined #ruby
ruby_ has quit [Ping timeout: 276 seconds]
diprotic is now known as monoprotic
pawnbox has quit [Remote host closed the connection]
Snickers has quit [Ping timeout: 264 seconds]
YaknotiS has joined #ruby
RobertBirnie has joined #ruby
<elomatreb> frankiee_: Could you link your gist again? Other computer, don't have backlog
mark_66 has quit [Remote host closed the connection]
tomphp has quit [Ping timeout: 244 seconds]
dminuoso has joined #ruby
mark_66 has joined #ruby
jphase has joined #ruby
RegulationD has joined #ruby
qiukun has quit [Quit: qiukun]
pawnbox has joined #ruby
CharlieLo has quit [Remote host closed the connection]
sdwrage has joined #ruby
YaknotiS has quit [Max SendQ exceeded]
Pumukel has joined #ruby
djbkd_ has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
anisha has quit [Quit: This computer has gone to sleep]
RegulationD has quit [Ping timeout: 264 seconds]
codelogix has joined #ruby
tomphp has joined #ruby
tomphp_ has quit [Ping timeout: 264 seconds]
YaknotiS has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
CharlieLo has joined #ruby
mesamoo has joined #ruby
millerti has joined #ruby
codelogix has quit [Ping timeout: 264 seconds]
tomphp has quit [Ping timeout: 276 seconds]
tomphp_ has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<elomatreb> frankiee_: Which of the many name fields do you want to select? Or do you want all of them?
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Hobbyboy has joined #ruby
rondon1124 has quit [Ping timeout: 240 seconds]
steveh7 has quit [Quit: ZNC - http://znc.in]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Pumukel has quit [Ping timeout: 276 seconds]
tcrypt has joined #ruby
<BytesAndCoffee> http://i.imgur.com/XuZYvxh.png ruby on left, python on right, anyone able to give me a clue as to why the ruby code is throwing an error?
<BytesAndCoffee> still sorting out syntactic differences
<BytesAndCoffee> can you not have lambdas in an array?
LastWhisper____ has joined #ruby
pawnbox has quit [Remote host closed the connection]
djbkd_ has quit [Ping timeout: 264 seconds]
millerti has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
malconis has joined #ruby
<elomatreb> BytesAndCoffee: Please gist your code, screenshots aren't very nice to work with (gist.github.com)
malconis has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 240 seconds]
dminuoso has quit [Quit: leaving]
malconis has joined #ruby
dviola has joined #ruby
<apeiros> BytesAndCoffee: []() is invalid in ruby.
<apeiros> I assume you meant .call(x)
<apeiros> or .(x), or [x]
<frankiee_> elomatreb: Trying to fetch `product_group`, the rest are fine
<apeiros> and then the same for switch(5). that requires a method named switch. you can do switch.call(5), switch[5] or switch.(5)
<BytesAndCoffee> so i can't make a lambda that has an array of lambdas and index the correct inner lambda and calls it?
<BytesAndCoffee> damn
<frankiee_> elomatreb: As you can see because of the whole key value thing in the JSON it is required to use deep_locate instead of deep_fetch which everything else uses
<apeiros> BytesAndCoffee: that's an amazing conclusion after what I said
<apeiros> it's completely wrong and the opposite of what I said, so I really wonder how you come to that.
<BytesAndCoffee> apeiros: look at the python code
<apeiros> what for?
dionysus69 has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
<apeiros> python syntax is different, news at eleven?
<BytesAndCoffee> its a lambda with a list of two lambdas, the outer lambda indexes the list, and calls the proper inner lambda
<BytesAndCoffee> i can't do that in ruby?
<apeiros> I just told you how.
ichkv has joined #ruby
<BytesAndCoffee> 1 sec
<apeiros> "do it like X" - "oh, so I can't do that" - amazing.
charliesome has joined #ruby
<BytesAndCoffee> oh
ChiefAlexander has joined #ruby
brendan- has joined #ruby
<BytesAndCoffee> lambdas require .call
<BytesAndCoffee> :/
<apeiros> yes. because they're *objects*, not *methods* (or functions)
<BytesAndCoffee> sorry, waiting for coffee to kick in
djbkd has quit [Ping timeout: 264 seconds]
<BytesAndCoffee> so functions aren't first-class objects?
<apeiros> there are no functions
tcrypt has quit [Ping timeout: 240 seconds]
harai has joined #ruby
<apeiros> there are methods only. and no, as per common use of "first class", those aren't
<apeiros> and lambdas are, well, objects, not functions. so in order to execute their code, you invoke a method on them.
bejtxf has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
<apeiros> it's the reason why you can do "foo".upcase # => "FOO", and don't have to write "foo".upcase().
djbkd has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
tvw has joined #ruby
craigp has quit [Ping timeout: 272 seconds]
codelogix has joined #ruby
Rodya_ has joined #ruby
tcrypt has joined #ruby
eljimmy has joined #ruby
<BytesAndCoffee> apeiros: so i couldn't translate this to ruby? http://ideone.com/xwt7Jn
<apeiros> -.-
<apeiros> yeah, I think *you* can't.
<BytesAndCoffee> (@callable above def f(x) is like f = callable(f))
rndUser_ has quit [Quit: Page closed]
<apeiros> if you want to use the same syntax as in python, then no, it can't be translated.
<apeiros> if you want to translate the functionality, then yes, it can be translated.
<elomatreb> BytesAndCoffee: I'm not sure I understand your goal. You want a callable? Why is a Ruby lambda not sufficient?
patarr has joined #ruby
ruby-lang084 has joined #ruby
ruby-lang084 has quit [Client Quit]
saneax is now known as saneax-_-|AFK
pawnbox_ has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
codelogix has quit [Ping timeout: 276 seconds]
hk238 has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox_ has quit [Ping timeout: 272 seconds]
bejtxf has quit [Remote host closed the connection]
djbkd has joined #ruby
<frankiee_> elomatreb: That looks quite promising -- let me try that
tcrypt has joined #ruby
jaequery has joined #ruby
saneax-_-|AFK is now known as saneax
Pumukel has joined #ruby
<frankiee_> elomatreb: Looking to output `Jeans` in this case
<elomatreb> frankiee_: Given my example, you could simply append [:value] after the block for find
erlingur has joined #ruby
marr has quit [Remote host closed the connection]
CharlieLo has quit [Remote host closed the connection]
sepp2k has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
djbkd has quit [Ping timeout: 276 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<elomatreb> frankiee_: Exactly. There are probably more elegant solutions for this, but I can't seem to come up with one
Pumukel has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
nando293921 has joined #ruby
CharlieLo has joined #ruby
nankyokusei has joined #ruby
<frankiee_> elomatreb: Unfortunately https://gist.github.com/frankie-loves-jesus/23bcf741b672da31cc8cb1ef8aa400df#file-2-get_products-rake yields `Hashie::Extensions::DeepFetch::UndefinedPathError: Could not fetch path (products > 0 > fields) at products`
<elomatreb> Are you sure your hash in that app looks like the one in your reduced example?
* elomatreb is afk for a few minutes, I'll be back though
Rodya_ has quit [Remote host closed the connection]
govg has quit [Quit: leaving]
<frankiee_> elomatreb: The initial JSON retrieved with rest-client should be identical, however in the main gist the hash has been prettified (ie. so I can write `product_group` instead of `productGroup`)
nankyokusei has quit [Ping timeout: 272 seconds]
_sfiguser has joined #ruby
SteenJobs has joined #ruby
fredlinhares1 has joined #ruby
tristanp has joined #ruby
crameth has quit [Read error: Connection reset by peer]
erlingur has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 264 seconds]
crameth has joined #ruby
djbkd has joined #ruby
kalleklovn has joined #ruby
maddmaxx has joined #ruby
jayeola has joined #ruby
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
DaniG2k has joined #ruby
geezus has quit [Remote host closed the connection]
codelogix has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
redpants has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
codelogix has quit [Ping timeout: 264 seconds]
tk__ has quit [Quit: ばいばい]
ruby_ has joined #ruby
Snickers has joined #ruby
Guest56703 is now known as rprimus
johnny56 has joined #ruby
<elomatreb> frankiee_: Mh, could you maybe print and gist the hash as it is passed in that method?
fullofcaffeine has quit [Remote host closed the connection]
djbkd_ has joined #ruby
<kalleklovn> why dont you use python its much better
fullofcaffeine has joined #ruby
aganov has quit [Quit: Leaving]
tcrypt has joined #ruby
teclator has joined #ruby
chouhoulis has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
tyang has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
gchristensen has joined #ruby
prawnzy has joined #ruby
DaniG2k has quit [Quit: leaving]
bsrd has joined #ruby
<gchristensen> Hi, (warning: ruby 1.9.2 ... I know) in the code `table_count = fetch_table_list.count rescue -1` is this rescue creating an implicit begin around fetch_table_list.count?
<elomatreb> gchristensen: Basically, yes
lempa has joined #ruby
fullofcaffeine has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 244 seconds]
<gchristensen> is there a name for this syntax so I can go look it up? I wasn't finding it
<apeiros> inline rescue
<apeiros> and it should not be used
<ciawal> you'll often see if/unless used in this fashion though
* gchristensen googles, finds "Don't Inline-Rescue in Ruby" at the same time (!!!)
<elomatreb> These statements in general are called modifiers
<apeiros> since you can't specify which exception to rescue, it'll just rescue all
<frankiee_> elomatreb: The main goal is basically when running https://gist.github.com/frankie-loves-jesus/23bcf741b672da31cc8cb1ef8aa400df#file-2-get_products-rake, it should output ie. {:category=>nil, :name=>"Luxurous Jumpsuit", :image=>"http://...", :price=>"599", :description=>"..."}, but `:category` should be `Jeans` or similar.
<gchristensen> great. glad to know / get that feedback
SteenJobs has joined #ruby
<frankiee_> * it will output ie.
prawnzy has quit [Ping timeout: 264 seconds]
fullofcaffeine has joined #ruby
blackmes1 has joined #ruby
symm- has quit [Ping timeout: 272 seconds]
imightbestupid12 has joined #ruby
<imightbestupid12> hello, what do people use now rbenv or rvm?
<kalleklovn> why dont you use python its much better
djbkd_ has quit [Ping timeout: 264 seconds]
<elomatreb> kalleklovn: It's getting old
gingray has joined #ruby
<elomatreb> imightbestupid12: Both are valid options. There is also chruby, which is quite nice too
<LyndsySimon> BytesAndCoffee: I'm just catching up on your question - as a Python dev, this link helped me understand Ruby's various lambda-like structures: http://awaxman11.github.io/blog/2013/08/05/what-is-the-difference-between-a-block/
symm- has joined #ruby
<imightbestupid12> elomatreb: what do "professionals" use and why?
<LyndsySimon> Also, as a Python dev - kalleklovn, I second elomatreb. That's getting old.
djbkd has joined #ruby
exchgr has quit [Quit: ZNC - http://znc.in]
mark_66 has quit [Remote host closed the connection]
<elomatreb> imightbestupid12: It's basically all preference. All of the options can do what you need
<elomatreb> rvm has a bit of a bad reputation for being bloated and hooking in weird places, but it works
<imightbestupid12> what if you don't know what you need but like the comfort of knowing everything is there when you will need it?
<LyndsySimon> imightbestupid12: professionals use the correct tool for the job. I'm doing Ruby right now because I joined a team that's been doing Ruby. It's a lot easier for me to come up to speed with Ruby than to have six others come up to speed on Python.
not_underground has joined #ruby
<BytesAndCoffee> LyndsySimon: thank you for actually being reasonable
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
<LyndsySimon> BytesAndCoffee: NP :) Feel free to msg me if you're stuck with something and want help from a Pythonist's perspective. I'm always on IRC, and msgs will ping my phone.
<elomatreb> imightbestupid12: My recommendation (purely based off personal preference) is chruby combined with ruby-install
jayeola has quit [Quit: leaving]
<LyndsySimon> imightbestupid12: I misunderstood your question :) I use rvm, but I've been using Ruby for three days.
<kalleklovn> python features multiple layers of integrated hierarcies over multiple domains, thats works globally, what does puppet have to show for that?
<kalleklovn> *ruby have
<BytesAndCoffee> LyndsySimon: ooh, what do you use for IRC->phone relay?
<imightbestupid12> every time i ran rvm i always got the error rvm is not an object.... i don't understand why or how but that's why i don't like rvm
erlingur has joined #ruby
<LyndsySimon> BytesAndCoffee: IRCCloud. It's subscription-based, but worth it IMO.
<elomatreb> imightbestupid12: Just to be clear: What do you expect RVM to do?
<imightbestupid12> manage ruby versions?
<LyndsySimon> imightbestupid12: I failed to set it up properly the first time I did it, and still don't understand the installer flags - but it works well once configured.
james1 is now known as jtperreault
Pumukel has joined #ruby
<LyndsySimon> rvm also allows you to manage "gemsets", which is nice. (semi-)isolated environments for different projects.
<elomatreb> Gemsets aren't really useful anymore, at least since Bundler came around
Rajamaa has joined #ruby
<elomatreb> imightbestupid12: A good question to ask would be on what OS you are
<imightbestupid12> ubuntu
not_underground has quit [Ping timeout: 264 seconds]
<the_drow> How do I get the last element of a LazyEnumerator?
<the_drow> It LazyEnumerator.#last doesn't exist
polishdub has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
supergeek has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
supergeek has quit [Client Quit]
erlingur has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
troulouliou_div2 has joined #ruby
bsrd has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
s2013 has joined #ruby
rikkipitt has joined #ruby
tcrypt has joined #ruby
dminuoso has joined #ruby
cidic has joined #ruby
Pumukel has joined #ruby
<cidic> I am not a ruby dev. I have a repo of a small ruby project that has a single page. I just need the html/css/js of that rendered page
<cidic> anyone willing to help me?
antgel has quit [Ping timeout: 264 seconds]
<elomatreb> cidic: Do you want to scrape the page? I don't think I understand what you want to do
<cidic> elomatreb: I just need the front end stuff for that page,
<cidic> the rendered html/css/js
<elomatreb> If it's a static page, you could just use your browser to save the page
antgel has joined #ruby
<cidic> elomatreb: I don’t have a local ruby env setup to run the server
<elomatreb> Most browsers have Ctrl+S to bound to save
jaguarmagenta has quit [Ping timeout: 264 seconds]
<elomatreb> ah, ok. Is it a complex environment?
<cidic> I don’t think so, I just don’t do ruby and didn’t want to have to figure out how to set it up on osx just to render this single page
mesamoo has quit [Quit: Konversation terminated!]
AlexRussia has joined #ruby
mesamoo has joined #ruby
alibby1 has joined #ruby
<elomatreb> Installing Ruby isn't really that complex. Do you have Homebrew installed?
<cidic> I have ruby I don’t have appache or whatever web server env you need for ruby
BTRE has quit [Ping timeout: 244 seconds]
BTRE has joined #ruby
<flying> hi guys how can I run from shell the script directly?
<flying> in bash I have for example : bash -c ...mycommands
<flying> is there something for ruby?
<dminuoso> flying: What?
<dminuoso> flying: Are you looking for rake?
<flying> rake?
<dminuoso> rake.
antgel has quit [Ping timeout: 264 seconds]
<dminuoso> flying: Or do you want opt parsing?
<dminuoso> flying: in which case optparse.
aufi has quit [Quit: Leaving]
<dminuoso> &ri OptionParser
<dminuoso> &ri Rake
<flying> I need to use ruby code in GOcd
djbkd_ has joined #ruby
<flying> instead to create a ruby file and call them from GO I 'd like to put the ruby code directly in the pipeline
<flying> with bash I done that using bash -c ......
<flying> with ruby?
<elomatreb> You can just pipe to ruby I think
<dminuoso> Im really unclear what you are trying to do here.
bsrd has joined #ruby
<flying> I need to use ruby code in a pipeline in GO
djbkd has quit [Ping timeout: 264 seconds]
<flying> GOCD
Oclair_ has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
<dminuoso> flying: Ah. ruby -e "stuff"
<flying> oh :) thanks man
<flying> let's try
tdy has quit [Ping timeout: 244 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
Oclair has quit [Ping timeout: 276 seconds]
ta_ has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
rikkipitt has quit [Quit: Leaving...]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcrypt has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
jaruga___ has joined #ruby
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd_ has quit [Ping timeout: 264 seconds]
jaruga____ has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
djbkd has joined #ruby
<flying> yes it works but I have an issue
<flying> ruby -e TEST="test"; puts TEST
<flying> doesn't work
<flying> what's wrong?
BTRE has joined #ruby
Devalo has joined #ruby
<elomatreb> flying: You probably have to quote your code. ruby -e 'TEST="test"; puts TEST'
<eam> on the command line you're writing in two languages simultaneously: first shell, then perl
<eam> er then ruby
<mikecmpbll> :O
<eam> innocent mistake I sweat
<eam> swear
<eam> man
<eam> am I having a stroke?
tdy has joined #ruby
* mikecmpbll chants ban ban ban
<flying> from shell works from GO ruby is not interpreted
<elomatreb> Ruby, Perl, Shell, what's the difference anyway
<eam> just let me finish my coffee officer I'll be fine I swear
<mikecmpbll> :D
<dminuoso> eam: jealousy.
<dminuoso> err elomatreb .
<elomatreb> mh?
<flying> ruby -e 'TEST="test"; puts TEST' it prints TEST="test"; puts TEST
<eam> this series of mistakes is hilarious
<mikecmpbll> everybody take a break.
<mikecmpbll> flying : not on my shell.
m1911 has joined #ruby
Guest38 has joined #ruby
<eam> flying: in go, you may be writing in either two or three languages depending on what go function you're invoking
theRoUS has joined #ruby
<flying> [go] Start to execute task: <exec command="/usr/bin/ruby" >
<flying> <arg>'puts 2+2'</arg>
<flying> <arg>-e</arg>
<flying> </exec>.
AlexJakeGreen has joined #ruby
<flying> I'm using GOCD the continuos integration tool
<eam> don't quote the puts 2+2 there
<eam> those quotes are for the shell, which you don't seem to have in your GOCD example
<eam> (a guess, because your structure has tokenized args)
<flying> without quotes the same : <arg>puts 2+2</arg>
codelogix has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
symm- has quit [Ping timeout: 272 seconds]
<eam> you'll have to consult your GOCD docs to figure out what command it is running, then
tyang has quit [Ping timeout: 264 seconds]
<eam> probably an issue with that particular representation in that config
meatchicken has joined #ruby
<flying> it's very basic config
chouhoulis has quit [Remote host closed the connection]
SteenJobs has quit [Quit: SteenJobs]
djbkd has quit [Ping timeout: 272 seconds]
<eam> flying: yes, but it's not working and discovering what's wrong isn't a basic question -- because no one here knows this particular xml format or GOCD tool I suspect
chouhoulis has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
djbkd has joined #ruby
pawnbox has quit [Remote host closed the connection]
Cohedrin has joined #ruby
codelogix has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 244 seconds]
exchgr has joined #ruby
nettoweb has joined #ruby
crameth has quit [Read error: Connection reset by peer]
rodferso1|afk has joined #ruby
pawnbox has joined #ruby
codelogix has joined #ruby
Pumukel has joined #ruby
symm- has joined #ruby
nando293921 has quit [Ping timeout: 240 seconds]
Guest38 has quit [Quit: Textual IRC Client: www.textualapp.com]
rodfersou|afk has quit [Ping timeout: 272 seconds]
fullofcaffeine has joined #ruby
tyang has joined #ruby
Devalo has quit [Remote host closed the connection]
CharlieLo has quit [Remote host closed the connection]
rodferso1|afk is now known as rodfersou
djbkd has quit [Ping timeout: 264 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
cidic_ has joined #ruby
mattwashere has quit [Remote host closed the connection]
aryaching has joined #ruby
mattwashere has joined #ruby
ode_to_code has joined #ruby
djbkd has joined #ruby
cidic has quit [Ping timeout: 240 seconds]
cidic_ is now known as cidic
CharlieLo has joined #ruby
bluOxigen has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
edwinvdgraaf has quit [Ping timeout: 272 seconds]
mattwashere has quit [Ping timeout: 264 seconds]
tragique has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tcrypt has joined #ruby
Pumukel has joined #ruby
conta has quit [Ping timeout: 276 seconds]
SteenJobs has joined #ruby
ichkv has quit [Remote host closed the connection]
elenatanasoiu has quit [Ping timeout: 276 seconds]
brianpWins_ has joined #ruby
brianpWins has quit [Ping timeout: 264 seconds]
brianpWins_ is now known as brianpWins
codelogix has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 264 seconds]
AlexJakeGreen has quit [Remote host closed the connection]
RobertBirnie has joined #ruby
claudiuinberlin has quit []
RobertBirnie has quit [Remote host closed the connection]
glcx has quit [Quit: Quitte]
johnmccabe_ has joined #ruby
blackwind_123 has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndrewIsHere has joined #ruby
djbkd has joined #ruby
johnmccabe has quit [Ping timeout: 276 seconds]
tlaxkit has quit [Quit: tlaxkit]
AlexRussia has quit [Ping timeout: 272 seconds]
Devalo has joined #ruby
brendan- has joined #ruby
andikr has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petrichorx has joined #ruby
ruby_ has quit [Remote host closed the connection]
hahuang62 has joined #ruby
ruby_ has joined #ruby
ctp has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
nitric has joined #ruby
ruby_ has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
hahuang62 has quit [Ping timeout: 264 seconds]
<jokke> hello
SeepingN has joined #ruby
m1911 has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
<jokke> does anyone know if i can somehow tell guard by @!parse what class is inherited?
mikecmpbll has quit [Ping timeout: 240 seconds]
blackmes1 has quit [Ping timeout: 244 seconds]
Snowy has joined #ruby
hfp_work has quit [Ping timeout: 240 seconds]
skweek has quit [Ping timeout: 264 seconds]
hfp has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 272 seconds]
frozengeek has quit [Quit: frozengeek]
hfp has joined #ruby
mattwashere has joined #ruby
Snowy has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
hfp_work has joined #ruby
the_drow has joined #ruby
m1911 has joined #ruby
xentity1x has joined #ruby
askhat has joined #ruby
Gasher has joined #ruby
djbkd has quit [Remote host closed the connection]
RegulationD has joined #ruby
AckZ has joined #ruby
whiteline has quit [Quit: Leaving]
whiteline has joined #ruby
<jokke> hey
<jokke> again
<jokke> :D
<jokke> any idea how i get the super class of a class?
duderonomy has quit [Ping timeout: 264 seconds]
<havenwood> >> Class.superclass
<ruby[bot]> havenwood: # => Module (https://eval.in/652643)
<jokke> ah
<jokke> yeah
<jokke> just figured it out
<jokke> thanks
senayar has quit []
gizmore has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
gizless has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
marr has joined #ruby
ruby_ has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
blackmes1 has joined #ruby
AlexRussia has joined #ruby
m1911 has quit [Remote host closed the connection]
flying has quit []
jaequery has joined #ruby
chris2 has quit [Ping timeout: 255 seconds]
compro has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 244 seconds]
ruby_ has quit [Client Quit]
miqlas-H has joined #ruby
<BytesAndCoffee> any idea whats going on here? http://ideone.com/fr3Id9
jcao219 has joined #ruby
prawnzy has joined #ruby
<apeiros> BytesAndCoffee: will you actually read answers?
<BytesAndCoffee> yes
the_drow has quit [Read error: Connection reset by peer]
<apeiros> what parts of the error do you understand, what parts do you not?
<BytesAndCoffee> im not understanding the "undefined method '%'"
nikivi has joined #ruby
<BytesAndCoffee> isn't that modulo?
<apeiros> >> 1 % 2
<ruby[bot]> apeiros: # => 1 (https://eval.in/652644)
<apeiros> the % is a method
<apeiros> it's syntax sugar for 1.%(2)
<apeiros> >> x = Object.new; def x.%(y); "weeee"; end; x % 2
<ruby[bot]> apeiros: # => "weeee" (https://eval.in/652645)
<BytesAndCoffee> >> lambda { |x| [lambda { |x| x / 2 }, lambda { |x| x * 3 + 1}][x % 2].call(x)}.call(5)
<ruby[bot]> BytesAndCoffee: # => 16 (https://eval.in/652647)
<havenwood> BytesAndCoffee: If you prefer: 1.modulo(2)
<apeiros> >> lambda { |x| [lambda { |x| x / 2 }, lambda { |x| x * 3 + 1}][x % 2].call(x)}.call(1..1000001)
<ruby[bot]> apeiros: # => undefined method `%' for 1..1000001:Range (NoMethodError) ...check link for more (https://eval.in/652648)
<matthewd> BytesAndCoffee: So maybe x isn't what you think it is -- and maybe the error contains a clue suggesting same
AlphaAtom has joined #ruby
<imightbestupid12> so i am trying to install rvm or rbenv and the ruby command isn't found
Guest38 has joined #ruby
<imightbestupid12> every time i run ruby -v it says i can install it =(
prawnzy has quit [Ping timeout: 264 seconds]
<havenwood> imightbestupid12: Which are you using, rbenv or rvm?
<imightbestupid12> right now i am using rbenv
<havenwood> ?rbenv
<ruby[bot]> Missing command under rbenv? Did you try `rbenv rehash`?
<imightbestupid12> before i was using rvm
<imightbestupid12> no
codelogix has joined #ruby
synthroid has quit [Remote host closed the connection]
the_drow has joined #ruby
last_staff has joined #ruby
<BytesAndCoffee> matthewd: it was the range
tcrypt has quit [Ping timeout: 264 seconds]
<BytesAndCoffee> i needed () instead of []
SteenJobs has quit [Quit: SteenJobs]
bsrd has quit [Read error: Connection reset by peer]
<imightbestupid12> i did try rbenv rehash before
<imightbestupid12> it didn't fix anything
djbkd has joined #ruby
not_underground has joined #ruby
synthroid has joined #ruby
tcrypt has joined #ruby
<havenwood> imightbestupid12: i guess go back through the rbenv installation instructions and make sure everything checks out. take a look at your $PATH and see if it's like rbenv wants it to be.
Ananthu has joined #ruby
eljimador has quit [Read error: Connection reset by peer]
tvw has quit [Remote host closed the connection]
synne has joined #ruby
not_underground has quit [Ping timeout: 264 seconds]
<havenwood> imightbestupid12: If you tire of rbenv you can always make the final transformation of Ruby switchers and switch to chruby: https://github.com/postmodern/chruby#readme
eljimador has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
Silthias has quit [Ping timeout: 272 seconds]
tomphp_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
atmosx_ is now known as atmosx
rakm has joined #ruby
chris2 has joined #ruby
jaguarmagenta has joined #ruby
truenito has quit [Ping timeout: 276 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wldcordeiro has quit [Ping timeout: 276 seconds]
pwnd_nsfw` has joined #ruby
Cohedrin has joined #ruby
the_drow has joined #ruby
hahuang62 has joined #ruby
tyang has quit [Ping timeout: 264 seconds]
elifoster has joined #ruby
tyang has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
jcao219 has quit [Ping timeout: 264 seconds]
pwnd_nsfw has quit [Ping timeout: 272 seconds]
weaksauce has joined #ruby
Guest76436 has joined #ruby
banisterfiend has joined #ruby
hutch34 has joined #ruby
<Guest76436> Hello ! I would like to know an idiomatic way to add a quantity to a value in a hash if the key already exists or set the value to the quantity for an unexisting key?
<imightbestupid12> when i tried installing chruby i got command not found
<imightbestupid12> havenwood:
<havenwood> imightbestupid12: source /usr/local/share/chruby/chruby.sh
tdy1 has joined #ruby
<matthewd> >> h = Hash.new(0); h[:foo] += 5; h
<ruby[bot]> matthewd: # => {:foo=>5} (https://eval.in/652665)
<Guest76436> mathewd: nice thanks
jackjackdripper has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
tdy has quit [Ping timeout: 264 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
craigp has joined #ruby
bob434 has joined #ruby
replay has joined #ruby
Robtop__ has joined #ruby
nikivi has quit [Quit: irc]
bsrd has joined #ruby
Zamyatin has joined #ruby
bsrd has quit [Client Quit]
tcrypt has joined #ruby
codelogix has quit [Ping timeout: 264 seconds]
wldcordeiro has joined #ruby
pwnd_nsfw has joined #ruby
mikecmpbll has joined #ruby
ta_ has joined #ruby
Madplatypus has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
codelogix has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
duderonomy has joined #ruby
Robtop__ has quit [Ping timeout: 272 seconds]
the_drow_ has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
<imightbestupid12> smoking weed
<imightbestupid12> ?
<imightbestupid12> sorry wrong tab
rakm has joined #ruby
miqlas-H is now known as Haiku_communist
<ineb> lese ich spter
<ineb> fc.
<ineb> wrong channel
Haiku_communist is now known as miqlas-H
the_drow_ has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
imightbestupid12 has quit [Ping timeout: 240 seconds]
a7d7p has joined #ruby
phaza has quit [Ping timeout: 244 seconds]
ta_ has quit [Remote host closed the connection]
rcvalle has joined #ruby
tdy1 has quit [Ping timeout: 264 seconds]
chadwtaylor has joined #ruby
phaza has joined #ruby
JeanCarloMachado has joined #ruby
phaza has quit [Remote host closed the connection]
phaza has joined #ruby
Ropeney has joined #ruby
s2013 has quit [Ping timeout: 244 seconds]
getxsick has joined #ruby
the_drow_ has joined #ruby
yuung has joined #ruby
the_drow has quit [Disconnected by services]
tcrypt has quit [Ping timeout: 264 seconds]
<yuung> how can i specify gem install flags in my Gemfile? i need the equivalent of `gem install thrift -- --with-cppflags=\"-D_FORTIFY_SOURCE=0 -Wno-shift-negative-value\"`. is it even possible?
the_drow_ is now known as the_drow
JoshS has quit [Ping timeout: 272 seconds]
skweek has joined #ruby
AndyBotwin has joined #ruby
rodferso1 has joined #ruby
rodfersou has quit [Disconnected by services]
rodferso1 is now known as rodfersou
<havenwood> yuung: bundle config build.thrift --with-cppflags=...
<yuung> havenwood is there any way to make it not environment specific?
tdy1 has joined #ruby
<getxsick> anyone can explain me why the test fails? http://pastebin.com/6b8FSSpd
<ruby[bot]> getxsick: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/7d85de129207afa820e3bc42552a9199
<ruby[bot]> getxsick: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
tcrypt has joined #ruby
<yuung> getxsick you never do mode=
<getxsick> yuung: in initilize
<yuung> oh :)
<havenwood> yuung: calc.last #=> 0
<havenwood> yuung: pasted the wrong thing >.>, nvm me
<getxsick> havenwood ;-)
JoshS has joined #ruby
<havenwood> looking at 0 trying to type nil fail... coffeetime!
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
compro has joined #ruby
<havenwood> yuung: a style issue but there's a strong community convention to use two-space, soft tabs
<havenwood> ?tabs
<ruby[bot]> Ruby community standards recommend using 2 spaces as indentation (see https://github.com/bbatsov/ruby-style-guide#spaces-indentation and https://ukupat.github.io/tabs-or-spaces/).
<yuung> getxsick, why is :mode an attr_reader but you have def mode=?
Immune has joined #ruby
<yuung> havenwood i believe that was meant for getxsick? ;)
<havenwood> yuung: i'm all sorts of confused - sorry about that
<yuung> np
<getxsick> havenwood: sure, i just didn't have time to configure my VIm for Ruby
marxarelli has joined #ruby
<getxsick> yuung: why not? i get getter from the attr_reader, and add setter via mode=
<yuung> getxsick use attr_accessor
Golden_ has joined #ruby
tvw has joined #ruby
<getxsick> yuung: for what reason? to override it in next line?
<getxsick> anyway, any tests regarding @mode works fine, i just have a problem with @last
the_drow has quit [Read error: Connection reset by peer]
<yuung> getxsick attr_accessor gives you getters and setters, also mode= is not ebeing called when you do @mode =
<getxsick> when i add @last=0 in initialize() then the test pass but i don't know what prevents to fail without this line
<getxsick> yuung: ah, so it's not being called...here we got the answer
<getxsick> why? how to call it inside a class?
saneax is now known as saneax-_-|AFK
_rubik has joined #ruby
<yuung> getxsick, the problem begins with setting two values in one setter method
<_rubik> Hey guys, quick question. I
pragmaticus has joined #ruby
[Butch] has joined #ruby
the_drow has joined #ruby
<_rubik> I'm 1 hour into Ruby, how would I concatinate a vector and a string when printing
<getxsick> yuung: why? this is just a method and this is a reason to have a setter instead of public attributes
<getxsick> so i don't thing attr_accessor is needed as i want to have my own version of setter
claudiuinberlin has joined #ruby
<yuung> getxsick i know - you shouldnt have your own version of a setter, rather write a different method that does what you want to do and leave setters to doing one thing for one variable
<yuung> getxsick http://www.poodr.com/ is a good book on good OO design in ruby
<getxsick> yuung: are you kidding? the whole idea to make attributes private is to have more than 1 line in the setter/getter functions
yuung has left #ruby [#ruby]
skyjumper has joined #ruby
yuung has joined #ruby
<skyjumper> if anyone in the Denver area needs a ticket to Rocky Mountain Ruby tomorrow, please let me know.
<skyjumper> can't make it due to a health condition
jcao219 has joined #ruby
SteenJobs has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
pitiye has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
pitiye has left #ruby [#ruby]
ponga has quit [Quit: Connection closed for inactivity]
tcrypt has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
zacstewart has joined #ruby
the_drow has joined #ruby
bocaneri has quit [Remote host closed the connection]
codelogix has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Pumukel has joined #ruby
tcrypt has joined #ruby
_sfiguser has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
Golden_ has left #ruby [#ruby]
xaxisx has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 272 seconds]
codelogix has joined #ruby
mtkd has joined #ruby
kroomey has joined #ruby
kroomey has left #ruby [#ruby]
skweek has quit [Read error: Connection reset by peer]
CharlieLo has quit [Remote host closed the connection]
<kalleklovn> why dont you use python its much better
xaxisx has joined #ruby
<kalleklovn> why would anyone use ruby
<ciawal> god python is the worst
skweek has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<kalleklovn> python has a higher number of layers of integrated hierarchies over multiple domains, that works globally aswell as locally
conta has joined #ruby
Pumukel has quit [Ping timeout: 272 seconds]
<apeiros> I think I smell a troll.
_rubik has quit [Ping timeout: 272 seconds]
nankyokusei has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 244 seconds]
jcao219 has quit [Ping timeout: 244 seconds]
<apeiros> !troll kalleklovn
kalleklovn was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
<apeiros> confirmed by log.
the_drow has joined #ruby
conta has quit [Ping timeout: 272 seconds]
aryaching has quit [Ping timeout: 272 seconds]
ixti has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
elenatanasoiu has joined #ruby
frozengeek has joined #ruby
_sfiguser has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
nettoweb has joined #ruby
mikecmpbll has joined #ruby
malcolmva has quit [Ping timeout: 244 seconds]
cdg has quit [Remote host closed the connection]
gnufied has quit [Ping timeout: 272 seconds]
phaza has quit [Ping timeout: 272 seconds]
gnufied has joined #ruby
stamina has quit [Ping timeout: 264 seconds]
cjbischof_ has joined #ruby
elenatanasoiu has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 272 seconds]
wugy has quit [Read error: Connection reset by peer]
tcrypt has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 272 seconds]
_sfiguser has quit [Ping timeout: 264 seconds]
skweek has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
rodferso1 has joined #ruby
elenatanasoiu has joined #ruby
tcrypt has joined #ruby
aurelien has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
rodfersou has quit [Ping timeout: 264 seconds]
boogeyman has quit [Quit: bb]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malcolmva has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
prawnzy has joined #ruby
snguyen has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
phaza has joined #ruby
Pumukel has joined #ruby
harai has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
the_drow has joined #ruby
tdy1 has quit [Ping timeout: 244 seconds]
_sfiguser has joined #ruby
aurelien has joined #ruby
prawnzy has quit [Ping timeout: 264 seconds]
mattwashere has quit [Remote host closed the connection]
claudiuinberlin has quit [Remote host closed the connection]
mattwashere has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
mattwashere has quit [Read error: Connection reset by peer]
mattwashere has joined #ruby
borkdude_ has quit [Max SendQ exceeded]
borkdude has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
zeroDi has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
the_drow has joined #ruby
audibleb- has quit [Quit: l8z]
slappy16 has joined #ruby
not_underground has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
chadwtaylor has quit [Remote host closed the connection]
jcomito has joined #ruby
the_drow has joined #ruby
audibleblink has joined #ruby
juanfra has quit [Quit: juanfra]
mike__ has quit [Quit: Leaving]
mike__ has joined #ruby
not_underground has quit [Ping timeout: 244 seconds]
juanfra has joined #ruby
tdy1 has joined #ruby
nofxx has joined #ruby
mike__ has quit [Client Quit]
<getxsick> anyone know an answer for the XXX question? https://gist.github.com/anonymous/479611af464177edf31b730cc38cd8ab
mesamoo has quit [Quit: Konversation terminated!]
tdy1 is now known as tdy
Lumio has joined #ruby
CharlieLo has joined #ruby
<apeiros> getxsick: I think people told you? the initial value of instance variables is nil.
<havenwood> >> @list # getxsick
<ruby[bot]> havenwood: # => nil (https://eval.in/652736)
jaruga___ has quit [Quit: jaruga___]
LastWhisper____ has joined #ruby
<getxsick> apeiros: but the mode=() is being called and there is assignment for the @last
<havenwood> last*
<apeiros> getxsick: when is mode= being called?
<getxsick> apeiros: line number 5
<apeiros> no
mattwashere has quit []
boogeyman has joined #ruby
<apeiros> @mode = mode does not call any method
<bougyman> hey boogeyman.
<apeiros> self.mode = mode # this would
Zamyatin has quit [Quit: Knocking out. Peace y'all...]
<havenwood> getxsick: #mode and #mode= are different methods!
<apeiros> if there's no "." on the left side of a "=", then no method has been called.
spiette has quit [Quit: brb]
<apeiros> as a rule of thumb.
stamina has joined #ruby
ramfjord has joined #ruby
nofxx has quit [Ping timeout: 264 seconds]
failshell has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
<getxsick> havenwood: yes, so? i don't understand why you are talking about this, i don't use #mode
<getxsick> apeiros: oh, ok
<havenwood> getxsick: You do: @mode = mode
the_drow has joined #ruby
<getxsick> havenwood: yeap, so i call (or want to call) #mode=
<havenwood> getxsick: oh
<havenwood> getxsick: gosh, you're naming the local variable and method the same thing, okay so you're right, hah
<havenwood> getxsick: but don't do that!
<dminuoso> apeiros: are you sure?
CharlieLo has quit []
<getxsick> apeiros: calc.rb:12: syntax error, unexpected tIVAR, expecting '('
yuung has quit [Ping timeout: 272 seconds]
<dminuoso> >> a = {}; a[1] = 1; # apeiros no dot before the =
<ruby[bot]> dminuoso: # => 1 (https://eval.in/652737)
<apeiros> dminuoso: pffft, nitpicker.
<dminuoso> :P
<apeiros> you win :)
<getxsick> havenwood: i know, it's for playing, sorry for the confusion
* havenwood stops typing until more coffee is imbibed
<apeiros> getxsick: do you think I'm psychic? I can't read your code remotely. you'll have to update your gist.
<getxsick> apeiros: nothing to update, honestly. i just rewrote to what apeiros proposed: self.mode = mode
<apeiros> certainly not
<apeiros> either you had a syntax error before, or that's not what you did.
claudiuinberlin has joined #ruby
<getxsick> checking
<getxsick> apeiros: you are right, i changed it to self.@mode=mode ;-)
BillSussman has joined #ruby
<getxsick> it's working now
<apeiros> so much for nothing to update.
VeryBewitching has joined #ruby
Wolland has joined #ruby
<apeiros> btw., if @mode = mode would invoke the mode= method, what do you think line 10 would have caused?
finisherr has joined #ruby
chadwtaylor has joined #ruby
SeepingN_ is now known as SeepingN
<getxsick> apeiros: right
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/652738
<dminuoso> asm>> @mode = mode
tyang_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
<dminuoso> asm>> def mode; end; @mode = mode
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/652739
<dminuoso> asm>> mode = 1; @mode = mode
<ruby[bot]> dminuoso: I have disassembled your code, the result is at https://eval.in/652740
AndyBotwin has quit [Ping timeout: 244 seconds]
the_drow has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
the_drow has joined #ruby
tyang has quit [Ping timeout: 264 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeroDi has joined #ruby
Devalo has quit [Remote host closed the connection]
BillSussman has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
petrichorx has quit [Quit: Connection closed for inactivity]
<getxsick> is there opposite function to Array#any? ?
<getxsick> ah
humd1ng3r has quit [Ping timeout: 252 seconds]
exadeci has quit [Ping timeout: 252 seconds]
<getxsick> #all..weird when i do ls Array in pry the all? is not listed
humd1ng3r has joined #ruby
dmarr has quit [Ping timeout: 252 seconds]
johnmilton has quit [Quit: Namaste]
exadeci has joined #ruby
<apeiros> because it's inherited
<apeiros> ls Enumerable
the_drow has quit [Read error: Connection reset by peer]
<getxsick> apeiros: so using ruby-doc.org is better as it's listed there
aarongodin_ has joined #ruby
<apeiros> no?
rideh- has joined #ruby
<apeiros> at least not under Array (for the same reason)
dmarr has joined #ruby
the_drow has joined #ruby
avdi_ has joined #ruby
<getxsick> yeah, right. googled first link was to Enumerable, not Array ;-)
NTrash has joined #ruby
blackmes1 has joined #ruby
avdi has quit [Ping timeout: 252 seconds]
aarongodin has quit [Ping timeout: 252 seconds]
chee has quit [Ping timeout: 252 seconds]
rideh has quit [Ping timeout: 252 seconds]
aarongodin_ is now known as aarongodin
<apeiros> but interesting. any? has been reimplemented in Array.
<getxsick> yeah
Olipro has quit [Ping timeout: 252 seconds]
LyndsySimon has quit [Ping timeout: 252 seconds]
ghormoon has quit [Ping timeout: 252 seconds]
ken_barber has quit [Ping timeout: 252 seconds]
AnoHito_ has quit [Ping timeout: 252 seconds]
[spoiler] has quit [Ping timeout: 252 seconds]
tekk has quit [Ping timeout: 252 seconds]
queequeg1 has quit [Ping timeout: 252 seconds]
bihi has quit [Ping timeout: 252 seconds]
Tony-St4rk has quit [Ping timeout: 252 seconds]
ltd has quit [Ping timeout: 252 seconds]
tekku has joined #ruby
hays_ has joined #ruby
queequeg1 has joined #ruby
ghormoon has joined #ruby
AnoHito_ has joined #ruby
workmad3 has joined #ruby
mozzarel1 has joined #ruby
avdi_ is now known as avdi
chee has joined #ruby
ltd has joined #ruby
erlingur has joined #ruby
tomphp has joined #ruby
freddymungo has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
ghostlight has quit [Ping timeout: 264 seconds]
harambea has joined #ruby
svkurowski_ has joined #ruby
LyndsySimon has joined #ruby
Tony-St4rk has joined #ruby
MrBusiness3 has quit [Read error: Connection reset by peer]
cpfeilschifter[m has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
ironcame1 has joined #ruby
nopolitica has joined #ruby
matthewd_ has joined #ruby
heinrich5991_ has joined #ruby
spk_ has joined #ruby
MrBusiness3 has joined #ruby
AlexRussia_ has joined #ruby
gnufied has quit [Ping timeout: 272 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
johnmccabe_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fladson[m] has quit [Ping timeout: 276 seconds]
yuung has joined #ruby
alibby1 has quit [Quit: Leaving.]
[spoiler] has joined #ruby
alibby has joined #ruby
pwnd_nsfw has joined #ruby
bmn_ has joined #ruby
Zarthus_ has joined #ruby
AlexRussia has quit [Ping timeout: 263 seconds]
JoshS has quit [Quit: Leaving]
camilasann has joined #ruby
bihi has joined #ruby
gsingh93- has joined #ruby
tomphp has joined #ruby
sunya7a__ has joined #ruby
chrisseaton_ has joined #ruby
spk has quit [Ping timeout: 252 seconds]
mozzarella has quit [Remote host closed the connection]
svkurowski has quit [Ping timeout: 252 seconds]
zacts has quit [Ping timeout: 252 seconds]
ndrst has quit [Ping timeout: 252 seconds]
heinrich5991 has quit [Ping timeout: 252 seconds]
krasnus has quit [Ping timeout: 252 seconds]
hays has quit [Ping timeout: 252 seconds]
bmn has quit [Ping timeout: 252 seconds]
mahlon has quit [Ping timeout: 252 seconds]
ironcamel has quit [Ping timeout: 252 seconds]
matthewd has quit [Ping timeout: 252 seconds]
camilasan has quit [Remote host closed the connection]
mahlon_ has joined #ruby
tabakhase has quit [Ping timeout: 252 seconds]
chrisseaton has quit [Ping timeout: 252 seconds]
gsingh93 has quit [Ping timeout: 252 seconds]
goezz has quit [Ping timeout: 252 seconds]
sunya7a has quit [Ping timeout: 252 seconds]
Zarthus has quit [Read error: Connection reset by peer]
heinrich5991_ is now known as heinrich5991
matthewd_ is now known as matthewd
the_drow has quit [Read error: Connection reset by peer]
svkurowski_ is now known as svkurowski
Zarthus_ is now known as Zarthus
spk_ is now known as spk
cevett has quit [Ping timeout: 252 seconds]
chrisseaton_ is now known as chrisseaton
tcrypt has joined #ruby
gsingh93- is now known as gsingh93
ghostlight has joined #ruby
dionysus69 has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
<getxsick> is there a more the Ruby way for this line: raise InvalidOperandError unless (operands.map { |op| op.is_a? Numeric }).all?
tabakhase has joined #ruby
the_drow has joined #ruby
cevett has joined #ruby
<apeiros> use the all? in place of the map
Olipro has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<getxsick> apeiros: thx
al2o3-cr has joined #ruby
<getxsick> wow, this is something really nice about Ruby
truenito has joined #ruby
ken_barber has joined #ruby
Guest27182 has quit [Ping timeout: 276 seconds]
eggoez has joined #ruby
claudiuinberlin has quit []
tomphp has quit [Client Quit]
yuung has quit [Ping timeout: 272 seconds]
fredlinhares1 has quit [Quit: WeeChat 1.4]
elenatanasoiu has quit [Quit: WeeChat 1.5]
aarongodin has quit [Read error: Network is unreachable]
johnmilton has joined #ruby
aarongodin has joined #ruby
pawnbox has quit [Remote host closed the connection]
AlexRussia_ has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dminuoso> getxsick: Yes there is.
zipkid has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
zipkid has joined #ruby
despai has joined #ruby
<dminuoso> Oh wait, 0xOdeas patch didnt make it yet it seems.
<SeepingN> many things. I've been considering looking at Swift 3.0 but I fear the change will not be fun and I'll miss "the ruby way"
<dminuoso> It would have allowed something like [1,2,'a'].all?(Numeric)
truenito has quit [Ping timeout: 272 seconds]
krasnus has joined #ruby
ichkv has joined #ruby
rodferso1 is now known as rodfersou|afk
jmignault has quit [Ping timeout: 264 seconds]
<havenwood> +1 the patch! i want...
gnufied has joined #ruby
<dminuoso> havenwood: let me dig it up
tcrypt is now known as tcrypt[away]
bihi has quit [Ping timeout: 272 seconds]
ramortegui has quit [Quit: Ex-Chat]
d10n-work has quit [Quit: Connection closed for inactivity]
pragmaticus has quit [Ping timeout: 244 seconds]
aries_liuxueyang has quit [Ping timeout: 272 seconds]
<havenwood> dminuoso: I'm the comment: "This seems quite nice. Any downsides?" :-)
aries_liuxueyang has joined #ruby
<dminuoso> havenwood: No kidding. :-)
finisherr has quit [Read error: Connection reset by peer]
jmignault has joined #ruby
ironcame1 is now known as ironcamel
Gasher has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
bihi has joined #ruby
AlexRussia_ has joined #ruby
pokalyis has quit [Ping timeout: 240 seconds]
tcrypt[away] has quit [Ping timeout: 264 seconds]
a7d7p has quit [Quit: a7d7p]
Derperperd has quit [Quit: Derperperd]
sergio_101 has joined #ruby
cjbischof_ has quit [Read error: Connection reset by peer]
cdg has joined #ruby
<apeiros> hm, sad to see that patch rot for a year without comment :-|
cjbischof_ has joined #ruby
Voker57|2 has joined #ruby
_rubik has joined #ruby
ldnunes has quit [Quit: Leaving]
marxarelli is now known as marxarelli|afk
<apeiros> I mean, comment from core on acceptance/rejection
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackgoat has joined #ruby
tcrypt has joined #ruby
rodfersou|afk is now known as rodfersou
the_drow has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
ldnunes has joined #ruby
RegulationD has joined #ruby
yuung has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
yokel has quit [Ping timeout: 240 seconds]
elastix has joined #ruby
<getxsick> actually, i still see Python as a better choice, but this blocks feature is simply nice ;-)
<getxsick> however i don't understand why i can't use blocks in this case: https://gist.github.com/anonymous/693633a9ed6cd1b695b9eda6dd82e690
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has joined #ruby
ldnunes has quit [Client Quit]
<havenwood> getxsick: kinda weird to talk about "better choice" in the abstract like that... is green a better choice than blue? what are you talking about?
Dimik has joined #ruby
<apeiros> getxsick: you can. you just do it wrong.
Pumukel has quit []
<getxsick> apeiros: any hints then?
<havenwood> getxsick: you should probably not pay much attention to your own impressions until you've learned the languages in question
bluOxigen has quit [Ping timeout: 244 seconds]
Puffball has quit [Remote host closed the connection]
<apeiros> `assert_raises StandardError { f }` is `assert_raises(StandardError { f })`
<apeiros> i.e. the block binds to StandardError
<apeiros> (and I somehow crashed my chat client)
pokalyis has joined #ruby
<getxsick> havenwood: i simply just see to much Perl here and it means there is no "there is only one way to do it" rule which is a costs consuming in maintainance and bug fixing as the code is not as readable as the Python
RegulationD has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
prawnzy has joined #ruby
Voker57|2 has quit []
<getxsick> apeiros: thx :-)
puppet699 has joined #ruby
gingray has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
askhat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Yonk has quit [Ping timeout: 272 seconds]
Yonk has joined #ruby
<puppet699> Hi all, can someone help? https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L416 I know 0 about ruby but i managed to find out this line is outputting some parameters that are being outputted as strings such as 'true' or 'false', i want to make some quick and dirty change to substitute those with true or false (basicall without the quotes) so that they are parsed as booleans, i tried gsub but gives me an
VeryBewitching has quit [Quit: Konversation terminated!]
beauby has joined #ruby
znz_jp has quit [Ping timeout: 272 seconds]
cdg has quit [Remote host closed the connection]
AlphaAtom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has joined #ruby
workmad3 has joined #ruby
znz_jp has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
Lumio has quit [Quit: ...]
Gasher has joined #ruby
moshee has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
marxarelli|afk is now known as marxarelli
moshee has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
synthroid has quit []
Nahra has quit [Remote host closed the connection]
Nahra has joined #ruby
tcrypt has joined #ruby
Guest76436 has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 244 seconds]
<getxsick> operands.all? { |op| op < 0 || !op.integer? } ? false : true
<getxsick> what is wrong here?
<baweaver> A few things
<baweaver> just to double check, describe what you're wanting there
<baweaver> 1. Never use a ternary when the response is boolean
tdy has quit [Ping timeout: 244 seconds]
<baweaver> 2. !op.is_a?(Integer)
<getxsick> baweaver: what is ternary?
<havenwood> getxsick: ? :
fmcgeough has quit [Quit: fmcgeough]
<baweaver> cond ? if-true : if-false
<getxsick> ah
daemoen has quit [Ping timeout: 252 seconds]
failshell has quit [Remote host closed the connection]
<getxsick> hm, why no tto use it when the response is boolean?
<baweaver> though that code makes no sense past that considering you ask if op is an int after you already treat it as one with <
tyang_ has quit [Ping timeout: 272 seconds]
<baweaver> >> true ? true : false
beauby has quit [Read error: Connection reset by peer]
<baweaver> the condition is already a boolean
<baweaver> hm, bot down?
gremax_ has quit [Ping timeout: 252 seconds]
failshell has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<getxsick> baweaver: ie makes sense in this case, i check if op is natural number
<havenwood> getxsick: it's a code smell since the return value is already boolean
<havenwood> >> true ? true : false
<havenwood> baweaver: oh yeah, not here
beauby has joined #ruby
ldnunes has joined #ruby
<baweaver> hm.
<baweaver> apeiros>> true ? true : false
postmodern has joined #ruby
<havenwood> #=> true
<baweaver> neat trick apeiros
chadwtaylor has quit [Remote host closed the connection]
* havenwood is a bad, slow bot
<getxsick> baweaver: any why op.is_a?(Integer) is better than op.integer?
daemoen has joined #ruby
<getxsick> s/any/and
moshee has quit [Ping timeout: 244 seconds]
<baweaver> try 1.integer? in irb
<getxsick> baweaver: got true
<havenwood> >> 1.integer?
<havenwood> #=> true
<baweaver> huh, TIL
<baweaver> anyways
<getxsick> :-)
Olipro has quit [Quit: Don't flap your BGP at me sonny]
chadwtaylor has joined #ruby
Olipro has joined #ruby
<getxsick> ok, so basically it's not allow to use ?: operator if response is boolean?
spectra has quit [Ping timeout: 252 seconds]
johnmccabe has joined #ruby
<baweaver> it's pointless
failshell has quit [Ping timeout: 264 seconds]
moshee has joined #ruby
gremax has joined #ruby
<eam> >> [not true]
moshee is now known as Guest29931
<getxsick> i thought i can tight it with the ?: operator
<baweaver> no
<baweaver> operands.none?
<getxsick> btw. why shall i use || instead of or in condition statements?
<baweaver> operands.none? { |op| op < 0 || !op.is_a?(Integer) }
a7d7p has joined #ruby
<baweaver> different precedence
<havenwood> getxsick: in modern Ruby you can use 1.negative? as well
<havenwood> getxsick: `or` is for flow control
<puppet699> Hi all, can someone help? https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L416 I know 0 about ruby but i managed to find out this line is outputting some parameters that are being outputted as strings such as 'true' or 'false', i want to make some quick and dirty change to substitute those with true or false (basicall without the quotes) so that they are parsed as booleans, i tried gsub but gives me an
<matthewd> .all? seems likely to read better IMO
<dminuoso> getxsick: keyword_or and keyword_and have different precendence - these precedence rules match control flow semantics
danmcguire has quit [Ping timeout: 252 seconds]
<dminuoso> getxsick: so they are en-par with things like "if" or "unless"
bsrd has joined #ruby
<dminuoso> getxsick: (they do the same though, but they usually require you to use unnecessary parens when used for non-control flow)
<dminuoso> likewise trying to use && for control flow will also require you to use unnecessary parens.
tcrypt has quit [Ping timeout: 264 seconds]
Ropeney has quit [Remote host closed the connection]
dagda1 has joined #ruby
<havenwood> getxsick: operands.grep_v(Integer).all?(&:negative?)
daffy_duck_2 has joined #ruby
<baweaver> any
<dminuoso> and !
<baweaver> or none
<havenwood> right, and right
<dminuoso> or none actually
<baweaver> we're god awful ruby bots
<havenwood> none
<dminuoso> yeah
paskuda has quit [Ping timeout: 252 seconds]
<havenwood> getxsick: final answer: operands.grep_v(Integer).none?(&:negative?)
<baweaver> operands.grep_v(Integer).none?(&:negative?)
tcrypt has joined #ruby
<dminuoso> havenwood: actually that wont work.
<baweaver> shouldn't it be grep?
<baweaver> grep -v returns not
<havenwood> i'm too distracted to reason
<baweaver> so not integer
<havenwood> oh, they inverted it, right
<dminuoso> baweaver: Even grep won't work.
<matthewd> operands.all? { |o| o.is_a?(Integer) && o >= 0 }
<dminuoso> What if the collection has non integer.
<dminuoso> matthewd is correct.
<getxsick> well
<baweaver> matthewd: stop making sense
<havenwood> getxsick: What's in there other than ints?
<getxsick> i will go with this: operands.any? { |op| op < 0 || !op.integer? }
<havenwood> baweaver: haha
Guest29931 has quit [Ping timeout: 272 seconds]
<dminuoso> We are all so horrible at this. :D
<dminuoso> Except matthewd.
<dminuoso> ?cookie
symm- has joined #ruby
<baweaver> Bot is dead
<getxsick> oh, matthewd was faster, i missed him ;-)
cjbischof_ has quit [Quit: Textual IRC Client: www.textualapp.com]
* havenwood throws cookies everywhere
<getxsick> actually his code is better
<havenwood> getxsick: what are you even trying to check? what do you have other than integers?
<baweaver> Curse you DeMorgan
<baweaver> havenwood Natural numbers
aries_liuxueyang has quit [Ping timeout: 272 seconds]
frozengeek has quit [Quit: frozengeek]
<getxsick> havenwood: it's for checking if the number is natural
<getxsick> i'm just playing with something like a calculator, no real work
vdamewood has quit [Quit: Life beckons.]
<havenwood> aha
<dminuoso> then operands.all? { |o| o.integer? && o.positive? }
<dminuoso> I think that reads best.
<getxsick> oh, positive!
<dminuoso> >> 1.0.integer?
<havenwood> just misses 0 if you care
<matthewd> Yeah, I was preserving the zero behaviour.. but positive? is def better if it's sufficient
<havenwood> #=> false
<dminuoso> Mmm.
<havenwood> apparently it can be either
beauby has quit [Read error: Connection reset by peer]
<havenwood> positive integers or nonnegative integers
<havenwood> "Regrettably, there seems to be no general agreement about whether to include 0 in the set of natural numbers."
sergio_101 has quit [Quit: Textual IRC Client: www.textualapp.com]
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> ISO 31-11
spectra has joined #ruby
<dminuoso> havenwood: luckily we have an international body defining standards and such
johnmccabe has joined #ruby
<dminuoso> Which is probably not well accepted in the USA, but well accepted in 95% of the other population on the planet.
aries_liuxueyang has joined #ruby
ixti has quit [Quit: WeeChat 1.5]
<dminuoso> getxsick: I think is_a?(Integer) is the better choice, because .integer? will just NoMethodError for strange things that dont have that method.
compro has quit [Ping timeout: 272 seconds]
<getxsick> dminuoso: hmmm this actually pretty nice argument
<havenwood> on the other hand, it's defined on Numeric
<havenwood> are non-Numeric things in the list?
Guest54 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> We are so bike shedding this.
<havenwood> green with pink trim!
<getxsick> ok, time for bed. thx for your time guys
<dminuoso> 20 minutes of #ruby professionalism at its best. :-)
getxsick has quit [Quit: leaving]
beauby has joined #ruby
johnmccabe has quit [Ping timeout: 264 seconds]
stamina has quit [Ping timeout: 264 seconds]
not_underground has joined #ruby
Zamyatin has joined #ruby
Ananthu has quit [Quit: Connection closed for inactivity]
tcrypt has quit [Ping timeout: 264 seconds]
eljimador has quit [Ping timeout: 244 seconds]
eljimmy has quit [Ping timeout: 276 seconds]
not_underground has quit [Ping timeout: 272 seconds]
jhack has joined #ruby
cpfeilschifter[m has joined #ruby
last_staff has quit [Quit: last_staff]
matp_ has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
Gasher has quit [Quit: Leaving]
jcao219 has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
a7d7p has quit [Read error: Connection reset by peer]
a7d7p has joined #ruby
eljimmy has joined #ruby
Puffball has joined #ruby
matp has quit [Ping timeout: 244 seconds]
JeanCarloMachado has quit [Ping timeout: 272 seconds]
matp_ is now known as matp
tcrypt has joined #ruby
fladson[m] has joined #ruby
mtkd has joined #ruby
elifoster has quit [Quit: food and class]
ldnunes has quit [Quit: Leaving]
danmcguire has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
griff has joined #ruby
_rubik has quit [Ping timeout: 272 seconds]
jackjackdripper has joined #ruby
johnmccabe has joined #ruby
johnmccabe has quit [Client Quit]
dminuoso has quit [Ping timeout: 272 seconds]
jaguarmagenta has joined #ruby
_sfiguser has quit [Ping timeout: 272 seconds]
<veloutin> Is there a way to make something like this work? "%{foo} %{bar}" % Hash.new{|h, key| key}
<veloutin> I want to be able to handle missing format keys
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
csk has quit [Remote host closed the connection]
<havenwood> >> "%{foo} %{bar}" % Hash.new { |h, k| h[k] = 'veloutin' }
<havenwood> #=> "veloutin veloutin"
csk has joined #ruby
griff has quit [Quit: Textual IRC Client: www.textualapp.com]
elastix has quit [Quit: elastix]
<Zarthus> interesting, it fills them numerically when there is no such key?
Axl_ has joined #ruby
<veloutin> havenwood: apparently it doesn't work on 1.9.3 :'(
jaguarmagenta has quit [Ping timeout: 244 seconds]
Wolland has quit [Remote host closed the connection]
<Zarthus> 1.9.3 is EOL
<Zarthus> maybe you should upgrade!
<veloutin> I know! It's going to happen someday hehe
<Zarthus> I think today is a good day.
eljimador has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
Puffball_ has joined #ruby
Puffball has quit [Ping timeout: 264 seconds]
* gchristensen is still on 1.9.2 :(
zel has joined #ruby
zel is now known as Guest81731
ChiefAlexander has quit [Remote host closed the connection]
xrlabs has joined #ruby
tcrypt has quit [Ping timeout: 265 seconds]
Axl_ has left #ruby [#ruby]
djbkd has quit [Remote host closed the connection]
banisterfiend has joined #ruby
djbkd has joined #ruby
tcrypt has joined #ruby
polishdub has quit [Quit: Leaving]
_sfiguser has joined #ruby
postmodern has quit [Quit: Leaving]
puppet699 has quit [Quit: Page closed]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
djbkd has quit [Ping timeout: 272 seconds]
xentity1x has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
phantummm has joined #ruby
phantummm has quit [Client Quit]
Devalo has joined #ruby
cidic has quit [Quit: cidic]
Wolland has joined #ruby
phantummm has joined #ruby
s2013 has joined #ruby
chadwtaylor has quit [Remote host closed the connection]
ndrst has joined #ruby
ndrst is now known as Guest66898
Devalo has quit [Ping timeout: 244 seconds]
codelogix has quit [Ping timeout: 244 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has joined #ruby
failshell has joined #ruby
cyphase has quit [Ping timeout: 240 seconds]
Puffball has joined #ruby
Puffball_ has quit [Ping timeout: 272 seconds]
yuung_ has joined #ruby
yuung has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
codelogix has joined #ruby
failshell has quit [Ping timeout: 244 seconds]
abernstein has joined #ruby
cyphase has joined #ruby
shum has quit [Ping timeout: 244 seconds]
<abernstein> I’m trying to use ruby for the first time, getting “ERROR: While executing gem ... (Errno::EINVAL) Invalid argument” when i try to “gem install” anything
cyphase has quit [Max SendQ exceeded]
<abernstein> what did I do wrong?
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
<abernstein> OSX 10.11.5, ruby 2.3.1p112, gem 2.5.1
sdothum has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
sdothum has joined #ruby
cyphase has joined #ruby
askhat has joined #ruby
askhat has left #ruby [#ruby]
rcvalle has quit [Quit: rcvalle]
yfeldblum has quit [Remote host closed the connection]
<baweaver> correct?
<baweaver> abernstein: and you're typing in: gem install name
ichkv has quit [Remote host closed the connection]
redpants has joined #ruby
<abernstein> that’s right, “gem install bundler” specifically, but fails with everything I’ve tried
Joufflu has joined #ruby
<baweaver> what did you use to install ruby?
<baweaver> can you install anything else?
<baweaver> try `gem install izzy`
<abernstein> “brew install ruby”
tcrypt has quit [Ping timeout: 264 seconds]
yfeldblu_ has joined #ruby
<abernstein> same result for “gem install izzy”
<baweaver> ok, so not just that one then
<baweaver> just a sec, finding that guide again
<baweaver> for now: brew uninstall ruby
Xeago has quit [Ping timeout: 240 seconds]
gchristensen has left #ruby ["WeeChat 0.4.2"]
<baweaver> found it
<baweaver> Give that a shot after brew finishes.
<baweaver> Also, you might: brew doctor
<baweaver> Might be that brew has some issues with permissions from something
<baweaver> this happens a lot especially after an OSX upgrade
<baweaver> considering Apple still hasn't quite figured out that chown'ing /usr/local is not a nice thing to do
djbkd has joined #ruby
Xeago has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
<abernstein> trying it out now
failshell has joined #ruby
tcrypt has joined #ruby
nando293921 has joined #ruby
<baweaver> ping me by name when you have
<baweaver> Might not see new messages for a few minutes otherwise
Trynemjoel has quit [Ping timeout: 244 seconds]
jcao219 has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
Zamyatin has quit [Ping timeout: 264 seconds]
dminuoso has joined #ruby
<abernstein> baweaver: everything worked up until “ruby -v” -> “-bash: /usr/local/bin/ruby: No such file or directory”
NTrash has quit [Ping timeout: 255 seconds]
NTrash_ has joined #ruby
<SeepingN> run: which ruby
<baweaver> it's going to be /usr/local/bin/ruby
<baweaver> did you do brew uninstall ruby?
<SeepingN> clearly it isn't. or that just isn't in PATH
<SeepingN> er wait no
tvw has quit [Remote host closed the connection]
<abernstein> i did brew uninstall ruby. which ruby -> /usr/bin/ruby
elastix has joined #ruby
sdwrage has quit [Quit: Leaving]
<abernstein> maybe I did something weird with my path
Meeh has quit [Ping timeout: 250 seconds]
<SeepingN> after such changes open a new terminal window/tab
hahuang61 has quit [Quit: WeeChat 1.5]
<baweaver> or source the file
<abernstein> hmm, now ruby runs, but You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Meeh has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
prawnzy has quit [Remote host closed the connection]
elastix has quit [Quit: elastix]
[Butch] has quit [Quit: I'm out . . .]
<baweaver> Did you follow every step of that guide?
<baweaver> Go through it once more and make sure you do every step of it.
biberu has quit [Read error: Connection reset by peer]
failshel_ has joined #ruby
prawnzy has joined #ruby
skweek has joined #ruby
sdothum has quit [Read error: Connection reset by peer]
failshell has quit [Ping timeout: 272 seconds]
sdothum has joined #ruby
blackmes1 has quit [Quit: WeeChat 1.5]
patarr has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
tmtwd has joined #ruby
zotherstupidguy has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
<zotherstupidguy> is there a way to make bundler generate a custom directory structure instead of its typical one?
redpants has quit [Ping timeout: 272 seconds]
Devalo has joined #ruby
daffy_duck_3 has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
[k- has quit [Ping timeout: 244 seconds]
<_sfiguser> can somebody help me to do a gui app which starts full screen with an image ?
nankyokusei has quit [Ping timeout: 244 seconds]
chadwtaylor has joined #ruby
<_sfiguser> i can't find decent GUI gems
<squidbits> There pretty much are none.
tcrypt has quit [Ping timeout: 264 seconds]
<_sfiguser> squidbits, how can i do GUI apps in ruby then ?
<squidbits> Web pages!
<darix> _sfiguser: there are Qt and GTK bindings
<abernstein> baweaver: started over, same result. i don’t know what i’m doing, i’ll have to do some research and try again
daffy_duck_2 has quit [Ping timeout: 244 seconds]
failshel_ has quit [Remote host closed the connection]
<baweaver> abernstein: brew doctor
<zotherstupidguy> _sfiguser green_shoes i guess
<zotherstupidguy> its a gem
failshell has joined #ruby
<zotherstupidguy> _sfiguser https://ashbb.github.io/green_shoes/
<squidbits> Is that a shoes fork?
<abernstein> baweaver: nothing relevant, i don’t think
<abernstein> Warning: Putting non-prefixed coreutils in your path can cause gmp builds to fail.
<abernstein> Warning: You have unlinked kegs in your Cellar
<abernstein> (numpy)
<baweaver> Hm.
Devalo has quit [Ping timeout: 244 seconds]
<baweaver> and you did the source steps?
<zotherstupidguy> squidbits i'm not sure but they do share the same name and domain area; and shoes was nver completed as far as i can remmber, _why dissappeared!
<baweaver> what shell are you using?
<_sfiguser> darix, i need full screen web apps
<_sfiguser> then
<squidbits> zotherstupidguy: Yeah, I got super excited about shoes, but it never really worked. Good to see someone working on a fork, I'll check that out.
<baweaver> abernstein: what does chruby return?
ixti has joined #ruby
<abernstein> I did the source steps, and then also tried the changes in the latest comment on that post
<abernstein> using bash
<abernstein> ruby-2.3.1
symm- has quit [Ping timeout: 244 seconds]
<baweaver> and ruby -v still doesn't work
zrts has joined #ruby
<abernstein> ruby -v is now showing 2.0.0p648
NTrash_ has quit [Quit: Konversation terminated!]
failshell has quit [Ping timeout: 244 seconds]
<abernstein> “which ruby" still /usr/bin/ruby
NTrash has joined #ruby
<baweaver> and you put the lines in .bashrc?
<havenwood> abernstein: there should be a `*` in front of `ruby-2.3.1` if you've selected it - try: chruby 2.3
<baweaver> and sourced it with: . ~/.bashrc
zrts has left #ruby [#ruby]
Jakey3 has joined #ruby
<abernstein> havenwood that seems to have done the trick
jcomito has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
marxarelli is now known as marxarelli|afk
<meatchicken> Is there a difference between module A; class B; end; end; and class A::B; end;
<matthewd> meatchicken: A couple, yes
<meatchicken> alright
<meatchicken> thanks
<matthewd> meatchicken: Most obviously, if A isn't defined yet, one will create it, and the other will give you an error
<matthewd> meatchicken: But also if you reference C inside the class, in one case it will look for A::B::C, A::C, ::C in order; in the other, only A::B::C, ::C
<abernstein> thanks baweaver havenwood
despai has quit [Quit: This computer has gone to sleep]
JeanCarloMachado has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
GodFather has joined #ruby
whathappens has joined #ruby
Rajamaa has quit [Quit: Konversation terminated!]
symm- has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
chadwtaylor has quit [Ping timeout: 264 seconds]
chadwtaylor has joined #ruby
not_underground has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
not_underground has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
pwnd_nsfw` has joined #ruby
johnmccabe has joined #ruby
chadwtaylor has quit []
pwnd_nsfw has quit [Ping timeout: 272 seconds]
abernstein has quit [Ping timeout: 264 seconds]
marxarelli|afk is now known as marxarelli
RegulationD has joined #ruby
hashrocket has quit [Quit: Connection closed for inactivity]
whathappens has quit [Read error: Connection reset by peer]
saneax-_-|AFK is now known as saneax
tcrypt has quit [Ping timeout: 272 seconds]
whathappens has joined #ruby
yfeldblum has joined #ruby
jaguarmagenta has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
AndrewIsHere has quit []
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
marr123 has joined #ruby
eljimador has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 264 seconds]
marr123 is now known as marr
jaguarmagenta has quit [Ping timeout: 272 seconds]
Bounga has joined #ruby
tcrypt has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yaaase has joined #ruby
yaaase has quit [Client Quit]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
tcrypt_ has joined #ruby
_sfiguser has quit [Ping timeout: 244 seconds]
jackjackdripper has quit [Quit: Leaving.]
tcrypt has quit [Ping timeout: 264 seconds]
nando293921 has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tcrypt has joined #ruby
tcrypt_ has quit [Read error: Connection reset by peer]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
yfeldblum has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
postmodern has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
minimalism has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 264 seconds]
jcao219 has joined #ruby
whathappens has joined #ruby
Bellthoven has joined #ruby
_sfiguser has joined #ruby
geezus has joined #ruby
yuung_ has quit [Quit: leaving]
chouhoulis has quit [Remote host closed the connection]
koooge has joined #ruby
SteenJobs has joined #ruby
Derperperd has joined #ruby
marr has quit [Ping timeout: 272 seconds]
harai has joined #ruby
a7d7p has quit [Quit: a7d7p]
SteenJobs has quit [Read error: Connection reset by peer]
nitric has quit [Ping timeout: 272 seconds]
ruby-lang068 has joined #ruby
maddmaxx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
yfeldblum has joined #ruby
csk_ has joined #ruby
csk has quit [Ping timeout: 244 seconds]
ruby-lang068 has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 264 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
yfeldblum has quit [Read error: Connection reset by peer]
whathappens has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
whathappens has joined #ruby
GodFather has quit [Quit: Ex-Chat]
tmtwd has quit [Ping timeout: 244 seconds]
GodFather has joined #ruby