apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
DadoCe has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has quit [Ping timeout: 245 seconds]
Faiqus has joined #ruby
zarubin has quit [Remote host closed the connection]
delianides has joined #ruby
Faiqus_ has quit [Ping timeout: 255 seconds]
spider-mario has quit [Remote host closed the connection]
DadoCe has quit [Ping timeout: 264 seconds]
Lucky__ has quit [Quit: Textual IRC Client: www.textualapp.com]
v0n has joined #ruby
^wald0 has quit [Quit: ^wald0]
vanderh0ff has quit [Ping timeout: 244 seconds]
fantazo has quit [Quit: Verlassend]
blackoperat has joined #ruby
Lucky__ has joined #ruby
delianides has quit [Ping timeout: 264 seconds]
deric_skibotn has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
sshao_ has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
pengin has quit [Remote host closed the connection]
sshao has joined #ruby
jenrzzz has joined #ruby
pengin has joined #ruby
mrmargolis has quit [Remote host closed the connection]
charliesome has joined #ruby
enebo has quit [Quit: enebo]
jgrevich has joined #ruby
AndyBotwin has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
pengin has quit [Ping timeout: 245 seconds]
sshao has quit [Ping timeout: 264 seconds]
Xspl0it has quit []
bitcycle has quit [Quit: WeeChat 1.0.1]
dc_ has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
pa3ce has joined #ruby
michaeldeol has joined #ruby
sargas has joined #ruby
Musashi007 has quit [Quit: Musashi007]
TinkerTyper has quit [Ping timeout: 264 seconds]
Crazy_Atheist has quit [Quit: WeeChat 1.0.1]
voodoofish4301 has joined #ruby
rbennacer has joined #ruby
jaequery has quit [Ping timeout: 245 seconds]
rightonbro has joined #ruby
SilkFox_ has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
klmlfl has quit [Remote host closed the connection]
voodoofish430 has quit [Ping timeout: 240 seconds]
silkfox has joined #ruby
hashpuppy has joined #ruby
jaequery has joined #ruby
ghr has joined #ruby
mikedugan has joined #ruby
p0wn3d_mhs has joined #ruby
TinkerTyper has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
snath has quit [Ping timeout: 255 seconds]
sinkensabe has joined #ruby
sargas has joined #ruby
oo_ has joined #ruby
jaequery has quit [Ping timeout: 244 seconds]
sevenseacat has joined #ruby
pengin has joined #ruby
rightonbro has left #ruby ["Textual IRC Client: www.textualapp.com"]
ghr has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
blackoperat has quit [Remote host closed the connection]
vdamewood has quit [Quit: Computer has gone to sleep.]
apeiros has joined #ruby
jaequery has joined #ruby
kasperti_ has quit []
sinkensabe has quit [Ping timeout: 264 seconds]
TinkerTyper has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has joined #ruby
noname001 has quit [Remote host closed the connection]
mjuszczak has quit []
polyzen has joined #ruby
^wald0 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
maestrojed has quit [Quit: Textual IRC Client: www.textualapp.com]
<polyzen> could anyone help me with this: Gem::ConflictError: Unable to activate releasy-0.2.2, because rake-10.4.2 conflicts with rake (~> 0.9.2.2)
<polyzen> ah, two rakes are installed...
<Radar> polyzen: Not without having some code that reproduces the problem.
greenbagels has quit [Quit: Leaving]
carvantes has joined #ruby
<polyzen> minitest (5.5.0, 5.4.3) psych (2.0.9, 2.0.8) rake (10.4.2, 0.9.2.2) test-unit (3.0.9, 3.0.8) thor (0.19.1, 0.14.6)
<ReinH> Radar: o/
<Radar> ReinH: o/
sargas has quit [Quit: This computer has gone to sleep]
<polyzen> i assume i should only have one of each installed
GGMethos has quit [Quit: WeeChat 1.0.1]
Faiqus has quit [Remote host closed the connection]
<polyzen> first time actually using ruby.. i've installed gamebox and it's deps, and then followed the steps under Game Creation https://github.com/shawn42/gamebox
<polyzen> Radar ^
poguez has quit [Quit: Connection closed for inactivity]
Takle has quit [Remote host closed the connection]
<Radar> Ah I've not used that before. I don't think that I can help you.
<polyzen> perhaps i should just uninstall rake 0.9.2.2
mesamoo has quit [Quit: Konversation terminated!]
pengin has quit [Remote host closed the connection]
^wald0 has quit [Quit: ^wald0]
shazaum has quit [Quit: This computer has gone to sleep]
^wald0 has joined #ruby
MartynKeigher has joined #ruby
charliesome has quit [Quit: zzz]
pa3ce has left #ruby [#ruby]
deric_skibotn has joined #ruby
codeFiend has quit [Quit: codeFiend]
tkuchiki has joined #ruby
beneggett has quit [Ping timeout: 245 seconds]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
codeFiend has joined #ruby
tokik has joined #ruby
LouisRoR has quit [Ping timeout: 244 seconds]
codeFiend has quit [Client Quit]
adriancb has joined #ruby
conniemj has quit [Quit: (null)]
<polyzen> ... removed all rake-0.9.2.2 files, still getting the same error
charliesome has joined #ruby
<jhass> polyzen: do you have a Gemfile?
vdamewood has joined #ruby
GGMethos has joined #ruby
<polyzen> https://rubygems.org/gems/releasy so i actually need to get rid of the newer rake? :|
<polyzen> jhass, not familiar with the term; very new to all this
<polyzen> wait, i do
<polyzen> jhass, want to see it?
<jhass> try bundle and then bundle exec $whatever
<jhass> no
phutchins has joined #ruby
<polyzen> bundle exec rake?
codeFiend has joined #ruby
baweaver has quit [Remote host closed the connection]
<jhass> bundle exec $command_that_throws_your_error
<polyzen> i'm getting these errors after trying to run rake
<polyzen> alrighgt
<polyzen> oh shniztle. thanks, jhass!
<jhass> yw
AndyBotwin has quit [Quit: Leaving]
delianides has joined #ruby
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
sevvie has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
Hijiri has joined #ruby
geggam has quit [Ping timeout: 264 seconds]
bklane has quit [Ping timeout: 245 seconds]
DadoCe has joined #ruby
delianides has quit [Client Quit]
bklane has joined #ruby
Hobogrammer has quit [Client Quit]
jaequery has quit [Ping timeout: 264 seconds]
pietr0 has quit [Quit: pietr0]
tier has joined #ruby
hamakn has joined #ruby
jaequery has joined #ruby
mary5030_ has joined #ruby
DadoCe has quit [Ping timeout: 244 seconds]
adriancb has quit [Remote host closed the connection]
dh64 has joined #ruby
Lewix has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 244 seconds]
tier has quit [Ping timeout: 265 seconds]
sargas has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
lele has quit [Ping timeout: 256 seconds]
unreal has joined #ruby
vin` has joined #ruby
charliesome has quit [Quit: zzz]
sevvie has joined #ruby
^wald0 has quit [Quit: ^wald0]
russt has quit [Ping timeout: 265 seconds]
Hobogrammer has joined #ruby
poetazus has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
snath has joined #ruby
mary5030_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
lele has joined #ruby
dc_ has joined #ruby
hamakn has quit [Remote host closed the connection]
sevvie has quit [Read error: Connection reset by peer]
bronson has joined #ruby
bklane has quit [Remote host closed the connection]
arescorpio has joined #ruby
dfinninger has joined #ruby
dfinninger has quit [Client Quit]
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
shaykha has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
luizbafilho has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
JimmyNeutron has quit [Read error: Connection reset by peer]
unreal has joined #ruby
Musashi007 has joined #ruby
ghr has joined #ruby
DonOtreply has joined #ruby
shazaum has joined #ruby
marr has quit [Ping timeout: 245 seconds]
poetazus has joined #ruby
poetazus has quit [Remote host closed the connection]
jgrevich_ has joined #ruby
danielcharles has quit [Ping timeout: 244 seconds]
poetazus has joined #ruby
Musashi007 has quit [Client Quit]
jgrevich has quit [Ping timeout: 245 seconds]
jgrevich_ is now known as jgrevich
sinkensabe has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
avahey91 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
Lewix has quit [Remote host closed the connection]
fabrice31 has joined #ruby
deric_skibotn has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Ping timeout: 244 seconds]
danielcharles has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
fabrice31 has quit [Ping timeout: 265 seconds]
SpikeMaster has joined #ruby
shaileshg has quit [Quit: Connection closed for inactivity]
shazaum has quit [Quit: Leaving]
shaykha` has joined #ruby
russt has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
studiotate has quit [Read error: Connection reset by peer]
robustus|Off has quit [Ping timeout: 255 seconds]
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
studiotate has joined #ruby
^wald0 has joined #ruby
shaykha has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
bustd has joined #ruby
robustus has joined #ruby
mleung has quit [Quit: mleung]
chrishough has quit [Remote host closed the connection]
hashpuppy has joined #ruby
bustd has quit [Client Quit]
baweaver has joined #ruby
Bjor has joined #ruby
Takle has joined #ruby
kaawee has quit [Quit: Konversation terminated!]
codeFiend has quit [Quit: codeFiend]
bigmac has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sevvie has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
^wald0 has quit [Quit: ^wald0]
parabolize has joined #ruby
Bjor has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Sawbones has joined #ruby
doodlehaus has joined #ruby
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
sankaber has joined #ruby
Musashi007 has joined #ruby
jgrevich has quit [Ping timeout: 256 seconds]
jgrevich has joined #ruby
davasaurous has quit [Remote host closed the connection]
KnownSyntax has quit [Quit: Connection closed for inactivity]
sankaber has quit [Read error: Connection reset by peer]
C1V0 has quit []
C1V0 has joined #ruby
sankaber has joined #ruby
luizbafilho has quit [Quit: Textual IRC Client: www.textualapp.com]
CynosureKuruma has joined #ruby
doodlehaus has quit [Remote host closed the connection]
puzzlr has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
puzzlr has left #ruby [#ruby]
Musashi007 has quit [Quit: Musashi007]
sankaber has joined #ruby
emmesswhy has quit [Ping timeout: 255 seconds]
adriancb has joined #ruby
bricker has quit [Ping timeout: 264 seconds]
puzzlr has joined #ruby
klmlfl has joined #ruby
puzzlr has quit []
hamakn has joined #ruby
klmlfl_ has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby
CynosureKuruma has quit [Ping timeout: 240 seconds]
doodlehaus has joined #ruby
jobewan has joined #ruby
towski_ has quit [Remote host closed the connection]
echooo has joined #ruby
klmlfl has quit [Ping timeout: 265 seconds]
kalz has quit [Ping timeout: 272 seconds]
teddyp1cker has joined #ruby
vin` has quit [Ping timeout: 264 seconds]
sankaber has quit [Client Quit]
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
emmesswhy has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Asher has joined #ruby
<zalmoxes> i've been automating some tasks with Nokogiri/Mechanize but I've hit a wall. one of the things i'm trying to automate is uploading files, but the file manager that opens up is written in Flash
emmesswhy has quit [Client Quit]
dpy has quit [Ping timeout: 252 seconds]
emmesswhy has joined #ruby
chipotle has joined #ruby
adriancb has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 255 seconds]
merqlove has joined #ruby
ponga has joined #ruby
LBRapid has quit [Ping timeout: 265 seconds]
scpike_ has quit [Ping timeout: 245 seconds]
LBRapid has joined #ruby
peterhu has quit [Ping timeout: 256 seconds]
klmlfl has joined #ruby
scpike has joined #ruby
dc_ has quit [Remote host closed the connection]
peterhu has joined #ruby
<shevy> >> :foo?
<eval-in> shevy => :foo? (https://eval.in/240675)
<shevy> cool
<shevy> symbols can have a trailing ?
skj3gg has joined #ruby
AlexRussia has quit [Ping timeout: 256 seconds]
klmlfl_ has quit [Ping timeout: 265 seconds]
Sawbones has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Sawbones has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
<jhass> of course
<jhass> >> def foo!; end
<eval-in> jhass => :foo! (https://eval.in/240676)
x1337807x has quit [Ping timeout: 245 seconds]
<shevy> yeah
<shevy> well the ? variants are sexier than the ! variants
<sevenseacat> >> :foo!?
<eval-in> sevenseacat => /tmp/execpad-93b602afebac/source-93b602afebac:3: syntax error, unexpected keyword_rescue ... (https://eval.in/240677)
<sevenseacat> aww
ghr has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
baweaver has quit [Remote host closed the connection]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 244 seconds]
sevvie has joined #ruby
Cynosure_ has joined #ruby
Cynosure_ is now known as CynosureKuruma
sinkensabe has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
vinc has joined #ruby
<Radar> >> !:foo?
<eval-in> Radar => false (https://eval.in/240678)
<shevy> do you guys sometimes use dummy @instance variables?
<Radar> >> !!!!!:foo?
<eval-in> Radar => false (https://eval.in/240679)
tkuchiki has quit [Ping timeout: 252 seconds]
<Radar> shevy: dummy instance variables for what? To throw other programmers off the scent?
<shevy> Radar to like story some content which you use in other methods but you don't really need to keep it once all has finished processing
<shevy> *to store
skj3gg has quit [Quit: ZZZzzz…]
<Radar> shevy: I don't understnad.
krz has joined #ruby
maletor has joined #ruby
crdpink has joined #ruby
Neomex_ has quit [Read error: Connection reset by peer]
crdpink2 has quit [Ping timeout: 244 seconds]
s00pcan has quit [Remote host closed the connection]
DadoCe has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
sinkensabe has quit [Ping timeout: 244 seconds]
djbkd has quit [Quit: My people need me...]
poetazus has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
sevvie has quit [Remote host closed the connection]
s00pcan has joined #ruby
sevvie has joined #ruby
s00pcan has quit [Remote host closed the connection]
sankaber has joined #ruby
s00pcan has joined #ruby
x1337807x has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
<ponga> i wonder shevy ever sleeps
<ponga> really
<shevy> ponga well I tried to stay awake yesterday and make through but it did not work
<shevy> so I slept until 7 hours ago and this time I can make it through
s00pcan has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 244 seconds]
s00pcan has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kapil__ has joined #ruby
Takle has joined #ruby
davasaurous has joined #ruby
bears has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
jgrevich_ has joined #ruby
sevvie has joined #ruby
jgrevich has quit [Ping timeout: 245 seconds]
jgrevich_ is now known as jgrevich
jgrevich has quit [Client Quit]
<shevy> ponga, do you know this https://www.youtube.com/watch?v=baUY9LFlYh0 ?
sevvie_ has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
recurrence has quit [Quit: recurrence]
Takle has quit [Ping timeout: 255 seconds]
sevvie has quit [Quit: leaving]
sevvie_ has quit [Quit: leaving]
claptor has joined #ruby
wallerdev has quit [Quit: wallerdev]
Hijiri has quit [Ping timeout: 245 seconds]
jfran has quit [Read error: Connection reset by peer]
jfran_ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
Hijiri has joined #ruby
jonr22 has joined #ruby
mrmargolis has joined #ruby
jonr22 has quit [Client Quit]
adriancb has joined #ruby
bronson has joined #ruby
pu22l3r has joined #ruby
jobewan has quit [Ping timeout: 264 seconds]
codefo has quit [Ping timeout: 245 seconds]
skj3gg has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
bronson has quit [Ping timeout: 244 seconds]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
reset has quit [Ping timeout: 255 seconds]
Cache_Money has joined #ruby
Faiqus has joined #ruby
pdoherty has joined #ruby
Faiqus has quit [Remote host closed the connection]
Joufflu has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has quit [Ping timeout: 252 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pdoherty has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
Rickmasta has joined #ruby
bronson has joined #ruby
whoisjake has quit []
eka has joined #ruby
gtrak has quit [Ping timeout: 265 seconds]
_5kg has quit [Ping timeout: 264 seconds]
dc_ has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
beneggett has joined #ruby
Musashi007 has joined #ruby
jenrzzz has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
arescorpio has quit [Ping timeout: 244 seconds]
wallerdev has joined #ruby
mrmargolis has quit [Remote host closed the connection]
Faiqus_ has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polyzen has quit [Quit: polyzen]
sinkensabe has joined #ruby
Sawbones has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
russt has quit [Quit: russt]
Fusl has quit [Ping timeout: 250 seconds]
mary5030 has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 256 seconds]
hornairs has quit [Quit: hornairs]
mary5030 has joined #ruby
B1n4r10 has joined #ruby
_5kg has joined #ruby
Fusl has joined #ruby
shaykha` has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 265 seconds]
<ponga> no shevy i don't
Sawbones has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby
klmlfl has quit [Remote host closed the connection]
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
hiyosi has joined #ruby
linoespinoza has joined #ruby
Parker0 has quit [Remote host closed the connection]
devoldmx_ has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
hornairs has joined #ruby
Fretta has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Hijiri has quit [Ping timeout: 245 seconds]
radic_ has quit [Ping timeout: 245 seconds]
hephaestus_rg has joined #ruby
kiyote23_ has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
radic has joined #ruby
Hijiri has joined #ruby
kiyote23 has joined #ruby
nicolastarzia has joined #ruby
Mia has quit [Read error: Connection reset by peer]
tmtwd has quit [Quit: Leaving]
Musashi007 has quit [Quit: Musashi007]
jobewan has joined #ruby
braincrash has quit [Quit: bye bye]
linoespinoza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
jobewan has quit [Client Quit]
jobewan has joined #ruby
nicolastarzia has quit [Ping timeout: 264 seconds]
Hijiri has quit [Ping timeout: 240 seconds]
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
evanjs has quit [Remote host closed the connection]
ajaiswal has joined #ruby
dc_ has quit [Remote host closed the connection]
braincrash has joined #ruby
lemur has joined #ruby
maletor has joined #ruby
checkit has joined #ruby
checkit has quit [Excess Flood]
nanoyak has joined #ruby
bronson has joined #ruby
russt has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
jaequery has joined #ruby
windowlicker has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 240 seconds]
TheTopBloke has quit [Quit: Leaving]
<pontiki> no idea how anyone could stand 15 minutes of that
hamakn has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
Sawbones has joined #ruby
Musashi007 has joined #ruby
ghr has joined #ruby
havenwood has joined #ruby
hamakn has joined #ruby
pu22l3r has quit [Remote host closed the connection]
sinkensabe has joined #ruby
Takle has joined #ruby
Sawbones has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
evanjs has joined #ruby
merqlove has quit [Quit: Connection closed for inactivity]
mleung has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sinkensabe has quit [Ping timeout: 264 seconds]
Takle has quit [Ping timeout: 265 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Quit: zzz]
kp666 has joined #ruby
charliesome has joined #ruby
oo_ has joined #ruby
jaequery has joined #ruby
jefus_ has joined #ruby
jefus has quit [Ping timeout: 265 seconds]
testcore has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
oo_ has quit [Ping timeout: 255 seconds]
windowlicker has joined #ruby
russt has quit [Quit: russt]
devoldmx has joined #ruby
mleung has quit [Quit: mleung]
bears_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
x77686d has joined #ruby
russt has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
doodlehaus has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
osvico has quit [Ping timeout: 265 seconds]
geggam has joined #ruby
Hijiri has joined #ruby
oo_ has joined #ruby
<shevy> hehe
doodlehaus has quit [Ping timeout: 245 seconds]
kalz has joined #ruby
Sawbones has joined #ruby
hornairs has quit [Quit: hornairs]
CynosureKuruma has quit [Read error: Connection reset by peer]
pwh has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
CynosureKuruma has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
jaequery has quit [Ping timeout: 264 seconds]
<shevy> so what is new in ruby for 2015
<shevy> or rather
<shevy> what *will be new
fedexo has joined #ruby
fedexo_ has joined #ruby
s00pcan has quit [Remote host closed the connection]
hmsimha has joined #ruby
s00pcan has joined #ruby
pwh has joined #ruby
mleung has joined #ruby
jaequery has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
pu22l3r has joined #ruby
pdoherty has joined #ruby
Parker0 has joined #ruby
jaequery has quit [Ping timeout: 252 seconds]
mrmargolis has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
krz has quit [Ping timeout: 265 seconds]
skj3gg has joined #ruby
jaequery has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
kiyote23 has quit [Remote host closed the connection]
Darryl__ has joined #ruby
nanoyak has joined #ruby
nanoyak has quit [Max SendQ exceeded]
tux_ has joined #ruby
nanoyak has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
mrmargolis has quit [Ping timeout: 264 seconds]
nanoyak has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
astrobun_ has joined #ruby
uri_ has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
sargas has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
russt has quit [Quit: russt]
bigmac has joined #ruby
Photism_ has quit [Quit: Leaving]
Sawbones has quit []
bigmac has quit [Read error: Connection reset by peer]
russt has joined #ruby
bigmac has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
nanoyak_ has joined #ruby
agrinb has quit [Remote host closed the connection]
sinkensabe has joined #ruby
agrinb has joined #ruby
devoldmx has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
phutchins has joined #ruby
davasaurous has quit [Remote host closed the connection]
evanjs has quit [Remote host closed the connection]
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamninja has joined #ruby
krz has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 265 seconds]
CynosureKuruma has quit [Read error: Connection reset by peer]
jobewan has quit [Ping timeout: 264 seconds]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 244 seconds]
elaptics`away is now known as elaptics
davasaurous has joined #ruby
windowlicker has quit [Ping timeout: 264 seconds]
avahey91 has quit [Quit: Connection closed for inactivity]
az7ar_away is now known as az7ar
nicolastarzia has joined #ruby
recurrence has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
mloveless has quit []
apeiros has joined #ruby
chrishough has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
Channel6 has quit [Quit: Leaving]
nicolastarzia has quit [Ping timeout: 264 seconds]
elabs-developer has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
jobewan has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
josephndenton has joined #ruby
oleo has quit [Quit: Verlassend]
keen__________25 has joined #ruby
hephaestus_rg has quit [Ping timeout: 255 seconds]
keen__________24 has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
bronson has joined #ruby
josephndenton has quit [Ping timeout: 256 seconds]
Morkel has joined #ruby
tus has quit []
bronson has quit [Ping timeout: 252 seconds]
mleung has quit [Quit: mleung]
agrinb has joined #ruby
alkoma has joined #ruby
codeFiend has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
zarubin has joined #ruby
az7ar is now known as az7ar_away
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
Musashi007 has joined #ruby
az7ar_away is now known as az7ar
Takle has joined #ruby
tobago has joined #ruby
az7ar is now known as az7ar_away
taiansu has joined #ruby
zarubin has quit [Ping timeout: 245 seconds]
apeiros has quit [Ping timeout: 252 seconds]
recurrence has quit [Quit: recurrence]
^wald0 has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
Cache_Money has quit [Quit: Cache_Money]
postmodern has quit [Quit: Leaving]
geggam has quit [Ping timeout: 264 seconds]
mleung has joined #ruby
recurrence has joined #ruby
fedexo has quit [Ping timeout: 244 seconds]
fedexo_ has quit [Ping timeout: 264 seconds]
webguynow has quit [Ping timeout: 264 seconds]
tux_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
taiansu has quit []
astrobun_ has quit [Remote host closed the connection]
apeiros has joined #ruby
Musashi007 has quit [Quit: Musashi007]
pu22l3r has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 264 seconds]
lkba_ has quit [Quit: Bye]
lkba has joined #ruby
longfeet has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
bears_ has quit [Quit: Leaving...]
davasaurous has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
SilkFox_ has quit [Ping timeout: 265 seconds]
pu22l3r has joined #ruby
bears_ has joined #ruby
Musashi007 has joined #ruby
hvxgr has quit [Ping timeout: 265 seconds]
Crazy_Atheist has joined #ruby
bears_ has quit [Ping timeout: 244 seconds]
function90 has quit [Quit: Textual IRC Client: www.textualapp.com]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
speakingcode has joined #ruby
tagrudev has joined #ruby
speakingcode-wor has quit [Ping timeout: 256 seconds]
kalz has quit [Ping timeout: 244 seconds]
uri_ has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
ender3rd has joined #ruby
astrobun_ has joined #ruby
ender3rd is now known as prometheus
prometheus has quit [Client Quit]
sinkensabe has joined #ruby
fabrice31 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
adriancb has joined #ruby
apeiros has joined #ruby
Macaveli has joined #ruby
charliesome has quit [Quit: zzz]
Crazy_Atheist has quit [Quit: WeeChat 1.0.1]
doodlehaus has joined #ruby
apurcell has quit [Quit: Be back later ...]
fabrice31 has quit [Ping timeout: 264 seconds]
dh64 has joined #ruby
adriancb has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
<certainty> moin
mrmargolis has joined #ruby
Stoge88 has joined #ruby
Stoge88 has quit [Client Quit]
doodlehaus has quit [Ping timeout: 265 seconds]
noop has joined #ruby
Tricon has quit [Ping timeout: 244 seconds]
iGabriel has joined #ruby
vinc has quit [Ping timeout: 245 seconds]
agrinb has joined #ruby
oo_ has joined #ruby
mrmargolis has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
pu22l3r has quit [Remote host closed the connection]
kalz has joined #ruby
Soda has joined #ruby
keen__________26 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
keen__________25 has quit [Ping timeout: 240 seconds]
elaptics is now known as elaptics`away
pdoherty has joined #ruby
jobewan has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0/20141127111021]]
hvxgr has joined #ruby
recurrence has quit [Quit: recurrence]
pdoherty has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
codecop has joined #ruby
jefus has joined #ruby
vinc has joined #ruby
Tricon has joined #ruby
<shevy> damn
<shevy> certainty is here
jenrzzz has joined #ruby
dionysus69 has joined #ruby
jefus_ has quit [Ping timeout: 244 seconds]
bal has joined #ruby
nfk has quit [Quit: yawn]
<epitron> shevy: were you using dummy instance variables to communicate between methods?
rbennacer has joined #ruby
s00pcan has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whowantstolivefo has joined #ruby
jaequery has joined #ruby
bronson has joined #ruby
<ponga> yes shevy certainty is certainly here
* ponga hides
dcarmich has joined #ruby
charliesome has joined #ruby
kenneth has joined #ruby
rbennacer has quit [Ping timeout: 265 seconds]
krzkrz has joined #ruby
DonOtreply has joined #ruby
s00pcan has joined #ruby
KnownSyntax has joined #ruby
Faiqus_ has quit [Remote host closed the connection]
<certainty> shevy: thanks for all your <3
bronson has quit [Ping timeout: 245 seconds]
Crazy_Atheist has joined #ruby
lxsameer has joined #ruby
Xeago has joined #ruby
Spami_ has quit [Ping timeout: 255 seconds]
Deele has quit [Ping timeout: 244 seconds]
alkoma has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
lemur has quit [Remote host closed the connection]
agjacome has joined #ruby
lemur has joined #ruby
lolmaus has joined #ruby
nicolastarzia has joined #ruby
dumdedum has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
aganov has joined #ruby
rbrs has joined #ruby
Deele has joined #ruby
hephaestus_rg has joined #ruby
icebourg has quit []
Pharaoh2 has joined #ruby
sigurding has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kenneth has quit [Ping timeout: 244 seconds]
dc_ has joined #ruby
SOLDIERz has joined #ruby
nicolastarzia has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
mleung has quit [Quit: mleung]
DonOtreply has quit [Quit: DonOtreply]
Pharaoh2 has quit [Client Quit]
Crazy_Atheist has quit [Quit: WeeChat 1.0.1]
djbkd has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
dc_ has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
jheg has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
josephndenton has quit [Ping timeout: 240 seconds]
<shevy> epitron yea
jheg has quit [Ping timeout: 264 seconds]
ponga has quit [Ping timeout: 246 seconds]
^wald0 has quit [Quit: ^wald0]
josephndenton has joined #ruby
uri_ has joined #ruby
agrinb has joined #ruby
x77686d has quit [Quit: x77686d]
charliesome has quit [Quit: zzz]
LouisRoR has joined #ruby
agrinb has quit [Ping timeout: 244 seconds]
josephndenton has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
anarang has joined #ruby
andikr has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
kenneth has joined #ruby
krz has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
_5kg has quit [Ping timeout: 245 seconds]
longfeet has quit [Ping timeout: 264 seconds]
lampd1 has quit []
jenrzzz has joined #ruby
_5kg has joined #ruby
hgl has quit [Ping timeout: 265 seconds]
Deele has joined #ruby
amundj has joined #ruby
hgl has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
teddyp1cker has quit [Ping timeout: 252 seconds]
devoldmx has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
LouisRoR has quit [Ping timeout: 264 seconds]
<Macaveli> can you do if variable exists in ruby?
<Macaveli> I only want to define the variable if it is needed
<certainty> Macaveli: what kind of variable?
<Macaveli> boolean
<Macaveli> I think i need defined
<certainty> nah i mean, a local var, an ivar etc.
<Macaveli> var that is created in html.erb
andikr has joined #ruby
<certainty> ok i can't follow
krandi has joined #ruby
krandi has quit [Remote host closed the connection]
<Macaveli> Nevermind :p
<Macaveli> It's dirty code
<Macaveli> that needs to be cleaned
tesuji has joined #ruby
krz has joined #ruby
<certainty> i was just wondering if conditional assignment was something you seek
helpa has quit [Remote host closed the connection]
terlar has joined #ruby
helpa has joined #ruby
<zenspider> Macaveli: why not just define it? it's just a boolean.
<zenspider> ie: why make shit more complicated than it needs to be?
<Macaveli> because it's cleaner
<Macaveli> no?
<certainty> ^.-
<zenspider> complexity is never cleaner
<zenspider> brb. gotta tweet that
<sevenseacat> awesome
artmann has quit [Quit: No Ping reply in 180 seconds.]
jenrzzz has joined #ruby
artmann has joined #ruby
dseitz has joined #ruby
greenbagels_ has joined #ruby
JohnBat26 has joined #ruby
carvantes has quit [Quit: WeeChat 0.3.7]
einarj has joined #ruby
pkrzywicki has joined #ruby
rdark has joined #ruby
kenneth has quit [Ping timeout: 264 seconds]
harax has joined #ruby
n008f4g_ has joined #ruby
olivier_bK has joined #ruby
SilkFox_ has joined #ruby
blackmesa has joined #ruby
bweston92 has joined #ruby
pwh has quit [Ping timeout: 245 seconds]
<bweston92> What is a good Ruby testing library? I just want to do some basic functionality tesitng.
SilkFox_ has quit [Ping timeout: 265 seconds]
<avril14th> bweston92: MiniTest or RSpec are common choices
<avril14th> minitest is faster / simpler
pwh has joined #ruby
<bweston92> avril14th thanks :) I will check them out#
krz has quit [Ping timeout: 252 seconds]
arup_r has quit [Remote host closed the connection]
abhimanyu has joined #ruby
defrang has joined #ruby
<abhimanyu> hi. i am experiencing a bit of a problem., is there someone who can help?
<certainty> abhimanyu: just ask the concrete question, and provide code if you can
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<abhimanyu> thanks. So, I want to make a script that serves messages based on time and date. suppose i write puts"Today:
<abhimanyu> *continued: "Today:"+timestrftime("%a") now I want an if statement, like if day is monday, then puts "WPD work".
<abhimanyu> How can i achieve this?
phutchins has joined #ruby
<certainty> abhimanyu: see Time#wday
CustosL1men has joined #ruby
jusmyth has joined #ruby
greenbagels_ has quit [Read error: Connection reset by peer]
jusmyth has left #ruby [#ruby]
mrmargolis has joined #ruby
<gr33n7007h> >> time = Time.new; [time.monday?, time.tuesday?, time.friday?]
<eval-in> gr33n7007h => [false, false, true] (https://eval.in/240733)
<certainty> ah right that's been added
<gr33n7007h> yeah payday :)
<abhimanyu> i need to assign the current day to a variable. If this variable's value is Monday, it will post WPD, it Tuesday, WordPress, and so on.
<certainty> you could for example have a hash that maps the weekday to the output
<certainty> then do puts somehash[Time.now.wday]
<certainty> just a thought
agrinb has joined #ruby
<certainty> or even use an array and index into it
oo_ has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 256 seconds]
<abhimanyu> Friends, no, you don't understand. I'm a rookie... I don't understand what you mean by hashing and whatever. It's so simple: get the day, assign value, cram lots of (14) if statements like if day=Monday do puts"WPD" end
n008f4g_ has quit [Ping timeout: 264 seconds]
<certainty> well i'm not going to give you the entire thing
<sevenseacat> lol
LouisRoR has joined #ruby
<sevenseacat> 'you dont understand, i want you to do it for me'
<sevenseacat> if its so simple, you should be able to do it yourself
mrmargolis has quit [Ping timeout: 244 seconds]
<abhimanyu> uh yeah, but that doesnt mean i wont learn if you tell me how to do it,
<crome> also, with 14 ifs and all that stuff the cyclomatic complexity of your method is going to be crazy
<crome> think about the pandas
xrlabs has joined #ruby
<certainty> abhimanyu: you will have to do most of the work. We're here to help but you need to learn things. (even if it hurts slightly)
<abhimanyu> i wouldnt have come here if it were really that simple. it includes date time... i think the process of doing it should be simple, but i dont know it
agrinb has quit [Ping timeout: 244 seconds]
<abhimanyu> ofc i have to do it. i completely understand. But I don't see what's the big deal, someone of you must be able to solve this in a single pinch.. the problem feels so simple for a powerful programming language like ruby..
doodlehaus has joined #ruby
ponga has joined #ruby
<avril14th> is there a way to give back a pry/irb console to the user in the middle of a Rake task?
<certainty> abhimanyu: well in its simplist and probably also the least beautiful way you could just have a bunch (about 7) conditionals. if now.monday? ... elsif now.tuesday? ....
<sevenseacat> there has to be a name for this kind of guilt tripping people into doing your work
<certainty> sevenseacat: there is
<certainty> boss
<sevenseacat> 'if its so simple and ruby is so good and youre so smart, why wont you write it'
<certainty> or manager
<sevenseacat> lol
<avril14th> certainty: was gonna say the same
<avril14th> more precisely
<avril14th> Dunning-Krueger bosses
<avril14th> aka wannabees
<certainty> avril14th: just starting the pry session inside the task should work
<abhimanyu> ...
<certainty> binding.pry and off you go
blackmesa has quit [Ping timeout: 252 seconds]
<abhimanyu> is that how you all treat newcomers?
<avril14th> certainty: ok will look into that. thx
<sevenseacat> that try to guilt-trip us, yes
spider-mario has joined #ruby
<sevenseacat> well, i do, anyway
abhimanyu has quit [Remote host closed the connection]
doodlehaus has quit [Ping timeout: 245 seconds]
<havenwood> >> require 'date'; Date::DAYNAMES[Time.now.wday]
<eval-in> havenwood => "Friday" (https://eval.in/240737)
<havenwood> \o/
<sevenseacat> :D
<havenwood> Though still feels like Thurs night to me... Friday is coming!
tesuji has quit [Ping timeout: 252 seconds]
<certainty> it should
<ddv> It's friday bitches
<havenwood> it better
<sevenseacat> its beer o'clock time!
<certainty> only down under
<sevenseacat> yeeeeeeeeah
hanachin has quit [Remote host closed the connection]
Joufflu has quit [Ping timeout: 244 seconds]
davedev24_ has quit [Remote host closed the connection]
<certainty> cheers
oo_ has joined #ruby
pdoherty has joined #ruby
livathinos has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
sevenseacat has quit [Remote host closed the connection]
C1V0 has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
pawanspace has joined #ruby
bronson has joined #ruby
pdoherty has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
timonv_ has joined #ruby
<shevy> got a question
<shevy> I am using pp array
<shevy> is there a simple way to tell to pp somehow that I want to display 3 members per line, in that array output?
einarj has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 245 seconds]
tobiasvl has quit [Quit: reboot]
einarj has joined #ruby
arup_r has joined #ruby
elaptics`away is now known as elaptics
<certainty> shevy: i know little about pp but you could overide the pretty_print method for your array to do so i guess
<shevy> hmm
<certainty> see "Output Customization" in the docs
<certainty> this suggests the same
dark_lord has joined #ruby
<shevy> link!!!!
<shevy> please!!!!!!!
pawanspace has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
* shevy clicks on certainty
* shevy clicks on certainty
<shevy> open!
<shevy> hehehe thanks
<shevy> ok
<shevy> now I understand
<shevy> I was looking at class Array and wondered where that option was
<shevy> :\
<shevy> :/
<certainty> ah ok
einarj has quit [Ping timeout: 252 seconds]
davidhq has joined #ruby
<dark_lord> Hello I am new to ruby. I want to execute systemtype = Facter::Util::Resolution.exec('netstat -abon | ruby -nae "puts $F[1] if $F[3] == 'LISTENING'"') , but I am getting error :syntax error, unexpected tCONSTANT, expecting ')'...ts $F[1] if $F[3] == 'LISTENING'"')
<shevy> >> require 'pp'; PP.class
<eval-in> shevy => Class (https://eval.in/240739)
^wald0 has joined #ruby
<shevy> >> require 'pp'; foo = PP.new; p foo
<eval-in> shevy => #<PP:0x416d5434 @output="", @maxwidth=79, @newline="\n", @genspace=#<Proc:0x416d53e4@/execpad/interpreters/ruby-2.2.0/lib/ruby/2.2.0/prettyprint.rb:84 (lambda)>, @output_width=0, @buffer_width=0, @buff ... (https://eval.in/240740)
<avril14th> dark_lord: you have most likely a problem of missing a " or a '
<shevy> dark_lord I think your string is weird
<shevy> dark_lord you could build it up before invoking the exec() method there
qba73 has joined #ruby
<shevy> oh yeah
<shevy> you have a string like '"''"'
<shevy> can that be right?
<shevy> >> puts '"foo''bar"'
<eval-in> shevy => "foobar" ... (https://eval.in/240741)
<shevy> it can!
<dark_lord> Yeah the problem is because of '
<dark_lord> what can I do if I want to use "" in ' " " '
_Andres has joined #ruby
C0deMaver1ck has quit [Remote host closed the connection]
<dark_lord> I mean use another string("dark_lord") in ' " " '.
<avril14th> dark_lord: escape it "\""
jenrzzz has quit [Ping timeout: 252 seconds]
tokik has quit [Ping timeout: 256 seconds]
krz has joined #ruby
^wald0 has quit [Ping timeout: 256 seconds]
lkba_ has joined #ruby
einarj has joined #ruby
<dark_lord> ohh. It worked
<dark_lord> Thanks avril14th
thsig has joined #ruby
wallerdev has quit [Quit: wallerdev]
thsig has quit [Remote host closed the connection]
LekeFly has joined #ruby
LekeFly has quit [Client Quit]
thsig has joined #ruby
<shevy> \o/
<shevy> avril14th is slowly becoming a ruby guru
lkba has quit [Ping timeout: 264 seconds]
banister has joined #ruby
<avril14th> how do you quit pry after binding.pry?
<avril14th> "exit"?
<certainty> yeah that's one way
<certainty> also Ctrl+d
blackmesa has joined #ruby
<avril14th> thx
<avril14th> shevy: what else could happen after all this shitload of hours in front of it?
<shevy> dunno
<shevy> I often get dumber while coding for a long time
<avril14th> agreed there too actually
SilkFox_ has joined #ruby
<avril14th> that's why I'm hiring a CTO first thing
<shevy> lol
<certainty> chief tea officer
<certainty> that's me
aswen has joined #ruby
kamilc__ has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
<shevy> huh
<shevy> what is $>
<shevy> >> $>.class
<eval-in> shevy => IO (https://eval.in/240745)
<shevy> >> $stdout.class
<eval-in> shevy => IO (https://eval.in/240746)
<shevy> hmmmm
hmsimha has quit [Ping timeout: 252 seconds]
<shevy> >> $stdout == $>
<eval-in> shevy => true (https://eval.in/240748)
<shevy> what madness is this $>
<shevy> hmm
<shevy> $> << ->
<shevy> hahaha
<shevy> ruby is actually brainfuck in disguise
<avril14th> where is the disguise?
SilkFox_ has quit [Ping timeout: 264 seconds]
<cHarNe2> i think ruby is a masterpice
<shevy> avril14th the above!
DaniG2k has joined #ruby
Musashi007 has joined #ruby
<shevy> >> $> << ->() { puts 'hi'}[]
<eval-in> shevy => hi ... (https://eval.in/240749)
astrobun_ has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
bayed has joined #ruby
<shevy> anyone can make the above more creative and wicked?
<avril14th> hmm
<avril14th> we could dsl the < to tabs
agrinb has joined #ruby
josephndenton has joined #ruby
shredding has joined #ruby
krz has quit [Read error: Connection reset by peer]
thsig has quit [Ping timeout: 265 seconds]
agrinb has quit [Ping timeout: 244 seconds]
lkba_ has quit [Ping timeout: 264 seconds]
josephndenton has quit [Ping timeout: 252 seconds]
krz has joined #ruby
msgodf has joined #ruby
tokik has joined #ruby
joonty has joined #ruby
krzkrz has quit [Ping timeout: 255 seconds]
krzkrz has joined #ruby
marr has joined #ruby
PierreRambaud has quit [Read error: Connection reset by peer]
PierreRambaud has joined #ruby
davidhq has quit [Max SendQ exceeded]
davidhq has joined #ruby
tokik has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
teotwaki has quit [Ping timeout: 265 seconds]
leafybasil has quit [Remote host closed the connection]
kenneth has joined #ruby
teotwaki has joined #ruby
JohnBat26 has quit [Ping timeout: 252 seconds]
zarubin has joined #ruby
<zenspider> shevy: you can set the width for PP, but I don't think you can say how many "columns" there are
<zenspider> char width
Xeago has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
gccostabr has joined #ruby
Pharaoh2 has quit [Ping timeout: 264 seconds]
arup_r_ has joined #ruby
dpy has joined #ruby
Mia has joined #ruby
Pharaoh2 has joined #ruby
zarubin has quit [Ping timeout: 244 seconds]
arup_r has quit [Ping timeout: 244 seconds]
vinc has quit []
lkba has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
havenwood has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
norc has joined #ruby
<norc> Hi. I have about 300mb of YAML files that Im trying to load, however the jruby just crashes with GC overhead limit exceeded errors, and I have a feeling that it's a bit extreme for the interpreter. Am I likely to have more success with the native implementation?
lkba has joined #ruby
<norc> Or should I consider incrementally loading the files (and losing references for the GC to clean up)?
lkba_ has joined #ruby
brandon__ has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
nanoyak_ has quit [Quit: Computer has gone to sleep.]
iamninja has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
Aswebb_ has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
ldnunes has joined #ruby
SilkFox_ has joined #ruby
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
timonv_ has joined #ruby
hephaestus_rg has quit [Ping timeout: 244 seconds]
mrmargolis has joined #ruby
Flcn has joined #ruby
agrinb has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
hamakn has quit [Remote host closed the connection]
mrmargolis has quit [Ping timeout: 244 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ferr has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
<ferr> How would I actually make so the test is only executed if at least 3 selectors found? http://pastie.org/9821830
asmodlol has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
dark_lord has quit [Ping timeout: 240 seconds]
lessless has joined #ruby
kies has quit [Quit: baaaaiiiiiiiiiii~]
workmad3 has joined #ruby
andikr has quit [Ping timeout: 245 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
<canton7> as a unit test, that kinda stinks tbh
asmodlol has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
<canton7> imo, you should have a precise, known input. so you never have conditional asserts - you set up the test, you should know exactly what to assert for
<canton7> otherwise your test is starting to get more complex than it needs to be - and now your tests need testing themselves, which defeats the point
Axy has joined #ruby
Mia has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
<Macaveli> how can you delete last from array?
Zai00 has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
doodlehaus has joined #ruby
tkuchiki has quit [Remote host closed the connection]
jheg has joined #ruby
tkuchiki has joined #ruby
dc_ has joined #ruby
davidhq has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
dark_lord has joined #ruby
doodlehaus has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
<workmad3> Macaveli: ary.pop
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
sinkensabe has joined #ruby
sevenseacat has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Remote host closed the connection]
gr33n7007h has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
devoldmx_ has joined #ruby
<Macaveli> yep
<Macaveli> indeed workmad3
<Macaveli> :)
<Macaveli> easy as pie
postmodern has joined #ruby
timonv_ has quit [Remote host closed the connection]
kamilc__ has quit [Ping timeout: 244 seconds]
ramblex has joined #ruby
kenneth has quit [Ping timeout: 244 seconds]
timonv_ has joined #ruby
davidhq has quit [Read error: Connection reset by peer]
pdoherty has joined #ruby
davidhq has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
devoldmx_ has quit [Ping timeout: 264 seconds]
<ferr> expect(page).to have_css("div[class='portlet box gray'][id='health-settings']) would it be possible to write this css selector like div.portlet box gray#health-settings?
nicolastarzia has joined #ruby
<canton7> div.portlet.box.gray#health-settings
<canton7> is the css selector
<canton7> (or div#health-selector.portlet.box.gray)
pdoherty has quit [Ping timeout: 255 seconds]
neersighted has quit []
cobakobodob has quit [Read error: Connection reset by peer]
neersighted has joined #ruby
DaniG2k has quit [Quit: leaving]
nicolastarzia has quit [Ping timeout: 244 seconds]
cobakobodob has joined #ruby
fabrice31 has joined #ruby
asmodlol has quit [Ping timeout: 240 seconds]
dinesh__ has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
asmodlol has joined #ruby
jack_rabbit has quit [Ping timeout: 255 seconds]
andikr has joined #ruby
Aswebb_ has joined #ruby
<pontiki> didn't i just answer that??
* canton7 has no messages in his log from pontiki
<sevenseacat> yeo, he cross-posted.
bal has quit [Ping timeout: 256 seconds]
<sevenseacat> yep
<canton7> aah, that'll be why
teddyp1cker has joined #ruby
ilvtxt has joined #ruby
shredding has quit [Quit: shredding]
DadoCe has joined #ruby
ChoiKyuSang has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
sigurding has quit [Quit: sigurding]
agrinb has joined #ruby
DadoCe has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
josephndenton has joined #ruby
SilkFox_ has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
AFKGeek has joined #ruby
dinesh__ has quit [Quit: Page closed]
Zai00 has quit [Quit: Zai00]
rodfersou has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
asmodlol has quit [Ping timeout: 244 seconds]
apeiros has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
asmodlol has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
sandelius has joined #ruby
dark_lord has quit [Ping timeout: 240 seconds]
froginvasion has joined #ruby
codeFiend has quit [Quit: codeFiend]
max96at|off is now known as max96at
n1lo has joined #ruby
Takle has quit [Remote host closed the connection]
SOLDIERz has joined #ruby
davidhq_ has joined #ruby
davidhq has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
Morkel_ has joined #ruby
ponga has joined #ruby
Morkel has quit [Ping timeout: 244 seconds]
Morkel_ is now known as Morkel
<madhatter> Hi. Is there a way to install executables in a gem to /usr/local/bin or automatically create symlinks there? I tried 'gem install --bindir /usr/local/bin gem_name-version.gem' which kinda works, but is not exactly what I wanted.
iGabriel has quit [Read error: Connection reset by peer]
iGabriel has joined #ruby
<workmad3> madhatter: it's much preferred to add the gem bin directory to your PATH
Flcn has quit [Quit: Be back later ...]
DadoCe has joined #ruby
<madhatter> workmad3: Thanks. That is what I would do, if I was allowed to do so. I install it on multiple servers here, but the administrator does not want me to modify the default path. The gem will be installed as root.
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
sigurding has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
<workmad3> madhatter: so the administrator doesn't want to modify the default path, but is absolutely fine with chucking random executables into places like /usr/local/bin ?
<workmad3> madhatter: I think the admin is madder than you :P
<madhatter> workmad3: :D
<madhatter> I will let him know ;)
<jhass> +1 get your admin here and let him explain that reasoning
<workmad3> heh :)
<jhass> meanhwhile I'll prepare some popcorn
DadoCe has quit [Client Quit]
<workmad3> "Hey dood, some random guy on IRC says you crazy"
cmouse has joined #ruby
<madhatter> Great idea
<cmouse> hi, anyone have any idea how to debug ruby process spendin 99,9% CPU
Aswebb_ has quit [Remote host closed the connection]
Aswebb__ has joined #ruby
<jhass> cmouse: if you have debug symbols for your ruby executable you could attach with gdb and print a backtrace
<pontiki> maybe set GEM_HOME=/usr/local
<pontiki> ^ for madhatter
<cmouse> jhass: possibly, it has several threads though
<jhass> you can do that in each thread
<cmouse> yes
<madhatter> pontiki: I will give it a try. Right now GEM_HOME is unset
<jhass> call rb_backtrace() and I always have to look up thread switching :P
<Takumo> So I've got a build process written in rake. And I'd like to introduce an asset pipeline/pre-processor into that, could anyone give me any recommendations? (This is *not* for a RACK or Ruby app)
devoldmx_ has joined #ruby
<pontiki> Takumo: not an answer, really, but you might look at sinatra-assets and jekyll-assets as examples of doing something like that?
larissa has joined #ruby
kenneth has joined #ruby
<workmad3> Takumo: or you could take a look at gulp or grunt
<pontiki> or even delve into sprockets
<Takumo> will take a look at those, would rather not have grunt *and* rake though!
BlackGear has joined #ruby
davidhq has joined #ruby
<cmouse> jhass: did not discovery anything interesting
<cmouse> jhass: all threads were in wait
davidhq_ has quit [Read error: Connection reset by peer]
<jhass> huh? unlikely for the process to hog the CPU then
<cmouse> jhass: despite that it spends 99.9% CPU
<cmouse> i checked all threads
<jhass> sounds like an active deadlock
DadoCe has joined #ruby
<jhass> two threads waiting for each other, continously waking up and checking a condition, then going back to sleep
<cmouse> jhass: could be
devoldmx_ has quit [Ping timeout: 264 seconds]
<cmouse> jhass: i do see lots of futex stuff
ldnunes has quit [Quit: Leaving]
<cmouse> so that's not even unlikely
jakolehm has joined #ruby
<jhass> so backtraces to see whether the threads wait in a location you expect them to wait could still be revealing
codeFiend has joined #ruby
ajaiswal has quit [Quit: Leaving]
sk87_ is now known as sk87
<cmouse> jhass: this includes a 3rd party gem
<cmouse> jhass: but yes
davidhq has quit [Max SendQ exceeded]
<jhass> that's as much general advice as I can give there
ldnunes has joined #ruby
<cmouse> jhass: yeah
davidhq has joined #ruby
ldnunes has quit [Client Quit]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<cmouse> then off to hunt a such conflict
Takle has joined #ruby
Aswebb__ has quit [Remote host closed the connection]
thsig has joined #ruby
ldnunes has joined #ruby
Tricon has quit [Ping timeout: 240 seconds]
Aswebb_ has joined #ruby
thsig has quit [Remote host closed the connection]
thsig has joined #ruby
Soda has quit [Remote host closed the connection]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thsig_ has joined #ruby
shazaum has joined #ruby
mrmargolis has joined #ruby
agrinb has joined #ruby
roolo_ has joined #ruby
davidhq has joined #ruby
thsig has quit [Ping timeout: 252 seconds]
kenneth has quit [Ping timeout: 245 seconds]
xrlabs has quit [Remote host closed the connection]
roolo has quit [Ping timeout: 240 seconds]
mrmargolis has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 265 seconds]
jottr_ has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
SilkFox_ has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
SilkFox_ has quit [Ping timeout: 245 seconds]
ferr has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
asmodlol has quit [Ping timeout: 255 seconds]
rkalfane has joined #ruby
psy_ has quit [Ping timeout: 252 seconds]
Zai00 has joined #ruby
<froginvasion> what is a good solution for Ruby on the windows platform?
<froginvasion> because my best is to install a linux vm lol.
asmodlol has joined #ruby
doritostains has quit [Quit: WeeChat 1.0.1]
kp666 has quit [Quit: Leaving]
spyderman4g63 has joined #ruby
xrlabs has joined #ruby
AlexRussia has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
spyderma_ has joined #ruby
* canton7 runs ruby on windows just fine
bronson has joined #ruby
surs has quit [Quit: leaving]
spyderman4g63 has quit [Ping timeout: 255 seconds]
surs has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
osvico has joined #ruby
<froginvasion> how do you cope without rbenv/rvm, with annoying gems that are platform specific
<froginvasion> i know that it can work though, but the setup of it all
Aswebb_ has joined #ruby
mikedugan has left #ruby ["Textual IRC Client: www.textualapp.com"]
claptor has quit [Quit: this channel is bakas]
<workmad3> froginvasion: well, a lot of gems with native extensions (the ones that are of concern) have mingw versions available with pre-built binaries, and rubygems picks those up on win32 automatically
<workmad3> froginvasion: and if you have some gems that are windows-specific, you can also specify that in a project Gemfile using the platform specifier options
cmouse has left #ruby [#ruby]
<froginvasion> workmad3, is this something new, or was i completely oblivious? I remember problems i had last time i needed xml extensions (for nokogiri) that that was not fun to get to work.But now this should work?
<workmad3> froginvasion: I think the feature has been in rubygems for a while, but more gems have taken it on board and are providing windows builds
<workmad3> froginvasion: a quick look at https://rubygems.org/gems/nokogiri shows that it has 32bit and 64bit windows builds now
Flcn has joined #ruby
doodlehaus has quit [Ping timeout: 264 seconds]
<workmad3> froginvasion: it also helps that nokogiri since 1.6 includes bundled versions of libxml2 and libxslt, so you're not reliant on providing those outside of the gem now too :)
nicolastarzia has joined #ruby
<froginvasion> i remember having to provide libxml2 and libxslt myself a while ago
<workmad3> froginvasion: but with windows gems and native extensions, you do need to look at it on a case-by-case basis
<froginvasion> but good to hear that that has progressed
bal has joined #ruby
nfk has joined #ruby
<froginvasion> what about mysql adapter?
<froginvasion> that used to be another one if i remember correctly
<workmad3> take a look at it on rubygems ;)
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<froginvasion> wait where do you see nokogiri supports windows builds?
brb3 has joined #ruby
<workmad3> look at the versions
<froginvasion> yeah sorry found it
<certainty> look at $thing
lessless has joined #ruby
sambao21 has joined #ruby
<workmad3> if a gem has native extensions and doesn't provide a mingw version, chances are it'll need to compile on install... which means you need a suitable compiler and build environment set up, etc.
blackmesa has joined #ruby
<workmad3> which I've personally always find a complete PITA on windows (as do many others), hence why the bundling of prebuilt mingw versions :)
<workmad3> if you're very good at setting up cygwin on mingw, you're probably ok though
nicolastarzia has quit [Ping timeout: 264 seconds]
amundj has quit [Ping timeout: 264 seconds]
jottr_ has joined #ruby
amundj has joined #ruby
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
pdoherty has joined #ruby
Flcn has quit [Ping timeout: 252 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
phantomtiger has joined #ruby
aclearman037 has joined #ruby
doritostains has joined #ruby
workmad3 is now known as wm3|away
felipedvorak has joined #ruby
felipedvorak has quit [Changing host]
felipedvorak has joined #ruby
<canton7> on the whole, native compilation on windows using DevKit is fine
agrinb has joined #ruby
<canton7> that gets more tricky if extra third-party libaries are required (e.g. libxml), but gems are pretty good at providing prebuilt binaries in that case
krzkrz has quit [Quit: WeeChat 1.0.1]
josephndenton has joined #ruby
vdamewood has joined #ruby
B1n4r10 has joined #ruby
shredding has joined #ruby
harax has quit [Quit: WeeChat 1.0.1]
agrinb has quit [Ping timeout: 244 seconds]
livathin_ has joined #ruby
Darryl__ has quit [Quit: Connection closed for inactivity]
josephndenton has quit [Ping timeout: 255 seconds]
kenneth has joined #ruby
pu22l3r has joined #ruby
sandelius has quit [Read error: Connection reset by peer]
arup_r_ has quit []
pu22l3r_ has joined #ruby
livathinos has quit [Ping timeout: 264 seconds]
dc_ has quit [Remote host closed the connection]
krisleech has quit [Ping timeout: 240 seconds]
davedev2_ has joined #ruby
rbennacer has joined #ruby
krisleech has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renier has joined #ruby
nkts has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Ping timeout: 244 seconds]
nkts has joined #ruby
iwishiwerearobot has quit [Ping timeout: 245 seconds]
iwishiwerearobot has joined #ruby
oleo has joined #ruby
davedev24_ has quit [Ping timeout: 265 seconds]
apurcell has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
shellfu_afk has quit [Ping timeout: 256 seconds]
SilkFox_ has joined #ruby
<electrical> hi all. I'm trying out an OpenSuse 13.1 vagrant box which has ruby 2.0.0 install. for some reason every gem i install has 2.0 appended to the executable files.. is this something that's been set at compile time of the ruby in OpenSuse or is this something i can fix ?
DadoCe has quit [Remote host closed the connection]
rbrs has quit [Quit: rbrs]
apurcell has quit [Ping timeout: 245 seconds]
SilkFox_ has quit [Ping timeout: 256 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has quit [Quit: joonty]
codecop has quit [Quit: Išeinu]
VilaDeste has joined #ruby
VilaDeste has quit [Client Quit]
pandaant has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
jottr_ has joined #ruby
phantomtiger has quit [Quit: phantomtiger]
osvico has quit [Ping timeout: 240 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tier has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
kl__ has joined #ruby
BlackGear has quit [Quit: ZZZzzz…]
dblessing has joined #ruby
rbennacer has quit [Remote host closed the connection]
kies has joined #ruby
sambao21 has joined #ruby
davidhq has joined #ruby
Alina-malina has quit [Quit: byebye]
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
rkalfane has joined #ruby
sankaber has joined #ruby
kiyote23 has joined #ruby
jottr_ has quit [Quit: WeeChat 1.0.1]
tkuchiki has joined #ruby
<pontiki> i've never used Suse at all
<kl__> Hi
<kl__> I'm looking for a good way to avoid excessive public version bumping of my gem
<kl__> gems*
devoldmx_ has joined #ruby
rbennacer has joined #ruby
<kl__> Almost like I want to "privately" to my organization bump the versions of my various gems, and only when I'm convinced that they're stable and play together nicely, publically version bump them all
Alina-malina has joined #ruby
<sevenseacat> privately, just use the master branch of the gem's code?
<sevenseacat> then only push a new release when you're ready?
adriancb has joined #ruby
osvico has joined #ruby
<kl__> sevenseacat: even pushing to the master branch you're going to be bumping versions still, even if not pushing
<sevenseacat> huh?
ponga has quit [Read error: Connection reset by peer]
<certainty> so sevenseacat is bumping the versions of our gems. i always wondered :)
kiyote23 has quit [Remote host closed the connection]
ponga has joined #ruby
byprdct has joined #ruby
devoldmx_ has quit [Ping timeout: 245 seconds]
rbennacer has quit [Ping timeout: 256 seconds]
kiyote23 has joined #ruby
renier has quit [Quit: Textual IRC Client: www.textualapp.com]
ferr has joined #ruby
renier has joined #ruby
davidhq has quit [Ping timeout: 245 seconds]
qulo has joined #ruby
<apeiros> kl__: no idea what you do, but I certainly don't bump any version of my gems when pushing to master.
<apeiros> kl__: so maybe you should revisit your toolchain…
Tricon has joined #ruby
DaniG2k has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
Guest97 has joined #ruby
x77686d has joined #ruby
allcentury has joined #ruby
Zai00 has quit [Quit: Zai00]
davidhq has joined #ruby
razieliyo has quit [Read error: Connection reset by peer]
Tricon has quit [Ping timeout: 256 seconds]
wald0 has joined #ruby
rebcabin has joined #ruby
davidhq has quit [Read error: Connection reset by peer]
froginvasion has quit [Quit: Leaving]
B1n4r10 has joined #ruby
B1n4r10 has quit [Client Quit]
Guest97 has quit [Quit: Textual IRC Client: www.textualapp.com]
x77686d has quit [Quit: x77686d]
agrinb has joined #ruby
<leafybasil> kl__: are you trying to avoid bumping version on rubygems?
<avril14th> why can't I use ? or * in a look-behind pattern in a regex?
jakolehm has quit [Remote host closed the connection]
Guest97 has joined #ruby
Guest97 has quit [Client Quit]
Guest97 has joined #ruby
Pharaoh2 has joined #ruby
zcreative has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
Takle has quit [Remote host closed the connection]
Tomasso has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
xenomorph is now known as {xenomorph}
prometh has joined #ruby
{xenomorph} is now known as xenomorph
<bradland> kl__: pushing to master doesn't require bumping the version number. i'm guessing here, but are you mixing the requirement to bump the gem version and getting gem updates by using `gem update`?
phantomtiger has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
<prometh> if i do `bundle exec rake sunspot:solr:start`, what would that look like with a `ps aux` ?
<prometh> also, how do i stop that daemon?
slawrence00 has joined #ruby
<sevenseacat> rake sunspot:solr:stop
<prometh> thanks :)
<sevenseacat> it'll be some horribly long java process
<sevenseacat> in ps
doodlehaus has joined #ruby
livathin_ has quit [Remote host closed the connection]
<prometh> i have another one that i don't know how to stop as well.. `bundle exec rake resque:run`
<prometh> `:run` is a daemon while `:work` was not a daemon
<prometh> not as seemingly simple as start/stop
vasilakisfil has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
joonty has joined #ruby
<sevenseacat> yeah ive only ever used resque:work
bentkus has joined #ruby
<bentkus> >> "shevy " * 1000
<eval-in> bentkus => "shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy sh ... (https://eval.in/240835)
<prometh> cool
<vasilakisfil> hey guyzz/girlzz could you help me a bit? I just created a new gem but when I run pry --gem, the gem's files are not included! Only the version file (which I include anyway in gemspec)
<vasilakisfil> in order to make it work I have to add this line here: https://github.com/vasilakisfil/rubycas-server-memory/blob/master/rubycas-server-memory.gemspec#L5 but it doesn't feel right :/
kiyote23 has quit [Remote host closed the connection]
blackoperat has joined #ruby
ramblex has quit [Quit: Leaving]
<bentkus> gzzzzzz
silkfox has joined #ruby
<Tomasso> using rest-client api I cant connect to an https server,. is there any working example ?
<prometh> sevenseacat: id unno, it works though
<prometh> sevenseacat: wait, actaully, it doesn't work, i'd forgotten
<Tomasso> client.get 'https://url' seems not to work, but the same url from the browser does
josephndenton has joined #ruby
grn has joined #ruby
Guest97 has quit [Quit: Textual IRC Client: www.textualapp.com]
<prometh> sevenseacat: apparently there is a BACKGROUND env var
B1n4r10 has joined #ruby
<grn> How can I change a method's return value for the purpose of testing? I've been using rr for this but since it's deprecated I'd like not to depend on it and any other gems (I'm using minitest).
<brocktimus> grn: stub?
hamakn has joined #ruby
whoisjake has joined #ruby
<pontiki> vasilakisfil: it might be something to do with the namespacing going on? idk, be pry --gem works for me
<vasilakisfil> pontiki pry --gem in my code? I also use pry --gem but it only loads the version file
<vasilakisfil> probably I have something wrong there, I just can't find it an hour now
<prometh> how can i daemonize `rails server` ?
evanjs has joined #ruby
<grn> brocktimus: Fantastic! Thank you!
<pontiki> prometh: rails --help
postmodern has quit [Quit: Leaving]
<prometh> thanks
bronson has joined #ruby
<bradland> Tomasso: "doesn't work" is very vague. do you get a specific error message? empty response?
<prometh> how do i stop a daemonized server?
SilkFox_ has joined #ruby
devdazed has joined #ruby
<bradland> prometh: if you're having a BOFH day, identify the parent process and `kill -9` it
<prometh> bradland: that's the only way?
<bradland> otherwise, it depends on the daemonization (is that a word) method
jerius has joined #ruby
mrmargolis has joined #ruby
<bradland> no, most daemon managers provide a tool to start/stop the server
<prometh> `rails server --daemon`
<prometh> ok, i'll just run it normally then
<bradland> i don't know, but i'll find you an answer
<bradland> question is, why are you running it as a daemon?
<prometh> cuz i don't need the log.. i'm not a ruby dev but am working on a ruby app
<bradland> so, it looks like the toolchain around —daemon isn't symmetrical
<prometh> how do i stop resque when started with BACKGROUND=yes ?
<jhass> send it a sigterm
<prometh> `bundle exec rake resque:work BACKGROUND=yes`
<bradland> you can start a daemon, but killing it is a matter of using standard unix kill procedures.
<bradland> namely `kill $(cat tmp/pids/server.pid)`
<pontiki> vasilakisfil: your namespacing doesn't correspond to your gemname, really; in memory.rb, it doesn't descend the same way
<prometh> jhass: thanks i'll look that up
<bradland> that's for `rails server —daemon`
<prometh> bradland: could a sigterm be used?
<pontiki> vasilakisfil: i don't know if that's the issue it has, but i can't see anything else
<bradland> for rails server? yes. that is the default that is expected.
<prometh> jhass: `rails server` is not a daemon... `--daemon` daemonizes it
<bradland> let me rephrase that. kill sends SIGTERM by default.
<bradland> when daemonized, rails server expects SIGTERM and will gracefully stop when that signal is received
SilkFox_ has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 265 seconds]
<prometh> is there a way to assign a custom PID ?
<prometh> like PID=asdf
<prometh> kill asdf
<bradland> you should not escalate the kill command to more forceful signals unless kill is unsuccessful
<jhass> prometh: point is that you should use a supervisor and not self daemonization
phutchins has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> ^ yeah that
<bradland> look in to foreman
<prometh> jhass: i just need a simple start/stop script
<prometh> foreman seems overkill for my needs.. i'm just working locally
<bradland> what you've described already is not "simple"
<prometh> my situation is simple
<prometh> i'm not running a production server
<bradland> no, it's not
rebcabin has quit [Quit: Leaving.]
<jhass> systemd, daemontools and god are other popular choices
<prometh> i don't even care about the backend of the app
<bradland> you need to stop/start multiple servers
Pharaoh2 has joined #ruby
<prometh> bradland: i have a shell script
<pontiki> foreman is hardly huge
<pontiki> it's really quite simple
<prometh> i dislike command line apps that are not native
<pontiki> lol
<pontiki> so you're using rails
<bradland> wut?
<bradland> what is native?
<prometh> i'm not a ruby dev.. i'm a node dev
<vasilakisfil> pontiki what pry --gem does exactly? How can I achieve the same from irb ?
<pontiki> and solr
<prometh> the only command i prefer to have that's not native to bash is node
<bradland> and node is native?
defrang_ has joined #ruby
metadave has joined #ruby
<pontiki> and and and
<bradland> well, then expect an uphill climb
<pontiki> lol
<prometh> but because of this ruby amm that i'm involved in, i have many new commands
<prometh> i'd prefer not to add foreman
<pontiki> vasilakisfil: irb -I.lib -rgemname
<prometh> bradland: it's already working
defrang has quit [Ping timeout: 252 seconds]
defrang_ is now known as defrang
<pontiki> then you have no problems!!
rebcabin has joined #ruby
<pontiki> yay!!
<Tomasso> bradland: im using mechanize now instead of rest client and I get "Connection reset by peer - SSL_connect (Errno::ECONNRESET)"
<bradland> sweet
<jhass> whenever saying foreman, one should keep in mind that there's http://theforeman.org/ and https://github.com/ddollar/foreman
<prometh> pontiki: almost
<bradland> jhass: cool, never seen theforeman
<bradland> prometh: it sounds like your script starts a handful of daemons, but doesn't stop them
metadave has quit [Client Quit]
<prometh> bradland: i have a stop script too
<prometh> all but one gets stopped
<bradland> then, standard init script rules apply. you need to keep track of the PIDs so you can kill them.
<prometh> i dont' know how to do that atm
<bradland> i've done the same before for small projects (shell based init scripts)
<pontiki> it's not a ruby thing
<pontiki> it's a standard linux/unix thing
<prometh> i know
rbennacer has joined #ruby
<bradland> which service are you unable to stop?
<prometh> `bundle exec rake resque:work BACKGROUND=yes`
rbennacer has quit [Remote host closed the connection]
<bradland> prometh: lemme see what i can find
<prometh> thanks!
<grn> prometh: kill $(cat tmp/pids/server.pid)
rbennacer has joined #ruby
noop has quit [Ping timeout: 240 seconds]
<prometh> grn: yeah, i don't understand that yet :)
<grn> prometh: that's the command you can use to stop the server
<bradland> you should take the time to understand that before proceeding
<prometh> grn: but i dont' know the pid (?)
krz has joined #ruby
<grn> prometh: I didn't want you to kill a cat ;-)
<pontiki> it's in the file tmp/pids/server.pid
<bradland> prometh: that is literally a file containing the pid
<pontiki> man kill
<pontiki> man cat
Macaveli has quit [Ping timeout: 264 seconds]
<prometh> bradland: yeah.. but i need to get rolling and i don't wanna waste the client's time
<bradland> when a processed is daemonized, it is common for that process to write its PID to a file
<bl4ckdu5t> looping through with a .map, how can I get the index of each loop item in number?
<bradland> too late for that!
<bradland> lol
pdoherty has joined #ruby
AFKGeek has quit [Quit: Fades into the shadows]
nicolastarzia has joined #ruby
<prometh> but how do i know what file and which id in the file?
<grn> bl4ckdu5t: .each_with_index.map { |item, index| ... }
<bradland> prometh: start resque using this `PIDFILE=./tmp/pid/resque.pid BACKGROUND=yes rake resque:work`
Aswebb_ has quit [Remote host closed the connection]
rebcabin has quit [Quit: Leaving.]
<bl4ckdu5t> ok thanks grn
<prometh> oh i see
<bradland> then you can kill it with the same method you use to kill the daemonized rails sever
<prometh> awesome
<prometh> i get it now
<grn> bl4ckdu5t: you're welcome
<prometh> thanks guys
<bradland> you bet
<jhass> bl4ckdu5t: grn I prefer .map.with_index myself
<brocktimus> #each.with_index.with_object ;-)
<bl4ckdu5t> I think I like it that way jhass
<jhass> brocktimus: that doesn't map though :P
<bl4ckdu5t> I mean the map.with_index
<bradland> i feel for the next dev to work on that project ಠ_ಠ
<brocktimus> jhass: It does if you pass in an Array as the object :-D (terrible idea, but I find ability to do it amusing)
arup_r has joined #ruby
nicolastarzia has quit [Ping timeout: 244 seconds]
Channel6 has joined #ruby
leizzer has joined #ruby
<grn> jhass: .map.with_index looks much better
jmcharnes has joined #ruby
Takle has joined #ruby
Aswebb_ has joined #ruby
prometh has left #ruby ["Linkinus - http://linkinus.com"]
DeanH has joined #ruby
DadoCe has joined #ruby
<vasilakisfil> pointiki check this branch: https://github.com/vasilakisfil/rubycas-server-memory/blob/bug/correct_gemspec/rubycas-server-memory.gemspec I have fixed this issue that you told me but still the problem persists
<vasilakisfil> I have no idea why memory.rb is not included from gemspec
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
enebo has joined #ruby
<Pharaoh2> How do I do a slce_after on a string?
<Pharaoh2> slice_after*
<Takumo> what's the best way to package some rake tasks as a gem?
rodfersou has quit [Ping timeout: 245 seconds]
<pontiki> vasilakisfil: you're not running pry inside bundle exec
rbennacer has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
DadoCe has quit [Ping timeout: 265 seconds]
<vasilakisfil> pontiki, I added pry to gesmpec and run it using bundle exec pry --gem but still the issue persists.. strange!
<pontiki> did you run bundle install after you changed gemspec?
<vasilakisfil> yeap
<vasilakisfil> I can access that: RubyCAS::Server::Memory::VERSION but not that: RubyCAS::Server::Memory::Database
<vasilakisfil> basically anything that is defined inside memory.rb
DeanH has quit [Quit: Textual IRC Client: www.textualapp.com]
<vasilakisfil> or required
<pontiki> all i can say is "works for me"
DeanH has joined #ruby
DeanH has quit [Client Quit]
<vasilakisfil> cool
duggiefresh has joined #ruby
DeanH has joined #ruby
<jhass> Takumo: which ways do you know?
<gregf_> Pharaoh2: str = "foo bar";p str[3..str.size]?
metadave has joined #ruby
agrinb has joined #ruby
<Pharaoh2> anyone, how do I convert, "Line1\nLine2\nLine3\nLine4" to ["Line1\n", "Line2\n", "Line3\n", "Line4"]
<Pharaoh2> gregf, that is not quite what slice_after does in Enumerable
ndrei has joined #ruby
<Pharaoh2> gregf_*
bentkus has quit [Quit: Lost terminal]
linoespinoza has joined #ruby
<gregf_> Pharaoh2: str.scan(/\w+\n/)?
<Takumo> jhass: I was going to have lib/mygem.rb do a Dir['lib/tasks/*.rb].each { |t| require t } ...
blackmesa has joined #ruby
<Pharaoh2> .lines, doesn't quite do the same thing as it eats up multiple \n's
ferr has quit [Ping timeout: 244 seconds]
amundj has quit [Ping timeout: 264 seconds]
<gregf_> Pharaoh2: str.scan(/\w+\n?/)? ;)
hornairs has joined #ruby
ferr has joined #ruby
prometh has joined #ruby
<jhass> Takumo: I prefer to explicitly list requires
rodfersou has joined #ruby
dionysus69 has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0/20141127111021]]
<prometh> `rails server --daemon --pid=../.pids/rails.pid` doesn't create a pid file... and the server doesn't even appear to be running (?)
<DaniG2k> Pharaoh2: "Line1\nLine2\nLine3\nLine4".split.collect {|e| e + "\n"}
<Takumo> jhass: life is too shrot for that ;)
Flcn has joined #ruby
<Pharaoh2> "Line1\nLine2\n\nLine4".scan(/\w+\n?/) => ["Line1\n", "Line2\n", "Line4"] instead of ["Line1\n", "Line2\n", "\n", "Line4"]
Kricir has joined #ruby
codeFiend has quit [Quit: codeFiend]
<Pharaoh2> DaniG2k, I would like to not iterate over the string twice
<DaniG2k> ah gotcha
agrinb has quit [Ping timeout: 265 seconds]
nemesit|znc has quit [Quit: quit]
arya_ching has joined #ruby
thsig_ has quit [Ping timeout: 256 seconds]
<pontiki> str.scan(/.*\n?/)[0...-1]
iamjarvo has joined #ruby
nemesit|znc has joined #ruby
<prometh> `rails server --daemon` doesn't appear to work
<prometh> when i do `rails server` after, it works
tobago has quit [Remote host closed the connection]
linoespinoza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<prometh> must i do `--daemon=yes` or something?
<Pharaoh2> pontiki: that works :). However could it be done without the cost of regex...? I am going to run it on 100s of MB of strings
<pontiki> i doubt it
<jhass> prometh: so you're in dev env. What's your issue? Don't want to keep multiple terminals open?
<pontiki> do the lines vary in length?
tagrudev has quit [Remote host closed the connection]
Flcn has quit [Ping timeout: 265 seconds]
<Pharaoh2> yep, they can be from a few bytes all the way to a few 100 MBs
<prometh> jhass: yes, and i don't need th elog.... but my issue is that --daemon doesn't even start the server
<jhass> prometh: I'd just write a quick Procfile and use the foreman gem, but how about tmux?
<pontiki> i mean, what would the altrenative be, other than scanning through each line character by character
klmlfl has joined #ruby
jobewan has joined #ruby
<pontiki> you could also slurp up the files line by line; i don't think IO.read_lines does a chomp
<Pharaoh2> of course I have to run a scan at least once, but regex have an additional cost, although I guess such a simple regex won't really have an overhead
blackmesa has quit [Ping timeout: 245 seconds]
norc has quit [Ping timeout: 246 seconds]
sevenseacat has quit [Remote host closed the connection]
koderok has joined #ruby
<pontiki> how often is this going to be run?
blackmesa has joined #ruby
<Pharaoh2> very very very often
<pontiki> like once a second?
sheepman has joined #ruby
<Pharaoh2> probably will be the most used line of code, although I can't really confirm on how many times a second
Parker0 has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has joined #ruby
<pontiki> i mean the whole task
mary5030 has quit [Remote host closed the connection]
<pontiki> not just the one line
<sheepman> is 'god' still a good option for persistent scripts or should i look elsewhere?
<jhass> systemd! :P
<jhass> scnr
mary5030 has joined #ruby
<Pharaoh2> yea the task, although its in its own seprate worker process so I can sacrifice a few percentage points, but I was trying not to
<sheepman> jhass: scnr?
<pontiki> so the entire task is running multiple times a second??
<Pharaoh2> there is nothing wrong with god sheepman, you can still use it
<sheepman> Pharaoh2: ok thanks
<pontiki> over 100's of MB of strings over and over and over??
<pontiki> you may want to rethink this
<Pharaoh2> well, its not the same string
<Pharaoh2> I have to compare output generated by code under test with expected output
<sheepman> jhass: ah an attempt of systemd feud wit i see :P
* sheepman giggles and strokes his neck beard
apurcell has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> sheepman: i still use god.
<Pharaoh2> also have to figure out which line was wrong, but I can stop as soon as I find the first mismatched line
<pontiki> why do you need to split it like that, then?
<pontiki> why not use diff?
JDiPierro has joined #ruby
<sheepman> bradland: ok ta, was kinda hoping that was the answer as its nice and simple :)
<pontiki> nice, really fast, written in C
<bradland> sheepman: you have to decide whether you want to manage your daemon with your OS's tools, or as part of your application install (gems).
sigurding has quit [Quit: sigurding]
fryguy9 has joined #ruby
<sheepman> bradland: sure
<bradland> that's more of a philosophical question though. if you're going to use gems, god is viable.
<sheepman> thanks
nemesit|znc has quit [Ping timeout: 265 seconds]
<pontiki> lots of output options as well
<sheepman> i have gems so meh
<Pharaoh2> pontiki: the know dataset streams in from S3, doesn't really make it any faster writting it to disk and running diff
livathinos has joined #ruby
<Pharaoh2> known*
anarang has quit [Quit: Leaving]
ndrei has quit [Ping timeout: 264 seconds]
<bradland> Tomasso: I did some digging and it looks like that ECONNRESET error indicates the server is the one terminating the connection.
<pontiki> then you don't actually have a speed of processing problem; your network latency is already going to be larger
JohnBat26 has joined #ruby
<bradland> Tomasso: it's possible that the SSL handshake is failing, which is causing the server to send the connection reset.
diegoviola has joined #ruby
<Pharaoh2> Its intra aws, they have 10G lines... but yes, I guess the bottelneck will still be the network.... I will be using your method, thanks for that
<vasilakisfil> pontiki I create a new gem with only 1 commit and it doesn't work either.. https://github.com/vasilakisfil/test_gem_repo I think it has to do with the path something because a third gem that I created which didn't have dashes in the name was working
apurcell has quit [Ping timeout: 244 seconds]
<bradland> Tomasso: the SSL options available in a browser are going to differ from what's in rest-client. then you have to factor in what is available from the server. this is especially true these days because of recent vulnerabilities in OpenSSL (a common dep for server SSL implementations).
<wm3|away> Pharaoh2: don't forget to consider latency as well as bandwidth when considering bottlenecks
razieliyo has joined #ruby
razieliyo has joined #ruby
wm3|away is now known as workmad3
Timgauthier has joined #ruby
sigurding has joined #ruby
<Pharaoh2> aws latencies are < 0.1 ms
<Pharaoh2> and I will be streaming huge amounts of data, latency shouldn't really be a problem
<vasilakisfil> any ideas? ^_^
Timgauthier is now known as timgauthier_away
<bradland> Tomasso: try using this rest-client setting: http.ssl_version = :SSLv3
<Pharaoh2> but pontiki is right, I am just being anal about this
<workmad3> Pharaoh2: ah, are you assuming intra-datacenter then?
<Pharaoh2> yes
omosoj has joined #ruby
<workmad3> Pharaoh2: yeah... and latency can still be important if you're working on TCP, as it effects the acks ;)
slester has joined #ruby
livathinos has quit [Remote host closed the connection]
<workmad3> even when streaming
sinkensabe has quit [Remote host closed the connection]
<Pharaoh2> true, but I am surprised that the split method doesn't have a flag to preserver the delimiter
ta_ has joined #ruby
ferr has quit [Remote host closed the connection]
<bradland> prometh: use `rails server -d` instead
<shevy> Pharaoh2 because it splits away at that character! :-)
Photism has joined #ruby
<prometh> bradland: the shorthand works but the full doesn't?
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<ddv> bradland: please don't use sslv3
<bradland> ddv: good point. Tomasso, if that works, you should examine your SSL stack very carefully, because SSLv3 should not be used in production.
<shevy> is bradland doing something bad
<bradland> always
<shevy> is it time for public spanking of bradland
<shevy> ok
<shevy> HERE WE GO
Ankhers has joined #ruby
<bradland> giving advice without appropriate warnings
* shevy starts to spank bradland with a trout
timgauthier_away has quit [Max SendQ exceeded]
<bradland> it smells like farts in here
agrinb has joined #ruby
<shevy> well fish tend to become stinky quite soon when they are not in water
<DefV> Argh
<bradland> prometh: i dunno. i just checked the guide and repeated what it said. i never daemonize `rails server`
<DefV> someone explain this to me
<DefV>
<DefV> expected: "\u0000\u0000\u0000\u0006\xA5\xA5Z\\\u0000\u0000\u0000\u0001\u0000\u0000"
<DefV> got: "\x00\x00\x00\x06\xA5\xA5Z\\\x00\x00\x00\x01\x00\x00"
<DefV> it's the same goddamn thing!
<shevy> well apparently ruby turns it into \x00
<bradland> DefV: gist code, input, and error?
<DefV> hm wait
DaniG2k has quit [Quit: leaving]
<DefV> it ain't
<shevy> >> puts "\u0000"
<eval-in> shevy =>
grn has quit []
ta has quit [Ping timeout: 244 seconds]
<shevy> you silly bot
<DefV> nope, it is
Timgauthier has joined #ruby
<shevy> # => "\x00"
blackmesa has quit [Ping timeout: 264 seconds]
<shevy> should have use p :)
<DefV> but "\x00" == "\u0000"
ferr has joined #ruby
<shevy> "\u0000" becomes "\x00", I dont think you can even continue to use the \u variant
CustosL1men has quit [Ping timeout: 245 seconds]
sshao has joined #ruby
tkuchiki has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
tkuchiki has joined #ruby
stunder has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
<bradland> >> "\u0000\u0000\u0000\u0006\xA5\xA5Z\\\u0000\u0000\u0000\u0001\u0000\u0000" == "\x00\x00\x00\x06\xA5\xA5Z\\\x00\x00\x00\x01\x00\x00"
<eval-in> bradland => true (https://eval.in/240855)
<bradland> hrm
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> >> "\u0000\u0000\u0000\u0006\xA5\xA5Z\\\u0000\u0000\u0000\u0001\u0000\u0000" === "\x00\x00\x00\x06\xA5\xA5Z\\\x00\x00\x00\x01\x00\x00"
<eval-in> bradland => true (https://eval.in/240856)
<bradland> ha!
ahem has joined #ruby
<shevy> wat
Zai00 has joined #ruby
shellfu_afk has joined #ruby
shellfu_afk is now known as shellfu
<workmad3> Pharaoh2: you can split on a lookahead or a lookbehind ;)
arya_ching has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Timgauthier has joined #ruby
sigurding has quit [Quit: sigurding]
tus has joined #ruby
tkuchiki has joined #ruby
lmickh has joined #ruby
amundj has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SilkFox_ has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
hashpuppy has joined #ruby
devoldmx_ has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
tkuchiki has quit [Remote host closed the connection]
<bradland> shevy: i think i know why? maybe someone smarter can opine.
<bradland> >> "\u0000\u0000\u0000\u0006\xA5\xA5Z\\\u0000\u0000\u0000\u0001\u0000\u0000".unpack 'C'
<eval-in> bradland => [0] (https://eval.in/240857)
<bradland> derp
<bradland> "\u0000\u0000\u0000\u0006\xA5\xA5Z\\\u0000\u0000\u0000\u0001\u0000\u0000".unpack 'C*'
<apeiros> derp2
<bradland> ah geeze
<bradland> i love to make a mess.
tkuchiki has joined #ruby
<bradland> >> "\u0000\u0000\u0000\u0006\xA5\xA5Z\\\u0000\u0000\u0000\u0001\u0000\u0000".unpack 'C*'
<eval-in> bradland => [0, 0, 0, 6, 165, 165, 90, 92, 0, 0, 0, 1, 0, 0] (https://eval.in/240858)
<apeiros> great, I'm not the only derper ;-p
<bradland> "\x00\x00\x00\x06\xA5\xA5Z\\\x00\x00\x00\x01\x00\x00".unpack 'C*'
<bradland> i quit
<bradland> >> "\x00\x00\x00\x06\xA5\xA5Z\\\x00\x00\x00\x01\x00\x00".unpack 'C*'
<eval-in> bradland => [0, 0, 0, 6, 165, 165, 90, 92, 0, 0, 0, 1, 0, 0] (https://eval.in/240859)
Timgauthier has joined #ruby
<pontiki> who's going to clearn this up?
<bradland> it's not a mess. this is just my system of organization. don't judge me.
<IceDragon> unicode?
devoldmx_ has quit [Ping timeout: 245 seconds]
<mikecmpbll> is it possible to initialize a queue from an array?
Timgauthier has quit [Max SendQ exceeded]
<mikecmpbll> or do i have to do q = Queue.new; array.each{|a| q << a}
dkphenom has joined #ruby
Timgauthier has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
<bradland> IceDragon: I think it's because unicode does not use wide characters, so if the first byte is 00, it's not stored in the binary representation of the string.
<IceDragon> sad :(
mattwildig has joined #ruby
gtrak has joined #ruby
<bradland> it's great!
bal has quit [Quit: bal]
snath has quit [Ping timeout: 255 seconds]
<bradland> that's why UTF-8 and ASCII are compatible for any code point beginning in 00
<IceDragon> I set the Encoding default_internal and default_external to UTF-8 and just forget about it most times
Soda has joined #ruby
<bradland> if it used wide characters, UTF-8 files would be much larger.
zcreative has quit [Quit: (null)]
<workmad3> bradland: you mean like UTF-16 or UTF-32 :P
<bradland> exactly like UTF-16, UTF-16LE and friends
<bradland> fuckers
<bradland> that's Excel's default encoding, which makes things loads of fun
<workmad3> bradland: although it depends exactly on what the file contents are tbh
<shevy> lol
<shevy> <bradland> i quit
<shevy> <bradland> >> "\
<shevy> ^^^ you quit man!!!
emirozer has joined #ruby
<bradland> since Ruby started handling encodings properly, it's a lot less hassle
<bradland> i did, but it was only temporary ;)
<shevy> yes! now go and use encoding with the bot!
<workmad3> bradland: UTF-8 is the smallest when you're dealing primarily with codepoints < 127... if you have a majority of codepoints above that, you could easily find UTF-16 is better :)
bronson has joined #ruby
<bradland> i hate bit twiddling
Timgauthier has quit [Max SendQ exceeded]
dkphenom has quit [Ping timeout: 255 seconds]
<bradland> well, not hate, but i made it through the first couple of rounds of the cryptopals challenges and decided that i had enough time spent dealing with the raw bytes that make up this stuff
elfuego has joined #ruby
Zai00 has quit [Quit: Zai00]
<workmad3> bradland: the next bit of fun would be to create an 8-bit clean unicode encoding ;)
Timgauthier has joined #ruby
<bradland> chances of me succeeding at that: <0%
ahem has quit [Read error: No route to host]
<bradland> lol
<bradland> anyone else here do the cryptopals challenges in ruby?
<workmad3> no, not done the cryptopals challenges
<bradland> I read this line of the challenge specification and almost lost it: "Always operate on raw bytes, never on encoded strings. Only use hex and base64 for pretty-printing."
<bradland> hey ruby, don't encode these strings!
aganov has quit [Quit: Leaving]
<bradland> ruby: @_@
<elfuego> Hey i’m new to ruby. But i’m trying to run the following command. bundle exec pumactl -p 40430 stop, but I keep getting this error: bundler: command not found: pumactl
<elfuego> Install missing gem executables with `bundle install`
<workmad3> bradland: ruby -E BINARY:BINARY
<bradland> elfuego: are you familiar with bundler?
ahem has joined #ruby
crueber has joined #ruby
<bradland> workmad3: iiiiiiinterresting
emirozer has quit [Client Quit]
<elfuego> bradland: nope, I just started using it today
<bradland> elfuego: best to start here: http://bundler.io
Channel6 has quit [Quit: Leaving]
<bradland> bundler is a dependency manager that you'll encounter a lot
<workmad3> bradland: sets the default external and internal encoding to BINARY (a.k.a. ASCII-8BIT or 'raw bytes')
gtrak has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 244 seconds]
Timgauthier has quit [Max SendQ exceeded]
<bhaak> workmad3: google UTF-5, UTF-6, UTF-7
<bradland> could/should have used that
diegoviola has quit [Ping timeout: 255 seconds]
<workmad3> bradland: it's actually more difficult to only operate on raw bytes in python... they go and force all internal strings to UTF-8 over there :)
philwantsfish has joined #ruby
Timgauthier has joined #ruby
razieliyo has quit [Remote host closed the connection]
<workmad3> bhaak: aww, I wanted bradland to come up with one ;)
DonOtreply has joined #ruby
razieliyo has joined #ruby
razieliyo has quit [Changing host]
razieliyo has joined #ruby
iGabriel has quit []
<workmad3> bhaak: but now you mention them, I have this great idea for UTF-1
<bradland> UTF-5!? (╯°□°)╯︵ ┻━┻
razieliyo has quit [Remote host closed the connection]
<apeiros> I really wonder about the use cases for utf-5
<bradland> workmad3: i created this to work with in the challenges: https://gist.github.com/bradland/50fc4cb66c2fe2a0dac7
<IceDragon> UTF-7 :P
gtrak has joined #ruby
<bradland> spoiler alert, if you're doing cryptopals, don't click that
B1n4r10 has joined #ruby
<bradland> although it's not really a solution, just useful for the approach i used
<workmad3> bhaak: where each unicode codepoint is represented by a series of 1s of length == the codepoint's value
<apeiros> utf-7 makes sense with some antiquated software/equipment
<workmad3> and is separated by a null byte
devoldmx_ has joined #ruby
<bhaak> workmad3: but you need to name it differently. utf-1 is already something else
<workmad3> bhaak: drats :D
<bradland> i suspect Radiohead were involved in the creation of some of these
Ankhers` has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bhaak> apeiros: utf-5 was one of the proposed encodings for non-ascii domain names
jaequery has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
<jhass> yesterday I learned: MySQLs utf8 encoding isn't utf8
Timgauthier has joined #ruby
<elfuego> bradland: I saw the problem. I bundle install inside another terminal where I was running the puma service, apparently I have to bundle install inside each terminal before using a package, or atleast thats how it is on my machine now.
jaequery_ has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
<jhass> elfuego: are you using RVM or something like that? sounds like you have activated different environments there
ndrei has joined #ruby
Takle has quit [Remote host closed the connection]
<elfuego> yes jhass i’m using rvm
Pharaoh2 has joined #ruby
Xeago_ has joined #ruby
<jhass> compare rvm current on both terminals
larissa has quit [Ping timeout: 252 seconds]
<apeiros> jhass: wott?
devoldmx_ has quit [Ping timeout: 265 seconds]
<jhass> apeiros: can only handle 3 byte chars
<apeiros> ohlol
<jhass> if you want the full 4 bytes use utf8mb4
<jhass> and have your index keys explode since they can only be 767 bytes
<apeiros> pg?
<jhass> yeah
jaequery_ has quit [Client Quit]
<jhass> got to support both for diaspora unfortunately
kiyote23 has joined #ruby
<apeiros> index keys sounds fine. useless if your index data is large.
jaequery has quit [Ping timeout: 255 seconds]
rkalfane has joined #ruby
<apeiros> index' main duty is to segment well
<jhass> 767 bytes on utf8mb4 means 190 characters max
Timgauthier has quit [Max SendQ exceeded]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> unless you have text data, which would probably need a different index anyway, then more than a couple of bytes for the index sounds wrong. but maybe I just haven't seen the use cases yet.
Xeago has quit [Ping timeout: 244 seconds]
<apeiros> text as in stuff where you want to do fulltext search
Timgauthier has joined #ruby
<jhass> we have one for URLs for caching OpenGraph data for example
<vasilakisfil> pontiki I found the "issue".. I had to explicitly require 'rubycas/server/memory' from pry --gem. I thought pry would do that for me :/]
ponga has quit [Quit: Leaving...]
<apeiros> yeah, there's no point for the index to be too long. unless your urls still don't segment until the 190'th character
<apeiros> does mysql support function indexes?
<jhass> no idea
Aswebb_ has quit [Remote host closed the connection]
<jhass> didn't dig too much into all that myself
<jhass> and don't really want to for mysql
Hobogrammer has joined #ruby
<apeiros> heh, same
<apeiros> I haven't touched mysql ever since php
<jhass> :D
<apeiros> though, one thing they do better than any other db I've seen so far: you can have encodings per column.
Timgauthier has quit [Max SendQ exceeded]
<apeiros> you'd think that's not too difficult, but pg & oracle both don't support that
devoldmx_ has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> did you see a valid usecase for having heterogeneous encodings in a DB yet?
uri_ has joined #ruby
Flcn has joined #ruby
fabrice31 has quit [Remote host closed the connection]
<apeiros> yupp
Timgauthier has joined #ruby
<apeiros> but don't ask :-p
fabrice31 has joined #ruby
<jhass> but... :P
<pontiki> elder gods time
<apeiros> I'd handle that case with binary columns in pg
<apeiros> and coercing on the client side
Takle has joined #ruby
<apeiros> since we didn't have to search that data on the server
<apeiros> and if we'd have had to search it - function index might help
<apeiros> pontiki: elder gods? a game?
felipedvorak has quit [Ping timeout: 264 seconds]
<apeiros> champanger time here :D
<apeiros> champagner
<apeiros> speling
<jhass> mh, and you had to preserve the encoding? normalizing to UTF-8 is a non-option?
sambao21 has quit [Quit: Computer has gone to sleep.]
fabrice31 has quit [Read error: Connection reset by peer]
<apeiros> correct
Timgauthier has quit [Max SendQ exceeded]
<apeiros> either preserve or re-encode all the time
<workmad3> apeiros: was it that you needed to preserve the encoding, or you needed to preserve a sorting collation?
<apeiros> so not coercing to utf-8 was mostly a performance thing
sniperh4x0r has joined #ruby
<workmad3> hmm... interesting
<apeiros> that said… that's ~10y ago. maybe today performance wouldn't even matter and making handling easier would be the more important factor.
<workmad3> interfacing with a legacy system? :)
<jhass> I feel like I'd gone the re-encode all the time route, though I'm still kind of inexperienced tbh ;)
klmlfl has quit [Remote host closed the connection]
icebourg has joined #ruby
<apeiros> workmad3: *almost* precisely. make it "systems".
<workmad3> apeiros: :D
klmlfl has joined #ruby
Timgauthier has joined #ruby
<sniperh4x0r> where can i do actual rails work? is there a website that can make it easy for me to find work? I need external work.
<apeiros> but seriously, stop asking. it hurts me to remember that stuff :-S
<shevy> did you not use a lot of php apeiros
<apeiros> sniperh4x0r: I think there's a couple of rails related job boards. google should help.
Aswebb_ has joined #ruby
<apeiros> shevy: yes, I coded php for ~6y I think. not a time I want to remember either.
<shevy> :D
<apeiros> I started when php couldn't chain method calls.
<workmad3> apeiros: heh :) sounds like me recollecting my days doing Symbian development...
kiyote23 has quit [Remote host closed the connection]
mattwildig has left #ruby [#ruby]
Flcn has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
<apeiros> $foo->bar()->baz() # <-- syntax error
windowlicker has joined #ruby
sniperh4x0r has quit [Client Quit]
<workmad3> apeiros: stop dirtying the channel :P
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Ankhers` is now known as Ankhers
devoldmx_ has quit [Remote host closed the connection]
snath has joined #ruby
* apeiros poops php and vomits mysql
rbennacer has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
<apeiros> workmad3: symbian? you developed for phones on symbian?
gaboesquivel has joined #ruby
Cache_Money has joined #ruby
Timgauthier has joined #ruby
<workmad3> apeiros: yup
dumdedum has quit [Quit: foo]
mjuszczak has joined #ruby
<workmad3> apeiros: that was my first job out of uni, for 18 months (right up to the point symbian died)
<apeiros> workmad3: collation is independent of encoding. but I guess that's a nice and proper use-case of column specific encoding/collation data. e.g. having values in region specific columns, translated and with proper collation
<apeiros> (for the uninitiated: collations determine how text is sorted, e.g. whether ä, â or a comes first)
Tomasso has quit [Ping timeout: 246 seconds]
<apeiros> workmad3: I'd assume that was interesting?
<workmad3> you mean ä, â, A or a comes first, right? :)
diegoviola has joined #ruby
<apeiros> no, I meant what I wrote :)
<workmad3> apeiros: sure... if you happen to like crippled C++...
<apeiros> but granted, with ascii collation, it'd even confuse lower- & uppercase letters.
kiyote23 has joined #ruby
<apeiros> that said, collation alone is IMO insufficient for proper sorting. see natural sort.
<apeiros> (that's one dot on the todo of my orm/webframework - proper sorting, both client- & serverside)
<workmad3> tbh, I've never looked too heavily at what collations specify and how they're implemented
Timgauthier has quit [Max SendQ exceeded]
<workmad3> I enjoy the bits of sanity left after symbian...
<apeiros> they're basically a mapping to a sorting index
razieliyo has joined #ruby
razieliyo has joined #ruby
<apeiros> i.e. a -> 1, ä -> 2, A -> 50, …
jusmyth has joined #ruby
Cache_Money has quit [Client Quit]
jusmyth has quit [Client Quit]
Timgauthier has joined #ruby
<apeiros> how something using a collation is implemented - no idea. given that with 400k characters, and a couple of dozen collations, just keeping all collations in memory would probably be expensive.
<omosoj> i'm formatting some time: https://gist.github.com/josomo/678232477ed2b89aaabf. how would i do the first case? and is there a preference between the two?
<omosoj> i'd prefer the first case
<apeiros> I'd assume a good implementation performs a lazy loading. it might also be that most collations only care about a tiny fraction of all unicode chars. e.g. latin collations probably only care about ~60 chars.
DonOtreply has quit [Quit: DonOtreply]
<apeiros> omosoj: the first case would require you to define the method in the String class.
<apeiros> omosoj: also it'd require you to first turn the string into a Time or DateTime
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<omosoj> apeiros, i see (it's already a Time or DateTime object, i made a mistake there)
<omosoj> changing those classes is generally not advised, right?
livathinos has joined #ruby
<apeiros> omosoj: how do you mean?
<apeiros> changing as in "add methods"?
Timgauthier has quit [Max SendQ exceeded]
<omosoj> yes
livathinos has quit [Client Quit]
<apeiros> yes, it's generally a bad idea.
<omosoj> k, thanks
<apeiros> but google for "ruby refinements"
Timgauthier has joined #ruby
<apeiros> I'm not yet sure whether I'd recommend using them, but they're the tool to monkey patch core classes without harm
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<omosoj> ok. i'm a relative newb so i'll stick with the simple stuff and offer to change it on code review
DadoCe has joined #ruby
<pontiki> better to be explicit than tricky
treehug88 has joined #ruby
jefus_ has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
nickjj has joined #ruby
sambao21 has joined #ruby
Timgauthier has joined #ruby
DonOtreply has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
lolmaus has joined #ruby
chrishough has joined #ruby
DadoCe has quit [Ping timeout: 240 seconds]
iamninja has quit [Ping timeout: 250 seconds]
jefus has quit [Ping timeout: 264 seconds]
razieliyo has quit [Remote host closed the connection]
<omosoj> pontiki, meaning i should stay out of those classes and just create a new method?
Timgauthier has quit [Max SendQ exceeded]
SilkFox_ has joined #ruby
dangerousdave has joined #ruby
Timgauthier has joined #ruby
<vasilakisfil> if I have this definition in bundler gem 'rubycas-server-memory', :git => 'https://github.com/vasilakisfil/rubycas-server-memory.git', require: 'rubycas/server/memory' and run bundle exec {command here} shouldn't rubycas-server-memory be required using require 'rubycas/server/memory' ?
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> vasilakisfil: nope
zarubin has joined #ruby
<jhass> bundle exec just executes Bundler.setup, not Bundler.require
hamakn has quit [Remote host closed the connection]
ptrrr has joined #ruby
iamninja has joined #ruby
kiyote23 has quit [Remote host closed the connection]
roolo_ has quit [Remote host closed the connection]
mattmcclure has joined #ruby
roolo has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
kiyote23 has joined #ruby
<vasilakisfil> jhass I have a gem which needs rubycas-server-memory in :test group and rubycas-server-activerecord in :production group.. what should I do to automatically get this data from Gemfile ?
gtrak has quit [Ping timeout: 252 seconds]
avril14th has quit [Remote host closed the connection]
mattmcclure has quit [Client Quit]
AlSquirrel has joined #ruby
<jhass> a gem?
Timgauthier has quit [Max SendQ exceeded]
SilkFox_ has quit [Ping timeout: 255 seconds]
AlSquire has quit [Read error: Connection reset by peer]
Skelz0r_ has quit [Ping timeout: 265 seconds]
<jhass> Gemfiles won't be read by Rubygems
brb3 has joined #ruby
<jhass> so they won't be respected when your gem is installed
Pharaoh2 has joined #ruby
<vasilakisfil> ok.. if I move this data to gemspec's add_development_dependency and add_dependency respectively would that work ?
Skelz0r has joined #ruby
Timgauthier has joined #ruby
iGabriel has joined #ruby
<jhass> neither of those will automatically require anything
<vasilakisfil> ah ok
<vasilakisfil> so I will explicitly require the test sub-gem (rubyucas-server-memory) in tests only
baroquebobcat has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zarubin has quit [Remote host closed the connection]
<jhass> if that doesn't conflict with the -activerecord, that's the right plan, yes
Pharaoh2 has quit [Client Quit]
Faiqus has joined #ruby
kiyote23 has quit [Ping timeout: 256 seconds]
<vasilakisfil> yes the idea is that in tests you need the memory bogus gem but when you use the super gem you can include any other subgem you like to store your data.. redis,activerecord,mongodb etch
Timgauthier has quit [Max SendQ exceeded]
Timgauthier has joined #ruby
hiyosi has joined #ruby
sinkensabe has joined #ruby
roolo has quit [Quit: AAAAaaaaAAAAAAA]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rkalfane has joined #ruby
<iGabriel> Are there guides for how to use Ruby with PuTTy for absolute beginners?
iamjarvo has joined #ruby
<jhass> open putty, enter ruby ?
dpy has quit [Ping timeout: 252 seconds]
apeiros__ has joined #ruby
<iGabriel> haha
<iGabriel> i know nothing, so everything helps. thanks
<jhass> then why do you want to use ruby over putty?
mjuszczak has quit []
<jhass> wasn't that a SSH and telnet client?
<iGabriel> yes
bweston92 has quit [Remote host closed the connection]
<iGabriel> isnt that how i am supposed to communicate on my web host?
shredding has quit [Quit: shredding]
_maes_ has joined #ruby
<tekk> hey guys, is there a rails chan? or is here fine/
Timgauthier has quit [Max SendQ exceeded]
<canton7> #rubyonrails
apeiros has quit [Ping timeout: 255 seconds]
josephnd1nton has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
Timgauthier has joined #ruby
mikecmpbll has quit [Quit: ciao.]
greenbagels has joined #ruby
<wasamasa> iGabriel: nope
<wasamasa> iGabriel: you're not supposed to do it that way
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<iGabriel> could you suggest where to look so i can learn the proper way? hahaha
pdoherty has quit [Remote host closed the connection]
defrang has quit [Quit: defrang]
<wasamasa> you set up a proper development environment resembling the environment where you deploy your code to, work on it, deploy code
pdoherty has joined #ruby
<wasamasa> that's it in a nutshell
<iGabriel> i just want to setup self-starter
Crazy_Atheist has joined #ruby
Faiqus_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Timgauthier has quit [Max SendQ exceeded]
terlar has quit [Ping timeout: 245 seconds]
josephnd1nton has quit [Ping timeout: 240 seconds]
Timgauthier has joined #ruby
hmsimha has joined #ruby
sambao21 has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
Faiqus has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
Takle has quit [Remote host closed the connection]
Timgauthier has joined #ruby
charliesome has joined #ruby
Takle has joined #ruby
Grumelo has joined #ruby
sargas has joined #ruby
joonty has quit [Quit: joonty]
sargas has quit [Changing host]
sargas has joined #ruby
gtrak has joined #ruby
<omosoj> i want to iterate through and array of strings, and if i find a particular value, to change it. arr.each {|x| if x == "blah", x = "blah"; end} doesn't work
russt has quit [Ping timeout: 264 seconds]
Hijiri has quit [Ping timeout: 244 seconds]
zarubin has joined #ruby
deric_skibotn has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
jamgood96 has joined #ruby
kenneth has joined #ruby
antgel has joined #ruby
Timgauthier has joined #ruby
brocktimus has quit [Ping timeout: 272 seconds]
<omosoj> okay - the map method does that
<havenwood> omosoj: how would you know it didn't work, since x is still "blah"? :P
<jamgood96> I'm having a heck of a time using an Upstart script for Unicorn AND being able to properly handle a USR2 signal. Does anyone have experience?
<havenwood> omosoj: but yeah, there's #map! too
<eam> how do I incorporate gnu autoconf into my ruby extension?
Faiqus has joined #ruby
<eam> all I see in gems are bad ad-hoc oneoffs for platform detection
<omosoj> havenwood, lol you're right, but the words were different in what i'm writing
GaryOak_ has joined #ruby
<jhass> omosoj: or maybe arr[arr.index('blah')] = 'blub' ?
jmcharnes has quit [Quit: Textual IRC Client: www.textualapp.com]
zarubin has quit [Remote host closed the connection]
<omosoj> but with map i'm finding that if i don't have an else condition assigning x to itself, the value turns to nil
chipotle has quit [Ping timeout: 252 seconds]
sinkensabe has quit [Remote host closed the connection]
Faiqus_ has quit [Ping timeout: 245 seconds]
<omosoj> jhass, hmmm, i think that actually works better for me here, thanks
<jhass> the map should look like arr.map! {|item| item == 'blah' ? 'blub' : item }
<jhass> omosoj: only does a single item though
Timgauthier has quit [Client Quit]
<omosoj> ok
bricker has joined #ruby
pdoherty has joined #ruby
tchaudhry has joined #ruby
Grumelo has quit [Ping timeout: 245 seconds]
pietr0 has joined #ruby
mleung has joined #ruby
russt has joined #ruby
tchaudhry is now known as tariqc
Jackneill has joined #ruby
sinkensabe has joined #ruby
conniemj has joined #ruby
<gregf_> omosoj: before you learn a map you can learn how to write a for :). like so, for str in %w{foo bar baz} do; print str == "bar" ? "blah" : str;end
<tariqc> I think sDotZ is the coolest Ruby developer ever!!!!!!!!!!!!!!!
apurcell has joined #ruby
pushpak has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
<jhass> gregf_: I don't think I agree
apeiros__ has quit [Read error: Connection reset by peer]
<jhass> for is not really idiomatic anymore
Flcn has joined #ruby
<jhass> and basically a syntax rewrite to each anyway
<omosoj> yeah i heard you shouldn't use for, dunno
sinkensabe has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
apurcell has quit [Ping timeout: 252 seconds]
michaeldeol has joined #ruby
ldnunes has quit [Ping timeout: 264 seconds]
Flcn has quit [Ping timeout: 244 seconds]
ldnunes has joined #ruby
devoldmx_ has joined #ruby
Takle has joined #ruby
Porpado has joined #ruby
<gregf_> omosoj: theres far too many ways to a specific task . so in essence a map is still a loop. what jhass was saying was the above 'for' is equivalent to "%w{foo bar baz}.each { |str| print str == "bar" ? "blah" : str; }
JDiPierro has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 245 seconds]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
Asher has quit [Client Quit]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
Asher has joined #ruby
msgodf has quit [Ping timeout: 245 seconds]
qba73 has quit []
dangerousdave has joined #ruby
asmodlol has joined #ruby
<eam> no thoughts on leveraging gnu autoconf in ruby extensions?
pengin has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
devoldmx_ has quit [Ping timeout: 256 seconds]
Aswebb_ has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
ilvtxt has quit [Read error: Connection reset by peer]
jzigmund_ has joined #ruby
lsmola_ has joined #ruby
Rollabunna has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
ziyadb has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<GaryOak_> I've been coding in python and I really like how it's method calls from external packages are self documenting, is there a way to do this in Ruby?
<omosoj> gregf_, i see
qulo has quit [Remote host closed the connection]
<arrubin> GaryOak_: What do you mean?
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ccooke> GaryOak_: Could you give us an example of the python behaviour you mean?
Aswebb_ has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
<GaryOak_> arrubin: like in python you do an import string, you have to write string.upper, so you know where it's from
Aswebb_ has joined #ruby
jzigmund has quit [Read error: Connection reset by peer]
<gregf_> 1) arr = %w{foo bar baz}; arr.map! { |str| str.gsub("bar","quux") }; 2) arr = %w{foo bar baz};p arr.inject(""){ |str,v| str+= (str.empty? ? "" : "-")+v }.gsub("bar","quux").split("-") <== you could go on and on(but ofcourse theres the best way)
bronson has quit [Ping timeout: 264 seconds]
oleo is now known as Guest76643
oleo__ has joined #ruby
rkalfane has joined #ruby
lsmola has quit [Ping timeout: 245 seconds]
codeFiend has joined #ruby
<arrubin> GaryOak_: As long as you are using classes and modules in required files, which you should, I cannot see how this would be an issue.
<ccooke> GaryOak_: That's not a universal in Python. If you say "from lib import *" you get all the methods in the default namespace, without accessing them that way
<ccooke> GaryOak_: You *could* avoid it in Ruby too, but just as in python the usual way is to namespace functionality in modules and classes
<GaryOak_> ccooke: yeah, I think it's just python standard convention not to do that so that you can document where method calls are coming from
<GaryOak_> ccooke: ok gotcha
<ccooke> GaryOak_: The usual syntax would be Module.method (or sometimes Deeper::Module.method)
jzigmund_ has quit [Ping timeout: 252 seconds]
russt has quit [Ping timeout: 245 seconds]
Eiam has joined #ruby
s00pcan has quit [Quit: leaving]
s00pcan has joined #ruby
lsmola_ has quit [Ping timeout: 252 seconds]
it0a has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
jaequery has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest76643 has quit [Ping timeout: 264 seconds]
jzigmund has joined #ruby
<jhass> GaryOak_: check docs on module_function
rkalfane has quit [Client Quit]
<omosoj> hm, i'm doing a map block but oddly not all the conditionals are working
<GaryOak_> ccooke: I've just been looking at legacy code and it's really hard to see where most of the method calls are coming from
<jhass> omosoj: Please share your code on https://gist.github.com
sambao21 has quit [Quit: Computer has gone to sleep.]
Takle has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
<jhass> GaryOak_: get pry and pry-byebug and do require 'pry'; binding.pry somewhere, then ? obj.method and $ obj.method
<jhass> and so on, check help inside pry
sambao21 has joined #ruby
s00pcan has quit [Client Quit]
<jhass> it's leveraging obj.method(:foo).source_location under the hood
elabs-developer has quit [Quit: elabs-developer]
s00pcan has joined #ruby
<GaryOak_> jhass: yeah, it's still very spaghetti code, with many method calls passing and operating on params in poorly named files
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
x1337807x has joined #ruby
s00pcan has quit [Remote host closed the connection]
<arrubin> GaryOak_: There is only so much that can be done with bad code in any language.
s00pcan has joined #ruby
<omosoj> gist of conditionals within map block not working properly https://gist.github.com/josomo/fb7f1812c6910a5df29f
<GaryOak_> I guess it's the idea that in Ruby the developer should be responsible for understanding the code
meschi has joined #ruby
Kricir has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
<jhass> omosoj: did you understand blocks yet?
<omosoj> lol i guess not
<jhass> blocks have a return value
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> the return value of a block is either determined by the value passed to a next call or its last expression
dblessing has joined #ruby
apurcell has joined #ruby
ghostmoth has joined #ruby
sigurding has joined #ruby
<jhass> and you should read up on the difference between .map and .map!
<jhass> .map(&:to_s).map(&:humanize).map! is not doing what you want
charliesome has quit [Quit: zzz]
Takle has joined #ruby
SilkFox_ has joined #ruby
recurrence has joined #ruby
pietr0 has quit [Quit: pietr0]
Kricir has joined #ruby
einarj has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
devoldmx_ has joined #ruby
<omosoj> k, thanks
<arrubin> GaryOak_: Can you give us an example of a line of code where you are confused?
ghr has quit [Ping timeout: 264 seconds]
mjuszczak has quit []
kenneth has joined #ruby
ddd has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
<omosoj> jhass, besides those errors, is that why not all the conditionals ar working?
Earthnail has joined #ruby
LouisRoR has quit [Ping timeout: 265 seconds]
<jhass> they are working
<jhass> you just don't do anything with the expressions value
<Earthnail> I have a 128bit unsigned integer that I want to send over the network via ZeroMQ. In ruby, this is stored in a bignum. How do I create a 128bit byte array (16 bytes byte array) out of that number? I assume Array.pack is my friend, but I can't figure it out.
<omosoj> it's passed to another method that creates a csv
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SilkFox_ has quit [Ping timeout: 244 seconds]
<omosoj> if i put 2 of hte conditionals, it works, if i put 5, only 1 works. it's werid
Grumelo has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
devoldmx_ has quit [Ping timeout: 244 seconds]
lsmola_ has joined #ruby
<jhass> omosoj: pay closer attention to which one of those works
<jhass> I bet it's always the last one
x1337807x has joined #ruby
rbennacer has joined #ruby
x1337807x has quit [Max SendQ exceeded]
Tricon has joined #ruby
x1337807x has joined #ruby
<omosoj> yeah, you're right. but if i only do 2, both of them work
zB0hs has joined #ruby
rbennacer has quit [Remote host closed the connection]
x1337807x has quit [Max SendQ exceeded]
<GaryOak_> arrubin: I think it's just due to poor naming
<jhass> I doubt that
devoldmx_ has joined #ruby
dling has quit []
x1337807x has joined #ruby
<omosoj> hm, k you're right lol
slester has quit [Ping timeout: 264 seconds]
max96at is now known as max96at|off
rbennacer has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
<jhass> omosoj: ping me if you have a working version and I'll show you a nicer one ;P
econerd4ever has joined #ruby
mjuszczak has quit []
msgodf has joined #ruby
slester has joined #ruby
mjuszczak has joined #ruby
JDiPierro has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has joined #ruby
sigurding has quit [Quit: sigurding]
tuelz has joined #ruby
<kl__> pwd
puzzlr has joined #ruby
<kl__> ok, this isn't a zsh prompt
s00pcan has quit [Remote host closed the connection]
<gregf_> GaryOak_: in python its separate directories for namespaces, in ruby its modules
elaptics is now known as elaptics`away
<gregf_> like so, this in python: from A.B import c;print c.C(10,20).to_str();
<puzzlr> ..
max96at|off is now known as max96at
<gregf_> would be this in ruby: module A; module B; class C; def self.foo; puts "Foo!";end; def bar; puts "Bar";end;end;end;end;A::B::C.new().bar;A::B::C::foo()
<tuelz> I'm writing a short blog post about creating a slim preprocessor gem for a new framework and some guy in here helped me out a few weeks ago, will the real slim shady please stand up?
<tuelz> I want to give you some credit :)
Tricon has quit [Ping timeout: 245 seconds]
echevemaster has joined #ruby
<tuelz> the accused looked into the temple source code and found the correct way to pass text to the engine as opposed to an entire file
sambao21 has quit [Quit: Computer has gone to sleep.]
<yxhuvud> Earthnail: certain you don't want it as a string? "%08x" % 122345
mjuszczak has quit [Client Quit]
codeFiend is now known as aeon_t
<Earthnail> yxhuvud: maybe I do. Just read that strings are actually stored as byte-sequences. So yeah, a string of 16 characters would be good
<omosoj> jhass, can't figure it out
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<tuelz> bradland: your name looks familiar, any chance you remember helping me out?
<jhass> Earthnail: 16.times.map { n = n >> 8; n & 0xFF } ?
dangerousdave has joined #ruby
defrang has joined #ruby
<puzzlr> ..
<IceDragon> puzzlr: sup with the ..?
<puzzlr> apologies..wrong window
<puzzlr> need more coffee before operating heavy keyboards
<IceDragon> It happens, luckily you aren't pasting a 200 lines file
hamakn has quit [Ping timeout: 264 seconds]
<Earthnail> jhass: yeah, that gives me the bytes, which is a start
dfas has joined #ruby
<Earthnail> yxhuvud: that works, seems similar to mybigint.to_s(16)
dfas is now known as dling
<Earthnail> yxhuvud: however, this stores the integer in big-endian format. Is there a way to convert that to little endian?
JDiPierro has quit [Ping timeout: 264 seconds]
x1337807x has quit [Remote host closed the connection]
<IceDragon> Earthnail: reverse the array?
gtrak has quit [Ping timeout: 255 seconds]
<Earthnail> IceDragon: if it was an array of bits, but jhass' solution is an array of bytes, and so is the string that I get with yxhuvud's solution
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<jhass> Earthnail: append .pack('c<*') to mine?
x1337807x has joined #ruby
gtrak has joined #ruby
<Earthnail> pack works on arrays, not strings.
rbennacer has quit [Remote host closed the connection]
<Earthnail> ah sorry, jhass, I aplied it to yxhuvud's code
wallerdev has joined #ruby
* IceDragon is confused
<Earthnail> jhass: says "ArgumentError: '<' allowed only after types sSiIlLqQ"
<IceDragon> Earthnail: I haven't gotten the entire view of what your trying to accomplish
<jhass> Earthnail: eh, yeah well, just drop it
<IceDragon> Earthnail: could you give me a rough run down?
<jhass> .reverse if you want it the other way around
prometh has quit [Quit: Linkinus - http://linkinus.com]
<jhass> the array that is, not the string
Spooner has joined #ruby
defrang has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
defrang has joined #ruby
shellfu is now known as shellfu_brb
larissa has joined #ruby
<dopie> jhass, is ruby and ror gangster
<dopie> :)
ghostmoth has quit [Quit: ghostmoth]
<Earthnail> IceDragon: well, I use zeromq to send data between a Ruby client and a C++ "server" (simple request-response pattern). In ZeroMQ, you need to think in C-level terms. I want to send one 128bit hash to the C++ server. It will do some heavy computation, and return a couple of 128bit hashes. Since they are 128bit, they can easily be represented by numbers, so I thought I'd store them in a bignum, but that may be the des
<Earthnail> ign flaw.
chipotle has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Earthnail> IceDragon: on the C++ side, I simply declared a 128bit datatype, problem solved.
devoldm__ has joined #ruby
_1_JLMAESTRE has joined #ruby
<IceDragon> Earthnail: so, your working with bits, not bytes...
<_1_JLMAESTRE> HELLO
<IceDragon> well, thats complicated
<jhass> _1_JLMAESTRE: your keyboard is broken
nrcpts has joined #ruby
<jhass> it forgot lowercase characters
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Earthnail> IceDragon: ^^. Maybe I'm overcomplicating things. But really, I just need to send 128bit hashes.
<IceDragon> well 128 bits is 16 bytes
<Earthnail> yup
x1337807x has quit [Ping timeout: 252 seconds]
_1_JLMAESTRE has quit [Remote host closed the connection]
<IceDragon> but you need to change the bits to little endian... aren't endianess applied only to bytes or am I missing something?
GaryOak_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
devoldmx_ has quit [Ping timeout: 256 seconds]
<Earthnail> no, you are right, endianess is applied to bytes
<Earthnail> Thinking about it, yeah, I can chop it into smaller numbers and convert them to little endian separately, that works of course.
josephnd1nton has joined #ruby
x1337807x has joined #ruby
defrang has quit [Quit: defrang]
<IceDragon> Earthnail: I guess I just indirectly shedded some more light on your problem
duggiefresh has quit [Remote host closed the connection]
<Earthnail> yup :)
duggiefresh has joined #ruby
puzzlr has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 264 seconds]
asmodlol has quit [Ping timeout: 245 seconds]
Rollabunna has quit [Read error: No route to host]
josephnd1nton has quit [Ping timeout: 245 seconds]
<IceDragon> Earthnail: one easy solution, is to pack the hash as a ruby string and then do reverse on it
<IceDragon> >> "ABCDEF123456789".reverse
<eval-in> IceDragon => "987654321FEDCBA" (https://eval.in/240880)
<IceDragon> assuming each byte is independent
Flcn has joined #ruby
<jhass> wouldn't it need to be 8967... ?
Fire-Dragon-DoL has joined #ruby
asmodlol has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
duggiefresh has quit [Ping timeout: 256 seconds]
gaboesquivel has quit [Remote host closed the connection]
<jhass> works if you use \xAB\xCD... I guess
kirun has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klmlfl has quit [Remote host closed the connection]
Lingo___ has joined #ruby
<Earthnail> IceDragon, each byte is independent, but then you still have to reverse the bits in each byte.
Lingo___ has quit [Client Quit]
kenneth has joined #ruby
<Earthnail> I found the following: bytes.pack('H*')
<IceDragon> orz
kenneth has quit [Max SendQ exceeded]
LouisRoR has joined #ruby
<IceDragon> I always forget the characters in Array#pack :(
kenneth has joined #ruby
<Earthnail> for n = 284764884989853556468326987442571392539, this becomes "\xCF\xB8;\xD6u\x8A\v,\x18\x0F\xA3\xDA\e6\xCB\xFB"
<Earthnail> (I obviously have to decompose n into bytes first, but that works)
<Earthnail> How can I display this weird string in a nice hexadecimal way that I can copy&paste into my hex editor to verify the string?
Fire-Dragon-DoL has joined #ruby
Flcn has quit [Ping timeout: 244 seconds]
phantomtiger has quit [Quit: phantomtiger]
<Earthnail> (i.e., without the \x)
shellfu_brb is now known as shellfu
phantomtiger has joined #ruby
<IceDragon> Earthnail: puts format("%x", your_number_here_assuming_its_a_Numeric)
eka has joined #ruby
<IceDragon> >> format("%x", 128)
<eval-in> IceDragon => "80" (https://eval.in/240881)
<dopie> using regex I have "This is Amzing Balls!#@!" how do i make it where it removes all the special characters which are not letters or words and do "this-is-awesome
<dopie> "
<Earthnail> that's the same as number.to_s(16)
<dopie> i mean
<dopie> this-is-amazing-balls
<Earthnail> Okay I think I have to think a little harder about my little vs big endian problem, maybe the problem is not there at all and I'm trying to solve a problem that doesn't exist
<IceDragon> >> format("%x", 284764884989853556468326987442571392539)
<eval-in> IceDragon => "d63bb8cf2c0b8a75daa30f18fbcb361b" (https://eval.in/240882)
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> >> "\xCF\xB8;\xD6u\x8A\v,\x18\x0F\xA3\xDA\e6\xCB\xFB".unpack('H*').first
<eval-in> jhass => "cfb83bd6758a0b2c180fa3da1b36cbfb" (https://eval.in/240883)
JDiPierro has joined #ruby
<IceDragon> or you could use "%x" % 284764884989853556468326987442571392539, if you hate typing format/sprintf
djbkd has joined #ruby
<Earthnail> eval-in, that's interesting
<Earthnail> ahh jhass I mean, that' sinteresting
<jhass> shazaum: I think you want Regexp.union?
fryguy9 has joined #ruby
dangerousdave has joined #ruby
<jhass> not sure what the question is
<shazaum> jhass, hmmmm
<jhass> shazaum: what's your actual problem?
sargas has quit [Quit: This computer has gone to sleep]
<jhass> dopie: I'd probably scan into words, map to downcase and join with -
sargas has joined #ruby
<dopie> jhass, scan into words?
<dopie> ahhh
<dopie> ok
<Fire-Dragon-DoL> hi everyone! ;)
bronson has joined #ruby
<shazaum> jhass, I want to use regex asterisk in ruby
<jhass> >> /.*/ # tada
<eval-in> jhass => /.*/ (https://eval.in/240884)
tier has quit [Remote host closed the connection]
<Fire-Dragon-DoL> lol
arietis has joined #ruby
<gregf_> dopie: %q{This is Amzing Balls!#@!}.gsub(/[^a-zA-Z0-9 ]+/,""); ?
nicolastarzia has joined #ruby
x1337807x has joined #ruby
baweaver has joined #ruby
<gregf_> >> %q{This is Amzing Balls!#@!}.gsub(/[^a-zA-Z0-9 ]+/,"");
<eval-in> gregf_ => "This is Amzing Balls" (https://eval.in/240885)
<jhass> >> "This is Amzing Balls!#@!".scan(/\w+/).map(&:downcase).join('-')
<eval-in> jhass => "this-is-amzing-balls" (https://eval.in/240886)
<jhass> rather
Takle has joined #ruby
baweaver has quit [Remote host closed the connection]
jenrzzz has joined #ruby
teddyp1cker has quit [Read error: Connection reset by peer]
codezomb has joined #ruby
teddyp1cker has joined #ruby
<gregf_> >> %q{This is Amzing Balls!#@!}.gsub(/[^\w\s]+/,"");
<eval-in> gregf_ => "This is Amzing Balls" (https://eval.in/240887)
<bricker> >> "This is Amazing Balls".gsub("This is Amazing Balls", "This is Amazing Balls")
<eval-in> bricker => "This is Amazing Balls" (https://eval.in/240888)
<bricker> :O
oetjenj has joined #ruby
LouisRoR has quit [Ping timeout: 264 seconds]
nanoyak has joined #ruby
nicolastarzia has quit [Ping timeout: 265 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asmodlol has quit [Ping timeout: 245 seconds]
pwnz0r has joined #ruby
Tricon has joined #ruby
baweaver has joined #ruby
tier has joined #ruby
asmodlol has joined #ruby
asmodlol has quit [Client Quit]
oetjenj has quit [Ping timeout: 240 seconds]
rajeshchawla has joined #ruby
leafybasil has quit [Remote host closed the connection]
<bradland> tuelz: yeah, i think i remember something from the other day.
<bradland> although not everyone here would categorize my input as "help" lol
SilkFox_ has joined #ruby
kasperti_ has joined #ruby
<dopie> so you wouldnt use gsub
<gregf_> dopie: scan is better
<gregf_> i did'nt read your whole problem statement :/
deric_skibotn has quit [Ping timeout: 264 seconds]
<jhass> in this case, since you want to split into words anyway
<tuelz> bradland: haha, thanks again :)
razieliyo has joined #ruby
<dopie> jhass, so w+ means one or more of w which is Any word character
razieliyo has quit [Changing host]
razieliyo has joined #ruby
cpt_yossarian has joined #ruby
bMalum has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
razieliyo has quit [Client Quit]
<jhass> dopie: \w is a shorthand to [a-zA-Z0-9_]
maletor has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
razieliyo has joined #ruby
djbkd has quit [Remote host closed the connection]
ips|malc_ is now known as ips|malc
pietr0 has joined #ruby
<gregf_> dopie: [%q{This is Amzing Balls!#@!}.gsub!(/[^\w\s]+/,"").gsub(/\s+/,"-")].map(&:downcase) <== or else. but jhass's solution is the best
<jhass> actually looking at it again I'd probably downcase first
<jhass> one less intermediate array
<dopie> so whats the +?
allcentury has joined #ruby
<wallerdev> keep in mind doing that will strip out all non ascii letters
<gregf_> dopie: \w - <what jhass said>, \s - space, + -> 1 or more of those
<jhass> one or more
mjuszczak has joined #ruby
<max96at> dopie: https://regex101.com/
<max96at> great site to learn and debug regular expressions
TinkerTyper has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
x77686d has joined #ruby
<jhass> except it doesn't do oniguru :P
Grumelo has quit []
pengin has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
<gregf_> dopie: %q{This is Amzing Balls!#@!}.gsub!(/[^\w\s]+/,"").gsub(/\s+/,"-").tr("A-Z","a-z") <== no loops \o/
pengin has joined #ruby
<jhass> or whatever the name was
<bradland> tuelz: turns out i really was helpful. http://irclog.whitequark.org/ruby/2014-12-23#;tuelz
lessless has joined #ruby
<jhass> oniguruma missed to chars :P
<fryguy9> I thought this visualizer was nice (even though it's Javascript Syntax and not Ruby): http://jex.im/regulex
<jhass> http://regexcrossword.com is still my fav
davidhq has joined #ruby
nrcpts has quit [Quit: (null)]
luriv has joined #ruby
pengin has quit [Read error: Connection reset by peer]
<max96at> there's also this one https://www.debuggex.com/
pengin has joined #ruby
<jhass> most people here use rubular.com
Aswebb_ has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
davidhq has quit [Client Quit]
<fryguy9> that corssword thing is cool
<fryguy9> *crossword
DonOtreply has joined #ruby
kiki_lamb has quit [Remote host closed the connection]
reset has joined #ruby
djbkd has joined #ruby
<dopie> gregf, amazing balls yet very headachy to look at
d10n-work has joined #ruby
ndrei has joined #ruby
<jhass> hanmac: ^ you got a new competitor
towski_ has joined #ruby
arup_r has quit [Ping timeout: 265 seconds]
leafybasil has joined #ruby
gomikemike has left #ruby [#ruby]
djbkd has quit [Remote host closed the connection]
<bradland> fryguy9: if your regex is simple, that JS visualizer will work, but you gotta be really careful using tools built on non-ruby regex engines.
lmickh has quit [Remote host closed the connection]
<bradland> man, that sentence doesn't make any sense
<max96at> the crossword one seems to use some non-ruby one as well
recurrence has quit [Quit: recurrence]
<bradland> if your regex is simple, it probably overlaps with javascript's regex engine.
<max96at> afaik ruby uses pcre and /+ would not be allowed in that
TrOuBleStArTeR has joined #ruby
<max96at> javascript errors on it too
<max96at> python seems to do fine on it though
<jhass> ruby uses oniguruma which is close to PCRE but its own thing
<IceDragon> rubular.com for all your regex ruby needs
duggiefresh has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
gomix has quit [Ping timeout: 244 seconds]
Vile` has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
msgodf has quit [Remote host closed the connection]
dc_ has joined #ruby
gtrak has quit [Quit: No Ping reply in 180 seconds.]
TrOuBleStArTeR has quit [Client Quit]
Vile` has joined #ruby
<bradland> Earthnail: interestingly, your problem isn't entirely different than some of the problems i had to solve when doing the cryptopals challengers
ghr has joined #ruby
gtrak has joined #ruby
kiki_lamb has joined #ruby
geggam has joined #ruby
<bradland> i don't have a "mode" for passing in Bignum, but you could pretty easily add that
Fretta has joined #ruby
<dopie> where can I find out about map(&:downcase) the &:downcase...
reinaldob has quit [Remote host closed the connection]
reset has quit [Remote host closed the connection]
<bradland> dopie, that's called the unary ampersand operator
<jhass> and the argument is the symbol :downcase
ghr has quit [Ping timeout: 264 seconds]
<jhass> & calls to_proc on its argument and passes the resulting Proc as a block to the method
<dopie> is it on there??
<dopie> i can find it
segfalt has joined #ruby
<jhass> Symbol#to_proc returns a Proc that calls the method of the symbols name on the first argument
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s00pcan_ has quit [Remote host closed the connection]
<jhass> these tutorialpoint guys spent more time on SEO than on their tutorials :/
poetazus has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poetazus has quit [Client Quit]
Flcn has joined #ruby
andikr has quit [Remote host closed the connection]
wald0 has quit [Quit: Lost terminal]
ghostlines has joined #ruby
max96at is now known as max96at|off
Flcn has quit [Ping timeout: 265 seconds]
jerius has quit []
recurrence has joined #ruby
jamgood9_ has joined #ruby
GaryOak_ has joined #ruby
jamgood9_ has quit [Remote host closed the connection]
jamgood96 has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
jamgood9_ has joined #ruby
<dopie> ok question
<dopie> [1,2,3].collect(&:succ)
<dopie> does it create a new array called succ
<dopie> ?
<wallerdev> no
<jhass> no
<wallerdev> >> 1.succ
<eval-in> wallerdev => 2 (https://eval.in/240890)
Flcn has joined #ruby
<dopie> i did that
<wallerdev> calls succ on all the elements in the array and returns a new array with the results
<jhass> for starters arrays don't have names
<dopie> youre right
<jhass> arrays may be assigned to variables
<dopie> yes
<dopie> there we go
<dopie> thats what i mean sorry :)
JimmyNeutron has joined #ruby
<dopie> so when I call 1.succ it creates a new array with the value?
<wallerdev> nope
<wallerdev> 1.succ just returns 2
<wallerdev> succ stands for succession, like next in the sequence
kiyote23 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> >> 'a'.succ
<eval-in> wallerdev => "b" (https://eval.in/240891)
baweaver has quit [Remote host closed the connection]
<dopie> so wait
<dopie> succ is a method
<dopie> rofl
<wallerdev> yes
<dopie> i thought it was just random
<dopie> ok
<wallerdev> [1, 2, 3].collect { |x| x.succ }
<wallerdev> thats the longer version of what you wrote
ikanobori_ is now known as ikanobori
ikanobori has quit [Changing host]
ikanobori has joined #ruby
x1337807x has joined #ruby
Faiqus_ has joined #ruby
gomix has joined #ruby
<dopie> ahhh ok
<IceDragon> >> [1, 2, 3].map(&(:succ.to_proc))
<eval-in> IceDragon => [2, 3, 4] (https://eval.in/240892)
sina_ has joined #ruby
<IceDragon> don't even ask
sambao21 has quit [Quit: Computer has gone to sleep.]
<dopie> erm
<IceDragon> &obj is a shortcut for to_proc :P
Faiqus has quit [Ping timeout: 244 seconds]
<dopie> k
<jhass> mmh, I wouldn't phrase it that way
<dopie> #@!?
<wallerdev> dont try to explain that
<wallerdev> lol
<IceDragon> jhass: true, because the ruby parser flips out when you do it outside of a method call
<jhass> foo(&obj)'s main feature is to pass a proc as a block
horsecowdog has joined #ruby
<jhass> it conveniently calls .to_proc in the process
<IceDragon> yes
<IceDragon> :D
<jhass> like "#{ob}" calls to_s
* IceDragon can't phrase shit to save his life
<IceDragon> and for calls each
<jhass> for is actually just a (I guess AST level?) rewrite to each these days I've heard
<jhass> even became slower than it
<IceDragon> it used to be faster than each D:
sevvie has joined #ruby
<bradland> the answer on stackoverflow is really great
<IceDragon> which I found very odd back then
LouisRoR has joined #ruby
n1lo has quit [Quit: Leaving]
DonOtreply has quit [Quit: DonOtreply]
<bradland> dopie: this: (1..3).collect(&:to_s) #=> ["1", "2", "3"]
pwnz0r has quit [Remote host closed the connection]
<bradland> is the same as this: (1..3).collect {|num| num.to_s} #=> ["1", "2", "3"]
emmesswhy has joined #ruby
<dopie> so basically its a shortcut to creating blocks
<bradland> Procs
pwnz0r has joined #ruby
<bradland> which are similar to blocks
djbkd has joined #ruby
ghostlines has quit [Quit: Textual IRC Client: www.textualapp.com]
davedev2_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
dfinninger has joined #ruby
davedev24_ has joined #ruby
jerius has joined #ruby
sambao21 has joined #ruby
scripore has joined #ruby
pwnz0r has quit [Ping timeout: 264 seconds]
teddyp1c_ has joined #ruby
sina_ has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
rodfersou has quit [Quit: leaving]
mjuszczak has quit []
josephnd1nton has joined #ruby
rpag has joined #ruby
teddyp1cker has quit [Ping timeout: 265 seconds]
RDash has quit [Read error: Connection reset by peer]
rpag has quit [Client Quit]
RDash has joined #ruby
brooks has joined #ruby
gccostabr has quit [Ping timeout: 255 seconds]
SilkFox_ has joined #ruby
lkba_ has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klmlfl has joined #ruby
brooks has quit [Remote host closed the connection]
RDash has quit [Changing host]
RDash has joined #ruby
oleo__ has quit [Quit: Verlassend]
qhartman has quit [Quit: Ex-Chat]
mjuszczak has joined #ruby
josephnd1nton has quit [Ping timeout: 255 seconds]
rpag has joined #ruby
Ankhers` has joined #ruby
lkba has joined #ruby
davidhq has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
Ankhers has quit [Ping timeout: 250 seconds]
kedare has quit [Quit: WeeChat 0.4.4-dev]
sevvie has quit [Ping timeout: 244 seconds]
gaboesquivel has joined #ruby
gfawcettpq1 has joined #ruby
wallerdev has joined #ruby
B1n4r10 has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
Ankhers`` has joined #ruby
<aarwine> I'm having an issue with rbenv, and bundle install --deployment during a native gem compilation. It looks like bundle is correctly installing gems to vendor/bundle but extconf.rb is doing a require on libv8 (installed earlier) and failing because the path being searched (as displayed with puts $:) does not include vendor/bundle. Is this problem documented?
pengin has quit [Remote host closed the connection]
iamjarvo has joined #ruby
gfawcettpq has quit [Ping timeout: 244 seconds]
DeanH has quit [Read error: Connection reset by peer]
pengin has joined #ruby
jenrzzz has joined #ruby
Ankhers` has quit [Ping timeout: 250 seconds]
blackope_ has joined #ruby
Kryptonical has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
oleo has joined #ruby
Kryptonical has joined #ruby
C1V0 has joined #ruby
rpag has quit [Quit: Leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nickjj> aarwine, might be an issue with rbenv specifically. i'm using bundle install --deployment without issues but ruby wasn't installed with rbenv
<tariqc> quit
sevvie_ has joined #ruby
klmlfl_ has joined #ruby
tariqc is now known as terminat0r
terminat0r has left #ruby [#ruby]
blackope_ has quit [Client Quit]
spider-mario has joined #ruby
<aarwine> nickjj: thanks, I'll jump down the rbenv rabbithole
pengin has quit [Ping timeout: 245 seconds]
<nickjj> aarwine, which gem is it failing on btw?
<havenwood> aarwine: or jump ship and chruby instead!
Ankhers`` is now known as Ankhers
davedev2_ has joined #ruby
cpt_yossarian has quit [Ping timeout: 244 seconds]
<aarwine> nickjj: native extension is building therubyracer; therubyracer's extconf.rb is failing on a require on libv8
baweaver has joined #ruby
klmlfl has quit [Ping timeout: 265 seconds]
davedev2_ has quit [Read error: Connection reset by peer]
<nickjj> aarwine, ditch rubyracer imo and just install nodejs
<bradland> fucking rubyracer
<bradland> aarwine: is this on OS X?
econerd4ever has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 265 seconds]
davedev2_ has joined #ruby
michaeldeol has joined #ruby
<aarwine> bradland: ubuntu; I'm guessing I'm getting mucked because this is happening in a build env, not interactively and i missed some rbenv variable
econerd4ever has joined #ruby
<nickjj> aarwine, just get rid of rubyracer and apt install nodejs before you run your rails deploy , you'll be in good shape most likely
russt has joined #ruby
<bradland> k, in my experience, you have to be explicit with rubyracer and v8.
<bradland> we ended up doing exactly what nickjj suggests
nanoyak has quit [Quit: Computer has gone to sleep.]
<bradland> we made nodejs an environment dep, and skipped the whole rubyracer mess in production
<aarwine> nickjj: system nodejs... that has some performance implications?
Kricir has quit [Remote host closed the connection]
<bradland> the presence of nodejs does not imply that any nodejs services must be running
<nickjj> aarwine, it's only going to be used to precompile your rails assets, it blows the doors of rubyracer
<nickjj> *off
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cheerio]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aarwine> nickjj: hrm, I'm fresh to this project, I'll go play social butterfly for a bit
<aarwine> thanks :)
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nickjj> np, the version in the 14.04 repo is more than good enough btw
sambao21 has quit [Quit: Computer has gone to sleep.]
<bradland> nickjj: if you must use rubyracer because it's not your call, you'll need to make sure libv8 installs cleanly before rubyracer
econerd4ever has quit [Ping timeout: 252 seconds]
<bradland> this sometimes means installing v8 separately and passing —with-system-v8 to the libv8 gem instll
<aarwine> bradland: seems like the dirty solution if I go down that path is to use rbenv gem shim to install v8 into rbenv system path instead of to vendor/bundle - I think the clean solution is to discover why vendor/bundle isn't in the path of my current compile
<aarwine> and the tagential solution is to ditch rubyracer
x1337807x has quit [Ping timeout: 244 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<nickjj> ah, good to know in the 0.0001% chance i wouldn't use nodejs
scripore has joined #ruby
<bradland> woops, sry nickjj. meant to attn aarwine on those
<nickjj> btw aarwine if you get bored of setting servers up by hand, take a peek at https://github.com/debops/ansible-rails_deploy
sambao21 has joined #ruby
<aarwine> nickjj: hehe, I'm troubleshooting my fresh automated process, but i'll take a look
<bradland> we use this because i'm not smart enough to understand chef/puppet, and i built our automation stuff out before ansible was on my radar: https://github.com/sprinkle-tool/sprinkle
<bradland> it's ruby
B1n4r10 has joined #ruby
commmmodo has joined #ruby
recurrence has quit [Quit: recurrence]
ddd has quit [Quit: leaving]
razieliyo has quit [Quit: Saliendo]
devoldm__ has quit [Remote host closed the connection]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
msgodf has joined #ruby
chrishough has joined #ruby
msgodf has quit [Remote host closed the connection]
gccostabr has joined #ruby
msgodf has joined #ruby
ldnunes has quit [Quit: Leaving]
chipotle has joined #ruby
ghr has joined #ruby
fearoffish has quit [Ping timeout: 240 seconds]
jack_rabbit has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
einarj has joined #ruby
deric_skibotn has joined #ruby
fearoffish has joined #ruby
baweaver has quit [Remote host closed the connection]
icbm has joined #ruby
atmosx has joined #ruby
commmmodo has left #ruby [#ruby]
einarj_ has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<atmosx> hi
<havenwood> hi
uri_ has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 252 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
chrishough has joined #ruby
arietis has joined #ruby
chipotle has quit [Quit: cheerio]
Aswebb_ has quit [Remote host closed the connection]
redbaritone has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
mgroup1 has joined #ruby
redbaritone has quit [Client Quit]
<mgroup1> GUIDO VAN ROSSUM braced himself on the bed and pushed his head past the quivering spinchter of LINUS TORVALDS’s gaping asshole. She moaned deeply as she felt the massive intruder fill her ass like it had never been filled before. GUIDO VAN ROSSUM reached down and grabbed the large bottle of lube and squirted a generous amount along the shaft. He pulled out with a loud “pop” and coated the head and LINUS TORVALDS’s ass ...
<mgroup1> ... with the slippery liquid. He quickly pushed back in and felt the going a bit easier with the aide of the lube, but her anal canal was still vice-tight. “Fuck it” he muttered to himself and pushed more of his thick dong inside of her. LINUS TORVALDS could only groan, totally taken by GUIDO VAN ROSSUM’s huge cock filling every crevice of her.
<jhass> apeiros_: ^
<mgroup1> “Fuck, I can hardly breath,” LINUS TORVALDS thought as she fought hard to keep her self as relaxed as possible. But that was no easy feat as every nerve ending in the tight canal was on fire, riding the fine line between pain and pleasure as GUIDO VAN ROSSUM continued to stuff his fat sausage inside of her. Joan lifted her head slightly and grabbed LINUS TORVALDS’s large tit and stuffed it into her mouth, causing LINUS ...
<mgroup1> ... TORVALDS to groan harder. She hooked her right leg against the back of LINUS TORVALDS’s leg and pulled her towards her in and effort to spurn LINUS TORVALDS to continue fucking her with the big fake cock. “C’mon, fuck me!” Joan shouted around a mouth full of LINUS TORVALDS’s nipple. She bit down hard on the sensitive nip and caused LINUS TORVALDS to bury the big dong deep inside of her throbbing pussy. “Fuck! ...
gccostabr has quit [Quit: See you later!]
<mgroup1> ... Yes! That’s it!” Joan yelled. The interaction of the women underneath him spurred GUIDO VAN ROSSUM’s own lust and he drove his cock deep into LINUS TORVALDS’s ass, nearly knocking the wind out of her. “Fuck - I’ve never had anything that deep before,” she thought to herself as her head began to swim from the sensations.
<mgroup1> After a few moments, the trio had established a frenzied rhythm, with GUIDO VAN ROSSUM driving into LINUS TORVALDS as she was on the backstroke of pumping Joan. GUIDO VAN ROSSUM really wanted to slid his cock inside of LINUS TORVALDS’s hot pussy but the brace of the harness was in the way, and he didn’t want to stop her from pounding into Joan. The sounds of moans and groans and bodies smacking against each other filled ...
<mgroup1> ... the room. The harder GUIDO VAN ROSSUM fucked LINUS TORVALDS, the harder she drove into Joan. GUIDO VAN ROSSUM’s big balls swung like a wrecking ball, smashing against both ladies asses with enough force that they left large bruise spots. The sting from each slap was like fuel to a spark plug, further igniting his charge. It took a great deal of effort for him to finally make the move, but after several minutes of hard, ...
<mgroup1> ... jackhammer fucking, GUIDO VAN ROSSUM decided he needed to extract himself before he shot his load deep into LINUS TORVALDS’s bowels.
<mgroup1> Instead of completely stopping his thrusts, GUIDO VAN ROSSUM slowly and methodically made his thrusts more and more shallow until finally only the fat head remained, the tight spinchter of LINUS TORVALDS’s ass held the neck of his cock like a vice. He gritted his teeth and quickly pulled back, his cock exiting her tight anus with a loud pop. LINUS TORVALDS screamed in relief, her ass hole gaped wide after being released. ...
<mgroup1> ... GUIDO VAN ROSSUM quickly moved into position up on the bed up behind Joan’s head and stuck his big rod between them, letting it rest the the immense cleavage of Joan’s massive tits and his big sack draped over his wife’s face. LINUS TORVALDS attacked his cock instantly, licking and sucking him clean. Joan grabbed his cock and moved her head from underneath GUIDO VAN ROSSUM’s heavy ball sac. “I want to taste that ...
<mgroup1> ... creamy asshole,” she said as she ran her tongue up and down as much as she could of the shaft. GUIDO VAN ROSSUM adjusted his position and moved back and to the side, allowing Joan to stuff as much of GUIDO VAN ROSSUM’s rigid cock in her mouth as she could. LINUS TORVALDS moved her head down the shaft and nuzzled her face into the massive expanse of his scrotum, licking and nibbling on the base of his gigantic tool.
<mgroup1> “Yehhhhhhhh,” GUIDO VAN ROSSUM moaned as he grabbed a handful of Joan’s hair. “Lick it clean, bitch! Lick all of that nasty ass juice off my cock!” With his other hand, he grabbed LINUS TORVALDS by the back of her head and shoved her face down closer to Joan’s. “Come on, you mother fucker! I’m loving the way you’re lickin my big fuckin balls, but you need to get down there and help her clean my cock!” ...
<mgroup1> ... Hearing the raw, animalistic lust in GUIDO VAN ROSSUM’s voice made LINUS TORVALDS fuck Joan harder as she moved down GUIDO VAN ROSSUM’s shaft. She met Joan at the end of the fat dong and the two battered GUIDO VAN ROSSUM’s deep purple head with their tongues. GUIDO VAN ROSSUM slapped LINUS TORVALDS’s big ass several times, enjoying the way the large flesh shook and wobbled with each strike. “Take off that dick, ...
sambao21 has quit [Quit: Computer has gone to sleep.]
<mgroup1> ... he said gruffly as he pushed her back from Joan. “Let’s see how you like the real thing.”
<mgroup1> LINUS TORVALDS pulled out of Joan’s sopping pussy and quickly unbuckled the straps from her waist and legs. GUIDO VAN ROSSUM laid down as Joan moved out of the way. He grabbed the base of his cock in his left hand and with his right, he reached over to Joan and pulled her closer. She immediately grabbed the monstrous tower of hot flesh and stroked it hard, pumping it with great force. LINUS TORVALDS looked at the height of ...
<Morrolan> Well, that's a first.
<jhass> zenspider: Mon_Ouie any of you awake?
<mgroup1> ... his cock and gasped. “Just how long is that thing? Good fucking grief - there’s now way I can get up on that thing!” GUIDO VAN ROSSUM laughed. "Come on up here," he said, motioning for her to straddle his chest. LINUS TORVALDS got up top of GUIDO VAN ROSSUM as instructed and Joan pushed his cock down towards his chest. LINUS TORVALDS quickly saw what GUIDO VAN ROSSUM was doing and adjusted herself so that she lined ...
<mgroup1> ... up his cock with her dripping pussy. She braced her hands against the headboard and pushed, forcing her body to slide back and onto the big stick.
<aarwine> problem here is that he didn't replace the gender-specific pronouns so it's obvioulsy just a search / replace rip
<havenwood> Mon_Ouie: \o/
mgroup1 was banned on #ruby by Mon_Ouie [*!~user@173-228-80-252.dsl.static.fusionbroadband.com]
<bradland> as much as I enjoy some good hardcore homosexual fan fic, this is a bit ridic
mgroup1 was kicked from #ruby by Mon_Ouie [mgroup1]
sshao_ has joined #ruby
<jhass> ty
<Morrolan> aarwine: And here I was wondering why Van Rossum was being treated as a female :P
<bradland> now we don't know what happens!
sshao has quit [Read error: Connection reset by peer]
<Morrolan> Oh, no, Linus was.
Kricir has joined #ruby
<diegoviola> Linus Torvalds is always alpha
recurrence has joined #ruby
baweaver has joined #ruby
<IceDragon> why the fuq do I always miss the action?
<IceDragon> I watch the channel, nothing exciting happens, I turn my back and go for a walk, and something interesting takes place
<bradland> thank god for scrollback, amirite?
<IceDragon> YEAH
* IceDragon scrolls and reads
<aarwine> I'd say you didn't miss much
<IceDragon> smells like NSFW
<aarwine> was nothing like that richard stallman vs emacs dev drama happening on the mailing lists
<IceDragon> hmm, /me greps irc logs for mgroup1 and pastes to a text file to easier reading
aswen has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> lol
DonOtreply has joined #ruby
<shevy> Mon_Ouie's kick was mighty
arietis has quit [Quit: Textual IRC Client: www.textualapp.com]
hashpuppy has joined #ruby
<IceDragon> 4 pages worth of #poen
<shevy> #poem?
<IceDragon> no poen
<shevy> #open
<shevy> oh... your claws are not meant for typing
* IceDragon curses his claws
<shevy> look who is over there... it's Fire-Dragon-DoL
* IceDragon is on alert
<IceDragon> MY ARCH NEMESIS!
chipotle has joined #ruby
DonOtreply has quit [Client Quit]
DonOtreply has joined #ruby
sambao21 has joined #ruby
<shevy> now that spam was actually a fun read
DonOtreply has quit [Client Quit]
<shevy> a love story between two developers
rajeshchawla has quit [Remote host closed the connection]
<shevy> matz was not mentioned nor was larry
<atmosx> hey shevy how's life
sk87 has joined #ruby
<shevy> atmosx dunno... I am a bit demotivated to learn
<atmosx> shevy: how so?
<IceDragon> shevy: grab a new language :D
cphrmky has joined #ruby
<IceDragon> shevy: change of plans, I can't read this...
<shevy> atmosx lots of boring calculations in technical chemistry. one has to practice to avoid making mistakes, and this is boring
<atmosx> blah
<atmosx> chemistry
<IceDragon> chemistry :O
<shevy> atmosx besides, I don't know why we can't use a computer...
<atmosx> shevy: I'll have to study again for 2 months next year and then it's over. I won't remember the difference between a double and triple bond by 2018
nanoyak has joined #ruby
_5kg has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
<atmosx> shevy: that's what I said to my phytochemistry professor: "Why the heck should I know by heart 140 plants with contents and macroscopy while i can have more than 14 millions on my mobile phone at any time?!"
x1337807x has quit [Max SendQ exceeded]
<shevy> in the commandline I just type mol_mass C16H12N2 and instantly have it; on paper, I have to add it up... which takes longer. usually at least 10 seconds, and I can still make a mistake. the computer makes no mistake and is faster... so hmmmm
<atmosx> shevy: the answer was "... Can your mobile hold that many?!"
Jackneill has quit [Remote host closed the connection]
<atmosx> lol
<atmosx> anyway
chipotle has quit [Client Quit]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<atmosx> shevy: exactly, once you know formula I see no point...
<atmosx> anyway
<atmosx> education is fucked up
<shevy> atmosx hehe; I think the main incentive for the exams is mostly to just demonstrate that you can apply the knowledge once, afterwards most is forgotten anyway
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
shazaum has quit [Quit: This computer has gone to sleep]
x1337807x has joined #ruby
<Mon_Ouie> If you understand something well enough to program a computer to do it for you, you understand it well enough for any purposes anyway
<atmosx> Mon_Ouie: absolutely not.
<shevy> yeah
<atmosx> shevy: absolutely not!
<shevy> you can still make mistakes; also you can be stressed
rajeshchawla has joined #ruby
<shevy> no I said yeah to your statement atmosx ;-)
pwnz0r has joined #ruby
<atmosx> ah k
<atmosx> :-P
<shevy> it's true that you have to know the theory when you want to solve a given problem in both cases
<shevy> but I can forgot it after solving it on the computer!
sshao_ has quit [Remote host closed the connection]
<atmosx> exactly!
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
<IceDragon> orz
<shevy> some questions can be so damn annoying and worded in such a stupid way
<Mon_Ouie> You can also forget how to do something you once knew how to do with pen and paper though
_5kg has joined #ruby
Kricir has quit [Remote host closed the connection]
rajeshchawla has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
reinaldob has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
zarubin has joined #ruby
elaptics`away is now known as elaptics
sambao21 has joined #ruby
SilkFox_ has quit [Ping timeout: 252 seconds]
atmosx_ has joined #ruby
djbkd has joined #ruby
reinaldob has quit [Ping timeout: 264 seconds]
sargas has quit [Quit: This computer has gone to sleep]
baweaver has quit [Remote host closed the connection]
atmosx has quit [Ping timeout: 240 seconds]
horsecowdog has quit [Remote host closed the connection]
whoisjake has quit []
cphrmky has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
cphrmky has joined #ruby
baweaver has joined #ruby
horsecowdog has joined #ruby
chipotle has joined #ruby
goleldar has joined #ruby
<goleldar> hello
<goleldar> i have a question about metaprogramming
russt has quit [Quit: russt]
Kricir has joined #ruby
<goleldar> is it possible to wrap the define method call in a method within the class so that it is easier to test
sambao21 has joined #ruby
ferr has quit [Remote host closed the connection]
<bricker> goleldar: sure
tmtwd has joined #ruby
gaboesquivel has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
Tricon has quit [Ping timeout: 265 seconds]
rajeshchawla has joined #ruby
phutchins has quit [Ping timeout: 252 seconds]
larissa has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 264 seconds]
skrite has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
<goleldar> bricker: this doesn't work for me https://gist.github.com/justinleveck/0209b044b7de622727af
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zarubin has quit [Remote host closed the connection]
<goleldar> it can't find the method names i have extracted the code to
maletor has joined #ruby
paulfm has joined #ruby
<goleldar> fixed the spacing
<Mon_Ouie> That's because you're calling them before defining, and you're defining them as instance methods, not class methods
jheg has joined #ruby
zarubin has joined #ruby
einarj_ has quit [Read error: Connection reset by peer]
<bradland> goleldar: when you have code outside of a method definition, like lines 2-7, that code is run at the time the class is defined, therefore, you cannot call methods of the class (instance methods or otherwise) until the definition is complete
einarj has joined #ruby
rbennacer has joined #ruby
<goleldar> the idea to extract into methods was to make testing easier
<goleldar> .. soo would you recommend putting those 2 methods into a module?
<goleldar> if i change them to class methods it doesn't work either
<bradland> in the context of your question, where you put them isn't as important as "when"
<bradland> think of it like this
Faiqus_ has quit [Remote host closed the connection]
<bradland> before your code can run, ruby must parse and build all your classes, so on line 1, you open a class definition
<bradland> at line 2, you enter a loop
<bradland> at line 4, you call a method
<bradland> but that method doesn't exist yet
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<goleldar> ahh ok got it to work
<bradland> so you need to define both of those create_ methods before you call them
<goleldar> updated as comment
pdoherty has joined #ruby
<goleldar> moved them above
ghr has joined #ruby
<goleldar> and made them class methods
<bradland> you can update the gist as well
<bradland> there's a link to Revisions on the right of the gist
<bradland> so you can always get to/link to previous revisions if you need to
<bradland> gists are trimmed down git repos
josephnd1nton has joined #ruby
<goleldar> do you know if there is a way to view the end state of class as a string
<goleldar> to essentially see the source code after it has been modified with theses extra methods
DadoCe has joined #ruby
<bradland> ruby has tons of options for introspection
<bradland> you can fire up an irb session, require your class/file, then use the console to dig around
<bradland> pry is also recommended
<bradland> which is an irb replacement
<bradland> and has some built in introspection tools
<goleldar> nice
<bradland> you can browse your class hierarchy like a filesystem
ghr has quit [Ping timeout: 265 seconds]
Xeago_ has quit [Remote host closed the connection]
sargas has joined #ruby
atmosx_ has quit [Quit: Let him that would move the world first move himself. - Socrates]
josephnd1nton has quit [Ping timeout: 255 seconds]
shinobi_one has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pengin has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
adriancb has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Tricon has joined #ruby
michaeldeol has joined #ruby
kenneth has joined #ruby
kenneth has quit [Max SendQ exceeded]
econerd4ever has joined #ruby
kenneth has joined #ruby
aclearman037 has joined #ruby
cobakobodob has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
zarubin has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
ozkar has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<ozkar> Hello Guys, is there a rails specific chat? i tried #rails but it redirected me to ##namespace
<ozkar> join #rubyonrails
<ozkar> oops
<goleldar> i am having trouble testing that
_ixti_ has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
<bradland> goleldar: "that" is ambiguous in your statement
mrmargolis has quit [Remote host closed the connection]
<bradland> "I am having trouble finding the methods i've defined"
<goleldar> yes :)
<bradland> "i am having trouble running pry"
<goleldar> testing the methods
<goleldar> so i need to test that self.create_contact_state_method is called
<bradland> k, what methods are yo uusing?
whowantstolivefo has quit [Quit: Konversation terminated!]
<goleldar> my first thought is to do something like this .. expect(ContactNotificationsMailerPreview).to receive(:create_contact_state_method)
whowantstolivefo has joined #ruby
<goleldar> and then call subject
horsecowdog has quit [Remote host closed the connection]
<goleldar> but that doesnt work
<bradland> where is subject assigned?
_5kg has quit [Ping timeout: 245 seconds]
timonv_ has quit [Remote host closed the connection]
gaboesquivel has joined #ruby
<goleldar> in the rspec test
bronson has quit [Ping timeout: 252 seconds]
<bradland> sry, i'm kind of struggling to see where to send you next
<bradland> i don't know what's in subject, so i can't tell why it should receive that method
<shinobi_one> gists are helpful
<bradland> i'm assuming that it is of a class that gets passed through your class, but i can't connect the dots with the excerpt
sshao has joined #ruby
<bradland> shinobi_one: we have a partial gist: https://gist.github.com/justinleveck/0209b044b7de622727af
maletor has quit [Ping timeout: 264 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
<shinobi_one> yeah that gist does nothing for me
<shinobi_one> probably because i missed the context of the problem
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mleung has quit [Quit: mleung]
goleldar has quit [Remote host closed the connection]
sshao has quit [Client Quit]
michaeldeol has joined #ruby
paulfm has quit [Quit: Goodbye]
slester has quit [Ping timeout: 264 seconds]
beneggett has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_ixti_ has joined #ruby
Morkel has quit [Quit: Morkel]
evanjs has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
josephndenton has quit [Ping timeout: 264 seconds]
SilkFox_ has joined #ruby
shellfu is now known as shellfu_walgreen
evanjs has joined #ruby
elfuego has quit [Quit: elfuego]
zarubin has joined #ruby
evanjs has quit [Remote host closed the connection]
tus has quit [Ping timeout: 264 seconds]
govg has quit [Ping timeout: 256 seconds]
elaptics is now known as elaptics`away
tus has joined #ruby
SilkFox_ has quit [Ping timeout: 256 seconds]
cobakobodob has joined #ruby
zarubin has quit [Ping timeout: 256 seconds]
sinkensabe has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 245 seconds]
athan has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hijiri has joined #ruby
aclearman037 has quit [Quit: I'm out!]
iamjarvo has joined #ruby
<vasilakisfil> is it possible to add a git repository in the gemspec ?
baweaver has quit [Remote host closed the connection]
<vasilakisfil> in add_development_dependency
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
decoponio has quit [Read error: Connection reset by peer]
JDiPierro has quit [Remote host closed the connection]
<jhass> no
decoponio has joined #ruby
michaeldeol has joined #ruby
iamjarvo has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
kedare has joined #ruby
blackoperat has quit [Ping timeout: 265 seconds]
deric_skibotn has quit [Ping timeout: 255 seconds]
shinobi_one has quit []
baroquebobcat has quit [Quit: baroquebobcat]
fryguy9 has quit [Read error: Connection reset by peer]
fryguy9 has joined #ruby
brb3 has quit [Quit: <.<]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
timonv_ has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
livingstn has quit []
silkfox has quit [Ping timeout: 244 seconds]
Ankhers has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
mjuszczak has quit []
nicolastarzia has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
<bricker> vasilakisfil: if it's just a development dependency, add it to a Gemfile
<bricker> vasilakisfil: if it's a runtime dependency, then you're S.O.L.
Kricir has quit [Remote host closed the connection]
scripore has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
<rajeshchawla> i'm looking for a yacc equivalent in ruby, is racc the recommended one to use ?
TheRinger has joined #ruby
nicolastarzia has quit [Ping timeout: 255 seconds]
pengin has quit [Ping timeout: 244 seconds]
_ixti_ has quit [Ping timeout: 264 seconds]
jamgood9_ has quit [Quit: Leaving...]
<bradland> rajeshchawla: looks maintained (mostly)
ghr has joined #ruby
<bradland> zenspider is usually in the channel, and is a contrib on that repo
timonv_ has quit [Ping timeout: 240 seconds]
_ixti_ has joined #ruby
<rajeshchawla> ok, thanks for the inof
TheRinger has quit [Client Quit]
agjacome has quit [Quit: leaving]
_5kg has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahem2 has joined #ruby
russt has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
ahem has quit [Read error: Connection reset by peer]
TheRinger has joined #ruby
it0a has quit [Ping timeout: 245 seconds]
jefus_ is now known as jefus
dfas has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
dling has quit [Ping timeout: 240 seconds]
Dolphi has joined #ruby
Faiqus has joined #ruby
phutchins has joined #ruby
shellfu_walgreen is now known as shellfu
longfeet has joined #ruby
Dolphi has quit [Client Quit]
elfuego has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Faiqus has quit [Read error: Connection reset by peer]
LouisRoR has quit []
baroquebobcat has joined #ruby
doodlehaus has joined #ruby
skj3gg has joined #ruby
spyderma_ has quit []
Faiqus has joined #ruby
dling has joined #ruby
TheRinger has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dfas has quit [Ping timeout: 264 seconds]
TheRinger has joined #ruby
pengin has joined #ruby
tier has quit [Remote host closed the connection]
scripore has joined #ruby
LouisRoR has joined #ruby
duggiefresh has quit []
doodlehaus has quit [Ping timeout: 245 seconds]
mleung has joined #ruby
iGabriel has quit []
gtrak has quit [Ping timeout: 264 seconds]
jerius has quit []
Flcn has quit [Quit: Be back later ...]
x1337807x has joined #ruby
geggam has quit [Ping timeout: 245 seconds]
carvantes has joined #ruby
Flcn has joined #ruby
Xeago has joined #ruby
jimmyhoughjr has quit [Ping timeout: 265 seconds]
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
msgodf has quit [Ping timeout: 252 seconds]
omosoj has quit [Ping timeout: 264 seconds]
DonOtreply has joined #ruby
govg has joined #ruby
Zesty has joined #ruby
alvaro_o has joined #ruby
josephndenton has joined #ruby
rpag has joined #ruby
sargas has quit [Quit: Leaving]
Porpado has quit [Quit: Porpado]
nanoyak has joined #ruby
havenwood has joined #ruby
giuseppesolinas has joined #ruby
chipotle has quit [Quit: cheerio]
SilkFox_ has joined #ruby
Flcn has quit [Quit: Lingo: www.lingoirc.com]
baweaver has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
sargas has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
sambao21 has quit [Quit: Computer has gone to sleep.]
SilkFox_ has quit [Ping timeout: 240 seconds]
phutchins has quit [Quit: Lost terminal]
conniemj has quit [Quit: (null)]
jenrzzz has quit [Ping timeout: 240 seconds]
Hijiri has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
teddyp1c_ has quit [Read error: Connection timed out]
conniemj has joined #ruby
jenrzzz has joined #ruby
teddyp1cker has joined #ruby
leizzer has quit [Ping timeout: 245 seconds]
dfedde has joined #ruby
sambao21 has joined #ruby
rbennacer has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Ping timeout: 264 seconds]
Aswebb_ has joined #ruby
baweaver has quit [Remote host closed the connection]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has joined #ruby
djbkd has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
<aarwine> bradland: I dunno if you're curious or not, but bundle install --path=vendor/bundle works and bundle install -deployment doesn't. For some reason --deployment doesn't look in vendor/bundle when requireing gems as a result of a build
yfeldblu_ has joined #ruby
djbkd has joined #ruby
phantomtiger has quit [Ping timeout: 255 seconds]
hornairs_ has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
dfinninger has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
econerd4ever has quit [Quit: Leaving...]
pdoherty has quit [Remote host closed the connection]
hornairs has quit [Read error: Connection reset by peer]
felipedvorak has joined #ruby
<zenspider> rajeshchawla: what's up?
shellfu has quit [Remote host closed the connection]
<bradland> aarwine: yeesh. that doesn't seem right
<rajeshchawla> i have an issue trying to get racc to compile the sample grammer of calc.y...installation seemed to go properly and a racc script was generated
wolf4ood has joined #ruby
<rajeshchawla> but the command 'racc -o calc calc.y' fails with the following error
bMalum has quit [Quit: bMalum]
<rajeshchawla> /Users/rajeshchawla/.rvm/rubies/ruby-2.1.2/bin/racc:301:in `<class:RaccTableFile>': Use RbConfig instead of obsolete and deprecated Config.
<rajeshchawla> /Users/rajeshchawla/.rvm/rubies/ruby-2.1.2/bin/racc:301:in `<class:RaccTableFile>': Use RbConfig instead of obsolete and deprecated Config.
<rajeshchawla> /Users/rajeshchawla/.rvm/rubies/ruby-2.1.2/bin/racc:99:in `get_options': undefined method `map' for #<String:0x007fa22290eae0> (NoMethodError)
<rajeshchawla> from /Users/rajeshchawla/.rvm/rubies/ruby-2.1.2/bin/racc:25:in `racc_main'
<rajeshchawla> from /Users/rajeshchawla/.rvm/rubies/ruby-2.1.2/bin/racc:527:in `<main>'
<bradland> rajeshchawla: please use http://pastie.org for stack traces to avoid flooding the channel
charliesome has quit [Quit: zzz]
<bradland> thx :)
<rajeshchawla> sorry about that -- http://pastie.org/9823092
cpt_yossarian has joined #ruby
jheg has quit [Quit: jheg]
<zenspider> rajeshchawla: what version of racc?
mjuszczak has joined #ruby
<rajeshchawla> 1.4.5 -- downloaded from http://i.loveruby.net/en/projects/racc/
djbkd has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 240 seconds]
<zenspider> the latest version is 1.4.12 and is released as a gem. use that.
dpy has joined #ruby
Faiqus has left #ruby [#ruby]
ghr has joined #ruby
<rajeshchawla> excellent, will do
mjuszczak has quit [Client Quit]
<zenspider> minero doesn't maintain racc anymore
DadoCe has joined #ruby
jheg has joined #ruby
treehug88 has quit []
mary5030_ has joined #ruby
mjuszczak has joined #ruby
<rajeshchawla> the gem installed and worked on the sample grammar with no issues. thanks!
<zenspider> n/p
<zenspider> I wish we could get him to update his website but he's entirely AWOL
bronson has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
mary5030 has quit [Ping timeout: 244 seconds]
enebo has quit [Quit: enebo]
alvaro_o has quit [Quit: Ex-Chat]
DadoCe has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
lj300 has joined #ruby
lj300 has left #ruby [#ruby]
dangerousdave has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ozkar has quit [Ping timeout: 246 seconds]
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
chaos_ has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 244 seconds]
crueber has quit [Quit: Leaving.]
charliesome has joined #ruby
jheg has quit [Quit: jheg]
blackmesa has quit [Quit: WeeChat 1.0.1]
djbkd has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
DadoCe has joined #ruby
Hijiri has joined #ruby
baweaver has joined #ruby
DadoCe has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
recurrence has quit [Quit: recurrence]
recurrence has joined #ruby
charliesome has joined #ruby
djbkd has joined #ruby
LouisRoR has quit [Ping timeout: 264 seconds]
DonOtreply has quit [Ping timeout: 265 seconds]
jobewan has quit [Quit: Leaving]
windowlicker has quit [Quit: Lost terminal]
recurrence has quit [Read error: Connection reset by peer]
dpy has quit [Ping timeout: 264 seconds]
Aswebb_ has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sargas has quit [Quit: This computer has gone to sleep]
aeon_t has quit [Quit: aeon_t]
postmodern has joined #ruby
Hijiri has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
DonOtreply has joined #ruby
iceden has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
pwnz0r has quit [Remote host closed the connection]
deryl has joined #ruby
Hijiri has joined #ruby
<icbm> FWIW, I'm using whittle instead of racc for a personal project, and it's all right.
Xeago_ has joined #ruby
codeFiend has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
djbkd has quit [Remote host closed the connection]
Porpado has joined #ruby
charliesome has quit [Quit: zzz]
snath has quit [Ping timeout: 244 seconds]
sambao21 has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
Hijiri has quit [Ping timeout: 255 seconds]
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
hephaestus_rg has joined #ruby
sambao21 has quit [Client Quit]
diegovio1 is now known as diegoviola
SilkFox_ has joined #ruby
baweaver has quit [Remote host closed the connection]
<majeure> Ruby on fleek.
<rajeshchawla> icbm: thanks for the idea, i'll check out whittle
deric_skibotn has joined #ruby
conniemj has quit [Quit: (null)]
charliesome has quit [Ping timeout: 272 seconds]
pengin has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 245 seconds]
pengin has joined #ruby
pengin has quit [Read error: Connection reset by peer]
conniemj has joined #ruby
pengin has joined #ruby
iceden has joined #ruby
spider-mario has quit [Remote host closed the connection]
ziyadb has quit [Quit: Connection closed for inactivity]
baweaver has joined #ruby
nicolastarzia has joined #ruby