havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
stan has quit [Ping timeout: 264 seconds]
Alayde has quit [Ping timeout: 244 seconds]
Vile` has joined #ruby
ramfjord has joined #ruby
Vile` has quit [Remote host closed the connection]
blackgoat has quit [Quit: WeeChat 1.4]
Waqas has joined #ruby
rahult_ has joined #ruby
william3 has joined #ruby
rahult has quit [Ping timeout: 260 seconds]
djbkd has quit [Quit: My people need me...]
NinjaPanzer is now known as Invisible_NinjaP
Invisible_NinjaP is now known as NinjaPanzer
<baweaver> sanity check: 2.0 introduced KWARGS, but it wasn't until 2.1 that you could `def method(blank:)` right?
whathappens has quit [Remote host closed the connection]
<baweaver> I'll probably find out in the next hour in any case.
finisherr has quit [Quit: finisherr]
NinjaPanzer is now known as Invisible_NinjaP
william3 has quit [Ping timeout: 276 seconds]
failshell has joined #ruby
shayan has joined #ruby
Logico has joined #ruby
flashpoint9 has joined #ruby
stan has joined #ruby
baweaver has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
agentmee1kat has joined #ruby
flashpoi_ has joined #ruby
agentmee1kat has quit [Read error: Connection reset by peer]
agentmeerkat has quit [Ping timeout: 260 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ocbtec has quit [Quit: leaving]
DLSteve has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
cpruitt has joined #ruby
Invisible_NinjaP is now known as NinjaPanzer
<havenwood> Sanity checks out.
charliesome_ has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
weemsledeux has joined #ruby
agentmeerkat has joined #ruby
mistermo_ has joined #ruby
cpruitt has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
idletask has quit [Ping timeout: 244 seconds]
NinjaPanzer is now known as Invisible_NinjaP
cpruitt has joined #ruby
kies has joined #ruby
baweaver has joined #ruby
najam has quit [Quit: najam]
gnufied has quit [Ping timeout: 240 seconds]
Invisible_NinjaP has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 276 seconds]
flashpoi_ has quit [Remote host closed the connection]
najam has joined #ruby
mistermo_ has quit [Ping timeout: 248 seconds]
RegulationD has quit [Remote host closed the connection]
idletask has joined #ruby
jaequery has joined #ruby
Waqas has quit [Ping timeout: 244 seconds]
_stu_ has joined #ruby
shayan has quit [Quit: shayan]
flashpoint9 has joined #ruby
freerobby1 has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
stannard has joined #ruby
rahult_ has quit [Ping timeout: 260 seconds]
Sn0wy has quit [Remote host closed the connection]
mistermocha has joined #ruby
p0p0pre7 has joined #ruby
dcunit3d has quit [Ping timeout: 244 seconds]
karapetyan has quit [Remote host closed the connection]
eljimbo has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stannard has quit [Ping timeout: 240 seconds]
idletask has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
NinjaPanzer has joined #ruby
davedev24 has quit []
nando293921 has quit [Quit: Lost terminal]
NinjaPanzer has quit [Client Quit]
karapetyan has quit [Ping timeout: 244 seconds]
Chagel has joined #ruby
mistermocha has quit [Remote host closed the connection]
<shevy> "C: Freeze mutable objects assigned to constants."
marr has quit [Ping timeout: 240 seconds]
<shevy> hmm is this what everyone else also does? above is a rubocop warning
diegoaguilar has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
jinie has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
jenrzzz has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
eggoez has joined #ruby
pawnbox has joined #ruby
jinie has joined #ruby
ur5us has quit [Remote host closed the connection]
idletask has joined #ruby
kadoppe has joined #ruby
mistermocha has quit [Ping timeout: 268 seconds]
<Ropeney> shevy, should do
pawnbox has quit [Ping timeout: 244 seconds]
flashpoint9 has joined #ruby
ekinmur has joined #ruby
Waqas has joined #ruby
workmad3 has joined #ruby
cpruitt has quit [Quit: cpruitt]
kadoppe has quit [Ping timeout: 250 seconds]
bruno- has quit [Read error: Connection reset by peer]
shazaum_ has joined #ruby
bruno- has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 252 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Ox0deb is now known as Ox0dea
william3 has joined #ruby
<shevy> ok
william3 has quit [Ping timeout: 246 seconds]
workmad3 has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
diegoaguilar has quit [Ping timeout: 252 seconds]
LoganG has quit [Ping timeout: 248 seconds]
flashpoint9 has quit [Remote host closed the connection]
blaxter has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Ping timeout: 264 seconds]
failshell has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
GodFather has quit [Ping timeout: 276 seconds]
nando293921 has joined #ruby
stannard has joined #ruby
failshell has quit [Remote host closed the connection]
kadoppe has joined #ruby
stannard has quit [Ping timeout: 250 seconds]
mdih has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
youch has joined #ruby
amclain has quit [Quit: Leaving]
GodFather has joined #ruby
diegoaguilar has joined #ruby
auzty has joined #ruby
dvinciguerra_ has quit [Ping timeout: 244 seconds]
kadoppe has quit [Ping timeout: 240 seconds]
Gasher has quit [Quit: Leaving]
GodFather has quit [Ping timeout: 268 seconds]
cdg has quit [Remote host closed the connection]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
smathy is now known as smathy_afk
RubyJedi-ing has joined #ruby
smathy_afk is now known as smathy
lkba has quit [Ping timeout: 246 seconds]
cabargas has joined #ruby
_stu_ has quit [Quit: _stu_]
nando293921 has quit [Ping timeout: 268 seconds]
ascarter has joined #ruby
blt has joined #ruby
hinbody has quit [Quit: leaving]
wolffles has quit [Quit: wolffles]
_stu_ has joined #ruby
LoganG has joined #ruby
freerobby has quit [Quit: Leaving.]
_stu_ has quit [Client Quit]
hinbody has joined #ruby
weemsledeux has joined #ruby
Chagel has quit [Ping timeout: 248 seconds]
blt has quit [Quit: WeeChat 1.4]
karmatr0n has joined #ruby
blt has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stannard has joined #ruby
ascarter has joined #ruby
ascarter has quit [Client Quit]
jenrzzz has joined #ruby
Musashi007 has joined #ruby
eljimmy has quit [Read error: Connection reset by peer]
eljimmy has joined #ruby
lkba has joined #ruby
ThePolarCat has joined #ruby
pawnbox has joined #ruby
stannard has quit [Ping timeout: 246 seconds]
najam has quit [Ping timeout: 276 seconds]
<ThePolarCat> Hi, I need some help with the scan method
<Ox0dea> ThePolarCat: Fire away.
apes has quit [Ping timeout: 248 seconds]
pragmatism has quit [Ping timeout: 248 seconds]
apes has joined #ruby
ag4ve has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
<ThePolarCat> I'm trying to search for long string that contains a file extention: I'm using this regEx itemStr.scan(/\.[0-9a-z]+$/i) however the return array is always empty
william3 has joined #ruby
ur5us has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
<ThePolarCat> example string: "../../lib/images/background/background.jpg"
<smathy> ThePolarCat, you're doing something very wrong then, see: https://gist.github.com/smathy/350f9a083baea628874a6205c40b91f1
perry has quit [Ping timeout: 248 seconds]
mclee has quit [Ping timeout: 248 seconds]
pocketprotector has quit [Ping timeout: 250 seconds]
n1colas has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
<Ox0dea> ThePolarCat: I don't think you want #scan.
n1colas has joined #ruby
go|dfish has quit [Ping timeout: 248 seconds]
angseus has quit [Remote host closed the connection]
pragmatism has joined #ruby
william3 has quit [Ping timeout: 264 seconds]
angseus has joined #ruby
guacamole has quit [Remote host closed the connection]
guacamole has joined #ruby
stevenxl has quit [Remote host closed the connection]
<Ox0dea> >> str = "../../lib/images/background/background.jpg"; str[/\.(.+)$/, 1]
<ruby[bot]> Ox0dea: # => "./../lib/images/background/background.jpg" (https://eval.in/551800)
angelixd has quit [Ping timeout: 248 seconds]
<Ox0dea> Whoops.
stevenxl has joined #ruby
<Ox0dea> >> str = "../../lib/images/background/background.jpg"; str[/\.(.+?)$/, 1]
<ruby[bot]> Ox0dea: # => "./../lib/images/background/background.jpg" (https://eval.in/551801)
angelixd has joined #ruby
<Ox0dea> What's happening?
strongcode has quit [Remote host closed the connection]
helpa has quit [Ping timeout: 248 seconds]
LiquidInsect has quit [Ping timeout: 248 seconds]
rob_ has quit [Ping timeout: 248 seconds]
go|dfish has joined #ruby
strongcode has joined #ruby
LiquidInsect has joined #ruby
paul_ has joined #ruby
<ThePolarCat> I'v just opened the link
timonv has quit [Ping timeout: 248 seconds]
majjoha has quit [Ping timeout: 248 seconds]
<Ox0dea> #scan is for when you might get multiple matches.
<smathy> Ox0dea, the $
<Ox0dea> smathy: Sure, that should anchor to the end, no?
<monoprotic> you're matching the entire string
<ThePolarCat> whats erong this my code?
<monoprotic> everything but the first character is in the capturing parens
helpa has joined #ruby
<smathy> ThePolarCat, so gist your code.
mistermocha has joined #ruby
mclee has joined #ruby
z4phod has quit [Remote host closed the connection]
<smathy> Ox0dea, the \. won't be affected by the ?
blackgoat has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
youch has quit [Ping timeout: 244 seconds]
<Ox0dea> It has to be `[^.]+` rather than `.+`, but I feel like Onigmo could DWIM there.
perry has joined #ruby
perry has quit [Changing host]
perry has joined #ruby
<shevy> ThePolarCat one of the best ways to test regexes like that is http://rubular.com/ - you can, after the regex matches to your given intpu, click on "make permalink" and link in to this URL in your comment section
OTORelic has joined #ruby
majjoha has joined #ruby
rob_ has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
<ThePolarCat> ill try rubular
tmtwd has joined #ruby
<mozzarella> Ox0dea: what are you trying to do?
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> mozzarella: Extension extraction.
<Ox0dea> >> path = '../../foo/bar/baz.gifv'; path[/\.([^.]+)$/, 1]
<ruby[bot]> Ox0dea: # => "gifv" (https://eval.in/551803)
goglosh has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
<mozzarella> wtf is wrong with ruby-doc?
shazaum_ has quit [Read error: Connection reset by peer]
<goglosh> depends on what you're doing wrong
karmatr0n has quit [Ping timeout: 276 seconds]
<shevy> ThePolarCat ah you used a trailing /
timonv has joined #ruby
pocketprotector has joined #ruby
<mozzarella> Ox0dea: anyway, I would just use File.extname
<Ox0dea> Good call.
<ThePolarCat> i'll try it out
elifoster has joined #ruby
<mozzarella> anyone familiar with pry?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
cabargas has joined #ruby
<mozzarella> I don't know how to scroll the list, doesn't do anything when I press the arrow keys: http://i.imgur.com/yZrHJ6K.png
z4phod has joined #ruby
<mozzarella> basically, I did File.<tab>
william3 has joined #ruby
goglosh has quit [Quit: leaving]
tubuliferous has quit [Ping timeout: 246 seconds]
sdothum has joined #ruby
wolffles has joined #ruby
stannard has joined #ruby
<Ox0dea> mozzarella: k = Up, j = Down.
<Ox0dea> Just like in most any other pager.
LoneHerm_ has joined #ruby
<mozzarella> doesn't do anything
paul_ has quit [Ping timeout: 244 seconds]
<shevy> hehe
<mozzarella> doesn't vim have it the other way around?
<mozzarella> oops nevermind
FooMunki has quit [Quit: FooMunki]
<mozzarella> (still doesn't work, though)
wolffles has quit [Client Quit]
<smathy> mozzarella, space?
<smathy> ...just looks like a pager.
william3 has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
<mozzarella> smathy: oh yeah, that does work, but I can't go up
<smathy> I don't know what pager that's using, is it in pry?
<mozzarella> yes
LoneHerm_ has quit [Ping timeout: 244 seconds]
eljimbo has quit [Quit: This computer has gone to sleep]
Chagel has joined #ruby
wolffles has joined #ruby
<ThePolarCat> this my current code and output, I still get an empty return: https://gist.github.com/ThePolarCat/402b65399ed114936e28ee684fed1efa
stannard has quit [Ping timeout: 260 seconds]
<smathy> mozzarella, I dunno, the help says it will use less if available, but it's obviously not: https://github.com/pry/pry/wiki/Customization-and-configuration#Config_pager
<Ox0dea> Or else mozzarella has Caps Lock on or something. :P
<smathy> Ox0dea, maybe, but it didn't work for me either, definitely not less.
<Ox0dea> ThePolarCat: https://eval.in/551807
<Ox0dea> I don't know how you got those empty Arrays...
OTORelic has quit [Quit: WeeChat 1.4]
pawnbox has quit [Ping timeout: 246 seconds]
OTORelic has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<shevy> mystery code!
lyoshajapan has joined #ruby
Chagel_ has joined #ruby
<ThePolarCat> Ox0dea: in the link you've provided there is an error in the output "undefined method `scan'"
<smathy> ThePolarCat, you have a hash, and you're using .scan on it.
<smathy> How are you not getting NoMethodError here?
najam has joined #ruby
Waqas has quit [Ping timeout: 246 seconds]
mdih has joined #ruby
Chagel has quit [Ping timeout: 260 seconds]
<smathy> ThePolarCat, where are you running that code?
cdg has joined #ruby
marxarelli is now known as marxarelli|afk
<ThePolarCat> when i put a string instead of the regEx it works: https://eval.in/551822
<smathy> mozzarella, believe it or not, the File.<tab> doesn't actually enter the pager code.
idefine has joined #ruby
<smathy> ThePolarCat, OMG, no, that's working because you have a String instead of a Hash.
<smathy> ThePolarCat, who are you, and who sent you?
<smathy> Someone over in #Python?
<ThePolarCat> Sorry i've absolutly no experience in ruby, just trying to modify a script
<smathy> ThePolarCat, that's the first thing you've said that makes sense: https://www.ruby-lang.org/en/documentation/
idefine has quit [Client Quit]
bruno- has quit [Ping timeout: 248 seconds]
<smathy> ...at least it's clear now how your other code was working, you lied in your paste though.
<OTORelic> ThePolarCat: you're looking to find only png files right?
<ThePolarCat> no any extension
frem has quit [Quit: Connection closed for inactivity]
bahar has quit [Ping timeout: 252 seconds]
nanoz has joined #ruby
<OTORelic> hmm, you should look to Glob the directory your defining
<smathy> Heh :)
<OTORelic> it works much better than a shitty weird hash
* smathy was so afraid you were going to actually help this dolt
bahar has joined #ruby
bahar has quit [Changing host]
bahar has joined #ruby
stannard has joined #ruby
<OTORelic> hey we're all here to learn ya know :)
<smathy> If you say so.
<smathy> I think some people are just here for free consulting.
pawnbox has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
Waqas has joined #ruby
stannard has quit [Ping timeout: 264 seconds]
<OTORelic> ThePolarCat: are you only looking for 0x0 hight width files?
pawnbox has quit [Ping timeout: 248 seconds]
<ThePolarCat> i want to tell if the string contains an extension or not, the string can be anything
<OTORelic> smathy, it does kind of seem like a weird site scraper thing hes doing
<ThePolarCat> me?
<havenwood> smathy: Be nice!
<OTORelic> lol its whatever man.
<OTORelic> being mean on the internet is easy, being is hard.
<OTORelic> people like easy things, it makes them feel smart and superior.
<OTORelic> *being nice
<smathy> havenwood, if serious, let me know what was over the line. I'm still getting a feel for this channel.
skweek has quit [Ping timeout: 268 seconds]
Eiam_ has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
<Ox0dea> I think it's A-okay to question the motives of somebody who fabricates erroneous return values.
william3 has joined #ruby
<shevy> he should learn ruby first
<OTORelic> thats what we're all doing in this channel, arent we?
<shevy> not really :)
<OTORelic> im working on elixir.
<OTORelic> so what are you doing on this channel then shevy?
<havenwood> New folk are welcome here! There's also a ##new2ruby channel that's a smaller, quieter place.
<smathy> Even if this channel was for totally Day 1 ruby people, I would still expect a gist that wasn't fabricated.
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> OTORelic I idle to power!
braincras has quit [Quit: bye bye]
<ThePolarCat> joining this channel was my last resort, i've been working on this script since yesturday
<smathy> Yeah, but ThePolarCat, this paste from you was fiction: https://gist.github.com/ThePolarCat/402b65399ed114936e28ee684fed1efa
<OTORelic> ouch... dude just use a gem then. no reason to reinvent the wheel on some of these simple problems
<OTORelic> i'd be suprisesd if there wasnt a method that handles that stuff
<smathy> ...and you were asked a few times for your actual code and you just didn't respond. You had 3 or 4 people trying to help you and you couldn't even provide enough information for your problem to make sense.
<ThePolarCat> fiction? i've copied from the script
Chagel has joined #ruby
<shevy> <Ox0dea> I don't know how you got those empty Arrays...
Chagel_ has quit [Ping timeout: 276 seconds]
<ThePolarCat> it's fine i was looking for some ideas, that's why im in a CHAT room ;)
william3 has quit [Ping timeout: 268 seconds]
<smathy> ThePolarCat, no, you didn't - that code in your paste will have resulted in a NoMethodError because you're calling .scan on a Hash.
<smathy> ThePolarCat, the code you eventually showed in eval.in had you setting itemStr to a *string* containing the hash in your original paste. That was the first time you showed that being set to a string.
wolffles has quit [Quit: wolffles]
lyoshajapan has quit [Remote host closed the connection]
<smathy> ThePolarCat, it's still not clear if you just set it to that string to get your code to work, or if a string is what you actually have in your input, because you've never shown your actual code that you're actually struggling with.
<OTORelic> yea i mean, hes scanning but its to a particular file....so why even scan then. it can only find that one file.
<smathy> No one knows :(
<smathy> The output in his paste shows two sets of outputs, as if he's in a loop - but we've never seen a loop.
<OTORelic> and its a "../" so its local, which is even more confusing
braincrash has joined #ruby
<OTORelic> if its local, then glob the Dir
<ThePolarCat> my problem is misusing scan
<OTORelic> but whatevs. hows your night been so far smathy?
* smathy has no patience for guessing
<shevy> :D
cabargas has joined #ruby
<smathy> Heh, good :)
flashpoint9 has joined #ruby
htmldrum has quit [Ping timeout: 248 seconds]
daivyk has quit [Quit: Part & Quit]
<smathy> Who doesn't love spring :) Time for me to go afk. Good luck ThePolarCat, just in case it gets through, just gist ALL your actual source code, someone will be more likely to help.
Chagel_ has joined #ruby
<ThePolarCat> ok thanks for your help.
Chagel has quit [Ping timeout: 248 seconds]
Guest40782 has quit [Ping timeout: 240 seconds]
Jandre has joined #ruby
Jandre is now known as Guest74282
bb010g has joined #ruby
gix has quit [Ping timeout: 276 seconds]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
william3 has joined #ruby
gix has joined #ruby
najam has quit [Quit: najam]
baweaver has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
william3 has quit [Ping timeout: 260 seconds]
ThePolarCat has quit [Quit: WeeChat 1.3]
rikai has quit [Ping timeout: 244 seconds]
lyoshajapan has joined #ruby
Todd has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
lyoshajapan has quit [Ping timeout: 252 seconds]
theery has joined #ruby
skweek has joined #ruby
jhack has quit [Quit: jhack]
Todd has quit [Quit: Y U NO TMUX]
lyoshajapan has joined #ruby
cdg has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
wolffles has joined #ruby
william3 has joined #ruby
mistermocha has quit []
DLSteve has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
treaki__ has joined #ruby
DLSteve has quit [Client Quit]
Chagel has joined #ruby
Chagel_ has quit [Ping timeout: 276 seconds]
lele has quit [Ping timeout: 260 seconds]
treaki_ has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
bruno- has joined #ruby
lele has joined #ruby
lyoshajapan has joined #ruby
RubyJedi-ing has quit [Ping timeout: 268 seconds]
bruno- has quit [Ping timeout: 248 seconds]
Logico has quit [Quit: Saindo]
astrobunny has joined #ruby
kareeoleez has joined #ruby
CloCkWeRX has quit [Ping timeout: 248 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
smathy is now known as smathy_afk
duncannz has joined #ruby
phendryx has joined #ruby
djbkd has joined #ruby
Waqas has quit [Ping timeout: 260 seconds]
terlar has joined #ruby
OTORelic1 has joined #ruby
rbennacer has quit [Remote host closed the connection]
OTORelic has quit [Ping timeout: 246 seconds]
lyoshajapan has quit [Remote host closed the connection]
pawnbox has joined #ruby
CloCkWeRX has joined #ruby
rbennacer has joined #ruby
ThePolarCat has joined #ruby
merida has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Regulati_ has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
choke has quit [Quit: Gone]
mtkd has joined #ruby
<wolffles> i cant seem to initialize this subclass and its method. https://eval.in/551858 can someone show or explain to me how to make it work?
OTORelic1 has quit [Ping timeout: 248 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
j0bk has left #ruby ["Textual IRC Client: www.textualapp.com"]
rbennacer has joined #ruby
gh has joined #ruby
rbennacer has quit [Remote host closed the connection]
htmldrum has joined #ruby
Cooooo has quit [Remote host closed the connection]
agentmeerkat has quit [Ping timeout: 248 seconds]
lyoshajapan has joined #ruby
j0bk has joined #ruby
tubuliferous has joined #ruby
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
codecop has joined #ruby
j0bk has quit [Quit: ZNC 1.6.1 - http://znc.in]
rbennacer has joined #ruby
j0bk has joined #ruby
agentmeerkat has joined #ruby
lyoshajapan has quit [Ping timeout: 244 seconds]
j0bk has quit [Client Quit]
j0bk has joined #ruby
<baweaver> wolffles: you're missing an end
gh has quit [Quit: Leaving]
nhhc has joined #ruby
Outlastsheep has quit [Ping timeout: 244 seconds]
lyoshajapan has joined #ruby
dcunit3d has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
rbennacer has quit [Ping timeout: 244 seconds]
<wolffles> baweaver: yeah i was getting frustrated and put the subclass inside the parent class the end is at the bottom
<baweaver> that's not how subclasses work
mtkd has quit [Ping timeout: 252 seconds]
<pizzaops> wolffles: https://eval.in/551862
jenrzzz has joined #ruby
jenrzzz has joined #ruby
<pizzaops> There's no #number method in Smaller, in your original version.
fedexo has joined #ruby
<pizzaops> so super(number) is calling something undefined.
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pizzaops> plus the "end" problem
<pizzaops> You can't just refer to instance variables by name without an @. The reason you see that so often is because people have created "reader" methods
saneax_AFK is now known as saneax
<baweaver> attr_reader :foo => def foo; @foo end
<pizzaops> Exactly
mtkd has joined #ruby
<baweaver> writer would be: def foo=
<baweaver> accessor would be both
skweek has quit [Ping timeout: 260 seconds]
<wolffles> i see
ThePolarCat has quit [Quit: WeeChat 1.3]
j0bk has quit [Quit: ZNC 1.6.1 - http://znc.in]
mtkd has quit [Client Quit]
j0bk has joined #ruby
<baweaver> though I would make a habit of always referring to them with @ inside the class
<baweaver> that way you can make a method if you need to change the logic later
* baweaver rereads that
* baweaver shakes head
<baweaver> ignore that
* baweaver goes to find coffee
<pizzaops> And personally I like to always use self.number not just number, because it's too vague.
<pizzaops> But most people don't do that.
Chagel has quit [Ping timeout: 268 seconds]
<pizzaops> I also mostly type out parens, so . . . yeah
<baweaver> I tend to use the method names so I can switch out the logic later if necessary
<pizzaops> I'd prefer to have to explicitly change those, because I want it to be clear what's happening.
Devalo has joined #ruby
<baweaver> I also like Scala so I'm an implicit to heart
j0bk has left #ruby [#ruby]
bruno- has joined #ruby
crameth has joined #ruby
<wolffles> i havent had to use classes until last week
<wolffles> and im absolutly lost
<baweaver> It takes time
<baweaver> what are you reading for a tutorial?
<baweaver> ?poodr
<ruby[bot]> Practical Object Oriented Design in Ruby http://www.poodr.com/
<baweaver> That will help a lot
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
<wolffles> i cant find an indepth tutorial that go beyond the basics
<baweaver> See the Poodr link above
rkazak has quit [Quit: Sleep.....ing....]
<wolffles> im looking at it
william3 has joined #ruby
CloCkWeRX has quit [Ping timeout: 244 seconds]
<shevy> my tasty waffles!
agentmeerkat has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 276 seconds]
codecop has quit [Remote host closed the connection]
skweek has joined #ruby
theery has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 260 seconds]
elifoster has quit [Ping timeout: 264 seconds]
frankier has joined #ruby
jt__ has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
tildes has joined #ruby
<wolffles> soo i tried to apply what went wrong in my example to my actual problem and im still getting unitiialized constant… what am i doing wrong this time? https://eval.in/551874
goglosh has joined #ruby
kareeoleez has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
sauvin has joined #ruby
nando293921 has joined #ruby
<Ox0dea> It looks like an elevator.
CloCkWeRX has joined #ruby
<shevy> lol
<shevy> the wafflevator
mosez has quit [Ping timeout: 268 seconds]
xWindow-Free has joined #ruby
<shevy> ah your indent is wrong
<shevy> wolffles they are inside of class Temperature
tmtwd has quit [Ping timeout: 248 seconds]
agentmeerkat has joined #ruby
rikai has joined #ruby
rkazak has joined #ruby
bnagy has quit [Ping timeout: 276 seconds]
bnagy has joined #ruby
ur5us has quit [Remote host closed the connection]
<baweaver> !ban xWindow-Free
<baweaver> shoo troll
xWindow-Free was kicked from #ruby by ruby[bot] [bannable offense, see http://ruby-community.com/pages/user_rules]
ur5us has joined #ruby
<wolffles> shevy: :D thank you! i was losing it lol
jaiks has joined #ruby
mosez has joined #ruby
Macaveli has joined #ruby
goglosh has quit [Quit: leaving]
hk238 has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
nhhc has quit [Quit: Leaving]
UserInNeed has quit [Ping timeout: 248 seconds]
_blizzy_ has quit [Quit: Leaving]
djbkd has quit [Remote host closed the connection]
UserInNeed has joined #ruby
nodejunkie has joined #ruby
jaiks has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
sandelius has joined #ruby
djbkd has joined #ruby
terlar has quit [Ping timeout: 244 seconds]
<shevy> \o/
sandelius has quit [Client Quit]
htmldrum has quit [Ping timeout: 276 seconds]
krz has joined #ruby
htmldrum has joined #ruby
nanoz has quit [Quit: <3]
rbennacer has joined #ruby
lxsameer has joined #ruby
jt__ has joined #ruby
firstdayonthejob has quit [Ping timeout: 260 seconds]
skade has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
<Ox0dea> wolffles: Some fun things: https://eval.in/551903
firstdayonthejob has joined #ruby
LoneHerm_ has joined #ruby
<Ox0dea> #<=> and #succ are the interesting ones; if you define those, your objects can participate in Ranges.
jaiks has joined #ruby
arescorpio has quit [Quit: Leaving.]
conta has joined #ruby
bluOxigen has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
infra-red has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
idletask has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
AlexRussia has quit [Ping timeout: 244 seconds]
<wolffles> Ox0dea: does it have to be <=> and succ? or can i name them anything?
rbennacer has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
bruno- has joined #ruby
ssiris has quit [Quit: End of Line]
<Ox0dea> wolffles: It has to be those names; that's part of the "interface".
czerasz has quit [Ping timeout: 248 seconds]
<Ox0dea> It's just like how you can define #each and `include Enumerable` to get a heap of nifty methods for free, except it's #<=> for Comparable.
<Ox0dea> #succ and #next are usually aliases, but Range literals specifically try to invoke #succ.
bruno- has quit [Ping timeout: 244 seconds]
RubyJedi-ing has joined #ruby
william3 has joined #ruby
djbkd has quit [Remote host closed the connection]
kareeoleez has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
jpfuentes2 has quit [Client Quit]
rbennacer has quit [Ping timeout: 268 seconds]
jpfuentes2 has joined #ruby
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
the_drow has joined #ruby
pawnbox has joined #ruby
polysics_ has joined #ruby
Devalo has quit [Remote host closed the connection]
<wolffles> so these are called mixin?
<Ox0dea> Nailed it.
solars has joined #ruby
rbennacer has joined #ruby
blackgoat has quit [Ping timeout: 252 seconds]
lyoshajapan has joined #ruby
tubuliferous has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
nisstyre has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
last_staff has joined #ruby
rodfersou has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
<Ox0dea> So many Exceptions! http://imgh.us/ruby_hierarchy.png
symm-_ has joined #ruby
symm- has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
rbennacer has joined #ruby
polysics_ has quit [Ping timeout: 260 seconds]
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polysics has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
aganov has joined #ruby
krz has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
perturbation has joined #ruby
CausaMortis_ has joined #ruby
CausaMortis has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby
rkazak has joined #ruby
tubuliferous has quit [Ping timeout: 260 seconds]
htmldrum has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
infra-red has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
rbennacer has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
hahuang61 has quit [Read error: Connection reset by peer]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba_ has joined #ruby
PedramT has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 244 seconds]
jpfuentes2 has joined #ruby
PedramT has joined #ruby
petertretyakov has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
astrobunny has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 248 seconds]
polysics has quit [Ping timeout: 250 seconds]
CausaMortis_ has quit [Quit: Goodbye]
nanoz has joined #ruby
petertretyakov has quit [Client Quit]
LoneHerm_ has quit [Remote host closed the connection]
cina has joined #ruby
petertretyakov has joined #ruby
stannard has joined #ruby
astrobunny has joined #ruby
<cina> is it safe to compare two arrays of strings using their #hash() method? I am trying to keep a record of seen rows in a CSV file, without having to store the whole row. I thought it would be a good idea to store and keep track of the hash of each row instead of the actual row.
polysics has joined #ruby
nanoz has quit [Client Quit]
<baweaver> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
yfeldblu_ has quit [Remote host closed the connection]
mark3 has joined #ruby
yfeldblum has joined #ruby
<cina> baweaver: thanks. I will try to be a bit more clear. I meant to ask how often the #hash method of two different objects are the same
stannard has quit [Ping timeout: 248 seconds]
<baweaver> very rarely, though that's moving in the wrong direction
<baweaver> what are you trying to do overall?
<baweaver> as in, why do you need to keep track of what rows you've seen?
<Ox0dea> cina: Ignore baweaver on this one. Yes, that's a good idea. And the good news is that Ruby provides a convenient Set library for just that sort of thing.
vondruch_ has joined #ruby
<baweaver> (like an index)
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
* baweaver shrugs
<baweaver> trying to figure out what the base issue is.
rbennacer has joined #ruby
<Ox0dea> Your XY trigger finger is itchy.
codecop has joined #ruby
cloudbud has joined #ruby
bmf has joined #ruby
vondruch has quit [Ping timeout: 244 seconds]
<cloudbud> I am trying tio execute command bundle but getting error : Could not fetch specs from http://rubygems.org/
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> cina: https://eval.in/551949
jpfuentes2 has joined #ruby
<cina> Ox0dea: thanks!
<Ox0dea> cina: Happy to help. :)
mr_robot_ has joined #ruby
Chagel has joined #ruby
rippa has joined #ruby
<cloudbud> I am trying tio execute command bundle but getting error : Could not fetch specs from http://rubygems.org/
cina has quit [Quit: leaving]
polysics has quit [Ping timeout: 276 seconds]
diegoaguilar has joined #ruby
bruno- has joined #ruby
baweaver has quit [Remote host closed the connection]
tvw has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
dcunit3d has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
flughafen has quit [Ping timeout: 248 seconds]
polysics has joined #ruby
william3 has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
theery has joined #ruby
lyoshajapan has joined #ruby
rbennacer has joined #ruby
TomyWork has joined #ruby
PedramT has quit [Ping timeout: 246 seconds]
infra-red has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
PedramT has joined #ruby
theery has quit [Ping timeout: 264 seconds]
czerasz has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SCHAAP137 has joined #ruby
krz has joined #ruby
aufi has joined #ruby
flughafen has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
edwinvdgraaf has joined #ruby
Flipez has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
waxxy has joined #ruby
biberu has joined #ruby
rbennacer has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has joined #ruby
rbennacer has quit [Ping timeout: 252 seconds]
antgel has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
rbennacer has joined #ruby
rkazak has joined #ruby
pandaant has joined #ruby
PedramT has quit [Ping timeout: 244 seconds]
PedramT has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Outlastsheep has joined #ruby
Ropeney has joined #ruby
Zai00 has joined #ruby
Ropeney has quit [Read error: No route to host]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agentmeerkat has quit [Read error: Connection reset by peer]
rbennacer has quit [Ping timeout: 252 seconds]
wolffles has quit [Quit: wolffles]
terlar has joined #ruby
tax has quit [Ping timeout: 244 seconds]
andikr has joined #ruby
lsmola has joined #ruby
rbennacer has joined #ruby
x77686d has quit [Quit: x77686d]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
symm-_ has quit [Ping timeout: 276 seconds]
mhib has joined #ruby
Xeago has quit [Remote host closed the connection]
krz has quit [Read error: Connection reset by peer]
anisha has joined #ruby
vondruch_ has quit [Ping timeout: 244 seconds]
jaruga__ has joined #ruby
rbennacer has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
Zai00 has quit [Ping timeout: 244 seconds]
kareeole_ has joined #ruby
kareeoleez has quit [Ping timeout: 268 seconds]
kareeole_ is now known as kareeoleez
krz has joined #ruby
merida has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
petertretyakov has quit [Quit: Lingo: www.lingoirc.com]
rbennacer has quit [Ping timeout: 268 seconds]
tubuliferous has joined #ruby
SHyx0rmZ has joined #ruby
nando293921 has quit [Ping timeout: 246 seconds]
vondruch has joined #ruby
rbennacer has joined #ruby
Zai00 has joined #ruby
baweaver has joined #ruby
bruno- has joined #ruby
dANOKELOFF has joined #ruby
infra-red has quit [Remote host closed the connection]
sepp2k has joined #ruby
Xeago has joined #ruby
infra-red has joined #ruby
Sn0wy has joined #ruby
norc has joined #ruby
norc is now known as Guest57702
Couch has joined #ruby
Guest57702 has quit [Client Quit]
bruno- has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 248 seconds]
baweaver has quit [Ping timeout: 268 seconds]
rbennacer has joined #ruby
tesuji has joined #ruby
Chagel_ has joined #ruby
PedramT has quit [Ping timeout: 244 seconds]
Regulati_ has quit [Ping timeout: 244 seconds]
the_drow has joined #ruby
Chagel has quit [Ping timeout: 246 seconds]
Sn0wy has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 260 seconds]
mr_robot_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ensyde has quit [Ping timeout: 248 seconds]
marr has joined #ruby
Dimik has quit [Ping timeout: 250 seconds]
bigkevmcd has quit [Quit: Outta here...]
rbennacer has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
jenrzzz has joined #ruby
mrgrieves has joined #ruby
mr_robot_ has joined #ruby
lkba_ has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
bronson has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 252 seconds]
rkazak has quit [Quit: Sleep.....ing....]
dreadingly has joined #ruby
tubuliferous has joined #ruby
hakunin has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
PedramT has joined #ruby
bigkevmcd has joined #ruby
infra-red has quit [Remote host closed the connection]
infernix has quit [Ping timeout: 264 seconds]
tubuliferous has quit [Ping timeout: 240 seconds]
Xeago has quit [Read error: Connection reset by peer]
evidex has joined #ruby
PedramT has quit [Remote host closed the connection]
nhhc has joined #ruby
infernix has joined #ruby
astrobun_ has joined #ruby
AlexJakeGreen has joined #ruby
infra-red has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobunny has quit [Ping timeout: 276 seconds]
infra-red has quit [Remote host closed the connection]
infra-red has joined #ruby
akkmaxon has joined #ruby
Xeago has joined #ruby
dangerousdave has joined #ruby
Macaveli has joined #ruby
the_drow has quit [Quit: Leaving]
duderonomy has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
NightMonkey has quit [Ping timeout: 244 seconds]
blackgoat has joined #ruby
merida has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
sapslaj has quit [Quit: No Ping reply in 180 seconds.]
ocbtec has joined #ruby
M-mistake has quit [Ping timeout: 248 seconds]
M-Kodo has quit [Ping timeout: 260 seconds]
hays_ has joined #ruby
sapslaj has joined #ruby
cloaked1 has quit [Ping timeout: 248 seconds]
NightMonkey has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
cloaked1 has joined #ruby
hays has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 268 seconds]
M-Kodo has joined #ruby
workmad3 has joined #ruby
Xeago has quit [Remote host closed the connection]
M-mistake has joined #ruby
<cloudbud> how to set the set the environment variable GOOGLE_MAPS_KEY with your Google Maps API key.
PedramT has joined #ruby
dangerousdave has quit [Quit: Textual IRC Client: www.textualapp.com]
raeoks has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
sabaqh has joined #ruby
nobitanobi has joined #ruby
Xeago has joined #ruby
RubyJedi-ing has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 260 seconds]
aurum_infide_ has joined #ruby
M-Kodo has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
M-mistake has quit [Write error: Connection reset by peer]
n008f4g_ has joined #ruby
aurum_infide_ has quit [Ping timeout: 268 seconds]
mr_robot_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
daytime has quit [Quit: I guess that's how it's post to be.]
the_drow has joined #ruby
daytime has joined #ruby
auzty has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
skislak has joined #ruby
ferr has joined #ruby
LoneHerm_ has joined #ruby
moei has quit [Quit: Leaving...]
aurum_infide has joined #ruby
mtkd has joined #ruby
mr_robot_ has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
astrobun_ has joined #ruby
astrobun_ has quit [Remote host closed the connection]
jt__ has quit [Read error: Connection reset by peer]
tagaulap has joined #ruby
bluOxigen_ has joined #ruby
tagaulap has quit [Changing host]
tagaulap has joined #ruby
tagaulap has joined #ruby
jt__ has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
bmf has quit [Ping timeout: 240 seconds]
FooMunki has joined #ruby
dANOKELOFF has quit [Remote host closed the connection]
M-shine has joined #ruby
Xeago has quit [Remote host closed the connection]
nhhc has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
rbennacer has joined #ruby
dANOKELOFF has joined #ruby
Xeago has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
sabaqh has quit [Read error: No route to host]
LoneHerm_ has quit [Remote host closed the connection]
PedramT has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cloudbud has quit [Ping timeout: 250 seconds]
lyoshaja_ has joined #ruby
blaxter has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
bmf has joined #ruby
M-Kodo has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
PedramT_ has joined #ruby
lyoshajapan has quit [Ping timeout: 276 seconds]
lyoshaja_ has quit [Ping timeout: 248 seconds]
duncannz has quit [Remote host closed the connection]
snoobydoo has joined #ruby
PedramT_ has quit [Ping timeout: 248 seconds]
rbennacer has quit [Ping timeout: 268 seconds]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
PedramT has joined #ruby
platzhirsch has joined #ruby
Sn0wy has joined #ruby
charliesome has joined #ruby
mr_robot_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PedramT has quit [Ping timeout: 248 seconds]
Sn0wy is now known as Snowy
rbennace_ has joined #ruby
M-mistake has joined #ruby
djbkd has joined #ruby
gnufied has joined #ruby
rbennace_ has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
bweston92 has quit [Quit: Leaving]
chriscoffee has joined #ruby
chriscoffee has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
PedramT has joined #ruby
cibs has quit [Quit: leaving]
Xeago has quit [Remote host closed the connection]
baweaver has joined #ruby
tm__ has joined #ruby
vondruch has quit [Quit: Ex-Chat]
kadoppe has joined #ruby
<tm__> Does the winrm gem require the cert subject to be CN=hostname? Will CN=fqdn work?
mhib has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 276 seconds]
krz has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
jt__ has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
rbennace_ has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 248 seconds]
charliesome has quit [Client Quit]
lkba has joined #ruby
charliesome has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kadoppe has quit [Ping timeout: 264 seconds]
gnufied has quit [Ping timeout: 260 seconds]
dANOKELOFF has quit [Remote host closed the connection]
<the_drow> Is there a way to apply grape validators on headers?
aurum_infide has quit [Ping timeout: 252 seconds]
rbennace_ has quit [Ping timeout: 246 seconds]
charliesome has quit [Client Quit]
rbennacer has joined #ruby
Xeago has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
madgen has joined #ruby
minimalism has quit [Quit: minimalism]
lyoshajapan has joined #ruby
PedramT has joined #ruby
Balzrael has joined #ruby
PedramT_ has joined #ruby
joseph has joined #ruby
jenrzzz has joined #ruby
chosen1 has joined #ruby
bronson has joined #ruby
PedramT has quit [Ping timeout: 250 seconds]
lyoshajapan has quit [Ping timeout: 276 seconds]
PedramT_ has quit [Ping timeout: 246 seconds]
chosen1x has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
gmas has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 252 seconds]
gmas has joined #ruby
CloCkWeRX has joined #ruby
yfeldblum has joined #ruby
lyoshajapan has joined #ruby
Zai00 has quit [Quit: Zai00]
ur5us has joined #ruby
rbennacer has joined #ruby
GodFather has joined #ruby
diegoaguilar has quit [Ping timeout: 244 seconds]
chosen1_ has joined #ruby
mikeiniowa has joined #ruby
blt has quit [Ping timeout: 276 seconds]
evidex has quit [Remote host closed the connection]
evidex has joined #ruby
pawnbox has quit [Remote host closed the connection]
chosen1 has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
bluOxigen has joined #ruby
norc has joined #ruby
norc has quit [Changing host]
norc has joined #ruby
norc has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
dvinciguerra_ has joined #ruby
<norc> Hi. Can anyone come up with a shorter variant of this? 1234.to_s.gsub(/(.)/, '3\1')
<norc> >> 1234.to_s.gsub(/(.)/, '3\1')
<ruby[bot]> norc: # => "31323334" (https://eval.in/552143)
bluOxigen_ has quit [Ping timeout: 260 seconds]
stannard has joined #ruby
antgel has quit [Ping timeout: 276 seconds]
Rickmast_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antgel has joined #ruby
rbennacer has joined #ruby
kareeoleez has quit [Remote host closed the connection]
inukshuk_ has joined #ruby
millerti has joined #ruby
millerti has quit [Max SendQ exceeded]
the_drow has quit [Read error: No route to host]
the_drow_ has joined #ruby
<Ox0dea> >> '1234'.gsub /(?!$)/, ?3 # norc
<ruby[bot]> Ox0dea: # => "31323334" (https://eval.in/552145)
stannard has quit [Ping timeout: 276 seconds]
<Ox0dea> They're essentially the same size, but this one's fancire.
<Ox0dea> *fancier
diegoaguilar has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
<Ox0dea> Also, I'll show you mine in the hope you'll show me yours: http://imgh.us/ruby_hierarchy.png
nfk|laptop has joined #ruby
<norc> Ox0dea: Fortiguard thinks my time is better spent surfing Facebook than imgh.us.
<Ox0dea> Alas.
blt has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
frankier has quit [Ping timeout: 244 seconds]
codecop has quit [Remote host closed the connection]
<norc> Ox0dea: The name indicates you made a graph of the object hierarchy from all objects in Ruby, is that correct?
<norc> *classes in Ruby.
ur5us has quit [Remote host closed the connection]
<Ox0dea> norc: More or less. I didn't include anonymous leaves or Errno.
bkxd has joined #ruby
<norc> Ox0dea: Ill have to dig in my time machine backup, because I think I deleted the results.
waxxy has quit [Read error: Connection reset by peer]
<Ox0dea> norc: Was it "pretty" in the programmer's sense of the word? :)
<norc> Can you rehost the graph on imgsafe.org? That one apparently is fine, just like facebook.
<norc> Hardly.
<norc> Well, it was informative.
trinaldi has joined #ruby
waxxy has joined #ruby
<Ox0dea> norc: They shrunk it beyond legibility. That's why I used imgh.us.
Zai00 has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
<workmad3> wow, that's pretty awful
PedramT has joined #ruby
<norc> Yeah its not there anymore. Ever since I started using time machine backup, I regularly delete everything that is immediately relevant.
inukshuk_ has quit [Quit: leaving]
Madplatypus has quit [Quit: Connection closed for inactivity]
merida has quit [Remote host closed the connection]
merida has joined #ruby
Zai00 has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
PedramT has quit [Ping timeout: 244 seconds]
PedramT has joined #ruby
lyro has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
dANOKELOFF has joined #ruby
moei has joined #ruby
rbennacer has quit [Ping timeout: 268 seconds]
Skelz0r has quit [Ping timeout: 276 seconds]
rbennace_ has joined #ruby
RegulationD has joined #ruby
gnufied has joined #ruby
theery has joined #ruby
PedramT has quit [Ping timeout: 276 seconds]
WebDevB has joined #ruby
Chagel_ has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 268 seconds]
Skelz0r has joined #ruby
theery has quit [Ping timeout: 244 seconds]
<norc> Ox0dea: By the way, is that just classes or modules too?
PedramT has joined #ruby
bruno- has joined #ruby
<Ox0dea> norc: I did `ObjectSpace.each_object { |o| o.respond_to? :ancestors }` just in case something fancy was hiding somewhere.
<norc> Aye, I really want to dig up my solution now.
giz|work has joined #ruby
DoubleMalt has joined #ruby
Macaveli has joined #ruby
charliesome has joined #ruby
PedramT has quit [Ping timeout: 252 seconds]
Macaveli has quit [Client Quit]
bruno- has quit [Ping timeout: 244 seconds]
diegoaguilar has quit [Ping timeout: 244 seconds]
bakedb has joined #ruby
PedramT has joined #ruby
jenrzzz has joined #ruby
<Ox0dea> norc: Here's my one: https://eval.in/552153
Macaveli has joined #ruby
rbennace_ has quit [Ping timeout: 268 seconds]
bkxd has quit [Ping timeout: 276 seconds]
frankier has joined #ruby
bkxd has joined #ruby
PedramT has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
terlar has quit [Ping timeout: 246 seconds]
htmldrum has joined #ruby
PedramT has joined #ruby
cwenner has joined #ruby
gregf_ has quit [Quit: leaving]
full_throttle has joined #ruby
<full_throttle> what is the easiest to learn paradigm course out there?
vondruch has joined #ruby
gnufied has quit [Quit: Leaving]
htmldrum has quit [Ping timeout: 244 seconds]
WebDevB has quit []
PedramT has quit [Ping timeout: 268 seconds]
rbennacer has joined #ruby
gnufied has joined #ruby
senayar has joined #ruby
skislak has quit [Ping timeout: 260 seconds]
ldnunes has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
<apeiros> hm, fascinating - after 3 months, it's still ruby 2.3.0
gregf_ has joined #ruby
<giz|work> 1.8 is still good enough
Gasher has joined #ruby
bmf has quit [Ping timeout: 268 seconds]
solars has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
skislak has joined #ruby
pawnbox has quit [Remote host closed the connection]
<yorickpeterse> giz|work: get out
<giz|work> ;P
conta has quit [Ping timeout: 260 seconds]
IrishGringo has joined #ruby
<norc> >> a = "quux"; a.instance_eval { def foo; length; end; }; a.foo
<ruby[bot]> norc: # => 4 (https://eval.in/552170)
<norc> workmad3: ^-
<norc> instance_eval sets the default assignee to be the receivers singleton class.
Ropeney has joined #ruby
failshell has joined #ruby
<workmad3> norc: yeah, I just tried that out locally too to double-check
rbennacer has joined #ruby
failshell has quit [Remote host closed the connection]
<Ox0dea> norc: *definee
<workmad3> norc: but it's something I had to verify, and I'd probably need to verify it every time I read the code to be sure :)
<Ox0dea> It's a weird word.
<norc> Ox0dea: Thank you.
failshell has joined #ruby
<norc> Ox0dea: That way of looking at it has the only way the method ever made sense to me.
kareeoleez has joined #ruby
<norc> has been even.
futilegames has joined #ruby
<Ox0dea> Yeah, it's the right approach, I think.
failshell has quit [Client Quit]
<nfk|laptop> wow, #RubyOnRails has gone shitty
hanmac has quit [Ping timeout: 250 seconds]
<Ox0dea> Must be an apocalypse comin'.
<norc> nfk|laptop: nope thats just sevenseacat
<nfk|laptop> same thing
augcesar has joined #ruby
<nfk|laptop> i have never even been banned from #python despite how many times i have compared it to ruby there
krz has joined #ruby
<norc> nfk|laptop: Just be glad DHH is not around to tell you how you must redesign your application to look like basecamp.
<nfk|laptop> or kicked
<nfk|laptop> or silenced
rbennacer has quit [Ping timeout: 250 seconds]
dionysus69 has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
<norc> nfk|laptop: If you want some real fanatism, go to ##c++ and ask a question about stack allocated objects. They will make fun of you how "The C++ langauge specification knows of no stack"
<nfk|laptop> norc, way back when i was learning C++ that channel was pretty nice
<nfk|laptop> as long as you were willing to listen to what they were saying
<nfk|laptop> anyway, time to grab some food, afk
futilegames has quit [Quit: futilegames]
solars has joined #ruby
conta has joined #ruby
<giz|work> nfk|laptop: python? ... isnt that the programming language similiar to whitespace?
ffgghhj has quit [Ping timeout: 248 seconds]
n008f4g_ has quit [Ping timeout: 244 seconds]
Rickmasta has joined #ruby
baweaver has joined #ruby
tesuji has quit [Ping timeout: 252 seconds]
hanmac has joined #ruby
rodfersou has quit [Ping timeout: 276 seconds]
AlexRussia has joined #ruby
baweaver has quit [Ping timeout: 248 seconds]
Rickmasta has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
Jameser has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
nobitanobi has quit [Remote host closed the connection]
<nfk|laptop> i wouldn't say similar to whitespace but i definitely prefer the ruby syntax
rodfersou has joined #ruby
Jameser has quit [Remote host closed the connection]
nobitanobi has joined #ruby
<nfk|laptop> it just feels much more purposeful to have an end and not just the right number of whitespace, also, iirc, python uses 4 whitespaces by convention and i strongly prefer 2 since i started my modern programming with ruby
rbennacer has joined #ruby
diegoaguilar has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
<nfk|laptop> anyway, i'd say going from ruby to python is unpleasant but easier than from most other languages
<nfk|laptop> and quite likely easier than from python to ruby
bruno- has joined #ruby
rbennacer has quit [Ping timeout: 252 seconds]
blackgoat has quit [Quit: WeeChat 1.4]
<Ox0dea> > If default_factory is not None, it is called without arguments...
<Ox0dea> Awesome.
<nfk|laptop> also python feels like a hodgepodge of stuff (i know, 1337 people say that about ruby) which is kinda annoying and even infuriating when python programmers do not understand what you're talking about
<Ox0dea> Why on *earth* wouldn't the lambda you pass to defaultdict() be invoked with the key?
swills has quit [Ping timeout: 260 seconds]
<nfk|laptop> does ruby also have defaultdict or is that a python issue?
pawnbox has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
<Ox0dea> Ruby lets you pass a block to Hash.new to do all sorts of nifty things.
<workmad3> you can also pass a default value, but that's less nifty :)
<nfk|laptop> ah, so it's not the same
<nfk|laptop> with defaultdict in python you can only basically have a dictionary of class instances
Morfeyka has joined #ruby
jenrzzz has joined #ruby
<Ox0dea> Huh?
<Ox0dea> To get Hash.new-like behavior in Python, you have to subclass dict and define __missing__().
<nfk|laptop> which is neat since then you can assume that for example your array of arrays is literally an array of arrays at all times otherwise you need to instantiate every element yourself
<workmad3> fib = Hash.new { |h, k| h[k] = h[k - 1] + h[k - 2] }; fib[1] = 1; fib[2] = 1 # Fibonacci hash
<nfk|laptop> Ox0dea, which is why i said it's not the same thing
<Ox0dea> nfk|laptop: Either can emulate the other.
<nfk|laptop> yeah, except in ruby i never needed defaultdict because of how sexy and cool ruby is and in python you can't pass a block to it, you need to do what you described
<nfk|laptop> as for emulation, you can write a web server in asm, heck, binary works, too, who needs hex
sdothum has joined #ruby
IrishGringo has quit [Ping timeout: 260 seconds]
saneax is now known as saneax_AFK
jenrzzz has quit [Ping timeout: 248 seconds]
theery has joined #ruby
aupadhye has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
augcesar[2] has joined #ruby
_stu_ has joined #ruby
terlar has joined #ruby
pawnbox has quit [Remote host closed the connection]
Chagel has joined #ruby
djbkd has quit [Remote host closed the connection]
Morfeyka has quit [Ping timeout: 250 seconds]
Zai00 has joined #ruby
pabs has quit [Ping timeout: 246 seconds]
pabs has joined #ruby
tubuliferous has joined #ruby
User458764 has joined #ruby
kadoppe has joined #ruby
User458764 has quit [Max SendQ exceeded]
User458764 has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
PedramT has joined #ruby
pawnbox has joined #ruby
solocshaw has joined #ruby
ramortegui has joined #ruby
jmignault has joined #ruby
pawnbox has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
pawnbox has joined #ruby
ChiefAlexander has joined #ruby
kadoppe has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
frankier has quit [Ping timeout: 276 seconds]
GodFather has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d0nn1e has quit [Ping timeout: 244 seconds]
ChiefAlexander has quit [Remote host closed the connection]
schemanic has joined #ruby
ChiefAlexander has joined #ruby
htmldrum has joined #ruby
dANOKELOFF has quit []
PedramT has quit [Ping timeout: 264 seconds]
d0nn1e has joined #ruby
heyjim has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
charliesome has quit [Client Quit]
rbennacer has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
hays_ has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
william3 has joined #ruby
solars has quit [Ping timeout: 248 seconds]
M-mistake has quit [Ping timeout: 248 seconds]
duckpupp1 has joined #ruby
htmldrum has quit [Ping timeout: 246 seconds]
M-shine has quit [Ping timeout: 260 seconds]
aegis3121 has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
howdoi has joined #ruby
_stu_ has quit [Read error: Connection reset by peer]
full_throttle has quit [Quit: Lost terminal]
hays has joined #ruby
despai has quit [Quit: Connection closed for inactivity]
_stu_ has joined #ruby
thistle has joined #ruby
JakFrist has joined #ruby
thistle has quit [Client Quit]
thistle has joined #ruby
Lycaonian has quit [Ping timeout: 246 seconds]
ljames has quit []
BTRE has quit [Ping timeout: 244 seconds]
M-shine has joined #ruby
M-mistake has joined #ruby
stannard has joined #ruby
kadoppe has joined #ruby
Macaveli has joined #ruby
Snowy is now known as Ooooh
Ooooh is now known as Snowy
PedramT has joined #ruby
thistle has quit []
stannard has quit [Ping timeout: 240 seconds]
theery has quit []
thistle has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
kadoppe has quit [Ping timeout: 248 seconds]
snoobydoo has quit [Ping timeout: 248 seconds]
tubuliferous has quit [Ping timeout: 276 seconds]
tubuliferous has joined #ruby
ekinmur has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
eljimbo has joined #ruby
merida has quit [Remote host closed the connection]
lxsameer has quit [Quit: WeeChat 1.4]
kus has joined #ruby
solars has joined #ruby
Xeago has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
IrishGringo has joined #ruby
Jameser has joined #ruby
bruno- has joined #ruby
GodFather has joined #ruby
Xeago has joined #ruby
<shevy> use ruby!
dcunit3d has quit [Ping timeout: 244 seconds]
tubuliferous has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 252 seconds]
<giz|work> ruby is the awesomeest sauce
<giz|work> i recently used "tap" the first time... so neat
<shevy> eh still not at 100% perfection
<shevy> I still have not found a usecase for .tap :(
bronson has joined #ruby
malconis has joined #ruby
Waqas has joined #ruby
abyx has joined #ruby
fmcgeough has joined #ruby
dionysus69 has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Jameser has quit [Remote host closed the connection]
tubuliferous has joined #ruby
Waqas has quit [Ping timeout: 250 seconds]
Zai00 has quit [Read error: Connection reset by peer]
sgambino has joined #ruby
Waqas has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
kareeoleez has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
mtkd has quit []
freerobby has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
freerobby has joined #ruby
deuterium has joined #ruby
<djellemah> shevy: pretend Hash.new does not take a block, and you have to use Hash#default_proc=
<shevy> I am not even sure what of the new or semi-new things I am really using
<shevy> I do sometimes use the "new" hash syntax, since it can be shorter
<shevy> haven't used the lonely operator yet either
<nfk|laptop> shevy, i actually formulated it after i had to explain why rails instead of php
<nfk|laptop> i actually got my way but i later thought "why not php? why not asm? why not binray?!"
<nfk|laptop> *binary
idletask has joined #ruby
<nfk|laptop> since explaining to someone who has never programmed anything but PHP, JS and C# why Ruby is better is futile
<nfk|laptop> also does not want to program anything but what he already knows
<adaedra> There's no "better" language.
<nfk|laptop> i disagree
<nfk|laptop> i like ruby as long as it's fast enough for the purpose and has the required bindings
<adaedra> For the reason that there is no "better" language than another. Ruby can be more fitted in certain tasks, whereas it can also be problematic in other areas. It all depends on a large number of parameters.
conta has quit [Ping timeout: 268 seconds]
tubuliferous has quit [Ping timeout: 264 seconds]
<nfk|laptop> adaedra, i think my fast enough and has the right bindings pretty much implies that it's also the right tool for that purpose
<shevy> if there would be no better language
<shevy> we would all use THE ONE LANGUAGE
<adaedra> It means it can be "better" in a particular case, not generically.
<nfk|laptop> i would never try to write an os in ruby but i also avoid writing any script in anything but ruby unless i must (stupid systemd)
<giz|work> shevy: Thread.list.tap{|t|t.shift}.map{|t|t.join}
<shevy> which is php
<adaedra> And even here, it's objective.
<nfk|laptop> shevy, i thought you meant lisp
<shevy> giz|work I am not even sure what that code does
<shevy> nfk|laptop I dunno... is it still used actually?
<giz|work> shevy: it joins all threads but the first
<shevy> giz|work hmm
<nfk|laptop> shevy, isn't ruby rather lispy under the hood?
<shevy> no!
<shevy> you can omit () :)))
<giz|work> (((:
<shevy> that was just a big smile, not a paren!
<giz|work> still feels better when the smile is closed!
ta_ has quit [Remote host closed the connection]
griffindy has joined #ruby
<nfk|laptop> you funkil
<nfk|laptop> l
<shevy> I feel that ruby is very close to smalltalk and perl
<shevy> I forgot from where ruby took blocks hmm
<nfk|laptop> and isn't smalltalk a lisp dialect?
<shevy> dunno
<surrounder> no
ixti has joined #ruby
<nfk|laptop> whatever, more programming for me, time to kick in the crunch mode
<shevy> scheme can be quite nice; my favourite example is still https://sourceforge.net/projects/nazghul/
<nfk|laptop> code is my blood, trial and error is my bones, so as i pray, unlimited ruby works
<nfk|laptop> or something
<shevy> (kern-mk-sched 'sch_jeff_resigned
<shevy> (list 0 0 kun-road "sleeping")
<shevy> some NPC behaviour
<giz|work> this actually reads more like my own behaviour Oo
<shevy> hehe
<shevy> he wrote a whole game world in scheme that way... I have not written a whole game world in ruby yet :(
<giz|work> i am onward to write a text based rpg for the new chatbot :)
<giz|work> only concern is performance as i use active record heavily atm :/
<shevy> hanmac wanted to do so too
<shevy> and some other dude also from germany... #openrmk or what was it
Zai00 has joined #ruby
<shevy> I was mighty ambitious in the old days too ... the innocence of youth :(
<nfk|laptop> one thing i do not like about programming is how long how little can take
bihi has quit [Quit: Bye!]
<shevy> yeah
<nfk|laptop> like i just solved a bug from a week ago by only deleting some characters in the right place
<shevy> can drain a lot of time
<shevy> bugs are the absolutely worst thing
<nfk|laptop> it just took me a week to learn enough to know which ones to delete
<adaedra> often, the silliest errors are the hardest to find
bihi has joined #ruby
<nfk|laptop> also, the navigation now works, booya
<shevy> oh yeah... it took me almost an hour to find out that "def intialize" is not right
karmatr0n has joined #ruby
dcunit3d has joined #ruby
hinbody has quit [Ping timeout: 248 seconds]
<hanmac> shevy one a time i did see a cross between a TextAdventure and a Point&ClickAdventure xD
<hanmac> shevy but yeah openrmk was a nice idea, but we might had needed more men power to do more ... i did more for rwx and a possible scripting engine but not much to show as game or Editor
lele has quit [Ping timeout: 260 seconds]
<shevy> yeah
<shevy> man power!
<shevy> we need more people with more time
stannard has joined #ruby
<shevy> I get to write less and less code :(
lele has joined #ruby
<shevy> or actually... I focus more on small things and avoid big things
nchambers is now known as sillytime
<adaedra> there's a common base code, which allows you to focus on issues which matters to your project.
karmatr0n has quit [Ping timeout: 246 seconds]
<adaedra> common code base*
karmatr0n has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
karmatr0_ has joined #ruby
lele has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
chandlerbing has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
leksster has joined #ruby
conta has joined #ruby
lele has joined #ruby
diegoaguilar has quit [Ping timeout: 260 seconds]
jaruga__ has quit [Ping timeout: 248 seconds]
RegulationD has joined #ruby
aufi has joined #ruby
jaruga__ has joined #ruby
idletask has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: Leaving]
tty01 has joined #ruby
dhollinger has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
Karix has joined #ruby
JesseH has joined #ruby
bruno- has joined #ruby
KensoDev has joined #ruby
diegoaguilar has joined #ruby
LastWhisper____ has joined #ruby
freerobby has quit [Quit: Leaving.]
Chagel has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
LastWhisper____ has quit [Read error: Connection reset by peer]
LoganG has quit [Ping timeout: 248 seconds]
deuterium has quit [Ping timeout: 264 seconds]
tmtwd has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
tty01 has quit [Quit: Lost terminal]
merida has joined #ruby
BTRE has joined #ruby
Yiota has joined #ruby
aganov has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
phendryx has left #ruby ["Textual IRC Client: www.textualapp.com"]
platzhirsch has quit [Quit: Leaving.]
darkf has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
deuterium has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
merida has quit [Remote host closed the connection]
norc has quit [Ping timeout: 250 seconds]
Marsupermammal has joined #ruby
Xeago has joined #ruby
kriskropd has joined #ruby
kriskropd has joined #ruby
Zai00 has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
Rickmasta has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
cpruitt has joined #ruby
kobain has joined #ruby
agentmeerkat has joined #ruby
n008f4g_ has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
william3 has quit [Remote host closed the connection]
OTORelic1 has joined #ruby
merida has joined #ruby
william3 has joined #ruby
smathy has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> does anyone know how many major ruby releases there will be before 3.x?
<bougyman> 11
freerobby has quit [Quit: Leaving.]
aufi has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
<elusiveother> what form of regex does ruby use?
aegis3121 has quit [Ping timeout: 246 seconds]
<smathy> Perlish
<elusiveother> mmm
minimalism has joined #ruby
<elusiveother> i'm finding a lot of inconsistencies
al2o3-cr has quit [Quit: WeeChat 1.4 %t]
<smathy> Redefines ^ and $ to be what they are in Perl with the /m modifier.
<yorickpeterse> >> /this is a regex/
<ruby[bot]> yorickpeterse: # => /this is a regex/ (https://eval.in/552267)
<havenwood> elusiveother: Ruby uses Onigmo these days.
merida has quit [Remote host closed the connection]
<smathy> elusiveother, make a gist - show your question
<havenwood> shevy: 3
skislak has quit [Ping timeout: 244 seconds]
terlar has quit [Ping timeout: 244 seconds]
<havenwood> Oniguruma-mod-mod!
bakedb has quit [Read error: Connection reset by peer]
aegis3121 has joined #ruby
nfk|laptop has quit [Quit: yawn]
codecop has joined #ruby
merida has joined #ruby
terlar has joined #ruby
<havenwood> shevy: 2.5 this Christmas, 2.6 Christmas 2017, 2.7 Christmas 2018, 2.9 Christmas 2019... then 3.0! At least that's the plan. :)
<havenwood> shevy: So I guess that's 4 not 3.
bluOxigen has quit [Ping timeout: 276 seconds]
<havenwood> And I was off by a minor version, starts at 2.4.
<elusiveother> yeah, that's what i was having trouble with
<elusiveother> it seems to respect what ^ and $ mean only when its convenient
lyoshajapan has joined #ruby
<adaedra> ^ and $ matches begin and end of *lines*. If you want to match beginning/end of string, use \A and \z.
<adaedra> rubular.com can help you test your regexes easily.
giz|work has quit [Ping timeout: 244 seconds]
antgel has quit [Ping timeout: 260 seconds]
Guest48934 has quit [Ping timeout: 244 seconds]
<shevy> havenwood damn... that's like 3 years
<shevy> I'll be almost 70 years at that time
rodfersou is now known as rodfersou|lunch
davejlong has joined #ruby
lyoshajapan has quit [Ping timeout: 244 seconds]
conta has quit [Ping timeout: 264 seconds]
PedramT has joined #ruby
Yiota has joined #ruby
<manveru> hmm
<manveru> >> 27 + 3
<ruby[bot]> manveru: # => 30 (https://eval.in/552276)
<manveru> yeah, pretty much 70
User458764 has joined #ruby
CausaMortis has quit [Ping timeout: 252 seconds]
htmldrum has joined #ruby
LoganG has joined #ruby
jhack has joined #ruby
<shevy> I round up a little!
<elusiveother> high values of 30
bmf has joined #ruby
<shevy> perhaps they may go for 2020... would be a round number. 2020: ruby 3
<shevy> let me find out when 1.8.0 hit the world...
hinbody has joined #ruby
<manveru> around 2003?
<shevy> hah you are right... I hope you guessed rather than google like I did :D here was the announcement https://www.ruby-lang.org/en/news/2003/08/04/ruby-180-released/
madgen has quit [Ping timeout: 240 seconds]
<manveru> yeah, i remember when the pickaxe came out
Yiota has quit [Client Quit]
idletask has joined #ruby
<manveru> that was about a year before i started getting into ruby
tubuliferous has quit [Ping timeout: 276 seconds]
<manveru> and one year before that was 1.8 :)
nuck has joined #ruby
Snowy has quit [Quit: ragequit]
x77686d has joined #ruby
nuck is now known as Guest49991
<manveru> anw, it's all ancient history now
PedramT has quit [Ping timeout: 276 seconds]
agent_white has joined #ruby
<shevy> yeah... 13 years ... oh man
<shevy> chris2 was like 11 when he started with ruby or something
kareeoleez has joined #ruby
kadoppe has joined #ruby
lyro has joined #ruby
<chris2> more like 14
<shevy> :D
* manveru still remembers that euruko
kareeoleez has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
kareeoleez has joined #ruby
<davejlong> Having a total brain fart. Let's say I have an options hash like { trip: 1234, driver: 1890, car: 890 } and I want to validate if either driver or car key exists and also validate that they exist in my database. Is there a quick way to do that with something like a since case statement?
merida_ has joined #ruby
aupadhye has quit [Quit: Leaving]
aupadhye has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
<agent_white> Mornin'
<manveru> davejlong: a since case?
<havenwood> shevy: Alls I'm sayin' is 24 is the biggest number: https://www.youtube.com/watch?v=RkP_OGDCLY0
<davejlong> manveru: Sorry, I have no idea how the "since" got in there.
<davejlong> manveru: This is what I tried already (https://gist.github.com/davejlong/b1d6b20d0d176c8efacb60f630aa8214), but the case statement breaks out after the first match.
jaruga__ has quit [Quit: jaruga__]
jaruga__ has joined #ruby
s00pcan has joined #ruby
<manveru> yeah... that's now they work in ruby
CausaMortis has joined #ruby
idletask has quit [Ping timeout: 260 seconds]
merida has quit [Ping timeout: 276 seconds]
terlar has quit [Ping timeout: 240 seconds]
<davejlong> Is there any control flow method in Ruby that does let me write concise code like I'm looking for?
dionysus69 has quit [Ping timeout: 244 seconds]
merida has joined #ruby
al2o3-cr has joined #ruby
<davejlong> This is the flow I feel like I'll have to go with.
merida_ has quit [Ping timeout: 260 seconds]
CausaMortis has quit [Read error: Connection reset by peer]
<shevy> I guess for these control flows, people will just typically use if/elsif/else
lyoshajapan has quit [Ping timeout: 268 seconds]
RegulationD has joined #ruby
weemsledeux has joined #ruby
kareeoleez has quit [Remote host closed the connection]
solars has quit [Ping timeout: 248 seconds]
symm- has joined #ruby
kadoppe has quit [Ping timeout: 240 seconds]
AndyBotwin has joined #ruby
AndyBotwin has joined #ruby
infra-red has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 276 seconds]
PedramT has joined #ruby
<djellemah> >> ha = { trip: 1234, driver: 1890, car: 890 }; driver, car = ha.values_at(:driver, :car) # might help davejlong
<ruby[bot]> djellemah: # => [1890, 890] (https://eval.in/552283)
SCHAAP137 has quit [Remote host closed the connection]
mdih has quit [Ping timeout: 244 seconds]
<davejlong> I think after the conditionals for your solution, I'd end up with code not too disimilar to what you have there.
PedramT_ has joined #ruby
<al2o3-cr> >> * = *?a..?z
<ruby[bot]> al2o3-cr: # => ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", ...check link for more (https://eval.in/552284)
jenrzzz has joined #ruby
<al2o3-cr> #values_at what a method :)
bronson has joined #ruby
dcunit3d has joined #ruby
kareeoleez has joined #ruby
tsherman has joined #ruby
Zackio has quit [Quit: C-x C-c]
jpfuentes2 has joined #ruby
PedramT__ has joined #ruby
andikr has quit [Remote host closed the connection]
AlexJakeGreen has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 276 seconds]
PedramT_ has quit [Ping timeout: 246 seconds]
lyoshajapan has joined #ruby
elifoster has joined #ruby
Zackio has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
idletask has joined #ruby
whiteline has quit [Read error: Connection reset by peer]
kareeoleez has quit [Ping timeout: 248 seconds]
whiteline_ has joined #ruby
whiteline_ is now known as whiteline
jenrzzz has quit [Ping timeout: 260 seconds]
VeryBewitching has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
<VeryBewitching> o/
PedramT__ has quit [Ping timeout: 268 seconds]
[Butch] has joined #ruby
lyoshajapan has quit [Ping timeout: 248 seconds]
lyoshajapan has joined #ruby
rkazak has joined #ruby
kareeoleez has joined #ruby
Devalo has quit [Remote host closed the connection]
gix has quit [Ping timeout: 244 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nando293921 has joined #ruby
al2o3-cr has quit [Ping timeout: 260 seconds]
edge226 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
<yorickpeterse> GET THE WITCH
<edge226> I'm trying to modify a gitlab irc bot, It is written in ruby and I am not entirely familiar with the syntax of Ruby+JSON.
lyoshajapan has quit [Ping timeout: 250 seconds]
<edge226> I'm not sure the syntax to put in the variable if the keys are nested.
<edge226> Would this do: issue_type = json['object_attributes']['noteable_type']
synthroid has joined #ruby
swills has joined #ruby
gix has joined #ruby
<edge226> I'm trying to get it to trigger correctly for each of these events https://gitlab.com/help/web_hooks/web_hooks#comment-events
kareeoleez has quit [Ping timeout: 276 seconds]
OTORelic1 has quit [Remote host closed the connection]
<edge226> Anyone know the syntax that is correct for that?
nodejunkie has quit [Ping timeout: 252 seconds]
OTORelic has joined #ruby
baweaver has joined #ruby
bkxd has joined #ruby
edwinvdgraaf has quit [Ping timeout: 260 seconds]
idletask has quit [Ping timeout: 246 seconds]
<manveru> edge226: looks good?
<manveru> you tried it?
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<edge226> manveru: No, I decided to ask before I did all the work updating it and making a new docker image.
idletask has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
<edge226> manveru: Its my first time modifying any ruby/json so instead of banging my head against trial and error I figured a second opinion would not hurt ;)
<manveru> well, if you have ruby installed anywhere, you could also try it :)
<manveru> might also help if you add some code that stores the json you get for debugging
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
<manveru> somehting like `File.write('/tmp/last_request', request.body.read.to_s, 'w+')`
<manveru> hm, that'll actually not read twice
<manveru> json = JSON.parse(request.body.read.to_s); File.write('/tmp/last_request', JSON.pretty_unparse(json), 'w+')
<edge226> manveru: I actually removed the case as I dont think it was needed. The issue was one of the keys was wrong.
<manveru> more like this
<edge226> doesnt it do the json.parse part already?
lyoshajapan has joined #ruby
<manveru> yes, it's the same as in the source
<edge226> btw I didnt write this I just snagged it and I'm updating it for the parts that arent there.
<manveru> the File.write just writes a pretty formatted version of the json to /tmp/last_request :)
Couch has quit [Ping timeout: 276 seconds]
<manveru> just in case you wondered what else is in the response... but i guess github docs also tell you that
<manveru> s/response/body/
tsherman has joined #ruby
Alayde has joined #ruby
kareeoleez has joined #ruby
tsherman has quit [Client Quit]
amclain has joined #ruby
tsherman has joined #ruby
rbennacer has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 248 seconds]
conta has joined #ruby
gizmore has joined #ruby
bronson has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
kareeoleez has quit [Ping timeout: 250 seconds]
eshea has joined #ruby
Xeago has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
dionysus69 has joined #ruby
conta has quit [Ping timeout: 268 seconds]
KrzaQ is now known as szczepan
szczepan is now known as KrzaQ
<mrgrieves> what approach would you suggest to use to replace a case section with when statement evaluating a pair of conditions using && operator?
agentmee1kat has joined #ruby
davejlong has quit [Remote host closed the connection]
mark3 has quit [Remote host closed the connection]
<gizmore> mrgrieves: the @refactor and recognize the old code was good@ approach
dcunit3d has quit [Ping timeout: 248 seconds]
stannard has quit [Remote host closed the connection]
agentmeerkat has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
hakunin has joined #ruby
lyoshajapan has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
kareeoleez has joined #ruby
davejlong has joined #ruby
davejlong has quit [Remote host closed the connection]
daytime is now known as iceswordYehai
iceswordYehai has quit [Disconnected by services]
davejlong has joined #ruby
davedev24 has joined #ruby
bruno- has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
kareeoleez has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
aldodelgado has joined #ruby
Macaveli has joined #ruby
lyoshajapan has quit [Ping timeout: 264 seconds]
czerasz has quit [Ping timeout: 264 seconds]
kareeoleez has joined #ruby
MagePsycho has joined #ruby
lyoshajapan has joined #ruby
lele has quit [Ping timeout: 264 seconds]
karmatr0_ has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
davejlong has quit []
davejlong has joined #ruby
dcunit3d has joined #ruby
daytime has joined #ruby
SCHAAP137 has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
kareeoleez has quit [Ping timeout: 276 seconds]
lele has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
lyoshajapan has quit [Ping timeout: 244 seconds]
rcvalle has joined #ruby
mrgrieves has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
edge226 is now known as Orbos-git-bot
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Orbos-git-bot is now known as edge226
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
binaryplease1 has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
Macaveli has joined #ruby
senayar has quit []
jenrzzz has quit [Ping timeout: 250 seconds]
polll has joined #ruby
trinaldi has quit [Ping timeout: 250 seconds]
binaryplease has quit [Ping timeout: 260 seconds]
iNs has joined #ruby
<iNs> rvm
<adaedra> chruby
<eam> docker
rkazak has quit [Ping timeout: 268 seconds]
* adaedra dockerizes eam
<eam> I just can't contain myself
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby
baweaver has quit [Remote host closed the connection]
cwenner has quit [Ping timeout: 248 seconds]
Macaveli has quit [Ping timeout: 244 seconds]
[Butch] has quit [Quit: I'm out . . .]
deuterium has quit [Ping timeout: 244 seconds]
william3 has quit [Remote host closed the connection]
benlieb has joined #ruby
Akuma has joined #ruby
binaryplease1 is now known as binaryplease
wreet has joined #ruby
wreet has quit [Changing host]
wreet has joined #ruby
wreet has left #ruby [#ruby]
kareeoleez has joined #ruby
x77686d has quit [Quit: x77686d]
mprelude has quit [Quit: WeeChat 1.4]
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
kus has quit [Read error: Connection reset by peer]
lyoshajapan has joined #ruby
<shevy> lol
myntcake has joined #ruby
sdothum has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
william3 has joined #ruby
al2o3-cr has quit [Ping timeout: 264 seconds]
al2o3-cr has joined #ruby
whathappens has joined #ruby
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kareeoleez has quit [Ping timeout: 268 seconds]
madgen has joined #ruby
jaruga__ has quit [Quit: jaruga__]
the_drow_ has quit [Quit: This computer has gone to sleep]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
sdothum has quit [Read error: Connection reset by peer]
Es0teric has joined #ruby
ruby-lang972 has joined #ruby
sdothum has joined #ruby
symm- has quit [Ping timeout: 246 seconds]
[Butch] has joined #ruby
ekinmur has quit [Remote host closed the connection]
goodroot has joined #ruby
mprelude has joined #ruby
tsherman has joined #ruby
trinaldi has joined #ruby
tsherman has quit [Client Quit]
lyoshajapan has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
tomchapin has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
<zacts> hi rubyists
Don_John has joined #ruby
<shevy> yo zacts the man
ramfjord has joined #ruby
Marsupermammal has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
Don_John has quit [Remote host closed the connection]
norc has joined #ruby
kareeoleez has joined #ruby
william3 has quit [Remote host closed the connection]
giz|work has joined #ruby
_blizzy_ has joined #ruby
thezanke has joined #ruby
<zacts> hey (%|:-)
lyoshajapan has joined #ruby
<zacts> :-D
william3 has joined #ruby
thezanke has quit [Max SendQ exceeded]
kareeoleez has quit [Ping timeout: 264 seconds]
theery has joined #ruby
ruby-lang972 has quit [Ping timeout: 250 seconds]
thezanke has joined #ruby
thezanke has quit [Max SendQ exceeded]
alyyy has joined #ruby
eshea has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 248 seconds]
aegis3121 has joined #ruby
SCHAAP137 has joined #ruby
kareeoleez has joined #ruby
davejlon_ has joined #ruby
lyoshajapan has joined #ruby
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
eshea has joined #ruby
davejlong has quit [Ping timeout: 276 seconds]
shinnya has joined #ruby
theery has quit []
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lyoshajapan has quit [Ping timeout: 264 seconds]
jpfuentes2 has joined #ruby
jpfuentes2 has quit [Client Quit]
<alyyy> I feel totally dumb here, but why won't this substitution work? https://gist.github.com/anonymous/fa5a05d4f41991f40422223e2c53b6d2
jpfuentes2 has joined #ruby
schemanic has quit [Ping timeout: 246 seconds]
jpfuentes2 has quit [Client Quit]
Gasher has quit [Ping timeout: 250 seconds]
Begi has joined #ruby
jpfuentes2 has joined #ruby
jpfuentes2 has quit [Client Quit]
jpfuentes2 has joined #ruby
jpfuentes2 has quit [Client Quit]
spider-mario has joined #ruby
jpfuentes2 has joined #ruby
jpfuentes2 has quit [Client Quit]
jpfuentes2 has joined #ruby
jpfuentes2 has quit [Client Quit]
<alyyy> it's a simple find and replace in a string
troulouliou_div2 has joined #ruby
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
postmodern has joined #ruby
_stu_ has quit [Quit: _stu_]
ruby-lang762 has joined #ruby
stannard has quit [Remote host closed the connection]
mdih has joined #ruby
s00pcan has quit [Quit: Lost terminal]
trinaldi has quit [Ping timeout: 240 seconds]
<norc> >> a = 'aly\'s dog'; a.sub '\'', '\\\''
<ruby[bot]> norc: # => "alys dogs dog" (https://eval.in/552356)
Gasher has joined #ruby
<norc> alyyy, it works, just not the way you expect it to.
<norc> Give me a second to find the documentation on this.
ruby-lang762 has quit [Ping timeout: 250 seconds]
Marsupermammal has joined #ruby
jenrzzz has joined #ruby
ruby-lang608 has joined #ruby
conta has joined #ruby
finisherr has joined #ruby
lyoshajapan has joined #ruby
elaptics is now known as elaptics`away
aldodelgado has quit [Quit: aldodelgado]
Nawn has joined #ruby
william3 has quit [Remote host closed the connection]
stannard has joined #ruby
ootput has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
aegis3121 has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
<smathy> Simpler to just use lookahead: a.sub /(?=\')/, '\\'
conta has quit [Ping timeout: 268 seconds]
<smathy> ...but xy problem.
<norc> alyyy, that actually looks like a bug.
lyoshajapan has quit [Ping timeout: 260 seconds]
aegis3121 has joined #ruby
rodfersou|lunch is now known as rodfersou
<alyyy> norc, really? very weird
PedramT has joined #ruby
<alyyy> any work around?
<norc> alyyy, the only explanation I see is that \\\' is being interpreted as $' somehow.
<norc> Which Im still not entirely sure whether it should.
baweaver has joined #ruby
<eam> is this an irb bug?
<norc> eam, nope, I just reproduced this here earlier.
<eam> I see different results in irb vs #!
<alyyy> let me try making it a script
william3 has joined #ruby
<alyyy> just fyi this is ruby 1.9.3
tsherman has joined #ruby
<norc> alyyy, ruby[bot] runs on 2.3.0
edwinvdgraaf has joined #ruby
<norc> eam, Im guessing irb is treating it differently then?
<eam> '\'' should be just a single character String containing a single quote
<norc> eam, well it definitely is interpreting the \' as $' somehow.
<eam> oh hang on, my error
<norc> >> a = 'a\'b'; a.sub '\'', '\\\''
<ruby[bot]> norc: # => "abb" (https://eval.in/552370)
<norc> Though Im still not entirely sold whether this is a bug.
<eam> I retract everything I said
<norc> This might actually be a thing.
shinnya has quit [Ping timeout: 268 seconds]
<eam> I was printing out the wrong thing from the #!, hah
rodfersou has quit [Quit: leaving]
ruby-lang608 has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 264 seconds]
rodfersou has joined #ruby
ducklobster has joined #ruby
<alyyy> I ran this without irb, same result
mat-svol has joined #ruby
<alyyy> >> 'aly\'s dog'.sub("'", "\\'")
<alyyy> how do I run things with the bot?
<adaedra> you need to be registered on freenode.
PedramT has quit [Ping timeout: 276 seconds]
* smathy still says to just use lookahead
<norc> It somehow feels like this is a feature that is just not documented.
krz has quit [Read error: Connection reset by peer]
<norc> Lets see whether jruby does the same.
william3 has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
<smathy> >> a = 'aly\'s dog'; a.sub /(?=\')/, "\\"
<ruby[bot]> smathy: # => "aly\\'s dog" (https://eval.in/552379)
evidex has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
<eam> jruby appears to behave similarly
<norc> Which makes me think that this is an intentional feature.
<norc> \' looks too similar to $' which is the same.
<norc> or rather has the same effect.
<eam> does sub take a regex or a string
<adaedra> both.
stannard has quit [Read error: Connection reset by peer]
czerasz has joined #ruby
<adaedra> >> a = 'aly\'s dog'.sub(/'/, '\\\'')
<ruby[bot]> adaedra: # => "alys dogs dog" (https://eval.in/552384)
<adaedra> I wat
<alyyy> you should still be able to escape out of it I assume
bkxd has joined #ruby
<alyyy> right?
<adaedra> >> a = 'aly\'s dog'.sub(/\'/, '\\\'')
<ruby[bot]> adaedra: # => "alys dogs dog" (https://eval.in/552387)
<adaedra> >> a = 'aly\'s dog'.sub(/\\'/, '\\\'')
<ruby[bot]> adaedra: # => "aly's dog" (https://eval.in/552389)
<al2o3-cr> >> a = 'aly\'s dog'.sub(/'/, "\\\\'")
<ruby[bot]> al2o3-cr: # => "aly\\'s dog" (https://eval.in/552391)
<adaedra> derp
<adaedra> One day I'll learn how to read a doc
jenrzzz has joined #ruby
trinaldi has joined #ruby
<alyyy> I can't be the first person to try and replace ' with \' in a string, right?
lyoshajapan has joined #ruby
<eam> appears that pattern capture groups can be referenced by \ backref style syntax?
<adaedra> look, al2o3-cr succeeded.
<eam> am I reading that correctly?
<adaedra> eam: well yes.
<eam> so by design?
<eam> (sorry I think this is what norc was saying all along, I'm slow)
<adaedra> >> "hello eam".sub(/hello (\w+)/, 'goodbye \1')
<ruby[bot]> adaedra: # => "goodbye eam" (https://eval.in/552400)
<adaedra> but I didn't know about \'
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 244 seconds]
<adaedra> alyyy: so yeah, use more backslashes in your replacement.
tsherman has joined #ruby
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
<al2o3-cr> and also use double quotes
<eam> alyyy: you want puts a.sub '\'', '\\\\\''
<adaedra> >> "aly's dog".sub(/'/, "\\\\'")
<ruby[bot]> adaedra: # => "aly\\'s dog" (https://eval.in/552409)
<eam> according to the #sub docs
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<n1colas> Hello
<norc> eam, try it.
<norc> Just see how Ruby completely chokes on it.
<adaedra> Hello n1colas
<eam> norc: I tried puts a.sub '\'', '\\\\\''
<eam> seems to work
jenrzzz has quit [Ping timeout: 248 seconds]
<alyyy> ok, I got it now
<eam> \\\\' is ', and \\ is \
<adaedra> but yeah, that's totally a feature
<alyyy> thank you so much for the help, gotta get back to work :)
<norc> alyyy, just use the block form for readability.
<eam> backreferences :(
<alyyy> blockform?
renancarvalho has joined #ruby
Xeago has joined #ruby
tsherman has quit [Client Quit]
djellemah_ has joined #ruby
djbkd has joined #ruby
barajasfab has joined #ruby
tsherman has joined #ruby
jt__ has joined #ruby
alyyy has quit [Quit: Leaving]
flashpoint9 has quit [Read error: Connection reset by peer]
aegis3121 has quit [Ping timeout: 246 seconds]
blackjid has quit [Ping timeout: 248 seconds]
tpendragon has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
flashpoint9 has joined #ruby
william3 has joined #ruby
lyoshajapan has quit [Ping timeout: 276 seconds]
stannard has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
renancarvalho has left #ruby [#ruby]
tpendragon has joined #ruby
jolamb has joined #ruby
Dimik has joined #ruby
blackjid has joined #ruby
aegis3121 has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
bronson has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
ctarx has joined #ruby
valetudo has quit [Ping timeout: 244 seconds]
tagaulap has quit [Quit: Connection closed for inactivity]
giz|work has quit [Read error: Connection reset by peer]
giz|work has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
valetudo has joined #ruby
william3 has joined #ruby
bronson has joined #ruby
Guest27224 has quit [Ping timeout: 244 seconds]
kent\n has quit [Ping timeout: 264 seconds]
infra-red has joined #ruby
kent\n has joined #ruby
kent\n has quit [Changing host]
kent\n has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
dionysus69 has quit [Quit: dionysus69]
cdg has quit [Ping timeout: 268 seconds]
valetudo has quit [Read error: Connection reset by peer]
kent\n has quit [Ping timeout: 250 seconds]
kent\n has joined #ruby
baweaver has joined #ruby
Gasher has quit [Ping timeout: 250 seconds]
lyoshajapan has joined #ruby
ekinmur has joined #ruby
Xeago has quit [Remote host closed the connection]
ekinmur has quit [Max SendQ exceeded]
davejlon_ has quit [Remote host closed the connection]
ekinmur has joined #ruby
davejlong has joined #ruby
skinofstars has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
kentnl has joined #ruby
kent\n has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
lyoshajapan has quit [Ping timeout: 244 seconds]
n008f4g_ has joined #ruby
<jolamb> are there any libs which provide useful common magic numbers in the standard library?
infra-red has quit [Remote host closed the connection]
sauvin has quit [Read error: Connection reset by peer]
<pipework> jolamb: I'm always fond of `12`.
infra-red has joined #ruby
<jolamb> pipework: :P
jenrzzz has joined #ruby
diegoviola has quit [Ping timeout: 244 seconds]
djellemah has quit [Disconnected by services]
djellemah_ is now known as djellemah
<djellemah> >> require 'prime'; Prime.take(11)
djellemah_ has joined #ruby
<ruby[bot]> djellemah: # => [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31] (https://eval.in/552417)
kentnl has quit [Ping timeout: 248 seconds]
lyoshajapan has joined #ruby
symm- has joined #ruby
<havenwood> jolamb: If you mean file type detection there are several gems, native or libmagic bindings. Or you could shell out to `file`. :P
kent\n has joined #ruby
kent\n has joined #ruby
jpfuentes2 has joined #ruby
<jolamb> havenwood: nope. nevermind, I think I was just being silly
howdoi has quit [Quit: Connection closed for inactivity]
<djellemah> Oh, *those* kind of magic numbers :-p
nobitanobi has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 244 seconds]
kent\n has quit [Ping timeout: 252 seconds]
kentnl has joined #ruby
Gasher has joined #ruby
giz|work has quit [Read error: Connection reset by peer]
jpfuentes2 has quit [Read error: Connection reset by peer]
jpfuente_ has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
jpfuente_ has quit [Read error: Connection reset by peer]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
robbyoconnor has quit [Ping timeout: 244 seconds]
Es0teric has joined #ruby
kentnl has quit [Ping timeout: 244 seconds]
pandaant has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
AlexRussia has quit [Quit: WeeChat 1.4-dev]
ramfjord has joined #ruby
elifoster has quit [Ping timeout: 268 seconds]
skinofstars has quit [Ping timeout: 276 seconds]
BtcBen has joined #ruby
infra-re_ has joined #ruby
idletask has quit [Ping timeout: 244 seconds]
diegoaguilar has quit [Ping timeout: 276 seconds]
ta__ has joined #ruby
lacrosse has quit [Quit: Connection closed for inactivity]
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polll has quit []
bronson has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 250 seconds]
infra-red has quit [Ping timeout: 244 seconds]
jpfuentes2 has joined #ruby
tsherman has joined #ruby
lyoshajapan has joined #ruby
jackjackdripper has joined #ruby
leksster has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
mario-circe has joined #ruby
pawnbox has joined #ruby
idletask has joined #ruby
tsherman has quit [Client Quit]
User458764 has joined #ruby
<ducklobster> anyone have experience with the Sequel ORM?
tsherman has joined #ruby
skweek has joined #ruby
lyoshajapan has quit [Ping timeout: 244 seconds]
gizless has joined #ruby
dravine_ has joined #ruby
gizmore has quit [Ping timeout: 244 seconds]
symm- has quit [Ping timeout: 248 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davejlon_ has joined #ruby
tsherman has quit [Client Quit]
<adaedra> There's the #sequel channel on freenode
<adaedra> There's even jeremyevans in it (or at least, was last time I looked)
dravine has quit [Ping timeout: 250 seconds]
dravine has joined #ruby
tsherman has joined #ruby
dopie has quit [Ping timeout: 248 seconds]
davejlon_ has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
dravine_ has quit [Ping timeout: 244 seconds]
davejlong has quit [Ping timeout: 264 seconds]
<ducklobster> adaedra: thanks, I tried posting in there but its pretty quiet :( i'll wait around some more though
tsherman has quit [Max SendQ exceeded]
bronson has joined #ruby
joseph has quit [Remote host closed the connection]
rdark has joined #ruby
<adaedra> There's not a lot of activity in there, yeah
rdark has joined #ruby
diegoaguilar has joined #ruby
<adaedra> You can also try to ask here (but don't forget to warn #sequel too if you do so)
dopie has joined #ruby
Waqas has quit [Ping timeout: 276 seconds]
Waqas has joined #ruby
leksster has joined #ruby
lyoshajapan has quit [Ping timeout: 252 seconds]
akkmaxon has quit [Ping timeout: 246 seconds]
bob434 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
c00p3r has joined #ruby
infra-red has joined #ruby
idletask has quit [Ping timeout: 264 seconds]
zeroDivisible has joined #ruby
aegis3121 has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Remote host closed the connection]
gizless has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
bronson has quit [Remote host closed the connection]
infra-re_ has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
aegis3121 has joined #ruby
dopie has quit [Quit: Lost terminal]
duderonomy has joined #ruby
dopie has joined #ruby
x77686d has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
goodroot has quit [Quit: WeeChat 1.4]
skinofstars has joined #ruby
flashpoint9 has joined #ruby
dopie has quit [Client Quit]
dopie has joined #ruby
merida has quit [Remote host closed the connection]
mario-circe has quit [Remote host closed the connection]
go|dfish has quit [Ping timeout: 244 seconds]
Ox0dea has quit [Ping timeout: 248 seconds]
huddy has joined #ruby
Ox0dea has joined #ruby
go|dfish has joined #ruby
bronson has joined #ruby
Waqas has quit [Ping timeout: 244 seconds]
Waqas has joined #ruby
Devalo has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
skinofstars has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
Omni_ has joined #ruby
yqt has joined #ruby
jt__ has quit [Remote host closed the connection]
jt__ has joined #ruby
lyoshajapan has joined #ruby
SHyx0rmZ has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 252 seconds]
Omni_ has quit [Ping timeout: 244 seconds]
dopie has quit [Ping timeout: 252 seconds]
dravine has quit [Ping timeout: 252 seconds]
Cohedrin has joined #ruby
SHyx0rmZ has joined #ruby
tsu_ has joined #ruby
dravine has joined #ruby
yfeldblum has joined #ruby
jt__ has quit [Ping timeout: 248 seconds]
dopie has joined #ruby
stannard has quit [Ping timeout: 252 seconds]
synthroid has quit [Remote host closed the connection]
stannard has joined #ruby
lyoshajapan has quit [Ping timeout: 252 seconds]
polishdub has joined #ruby
SHyx0rmZ has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
terlar has joined #ruby
bronson has quit [Remote host closed the connection]
karmatr0n has joined #ruby
baweaver has joined #ruby
pawnbox has quit [Remote host closed the connection]
Devalo has joined #ruby
go|dfish has quit [Ping timeout: 260 seconds]
william3 has quit [Remote host closed the connection]
Begi has left #ruby [#ruby]
stannard has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 244 seconds]
conta has joined #ruby
Devalo has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
duckpupp1 has quit [Ping timeout: 252 seconds]
skinofstars has joined #ruby
flopsec has quit [Ping timeout: 244 seconds]
alxgsv has quit [Ping timeout: 268 seconds]
conta has quit [Ping timeout: 264 seconds]
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
Begi1 has joined #ruby
stannard has joined #ruby
lyoshajapan has joined #ruby
pawnbox has quit [Remote host closed the connection]
Begi1 is now known as Begi
dopie has quit [Client Quit]
skinofstars has left #ruby [#ruby]
jdawgaz has joined #ruby
jt__ has joined #ruby
william3 has joined #ruby
dopie has joined #ruby
jessemcgilallen has joined #ruby
dvinciguerra_ has quit [Remote host closed the connection]
[Butch]_ has joined #ruby
lemur has joined #ruby
_stu_ has joined #ruby
Omni_ has joined #ruby
Omni_ has quit [Max SendQ exceeded]
lyoshajapan has quit [Ping timeout: 268 seconds]
Omni_ has joined #ruby
flopsec has joined #ruby
[Butch] has quit [Ping timeout: 244 seconds]
[Butch]_ is now known as [Butch]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
dopie has quit [Client Quit]
dopie has joined #ruby
alxgsv has joined #ruby
dopie has quit [Client Quit]
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Omni_ has quit [Ping timeout: 246 seconds]
Marsupermammal has joined #ruby
lemur has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
n008f4g_ has joined #ruby
Begi1 has joined #ruby
leksster has quit [Read error: Connection reset by peer]
ctarx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Begi has quit [Ping timeout: 268 seconds]
Begi1 is now known as Begi
bkxd has quit [Ping timeout: 246 seconds]
polysics has quit [Remote host closed the connection]
AlexRussia has joined #ruby
ctarx has joined #ruby
dopie has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
jenrzzz has joined #ruby
c00p3r has left #ruby ["Konversation terminated!"]
go|dfish has joined #ruby
frem has joined #ruby
augcesar has quit [Remote host closed the connection]
augcesar[2] has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
jt__ has quit [Remote host closed the connection]
dopie has quit [Client Quit]
dopie has joined #ruby
stannard has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
dopie has quit [Client Quit]
jessemcgilallen has quit [Quit: jessemcgilallen]
dopie has joined #ruby
shellie_ has quit [Ping timeout: 240 seconds]
lyoshajapan has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
jt__ has joined #ruby
jt__ has quit [Remote host closed the connection]
Es0teric has joined #ruby
raddazong has joined #ruby
sepp2k has quit [Quit: Leaving.]
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stannard has quit [Remote host closed the connection]
wilbert has joined #ruby
Marsupermammal has joined #ruby
raddazong has quit [Client Quit]
stannard has joined #ruby
Rickmasta has joined #ruby
lyoshajapan has quit [Ping timeout: 252 seconds]
eshea_ has joined #ruby
leksster has joined #ruby
Gasher has quit [Quit: Leaving]
duderonomy has quit [Ping timeout: 264 seconds]
<ramfjord> Anyone here familiar with ruby's OpenSSL library in the context of cacert bundles and making https requests? I've just updated the root certificate on a bunch of machines and HTTP.get("https://wwww.google.com") is now failing with an SSL error. I've run OpenSSL::X509::DEFAULT_CERT_FILE tells me that the default cacert file is in /etc/.../cert.pem, but when I curl --cacert /etc/.../cert.pem https://www.google.com, it actually works!
MagePsycho has quit [Quit: MagePsycho]
dopie has quit [Quit: Lost terminal]
[Butch]_ has joined #ruby
dopie has joined #ruby
eshea has quit [Ping timeout: 248 seconds]
bob434 has quit [Quit: Leaving]
Gasher has joined #ruby
baweaver has quit [Remote host closed the connection]
[Butch] has quit [Ping timeout: 264 seconds]
[Butch]_ is now known as [Butch]
duderonomy has joined #ruby
blackgoat has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lyoshajapan has joined #ruby
User458764 has joined #ruby
ootput has quit [Quit: /* */]
dopie has quit [Client Quit]
dopie has joined #ruby
Marsupermammal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dopie has quit [Client Quit]
dopie has joined #ruby
Marsupermammal has joined #ruby
<tobiasvl> what SSL error?
duderono_ has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
cdg has joined #ruby
lyoshajapan has quit [Ping timeout: 244 seconds]
leksster has quit [Ping timeout: 248 seconds]
duderonomy has quit [Ping timeout: 244 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
kirun has joined #ruby
norc has quit [Read error: Connection reset by peer]
Marsupermammal has quit [Ping timeout: 276 seconds]
ssiris has joined #ruby
bruno- has joined #ruby
lyoshajapan has joined #ruby
baweaver has joined #ruby
go|dfish has quit [Ping timeout: 260 seconds]
_stu_ has joined #ruby
idletask has joined #ruby
swills has quit [Ping timeout: 244 seconds]
sepp2k has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
go|dfish has joined #ruby
x77686d has quit [Quit: x77686d]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
akkmaxon has joined #ruby
jpfuentes2 has joined #ruby
futilegames has joined #ruby
bronson has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
dopie has quit [Quit: Lost terminal]
leksster has joined #ruby
tsherman has joined #ruby
dopie has joined #ruby
lyoshajapan has quit [Ping timeout: 248 seconds]
fmcgeough has quit [Quit: fmcgeough]
jt__ has joined #ruby
hexchat has joined #ruby
djbkd has quit [Ping timeout: 244 seconds]
hexchat has quit [Remote host closed the connection]
dopie has quit [Client Quit]
dopie has joined #ruby
dopie has quit [Client Quit]
bronson has quit [Ping timeout: 252 seconds]
Es0teric has joined #ruby
tlaxkit has joined #ruby
dopie has joined #ruby
bruno- has joined #ruby
dopie has quit [Client Quit]
dopie has joined #ruby
jt__ has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
Omni_ has joined #ruby
ctarx has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has joined #ruby
<eam> realizing I really ought to open an issue for this rpath quoting bug in mkmf since I'm obviously not going to fix it myself
p0p0pre7 has quit [Quit: p0p0pre7]
aeterne has quit [Read error: Connection reset by peer]
dopie has quit [Client Quit]
dopie has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
shayan has joined #ruby
Omni_ has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
x77686d has joined #ruby
dopie has quit [Client Quit]
ur5us has joined #ruby
leksster has quit [Ping timeout: 246 seconds]
nando293921 has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lyoshajapan has joined #ruby
n008f4g_ has quit [Ping timeout: 260 seconds]
futilegames has quit [Quit: futilegames]
Omni_ has joined #ruby
Begi has left #ruby [#ruby]
william3 has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 252 seconds]
go|dfish has quit [Ping timeout: 264 seconds]
djellemah has quit [Ping timeout: 246 seconds]
theunraveler has joined #ruby
rodfersou has quit [Quit: leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
eljimbo has quit [Quit: This computer has gone to sleep]
hinbody has quit [Quit: leaving]
Omni_ has quit [Ping timeout: 244 seconds]
LowLifePerv has joined #ruby
lyoshajapan has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
benlieb has quit [Quit: benlieb]
LowLifePerv has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
FooMunki has quit [Client Quit]
FooMunki has joined #ruby
polysics has joined #ruby
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdark has quit [Quit: leaving]
lyoshajapan has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
Omni has joined #ruby
leksster has joined #ruby
_stu_ has quit [Quit: _stu_]
Omni is now known as Guest5743
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jenrzzz has joined #ruby
lyoshajapan has joined #ruby
arlek_ has joined #ruby
diegoaguilar has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
bkxd has joined #ruby
ogpastaling has joined #ruby
ta__ has quit [Read error: Connection reset by peer]
eshea_ has quit [Remote host closed the connection]
go|dfish has joined #ruby
ta_ has joined #ruby
Guest5743 has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
polysics has quit [Ping timeout: 244 seconds]
johnmilton has quit [Remote host closed the connection]
eshea has joined #ruby
lyoshajapan has quit [Ping timeout: 244 seconds]
eshea has quit [Remote host closed the connection]
eshea has joined #ruby
william3 has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
diegoaguilar has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
Silox| has joined #ruby
FooMunki has quit [Quit: FooMunki]
workmad3 has joined #ruby
firstdayonthejob has joined #ruby
william3 has quit [Remote host closed the connection]
theery has joined #ruby
william3 has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
ldnunes has quit [Quit: Leaving]
dravine has quit [Ping timeout: 250 seconds]
<ramfjord> tobiasvl: The ssl error I was referring to above was "OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed" - a lot of google search results around this
swills has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
mdw has joined #ruby
FernandoBasso has joined #ruby
dravine has joined #ruby
skweek has joined #ruby
william3 has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
duderonomy has joined #ruby
Nahra has quit [Ping timeout: 250 seconds]
duderonomy has quit [Max SendQ exceeded]
infra-red has quit [Ping timeout: 276 seconds]
ChiefAlexander has joined #ruby
duderonomy has joined #ruby
last_staff has quit [Quit: last_staff]
ramortegui has quit [Quit: Ex-Chat]
jmignault has quit [Remote host closed the connection]
e-r-a has joined #ruby
benlieb has quit [Quit: benlieb]
jenrzzz has joined #ruby
shayan has quit [Quit: shayan]
baweaver has quit [Remote host closed the connection]
kus has joined #ruby
speakingcode has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
akkmaxon has quit [Ping timeout: 250 seconds]
Gasher has quit [Quit: Leaving]
ultrasandwich has joined #ruby
lyoshajapan has joined #ruby
GodFather has joined #ruby
n008f4g_ has joined #ruby
hotpancakes has joined #ruby
ultrasandwich has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
yfeldblum has joined #ruby
leksster has quit [Ping timeout: 244 seconds]
lyoshajapan has quit [Ping timeout: 244 seconds]
eshea has quit [Remote host closed the connection]
eshea has joined #ruby
speakingcode has joined #ruby
eshea has quit [Remote host closed the connection]
dopie has joined #ruby
eshea has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
hotpancakes has joined #ruby
gnufied has quit [Quit: Leaving]
pawnbox has joined #ruby
aupadhye has quit [Ping timeout: 268 seconds]
Gasher has joined #ruby
Xeago has quit [Remote host closed the connection]
VeryBewitching has quit [Quit: Konversation terminated!]
ChiefAlexander has quit [Remote host closed the connection]
Xeago has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
OTORelic has quit [Ping timeout: 244 seconds]
gmas has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
hotpancakes has joined #ruby
Omni_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
skweek has quit [Ping timeout: 244 seconds]
jdawgaz has joined #ruby
leksster has joined #ruby
leksster has quit [Max SendQ exceeded]
jt__ has joined #ruby
leksster has joined #ruby
leksster has quit [Max SendQ exceeded]
gmas has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
leksster has joined #ruby
leksster has quit [Max SendQ exceeded]
lyoshajapan has joined #ruby
Gasher has quit [Quit: Leaving]
leksster has joined #ruby
Omni_ has quit [Ping timeout: 248 seconds]
gmas has quit [Ping timeout: 244 seconds]
duderonomy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 244 seconds]
agentmee1kat has quit [Ping timeout: 260 seconds]
speakingcode has joined #ruby
siaw has joined #ruby
lyoshajapan has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
Gasher has joined #ruby
william3 has joined #ruby
freerobby has quit [Quit: Leaving.]
gmas has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polysics has joined #ruby
kareeoleez has quit [Ping timeout: 246 seconds]
<darix> ramfjord: verify with strace that the file is actually used
baweaver has quit [Remote host closed the connection]
bkxd has joined #ruby
bmf has quit [Ping timeout: 244 seconds]
lynx_eyes7 has joined #ruby
jdawgaz has joined #ruby
Omni_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
polysics has quit [Ping timeout: 240 seconds]
terlar has quit [Ping timeout: 268 seconds]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
akkmaxon has joined #ruby
Omni_ has quit [Ping timeout: 244 seconds]
cjbottaro has joined #ruby
leksster has quit [Ping timeout: 248 seconds]
crameth has quit [Quit: crameth]
lyoshajapan has joined #ruby
<ramfjord> darix: good idea... strace confirms that both curl --cacert and my ruby script are calling open on the /etc/.../cert.pem file
william3 has quit [Remote host closed the connection]
dopie has quit [Quit: Lost terminal]
cjbottaro has quit [Client Quit]
dopie has joined #ruby
cjbottaro has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Omni has joined #ruby
tax has joined #ruby
<ramfjord> couple other puzzle pieces: Net::HTTP get works on some https domains, such as slashdot.org, but not others, such as google.com. Also, the ruby OpenSSL::OPENSSL_VERSION is substantially behind the OS installed ssl version (this is centos, so I used yum list to check) - OpenSSL 1.0.1e 11 vs openssl.x86_64 1.0.1e-42.el6_7.4
Omni is now known as Guest891
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
[Butch] has quit [Quit: I'm out . . .]
baweaver has joined #ruby
jhack has quit [Quit: jhack]
Xeago has quit [Remote host closed the connection]
eshea has quit []
czerasz has quit [Ping timeout: 244 seconds]
<darix> ramfjord: i dont think the package revision is encoded there
kirun has quit [Quit: Client exiting]
<darix> 2yeah
Guest891 has quit [Ping timeout: 244 seconds]
conta has joined #ruby
x77686d has quit [Quit: x77686d]
blandflakes has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
dgncn has quit [Read error: Connection timed out]
lyoshajapan has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
jottr has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
dgncn has joined #ruby
aspiers has quit [Ping timeout: 246 seconds]
aegis3121 has quit [Ping timeout: 268 seconds]
Omni_ has joined #ruby
lynx_eyes7 has quit [Quit: Leaving]
bkxd has quit [Ping timeout: 244 seconds]
lynx_eyes7 has joined #ruby
aspiers has joined #ruby
leksster has joined #ruby
jt__ has quit [Remote host closed the connection]
Gasher has quit [Quit: Leaving]
dhollinger has quit [Quit: WeeChat 1.4]
Omni_ has quit [Ping timeout: 260 seconds]
akkmaxon has quit [Ping timeout: 246 seconds]
Eiam_ has joined #ruby
workmad3 has joined #ruby
dgncn has quit [Ping timeout: 244 seconds]
<ramfjord> darix: you're right, and strace indicates that both curl and my script are pulling in /usr/lib64/libssl.so.10
Eiam_ has quit [Client Quit]
edge226 has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
_stu_ has joined #ruby
Karix has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x77686d has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
jottr has quit [Quit: WeeChat 1.4]
dgncn has joined #ruby
darkf has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
eljimmy has quit [Read error: Connection reset by peer]
Waqas has quit [Ping timeout: 240 seconds]
polishdub has quit [Quit: Leaving]
zenlot6 has joined #ruby
zenlot has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
theery has quit []
Nawn has quit [Quit: Leaving]
Puffball has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 260 seconds]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
Puffball has joined #ruby
benlieb has quit [Quit: benlieb]
karmatr0n has quit [Ping timeout: 252 seconds]
Omni_ has joined #ruby
dopie has quit [Quit: Lost terminal]
tref has joined #ruby
dopie has joined #ruby
benlieb has joined #ruby
nando293921 has quit [Ping timeout: 260 seconds]
FernandoBasso has quit [Quit: Leaving]
biberu has quit [Read error: Connection reset by peer]
Omni_ has quit [Ping timeout: 276 seconds]
theery has joined #ruby
firstdayonthejob has quit [Ping timeout: 246 seconds]
barajasfab has quit [Ping timeout: 248 seconds]
p0p0pr37 has joined #ruby
theery has quit [Client Quit]
Nahra has joined #ruby
charliesome has joined #ruby
Omni_ has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
banister has joined #ruby
barajasfab has joined #ruby
JesseH has quit [Remote host closed the connection]
Balzrael has quit [Remote host closed the connection]
treaki__ has quit [Ping timeout: 276 seconds]
ogpastaling has quit [Remote host closed the connection]
polysics has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
tax has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
polysics has quit [Ping timeout: 244 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_stu_ has quit [Quit: _stu_]
FooMunki has joined #ruby
shadoi has quit [Quit: Leaving.]
_stu_ has joined #ruby
eljimmy has joined #ruby
Xeago has joined #ruby
wilbert has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
cpruitt has quit [Quit: cpruitt]
arescorpio has joined #ruby
tax has joined #ruby
houhoulis has joined #ruby
Sidoniuns has joined #ruby
ocbtec has quit [Quit: leaving]
theunraveler has quit []
bkxd has joined #ruby
najam has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
bob434 has joined #ruby
leksster has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
banister is now known as banisterfiend
bkxd has quit [Ping timeout: 260 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vile` has joined #ruby
Nawn has joined #ruby
Nawn has left #ruby [#ruby]
lyoshajapan has joined #ruby
cabargas has joined #ruby
DLSteve has joined #ruby
duderonomy has joined #ruby
Silox| has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 246 seconds]
Xeago has quit [Ping timeout: 246 seconds]
lyoshajapan has quit [Ping timeout: 264 seconds]
Gasher has joined #ruby
edwinvdgraaf has joined #ruby
hinbody has joined #ruby
lyoshajapan has joined #ruby
ramfjord has joined #ruby
FernandoBasso has joined #ruby
cdg has quit [Remote host closed the connection]
blandflakes has joined #ruby
cdg has joined #ruby
lyoshajapan has quit [Ping timeout: 248 seconds]
edwinvdgraaf has quit [Ping timeout: 260 seconds]
lemur has joined #ruby
SFPT has joined #ruby
Sidoniuns has quit [Quit: Saindo]
<SFPT> Hello?
cjbottaro has joined #ruby
<benzrf> hi SFPT
<SFPT> I wrote a program in ruby, and now I'm trying to execute it to join an IRC chatroo, #cemetech on efnet. I don't know how though.
<benzrf> really i recommend using SPC instead
<benzrf> :rimshot:
<benzrf> SFPT: how are you doing the irc?
<SFPT> irc.lc
<SFPT> I just googled ruby IRC chatroom
<SFPT> I usually use Kiwiirc though.
cdg has quit [Ping timeout: 244 seconds]
<benzrf> no, i mean
<benzrf> how are you connecting the program
<SFPT> Want me to pastebin the code?
lemur has quit [Ping timeout: 268 seconds]
<benzrf> ok
<ruby[bot]> SFPT: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/23c1171696e0499c69ba3fb8e7b80be7
<ruby[bot]> SFPT: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<SFPT> Wow, rubybot doesn't like pastebin? Rude.
<SFPT> That's a cool botthough.