havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
CJKinni has quit [Ping timeout: 252 seconds]
rkazak has joined #ruby
pawnbox has joined #ruby
CJKinni has joined #ruby
rkazak has quit [Ping timeout: 244 seconds]
swein has joined #ruby
CJKinni has quit [Ping timeout: 250 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
Gasher has quit [Quit: Leaving]
sdwrage has joined #ruby
Oclair has joined #ruby
smathy has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stardiviner has joined #ruby
swein has quit [Ping timeout: 244 seconds]
wilsonc91 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 244 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
sfmk has joined #ruby
tax has quit [Quit: Leaving]
sdwrage has quit [Quit: This computer has gone to sleep]
tax has joined #ruby
wrkrcoop has joined #ruby
wrkrcoop has quit [Client Quit]
|ifei5g00d has quit []
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sfmk> Could I get some fresh eyes? I've got an issue with my regex being "ambiguous"
CJKinni has joined #ruby
mistermocha has quit [Remote host closed the connection]
swein has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
<mozzarella> !ask
startupality has quit [Client Quit]
jenrzzz has joined #ruby
swein has quit [Ping timeout: 244 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
<Radar> sfmk: show us your code.
mistermocha has joined #ruby
<sfmk> working on that, and the error I'm getting
RegulationD has quit [Remote host closed the connection]
<sfmk> https://gist.github.com/aburgd/fe474df186d0fda4d54c5548815d0ebf here is the code, and the error I'm talking about is the first line
RegulationD has joined #ruby
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 250 seconds]
sdwrage has joined #ruby
<sfmk> I'm using the Cinch framework, and am trying to add a command for using Ruby's Time class, but I cannot get the regex right, I guess
<sfmk> I've tried with parens before and after the /, without the parens, with a caret before the bang - all without luck
amclain has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 246 seconds]
hutch34_ has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
swein has joined #ruby
ocbtec has quit [Quit: leaving]
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
curses has joined #ruby
hutch34_ has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
swein has quit [Ping timeout: 244 seconds]
sneakerhax has quit [Ping timeout: 244 seconds]
mistermocha has quit [Ping timeout: 276 seconds]
ruby248 has joined #ruby
curses has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
ruby248 has quit [Ping timeout: 250 seconds]
jetpack_joe has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
swein has joined #ruby
marr has quit [Ping timeout: 276 seconds]
swein has quit [Ping timeout: 260 seconds]
mistermocha has joined #ruby
centrx has joined #ruby
sdwrage has quit [Quit: Leaving]
stannard has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 276 seconds]
stannard has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
swein has joined #ruby
rkazak has joined #ruby
skweek has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
chopin has quit [Ping timeout: 252 seconds]
swein has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
<al2o3-cr> sfmk: so did you try the parens?
wilsonc91 has joined #ruby
xxneolithicxx has joined #ruby
<sfmk> al2o3-cr: I did, it got rid of the ambiguous complaint
swein has joined #ruby
tax has quit [Ping timeout: 252 seconds]
al2o3-cr has quit [Ping timeout: 260 seconds]
wilsonc91 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swein has quit [Ping timeout: 252 seconds]
halfamind has joined #ruby
tax has joined #ruby
wilsonc91 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
al2o3-cr has joined #ruby
wilsonc91 has quit [Client Quit]
wilsonc91 has joined #ruby
frem_ has quit [Quit: Connection closed for inactivity]
halfamind has quit [Ping timeout: 260 seconds]
Todd has quit [Ping timeout: 240 seconds]
davedev24 has quit []
swein has joined #ruby
Coldblackice has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
swills has quit [Ping timeout: 246 seconds]
<agent_white> Evenin' folks
beauby has quit [Ping timeout: 250 seconds]
maxdoubt has quit [Quit: maxdoubt]
maxdoubt has joined #ruby
ropeney has joined #ruby
swein has quit [Ping timeout: 244 seconds]
swills has joined #ruby
flashpoint9 has joined #ruby
rrichardsr3 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
sdwrage has joined #ruby
nerium_ has joined #ruby
diegoviola has joined #ruby
nerium has quit [Ping timeout: 276 seconds]
nerium_ is now known as nerium
swein has joined #ruby
<al2o3-cr> good morning
maxdoubt has quit [Quit: maxdoubt]
gtsai_ has quit [Remote host closed the connection]
jetpack_joe has quit [Ping timeout: 276 seconds]
jaguarmagenta has joined #ruby
Snowy has quit [Remote host closed the connection]
swein has quit [Ping timeout: 252 seconds]
akiTendo has quit [Quit: akiTendo]
blackmesa has joined #ruby
akiTendo has joined #ruby
rbennacer has joined #ruby
halfamind has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
isxek has quit [Remote host closed the connection]
mistermocha has joined #ruby
nerium has quit [Quit: nerium]
swein has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
tax has quit [Read error: Connection reset by peer]
tax has joined #ruby
swein has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
minimalism has joined #ruby
arescorpio has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
chopin has joined #ruby
swein has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
DarthGandalf has quit [Ping timeout: 276 seconds]
Vingador has joined #ruby
DarthGandalf has joined #ruby
tax has quit [Remote host closed the connection]
tax has joined #ruby
tax has quit [Remote host closed the connection]
tax has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swein has quit [Ping timeout: 260 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maxdoubt has joined #ruby
A5101 has joined #ruby
Madplatypus has joined #ruby
ur5us has quit [Remote host closed the connection]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swein has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
blackgoat has joined #ruby
auzty has joined #ruby
bronson has joined #ruby
wilsonc91 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swein has quit [Ping timeout: 244 seconds]
hutch34_ has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 252 seconds]
hightower2 has quit [Ping timeout: 260 seconds]
lukeholder has joined #ruby
lukeholder has quit [Client Quit]
chip_ has quit [Ping timeout: 252 seconds]
tax has quit [Quit: Leaving]
tax has joined #ruby
swein has joined #ruby
kies has quit [Ping timeout: 252 seconds]
arlek_ has joined #ruby
swein has quit [Ping timeout: 250 seconds]
Kallis has quit [Read error: Connection reset by peer]
Amnez777 has quit [Ping timeout: 276 seconds]
akiTendo has quit [Quit: akiTendo]
sdwrage has quit [Quit: This computer has gone to sleep]
cdg has joined #ruby
dessm has joined #ruby
Amnez777 has joined #ruby
hutch34_ has joined #ruby
impermanence has joined #ruby
govg has joined #ruby
tax has quit [Remote host closed the connection]
tax has joined #ruby
swein has joined #ruby
curses has joined #ruby
Tyrant_ has quit [Quit: Tyrant_]
<dessm> Hi, I have three questions. I am wondering why (Q1) exactly and how (Q2) 'first' works on hashes. 'first' is neither listed in the ruby documentation under hashes nor is it listed in the irb if I type Hash.methods. I suspect that my understanding is still too deficient to google this properly since my search terms don't seem to turn up answers to the question. Q3: I am also wondering if...
<dessm> ...'first' indeed does work on hashes where I might find a COMPLETE list of all the methods that can be applied to hashes.Thank you :)
ur5us has joined #ruby
tax has quit [Read error: Connection reset by peer]
wreet has joined #ruby
swein has quit [Ping timeout: 244 seconds]
curses has quit [Ping timeout: 252 seconds]
cosmicfires has joined #ruby
nankyokusei has joined #ruby
<cosmicfires> Hi is it better to use a timer or sleep in ruby?
rrichardsr3 has quit [Ping timeout: 260 seconds]
tax has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
cholq has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
Masteroshi57 has joined #ruby
sdwrage has joined #ruby
blackmesa has joined #ruby
swein has joined #ruby
rrichardsr3 has joined #ruby
JoshGlzBrk has joined #ruby
<ramfjord_> If you're making a gem, and you want to use yard for documentation, do you put it as a development dependency or do you just make sure it's installed in your build environment?
cholq has quit [Quit: Leaving...]
<ramfjord_> cosmicfires: what are you trying to do?
<Radar> ramfjord_: development dependency. Yard should not be required for the functionality of the gem
<ramfjord_> dessm: I'm guessing you couldn't find #first in the instance method list at something like http://docs.ruby-lang.org/en/2.0.0/Hash.html. When you can't find a method, look at the parent and the included modules
blackmesa has quit [Ping timeout: 250 seconds]
<ramfjord_> in this case #first comes from Enumerable (http://docs.ruby-lang.org/en/2.0.0/Enumerable.html)
swein has quit [Ping timeout: 246 seconds]
<cosmicfires> I want to ping periodically to check for network outages
<cosmicfires> ramfjord_
<ramfjord_> cosmicfires: I would expect sleep to work fine for that
<cosmicfires> thanks
<cosmicfires> is there a difference in performance?
<ramfjord_> Radar: yeah, but you could argue that it's not even a development dependency - you only need it to generate the docs, not to run the tests
stannard has joined #ruby
<Radar> ramfjord_: Docs are useful for development.
<cosmicfires> when would it be good to use the timers gem?
<ramfjord_> mmmk, it's easier to put it in there anyway
<dessm> Ah I see, thank you ramfjord_
<ramfjord_> I've just noticed some projects taht seem to use Yard for docs, but don't have it as a dev dependency (PG gem)
tmtwd has joined #ruby
Todd has joined #ruby
<ramfjord_> cosmicfires: I'm not familiar with that gem, but from looking at the docs[1] it seems that you would still need to call #sleep. It looks like Timer is mainly for tracking the amount of time you've take with certain tasks. [1] http://www.rubydoc.info/github/rubyworks/facets/Timer
<cosmicfires> thank you ramfjord_
mbreedlove has joined #ruby
<ramfjord_> The second example there is calling sleep, and using timer just for keeping track of the amount of time between resets
tax has quit [Quit: Leaving]
tax has joined #ruby
<cosmicfires> I've been working with a system where sleep paraylizes most of it you have to use timers
stannard has quit [Ping timeout: 244 seconds]
maxdoubt has quit [Quit: maxdoubt]
noService has quit [Ping timeout: 260 seconds]
gtsai has joined #ruby
lukeholder has joined #ruby
mistermocha has joined #ruby
swein has joined #ruby
braincrash has quit [Quit: bye bye]
dessm has quit [Remote host closed the connection]
maxdoubt has joined #ruby
halfamind has quit [Quit: Leaving.]
zenlot has joined #ruby
gix has quit [Ping timeout: 244 seconds]
arlek_ has quit [Ping timeout: 240 seconds]
gtsai has quit [Ping timeout: 260 seconds]
zenlot6 has quit [Ping timeout: 244 seconds]
swein has quit [Ping timeout: 244 seconds]
|2701 has quit [Quit: Connection closed for inactivity]
shakes has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.5]
LoneHerm_ has joined #ruby
gix has joined #ruby
braincrash has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
tax has quit [Quit: Leaving]
skweek has quit [Ping timeout: 260 seconds]
vdamewood has quit [Read error: Connection reset by peer]
LoneHerm_ has joined #ruby
vdamewood has joined #ruby
swein has joined #ruby
chipotle has joined #ruby
MrSamuel has joined #ruby
sesquipedalian has joined #ruby
yfeldblum has quit [Remote host closed the connection]
k3rn31 has joined #ruby
yfeldblum has joined #ruby
wald0 has quit [Quit: Lost terminal]
<agent_white> >> "asdf"
<ruby[bot]> agent_white: # => "asdf" (https://eval.in/574081)
govg has quit [Quit: leaving]
kgrz has joined #ruby
<agent_white> >> puts "Herro"; puts "-"*_
<ruby[bot]> agent_white: # => Herro ...check link for more (https://eval.in/574082)
rrichardsr3 has quit [Quit: He who dares .... wins.]
swein has quit [Ping timeout: 276 seconds]
<agent_white> >> "one"; _.length
<ruby[bot]> agent_white: I'm terribly sorry, I could not evaluate your code because of an error: OpenURI::HTTPError:500 Internal Server Error
<agent_white> >> "one"; puts _.length
<ruby[bot]> agent_white: # => undefined local variable or method `_' for main:Object (NameError) ...check link for more (https://eval.in/574084)
whathappens has quit [Remote host closed the connection]
<agent_white> >> "a" && _ << "b"
<ruby[bot]> agent_white: # => undefined local variable or method `_' for main:Object (NameError) ...check link for more (https://eval.in/574086)
<agent_white> Lame.
<agent_white> Ok I'm done :D
mistermocha has quit [Remote host closed the connection]
zast has joined #ruby
mbreedlove has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
imperman1nce has joined #ruby
wreet has quit [Quit: Leaving]
rbennacer has quit [Remote host closed the connection]
mbreedlove has joined #ruby
swein has joined #ruby
impermanence has quit [Ping timeout: 252 seconds]
mbreedlove has quit [Max SendQ exceeded]
mbreedlove has joined #ruby
kgrz has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
RegulationD has joined #ruby
swein has quit [Ping timeout: 244 seconds]
tmtwd has quit [Ping timeout: 246 seconds]
yfeldblu_ has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 260 seconds]
momomomomo has quit [Quit: momomomomo]
maxdoubt has quit [Quit: maxdoubt]
blackwell has quit [Ping timeout: 260 seconds]
sesquipedalian has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
Es0teric has joined #ruby
yfeldblu_ has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
|ifei5g00d has joined #ruby
LoneHerm_ has joined #ruby
swein has joined #ruby
kgrz has joined #ruby
blackwell has joined #ruby
jaguarmagenta has joined #ruby
tmtwd has joined #ruby
braincra- has joined #ruby
RobertBirnie has joined #ruby
swein has quit [Ping timeout: 250 seconds]
sesquipedalian has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
MrSamuel has quit [Quit: MrSamuel]
kgrz has quit [Read error: Connection reset by peer]
braincrash has quit [Ping timeout: 276 seconds]
mbreedlove has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
crystal77 has joined #ruby
swein has joined #ruby
ramfjord_ has quit [Ping timeout: 252 seconds]
kgrz has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 260 seconds]
swein has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
jenrzzz has joined #ruby
noService has joined #ruby
lukeholder has joined #ruby
pawnbox has joined #ruby
shakes has quit [Quit: Leaving]
mistermocha has quit [Remote host closed the connection]
swein has joined #ruby
mistermocha has joined #ruby
kareeoleez has joined #ruby
imperman1nce has quit [Quit: leaving]
kareeoleez has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
d0lph1n98 has quit [Ping timeout: 276 seconds]
kareeoleez has joined #ruby
MrSamuel has joined #ruby
swein has quit [Ping timeout: 276 seconds]
dEPy has joined #ruby
sfmk has quit [Quit: Connection closed for inactivity]
hutch34_ has quit [Quit: WeeChat 1.5]
UKn0Me has quit [Quit: Gone shopping.]
CrazyEddy has joined #ruby
ta_ has quit [Remote host closed the connection]
UKn0Me has joined #ruby
ilovemysillybana has joined #ruby
swein has joined #ruby
dsea has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LBRapid has quit [Ping timeout: 250 seconds]
_dev has quit [Ping timeout: 260 seconds]
swein has quit [Ping timeout: 244 seconds]
Nightmare has quit [Ping timeout: 264 seconds]
_dev has joined #ruby
centrx has quit [Quit: centrx]
LBRapid has joined #ruby
Nightmare has joined #ruby
centrx has joined #ruby
swein has joined #ruby
k3rn31 has quit [Quit: Leaving...]
k3rn31 has joined #ruby
CJKinni has quit [Remote host closed the connection]
swein has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
Schweppes has joined #ruby
curses has joined #ruby
twistedpixels has quit [Quit: ZNC - http://znc.in]
halfamind has joined #ruby
statelesscode has joined #ruby
twistedpixels has joined #ruby
twistedpixels has joined #ruby
halfamind has quit [Client Quit]
swein has joined #ruby
bluOxigen has joined #ruby
Guest47468 has quit [Ping timeout: 276 seconds]
neanderslob has quit [Ping timeout: 250 seconds]
curses has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
dEPy has quit [Quit: (null)]
swein has quit [Ping timeout: 244 seconds]
nando293921 has quit [Ping timeout: 260 seconds]
centrx has quit [Quit: centrx]
LoneHerm_ has quit [Remote host closed the connection]
centrx has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Devalo has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
jackjackdripper1 has joined #ruby
blackmesa has joined #ruby
vdamewood has quit [Quit: Life beckons.]
swein has joined #ruby
grassass has joined #ruby
MrSamuel has quit [Quit: MrSamuel]
sameerynho has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
yfeldblum has joined #ruby
skolman has joined #ruby
swein has quit [Ping timeout: 260 seconds]
nando293921 has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sameerynho has quit [Ping timeout: 276 seconds]
cdg has quit [Remote host closed the connection]
janebootydoe has joined #ruby
mistermocha has quit [Remote host closed the connection]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman has quit [Ping timeout: 260 seconds]
zapata has quit [Quit: WeeChat 1.5]
nando293921 has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
swein has joined #ruby
zapata has joined #ruby
jenrzzz has joined #ruby
MrSamuel has joined #ruby
lukeholder has joined #ruby
tmtwd has quit [Ping timeout: 246 seconds]
swein has quit [Ping timeout: 244 seconds]
kies has joined #ruby
moeabdol has joined #ruby
eljimador has quit [Quit: Leaving]
roelof has joined #ruby
<roelof> is there a way I can collect the url where x = 1 and y = 0 ?
ta_ has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
<roelof> maybe something like .collect { |item| item["url"] if item["x"] == 1 && item["y"] == 0 } ??
Devalo has joined #ruby
auzty has quit [Ping timeout: 244 seconds]
Axy has quit [Read error: Connection reset by peer]
swein has joined #ruby
kareeoleez has quit [Remote host closed the connection]
RobertBirnie has joined #ruby
swein has quit [Ping timeout: 246 seconds]
diegoaguilar has quit [Read error: Connection reset by peer]
zast has quit [Remote host closed the connection]
nando293921 has joined #ruby
cosmicfires has quit [Ping timeout: 276 seconds]
MrSamuel has quit [Quit: MrSamuel]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
woodruffw has quit [Quit: And then he took off.]
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
woodruffw has joined #ruby
woodruffw has quit [Excess Flood]
JesseH has quit [Quit: Leaving]
woodruffw has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
dsea has quit [Read error: Connection reset by peer]
swein has joined #ruby
chopin has quit [Remote host closed the connection]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tmtwd has joined #ruby
jas02 has joined #ruby
auzty has joined #ruby
swein has quit [Ping timeout: 244 seconds]
dsea has joined #ruby
Dimik has joined #ruby
<Radar> roelof: .select, not .collect
cosmicfires has joined #ruby
<roelof> Radar: thanks, Im trying to display a image which is divided into 2, 3 or 4 parts
<roelof> I think I will use a table without border so the user sees only 1 image
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swein has joined #ruby
aufi has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
swein has quit [Ping timeout: 250 seconds]
auzty has quit [Ping timeout: 240 seconds]
kgrz has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
_joes__ has joined #ruby
blackmesa has joined #ruby
LoneHermit has joined #ruby
pikajude has quit [Quit: Quit]
swein has joined #ruby
kareeoleez has joined #ruby
pikajude has joined #ruby
pikajude has joined #ruby
_joes__ has quit [Client Quit]
tmtwd has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
swein has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
<postmodern> on MRI don't Structs technically allocate less memory than Arrays?
tax has joined #ruby
auzty has joined #ruby
d0lph1n98 has joined #ruby
rbennace_ has joined #ruby
rbennacer has quit [Ping timeout: 252 seconds]
moeabdol has joined #ruby
solars has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Vingador_ has joined #ruby
swein has joined #ruby
Vingador has quit [Ping timeout: 260 seconds]
rbennace_ has quit [Ping timeout: 260 seconds]
swein has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
roelof has left #ruby [#ruby]
coffeecupp has joined #ruby
[spoiler] has joined #ruby
Coldblackice has joined #ruby
swein has joined #ruby
LoneHerm_ has joined #ruby
bronson has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
firstdayonthejob has joined #ruby
chipotle has joined #ruby
PaulCape_ has joined #ruby
sarlalian has quit [Ping timeout: 260 seconds]
Devalo has quit [Remote host closed the connection]
swein has quit [Ping timeout: 244 seconds]
hogetaro_ has joined #ruby
noService has quit [Ping timeout: 260 seconds]
existensil has quit [Ping timeout: 276 seconds]
hogetaro has quit [Ping timeout: 276 seconds]
Ariadeno_ has quit [Ping timeout: 276 seconds]
mburns has quit [Ping timeout: 276 seconds]
veloutin has quit [Ping timeout: 276 seconds]
PaulCapestany has quit [Ping timeout: 260 seconds]
rgs has quit [Ping timeout: 260 seconds]
Coldblackice has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 252 seconds]
mtkd has quit [Ping timeout: 276 seconds]
Tharbakery has quit [Ping timeout: 276 seconds]
tris has quit [Ping timeout: 276 seconds]
kaleido has quit [Ping timeout: 276 seconds]
kriskropd has quit [Ping timeout: 276 seconds]
sarlalian has joined #ruby
Ariadeno has joined #ruby
LaT0rtue has joined #ruby
mburns has joined #ruby
mtkd has joined #ruby
centrx has quit [Quit: centrx]
rgs has joined #ruby
Ariadeno is now known as Guest71979
kaleido has joined #ruby
Coldblackice has joined #ruby
syndikate has quit [Ping timeout: 276 seconds]
centrx has joined #ruby
centrx has quit [Client Quit]
Tharbakim has joined #ruby
neanderslob has joined #ruby
existensil has joined #ruby
lsmola has joined #ruby
janebootydoe has quit [Quit: Leaving]
tris has joined #ruby
coffeecupp has quit [Ping timeout: 260 seconds]
veloutin has joined #ruby
PaulCapestany has joined #ruby
kriskropd has joined #ruby
swein has joined #ruby
PaulCape_ has quit [Ping timeout: 260 seconds]
meatchicken has quit [Ping timeout: 260 seconds]
crdpink has quit [Ping timeout: 260 seconds]
auzty has quit [Quit: Leaving]
meatchicken has joined #ruby
auzty has joined #ruby
CloCkWeRX has joined #ruby
rbennacer has joined #ruby
EdwardIII has quit [Ping timeout: 240 seconds]
emilkarl has joined #ruby
noService has joined #ruby
EdwardIII has joined #ruby
crdpink has joined #ruby
swein has quit [Ping timeout: 252 seconds]
kgrz has joined #ruby
meatchicken has quit [Ping timeout: 260 seconds]
Vingador_ has quit [Ping timeout: 252 seconds]
lukeholder has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
meatchicken has joined #ruby
kies has quit [Read error: Connection reset by peer]
kgrz has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
ruby-lang569 has joined #ruby
swein has joined #ruby
aganov has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
nankyokusei has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
rrichardsr3 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
ruby-lang569 has quit [Ping timeout: 250 seconds]
swein has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
gtsai has joined #ruby
cosmicfires has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
sameerynho has joined #ruby
blackmesa has joined #ruby
CausaMortis has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
gtsai has quit [Ping timeout: 246 seconds]
swein has joined #ruby
terlar has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
ItSANg___ has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
tax has quit [Quit: Leaving]
ItSANgo has quit [Ping timeout: 240 seconds]
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
kgrz has joined #ruby
mistermocha has joined #ruby
swein has quit [Ping timeout: 252 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
cosmicfires has joined #ruby
mistermocha has quit [Ping timeout: 260 seconds]
giz|work has joined #ruby
noobsu has joined #ruby
lukeholder has quit [Quit: Textual IRC Client: www.textualapp.com]
kgrz has quit [Ping timeout: 260 seconds]
n1x-nz has joined #ruby
Es0teric has joined #ruby
rbennacer has joined #ruby
TomyWork has joined #ruby
LoneHerm_ has joined #ruby
swein has joined #ruby
fenre has joined #ruby
coffeecupp has joined #ruby
noobsu has quit [Remote host closed the connection]
rbennace_ has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
fbandov has joined #ruby
ferr1 has quit [Ping timeout: 260 seconds]
LoneHerm_ has quit [Ping timeout: 240 seconds]
swein has quit [Ping timeout: 244 seconds]
rbennace_ has quit [Ping timeout: 240 seconds]
noobsu has joined #ruby
anisha has joined #ruby
fenre has quit [Remote host closed the connection]
fenre has joined #ruby
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
swein has joined #ruby
rbennacer has joined #ruby
Olipro has quit [Ping timeout: 260 seconds]
mark_66 has joined #ruby
Devalo has joined #ruby
coffeecupp has quit [Ping timeout: 276 seconds]
kgrz has joined #ruby
patrick_star_3 has joined #ruby
swein has quit [Ping timeout: 246 seconds]
stardiviner has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby
patrick_star_2 has quit [Ping timeout: 252 seconds]
kgrz has quit [Read error: Connection reset by peer]
Devalo has quit [Ping timeout: 250 seconds]
Coldblackice has quit [Ping timeout: 260 seconds]
Tyrant_ has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
RegulationD has joined #ruby
swein has joined #ruby
last_staff has joined #ruby
swein has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 260 seconds]
coffeecupp has joined #ruby
mikar has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
Couch has joined #ruby
sepp2k has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
swein has joined #ruby
coffeecupp has quit [Quit: WeeChat 1.5]
jenrzzz has quit [Ping timeout: 260 seconds]
sameerynho has joined #ruby
kgrz has joined #ruby
bookies has joined #ruby
<bookies> I apologise. I am new to refactoring. For a reason I cannot test this. Could you please tell me if my refactoring to the new file correct? (https://gist.github.com/stefioan/6b781ef54b89ea3a5c97f40c42eafe6c) Will it call the new method?
troulouliou_div2 has joined #ruby
swein has quit [Ping timeout: 260 seconds]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kumardev has joined #ruby
fbandov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kumardev> Hi , i wanted to make a standalone authentication in ruby . Any suggestions except SAML ?
giz|work has joined #ruby
craigp has joined #ruby
blackmesa has joined #ruby
CloCkWeRX has left #ruby [#ruby]
kgrz has quit [Ping timeout: 260 seconds]
fenre has quit [Read error: Connection reset by peer]
fenre has joined #ruby
swein has joined #ruby
Mia has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
Snowy has joined #ruby
kgrz has joined #ruby
chrismytton has joined #ruby
mbreedlo_ has joined #ruby
fenre has quit [Read error: Connection reset by peer]
swein has quit [Ping timeout: 244 seconds]
cosmicfires has quit [Ping timeout: 276 seconds]
rbennacer has quit [Ping timeout: 276 seconds]
noService has quit [Ping timeout: 244 seconds]
ocbtec has joined #ruby
fenre has joined #ruby
fenre has quit [Remote host closed the connection]
marr has joined #ruby
fenre has joined #ruby
fbandov has joined #ruby
insanedreamer has quit [Quit: insanedreamer]
Olipro has joined #ruby
swein has joined #ruby
biberu has joined #ruby
fenre has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
janebootydoe has joined #ruby
Shashikant86 has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
astrobunny has joined #ruby
noService has joined #ruby
fenre has joined #ruby
fenre has quit [Remote host closed the connection]
cosmicfires has joined #ruby
fenre has joined #ruby
swein has quit [Ping timeout: 246 seconds]
mbreedlove has joined #ruby
Gasher has joined #ruby
mbreedlo_ has quit [Ping timeout: 276 seconds]
mbreedlove has quit [Max SendQ exceeded]
mbreedlove has joined #ruby
astrobunny has quit [Remote host closed the connection]
drptbl has joined #ruby
drptbl has quit [Client Quit]
insanedreamer has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
noService has quit [Ping timeout: 240 seconds]
swein has joined #ruby
bronson has joined #ruby
tomphp has joined #ruby
bookies has quit [Quit: Page closed]
Devalo has joined #ruby
tomphp has quit [Max SendQ exceeded]
swein has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 252 seconds]
rbennacer has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
swein has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
chouhoulis has joined #ruby
ext0 has joined #ruby
saush has joined #ruby
aupadhye has joined #ruby
Shashikant86 has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
<saush> I am currently benchmarking ruby, so for every commit made to ruby trunk I have to fetch, recompile everything and then benchmark. Compiling takes me a lot of time. Is there another way out?
gregf_ has left #ruby [#ruby]
lsmola has quit [Ping timeout: 260 seconds]
d0lph1n98 has quit [Ping timeout: 260 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
swein has quit [Ping timeout: 260 seconds]
curses has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
skade has joined #ruby
aupadhye is now known as aupadhye|bomgar
astrobunny has quit [Ping timeout: 260 seconds]
toretore has joined #ruby
noService has joined #ruby
rbennacer has joined #ruby
curses has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
eljimmy has quit [Quit: Leaving]
eljimmy has joined #ruby
swein has joined #ruby
cosmicfires has quit [Ping timeout: 276 seconds]
noService has quit [Ping timeout: 260 seconds]
chipotle has quit [Quit: cheerio]
nankyokusei has quit [Ping timeout: 260 seconds]
swein has quit [Ping timeout: 244 seconds]
evidex has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
<saush> I am currently benchmarking ruby, so for every commit made to ruby trunk I have to fetch, recompile everything and then benchmark. Compiling takes me a lot of time. Is there another way out?
platzhirsch has joined #ruby
zenlot6 has joined #ruby
blackmesa has joined #ruby
jaguarmagenta has joined #ruby
<hanmac> saush: i don't think there is an easy way ... i also use "rvm reinstall ruby-head" to rebuild ruby
auzty has quit [Ping timeout: 246 seconds]
zenlot has quit [Ping timeout: 260 seconds]
LoneHermit has joined #ruby
<saush> hanmac: So for a single commit we need to recompile everything? Can't we use the previously compiled ruby in some way and just make the necessary changes?
rbennacer has joined #ruby
saneax_AFK is now known as saneax
labaleine has joined #ruby
skade has quit [Ping timeout: 260 seconds]
qasaur has joined #ruby
swein has joined #ruby
<hanmac> saush: it depends how you checkout and install your ruby ... if you have a checked out repo from ruby and you build it there, than it should probably only build whats needed to build ... otherwise you might get a problem because you might need to run configure again (and then you probably need to rebuild all again too) ... so its not an easy answer for that.
skade has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
jaguarmagenta has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
cosmicfires has joined #ruby
qasaur has quit [Client Quit]
LoneHermit has quit [Ping timeout: 252 seconds]
rbennacer has quit [Read error: Connection reset by peer]
rbennace_ has joined #ruby
mbreedlove has quit [Ping timeout: 260 seconds]
Schweppes has quit [Ping timeout: 260 seconds]
swein has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
rbennace_ has quit [Ping timeout: 252 seconds]
d0lph1n98 has joined #ruby
saush has quit [Quit: Page closed]
auzty has joined #ruby
JakFrist has joined #ruby
noService has joined #ruby
codecop has joined #ruby
rbennacer has joined #ruby
swein has joined #ruby
syndikate has joined #ruby
blaxter has joined #ruby
mbreedlove has joined #ruby
gregf_ has joined #ruby
noService has quit [Ping timeout: 252 seconds]
mbreedlove has quit [Max SendQ exceeded]
rbennacer has quit [Ping timeout: 244 seconds]
swein has quit [Ping timeout: 244 seconds]
mbreedlove has joined #ruby
kareeoleez is now known as MrTapas
rrichardsr3 has joined #ruby
MrTapas is now known as ForaoTapa
mbreedlove has quit [Max SendQ exceeded]
nadir has quit [Quit: Connection closed for inactivity]
jackjackdripper1 has quit [Quit: Leaving.]
ForaoTapa is now known as kareeoleez
rrichardsr3 has quit [Max SendQ exceeded]
mbreedlove has joined #ruby
rrichardsr3 has joined #ruby
zenlot has joined #ruby
mbreedlove has quit [Max SendQ exceeded]
chipotle has joined #ruby
zenlot6 has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
skade has quit [Read error: Connection reset by peer]
mbreedlove has joined #ruby
c355e3b has joined #ruby
swein has joined #ruby
dumdedum has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
skade has joined #ruby
terlar has quit [Quit: WeeChat 1.5]
framling has joined #ruby
skade has quit [Read error: Connection reset by peer]
noobsu has quit [Remote host closed the connection]
swein has quit [Ping timeout: 276 seconds]
skade has joined #ruby
noService has joined #ruby
yfeldblum has joined #ruby
gtsai has joined #ruby
RegulationD has joined #ruby
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
depesz has left #ruby ["WeeChat 1.5-dev"]
sameerynho has quit [Ping timeout: 252 seconds]
jud^ is now known as jud
lsmola has joined #ruby
jud has quit [Changing host]
jud has joined #ruby
swein has joined #ruby
aupadhye|bomgar is now known as aupadhye|brb
johnbat26 has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
gtsai has quit [Ping timeout: 276 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cheerio]
swein has quit [Ping timeout: 244 seconds]
n1x-nz has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
swein has joined #ruby
CloCkWeRX has joined #ruby
mdw has joined #ruby
Ishido has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swein has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
<labaleine> Hello ! I don't get perfectly the synthax "#{}". I do understand that it can be used in a text with a variable. But I don't understand this way of using it
<labaleine> all_tasks.map.with_index { |l, i| "(#{i.next}): #{l}"}
<labaleine> I see that it works however I would have done more something like this all_tasks.map.with_index { |v, i| i + next v
<labaleine> Can you explain me a bit more the use of this syntax ?
<framling> anything inside the #{} gets evaluated, then the result is interpolated into the string
blackmesa has joined #ruby
dumdedum has quit [Quit: foo]
joonty has joined #ruby
<labaleine> I see now
<labaleine> thanks for the help.
<framling> you're welcome labaleine
Shashikant86 has joined #ruby
phatypus has joined #ruby
postmodern has quit [Quit: Leaving]
crissae has quit [Quit: Leaving]
sameerynho has joined #ruby
johnmilton has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 244 seconds]
swein has joined #ruby
crazydiamond has joined #ruby
skade has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swein has quit [Ping timeout: 244 seconds]
startupality has quit [Quit: startupality]
d0lph1n98 has quit [Ping timeout: 260 seconds]
koooge has quit [Quit: Leaving...]
mtkd has quit [Ping timeout: 252 seconds]
sameerynho has quit [Ping timeout: 244 seconds]
phatypus has quit [Quit: .>]
mtkd has joined #ruby
startupality has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swein has joined #ruby
startupality has quit [Client Quit]
terlar has joined #ruby
startupality has joined #ruby
kumardev has quit [Ping timeout: 260 seconds]
startupality has quit [Client Quit]
LaT0rtue has quit [Ping timeout: 276 seconds]
swein has quit [Ping timeout: 250 seconds]
CausaMortis has quit [Ping timeout: 260 seconds]
kumardev has joined #ruby
auzty has quit [Quit: Leaving]
bhrgunatha has joined #ruby
chipotle has joined #ruby
Shashikant86 has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swills has quit [Remote host closed the connection]
blackmesa has joined #ruby
bronson has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
swein has joined #ruby
terlar has quit [Quit: WeeChat 1.5]
CausaMortis has joined #ruby
der-landgraf has joined #ruby
bhrgunatha has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160503215307]]
JakFrist has joined #ruby
Devalo has joined #ruby
terlar has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
emilkarl has joined #ruby
strigonLeader has joined #ruby
swein has quit [Ping timeout: 244 seconds]
stardiviner has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
terlar has quit [Client Quit]
Es0teric has quit [Quit: Computer has gone to sleep.]
<strigonLeader> hey I'm playing around with regular expressions could anyone help me out I'm not sure why there are two matches happening here http://puu.sh/oYCnH/e818e2ebde.png
<strigonLeader> Is it something special about the $ character?
<adaedra> It's the end of line
terlar has joined #ruby
<adaedra> you match twice: once you match a<eol>, then <eol> (as a? is ignored the second time)
<jhass> strigonLeader: you make a optional with ?, so the first match is a[endofstringorline] which makes the string "aat", a$ no longer matches, so next you match $/[endofstringorline] and replace it with t, and you get "aatt"
<adaedra> Use sub instead of gsub.
<jhass> then the index moved past the string size and the replacement stops
<giz|work> use /n modifier?
<strigonLeader> thanks guys, sub will do exactly what I want to
noobsu has joined #ruby
d0lph1n98 has joined #ruby
<strigonLeader> I'll see if that works as well
swein has joined #ruby
<jhass> giz|work: could you elaborate how changing the encoding of the literal would change anything?
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<giz|work> nvm :P
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<giz|work> i thought its a problem of newline interpretion
curses has joined #ruby
<jhass> did you think about /m ?
<giz|work> yup
<giz|work> but that wouldn´t work
<giz|work> would it?
<jhass> yes that only influences what . matches
<giz|work> it influences ^ and $
<jhass> no
<giz|work> according to some site, yes
<jhass> according to the official docs, no
swein has quit [Ping timeout: 244 seconds]
ferr1 has joined #ruby
<giz|work> pocs or it did not happen
<jhass> /pat/m - Treat a newline as a character matched by .
<jhass> &ri Regexp
<jhass> giz|work: even your link mentions "In Ruby, (?m) makes the dot match all characters, without affecting the caret and dollar"
<giz|work> hmm okay
<giz|work> thank you :)
skade has quit [Ping timeout: 240 seconds]
curses has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
skade has joined #ruby
chipotle has quit [Quit: cheerio]
ramfjord has quit [Ping timeout: 276 seconds]
LaT0rtue has joined #ruby
skade has quit [Read error: Connection reset by peer]
swein has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
swills has joined #ruby
rodfersou has joined #ruby
ramfjord has joined #ruby
skade has joined #ruby
emilkarl has joined #ruby
johnmilton has joined #ruby
swein has quit [Ping timeout: 244 seconds]
CausaMortis has quit [Ping timeout: 276 seconds]
jaguarmagenta has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
framling has quit [Ping timeout: 260 seconds]
CloCkWeRX has left #ruby [#ruby]
kgrz has quit [Ping timeout: 252 seconds]
banister has joined #ruby
CausaMortis has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
swein has joined #ruby
sdothum has joined #ruby
stannard has quit [Ping timeout: 244 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
swein has quit [Ping timeout: 244 seconds]
troulouliou_div2 has quit [Ping timeout: 276 seconds]
mbreedlove has quit [Ping timeout: 244 seconds]
cpup has quit [Ping timeout: 244 seconds]
stardiviner has quit [Ping timeout: 276 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moeabdol has quit [Ping timeout: 252 seconds]
cpup has joined #ruby
mbreedlove has joined #ruby
Fernando-Basso has joined #ruby
CausaMortis has quit [Ping timeout: 244 seconds]
swein has joined #ruby
maucar has joined #ruby
fbandov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
toretore has quit [Ping timeout: 250 seconds]
hk238 has joined #ruby
swein has quit [Ping timeout: 244 seconds]
gnufied has joined #ruby
CausaMortis has joined #ruby
sepp2k has quit [Quit: Leaving.]
mdw has joined #ruby
gnufied has quit [Client Quit]
nemesit|znc has quit [Ping timeout: 260 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby
toretore has joined #ruby
nemesit|znc has joined #ruby
Shashikant86 has joined #ruby
d0lph1n98 has quit [Ping timeout: 260 seconds]
CROOKED^HILLARY^ has joined #ruby
sepp2k has joined #ruby
rbennacer has joined #ruby
swein has joined #ruby
labaleine has quit [Read error: Connection reset by peer]
craigp has quit [Ping timeout: 260 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
stardiviner has joined #ruby
swein has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby
CausaMortis has quit [Ping timeout: 260 seconds]
mbreedlove has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
CausaMortis has joined #ruby
rbennacer has joined #ruby
moeabdol has joined #ruby
idletask has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 260 seconds]
duckpuppy has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
idletask has joined #ruby
mbreedlove has joined #ruby
swein has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
mbreedlove has quit [Read error: Connection reset by peer]
d0lph1n98 has joined #ruby
Guyome41 has joined #ruby
mic_e has joined #ruby
banister has joined #ruby
swein has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
hanmac has quit [Ping timeout: 250 seconds]
gtsai has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
mbreedlove has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
elementaru has joined #ruby
mic_e has quit [Ping timeout: 244 seconds]
ryoshu has left #ruby [#ruby]
fbandov has joined #ruby
catpoop is now known as Shardik
gtsai has quit [Ping timeout: 250 seconds]
janebootydoe has quit [Quit: Leaving]
rbennacer has quit [Ping timeout: 276 seconds]
Gasher has quit [Quit: Leaving]
Guyome41 has left #ruby [#ruby]
mdw has joined #ruby
Shardik is now known as catpoop
noService has quit [Ping timeout: 246 seconds]
swein has joined #ruby
k3rn31 has joined #ruby
rbennacer has joined #ruby
CausaMortis has quit [Ping timeout: 246 seconds]
catpoop has quit [Quit: Leaving]
kgrz has joined #ruby
swein has quit [Ping timeout: 260 seconds]
catpoop has joined #ruby
catpoop has quit [Remote host closed the connection]
hanmac has joined #ruby
catpoop has joined #ruby
davedev24 has joined #ruby
deadnull_ has joined #ruby
deadnull_ has quit [Max SendQ exceeded]
deadnull_ has joined #ruby
deadnull_ has quit [Max SendQ exceeded]
deadnull_ has joined #ruby
swein has joined #ruby
nadir has joined #ruby
synthroid has joined #ruby
centrx has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
flashpoint9 has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
|2701 has joined #ruby
chouhoulis has joined #ruby
swein has quit [Ping timeout: 244 seconds]
ponga has joined #ruby
GodFather_ has joined #ruby
ferr1 has quit [Ping timeout: 276 seconds]
bkulbida has joined #ruby
bkulbida has quit [Client Quit]
GodFather_ has quit [Client Quit]
craigp has joined #ruby
GodFather_ has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
GodFather_ is now known as GodFather
rbennacer has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gheegh has joined #ruby
GodFather is now known as GodFodder
swein has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
Snowy has quit [Quit: ragequit]
nettoweb has joined #ruby
swein has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
mikecmpbll has joined #ruby
davedev2_ has joined #ruby
bronson has joined #ruby
sameerynho has joined #ruby
deadnull_ has quit [Quit: Bye]
blackmesa has quit [Ping timeout: 250 seconds]
emilkarl is now known as emilkarl[away]
swein has joined #ruby
mbreedlove has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has quit [Ping timeout: 276 seconds]
kareeole_ has joined #ruby
davedev24 has quit [Ping timeout: 260 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
kareeoleez has quit [Ping timeout: 276 seconds]
LoneHerm_ has joined #ruby
swein has quit [Ping timeout: 244 seconds]
kareeole_ is now known as kareeoleez
rbennacer has joined #ruby
emilkarl[away] is now known as emilkarl
akiTendo has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
kareeoleez has quit [Read error: Connection reset by peer]
solars has quit [Quit: WeeChat 0.4.2]
solars has joined #ruby
kareeoleez has joined #ruby
swein has joined #ruby
mbreedlove has joined #ruby
curses has joined #ruby
rvchangue has quit [Ping timeout: 276 seconds]
Snowy has joined #ruby
eljimmy has joined #ruby
swein has quit [Ping timeout: 260 seconds]
KantonKid has quit [Read error: Connection reset by peer]
curses has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
catpoop has quit [Quit: Leaving]
akiTendo has quit [Quit: akiTendo]
KantonKid has joined #ruby
chipotle has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
ocbtec has quit [Quit: leaving]
mbreedlove has quit [Quit: Textual IRC Client: www.textualapp.com]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
ocbtec has joined #ruby
swein has joined #ruby
ramortegui has joined #ruby
last_staff has quit [Quit: last_staff]
GinoManWorks_ has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
chouhoulis has joined #ruby
swein has quit [Ping timeout: 244 seconds]
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fbandov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
A124 has quit [Read error: Connection reset by peer]
cosmicfires has quit [Ping timeout: 260 seconds]
fbandov has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
A124 has joined #ruby
stannard has joined #ruby
zast has joined #ruby
akiTendo has joined #ruby
dangerousdave has joined #ruby
jaruga____ has quit [Quit: jaruga____]
swein has joined #ruby
stannard has quit [Ping timeout: 244 seconds]
Fernando-Basso has quit [Quit: Leaving]
aegis3121 has joined #ruby
swein has quit [Ping timeout: 252 seconds]
beauby has joined #ruby
chipotle has quit [Quit: cheerio]
malconis has joined #ruby
cosmicfires has joined #ruby
ChiefAlexander has joined #ruby
_Stimpy has joined #ruby
rippa has joined #ruby
tvw has joined #ruby
_Stimpy has quit [Max SendQ exceeded]
_Stimpy has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
swein has joined #ruby
tzica has left #ruby [#ruby]
sameerynho has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
kumardev has quit [Ping timeout: 260 seconds]
stannard has joined #ruby
antgel has joined #ruby
maxdoubt has joined #ruby
doodlehaus has joined #ruby
doodlehaus was kicked from #ruby by ruby[bot] [was banned before]
allcentury has joined #ruby
zyzioziom has joined #ruby
Devalo has joined #ruby
troulouliou_div2 has joined #ruby
ccooke has quit [Ping timeout: 276 seconds]
zenlot6 has joined #ruby
arajakul has joined #ruby
zenlot has quit [Ping timeout: 252 seconds]
Devalo has quit [Ping timeout: 250 seconds]
fenre has quit [Ping timeout: 276 seconds]
xue has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
cosmicfires has quit [Ping timeout: 260 seconds]
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
soud has joined #ruby
dstarh has joined #ruby
kumardev has joined #ruby
maxdoubt has quit [Quit: maxdoubt]
<dstarh> I need to install a gem, rjb which is a ruby/java bridge. Installing locally works just fine where I have JVA_HOME set, but we don't want to set that globally on our CI server, is bundle config an appropriate place to set JAVA_HOME for the gem?
maxdoubt has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
stardiviner has quit [Ping timeout: 246 seconds]
sdwrage has joined #ruby
ferr1 has joined #ruby
<gnufied> dstarh, you can invoke `JAVA_HOME=/home/what/ bundle install` ?
terlar has quit [Ping timeout: 250 seconds]
cosmicfires has joined #ruby
<dstarh> gnufied yes we were just wondering if bundle configs will work for that
rikai has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Remote host closed the connection]
<gnufied> I don't think bundler config is used for setting environment variables
jas02_ has joined #ruby
jas02 has quit [Ping timeout: 260 seconds]
jas02_ is now known as jas02
<jhass> it's not
TvL2386 has joined #ruby
<dstarh> ok thanks
noobsu has quit [Read error: Connection reset by peer]
skylerto has joined #ruby
skweek has joined #ruby
cosmicfires has quit [Ping timeout: 260 seconds]
noobsu has joined #ruby
JJM has joined #ruby
frem_ has joined #ruby
Shashikant86 has joined #ruby
Shashikant86 has quit [Client Quit]
cyclonis has joined #ruby
chouhoulis has joined #ruby
jas02_ has joined #ruby
jas02_ has quit [Client Quit]
djcp has joined #ruby
eL_bamba has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
idle_task has joined #ruby
jas02 has quit [Ping timeout: 260 seconds]
idletask has quit [Ping timeout: 260 seconds]
GinoManWorks has joined #ruby
ta_ has quit [Remote host closed the connection]
idle_task is now known as idletask
craigp has quit [Ping timeout: 250 seconds]
noobsu has quit [Remote host closed the connection]
Shashikant86 has joined #ruby
Shashikant86 has quit [Max SendQ exceeded]
fenre has joined #ruby
cosmicfires has joined #ruby
JesseH has joined #ruby
ferr1 has quit [Ping timeout: 240 seconds]
JJM has quit [Max SendQ exceeded]
aupadhye|brb is now known as aupadhye
aupadhye is now known as aupadhye|bomgar
flughafen_ has joined #ruby
aupadhye|bomgar is now known as aupadhye
cosmicfires has quit [Ping timeout: 260 seconds]
arthurl has joined #ruby
Eiam_ has joined #ruby
antgel has quit [Ping timeout: 246 seconds]
evidex has quit [Ping timeout: 260 seconds]
konsolebox has quit [Quit: Leaving]
antgel has joined #ruby
griffindy has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
evidex has joined #ruby
chipotle has joined #ruby
dopamean_ has joined #ruby
aganov has quit [Remote host closed the connection]
kumardev has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
shinnya has joined #ruby
gtsai has joined #ruby
pelegreno has quit [Remote host closed the connection]
pelegreno has joined #ruby
k3rn31 has joined #ruby
anisha has quit [Quit: Leaving]
mistermocha has joined #ruby
gtsai has quit [Remote host closed the connection]
Es0teric has joined #ruby
ccooke has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
gtsai has joined #ruby
blaxter has joined #ruby
mistermocha has quit [Ping timeout: 276 seconds]
curses has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
fenre has quit [Remote host closed the connection]
k3rn31 has quit [Quit: Computer has gone to sleep.]
gtsai_ has joined #ruby
TvL2386 has quit [Quit: Ex-Chat]
stannard_ has joined #ruby
curses has quit [Ping timeout: 260 seconds]
jhack has joined #ruby
giz|work has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
gtsai has quit [Ping timeout: 246 seconds]
ixti has joined #ruby
stannard has quit [Ping timeout: 244 seconds]
jhack_ has joined #ruby
RobertBirnie has joined #ruby
rkazak has joined #ruby
jhack has quit [Ping timeout: 252 seconds]
jhack_ is now known as jhack
maxdoubt has quit [Quit: maxdoubt]
nankyokusei has quit [Ping timeout: 252 seconds]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
mark_66 has quit [Quit: Leaving.]
maxdoubt has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
flughafen_ has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
ljames has joined #ruby
jwren has joined #ruby
Yiota has joined #ruby
Oclair has quit [Quit: Bye Bye]
symm- has joined #ruby
kobain has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
mikar has quit [Quit: Connection closed for inactivity]
CROOKED^HILLARY^ has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
TomyWork has quit [Remote host closed the connection]
ramfjord has joined #ruby
Shashikant86 has joined #ruby
elemenn has joined #ruby
<kyle__> So, trying ot use ruby-prof for memory...... and all I get is a bunch of NaN entries.
Shashikant86 has quit [Max SendQ exceeded]
syndikate has quit [Ping timeout: 244 seconds]
<kyle__> I'm not finding much for good tutorials that cover memory profiling on it :/ anyone know of a good one?
RegulationD has quit [Ping timeout: 240 seconds]
chopin has joined #ruby
rodfersou is now known as rodfersou|lunch
mikar has joined #ruby
fbandov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
elementaru has quit [Ping timeout: 272 seconds]
warreng__ has joined #ruby
pengown has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
gomix has joined #ruby
skylerto has quit [Quit: leaving]
zyzioziom has quit [Ping timeout: 244 seconds]
|2701 has quit [Quit: Connection closed for inactivity]
chipotle has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
Couch has quit [Ping timeout: 260 seconds]
platzhirsch has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
_ht has quit [Ping timeout: 246 seconds]
mitt3ns has joined #ruby
_ht has joined #ruby
gtsai_ has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
<mitt3ns> Mornin'
<jhass> hi
platzhirsch has joined #ruby
ramfjord has joined #ruby
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
chipotle has quit [Max SendQ exceeded]
hutch34 has joined #ruby
aufi has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
chipotle has joined #ruby
maxdoubt has quit [Quit: maxdoubt]
eL_bamba has quit [Ping timeout: 250 seconds]
swein has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
GodFodder has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 252 seconds]
fbandov has joined #ruby
skolman_ has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
crazydiamond has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
swills has quit [Remote host closed the connection]
jwren has quit [Quit: leaving]
crystal77 has joined #ruby
GodFather has joined #ruby
TomyLobo has joined #ruby
jwren has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
swills has joined #ruby
Devalo has joined #ruby
[Butch] has joined #ruby
smathy has joined #ruby
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
jaruga____ has quit [Client Quit]
chouhoulis has quit [Read error: Connection timed out]
chouhoulis has joined #ruby
jhack has quit [Quit: jhack]
CROOKED^HILLARY^ has joined #ruby
DoubleMan has joined #ruby
gtsai has joined #ruby
jwren has quit [Quit: leaving]
synthroid has joined #ruby
troulouliou_div2 has joined #ruby
ropeney has joined #ruby
jhack has joined #ruby
gtsai_ has joined #ruby
grs has quit [Ping timeout: 240 seconds]
<DoubleMan> This is free hacked videogame for windows http://gamejolt.com/games/spaceshooter-x1/110914/download/build/274495
DoubleMan has quit []
jwren has joined #ruby
quazimodo has joined #ruby
<adaedra> (Don't bother to click that link, people.)
fbandov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gtsai has quit [Ping timeout: 240 seconds]
amclain has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
<adaedra> !spam DoubleMan
<adaedra> nice.
DoubleMalt has quit [Remote host closed the connection]
benlieb has joined #ruby
quazimodo has quit [Ping timeout: 252 seconds]
Guest38 has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
jgpawletko has joined #ruby
mikecmpbll has quit [Ping timeout: 276 seconds]
troulouliou_div2 has quit [Quit: Leaving]
chouhoulis has quit [Remote host closed the connection]
rodfersou|lunch is now known as rodfersou|afk
lsmola has quit [Ping timeout: 240 seconds]
Devalo has quit [Remote host closed the connection]
gtsai_ has quit [Ping timeout: 244 seconds]
joonty has quit [Ping timeout: 260 seconds]
PaulCapestany has quit [Quit: .]
RegulationD has joined #ruby
VeryBewitching has joined #ruby
kareeoleez has joined #ruby
grs has joined #ruby
duoi has quit [Ping timeout: 276 seconds]
sunnypar1eunji has joined #ruby
<sunnypar1eunji> anyone familiar with troubleshooting net-ssh?
<jhass> ?anyone
<ruby[bot]> Just ask your question, if anyone has or can, they will respond.
CROOKED^HILLARY^ has quit [Read error: Connection reset by peer]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sunnypar1eunji> a particular device gets "Net::SSH::Disconnect: connection closed by remote host"
duoi has joined #ruby
platzhirsch has quit [Ping timeout: 276 seconds]
<sunnypar1eunji> it does not get disconnected when using /usr/bin/ssh on the host machine
<sunnypar1eunji> i have the debug output:
RegulationD has quit [Ping timeout: 260 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> what do the remote servers logs say?
CROOKED^HILLARY^ has joined #ruby
rkazak has quit [Ping timeout: 276 seconds]
diegoaguilar has joined #ruby
<sunnypar1eunji> jhass: it's a network device that doesn't have any helpful logs
PaulCapestany has joined #ruby
<jhass> mh, entirely possible dropbear and net-ssh disagree about how to implement the SSH protocol or don't share any available ciphers or stuff like that
kgrz has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
mdw has joined #ruby
Snowy has quit [Quit: ragequit]
bluOxigen has quit [Ping timeout: 260 seconds]
<sunnypar1eunji> jhass: i guess that makes sense, though it does surprise me that net-ssh wouldn't have the same ciphers as OpenSSH
bluOxigen has joined #ruby
codecop has quit [Remote host closed the connection]
danostrowski has joined #ruby
mistermocha has joined #ruby
<kyle__> sunnypar1eunji: Native implementation means it doesn'tshare code with openssh.
<jhass> I'd probably wireshark it and see if there's anything more visible
<smathy> 0.52 is from 2008 sunnypar1eunji, Net::SSH might have the ciphers it's using disabled for security.
<kyle__> sunnypar1eunji: A bunch of python libraries have the same issues when a new cipher or MAC comes out, or an old one is deemed insecure.
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gtsai has joined #ruby
maucar has quit [Quit: Leaving]
<smathy> I'd quickly check if a version of Net::SSH from 2008 works.
<smathy> ...as a debugging step.
ruby-lang963 has joined #ruby
polishdub has joined #ruby
ruby-lang963 is now known as signbit
GinoMan2440 has joined #ruby
<kyle__> jhass: I'm going to lay money on: defaults in openssh have tightened significantly recently, and they can't agree on a cipher.
<signbit> hey guys not really working with ruby but need to install a gem on a work computer with a heavy proxy
<signbit> I downloaded the gem
<signbit> but it can't pull the specs.4.8.gz
<signbit> so I downloaded it myself and gunzip'ed it
mikecmpbll has joined #ruby
<signbit> apparently I need specs before I can do anything
<jhass> signbit: which gem, what for, in what context and what's the command you run to install the downloaded gem file
<signbit> how can I install? this by hand without the web
<sunnypar1eunji> kyle__ jhass smathy: fwiw, here's the ssh -v output from the host OS - https://www.zerobin.net/?38e4b0e62005fc1b#YOVh73s+3Dozd4NA6JWK80XnfaAXGqN+/Ffh3Qc8l7Q=
griffindy has joined #ruby
<signbit> I'm just trying to get lolcat install to make sure this works for later
jgpawletko has quit [Quit: jgpawletko]
gtsai has quit [Ping timeout: 260 seconds]
<jhass> sunnypar1eunji: admin vs user might even make a difference
<signbit> I downloaded it from github
<signbit> ran gem install ./lolcat
labaleine has joined #ruby
<jhass> signbit: https://rubygems.org/gems/lolcat download from here instead
<signbit> " gem install ./lolcat ERROR: Could not find a valid gem './lolcat' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) (https://api.rubygems.org/specs.4.8.gz)"
<sunnypar1eunji> jhass: user is a placeholder, i redacted the actual UN/PW from the paste
<sunnypar1eunji> both used the same, which is not admin
<signbit> okay I'll try that one sec
<kyle__> signbit: gem --help
<signbit> so I need to worry about this specs?
<signbit> seems like everything requires it
<jhass> sunnypar1eunji: aes128-ctr hmac-sha1 not unlikely to be disabled in net-ssh
<jhass> signbit: no
<kyle__> signbit: gem --local install whatever.gem
<kyle__> See?
evidex has quit [Remote host closed the connection]
<signbit> cool it's trying
phrozen77_ has quit [Quit: Leaving...]
gtsai has joined #ruby
<kyle__> sunnypar1eunji: What does dropbear tell you? I think it should still have good-enough logs to at least give you a clue.
<sunnypar1eunji> jhass: aes128-cbc hmac-sha1 is what my other hosts negotiated
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 240 seconds]
<signbit> I'm still getting the same error as before
<sunnypar1eunji> kyle__: it's a network device without an obvious way to drop into a legit still. stuck in the vendor interactive config.
<smathy> jhass, there's no 128 bit though.
<signbit> unable to download data
danostrowski has joined #ruby
<sunnypar1eunji> kyle__: can't even find an obvious 'show log' equivalent on it
<signbit> specs.4.8.gz
<kyle__> sunnypar1eunji: Then test against a different system that's not localhost.
<smathy> Ah, sorry.
ljames has quit [Ping timeout: 276 seconds]
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
<jhass> signbit: what exactly did you do now?
<jhass> smathy: no worries, just using github search here
<signbit> downloaded it from that page
Devalo has joined #ruby
<signbit> gem install lolcat.gem
labaleine has quit [Ping timeout: 276 seconds]
<signbit> I tried the local tag but wasn't and option
<signbit> I have no internet really, have to download everything and install it myself
<jhass> signbit: try ./lolcat.gem or --local as kyle__ suggested
ljames has joined #ruby
<signbit> kk
<signbit> eh it's hanging like crazy
<signbit> If I have the specs.4.8 what do I do with it to make it pick it up
stardiviner has joined #ruby
<signbit> is it a gem?
<signbit> because thats what its getting stuck on
<jhass> it's not a gem and nothing that will help you with anything in regards to installing a gem you downloaded
<jhass> forget about it
sneakerhax has joined #ruby
<signbit> I fail to believe I can't install gem without internet
lictor36 has joined #ruby
CROOKED^HILLARY^ has quit [Read error: Connection reset by peer]
CROOKED^HILLARY^ has joined #ruby
<jhass> sunnypar1eunji: also just to cut down error sources, your openssl does support the cipher? Net::SSH::Transport.supported?("aes128-ctr")
<sunnypar1eunji> so a different device (using RomSShell_5.40) negotiated with net-ssh to use aes128-cbc hmac-sha1
GodFather has quit [Ping timeout: 276 seconds]
<sunnypar1eunji> well when i ran /usr/bin/ssh -v -c aes128-cbc to the dropbear host it worked just fine
chouhoulis has joined #ruby
<sunnypar1eunji> so net-ssh indeed uses aes128-cbc just fine, and the dropbear device indeed negotiates aes128-cbc just fine
<sunnypar1eunji> so that's confusing
<sunnypar1eunji> jhass: i'll do that, thanks
aegis3121 has quit [Ping timeout: 276 seconds]
swein has joined #ruby
gizmore has joined #ruby
<sunnypar1eunji> jhass: definitely a ruby novice, how exactly do i run "Net::SSH::Transport.supported?("aes128-ctr")" from irb?
<sunnypar1eunji> i got a "undefined method `supported?'" error when i tried
mistermocha has quit [Remote host closed the connection]
signbit has quit [Ping timeout: 250 seconds]
tvw has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
<jhass> sunnypar1eunji: oh I missed a namespace, Net::SSH::Transport::CipherFactory.supported?("aes128-ctr")
<jhass> sunnypar1eunji: btw net-ssh 3.1.1 is out, you're still on 3.0.2
phrozen77 has joined #ruby
am55 has joined #ruby
GodFather has joined #ruby
mistermo_ has joined #ruby
lagweezle is now known as cheeseweezle
ChiefAlexander has joined #ruby
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermo_ has quit [Remote host closed the connection]
nankyokusei has joined #ruby
labaleine has joined #ruby
EdwardIII has quit [Ping timeout: 244 seconds]
kus has joined #ruby
Oclair has joined #ruby
stardiviner has quit [Ping timeout: 276 seconds]
EdwardIII has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
<jhass> it's like dropbear closes the connection upon seeing the client version
edavis has joined #ruby
RegulationD has quit [Remote host closed the connection]
mistermocha has joined #ruby
tomchapin has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
Madplatypus has joined #ruby
Torrieri has joined #ruby
tomchapin has quit [Client Quit]
jaguarmagenta has joined #ruby
rodfersou|afk is now known as rodfersou
tlaxkit has joined #ruby
curses has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
mdw_ has joined #ruby
mdw has quit [Ping timeout: 244 seconds]
CJKinni has joined #ruby
phrozen77 has quit [Quit: Leaving...]
cdg has joined #ruby
rikai has joined #ruby
Nahra has quit [Ping timeout: 276 seconds]
grs has quit [Ping timeout: 260 seconds]
kgrz has joined #ruby
Devalo has quit [Remote host closed the connection]
stannard_ has quit [Remote host closed the connection]
jgpawletko has joined #ruby
firstdayonthejob has joined #ruby
stannard has joined #ruby
mdw_ has quit [Quit: Sleeping Zzzzz]
djbkd has joined #ruby
jgpawletko has quit [Ping timeout: 276 seconds]
nobitanobi has joined #ruby
ico has joined #ruby
gtsai has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
gtsai has joined #ruby
banister has joined #ruby
davedev24 has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
last_staff has joined #ruby
grs has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
wreet has joined #ruby
wreet has joined #ruby
wreet has left #ruby [#ruby]
danostrowski has joined #ruby
Nahra has joined #ruby
tildes has joined #ruby
noobsu has joined #ruby
nobitanobi has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
cheeseweezle is now known as snobbycheeseandj
nanoz has joined #ruby
zyzioziom has joined #ruby
snobbycheeseandj is now known as snobcheeseweezle
Devalo has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
aupadhye has quit [Quit: Leaving]
labaleine has quit [Ping timeout: 260 seconds]
noobsu has quit [Read error: Connection reset by peer]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snobcheeseweezle is now known as lagweezle
Devalo has quit [Remote host closed the connection]
danostrowski has joined #ruby
CROOKED^HILLARY^ has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
postmodern has joined #ruby
k3rn31 has joined #ruby
beauby has quit [Ping timeout: 250 seconds]
sfmk has joined #ruby
kgrz has quit [Ping timeout: 260 seconds]
babblebre has joined #ruby
noobsu has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
ruurd has quit [Ping timeout: 244 seconds]
beauby has joined #ruby
blackmesa has joined #ruby
mistermocha has quit [Remote host closed the connection]
postmodern has quit [Ping timeout: 250 seconds]
nischay has joined #ruby
|2701 has joined #ruby
whathappens has joined #ruby
zenlot6 has quit [Ping timeout: 260 seconds]
zenlot6 has joined #ruby
RegulationD has joined #ruby
diegoaguilar has quit [Ping timeout: 240 seconds]
zenlot6 has quit [Ping timeout: 260 seconds]
noobsu has quit [Read error: Connection reset by peer]
zenlot6 has joined #ruby
mistermocha has joined #ruby
RegulationD has quit [Remote host closed the connection]
lictor36 has left #ruby [#ruby]
RegulationD has joined #ruby
nobitanobi has joined #ruby
kirun has joined #ruby
chipotle has quit [Ping timeout: 276 seconds]
tlaxkit has quit [Quit: ¡Adiós!]
postmodern has joined #ruby
symm- has quit [Quit: Leaving...]
diegoaguilar has joined #ruby
sepp2k has quit [Quit: Leaving.]
<sunnypar1eunji> jhass: i was using 3.1.1, but purposely downgraded in hopes it would fix the problem
banister has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
<sunnypar1eunji> but yeah i agree, it's like it doesn't even attempt to negotiate the algorithm
<sunnypar1eunji> just gets the client version and hangs for awhile before closing the connection
chipotle has joined #ruby
mic_e has joined #ruby
nobitanobi has quit [Remote host closed the connection]
wrkrcoop has joined #ruby
<wrkrcoop> i’m trying to call JSON.parse on this string … https://gist.github.com/anonymous/332c09f6cc211630b2ea3d5cb7c83595
<sunnypar1eunji> jhass: Net::SSH::Transport::CipherFactory.supported?("aes128-ctr") end up true, btw
<wrkrcoop> anyone see anything worng with it, im getting a parse error, unexpected token
<jhass> guessed so
<jhass> wrkrcoop: json doesn't allow single quotes
<jhass> where do you get that from?
noobsu has joined #ruby
<wrkrcoop> i made it up for my test
jhack has quit [Quit: jhack]
<jhass> there you have it then
<wrkrcoop> but i cant get it to format correctly
<baweaver> >> require 'json'; {a: 1}.to_json
<ruby[bot]> baweaver: # => "{\"a\":1}" (https://eval.in/574458)
<baweaver> ^
rbennacer has quit [Remote host closed the connection]
wrkrcoop has quit [Quit: wrkrcoop]
mic_e has quit [Ping timeout: 244 seconds]
ethicalhacker has joined #ruby
<ethicalhacker> .
Torrieri has quit [Quit: Be back later ...]
martee has joined #ruby
<martee> jhass: sorry i got disconnected. thanks for that info
<martee> appreciate it
Coldblackice has joined #ruby
rbennacer has joined #ruby
KantonKid has quit [Ping timeout: 260 seconds]
spk has quit [Quit: ZNC - http://znc.in]
hutch34 has quit [Quit: WeeChat 1.5]
<sunnypar1eunji> jhass: i finally found an event-log for the dropbear device, but all it logs is "user logged in" and "user logged out". since our ssh never gets that far, it lgs none of the failed attempts
spk has joined #ruby
<jhass> bummer
hutch34 has joined #ruby
DanyC has joined #ruby
<jhass> looks like the majority of dropbears configuration is compile time anyway
tildes has joined #ruby
<jhass> especially debug stuff
<baweaver> ethicalhacker: freenode#ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
sauvin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
zast has quit [Remote host closed the connection]
tomphp has joined #ruby
gtsai has quit [Ping timeout: 260 seconds]
ethicalhacker has left #ruby ["Leaving"]
Rickmasta has joined #ruby
tomphp has quit [Client Quit]
aegis3121 has joined #ruby
cpup has quit [Ping timeout: 240 seconds]
tildes has quit [Ping timeout: 252 seconds]
<baweaver> >> module Enumerable;def >(o)map(&o) end end; [1,2,3] >-> x { x * 5 } >-> x { x / 2 }
<ruby[bot]> baweaver: # => [2, 5, 7] (https://eval.in/574477)
<baweaver> :D
arlek_ has joined #ruby
cpup has joined #ruby
Eiam_ has joined #ruby
Rickmasta has quit [Ping timeout: 276 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
der-landgraf has quit [Quit: WeeChat 1.5]
<sunnypar1eunji> jhass: is there any way to have net-ssh falsely advertise its protocol verison as openssh?
<sunnypar1eunji> likely not, but grasping at straws
sumobob has joined #ruby
der-landgraf has joined #ruby
<jhass> sunnypar1eunji: you can just reset the constant
habitullence has joined #ruby
DanyC has quit []
<habitullence> How would you loop over an array indefinitely?
<jhass> Net::SSH::Transport::ServerVersion::PROTO_VERSION = "Whatever"
<jhass> habitullence: Enumerable#cycle
elifoster has joined #ruby
arlek_ has quit [Ping timeout: 240 seconds]
<habitullence> jhass: perfect, thank you
saneax is now known as saneax_AFK
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
dmr8 has joined #ruby
<habitullence> jhass: is there a way to give it a starting point?
lxsameer has joined #ruby
Eiam_ has joined #ruby
<sunnypar1eunji> jhass: looks to do the same when set to 'SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u1'
<jhass> I wonder if it resets beyond a Enumerable#skip though
<jhass> sunnypar1eunji: too bad
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<jhass> oh, skip wasn't ruby?
codecop has joined #ruby
krobzaur has joined #ruby
codecop has quit [Remote host closed the connection]
cpup has quit [Ping timeout: 276 seconds]
codecop has joined #ruby
cpup has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
gtsai has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arlek_ has joined #ruby
beauby has quit [Ping timeout: 260 seconds]
CJKinni` has joined #ruby
mikar has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Ping timeout: 260 seconds]
Jardayn has joined #ruby
danostrowski has joined #ruby
ruurd has joined #ruby
whathappens has quit [Remote host closed the connection]
CJKinni has quit [Ping timeout: 276 seconds]
ChiefAlexander has quit [Remote host closed the connection]
ruby-lang522 has joined #ruby
tacit7 has joined #ruby
CJKinni` has quit [Ping timeout: 260 seconds]
chipotle has quit [Quit: cheerio]
nankyokusei has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
ChiefAlexander has joined #ruby
antgel has quit [Ping timeout: 250 seconds]
<ruby-lang522> Is there an array method in ruby to return an array minus an item at a given position, without modifying the original array? Kind of the opposite of array.slice(n) -- I want the array returned rather than array[n].
swein has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
catpoop has joined #ruby
catpoop has quit [Client Quit]
jackjackdripper has joined #ruby
Torrieri has joined #ruby
mnrmnaugh has joined #ruby
insanedreamer has quit [Quit: insanedreamer]
<aegis3121> I mean, using Array#delete_at will return array[n], but the array you're left with will have it removed.
noobsu_ has joined #ruby
noobsu has quit [Read error: Connection reset by peer]
noService has joined #ruby
<ruby-lang522> Thanks for the response aegis. I need the original array to stay intact.
jaguarmagenta has joined #ruby
RegulationD has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
crystal77 has joined #ruby
<jhass> ruby-lang522: nope. If you have not only the index but the value you want to remove too and it's unique, you could array - [value]
<Papierkorb> else, there's always .dup
gregf has quit [Read error: Connection reset by peer]
<jhass> well or you could do .reject.with_index I guess
gregf has joined #ruby
<jhass> or [*array[0..i-1], *array[i+1..-1]]
<jhass> all not really pretty
blaxter has joined #ruby
rodfersou is now known as rodfersou|coffee
mistermocha has quit [Remote host closed the connection]
<jhass> dup.tap {|a| a.delete_at(i) } is probably your best bet
<aegis3121> but that's assuming rails/active support, right?
<jhass> no
tildes has joined #ruby
<ruby-lang522> I was doing [*array[0..i-1], *array[i+1..-1]], but yeah, it seems too ugly for ruby.
<ruby-lang522> not using Rails, but I'll remember that.
<ruby-lang522> Thanks for the discussion.
<tobiasvl> monkey patch Array!
<jhass> it does not require activesupport
<jhass> Object#tap is in core for a long time now
<aegis3121> Ah, okay. Was going off of some old documentation from a gem.
oncall-pokemon has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
whathapp_ has joined #ruby
djbkd has quit [Quit: My people need me...]
<ruby-lang522> I'm afraid of monkeypatching. Won't a nun show up and start beating me with a stick?
mloy has joined #ruby
JakFrist has joined #ruby
djbkd has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
jhack has joined #ruby
martee has quit [Quit: martee]
nfk has joined #ruby
martee has joined #ruby
roamingdog has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
tildes has quit [Ping timeout: 260 seconds]
swein has joined #ruby
cpup has quit [Ping timeout: 244 seconds]
<adaedra> People will have different opinions, but I guess it's better if you can avoid it, especially now that we have refinements which are a bit cleaner
zyzioziom has quit [Ping timeout: 276 seconds]
hutch34_ has joined #ruby
<adaedra> But that's not as bad as Ox0dea'isms.
<tobiasvl> yeah, I was mostly kidding. but it is an option
cpup has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoaguilar has quit [Read error: Connection reset by peer]
martee has quit [Quit: martee]
[Butch] has quit [Quit: I'm out . . .]
hutch34 has quit [Ping timeout: 276 seconds]
<ruby-lang522> the joys of cowboy coding...
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
swein has quit [Ping timeout: 260 seconds]
ullu has quit [Read error: Connection reset by peer]
sdwrage has joined #ruby
stannard has quit [Remote host closed the connection]
crazydiamond has joined #ruby
Devalo has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.5]
martee has joined #ruby
Torrieri has quit [Quit: Be back later ...]
shakes has joined #ruby
martee has quit [Client Quit]
jenrzzz has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
failshell has joined #ruby
pulpfiction has joined #ruby
mistermocha has joined #ruby
<pulpfiction> am i allowed to ask ruby on rails questions here?
<Zarthus> there's a #rubyonrails
swein has joined #ruby
<adaedra> yep, #RubyOnRails is the place for Rails questions
benlieb has joined #ruby
Devalo has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
<elemenn> I heard they create gui interface using visual basic to track your ip address
<elemenn> if you ask rails questions here
<havenwood> we will answer them
<havenwood> and bow
troulouliou_dev has joined #ruby
Puffball has quit [Ping timeout: 260 seconds]
Puffball_ has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
<adaedra> TraceIP.exe elemenn
<adaedra> oops, wrong window
<havenwood> pulpfiction: Ruby questions are the favorite type of question here! :)
rodfersou|coffee is now known as rodfersou
<pulpfiction> havenwood, yup, i figured :) thanks, guys!
johnmilton has quit [Remote host closed the connection]
chipotle has joined #ruby
nerium has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codecop has quit [Remote host closed the connection]
bronson has joined #ruby
danostrowski has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jwren has quit [Quit: Lost terminal]
dopie has quit [Quit: Leaving]
mjuszczak has quit []
beauby has joined #ruby
aries_liuxueyang has quit [Ping timeout: 244 seconds]
n_blownapart has joined #ruby
Es0teric has joined #ruby
blackmesa has joined #ruby
aries_liuxueyang has joined #ruby
mikeric has joined #ruby
stannard has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
emilkarl has joined #ruby
<dreinull> not strictly ruby… I use slimer.js to create pdfs from views in sinatra. Doesnt matter. If one route is called it starts slimerjs which creates the pdf and returns it. That's the context. Is there a ruby way of starting slimerjs, i.e. an external service and keeping an eye on it? I want to keep slimer running and just get output from it once it creates some.
blackmesa has quit [Ping timeout: 244 seconds]
<adaedra> You could look at execjs
beauby has quit [Ping timeout: 276 seconds]
dopie has joined #ruby
arajakul has quit [Ping timeout: 244 seconds]
<Papierkorb> execjs with the therubyracer gem, or the ruby racer alone
whathapp_ has quit [Quit: Leaving...]
<Papierkorb> (well, depends on how long slimerjs takes to boot and to render a PDF if it's actually worth using the racer gem)
Devalo has quit [Ping timeout: 276 seconds]
<dreinull> Papierkorb, yes, I think it would help.
eL_bamba has joined #ruby
<dreinull> ok, will look at those.
roamingdog has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
<toretore> looks like it's just an executable, so i'd just use popen
krobzaur has quit [Ping timeout: 276 seconds]
elifoster has joined #ruby
failshell has quit []
noobsu_ has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: brb]
sdwrage has quit [Quit: This computer has gone to sleep]
noobsu has joined #ruby
sfmk has quit [Quit: Connection closed for inactivity]
tjohnson has joined #ruby
ruurd has quit [Ping timeout: 260 seconds]
kareeoleez has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
<benlieb> What editors offer the best code "exploration" in ruby? I've been using vim for 14 years. Recently I'm working a lot with big code bases I'm not familiar with, and I'm feeling that there must be a better way to explore code, jump to method defs, classes, modules...
chip_ has joined #ruby
ocbtec has quit [Quit: leaving]
sdwrage has joined #ruby
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
<adaedra> vim should be able to do it just fine.
<adaedra> use ripper-tags to generate tags, as it handles ruby better than the default ctags for tag-based navigation.
n_blownapart has quit []
eljimmy has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
<havenwood> benlieb: Jetbrains RubyMine is one of the notable Ruby IDEs. Do you have vim all decked out for Ruby?
tomphp has joined #ruby
Snowy has joined #ruby
RegulationD has joined #ruby
<Papierkorb> benlieb: I also use pry to 'explore' code
<bougyman> I use pry for *
<bougyman> I can't believe my mentor doesn't like it.
<Papierkorb> in which case you'd also need to change the tense of the word after
<benlieb> Papierkorb: I use pry for debugging, but I'm wanting to be able to jump to method defs, variable assignment, modules, classes, etc.
<benlieb> Papierkorb: does pry have something like that I don't know about.
<benlieb> ?
<Papierkorb> benlieb: $ foo.the_method
<Papierkorb> benlieb: yes, literal dollar sign
ur5us has joined #ruby
yfeldblum has joined #ruby
<bougyman> i use pry for all sorts of neat shit. most often to have a live repl for running apps.
martee has joined #ruby
noobsu has quit [Read error: Connection reset by peer]
<bougyman> Thread.new { while true; binding.pry_remote; end }, etc.
noobsu has joined #ruby
nischay has quit [Ping timeout: 276 seconds]
<Papierkorb> I use it to fiddle with Java stuff at work. much faster and easier than to fight with Java directly
Sou|cutter has quit [Quit: fnord]
<Papierkorb> bougyman: I didn't know about pry-remote until now, nice
smathy is now known as smathy_afk
RegulationD has quit [Ping timeout: 240 seconds]
chip_ has quit [Ping timeout: 260 seconds]
<benlieb> havenwood: I have the rails plugin for vim, but I don't use it that much, maybe I should look back into that.
<adaedra> it's really good to move between files
<benlieb> havenwood: looks like ruby mine requires a license. Any free options for ruby
<adaedra> for the rest, I base myself on tags and file names.
<adaedra> fzf/unite/ctrlp and consorts make browsing easier
<havenwood> benlieb: maybe nerdtree and ruby-vim as well
<adaedra> but netrw is awesome already!
<bougyman> Papierkorb: I use it as a console for a cinch bot: https://gist.github.com/bougyman/7579526080b0070b9fa811f27211da47
tildes has joined #ruby
sfmk has joined #ruby
elifoster has quit [Ping timeout: 250 seconds]
arlek_ has quit [Ping timeout: 240 seconds]
Ishido has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 276 seconds]
troulouliou_dev has quit [Quit: Leaving]
nando293921 has joined #ruby
noobsu has quit [Read error: Connection reset by peer]
ruby-lang522 has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noobsu has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
<benlieb> havenwood: is there a command in ruby-vim or rails-vim that when on the line: include Aca::Support::Employer, it will open the file that defines this?
<adaedra> C-], if you have tags generated
mistermocha has quit [Remote host closed the connection]
chip_ has joined #ruby
<havenwood> benlieb: i think recent rails-vim does gf with includes as well
thirax has joined #ruby
Devalo has quit [Remote host closed the connection]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> 4.3+ maybe?
rbennacer has joined #ruby
RegulationD has joined #ruby
nettoweb has joined #ruby
<benlieb> havenwood: hm, seems buggy. It worked on a simple module (One word without ::), failed on another with error of can't find in path, and modules like This::that or This::That::TheOther, it doesn't find it but instead opens a dir
arthurl has quit [Ping timeout: 240 seconds]
gizless has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
Rickmasta has joined #ruby
blackgoat has joined #ruby
grs has quit [Ping timeout: 244 seconds]
wuyin has joined #ruby
roamingdog has joined #ruby
mostlybadfly has joined #ruby
Xiti has quit [Quit: Xiti]
mistermocha has joined #ruby
Rickmasta has quit [Ping timeout: 244 seconds]
Mia has quit [Read error: Connection reset by peer]
centrx has quit [Quit: centrx]
mistermocha has quit [Read error: Connection reset by peer]
jenrzzz has quit [Quit: Lost terminal]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Puffball_ has quit [Ping timeout: 250 seconds]
Puffball has joined #ruby
crystal77 has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
sesquipedalian has quit [Ping timeout: 246 seconds]
gizmore has joined #ruby
jenrzzz has joined #ruby
gizmore|2 has joined #ruby
Snowy has quit [Remote host closed the connection]
<benlieb> havenwood: not working on partials either. sad sad face
Xiti has joined #ruby
bruce_lee has quit [Read error: Connection reset by peer]
bruce_lee has joined #ruby
Devalo has joined #ruby
_whitelogger has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
roamingdog has quit [Remote host closed the connection]
rbennacer has joined #ruby
djcp has quit [Quit: WeeChat 1.0.1]
djbkd has quit [Remote host closed the connection]
kkh is now known as duracrisis
grs has quit [Ping timeout: 276 seconds]
diego1 has joined #ruby
zyzioziom has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
mnrmnaugh is now known as catpoop
diego1 has joined #ruby
diego1 has quit [Changing host]
diegoviola has quit [Ping timeout: 260 seconds]
synthroid has quit []
rbennacer has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
dome22xl has joined #ruby
<dome22xl> rvml
dome22xl has left #ruby [#ruby]
sdwrage has quit [Quit: This computer has gone to sleep]
eljimmy has joined #ruby
centrx has joined #ruby
elemenn has quit [Remote host closed the connection]
centrx has quit [Client Quit]
stannard_ has joined #ruby
smathy_afk is now known as smathy
hahuang65 has quit [Ping timeout: 276 seconds]
nankyokusei has joined #ruby
blackmesa has joined #ruby
rbennacer has joined #ruby
GinoMan2440 has quit [Ping timeout: 252 seconds]
eL_bamba has quit [Read error: Connection reset by peer]
stannard has quit [Ping timeout: 252 seconds]
JakFrist has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
<dreinull> You're too general.
elementaru has joined #ruby
kobain has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
diego1 has joined #ruby
<dreinull> solotyping is worse than stereotyping.
diego1 has quit [Client Quit]
nankyokusei has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
noobsu has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
duckpuppy has quit [Ping timeout: 276 seconds]
sdwrage has joined #ruby
noobsu_ has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noobsu_ has quit [Read error: Connection reset by peer]
noobsu has joined #ruby
jaguarmagenta has joined #ruby
opus_ has joined #ruby
noobsu has quit [Read error: Connection reset by peer]
eljimbo has joined #ruby
Torrieri has joined #ruby
Torrieri has joined #ruby
Torrieri has quit [Changing host]
noobsu has joined #ruby
monod has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
mjuszczak has joined #ruby
DanyC has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
jaguarmagenta has quit [Ping timeout: 276 seconds]
hutch34_ has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
Weavel has joined #ruby
jackjackdripper has quit [Ping timeout: 252 seconds]
JoshGlzBrk has joined #ruby
pulpfiction has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
chipotle has quit [Quit: cheerio]
crystal77 has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noobsu has quit [Read error: Connection reset by peer]
Guest97856 has quit [Ping timeout: 244 seconds]
eL_bamba has joined #ruby
noobsu has joined #ruby
mjuszczak has quit []
djbkd has joined #ruby
ldnunes has quit [Quit: Leaving]
mjuszczak has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
craigp has joined #ruby
roamingdog has quit [Remote host closed the connection]
k3rn31 has quit [Quit: Computer has gone to sleep.]
rbennacer has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Weavel has quit [Quit: Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day]
griffindy has joined #ruby
martee has quit [Quit: martee]
rbennacer has joined #ruby
toretore has quit [Quit: Leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
noobsu has quit []
tvw has joined #ruby
johnbat26 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdwrage has joined #ruby
graft has joined #ruby
graft has joined #ruby
rodfersou has quit [Quit: leaving]
huyderman has quit [Remote host closed the connection]
smathy has quit [Ping timeout: 240 seconds]
huyderman has joined #ruby
smathy has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swein has quit [Ping timeout: 244 seconds]
Devalo has quit [Remote host closed the connection]
mjuszczak has quit []
roamingdog has joined #ruby
djbkd has quit [Remote host closed the connection]
Kneecaps has joined #ruby
polishdub has quit [Quit: Leaving]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
danostrowski has joined #ruby
ftj has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
banister has joined #ruby
rbennacer has joined #ruby
akiTendo has quit [Quit: akiTendo]
cpup has quit [Ping timeout: 246 seconds]
cpup has joined #ruby
mjuszczak has joined #ruby
<benlieb> Papierkorb: I'm loving this $ in pry
<shevy> what is $ is that show source?
<Papierkorb> benlieb: replace $ with ? to make pry show you the docs :)
bronson has joined #ruby
<Papierkorb> shevy: yes
<benlieb> what do I do what I don't know where a method comes from?
<havenwood> benlieb: ask it its #owner
<benlieb> Papierkorb: i.e., it could be in any included module
<havenwood> >> method(:puts).owner
<ruby[bot]> havenwood: # => Kernel (https://eval.in/574595)
<Papierkorb> benlieb: some_object.the_method will work too
tomphp has joined #ruby
<Papierkorb> benlieb: Just as well as TheClass#the_method
<havenwood> benlieb: #source_location as well
<havenwood> benlieb: ls Method
<havenwood> (in Pry)
<Papierkorb> havenwood: I didn't know that you could ls use like that .. -.-;
beauby has joined #ruby
<shevy> havenwood knows all the things
martee has joined #ruby
<benlieb> Papierkorb: some_object.the_method will just call the method no, or do you mean $ some_object.the_method
<Papierkorb> benlieb: the latter, yes
Kneecaps has quit [Quit: leaving]
<benlieb> yeah I know that one but I'm asking about when I don't know where the method comes from
mtkd has quit [Ping timeout: 260 seconds]
<benlieb> and the other tricky thing is that this has to actually be in context
<benlieb> *scope*
<adaedra> binding.pry ftw
rbennacer has quit [Ping timeout: 240 seconds]
<havenwood> benlieb: you want to know the owner class/module of the method or the source location?
monod has quit [Quit: gotta go]
bronson has quit [Ping timeout: 252 seconds]
<havenwood> benlieb: ls some_object(:the_method)
<benlieb> havenwood: source location
<havenwood> err, miswrote that
mikeric has quit []
<havenwood> benlieb: some_object.method(:the_method).source_location
<havenwood> benlieb: (Doesn't work for methods implemented in C)
mtkd has joined #ruby
beauby has quit [Ping timeout: 246 seconds]
<Papierkorb> $ does work for C functions however. Sadly, not for Java methods in JRuby :(
gregf has joined #ruby
<benlieb> that is the best thing ever
rrichardsr3 has joined #ruby
<havenwood> method(:papierkorb).to_java.source_location(org.jruby.Ruby.getGlobalRuntime().getCurrentContext())
<headius> $?
johnmilton has joined #ruby
<headius> oh in pry?
Kneecaps has joined #ruby
<havenwood> yeah, in Pry though I'm not sure how well it actually works?
DanyC has quit []
craigp has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
<Papierkorb> Wouldn't be the first pry hack in my .pryrc ...
freerobby has quit [Quit: Leaving.]
<headius> I suppose it can bring up MRI source because most people build from source?
<headius> it wouldn't be a big deal for it to fetch JRuby source...it's all out there, neatly published
<Papierkorb> headius: iirc it's part of the pry-doc gem, and for gems, it just goes into the gems ext/ directory
craigp has joined #ruby
nb_bez___ has joined #ruby
pengown has quit [Ping timeout: 240 seconds]
<headius> Papierkorb: does it fetch proper source for current Ruby version then, I assume?
gnufied has quit [Ping timeout: 252 seconds]
ss_much has joined #ruby
<Papierkorb> headius: I have no idea tbh
<headius> JRuby exts don't have to ship source
curses has quit [Remote host closed the connection]
<headius> since they don't have to build
JoshGlzBrk has joined #ruby
<headius> they could for this, I suppose
cpup has quit [Ping timeout: 260 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
johnmilton has quit [Ping timeout: 260 seconds]
<Papierkorb> well best effort of course, if some JAR doesn't bundle sources then it can't find them of course. same for JRuby gems.
cpup has joined #ruby
tacit7` has joined #ruby
JoshGlzBrk has quit [Client Quit]
JoshGlzBrk has joined #ruby
craigp has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
griffindy has quit [Ping timeout: 252 seconds]
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
craigp has joined #ruby
tacit7 has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
last_staff has quit [Quit: last_staff]
Kneecaps has left #ruby [#ruby]
stannard_ has quit [Remote host closed the connection]
mjuszczak has quit []
mwlang has joined #ruby
kus has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terlar has joined #ruby
ilovemysillybana has quit [Quit: Page closed]
duncannz has joined #ruby
themightyabby has quit [Quit: WeeChat 0.4.2]
duncannz has quit [Max SendQ exceeded]
hutch34_ has joined #ruby
duncannz has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
johnmilton has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
ocbtec has joined #ruby
ocbtec has quit [Client Quit]
ocbtec has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
mloy has quit [Quit: Leaving]
cpup has quit [Ping timeout: 244 seconds]
mjuszczak has quit [Client Quit]
hutch34_ has quit [Ping timeout: 244 seconds]
colegatron has quit [Ping timeout: 276 seconds]
cpup has joined #ruby
eL_bamba has quit [Quit: Leaving]
colegatron has joined #ruby
diegoviola has joined #ruby
freerobby has joined #ruby
kobain has joined #ruby
kirun has quit [Quit: Client exiting]
mic_e has joined #ruby
rbennacer has joined #ruby
banister has joined #ruby
terlar has quit [Ping timeout: 244 seconds]
rrichardsr3 has joined #ruby
chipotle has joined #ruby
opus_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SuperLag has quit [Quit: reboot]
gnufied has joined #ruby
postmodern has joined #ruby
elifoster has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
mic_e has quit [Ping timeout: 250 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 246 seconds]
mikeric has joined #ruby
tacit7`` has joined #ruby
dmr8 has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
mjuszczak has joined #ruby
elifoster has quit [Ping timeout: 260 seconds]
axl_ has quit [Quit: axl_]
gnufied has quit [Quit: Leaving]
Synthead has quit [Quit: Synthead]
mjuszczak has quit [Client Quit]
tacit7` has quit [Ping timeout: 244 seconds]
diegoviola has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
mjuszczak has joined #ruby
Rickmasta has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
GodFather has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
diegoaguilar has joined #ruby
gizmore|2 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
Devalo has joined #ruby
Rickmasta has quit [Ping timeout: 276 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
sumobob has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
zyzioziom has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
Gasher has joined #ruby
qasaur has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has quit [Ping timeout: 260 seconds]
zenlot has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hightower2 has quit [Ping timeout: 250 seconds]
sumobob has joined #ruby
zenlot6 has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
SuperLag has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
ramfjord_ has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
danostrowski has joined #ruby
djbkd has joined #ruby
graft has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
zyzioziom has joined #ruby
zyzioziom has quit [Client Quit]
zyzioziom has joined #ruby
graft has joined #ruby
that2 has joined #ruby
danostrowski has quit [Client Quit]
that2 has left #ruby [#ruby]
<hxegon> It's fine if 2 threads call Queue#push at the same time right?
segy has quit [Ping timeout: 252 seconds]
djbkd has quit [Ping timeout: 276 seconds]
ramfjord_ has quit [Ping timeout: 250 seconds]
<havenwood> hxegon: one will get the mutex lock before the other
segy has joined #ruby
<hxegon> havenwood: but assuming order doesn't matter it will be fine right? #push will block until it can take it?
<havenwood> hxegon: yup, threadsafe
ReK2GnULinuX has quit [Quit: Konversation terminated!]
<hxegon> thx havenwood. I've completely avoided concurrent/parrallel programming until recently, so I'm trying to sanity check everything
hutch34_ has joined #ruby
nobitanobi has joined #ruby
whathappens has joined #ruby
duckpuppy has joined #ruby
nankyokusei has joined #ruby
danostrowski has joined #ruby
mwlang has quit [Quit: mwlang]
sfmk has quit [Quit: Connection closed for inactivity]
skweek has joined #ruby
Es0teric has joined #ruby
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
babblebre has quit [Quit: Connection closed for inactivity]
whathappens has quit [Remote host closed the connection]
danostrowski has quit [Client Quit]
hutch34_ has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cheerio]
kareeoleez has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
danostrowski has joined #ruby
duckpuppy has quit [Ping timeout: 276 seconds]
banister has joined #ruby
ramfjord has joined #ruby
chipotle has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
banister has quit [Client Quit]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JesseH has quit [Remote host closed the connection]
whathappens has joined #ruby
eljimbo has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
catpoop has left #ruby ["Leaving"]
skade has joined #ruby
eljimmy has quit [Ping timeout: 250 seconds]
tacit7`` has quit [Ping timeout: 244 seconds]
mnrmnaugh has joined #ruby
benlieb has quit [Quit: benlieb]
jaguarmagenta has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
bobbycvi has joined #ruby
shinnya has joined #ruby
JesseH has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
smathy is now known as smathy_afk
jolts has quit [Ping timeout: 276 seconds]
n1x-nz has joined #ruby
eljimbo has joined #ruby
bruce_lee has quit [Remote host closed the connection]
RobertBirnie has quit [Quit: Textual IRC Client: www.textualapp.com]
eljimmy has joined #ruby
Biopandemic has quit [Remote host closed the connection]
sdwrage has joined #ruby
Biopandemic has joined #ruby
martee has quit [Quit: martee]
zyzioziom1 has joined #ruby
Cohedrin_ has joined #ruby
chopin has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mwlang has joined #ruby
chopin has joined #ruby
<majuscule> any ideas on a cleaner way of doing combinations than this? %w(b c d e).map{ |d| "sd#{d}" }
<majuscule> (i think this example is short enough to write out, but for sake of discussion)
<Papierkorb> in general? no. in context? Dir["/dev/sd[bcde]"]
Cohedrin has quit [Ping timeout: 276 seconds]
zyzioziom has quit [Ping timeout: 260 seconds]
<majuscule> ahh nice :-)
<majuscule> that's actually perfect for me, thanks.
<majuscule> or erm, not quite, but w/e, it's cool
zyzioziom1 has quit [Ping timeout: 276 seconds]
jolts has joined #ruby
benlieb has joined #ruby
smathy_afk is now known as smathy
trinaldi has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whathappens has quit [Quit: Leaving...]
chouhoulis has quit [Remote host closed the connection]
centrx has joined #ruby
hahuang65 has joined #ruby
Gasher has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
ico has quit [Remote host closed the connection]
biberu has quit []
cdg has joined #ruby
chipotle has quit [Quit: cheerio]
chopin has quit [Remote host closed the connection]
bronson has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
chopin has joined #ruby
djbkd has joined #ruby
beauby has joined #ruby
hahuang61 has joined #ruby
hahuang65 has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
ocbtec has quit [Quit: leaving]
dionyziz has joined #ruby
cdg has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 252 seconds]
<dionyziz> Hi folks, I would like to replace a needle with a replacement string in a haystack string in ruby. I'm using this example: s = "replace me"; s.sub!("me", "you \\`"). I expect the replaced string to read: replace you \` i.e. to finish with the three characters space, backslash and backtick
ur5us has quit [Remote host closed the connection]
<dionyziz> This doesn't work because the \` sequence is a backreference in ruby. So I tried escaping it using Regexp.escape like this: s.sub!("me", Regexp.escape("you \\`"))
rkazak has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
<dionyziz> However, in this case the replaced string reads: replace you\ \` i.e. more special characters, such as spaces, are escaped, which have no special meaning in the replacement string.
beauby has quit [Ping timeout: 276 seconds]
<dionyziz> How do I just replace a string with another string within a string ignoring backreferences completely?
ico has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
jhack has quit [Quit: jhack]
jhack has joined #ruby
hxegon is now known as hxegon_afk
<dionyziz> I figured it out. Using block syntax does the trick. Thanks!
danostrowski has joined #ruby
Torrieri has quit [Quit: Be back later ...]
jhack has quit [Ping timeout: 252 seconds]
curses has joined #ruby
chopin has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
ico has quit [Remote host closed the connection]
ur5us has joined #ruby
djbkd has joined #ruby
hays_ is now known as hays
curses has quit [Ping timeout: 260 seconds]
skweek has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
Torrieri has joined #ruby
Torrieri has quit [Changing host]
Torrieri has joined #ruby
Cohedrin has joined #ruby