apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<crome> softinio: keep in mind you need some dev packages for a functioning ruby installation
wallerdev has quit [Ping timeout: 245 seconds]
<crome> openssl, zlip and maybe a thing or two more
<havenwood> softinio: I vote chruby! https://github.com/postmodern/chruby#readme
regnartim has quit [Client Quit]
regnartim has joined #ruby
<crome> quick, someone toss in a 4th one
bonhoeffer has quit [Quit: bonhoeffer]
<havenwood> crome: Actually ruby-build ships their own OpenSSL, which causes issues when folk update their package manager's OpenSSL, rebuild Ruby and are still using a dated OpenSSL from their ruby-build.
Sawbones has joined #ruby
<havenwood> crome: uru, cross platform one written in Go that works on win too: https://bitbucket.org/jonforums/uru
<havenwood> crome: ruby-install uses the package manager's OpenSSL :)
<crome> I thought ruby-build was just a bunch of scripts
<havenwood> crome: Unfortunately they package their own OpenSSL along with Ruby builds, folk don't realize they're doing it and yeah...
<havenwood> crome: People think since they got it from their package manager that it uses package manger packages. But no.
<havenwood> crome: For example the Ruby 2.2.0 script: https://github.com/sstephenson/ruby-build/blob/master/share/ruby-build/2.2.0#L1
<crome> oh, interesting
<havenwood> crome: I think it's a bad, bad thing to do!
cmckee has joined #ruby
_Andres has quit [Quit: jazz]
<havenwood> crome: The rbenv devs do other stuff I don't agree with though, like add "./bin" to PATH. TIMTOWTDI I suppose, but security shouldn't just be tossed out.
<havenwood> crome: I updated a list of alternatives not too long ago, there're many!: https://github.com/wayneeseguin/rvm/blob/master/docs/alt.md#rvm-is-not-the-only-ruby-environment-manager
HOrangeJewce has joined #ruby
<apeiros_> havenwood: *what*?!? I understood correctly, ./bin, not ~/bin?
<apeiros_> I guess every generation has to learn on its own why some ideas are universally bad.
Aova has quit [Read error: Connection reset by peer]
max96at is now known as max96at|off
<havenwood> apeiros_: yup...
ferr has joined #ruby
<ferr> Hey, any suggestions how I could retry cucumber test with Ruby?
ackpacket_ has quit [Quit: Page closed]
momomomomo has quit [Ping timeout: 265 seconds]
withnale__ has joined #ruby
_2_Daejua has joined #ruby
<_2_Daejua> hi
Aova has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
IrishGringo has joined #ruby
multi_io_ has joined #ruby
Cache_Money has joined #ruby
mrmargolis has joined #ruby
ismael_ has quit [Remote host closed the connection]
withnale__ has quit [Ping timeout: 246 seconds]
skj3gg has joined #ruby
davedev2_ has joined #ruby
momomomomo has joined #ruby
mrmargol_ has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
multi_io has quit [Ping timeout: 252 seconds]
jgrevich has joined #ruby
Sawbones has quit [Remote host closed the connection]
<blizzy> is there a better way to write this? (ignore the formatting) https://gist.github.com/VBlizzard/27b4ce069671c8dd6a5e
<crome> a global variable
<crome> *eek*
<blizzy> it's inside a class.
<blizzy> I just didn't post the class around it.
<apeiros_> a global is always global
mroach has joined #ruby
<apeiros_> putting it into a class doesn't make it less global.
<blizzy> so I should use @ranks instead
mrmargolis has quit [Ping timeout: 250 seconds]
<crome> ih fact, it makes it even more global :D
<apeiros_> yes, like I told you some hours ago.
<blizzy> ok.
<blizzy> thanks.
<ferr> I'm not sure if this is legit, but I use it like this https://gorails.com/blog/refactoring-if-statements
* apeiros_ looks forward to see the precisely same code again in ~6h
<apeiros_> with the same question, of course.
<blizzy> >.>
<blizzy> I'll be asleep in 6 hours though.
<apeiros_> well, 10h then.
<apeiros_> or whatever.
<blizzy> couldn't I one line it?
<crome> also, that if statement looks pretty weird, it either returns a string or a file
bonhoeffer has joined #ruby
<blizzy> I guess I made it wrong.
_2_Daejua has quit [Remote host closed the connection]
<blizzy> I'm basically checking: if the file exists, read it, else, make the file, then read it.
pengin has joined #ruby
<apeiros_> crome: I wonder whether you'll say all the things too which I said hours ago :D (no sarcasm)
Kejento has joined #ruby
<apeiros_> anyway, I'm off
<crome> apeiros_: thanks for the heads-up, I will just let it go then :)
<blizzy> so, what exactly is wrong with global variables?
<ferr> apeiros_: do you have any suggestions how I could setup retry on cucumber tests (it sometimes fails as information is not propagated yet)
<apeiros_> crome: meh, maybe they listen when more people say the same thing. no idea.
atomi has joined #ruby
<blizzy> >.> I'm right here.
<apeiros_> ferr: my only idea is that my head needs to hit a pillow like real fast.
<blizzy> lol.
<blizzy> sorry about earlier then.
<ferr> Okay, have a nice rest then :)
<apeiros_> blizzy: dude, don't complain. I'm right here too and you obviously ignored everything I said. so no moral high ground there.
<crome> havenwood: I just tried it. rbenv built ruby with my system openssl
* apeiros_ off
<blizzy> >.> I forgot about the channel
<blizzy> since this channel is dead a lot.
fabrice31 has joined #ruby
<crome> are you kidding? I'm in ~10 channels on multiple networks, this one is the liveliest one by far
Vivex_ has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
<blizzy> well to me it seems dead.
<blizzy> seems like I'm losing this battle, so sorry everyone.
<blizzy> really, I am sorry.
<crome> havenwood: also, the reason I mentioned the openssl dev libraries is because I managed to build broken rubies without openssl-dev because ruby-build did *not* provide those libraries
aryaching has quit [Read error: No route to host]
TheNet has joined #ruby
thsig has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
juanpablo_ has joined #ruby
tokik has joined #ruby
sagittarian|2 has joined #ruby
pengin has quit [Remote host closed the connection]
greensoup has joined #ruby
sagittarian has quit [Ping timeout: 252 seconds]
techietrash is now known as techietrash_away
techietrash_away is now known as techietrash
Takle_ has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 250 seconds]
reinaldob has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
reinaldob has joined #ruby
<crome> blizzy: don't really care about stuff like "how do I write xy better" or "can I make it in 1 line"
raphaelss has quit [Quit: leaving]
<crome> especially the latter
<crome> get stuff to work
<blizzy> ok, thank you, and again, sorry, crome.
techietrash is now known as techietrash_away
techietrash_away is now known as techietrash
aryaching has joined #ruby
reinaldob has quit [Ping timeout: 252 seconds]
tunaCanBruh has quit [Ping timeout: 240 seconds]
atomi has quit [Quit: back in a few hours. more updates :/]
Musashi007 has joined #ruby
Vile` has quit [Read error: Connection reset by peer]
<bradland> question regarding ruby hashes and arrays.
<bradland> occassionally, when inspecting the output of a hash using `p foo` (where foo is a hash)
<bradland> the output looks like ["123", {:name=>"brad", :title=>"janitor"}]
<bradland> how does this work?
IrishGringo has quit [Read error: Connection reset by peer]
trufflesnout has quit [Remote host closed the connection]
<weaksauce> blizzy global state can fail in weird ways. if you are using it, it should be a sign that you aren't doing it right
<bradland> does ruby treat arrays structured a certain way the same as a hash?
<crome> bradland: I would wager a beer to foo being an array
<blizzy> oh ok, thanks, weaksauce.
<crome> the first item is "123", the second item is a hash
<bradland> crome: i'll see if i can post a code example
davedev24_ has joined #ruby
Vile` has joined #ruby
<weaksauce> bradland yes. [[key, value], [key, value]] can sometimes be coerced into a hash
IrishGringo has joined #ruby
PanzerModern has quit [Remote host closed the connection]
<weaksauce> but it's not as common as the other ways of type inference.
DEA7TH has quit [Remote host closed the connection]
Ulrike is now known as Uli_Reflipper_of
davedev2_ has quit [Ping timeout: 252 seconds]
Uli_Reflipper_of is now known as Ulrike
sinkensabe has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
Lingo_ has joined #ruby
<bradland> note that this is for personal use
mrmargol_ has quit [Remote host closed the connection]
jbae has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<bradland> i'm scraping that data, and i'm certain that the site author wouldn't be happy about it, but i'm using the info for analysis of car pricing trend data for myself, not a commercial venture
athan has joined #ruby
<bradland> the output is of the type Hash, but when inspected, it uses the ["foo", [{"bar" => "baz"}]] form
<bradland> which always catches me off guard when i'm debugging
jottr has joined #ruby
<bradland> weaksauce: i thought i'd read that before (about the coercion of this type of data structure)
<bradland> anyway, i gotta grab some dinner, but i'll check the scrollback when i get back later
<bradland> thx guys
DEA7TH has joined #ruby
pontiki has joined #ruby
bootstrappm has joined #ruby
pontiki has quit [Remote host closed the connection]
Sawbones has joined #ruby
braincrash has joined #ruby
pontiki has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1]
<jbae> /msg hostserv request hai/
<crome> you inspect groups.first
sevenseacat has joined #ruby
zachrab has joined #ruby
w0nderer has joined #ruby
<waxjar> >> { :a => 1, :b => 2, :c => 3 }.first
<eval-in__> waxjar => [:a, 1] (https://eval.in/281146)
jottr has quit [Ping timeout: 252 seconds]
<crome> yes, that's what I meant :)
revoohc has joined #ruby
revoohc has left #ruby [#ruby]
<havenwood> >> [42, naked: :hash]
<eval-in__> havenwood => [42, {:naked=>:hash}] (https://eval.in/281149)
nerium has quit [Quit: nerium]
nerium has joined #ruby
pika_pika has joined #ruby
Lingo_ has quit [Read error: Connection reset by peer]
zachrab has quit [Ping timeout: 246 seconds]
sinkensabe has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
tkuchiki has joined #ruby
w0nderer has quit [Quit: leaving]
Aova has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 264 seconds]
Aswebb_ has joined #ruby
Sawbones has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
w0nderer has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
iwishiwerearobot has quit [Ping timeout: 245 seconds]
nnnnn has joined #ruby
w0nderer has left #ruby [#ruby]
Sawbones has quit [Remote host closed the connection]
Aova has joined #ruby
nii236|irssi has joined #ruby
zyxelthrone has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Aswebb_ has quit [Ping timeout: 252 seconds]
IrishGringo has joined #ruby
nnnnn has left #ruby [#ruby]
felixjet_ has joined #ruby
raphaelss has joined #ruby
felixjet has quit [Ping timeout: 256 seconds]
nerium has quit [Quit: nerium]
nerium has joined #ruby
Limix has quit [Quit: Limix]
nii236|irssi is now known as nii236
Lemur has joined #ruby
zyxelthrone has joined #ruby
davedev2_ has quit [Ping timeout: 264 seconds]
devdazed_ has quit [Quit: Computer has gone to sleep.]
WillAmes has quit [Remote host closed the connection]
selaruvich has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
WillAmes has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LouisRoR has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
HOrangeJewce has quit [Quit: Leaving.]
Sawbones has joined #ruby
IrishGringo has joined #ruby
nerium has quit [Quit: nerium]
Troy^ has joined #ruby
Deithrian has quit [Ping timeout: 250 seconds]
Musashi007 has joined #ruby
lampd1 has joined #ruby
Sawbones has quit [Ping timeout: 250 seconds]
Lucky___ has quit [Quit: Textual IRC Client: www.textualapp.com]
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
Lucky___ has joined #ruby
tmoore has quit [Ping timeout: 250 seconds]
MiracleBlue has quit [Ping timeout: 250 seconds]
cstrahan_ has quit [Ping timeout: 250 seconds]
vcoinminer has quit [Ping timeout: 245 seconds]
n1ftyn8 has quit [Ping timeout: 250 seconds]
maZtah has quit [Ping timeout: 250 seconds]
featheryahn_ has quit [Read error: Connection reset by peer]
charles81 has quit [Read error: Connection reset by peer]
jeregrine has quit [Ping timeout: 265 seconds]
hellschreiber has quit [Ping timeout: 250 seconds]
rfv has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 265 seconds]
lioninawhat has quit [Remote host closed the connection]
poikon has quit [Ping timeout: 250 seconds]
jblancett has quit [Ping timeout: 250 seconds]
callenb___ has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
bcavileer_ has quit [Ping timeout: 250 seconds]
skmp has quit [Ping timeout: 265 seconds]
djbender has quit [Ping timeout: 265 seconds]
deimos has quit [Ping timeout: 250 seconds]
kalusn has quit [Ping timeout: 252 seconds]
grubernaut has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
alol__ has quit [Ping timeout: 250 seconds]
nahtnam has quit [Ping timeout: 265 seconds]
chrisseaton has quit [Ping timeout: 265 seconds]
adambeynon has quit [Ping timeout: 265 seconds]
OliverTynes has quit [Ping timeout: 250 seconds]
lioninawhat has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
lioninawhat has quit [Remote host closed the connection]
greensoup has quit [Ping timeout: 245 seconds]
callenb___ has joined #ruby
rfv has joined #ruby
poikon has joined #ruby
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
adriancb has joined #ruby
psy_ has joined #ruby
jblancett has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Cache_Money has quit [Quit: Cache_Money]
tmoore has joined #ruby
davedev24_ has joined #ruby
<dopie> a dev from florida
<dopie> where in florida davedev24_
aryaching_ has joined #ruby
featheryahn_ has joined #ruby
jeregrine has joined #ruby
skmp has joined #ruby
<eam> the part with alligators
Lewix has joined #ruby
aryaching has quit [Ping timeout: 256 seconds]
MiracleBlue has joined #ruby
Sawbones has joined #ruby
charles81 has joined #ruby
aryaching_ is now known as aryaching
cstrahan_ has joined #ruby
maZtah has joined #ruby
vcoinminer has joined #ruby
n1ftyn8 has joined #ruby
djbender has joined #ruby
momomomomo has quit [Ping timeout: 250 seconds]
bcavileer_ has joined #ruby
nahtnam has joined #ruby
adambeynon has joined #ruby
deimos has joined #ruby
Megtastique has joined #ruby
alol__ has joined #ruby
grubernaut has joined #ruby
OliverTynes has joined #ruby
chrisseaton has joined #ruby
Sawbones has quit [Ping timeout: 256 seconds]
AlexRussia has quit [Ping timeout: 252 seconds]
hellschreiber has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby
robustus has joined #ruby
io_syl has quit [Client Quit]
kalusn has joined #ruby
TheNet has quit [Remote host closed the connection]
wallerdev has joined #ruby
TheNet has joined #ruby
Musashi007 has joined #ruby
HOrangeJewce has joined #ruby
wallerdev has quit [Ping timeout: 246 seconds]
bogeyd6 has quit [Ping timeout: 240 seconds]
withnale__ has joined #ruby
Limix has joined #ruby
rbennacer has joined #ruby
greensoup has joined #ruby
iliketur_ has joined #ruby
jerematic has joined #ruby
withnale__ has quit [Ping timeout: 265 seconds]
ponga has joined #ruby
Musashi007 has quit [Quit: Musashi007]
_gautam_ has quit [Quit: Be back later ...]
bonhoeffer has quit [Quit: bonhoeffer]
rbennacer has quit [Ping timeout: 246 seconds]
iliketurtles has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
Aova has quit [Read error: Connection reset by peer]
lampd1 is now known as l1bot
jerematic has quit [Ping timeout: 240 seconds]
Limix has quit [Quit: Limix]
momomomomo has joined #ruby
l1bot is now known as lampd1
Aova has joined #ruby
goshdarnyou has joined #ruby
_gautam_ has joined #ruby
fabrice31 has joined #ruby
Lemur has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
jbae has left #ruby [#ruby]
Lemur has joined #ruby
greensoup has quit [Ping timeout: 252 seconds]
thsig has quit [Remote host closed the connection]
nii236 has quit [Remote host closed the connection]
thsig has joined #ruby
hamakn has joined #ruby
Sawbones has joined #ruby
krz has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 264 seconds]
juanpablo_ has joined #ruby
hamakn has joined #ruby
Lemur has quit [Ping timeout: 245 seconds]
razieliyo has quit [Ping timeout: 265 seconds]
thsig_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
thsig has quit [Ping timeout: 252 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nii236|irssi has joined #ruby
p3ery has joined #ruby
TheNet has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 240 seconds]
TheNet has joined #ruby
tunaCanBruh has joined #ruby
DogHackit has joined #ruby
skj3gg has joined #ruby
momomomomo has quit [Quit: momomomomo]
Sawbones has quit [Remote host closed the connection]
TheNet has quit [Client Quit]
lys has joined #ruby
<DogHackit> Hello. Does anyone know where I can find a good explaination for how to use a class object in an array? I want to use methods on the classes inside the array, utimately.
Sawbones has joined #ruby
lioninawhat has joined #ruby
<mozzarella> uh? like array[0].method?
<bradland> crome: derp. feel kind of dumb on that one (inspecting groups.first).
tunaCanBruh has quit [Ping timeout: 245 seconds]
sudog has quit [Ping timeout: 265 seconds]
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
<bradland> havenwood: is there aname for that form you sent to eval?
<DogHackit> mozzarella: Kind of. I want to have class.new(arg1, arg2, arg 3), put a few of those in an array, then sort the array by arg1 for each antry
<havenwood> bradland: some folk call it a naked or bare hash
greensoup has joined #ruby
<havenwood> bradland: i guess you could say it's an implicit hash
<bradland> thx a bunch
oo__ has joined #ruby
oo_ has quit [Ping timeout: 246 seconds]
chipotle has quit [Quit: cheerio]
avahey has joined #ruby
<bradland> i find it interesting that group_by returns these implicit hashes rather than literal hashes
kalusn has quit [Ping timeout: 256 seconds]
<havenwood> bradland: oh, i mean that's what you call: [aim: true] #=> [{:aim=>true}]
<havenwood> bradland: #group_by returns plain ole Arrays
jottr has joined #ruby
<bradland> the docs say block syntax Enumerable#group_by returns a Hash. http://www.ruby-doc.org/core-2.2.0/Enumerable.html#method-i-group_by
julian-delphiki has joined #ruby
<havenwood> bradland: Well, a Hash where the values are Arrays. Sorry, seems I'm confused what we're talking about.
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<bradland> nothing of any significance really :)
<havenwood> bradland: What's an example?
li0ninawhat has joined #ruby
<bradland> when i inspect groups, i get what looks like a literal hash, but when i inspect groups.first, i get the implicit behavior
chipotle has joined #ruby
<havenwood> bradland: ahhhh, gotcha
jottr has quit [Ping timeout: 256 seconds]
<havenwood> bradland: I understand now. :)
<bradland> this is the gist i'm referring to: https://gist.github.com/bradland/189358815a7ae69a7149
<bradland> just in case you missed it
<havenwood> >> {aim: true}.first
<eval-in__> havenwood => [:aim, true] (https://eval.in/281188)
<havenwood> bradland: I did miss it, thanks.
AlexRussia has joined #ruby
bean has quit [Ping timeout: 255 seconds]
bean has joined #ruby
<bradland> i'm using ruby to do price trend analysis for M3s :)
<bradland> my car goes back in November, and i'm trying to go in to that armed with the knowledge necessary to decide between buying the car i have, or entering the used market
lioninawhat has quit [Ping timeout: 245 seconds]
<chipotle> bradland: you should pick a nicer car, like the rs7
<bradland> hey guys, remember when i used to talk to chipotle?
<bradland> haha :)
<chipotle> :)
<chipotle> can't get better than the 4.0T engine
<chipotle> and RS tunes it nicely
skj3gg has quit [Quit: ZZZzzz…]
<chipotle> on top of that, APR gets even more torque
<bradland> i'm a car nut. it's hard to name a fast car i don't like :)
shellfu_dies has joined #ruby
<bradland> i do really enjoy the N/A engine in my car though. it's not the fastest, but the experience of the car keeps me grinning.
julian-delphiki has quit [Ping timeout: 240 seconds]
shellfu_dies is now known as shellflu
<chipotle> i had a 2005.5 S4 with the V8 4.2
<chipotle> then i bought an audi a6 avant with 3.0T engine
shellflu is now known as shellflu_afk
<bradland> jealous
<bradland> that 4.2 is one of the best sounding V8 engines ever built
twitmusic has joined #ruby
<chipotle> much faster after i had it tuned by apr
<bradland> it's impossible to beat F/I for tuning performance
NivenHuH has joined #ruby
<chipotle> i really want that 4.0T
<chipotle> once the a8's with the 4.0T go below 40k, i will have it
zachrab has joined #ruby
<chipotle> i just saw one in albany NY for 48k
<chipotle> so getting there
Musashi007 has joined #ruby
twitmusic has left #ruby [#ruby]
<chipotle> they didn't come to america until 2012, and first in the a8
<havenwood> bradland: I'd just call that a tuple, it's just an Array. The first element of the Hash is a key/value pair, so a two-value Array.
<chipotle> bradland: i am a HUGE fan of wagons
<chipotle> the S4 was a wagon
<chipotle> i wish i could get the rs6, and i could afford it, lol
<bradland> any interest in my price trend analysis script? haha
nahtnam has quit [Quit: Connection closed for inactivity]
dc_ has joined #ruby
Lemur has joined #ruby
shellflu_afk has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 264 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iwishiwerearobot has joined #ruby
arescorpio has joined #ruby
aryaching has quit [Ping timeout: 250 seconds]
Toger has joined #ruby
<Toger> Anyone getting 'Invalid spec cache file in /root/.gem/specs/rubygems.org%443/specs.4.8' starting in the last hour?
cmckee has quit [Quit: cmckee]
Ivision has joined #ruby
<Toger> ruby 2.0, rubygems 2.0.14
Megtastique has quit []
iwishiwerearobot has quit [Ping timeout: 245 seconds]
greensoup has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
<lampd1> i'm getting the same Toger
<Toger> ah glad its not just me
<lampd1> 2.1.4
<lampd1> am trying to install 2.2.0 lets see if that even happens tho
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
hvxgr has quit [Ping timeout: 256 seconds]
Aova has quit [Read error: Connection reset by peer]
skj3gg has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<lampd1> Toger: switched versions and it went away for some reason
<Toger> i cant imagine 2.0 was suddenly deprecated over night
jlast has quit [Ping timeout: 244 seconds]
<lampd1> yeah, idk but 2.2.0-dev is working
Jameser has joined #ruby
BAMbanda has joined #ruby
<Toger> well that is at least a datapoint
shellflu_afk has joined #ruby
fenzil has quit [Ping timeout: 252 seconds]
Aova has joined #ruby
krz has quit [Ping timeout: 240 seconds]
greensoup has joined #ruby
Vile` has quit [Ping timeout: 256 seconds]
dain has joined #ruby
Sawbones has quit [Remote host closed the connection]
hvxgr has joined #ruby
fenzil has joined #ruby
zacstewart has quit [Remote host closed the connection]
Motoservo has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
cajone has quit [Remote host closed the connection]
Vile` has joined #ruby
ajaiswal has joined #ruby
thsig_ has quit [Remote host closed the connection]
thsig has joined #ruby
guest000014 has joined #ruby
mistermocha has quit [Remote host closed the connection]
thatslifeson has joined #ruby
Musashi007 has joined #ruby
ebbflowgo has left #ruby [#ruby]
sudog has joined #ruby
adriancb has quit [Remote host closed the connection]
thsig has quit [Ping timeout: 252 seconds]
Cache_Money has joined #ruby
Synthbread has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dain has quit [Remote host closed the connection]
swgillespie has joined #ruby
freerobby has quit [Quit: Leaving.]
oo__ has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
cajone has joined #ruby
krz has joined #ruby
oo_ has joined #ruby
markfletcher has joined #ruby
krz has quit [Client Quit]
Musashi007 has quit [Quit: Musashi007]
yfeldblum has quit [Ping timeout: 246 seconds]
krz has joined #ruby
krz is now known as Guest47262
techietrash has quit [Quit: Bye! <(^_^<)]
Guest47262 has quit [Client Quit]
krzkrz has joined #ruby
markfletcher has quit [Remote host closed the connection]
kapil__ has joined #ruby
aagdbl has joined #ruby
cvtsx1 has quit [Quit: Leaving]
jhebden has joined #ruby
cvtsx has joined #ruby
<DogHackit> Can anyone point me to where I am goign wrong here? All I get for output is " : ". I acts like there is nothing being added to the array accept empty indexes. https://gist.github.com/anonymous/629f16f33514a8eb04dd
twitmusic has joined #ruby
Musashi007 has joined #ruby
twitmusic has quit [Client Quit]
duncannz has joined #ruby
withnale__ has joined #ruby
HOrangeJewce has quit [Quit: Leaving.]
totimkopf has joined #ruby
twitmusic has joined #ruby
twitmusic has quit [Client Quit]
li0ninawhat has quit [Read error: Connection reset by peer]
greensoup has quit [Ping timeout: 245 seconds]
jerematic has joined #ruby
lioninawhat has joined #ruby
tkuchiki_ has joined #ruby
withnale__ has quit [Ping timeout: 245 seconds]
pheona1 has joined #ruby
pheona1 has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
skj3gg has joined #ruby
vdamewood has joined #ruby
pheona has joined #ruby
markfletcher has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
hamakn has quit [Remote host closed the connection]
Sawbones has joined #ruby
oo_ has joined #ruby
jerematic has quit [Ping timeout: 256 seconds]
tus has quit []
riotjones has joined #ruby
lzx has joined #ruby
Musashi007 has quit [Quit: Musashi007]
braincrash has quit [Quit: bye bye]
deol has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
LiquidInsect has joined #ruby
selaruvicheck has joined #ruby
ARCADIVS has joined #ruby
braincrash has joined #ruby
fabrice31 has joined #ruby
<softinio> havenwood: surprised uru written in go and not ruby
iamjarvo has joined #ruby
selaruvich has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
<iamjarvo> so i am checking out ruby's source on ruby-doc and I have a quick questions. Array.each and Enumerable.each are different methods right?
sinkensabe has joined #ruby
Sawbones has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
krzkrz has quit [Ping timeout: 264 seconds]
cajone has quit [Remote host closed the connection]
_gautam_ has quit [Quit: Lingo: www.lingoirc.com]
cajone has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
juanpablo_ has joined #ruby
fenzil has quit [Ping timeout: 265 seconds]
maximski_ has quit []
<havenwood> iamjarvo: The Enumerable mixin actually requires that the class including it implement an each method.
jlast has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Ping timeout: 255 seconds]
<havenwood> iamjarvo: So Array, Hash, Range, Struct, Enumerator, File::Stat and anything else mixing in Enumerable implements its own each method.
markfletcher_ has joined #ruby
<iamjarvo> ahh that makes sense
<havenwood> iamjarvo: There's a bit of discussion in the Enumerable docs: http://ruby-doc.org/core-2.2.0/Enumerable.html
<iamjarvo> totally forgot about that
Musashi007 has joined #ruby
mitchellhenke has joined #ruby
<iamjarvo> i was thinking array would be diff than a collection that i defined myself for some reason
markfletcher has quit [Quit: Textual IRC Client: www.textualapp.com]
markfletcher_ is now known as markfletcher
Aova has joined #ruby
brb3 has joined #ruby
juanpablo_ has quit [Ping timeout: 245 seconds]
<iamjarvo> havenwood so when does Enumerator.html#method-i-each come in handy?
wldcordeiro has joined #ruby
tunaCanBruh has joined #ruby
<havenwood> iamjarvo: Well, it returns self without a block or args because it's already an Enumerator. It needs to be implemented because Enumerator mixes in Enumerable, which requires an each method like I mentioned.
markfletcher has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
markfletcher has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
jack_rabbit has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
<guest000014> what protable ruby interpreter would you recommend (for innterpreting not complicated raw code)?
brb3 has quit [Quit: <.<]
Musashi007 has quit [Quit: Musashi007]
IceDragon is now known as RastaRooster
RastaRooster is now known as IceDragon
skj3gg has quit [Quit: ZZZzzz…]
markfletcher has left #ruby [#ruby]
<havenwood> guest000014: Portable? In what sense?
markfletcher has joined #ruby
markfletcher has left #ruby [#ruby]
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 246 seconds]
<guest000014> havenwood: in order not to install it on computer, from flash-driver, for example
<iamjarvo> havenwood i guess what's confusing me is Enumerator has an each method and if every class has to implement an each method when does Enumerator#each get used?
<havenwood> guest000014: To ship with an app, like a self contained app? Or to use for development? Or another purpose?
jottr has joined #ruby
lys has quit [Quit: lys]
bricker has joined #ruby
mikepack has joined #ruby
<havenwood> guest000014: JRuby works wherever there's a JVM and provides nice binaries.
Toger has quit [Quit: Toger]
<havenwood> guest000014: There're MRI binaries for various platforms, but not one that works on all. Traveling Ruby is a project that makes it easy to provide binaries along with your app for OS X and Linux.
towski_ has quit [Quit: Leaving...]
jottr has quit [Ping timeout: 250 seconds]
agent_white has joined #ruby
dimaursu16 has quit [Ping timeout: 245 seconds]
wldcordeiro has quit [Ping timeout: 252 seconds]
<havenwood> guest000014: http://jruby.org/
<guest000014> havenwood: Ok, thank you!
<havenwood> guest000014: you're welcome
jlast has joined #ruby
guest000014 has quit [Quit: Page closed]
zachrab has joined #ruby
mitt3ns has joined #ruby
<iamjarvo> havenwood i think im confusing my self. basically enumerator.each will be used when an enumertor is returned and then someone wants to call each on it
<lampd1> > 1 + 1
<lampd1> >> 1 + 1
<eval-in__> lampd1 => 2 (https://eval.in/281257)
<havenwood> lampd1: 2
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
Motoservo has quit [Quit: Motoservo]
* lampd1 wants an eval-in bot
<lampd1> anyone know where the sauce for that bot is?
apurcell has joined #ruby
<havenwood> lampd1: I don't believe the eval-in source code is public. It's charliesome's project.
<agent_white> lampd1: Eval-in? It's a secret :P
<lampd1> was hoping there might be some sort of hidden public api :P
jlast has quit [Ping timeout: 245 seconds]
<lampd1> could prob interact with it in hackier ways but meh
cpt_yossarian has quit [Quit: And then he took off.]
zachrab has quit [Ping timeout: 250 seconds]
<agent_white> I'm actually working on a eval-bot at this moment haha.
<havenwood> lampd1: Check out this project: https://github.com/xxuejie/webruby#readme
livingstn has quit [Ping timeout: 252 seconds]
bricker has quit [Ping timeout: 245 seconds]
<havenwood> lampd1: Example here: http://joshnuss.github.io/mruby-web-irb/
apurcell has quit [Ping timeout: 252 seconds]
<havenwood> mruby \o/
iwishiwerearobot has joined #ruby
<lampd1> word thx havenwood
bricker has joined #ruby
<lampd1> working on a lita eval handler
<havenwood> iamjarvo: Not very often! You don't end up calling it directly often, since you can pass a block to an Enumerator as if there was an each already.
<lampd1> https://github.com/lest/lita-eval this uses https://github.com/duckinator/sicuro and is buggy as all getout
<sevenseacat> hidden... public... *asplodes*
_mtr has joined #ruby
<lampd1> you know, like a public api that isn't advertised :P
Aswebb_ has joined #ruby
davedev24_ has joined #ruby
iwishiwerearobot has quit [Ping timeout: 245 seconds]
Lewix has quit [Read error: Connection reset by peer]
zyxelthrone has quit [Quit: WeeChat 1.1.1]
davedev24_ has quit [Read error: Connection reset by peer]
zyxelthrone has joined #ruby
kyb3r_ has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
davedev24_ has joined #ruby
dimaursu16 has joined #ruby
shum has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
greenbagels has quit [Quit: Leaving]
oo_ has quit [Remote host closed the connection]
zyxelthrone has quit [Client Quit]
davedev24_ has quit [Read error: Connection reset by peer]
Aswebb_ has quit [Ping timeout: 252 seconds]
jgrevich has quit [Quit: jgrevich]
davedev24_ has joined #ruby
<DogHackit> When I create a object from a class method, how do I pass an array as an argument? for instance, Class.method(array with 2 args). I keep getting (1 for 2) (ArgumentError)
tkuchiki has joined #ruby
<havenwood> DogHackit: Class.method(*array)
lzx has quit [Remote host closed the connection]
<havenwood> DogHackit: a splat (*)
davedev24_ has quit [Read error: Connection reset by peer]
Jameser` has joined #ruby
<DogHackit> havenwood, thanks! Let me try that out!
davedev24_ has joined #ruby
tkuchiki_ has quit [Ping timeout: 240 seconds]
Jameser has quit [Ping timeout: 244 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
p3ery has quit [Quit: (null)]
p3ery has joined #ruby
wallerdev has joined #ruby
Vivex_ has joined #ruby
SOLDIERz_ has joined #ruby
ellisTAA has joined #ruby
Sawbones has quit [Remote host closed the connection]
ferr has quit [Ping timeout: 252 seconds]
<DogHackit> Now I have too many arguments. What I am trying to do is take each index as an argument. Each index is also an array
<ellisTAA> i’m looking for some info how to format my ruby code? anyone know any good resources
Kejento has quit [Ping timeout: 245 seconds]
<ellisTAA> doghackit: isn’t there an each_index
<ellisTAA> method
Sawbones has joined #ruby
Musashi007 has joined #ruby
Lingo_ has joined #ruby
SOLDIERz_ has quit [Client Quit]
<DogHackit> tried this Grade.new(*file.each_index)
wallerdev has quit [Ping timeout: 255 seconds]
MrGlass has quit []
Kejento has joined #ruby
<DogHackit> still to many wrgs..
<ellisTAA> post a gist
krzkrz has joined #ruby
Motoservo has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmckee has joined #ruby
amystephen has quit [Quit: amystephen]
tylersmith has quit [Remote host closed the connection]
Vivex_ has quit [Ping timeout: 244 seconds]
tylersmith has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
<DogHackit> So many problems with this I don't know where to begin, but help with that one problem would be great :)
shum has quit [Quit: WeeChat 1.1.1]
saurabharaiyer has joined #ruby
shum has joined #ruby
krzkrz has quit [Ping timeout: 245 seconds]
juanpablo_ has joined #ruby
saurabharaiyer has left #ruby [#ruby]
Adran_ is now known as D[__]
cpt_yossarian has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
Aova has joined #ruby
Channel6 has quit [Ping timeout: 245 seconds]
juanpablo_ has quit [Ping timeout: 246 seconds]
Timba-as has quit [Quit: Be back later ...]
Timba-as has joined #ruby
Timba-as has quit [Client Quit]
<DogHackit> ellisTAA, That ugly, huh...
<ellisTAA> sorry didnt see that u sent it
greensoup has joined #ruby
<ellisTAA> what are you trying to do?
<thatslifeson> DogHackit
<thatslifeson> line 17, point_received should be points_received
<thatslifeson> Grade.new expects 2 arguments, not 1 due to your attr_accessor
josephcs has joined #ruby
zachrab has joined #ruby
<thatslifeson> on line 16, not sure why you are doing @@grades.each do |grade| and then not using grade
krzkrz has joined #ruby
<DogHackit> enter a few grades, sort them , and spit them back out. I should be able to enter point after. Also needs to take grades from a text file
<DogHackit> thatslifeson, thanks, I fixed l 17, I am passing 2 args from a CSV file, they are in an array that is in an array. Not sure how to get the values from grade on line 19
<thatslifeson> i'm at work currently so my responses might be delayed, I'll look some more in a second
xymbol has quit [Quit: Lingo: www.lingoirc.com]
<DogHackit> OK, thank you
lioninawhat has quit [Remote host closed the connection]
Ivision has quit [Ping timeout: 256 seconds]
mikepack has quit [Remote host closed the connection]
sumark has quit [Remote host closed the connection]
mudtose has joined #ruby
Jetchisel has quit [Ping timeout: 265 seconds]
sumark has joined #ruby
tmtwd has joined #ruby
axisys is now known as axisys_away
febuiles has joined #ruby
jlast has joined #ruby
Musashi007 has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
tylersmith has quit [Remote host closed the connection]
jefus_ has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
shum has quit [Remote host closed the connection]
piotrj has joined #ruby
jlast has joined #ruby
withnale__ has joined #ruby
Jetchisel has joined #ruby
jefus has quit [Ping timeout: 265 seconds]
lzx has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
jerematic has joined #ruby
withnale__ has quit [Ping timeout: 252 seconds]
munke has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
arescorpio has quit [Excess Flood]
jerematic has quit [Ping timeout: 245 seconds]
lyuben_ has quit [Quit: This computer has gone to sleep]
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
lzx has quit [Remote host closed the connection]
oo_ has joined #ruby
Synthbread has quit [Read error: Connection reset by peer]
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
Synthbread has joined #ruby
Synthead has quit [Disconnected by services]
rbennacer has joined #ruby
Synthbread is now known as Synthead
Synthbread has joined #ruby
penzur has joined #ruby
lzx has joined #ruby
_mtr has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
lxsameer has joined #ruby
oo_ has quit [Remote host closed the connection]
dopie has quit [Remote host closed the connection]
oo_ has joined #ruby
The_Phoenix has joined #ruby
tylersmith has joined #ruby
Buttons840 has joined #ruby
Buttons840 has left #ruby [#ruby]
rbennacer has quit [Ping timeout: 245 seconds]
swgillespie has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia has joined #ruby
febuiles_ has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Sawbones has quit [Remote host closed the connection]
vdamewood has quit [Quit: Computer has gone to sleep.]
febuiles has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
tunaCanBruh has joined #ruby
aapole has joined #ruby
wallerdev has quit [Ping timeout: 245 seconds]
zachrab has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
zachrab has joined #ruby
Aova has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 256 seconds]
sigurding has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
zachrab has quit [Ping timeout: 252 seconds]
Aova has joined #ruby
zachrab has joined #ruby
jottr has joined #ruby
tylersmith has joined #ruby
allen has joined #ruby
jack_rabbit has quit [Ping timeout: 264 seconds]
<allen> is there a gem or way I can open a link on my default browser from the command line?
jottr has quit [Ping timeout: 265 seconds]
jefus_ is now known as jefus
Lingo_ has quit [Quit: (null)]
NivenHuH has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> allen: what OS/distro?
piotrj has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
krzkrz has quit [Quit: WeeChat 1.0.1]
zachrab has quit [Remote host closed the connection]
bal has joined #ruby
krz has joined #ruby
adriancb has joined #ruby
zachrab has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
selaruvicheck has quit [Read error: Connection reset by peer]
tylersmith has quit [Remote host closed the connection]
<havenwood> allen: Anyway, `open url` on OS X or `xdg-open url` from the xdg-utils package on Linux.
Morkel has joined #ruby
piotrj has joined #ruby
jlast has joined #ruby
fantazo has joined #ruby
adriancb has quit [Ping timeout: 245 seconds]
iwishiwerearobot has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
Aswebb_ has joined #ruby
bal has quit [Quit: bal]
bal has joined #ruby
tagrudev has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
jlast has quit [Ping timeout: 245 seconds]
lyuben_ has joined #ruby
iwishiwerearobot has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
claptor has quit [Quit: this channel is bakas]
keen__________57 has joined #ruby
hvxgr has quit [Ping timeout: 245 seconds]
keen__________56 has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
Aswebb_ has quit [Ping timeout: 252 seconds]
Timba-as has joined #ruby
bootstrappm has quit [Quit: bootstrappm]
sandelius has joined #ruby
commmmodo has quit [Quit: commmmodo]
jlast has quit [Ping timeout: 265 seconds]
ARCADIVS has quit [Quit: ARCADIVS]
bricker has quit [Ping timeout: 246 seconds]
_mtr has joined #ruby
andikr has joined #ruby
Spleeze has quit [Ping timeout: 265 seconds]
ptrrr has joined #ruby
_mtr has quit [Ping timeout: 264 seconds]
craigp has joined #ruby
wottam has joined #ruby
_mtr has joined #ruby
amystephen has joined #ruby
Ivision has joined #ruby
jerematic has joined #ruby
apeiros_ has joined #ruby
cmckee has quit [Quit: cmckee]
oo_ has quit [Remote host closed the connection]
Jameser`` has joined #ruby
juanpablo_ has joined #ruby
Spleeze has joined #ruby
timonv has joined #ruby
oo_ has joined #ruby
jerematic has quit [Ping timeout: 255 seconds]
Jameser` has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Ping timeout: 246 seconds]
aganov has joined #ruby
_mtr has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
dumdedum has joined #ruby
teddyp1cker has joined #ruby
oo_ has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
bronson has joined #ruby
juanpablo_ has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
JoshGlzBrk has joined #ruby
oo_ has joined #ruby
vdamewood has joined #ruby
<DogHackit> how do I split a string after 3 characters? I tried this f = File.read('homework2.txt').split(/^.{3}/) but I LOSE the first 3 chracters completely
amystephen has quit [Quit: amystephen]
vdamewood has quit [Client Quit]
Aova has quit [Read error: Connection reset by peer]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
Musashi007 has quit [Client Quit]
davedev24_ has quit [Ping timeout: 252 seconds]
hvxgr has joined #ruby
<certainty> DogHackit: you want the first 3 characters? or do you really want to split and have the first 3 and the rest?
lampd1 has quit []
lampd1 has joined #ruby
timonv has quit [Ping timeout: 256 seconds]
lioninawhat has joined #ruby
<DogHackit> I want to take the first 3 characters and make them the key in a hash then I want the rest to just be the data for each key, by line
<certainty> DogHackit: alright. "foobar".slice(0..2) would be one way
teddyp1cker has quit [Remote host closed the connection]
<certainty> oh wait, missed the rest of the sentence :D
Mon_Ouie has quit [Ping timeout: 245 seconds]
<certainty> but you can of course get the rest with #slice as well
<certainty> i'm not aware of a single method that does both
davedev24_ has joined #ruby
<DogHackit> OK. Thanks.
Aova has joined #ruby
mudtose has quit [Quit: Leaving]
anarang has joined #ruby
piotrj has quit [Remote host closed the connection]
marcdel has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
iliketur_ has quit [Quit: zzzzz…..]
piotrj has joined #ruby
allen has quit [Ping timeout: 240 seconds]
marcdel has quit [Ping timeout: 250 seconds]
BAMbanda has quit [Ping timeout: 252 seconds]
<havenwood> >> _, three, tail = 'lalalalala'.partition /.{3}/; {three => tail}
<eval-in__> havenwood => {"lal"=>"alalala"} (https://eval.in/281353)
<havenwood> DogHackit: Another option you could consider is String#partition. ^
aapole has quit [Quit: Leaving]
Xeago has joined #ruby
Guest123 has joined #ruby
munke has quit [Ping timeout: 246 seconds]
lzx has quit [Remote host closed the connection]
Macaveli has joined #ruby
ta has quit [Remote host closed the connection]
greensoup has quit [Ping timeout: 245 seconds]
<DogHackit> Thanks for the ideas!
Macaveli has quit [Client Quit]
riotjones has joined #ruby
Morkel has quit [Quit: Morkel]
charliesome has quit [Quit: zzz]
lzx has joined #ruby
apeiros_ has joined #ruby
anarang has quit [Ping timeout: 250 seconds]
Xeago has quit [Read error: Connection reset by peer]
strsep has joined #ruby
Xeago has joined #ruby
marcdel has joined #ruby
jhebden has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
psy_ has quit [Quit: Leaving]
fantazo has quit [Ping timeout: 264 seconds]
withnale__ has joined #ruby
Vile` has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
fantazo has joined #ruby
fabrice31 has joined #ruby
zachrab has joined #ruby
Vile` has joined #ruby
astrobunny has joined #ruby
oo_ has joined #ruby
SolarSailor has joined #ruby
oleo is now known as Guest3301
oleo__ has joined #ruby
jlast has joined #ruby
withnale__ has quit [Ping timeout: 245 seconds]
rocknrollmarc has joined #ruby
arup_r has joined #ruby
zachrab has quit [Ping timeout: 252 seconds]
tmtwd has quit [Remote host closed the connection]
Guest3301 has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 244 seconds]
rocknrollmarc has quit [Ping timeout: 244 seconds]
teddyp1cker has joined #ruby
jlast has joined #ruby
Jameser`` has quit [Remote host closed the connection]
teddyp1cker has quit [Read error: Connection reset by peer]
teddyp1cker has joined #ruby
yfeldblu_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
<arup_r> sorted_cities = %w(Warehouse Chennai Pune Bangalore Kolkata Gurgaon Chandigarh Mumbai Delhi).map(&:downcase) and then doing sort by using the sorted array index as
<arup_r> packages.sort_by! { |p| sorted_cities.index(p.stock_location.name.downcase) }
piotrj has quit [Ping timeout: 265 seconds]
<arup_r> Any other efficient way?
Musashi007 has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
dopie has joined #ruby
totimkopf has quit [Ping timeout: 250 seconds]
rocknrollmarc has joined #ruby
amclain has quit [Quit: Leaving]
Macaveli has joined #ruby
Lemur has quit [Remote host closed the connection]
Lemur has joined #ruby
pheona has quit [Quit: WeeChat 1.0.1]
trufflesnout has joined #ruby
lzx has quit [Remote host closed the connection]
marcdel has quit []
Stoge88 has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellisTAA has joined #ruby
lzx has joined #ruby
psy_ has joined #ruby
josephcs has quit [Quit: (null)]
terlar has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aagdbl has quit [Quit: Connection closed for inactivity]
Lemur has quit [Ping timeout: 245 seconds]
bronson has quit [Remote host closed the connection]
teddyp1cker has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
tunaCanBruh has joined #ruby
piotrj has joined #ruby
tylersmith has joined #ruby
lzx has quit [Remote host closed the connection]
xcesariox has joined #ruby
Spami has joined #ruby
rocknrollmarc has quit [Ping timeout: 250 seconds]
rocknrollmarc has joined #ruby
piotrj has quit [Client Quit]
febuiles_ has quit [Ping timeout: 264 seconds]
febuiles has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
ptrrr has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
last_staff has joined #ruby
piotrj has joined #ruby
totimkopf has joined #ruby
fantazo has quit [Ping timeout: 252 seconds]
fantazo has joined #ruby
cmckee has joined #ruby
wallerdev has joined #ruby
<apeiros_> arup_r: sorted_cities = sorted_cities.each_with_index.to_h
helpa has quit [Remote host closed the connection]
<apeiros_> avoids your O(n^2)
toothe has quit [Quit: leaving]
helpa has joined #ruby
jottr has joined #ruby
<arup_r> Oh.. Hash !
<arup_r> cool
<arup_r> apeiros_: thanks..
<arup_r> That's superb
tmi1 has quit [Read error: Connection reset by peer]
craigp has quit [Read error: Connection reset by peer]
Vile` has quit [Read error: Connection reset by peer]
craigp has joined #ruby
WillAmes has quit [Ping timeout: 252 seconds]
cats has quit [Ping timeout: 252 seconds]
iml has quit [Read error: Connection reset by peer]
Kharma has quit [Read error: Connection reset by peer]
machty has quit [Read error: Connection reset by peer]
strsep has quit [Ping timeout: 252 seconds]
julieeharshaw has quit [Ping timeout: 252 seconds]
shadeslayer has quit [Remote host closed the connection]
iml has joined #ruby
wallerdev has quit [Ping timeout: 252 seconds]
nickjj has quit [Ping timeout: 252 seconds]
Kilo`byte has quit [Ping timeout: 252 seconds]
akkad has quit [Ping timeout: 252 seconds]
Aova has quit [Read error: Connection reset by peer]
Vile` has joined #ruby
wldcordeiro_ has quit [Ping timeout: 252 seconds]
oddraisin has quit [Ping timeout: 252 seconds]
ptierno has quit [Ping timeout: 252 seconds]
jouty has quit [Ping timeout: 252 seconds]
lidaaa has quit [Ping timeout: 246 seconds]
surs has quit [Ping timeout: 252 seconds]
rvchangue has quit [Ping timeout: 252 seconds]
ptierno has joined #ruby
multi_io_ has quit [Ping timeout: 252 seconds]
shadeslayer has joined #ruby
oddraisin has joined #ruby
trufflesnout has quit [Quit: Leaving...]
jottr has quit [Ping timeout: 255 seconds]
antgel has joined #ruby
teddyp1cker has joined #ruby
machty has joined #ruby
surs has joined #ruby
multi_io has joined #ruby
aswen has joined #ruby
bigkevmcd has joined #ruby
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
iliketurtles has quit [Quit: zzzzz…..]
siso has joined #ruby
julieeharshaw has joined #ruby
piotrj_ has joined #ruby
strsep has joined #ruby
cats has joined #ruby
Aova has joined #ruby
rvchangue has joined #ruby
kamilc__ has joined #ruby
techsethi has joined #ruby
akkad has joined #ruby
Kilo`byte has joined #ruby
razieliyo has joined #ruby
piotrj has quit [Ping timeout: 256 seconds]
rocknrollmarc has quit [Ping timeout: 246 seconds]
ringarin has joined #ruby
rocknrollmarc has joined #ruby
sinkensabe has quit [Remote host closed the connection]
elabs-developer has joined #ruby
greensoup has joined #ruby
charliesome has joined #ruby
joufflu has quit [Read error: Connection reset by peer]
teddyp1cker has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
wldcordeiro_ has joined #ruby
duncannz has quit [Remote host closed the connection]
himsin has joined #ruby
teddyp1c_ has joined #ruby
jouty has joined #ruby
greenarrow has joined #ruby
ta has joined #ruby
marr has joined #ruby
krz has quit [Ping timeout: 256 seconds]
rocknrollmarc has quit [Ping timeout: 250 seconds]
greensoup has quit [Ping timeout: 246 seconds]
lzx has joined #ruby
rocknrollmarc has joined #ruby
livathinos has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
sandelius has joined #ruby
lolmaus has joined #ruby
xcesariox has joined #ruby
withnale__ has joined #ruby
lzx has quit [Remote host closed the connection]
lzx has joined #ruby
zachrab has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp_ has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has joined #ruby
LouisRoR has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
withnale__ has quit [Ping timeout: 240 seconds]
avril14th has joined #ruby
zarubin has joined #ruby
zarubin has quit [Remote host closed the connection]
Guest123 has joined #ruby
zarubin has joined #ruby
mroach has quit [Quit: mroach]
craigp has quit [Ping timeout: 255 seconds]
zachrab has quit [Ping timeout: 240 seconds]
zarubin has quit [Client Quit]
piotrj_ has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 245 seconds]
hs366 has joined #ruby
piotrj has joined #ruby
piotrj has quit [Remote host closed the connection]
jlast has joined #ruby
RTG` has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
piotrj has joined #ruby
DEA7TH has quit [Ping timeout: 246 seconds]
Takle has quit [Remote host closed the connection]
sinkensabe has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
lzx has quit [Remote host closed the connection]
marr has quit []
rdark has joined #ruby
Ivision has quit [Ping timeout: 246 seconds]
_mtr has joined #ruby
marr has joined #ruby
piotrj has quit [Read error: No route to host]
jenrzzz has joined #ruby
juanpablo_ has joined #ruby
kalusn has joined #ruby
codecop has joined #ruby
_mtr has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo_ has quit [Ping timeout: 265 seconds]
swgillespie has joined #ruby
livathin_ has joined #ruby
oo_ has quit [Remote host closed the connection]
Ivision has joined #ruby
arup_r has quit [Remote host closed the connection]
sevenseacat has quit [Remote host closed the connection]
selu has joined #ruby
withnale__ has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
alex88 has joined #ruby
Xeago has quit [Remote host closed the connection]
livathinos has quit [Ping timeout: 245 seconds]
jimms has joined #ruby
lrocknrolmarc has joined #ruby
Sawbones has joined #ruby
swgillespie has quit [Client Quit]
msgodf has joined #ruby
RTG` has joined #ruby
Xeago has joined #ruby
cajone has quit [Remote host closed the connection]
lioninawhat has quit [Read error: Connection reset by peer]
cassianoleal has quit [Quit: (null)]
AFKGeek has joined #ruby
Morkel has joined #ruby
penzur has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
<avril14th> morning
CustosL1men has joined #ruby
Sawbones has quit [Ping timeout: 245 seconds]
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
Takle has joined #ruby
ghostpl has joined #ruby
cajone has joined #ruby
krz has joined #ruby
oo_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
Takle has quit [Ping timeout: 246 seconds]
lrocknrolmarc has quit [Ping timeout: 264 seconds]
kyb3r_ has quit [Quit: Leaving]
p3ery has quit [Quit: (null)]
Morkel has quit [Quit: Morkel]
lrocknrolmarc has joined #ruby
rocknrollmarc has quit [Ping timeout: 245 seconds]
BTRE has joined #ruby
F__i__L has quit [Ping timeout: 265 seconds]
ToXedVirus has left #ruby [#ruby]
Aova has joined #ruby
lrocknrolmarc has quit [Ping timeout: 245 seconds]
ringarin has quit [Read error: Connection reset by peer]
ghr has joined #ruby
Zai00 has joined #ruby
rocknrollmarc has joined #ruby
lrocknrolmarc has joined #ruby
mLF has joined #ruby
greensoup has joined #ruby
leafybasil has quit [Remote host closed the connection]
livathin_ has quit [Remote host closed the connection]
livathinos has joined #ruby
F__i__L has joined #ruby
tmtwd has joined #ruby
kedare has joined #ruby
greensoup has quit [Ping timeout: 246 seconds]
LouisRoR has quit [Ping timeout: 264 seconds]
wottam has joined #ruby
rocknrollmarc has quit [Ping timeout: 245 seconds]
lrocknrolmarc has quit [Ping timeout: 255 seconds]
jgt has joined #ruby
tmtwd has quit [Ping timeout: 245 seconds]
arup_r has joined #ruby
max96at|off is now known as max96at
dmolina has joined #ruby
lrocknrolmarc has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
arup_r has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
arup_r has joined #ruby
amil has joined #ruby
kamilc__ has quit [Ping timeout: 246 seconds]
totimkopf has quit [Quit: leaving]
jlast has joined #ruby
lrocknrolmarc has quit [Ping timeout: 240 seconds]
rocknrollmarc has quit [Ping timeout: 246 seconds]
jgt has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 245 seconds]
lrocknrolmarc has joined #ruby
reinaldob has joined #ruby
rocknrollmarc has joined #ruby
gigetoo has quit [Remote host closed the connection]
amil has quit [Quit: Linkinus - http://linkinus.com]
jlast has joined #ruby
RDash has quit [Ping timeout: 276 seconds]
antgel has quit [Ping timeout: 250 seconds]
arup_r has quit [Remote host closed the connection]
ringarin has joined #ruby
reinaldob has quit [Ping timeout: 246 seconds]
tunaCanBruh has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby
lrocknrolmarc has quit [Quit: User abort with 5 Ctrl-C's]
Deithrian has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
lrocknrolmarc has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
Synthead has quit [Ping timeout: 272 seconds]
jgt has joined #ruby
astrobunny has quit [Remote host closed the connection]
RDash has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
leafybasil has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
CpuID2 has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nerium has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
urtokk has quit [Ping timeout: 255 seconds]
rocknrollmarc has quit [Ping timeout: 246 seconds]
lrocknrolmarc has quit [Ping timeout: 265 seconds]
jottr has joined #ruby
Xeago has quit [Remote host closed the connection]
rocknrollmarc has joined #ruby
rodfersou has joined #ruby
timonv has joined #ruby
Xeago has joined #ruby
jhebden has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
rocknrollmarc has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
davidhq has joined #ruby
parduse has quit []
RandyT has quit [Ping timeout: 245 seconds]
ghr has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
kedare has quit [Ping timeout: 250 seconds]
RandyT has joined #ruby
ghr has joined #ruby
rocknrollmarc has joined #ruby
klap has quit [Ping timeout: 245 seconds]
roshanavand has quit [Remote host closed the connection]
klap has joined #ruby
arup_r has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
alexblom has quit [Ping timeout: 245 seconds]
parduse has joined #ruby
astrobunny has joined #ruby
nickjj has joined #ruby
alexblom has joined #ruby
iamayam has quit [Ping timeout: 272 seconds]
rocknrollmarc has quit [Ping timeout: 264 seconds]
klap has quit [Ping timeout: 245 seconds]
klap has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<ddv> ahhhh
livathin_ has joined #ruby
<ddv> changed again
<ddv> there are now 2 options :-)
kedare has joined #ruby
yeticry has quit [Ping timeout: 250 seconds]
Aova has joined #ruby
reinaldob has joined #ruby
roshanavand has joined #ruby
livathinos has quit [Ping timeout: 245 seconds]
yeticry has joined #ruby
piotrj has joined #ruby
sevenseacat has joined #ruby
DaniG2k has joined #ruby
urtokk has joined #ruby
lioninawhat has quit [Remote host closed the connection]
zachrab has joined #ruby
kaspergrubbe__ is now known as kaspergrubbe
wald0 has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CpuID2 has quit [Quit: This computer has gone to sleep]
ki0 has joined #ruby
Timgauthier has joined #ruby
CpuID2 has joined #ruby
maximski has joined #ruby
zachrab has quit [Ping timeout: 255 seconds]
mLF has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
Guest123 has joined #ruby
oleo__ is now known as oleo
rocknrollmarc has joined #ruby
arup_r_ has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
bnjamin has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
arup_r has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
livathin_ has quit [Remote host closed the connection]
_mtr has joined #ruby
ponga has quit [Remote host closed the connection]
rocknrollmarc has quit [Ping timeout: 255 seconds]
ponga has joined #ruby
bnjamin has quit []
ldnunes has joined #ruby
tekk has joined #ruby
juanpablo_ has joined #ruby
piotrj has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 245 seconds]
_mtr has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
febuiles has quit [Quit: febuiles]
CpuID2 has joined #ruby
piotrj has joined #ruby
mLF has joined #ruby
cmckee has quit [Quit: cmckee]
timonv has joined #ruby
iamayam has joined #ruby
juanpablo_ has quit [Ping timeout: 246 seconds]
Stoge88 has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 245 seconds]
aZtec has joined #ruby
aZtec has quit [Client Quit]
ponga has quit [Ping timeout: 252 seconds]
aZtec_ has joined #ruby
nfk has joined #ruby
<aZtec_> hi all...
<aZtec_> while this might be a very complex question, maybe someone can give me the gist of it
joonty has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<aZtec_> when i open a file in reading mode, can it potentially cause harm to the host system?
tylersmith has joined #ruby
VBlizzard has joined #ruby
<aZtec_> assuming it's a malicious file...
CustosLimen has quit [Ping timeout: 245 seconds]
Takle_ has quit [Remote host closed the connection]
blizzy has quit [Ping timeout: 245 seconds]
Timgauthier has quit [Max SendQ exceeded]
featheryahn_ has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Ping timeout: 250 seconds]
tylersmith has quit [Ping timeout: 252 seconds]
Timgauthier has joined #ruby
AlexRussia has joined #ruby
lzx has joined #ruby
featheryahn_ has joined #ruby
klap has quit [Ping timeout: 245 seconds]
hdrv has quit [Ping timeout: 245 seconds]
klap has joined #ruby
Skelz0r_ has quit [Ping timeout: 245 seconds]
TTilus has quit [Ping timeout: 245 seconds]
<arup_r_> In simple technical words what `Fluent interfaces` mean ?
psy_ has quit [Read error: No route to host]
hyperdrive has joined #ruby
benatkin has quit [Ping timeout: 245 seconds]
totimkopf has joined #ruby
benatkin has joined #ruby
Klumben has quit [Ping timeout: 245 seconds]
faulkner has quit [Ping timeout: 245 seconds]
CustosLimen has joined #ruby
faulkner has joined #ruby
johnhamelink has quit [Ping timeout: 245 seconds]
xMopxShell has quit [Ping timeout: 245 seconds]
epochwolf has quit [Ping timeout: 245 seconds]
skarn has quit [Ping timeout: 245 seconds]
yosafbridge has quit [Ping timeout: 245 seconds]
keelerm has quit [Ping timeout: 245 seconds]
etdev has quit [Ping timeout: 245 seconds]
matti has quit [Ping timeout: 245 seconds]
psy_ has joined #ruby
Takle has joined #ruby
quazimodo has joined #ruby
yosafbridge has joined #ruby
skarn has joined #ruby
epitron has quit [Ping timeout: 245 seconds]
matti has joined #ruby
matti has joined #ruby
startupality has joined #ruby
<quazimodo> is there a standard library that can do something like CGI.new("html4") or equivalent, in order to build html
CpuID2 has quit [Quit: This computer has gone to sleep]
epochwolf has joined #ruby
etdev has joined #ruby
TTilus has joined #ruby
xMopxShell has joined #ruby
Skelz0r has joined #ruby
epitron has joined #ruby
johnhamelink has joined #ruby
tkuchiki has quit [Ping timeout: 252 seconds]
<certainty> arup_r_: simply put it's an interface (a group of methods) that all return a context where they can be applied. One example being arel's relations or another example are method chains that don't change types
Klumben has joined #ruby
<arup_r_> certainty: Thanks.. Got it.. This is a one liner I was looking for.. Wikipedia says too much.. :)
<arup_r_> quazimodo: Are you looking for CGI equivalent lib or http://www.ruby-doc.org/stdlib-1.9.3/libdoc/cgi/rdoc/CGI.html#method-c-new ? :-)
mostlybadfly has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrgrieves has joined #ruby
Zai00 has quit [Quit: Zai00]
wallerdev has joined #ruby
<quazimodo> arup_r_: something like cgi or nokogiri to build html
Aova has quit [Read error: Connection reset by peer]
abuzze has quit [Remote host closed the connection]
<quazimodo> i'd rather not be doing html << "<a href='asdf.com'>bla bl</a>"
<arup_r_> Why are you not liking them like cgi, nokogiri ?
BeLucid has quit [Read error: Connection reset by peer]
<arup_r_> quazimodo:
jimms has quit [Remote host closed the connection]
cvtsx1 has joined #ruby
teddyp1c_ has quit [Remote host closed the connection]
rocknrollmarc has joined #ruby
Anthony__ has joined #ruby
craigp_ has quit []
abuzze has joined #ruby
jottr has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
elepfont has quit [Ping timeout: 245 seconds]
abuzze has joined #ruby
cvtsx has quit [Ping timeout: 246 seconds]
piotrj has quit [Remote host closed the connection]
piotrj_ has joined #ruby
BeLucid has joined #ruby
jgt has quit [Read error: No route to host]
VBlizzard has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
wallerdev has quit [Ping timeout: 255 seconds]
lessless has joined #ruby
Aova has joined #ruby
rocknrollmarc has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
jottr has quit [Ping timeout: 252 seconds]
abuzze has quit [Ping timeout: 256 seconds]
oo_ has quit [Remote host closed the connection]
p7r has joined #ruby
oo_ has joined #ruby
LouisRoR has joined #ruby
havenwood has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
aZtec_ has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
fabrice31 has quit [Remote host closed the connection]
abuzze has joined #ruby
jimms has joined #ruby
jenrzzz has joined #ruby
sandelius has joined #ruby
piotrj_ has quit [Remote host closed the connection]
main has joined #ruby
keelerm has joined #ruby
thatslifeson has quit [Remote host closed the connection]
rocknrollmarc has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
<quazimodo> arup_r_: i dno
trufflesnout has joined #ruby
<arup_r_> strange... :)
<quazimodo> for some reason i thought cgi kinda outdated
<quazimodo> i thought if it's out dated then perhaps ruby 2 had an alternative
<quazimodo> nokogiri is cool but it's a gem, dont know if i should be adding a gem
<quazimodo> but yeah maybe I'll just egi
Timgauthier has quit [Read error: Connection reset by peer]
<quazimodo> cgi
tomengla_ has quit [Ping timeout: 245 seconds]
Timgauthier has joined #ruby
fabrice31 has joined #ruby
startupality has quit [Quit: startupality]
rocknrollmarc has quit [Ping timeout: 250 seconds]
tunaCanBruh has joined #ruby
jlast has joined #ruby
marr has quit [Ping timeout: 250 seconds]
stef204 has joined #ruby
Musashi007 has joined #ruby
bonhoeffer has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 252 seconds]
jlast has quit [Ping timeout: 245 seconds]
lyuben_ has quit [Ping timeout: 246 seconds]
piotrj has joined #ruby
hesco has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
jottr has joined #ruby
ponga has joined #ruby
Guest123 has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
livathinos has joined #ruby
ajaiswal has quit [Quit: Leaving]
teddyp1cker has joined #ruby
oo_ has quit [Remote host closed the connection]
mLF has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
Takumo has quit [Remote host closed the connection]
ringarin has quit [Quit: Leaving]
tomengland has joined #ruby
kp666 has joined #ruby
greensoup has joined #ruby
nerium has quit [Quit: nerium]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
Takumo has joined #ruby
VBlizzard has joined #ruby
cvtsx has joined #ruby
siso has quit [Quit: siso]
Aswebb_ has joined #ruby
kl__ has joined #ruby
<kl__> Why is it bad to commit Gemfile.lock files into a gem/library ?
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bonhoeffer has quit [Quit: bonhoeffer]
greensoup has quit [Ping timeout: 245 seconds]
<canton7> it isn't?
fabrice31 has quit [Remote host closed the connection]
<kl__> canton7: many would disagree with you
CpuID2 has joined #ruby
<crome> why would you ship a gem with a gemfile.lock?
<crome> it has gemspec
<apeiros_> ominous "many"
fabrice31 has joined #ruby
<kl__> crome: parity between development and production environment - it's sure to work
<sevenseacat> dun dun dunnnn
Anthony__ has quit [Ping timeout: 245 seconds]
<apeiros_> it's hard to argue with vast opinion armies :D
cvtsx1 has quit [Ping timeout: 250 seconds]
<kl__> yup, that's what I'm trying to do right now
bronson has quit [Ping timeout: 240 seconds]
xcesariox has joined #ruby
<apeiros_> so who are those many and what's their rationale?
himsin has quit [Quit: himsin]
tkuchiki has joined #ruby
<crome> the answer is right in the article
<canton7> apps are often distributed as gems
piotrj has quit [Read error: Connection reset by peer]
fabrice31_ has joined #ruby
<canton7> so you original question covered apps in my mind.. hence my answer
<canton7> *your
piotrj has joined #ruby
<crome> "it enforces precision that does not exist in the gem command"
<Timgauthier> when distro'ing an app as a gem then you likely want the lock file
Musashi007 has quit [Quit: Musashi007]
<apeiros_> ah, developing a gem vs. developing an app
<Timgauthier> it says in the first area above the HR
<Timgauthier> :P
<apeiros_> kl__: well, yehuda answers your question in your very link
<Timgauthier> lock adds to much specificificty
<apeiros_> and I'm even late in the point-it-out-party
<Timgauthier> haha apeiros_ its okay
<Timgauthier> i considered not actually saying anything
mLF has joined #ruby
<kl__> My point is: why is too much specificity a problem? Obviously slightly slower installation
<crome> kl__: for example the gem command does not care about your branch specification in your gemfile
<crome> in case there is one
<kl__> I'm not sure what "it enforces precision that does not exist in the gem command" actually means
piotrj_ has joined #ruby
gokul has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
<kl__> gem install takes -v for version, so that doesn't seem correct.
woodyb23 has joined #ruby
<Timgauthier> but it doesn't do that by default
claptor has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Motoservo has quit [Quit: Shhh. I'm trying to get some sleep here.]
<Timgauthier> when you install from a gemfile, does it matter where a gem came from, or exactly which version it is? no you just want the latest version of a gem from wheverer. If it is important for a project which gem and version of that gem you are using (aka your moving a dev environment from one machine to another) you need a specific version, so you can use version, or a lock
<Timgauthier> lock locks your gems to not being updated, and not changing in any way so that your app dependancies in a release environment do not change and cause issues.
blackmesa has joined #ruby
lightstalker has joined #ruby
St_Marx has joined #ruby
lessless has joined #ruby
piotrj has quit [Ping timeout: 256 seconds]
zachrab has joined #ruby
Aova has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
BeLucid has quit [Read error: Connection reset by peer]
BeLucid has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
nerium has joined #ruby
nerium has quit [Client Quit]
jimms_ has joined #ruby
woodyb23 has quit [Ping timeout: 255 seconds]
p0wn3d_mhs has joined #ruby
trampi has joined #ruby
function_ has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
jimm has joined #ruby
Aova has joined #ruby
<kl__> Timgauthier: I was thinking about the case where you're using a gem "foo", and the developer bring out foo v2. Suddenly your library that uses "foo" breaks
jimm is now known as Guest11439
startupality has joined #ruby
<kl__> It seems as though libraries should always lock down the major version in the Gemfile, right?
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kl__> * breaks if the end-user has foov2 installed
jimms has quit [Ping timeout: 244 seconds]
function90 has quit [Ping timeout: 252 seconds]
piotrj_ is now known as piotrj
piotrj has quit []
lanemeyer has quit [Ping timeout: 245 seconds]
jimms_ has quit [Ping timeout: 246 seconds]
piotrj has joined #ruby
TinkerTyper has quit [Ping timeout: 245 seconds]
Zai00 has joined #ruby
jimms has joined #ruby
phutchins has joined #ruby
Guest11439 has quit [Ping timeout: 264 seconds]
BTRE has quit [Quit: Leaving]
cvtsx1 has joined #ruby
BeLucid_ has joined #ruby
BeLucid has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
cvtsx has quit [Ping timeout: 255 seconds]
TinkerTyper has joined #ruby
sameerynho has joined #ruby
<workmad3> kl__: the Gemfile.lock in a gemspec will lock down all transitive dependencies to exact versions, which is the 'precision that doesn't exist in the gemspec'
jerematic has joined #ruby
<workmad3> kl__: unless you really do go through all dependencies, and dependencies of dependencies, right the way down, and put an exact version for each of them in your gemspec
_mtr has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
astrobunny has quit [Remote host closed the connection]
<workmad3> kl__: so the point against commiting Gemfile.lock with a gem is that someone who then checks it out and does 'bundle install' to test it would get the locked versions of all dependencies, not the dependencies that rubygems would currently resolve when you install that gem
piotrj_ has joined #ruby
piotrj_ has quit [Client Quit]
jenrzzz has quit [Ping timeout: 246 seconds]
juanpablo_ has joined #ruby
jerematic has quit [Ping timeout: 240 seconds]
_mtr has quit [Ping timeout: 252 seconds]
goatherder3 has joined #ruby
piotrj has quit [Ping timeout: 252 seconds]
Ivision has quit [Remote host closed the connection]
Ivision has joined #ruby
enterprisedc has quit [Ping timeout: 240 seconds]
shum has joined #ruby
<kl__> workmad3: that was the answer I was looking for. Thank you!
Ivision has quit [Read error: Connection reset by peer]
Ivision has joined #ruby
Takle has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 240 seconds]
<sandelius> Just for the record, I absolutely love Sinatra
PaulCapestany has quit []
n1lo has joined #ruby
zlad has joined #ruby
jlast has joined #ruby
PaulCapestany has joined #ruby
Timgauthier is now known as timgauthier_away
tylersmith has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<certainty> just for the record, I absolutely love workmad3
<workmad3> just for the record, I also love workmad3
<workmad3> </narcissism>
<certainty> nah you gotta love yourself
<sevenseacat> lol
<certainty> especially when nobody else does
<workmad3> certainty: I have circumstantial evidence that I hold the affection of entities other than myself
<apeiros_> workmad3: christianism mandates that you love yourself. first rule in the book.
<certainty> workmad3: i hope so. you're a nice guy
<certainty> girl
<certainty> i don't know
rocknrollmarc has joined #ruby
<certainty> i don't care
<kl__> I also love workmad3
<workmad3> apeiros_: that's not a book I subscribe to :P
<kl__> He didn't mock for asking a seemingly basic question
<apeiros_> workmad3: d'oh. well, me neither. but chances were 1:7
<workmad3> kl__: I've spent far too much time pondering dependencies to consider questions about them 'basic' :)
goatherder3 has quit [Remote host closed the connection]
lkba has joined #ruby
<kl__> workmad3: yup.
<apeiros_> kl__: you didn't get mocked for your question being basic in the past either. but I know that you can't get yourself to realize that.
<certainty> we have to realize that there are probably 4 hard problems in computer science
puppetmonkey has joined #ruby
<kl__> apeiros_: not sure what you're on about, but you don't seem to be friendly
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jlast has quit [Ping timeout: 245 seconds]
<kl__> certainty: I think I know this one, go on ;)
<sevenseacat> apeiros_ is awesome.
<workmad3> certainty: I always heard it as 2 hard problems... Caching, naming things and off-by-one errors
puppetmonkey has quit [Client Quit]
<kl__> hehe
<certainty> workmad3: i heard that as 3 of them
<certainty> but now we have to add dependency management
<kl__> certainty: that only proves the principle further
<certainty> kl__: yepp
tylersmith has quit [Ping timeout: 256 seconds]
jlast has joined #ruby
<certainty> also it was cache invalidation i believe, which is of course closely related
selaruvich has joined #ruby
lyuben_ has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
roshanavand1 has joined #ruby
<kl__> certainty: I never found cache invalidation to be particularly bad, what am I missing?
sinkensabe has quit [Read error: Connection reset by peer]
<kl__> Normally just comparing dates/hashes, right? :)
sinkensabe has joined #ruby
<apeiros_> my list of hard things in computing is a bit longer.
roshanavand has quit [Ping timeout: 245 seconds]
<apeiros_> I'd add threading quite high in it.
timonv has joined #ruby
hiyosi has joined #ruby
enterprisedc_ has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
<apeiros_> kl__: cache invalidation/pruning is about when to get rid of which cached value
dagda1_ has joined #ruby
<canton7> it's one of those that seems easy, then you get bit. a lot.
<apeiros_> it's hard because it's easy to lose all performance gains and/or to "leak"
cpt_yossarian has quit [Ping timeout: 245 seconds]
ghostpl has quit [Remote host closed the connection]
<canton7> most of the time for me it's been not invalidating when I should - that problem bites *hard* when it bites
ki0 has quit []
<apeiros_> ah, deprecated data in the cache and using that instead of fresh data?
<certainty> threading is definitely on the list any sort of parallelism with (mutable) shared resources probably is
ponga has joined #ruby
<canton7> mainly when talking to an embedded device, and polling its state / caching the results
<apeiros_> yeah, I can imagine how that can bite hard.
<workmad3> certainty: tbh, concurrency and parallelism are probably both on the list :)
<canton7> then trying to optimise away a few polls...
<certainty> workmad3: true
<canton7> "its state definitely can't have changed between X and Y", then you wonder why there's a really obscure problem 2 months later
Timgauthier has joined #ruby
<certainty> magic
<workmad3> and yeah... with caching, you've got the joys of also deciding whether to hold requests or serve stale data when a cache update is happening...
jgt has joined #ruby
<workmad3> then whether to warm the cache, whether to do hot updates, etc.
<kl__> I don't really have any problems with cache invalidation - I think I can owe a lot of that to invalidation notification being pushed as part of the event that changes the origin
<workmad3> really easy to fuck it up :)
<kl__> If you don't have that control on processes that affect the origin... the information needed to truly optimize simply doesn't exist
Aswebb_ has quit [Remote host closed the connection]
rocknrollmarc has quit [Ping timeout: 265 seconds]
<workmad3> kl__: lucky, you've got a situation where your cache invalidation isn't (currently) too difficult :P
<apeiros_> that's why you write code which is fast enough without caching!!!!1!1!
yfeldblum has joined #ruby
piotrj has joined #ruby
greensoup has joined #ruby
ponga has quit [Read error: No route to host]
<certainty> yeah!!!one_eleven
ponga has joined #ruby
<kl__> workmad3: it seems that most cases where that cannot be achieved is probably an organizational problem
drawingthesun has joined #ruby
<kl__> if something has the capability to alter your origin, you would have that you can enrich that process/client to notify the cache
<kl__> s/have/hope/
roshanavand1 has quit [Quit: roshanavand1]
drawingthesun has quit [Read error: Connection reset by peer]
<workmad3> kl__: not really... in many cases, a hot-cache invalidation isn't practical because you've got too many updates streaming in at once and not enough reads happening in-between... the cache invalidation pushes add too much overhead
<workmad3> kl__: or you don't need that overhead because your data has specific expiry dates from the domain, so you can't invalidate until X time has passed...
<kl__> workmad3: the latter sounds pretty easy, and stale-and-revalidating
yfeldblum has quit [Ping timeout: 256 seconds]
<kl__> workmad3: the prior is definitely more ticky
<workmad3> kl__: there's also the question of what to do with a cache miss... or more specifically, if you have a cache miss from 1000 people requesting the same data at the same time
<kl__> tricky..
<dagda1_> I am having trouble incoding a string from ASCII-8BIT to utf-8, I try string.encode('UTF-8') but I get this error Encoding::UndefinedConversionError: "\xE1" from ASCII-8BIT to UTF-8.
<kl__> workmad3: yeah that's kinda interesting when you're not using an off-the-shelf like Varnish. It's like a mutex is needed for the request to backend
grzywacz has joined #ruby
grzywacz has joined #ruby
<workmad3> kl__: do you let 1000 requests through (cache rush)? do you let 1 through and hold 999 while the cache updates? do you serve the stale data while waiting for the cache to update?
<kl__> mutex for a given request that should yield the same content
<workmad3> kl__: or do you hold for something like 5s and then serve stale data if the cache hasn't updated?
piotrj has quit [Ping timeout: 252 seconds]
arup_r_ has quit [Read error: Connection reset by peer]
Aswebb_ has joined #ruby
<kl__> stale-on-revalidate has been sufficient for most of my cases (with delays not being permissible)
<workmad3> again, lucky ;)
Alina-malina has quit [Ping timeout: 252 seconds]
aclearman037 has joined #ruby
claptor has quit [Quit: this channel is bakas]
piotrj has joined #ruby
Musashi007 has joined #ruby
krz has quit [Ping timeout: 245 seconds]
aclearman037 has quit [Client Quit]
BTRE has joined #ruby
<kl__> workmad3: why does that make it any easier?
<kl__> stale-on-revalidate would seem to have more moving parts than simply blocking
<workmad3> kl__: I meant 'lucky' in that 'you can use the same techniques across most of your stuff'
thumpba has joined #ruby
arup_r has joined #ruby
CpuID2 has joined #ruby
<kl__> workmad3: ah gotcha :)
CpuID2 has quit [Client Quit]
tmtwd has joined #ruby
Takle has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
drawingthesun has joined #ruby
drawingthesun has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
Aswebb_ has joined #ruby
aclearman037 has joined #ruby
tkuchiki has joined #ruby
thumpba_ has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
Xeago_ has joined #ruby
gokul has quit [Quit: Leaving]
thumpba has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 264 seconds]
pika_pika has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
kl__ has quit [Ping timeout: 245 seconds]
greensoup has quit [Ping timeout: 250 seconds]
Aova has quit [Read error: Connection reset by peer]
Aswebb_ has joined #ruby
wald0 has quit [Quit: Lost terminal]
aganov has quit [Remote host closed the connection]
Aswebb_ has quit [Client Quit]
ghostpl has joined #ruby
nateberkopec has joined #ruby
<ddv> even rubocop prefers single quoted strings when you don't need string interop
<ddv> interpolation*
amystephen has joined #ruby
<aep> any idea why this always runs the block?> def bla(&block) a = 1; a ||= yield end
marr has joined #ruby
brb3 has joined #ruby
antgel has joined #ruby
psy_ has quit [Ping timeout: 250 seconds]
piotrj has quit [Ping timeout: 244 seconds]
shum has quit [Quit: WeeChat 1.1.1]
shellflu_afk is now known as shellflu
Alina-malina has joined #ruby
<apeiros_> ddv: only if you don't tell it otherwise :o)
shum has joined #ruby
jerematic has joined #ruby
Aova has joined #ruby
<ddv> :)
Timgauthier is now known as timgauthier_away
cvtsx has joined #ruby
Kharma has joined #ruby
kobain has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Read error: Connection reset by peer]
Timgauthier has joined #ruby
sinkensabe has joined #ruby
gccostabr has joined #ruby
brahman has joined #ruby
brahman has joined #ruby
Lewix has quit [Remote host closed the connection]
<banister> aep i'm doing the same, and it doesn't always run the block for me, in fact it never runs the block
<banister> which is the expected behaviour
<aep> yeah i probably misidentified the problem
Lewix has joined #ruby
Takle has quit [Remote host closed the connection]
<brahman> Hi, I have some raw js object that I would like to convert to JSON. (keys are not double quoted). Does anyone have a simple way of doing this?
cvtsx1 has quit [Ping timeout: 245 seconds]
jimms has quit [Remote host closed the connection]
<apeiros_> brahman: you have a JS object in ruby?
lanemeyer has joined #ruby
<apeiros_> or wrong channel?
IrishGringo has joined #ruby
tunaCanBruh has joined #ruby
techsethi has quit [Quit: techsethi]
Lewix has quit [Ping timeout: 245 seconds]
dblessing has joined #ruby
thumpba has joined #ruby
jenrzzz has joined #ruby
thumpba_ has quit [Remote host closed the connection]
psy_ has joined #ruby
lzx has quit [Read error: Connection reset by peer]
antgel has quit [Ping timeout: 265 seconds]
kristofferR has joined #ruby
kt2 has joined #ruby
joonty has quit [Quit: joonty]
zlad has left #ruby [#ruby]
tunaCanBruh has quit [Ping timeout: 246 seconds]
wldcordeiro_ has quit [Ping timeout: 244 seconds]
<aep> yeah, how do i yield without returning?
<brahman> apeiros_: Yeah I am using HTTPClient to scrape a js site. The returned data is raw js and not valid JSON.
wldcordeiro_ has joined #ruby
<aep> a = yield; do_something; where block contains a return will not execute do_something
<apeiros_> brahman: you mean you have a string?
Troy^ has joined #ruby
<apeiros_> brahman: e.g. "{raw: \"javascript\"}"
rodfersou has quit [Read error: Connection reset by peer]
<brahman> apeiros_: yep exactly
davedev24_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
<apeiros_> I see two ways
kt2 has quit [Client Quit]
<apeiros_> a) use a regex to quote keys
mostlybadfly has quit [Quit: Connection closed for inactivity]
<apeiros_> b) use something like libv8 to evaluate the code
rodfersou has joined #ruby
kt2 has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
<brahman> apeiros_: b) it's not comming from a trusted source so am a bit reluctant to evaluate the js.
<apeiros_> aep: can you make a small example showing what you want to achieve?
lzx has joined #ruby
<brahman> Will look at the regex method.
<brahman> would you do something like /(\w+):/ and replace with "match[1]" ?
<apeiros_> oh, you could use yaml to load the data
<apeiros_> brahman: yeah, but that'll have issues with strings containing :
<brahman> apeiros_: YAML would be cool. Does the yaml module understand raw js structures?
<apeiros_> brahman: I think it should be compatible
<brahman> brb
<apeiros_> >> require 'yaml'; YAML.load('{foo: "bar"}')
<eval-in__> apeiros_ => {"foo"=>"bar"} (https://eval.in/281623)
kt2 has quit [Client Quit]
<aep> apeiros_: trying to use rails request store, but i fail to isolate the problem with this: http://npaste.de/p/De2
<aep> it doesnt execute the 3rd line of the 1st function
<aep> but when i make a minimal example, it works :/
lessless has joined #ruby
thumpba has quit [Remote host closed the connection]
<apeiros_> aep: return does not return to the method
<brahman> apeiros_: your example works, but my data is nto working so smoothly. Will investigate further. brb
<apeiros_> return returns from the lexical context
thumpba has joined #ruby
<aep> aw
paradoja has joined #ruby
OrbitalKitten has joined #ruby
jlast has joined #ruby
<aep> is there something to return from the lambda?
<apeiros_> aep: i.e., your `return 3` returns directly from `something`
<aep> kinda confusing
<aep> yeah
<apeiros_> aep: also gists. they have line numbers. makes referencing code so much easier. srsly.
<apeiros_> aep: just write '3'. no return.
<aep> then the logic code becomes ugly because i need tons of if else
<aep> instead of just 'return if broken?'
<aep> oh well
<apeiros_> well, maybe you should clean up your code
<apeiros_> you can use `next val` to return from the block to the yielding method.
<aep> oh cool
<apeiros_> but really, clean up your code :-p
<apeiros_> that problem is indicative of you writing spaghetti
<aep> well, how would you clean up a billion pre-condition checks
<apeiros_> aep: carefully
apurcell has joined #ruby
<apeiros_> but to be a bit more serious: probably by moving the block into a method and splitting that one large method into multiple smaller ones.
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<aep> that'd be enourmously ugly with if/else
mostlybadfly has joined #ruby
<apeiros_> that code is ugly as it is
kristofferR has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 245 seconds]
triple_b has joined #ruby
<shevy> hehehe
Troy^ has joined #ruby
<shevy> it's hard to understand
<aep> feel free to enlighten me
jlast has joined #ruby
<apeiros_> mqtt_present? returns true/false?
<aep> yes
apurcell has quit [Ping timeout: 244 seconds]
sevenseacat has quit [Remote host closed the connection]
techsethi has joined #ruby
krz has joined #ruby
cphrmky has joined #ruby
silkfox has joined #ruby
<apeiros_> I assume you have tests: https://gist.github.com/apeiros/3289cf3047b3ef9e58c1
livathinos has quit [Remote host closed the connection]
bronson has joined #ruby
livathinos has joined #ruby
juanpablo_ has joined #ruby
triple_b has quit [Ping timeout: 244 seconds]
<aep> ack on puttin the boolean logic on one line, but the uncached_ thing would blow up my code significantly
<aep> almost every function is cached
RDash has quit [Ping timeout: 276 seconds]
jimms has joined #ruby
<apeiros_> *shrug* it's your code
<aep> well i'm hoping for secrets :D
jlast has quit [Ping timeout: 245 seconds]
<apeiros_> the secret is splitting up logic into nameable parts and put that into methods
<aep> like maybe there's a way to wrap functions more generic
kl has joined #ruby
<aep> sure, but cache isnt logic. its more of an attribute. :/
Seth has joined #ruby
<apeiros_> well, the alive?/uncached_alive? can easily be generated.
Seth has quit [Remote host closed the connection]
bluOxigen has joined #ruby
EvanFreeman has joined #ruby
<apeiros_> cached_query :alive?, :ap_alive, do endpoint_for_ap && (alive_within?(60) || mqtt_present?) end
Seth has joined #ruby
<apeiros_> -,
<aep> yeah that looks better
<aep> so with a class_eval thing i guess?
JDiPierro has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
RDash has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Seth_ has joined #ruby
Seth has quit [Read error: Connection reset by peer]
juanpablo_ has quit [Ping timeout: 252 seconds]
Timgauthier is now known as timgauthier_away
<apeiros_> I'd use define_method. but you can use whatever works for you.
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JDiPierro has joined #ruby
<apeiros_> well, actually I'd probably use a combination of the two.
ak-uk has joined #ruby
JDiPierro has quit [Remote host closed the connection]
<aep> ah didnt know that one, thanks
JDiPierro has joined #ruby
Guest15 has joined #ruby
puppetmonkey has joined #ruby
<apeiros_> alternatively: cache def alive?; endpoint_for_ap && (alive_within?(60) || mqtt_present?) end
<aep> that looks sweet. how would that work?
IrishGringo has quit [Read error: Connection reset by peer]
<apeiros_> def alive? returns :alive?
timonv has quit [Quit: WeeChat 1.1.1]
blackmesa has joined #ruby
<apeiros_> alias it to uncached_alive?, generate a new alive? which calls it.
<apeiros_> and use alive? as cache key instead of ap_alive
<apeiros_> or some other generated name
<aep> sure
Seth_ has quit [Ping timeout: 240 seconds]
<ak-uk> Hi, I'm deploying rubycas-server on Centos 7 - quick start guide here: https://github.com/rubycas/rubycas-server/wiki/Quick-Start but when I run bundle exec I get errors https://gist.github.com/ak-uk/b99b38d5cfb477742a4f can anyone tell me what they mean? I'm new to ruby
yfeldblum has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sniperh4x0r has joined #ruby
Guest15 has quit [Max SendQ exceeded]
_mtr has joined #ruby
RDash has quit [Ping timeout: 246 seconds]
zacstewart has joined #ruby
freerobby has joined #ruby
paulfm has joined #ruby
timonv has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
zachrab has joined #ruby
sameerynho has quit [Quit: Leaving]
juanpablo_ has joined #ruby
_mtr has quit [Ping timeout: 244 seconds]
HOrangeJewce has joined #ruby
Tuxero has left #ruby [#ruby]
xcesariox has quit [Read error: No route to host]
Azulinho has joined #ruby
RDash has joined #ruby
HOrangeJewce has left #ruby [#ruby]
zachrab has quit [Ping timeout: 255 seconds]
sankaber has joined #ruby
<aep> apeiros_: hm i'm confused about define_method. apparantly inside define_method, other defined methods arent valid? https://gist.github.com/aep/d18ab6293d865a7aa61c
it0a has joined #ruby
p0wn3d_mhs has quit [*.net *.split]
St_Marx has quit [*.net *.split]
lightstalker has quit [*.net *.split]
selaruvicheck has joined #ruby
<aep> maybe because 'self' doesnt point where i expect it to
<apeiros_> aep: blocks preserve scope
hs366 has quit [Quit: Leaving]
<aep> yeah
<apeiros_> aep: so self there is Foo, not your instance of Foo
<aep> can i change the scope?
<aep> to the instance :/
<apeiros_> hm
greensoup has joined #ruby
<aep> maybe instance_exec does that
<apeiros_> odd
mdw has joined #ruby
<apeiros_> it should actually change
Takle has joined #ruby
<apeiros_> define_method acts like instance_eval
thumpba has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
<apeiros_> your use of &block + yield is odd
AFKGeek has quit [Ping timeout: 245 seconds]
thumpba has joined #ruby
<apeiros_> well, sorry, I'm atm a bit busy. I might take a look later
<aep> right, thanks
Seth has joined #ruby
selaruvich has quit [Ping timeout: 246 seconds]
thumpba has quit [Client Quit]
fryguy9 has joined #ruby
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<aep> yeah instance_exec fixes it
Aova has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
greensoup has quit [Ping timeout: 264 seconds]
RDash has quit [Changing host]
RDash has joined #ruby
arup_r has quit []
wallerdev has joined #ruby
thumpba_ has joined #ruby
harfangk has joined #ruby
zenith_ has joined #ruby
harfangk has quit [Client Quit]
blackmesa has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
Aova has joined #ruby
allcentury has joined #ruby
harfangk has joined #ruby
thumpba_ has quit [Remote host closed the connection]
thumpba has quit [Ping timeout: 264 seconds]
thumpba_ has joined #ruby
Takle has joined #ruby
kl has quit [Ping timeout: 264 seconds]
jonr22 has joined #ruby
wallerdev has quit [Ping timeout: 265 seconds]
Takle has quit [Remote host closed the connection]
zenith_ has quit [Ping timeout: 265 seconds]
markfletcher has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
kaspertidemann has joined #ruby
sambao21 has joined #ruby
jottr has joined #ruby
Azulinho has quit [Ping timeout: 264 seconds]
DaniG2k has quit [Ping timeout: 245 seconds]
thsig has joined #ruby
mdw has quit []
mdw has joined #ruby
thumpba has joined #ruby
tunaCanBruh has joined #ruby
Azulinho has joined #ruby
Channel6 has joined #ruby
aryaching has joined #ruby
tus has joined #ruby
thumpba_ has quit [Remote host closed the connection]
thsig has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
rx007 has joined #ruby
lzx has quit [Remote host closed the connection]
tylersmith has joined #ruby
nickjj has quit [Ping timeout: 246 seconds]
techsethi has quit [Quit: techsethi]
sinkensabe has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
kl has joined #ruby
sinkensabe has joined #ruby
Takle has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
livingstn has joined #ruby
ta has quit [Remote host closed the connection]
fantazo has quit [Quit: Verlassend]
tunaCanBruh has quit [Ping timeout: 252 seconds]
iamjarvo has joined #ruby
thumpba has quit [Remote host closed the connection]
<brahman> apeiros_: Hey, thanks for your help. I had to do a few modifications to the raw input before importing as YAML in the end.
tylersmith has quit [Ping timeout: 265 seconds]
lioninawhat has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 256 seconds]
thumpba has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
puppetmonkey has joined #ruby
jerius has joined #ruby
shellflu is now known as shellfood
kp666 has quit [Remote host closed the connection]
jlast has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
WillAmes has joined #ruby
_mtr has joined #ruby
thumpba_ has joined #ruby
<kl> Would you guys say that *everything* you make (whether application or library) should have all of their dependencies pegged in the Gemfile to major versions?
BAMbanda has joined #ruby
allen has joined #ruby
adriancb has joined #ruby
Mia has quit [Read error: Connection reset by peer]
<kl> I'm just trying to come up with a conclusion to my problems that have had me looking into dependency management/gemfiles/locking
nickjj has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
thumpba has quit [Ping timeout: 244 seconds]
IrishGringo has joined #ruby
plashchynski has joined #ruby
Azulinho has quit [Ping timeout: 256 seconds]
fenzil has joined #ruby
devdazed has joined #ruby
jlast has joined #ruby
greensoup has joined #ruby
mLF has quit [Remote host closed the connection]
ursooperduper has joined #ruby
mrmargolis has joined #ruby
<surs> I, I want to run 'powershell (new-object system.net.foo).bar("string")' out of a ruby script. puts cmd has the double quotes correct, when I run the ruby script though ps complains about the missing double quotes
<surs> I'm running system myCmd, where myCmd holds what is between the single quotes above
bronson has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
ki0 has joined #ruby
timonv has quit [Quit: WeeChat 1.1.1]
rx007 has quit [Quit: Leaving.]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
rx007 has joined #ruby
rx007 has quit [Max SendQ exceeded]
EvanFreeman has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 245 seconds]
rx007 has joined #ruby
rx007 has quit [Client Quit]
SolarSailor has joined #ruby
<surs> is it seriously not possible to pass a double quote containing command to powershell from ruby?
<apeiros_> does 'powershell (new-object system.net.foo).bar("string")' in the shell itself even work?
<apeiros_> I don't know how quoting/args work in windows, but in a *nix shell, that'd quite probably not work
timonv has joined #ruby
<apeiros_> I'd expect you having to do `powershell '(new-object system.net.foo).bar("string")'`
<surs> apeiros_: yes it does
<surs> well, without the 'powershell' obv
<apeiros_> well, that that was not what I asked
Ivision_ has joined #ruby
DaniG2k has joined #ruby
<surs> not following. (new-object system.net.foo).bar("string") does what it should
<apeiros_> you are invoking the powershell command in a shell which is obviously not the powershell.
shellfood is now known as shellfu
<apeiros_> and I ask you whether that invocation works there.
<surs> so "powershell" doesn't tell ruby to run it in ps?
tmtwd has joined #ruby
<surs> it works without the "powershell" because that's superfluous in a powershell
cphrmky has quit [Read error: Connection reset by peer]
sinkensabe has quit [Read error: Connection reset by peer]
<apeiros_> surs: …
<apeiros_> system() will execute a statement in your shell
greensoup has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
<apeiros_> if that statement can't be executed in the shell, then that's quite unrelated to ruby.
<surs> ok, so I can leave "powershell" out?
<waxjar> you're not executing in powershell, your executing in some standard shell
<waxjar> no idea what that is on windows, though
<surs> so I can't?
<apeiros_> surs: no, you have to write a valid shell command.
<surs> you guys are confusing me
Channel6 has quit [Quit: Leaving]
<apeiros_> um, no, you're confused about how shells work :-p
davedev24_ has joined #ruby
<surs> I have a valid shell command. If I take the puts output and paste it into a ps it works just fine
<surs> no, I'm not
tunaCanBruh has joined #ruby
<apeiros_> *not* in a powershell
Ivision has quit [Ping timeout: 246 seconds]
<apeiros_> in your *standard* shell
<surs> my shell command is fine, believe me. what isn't fine is that ruby swallows the quotes before passing it to ps
<apeiros_> *sob*
werelivinginthef has joined #ruby
<surs> no, you're not correct. the error I'm getting is clearly a powershell error message
<apeiros_> sorry, I don't have the time/patience to go through this. I hope waxjar can help you.
paulfm_ has joined #ruby
<surs> so it is going to powershell
davedev24_ has quit [Read error: Connection reset by peer]
<apeiros_> which tells us that `powershell` is a command known to your shell.
<apeiros_> and now you need to learn about how your *standard shell* passes arguments to commands.
davedev24_ has joined #ruby
<surs> ok, so everything is fine with the "powershell" bit
<apeiros_> and I bet it passes '(new-object' as the first argument
<ak-uk> Can anyone help me? I'm deploying rubycas-server on Centos 7 - quick start guide here: https://github.com/rubycas/rubycas-server/wiki/Quick-Start but when I run bundle exec I get errors https://gist.github.com/ak-uk/b99b38d5cfb477742a4f
banister has quit [Read error: Connection reset by peer]
<apeiros_> and I bet that powershell says that's bollocks.
<apeiros_> and I bet that you have to quote *the whole* argument you pass to ps.
allcentury has joined #ruby
<surs> that is the whole argument
Seth has quit [Remote host closed the connection]
<surs> and no, ps doesn't complain about "(new-object"
<apeiros_> but: I don't know the windows standard shell well, and I don't know powershell at all.
<waxjar> from the documentation for Kernel#system: "Executes command… in a subshell.", try to figure out which shell that is
<waxjar> and quote accordingly
<surs> it complains about "..).foo(string)" not having quotes around 'string'
last_staff has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 252 seconds]
<mozzarella> "it"
<mozzarella> powershell?
<surs> yes
joonty has quit [Quit: joonty]
<surs> I'm getting a powershell error message
mitchellhenke has joined #ruby
fryguy9 has quit [Quit: Leaving.]
paulfm has quit [Ping timeout: 264 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
lkba has joined #ruby
Kricir has joined #ruby
<mozzarella> show me the entire line
<mozzarella> of code
<surs> "unexpected token "string" at ..." it thinks string refers to a variable
momomomomo has joined #ruby
<surs> just a sec
puppetmonkey has joined #ruby
kamilc__ has joined #ruby
joonty has joined #ruby
<waxjar> you can try system(["powershell", "whatever"]) to not run it in a subshell
werelivinginthef has quit [Remote host closed the connection]
brahman has quit [Quit: Konversation terminated!]
<surs> mozzarella: http://pastebin.com/vW5ETJTx
<surs> waxjar: I'll give that a try right away
enterprisedc_ has quit [Quit: enterprisedc_]
mrmargolis has quit []
Lewix has joined #ruby
Lewix has joined #ruby
josephndenton has joined #ruby
cphrmky has joined #ruby
puppetmonkey has quit [Client Quit]
enterprisedc has joined #ruby
fryguy9 has joined #ruby
speakingcode has quit [Ping timeout: 264 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
LouisRoR has quit [Ping timeout: 246 seconds]
banister has joined #ruby
rudisimo has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
slap_stick has joined #ruby
<mozzarella> surs: you're overescaping your quotes, you don't even need to escape them because you're using '
Takle has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
<surs> mozzarella: that was just an experiment bc the quotes were disappearing
function90 has joined #ruby
<mozzarella> surs: what about you show me *real* code?
Vile` has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Takle has joined #ruby
qohelet_ has joined #ruby
aryaching_ has joined #ruby
mitchellhenke has joined #ruby
function_ has quit [Ping timeout: 264 seconds]
d10n-work has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danzilio has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
aryaching has quit [Ping timeout: 246 seconds]
Aova has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
OrbitalKitten has joined #ruby
Lewix has quit []
Vile` has joined #ruby
qohelet_ has quit [Client Quit]
bMalum has joined #ruby
IrishGringo has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jenrzzz has quit [Ping timeout: 250 seconds]
dagda1_ has quit [Ping timeout: 250 seconds]
tunaCanBruh has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby
axl_ has joined #ruby
<surs> mozzarella: I've just played around with the quoting. '"bla"', '\"bla\"', '\\"bla\\"', etc. that is the "real" code
aryaching_ has quit []
dagda1 has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
Seth has joined #ruby
sinkensabe has joined #ruby
aryaching has joined #ruby
pygospa has quit [Ping timeout: 245 seconds]
perturbation has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
rudisimo has quit [Read error: Connection reset by peer]
rudisimo has joined #ruby
Seth has quit [Remote host closed the connection]
selaruvicheck has quit [Ping timeout: 250 seconds]
rudisimo has quit [Client Quit]
<apeiros_> surs: try system('dir some"thing"bar'). maybe the complaint is not from powershell but from your powerlessshell
tagrudev has quit [Remote host closed the connection]
jottr has joined #ruby
greensoup has joined #ruby
hamakn has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
pygospa has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
joonty has quit [Quit: joonty]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
mikepack has joined #ruby
oo_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
<sniperh4x0r> anyone know how to solve this rails s error? http://hastebin.com/vehinuteru.vhdl
jobewan has joined #ruby
<canton7> silly question, but did you read the link it gave you?
cphrmky has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tiwillia has quit [Remote host closed the connection]
snath has quit [Ping timeout: 256 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<momomomomo> canton7: not a silly question - often times people don’t
selaruvich has joined #ruby
sambao21 has joined #ruby
<canton7> I was being gentle. I'm willing to bet serious money he hasn't read it :P
dfinninger has joined #ruby
momomomomo has quit [Quit: momomomomo]
sniperh4x0r has left #ruby [#ruby]
Timba-as has quit [Quit: Lingo: www.lingoirc.com]
sigurding has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
fmcgeough has joined #ruby
cpt_yossarian has joined #ruby
plashchynski has quit [Quit: plashchynski]
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> hehe
aryaching has joined #ruby
Guest87847 has joined #ruby
speaking2ode is now known as speakingcode
yfeldblum has joined #ruby
joonty has joined #ruby
<ddv> what am I going to eat tonight, shevy?
<shevy> dunno
<shevy> I am eating some tortellini with cheese thingies
<shevy> but only because it is snowing and I hate to buy food while it snows :(
puppetmonkey has joined #ruby
roshanavand has joined #ruby
werelivinginthef has joined #ruby
teddyp1cker has quit [Ping timeout: 256 seconds]
jimms has quit [Remote host closed the connection]
bdamos has joined #ruby
jottr has joined #ruby
Seth has joined #ruby
bMalum has quit [Quit: bMalum]
<ddv> shevy: ok
bMalum has joined #ruby
enebo has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
hmsimha has joined #ruby
bMalum has quit [Client Quit]
einarj has joined #ruby
zachrab has joined #ruby
<AlexRussia> hey
crueber has joined #ruby
ursooperduper has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
<AlexRussia> why this tell me file.rb:23:in `<main>': {:user_id=>"152249947", :message=>"test msg"} is not a symbol nor a string (TypeError)
ursooperduper has quit [Client Quit]
<AlexRussia> ?
Takle has quit [Remote host closed the connection]
EvanFreeman has joined #ruby
<apeiros_> probably because send there is Object#send which expects the method name as first arg
<AlexRussia> oh
<ddv> yep
<AlexRussia> sounds like crap
<AlexRussia> I mean, like nothing good :)
plashchynski has joined #ruby
<ddv> apeiros_ answer sounds like crap?
zachrab has quit [Ping timeout: 245 seconds]
<ddv> :)
rippa has joined #ruby
<AlexRussia> ddv: no, #send as Object method instead of calling #vk_call
rubytor has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tmtwd has joined #ruby
tkuchiki has joined #ruby
<AlexRussia> ddv: thanks, I'll use #vk_call instead later :)
DadoCe has joined #ruby
<AlexRussia> apeiros_: thanks :)
krz has quit [Ping timeout: 264 seconds]
kaspertidemann has quit []
sinkensabe has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
bal has quit [Quit: bal]
mitchellhenke has joined #ruby
tjohnson has joined #ruby
lampd1 has quit []
tkuchiki has quit [Ping timeout: 245 seconds]
mitchellhenke has quit [Client Quit]
DadoCe has quit [Ping timeout: 256 seconds]
lmickh has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
greensoup has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
apeiros_ has quit [Remote host closed the connection]
BAMbanda has quit [Ping timeout: 246 seconds]
allen has quit [Ping timeout: 245 seconds]
mitchellhenke has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
davispuh has joined #ruby
riotjones has quit [Remote host closed the connection]
kamilc__ has left #ruby ["Linkinus - http://linkinus.com"]
The_Phoenix has joined #ruby
livathin_ has joined #ruby
himsin has joined #ruby
zachrab has joined #ruby
apeiros_ has quit [Ping timeout: 250 seconds]
livathinos has quit [Ping timeout: 244 seconds]
jgt has quit [Ping timeout: 256 seconds]
livathin_ has quit [Ping timeout: 255 seconds]
DouweM has joined #ruby
plashchynski has quit [Quit: plashchynski]
plashchynski has joined #ruby
grzywacz has quit [Ping timeout: 246 seconds]
Aova has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby
Morkel has joined #ruby
devdazed has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
<ak-uk> exit
tercenya has quit []
devdazed has joined #ruby
<waxjar> try /quit ;)
ak-uk has quit []
tylersmith has joined #ruby
jenrzzz has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 244 seconds]
allen has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
bronson has joined #ruby
Aova has joined #ruby
greensoup has joined #ruby
wallerdev has joined #ruby
davedev24_ has joined #ruby
arup_r has joined #ruby
fafa_ has joined #ruby
kirun has joined #ruby
zachrab has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 264 seconds]
zachrab has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
robustus has quit [Ping timeout: 255 seconds]
BAMbanda has joined #ruby
Morkel has quit [Quit: Morkel]
rylev has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
terlar has quit [Ping timeout: 252 seconds]
wallerdev has quit [Ping timeout: 252 seconds]
lyuben_ has quit [Quit: This computer has gone to sleep]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
Macaveli has joined #ruby
Macaveli has quit [Remote host closed the connection]
terlar has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
bootstrappm has joined #ruby
bootstrappm has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
<shevy> class Foo(a, b)
perturbation has quit [Quit: Leaving]
<arup_r> means ?
<canton7> invalid syntax there
<shevy> syntax error, unexpected '\n', expecting :: or '[' or '.'
<arup_r> that's a typo
tiwillia has joined #ruby
<arup_r> fixed
<shevy> arup_r sure you can do that
lessless has quit [Ping timeout: 245 seconds]
<arup_r> shevy: how?
<shevy> you just have to change the behaviour of the object to what you desire
<arup_r> I am not able to figure that ount///
<shevy> first off you need to make the arguments not mandatory
<shevy> def initialize(a , b)
<shevy> means they are mandatory
<shevy> so you must add default arguments there
<arup_r> I want delay the Foo object creation unless it is getting all its argument
<shevy> well
<shevy> you use Foo.new
uptownhr has joined #ruby
<shevy> so you create an object anyway right?
* canton7 would create a FooFactory, which has an add_argument() method or similar, which can return a Foo or a new FooFactory
<shevy> you could use a method called: Foo.create()
<arup_r> No.. I need exactly the way Proc#curry works
jerius_ has joined #ruby
<shevy> not sure you can modify #new
<fafa_> i agree, something like Foo.create might be better
<fafa_> for your needs
mdw has quit [Ping timeout: 246 seconds]
snath has joined #ruby
jerius has quit [Ping timeout: 250 seconds]
mdw has joined #ruby
Macaveli has joined #ruby
godemper2r has quit [Ping timeout: 245 seconds]
godemper2r has joined #ruby
zacstewart has quit [Remote host closed the connection]
zacstewart has joined #ruby
timonv has quit [Quit: WeeChat 1.1.1]
Hobogrammer has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<gregf__> arup_r: you can use a builder for that. dunno what lazily means tho'
godemper2r has quit [Ping timeout: 265 seconds]
godemperor has joined #ruby
terlar has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
<arup_r> >> class Foo; def initialize(a, b); @a = a; @b = b; end; end; foo = Foo.method(:new).curry(2); p foo.inspec; p foo.(3)
<eval-in__> arup_r => undefined method `inspec' for #<Proc:0x413b7cfc (lambda)> (NoMethodError) ... (https://eval.in/281761)
<arup_r> >> class Foo; def initialize(a, b); @a = a; @b = b; end; end; foo = Foo.method(:new).curry(2); p foo.inspect; p foo.(3)
<eval-in__> arup_r => "#<Proc:0x4136bd34 (lambda)>" ... (https://eval.in/281762)
<arup_r> It is possible 2.2.0
<arup_r> but not below.. :(
chrishough has joined #ruby
timonv has joined #ruby
<arup_r> >> class Foo; def initialize(a, b); @a = a; @b = b; end; end; foo = Foo.method(:new).curry(2); p foo.(3)
<eval-in__> arup_r => #<Proc:0x41bc3d24 (lambda)> ... (https://eval.in/281763)
CustosL1men has quit [Ping timeout: 244 seconds]
odin22 has joined #ruby
joonty has quit [Quit: joonty]
<arup_r> But it is not giving.. instance of `Foo`.. rather `Proc`...
hamakn has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
<gregf__> ah well, currying
alex88 has quit []
<arup_r> gregf___: is it called builder pattern ?
<gregf__> yep
Azulinho has joined #ruby
<gregf__> i use it for tests(java tho' ). but you can use ot anywhere
<gregf__> s/ot/it/
<workmad3> arup_r: hmm... interesting... how do you curry a method with *args?
Takle has quit [Remote host closed the connection]
<workmad3> arup_r: because that's what Class#new has...
<arup_r> cool.. thanks for giving an example of that patterns.. I'm crying since last 2 weeks for Ruby examples of GoF patterns.. as Internet has not much with Ruby code..
allcentury has quit [Ping timeout: 252 seconds]
nb_bez___ has joined #ruby
apeiros_ has joined #ruby
livathinos has joined #ruby
ponga has quit [Quit: Leaving...]
triple_b has joined #ruby
greensoup has quit [Ping timeout: 246 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
pontiki has joined #ruby
joonty has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
puppetmonkey has joined #ruby
baroquebobcat has joined #ruby
<pontiki> how is rubby made?
troyready has quit [Ping timeout: 255 seconds]
<kalleth> how is rubby formed
<arup_r> workmad3: Didn't get you
<apeiros_> nobody understand rubby!
<arup_r> gregf___: why did you make #new private? reasoning please :)
max96at is now known as max96at|off
<gregf__> arup_r: i just felt like making it private ;)
<arup_r> I found someone using patterns in Ruby... Please tell it.. Let me take this opportunity seriously..
AdNauseaum|tWork has joined #ruby
terlar has joined #ruby
<arup_r> Aww! :-)
<arup_r> I'm changing your code with your permission... :)
<gregf__> arup_r: GoF patterns are not something you 'should' use. as your code evolves you feel your code needs to be dynamic and hence unknowingly you end up implementing a design pattern
AdNauseaum|tWork is now known as AdNauseaum
ptrrr has joined #ruby
Timgauthier has joined #ruby
<arup_r> read your line... but it went above my head...
harfangk has quit [Quit: 전 이만 갑니다.]
Timgauthier is now known as timgauthier_away
<arup_r> shevy: Are you breaking your IRB ?
<arup_r> :)
<gregf__> ask a PHP guy and the'll tell you they;ve mastered a rubbish pattern called 'servicelocator'
timgauthier_away is now known as Timgauthier
<gregf__> and feel great about it ;) *cough*
Timgauthier is now known as timgauthier_away
timgauthier_away is now known as Timgauthier
allen has quit [Quit: Lost terminal]
BAMbanda has quit [Quit: Lost terminal]
<pontiki> patterns are quite abstract. they're descriptions, mainly, of something you can recognize in code *after* the fact, mostly
<pontiki> mainly, mostly, mostly, mainly
jimms has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tus has quit [Ping timeout: 256 seconds]
mdw has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
Megtastique has joined #ruby
spider-mario has joined #ruby
tus has joined #ruby
<gregf__> pontiki: true that
joonty has quit [Quit: joonty]
bjornar has quit [Ping timeout: 264 seconds]
peterhu has quit [Quit: kernel update]
<shevy> arup_r nah, right now I am trying to find a stupid bug in a program
shazaum has joined #ruby
greensoup has joined #ruby
DonOtreply has joined #ruby
Kruppe has quit [Ping timeout: 255 seconds]
GaryOak_ has joined #ruby
Guest87847 has quit [Quit: Leaving]
jgt has joined #ruby
GaryOak_ has quit [Client Quit]
shazaum has joined #ruby
shazaum has quit [Changing host]
jerius_ has quit []
Kruppe has joined #ruby
troyready has joined #ruby
peterhu has joined #ruby
Zai00 has quit [Quit: Zai00]
timonv has quit [Ping timeout: 255 seconds]
max96at|off is now known as max96at
tylersmith has joined #ruby
Megtastique has quit []
thumpba_ has quit [Remote host closed the connection]
Takle has joined #ruby
greensoup has quit [Ping timeout: 264 seconds]
<arup_r> gregf___: Modifed version https://gist.github.com/aruprakshit/96d56f4d3080f215542b But still looking for the way I was looking for
livathinos has quit [Remote host closed the connection]
<arup_r> shevy: who created the bug in your code
<arup_r> ?
graydot has joined #ruby
jgt has quit [Ping timeout: 256 seconds]
bMalum has joined #ruby
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
terlar has quit [Ping timeout: 250 seconds]
tvw has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
bricker has joined #ruby
tylersmith has quit [Ping timeout: 255 seconds]
jlast has quit [Remote host closed the connection]
<shevy> I did
jlast has joined #ruby
<shevy> but I was rewriting old ruby code
zacstewart has quit [Remote host closed the connection]
<shevy> I finally fixed it
<shevy> phew ...
Xiti has quit [Quit: Xiti]
Aova has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
atomical has quit [Ping timeout: 245 seconds]
atomical has joined #ruby
Gai_Flasko has joined #ruby
psy_ has quit [Ping timeout: 252 seconds]
Hijiri has quit [Ping timeout: 252 seconds]
_mynameis has joined #ruby
sambao21 has joined #ruby
<shevy> needed to have the base work fine so that I can add the compile-scripts I wrote years ago work again
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidhq has joined #ruby
Seth has quit [Remote host closed the connection]
<shevy> then I can do "compile 3ddesktop" and it'll compile that. or I do "ue http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/libgnome-2.32.1.tar.bz2" and it will register that as the latest, download, extract, compile etc...
workmad3 has quit [Ping timeout: 250 seconds]
GaryOak_ has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
apurcell has joined #ruby
aclearman037 has joined #ruby
nrsk has joined #ruby
Aova has joined #ruby
<Gai_Flasko> I have a very strange problem with my code
<Gai_Flasko> in one case, returns nil
<Gai_Flasko> and the second one boolean
<Gai_Flasko> how come .eql? returns me a nil
JimmyNeutron has quit [Read error: Connection reset by peer]
deol has joined #ruby
msgodf has quit [Remote host closed the connection]
<shevy> Chef::Log.info(map1[:flasko].strip!
<shevy> are you sure you want .strip! there
<Gai_Flasko> as I said, without the strip it doesn't works
<Gai_Flasko> returns nil
<Gai_Flasko> I have no damn idea why
netuoso has joined #ruby
thiagovsk has joined #ruby
netuoso is now known as Guest95061
hesco has joined #ruby
Guest95061 has quit [Client Quit]
greensoup has joined #ruby
apurcell has quit [Ping timeout: 245 seconds]
apurcell has joined #ruby
mdw has joined #ruby
danjordan has quit [Quit: danjordan]
ghostpl has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
<arup_r> gregf___: Thanks for the trick
<gregf__> Gai_Flasko: when you read from a file you get newlines which you need to remove
DaniG2k has quit [Quit: leaving]
<Gai_Flasko> I would have understood if it returned false, it returns nil
<Gai_Flasko> why ????
pietr0 has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
<canton7> Gai_Flasko, you know that strip! will often return nil?
<Gai_Flasko> with the strip! it works, without it I get nil
Gmind has joined #ruby
Timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
<canton7> with strip!, you'll often be giving it nil
<Gmind> seem like chingu is no longer maintained :/
puppetmonkey has quit [Quit: puppetmonkey]
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<Gai_Flasko> once again, as my comments in the code describes, without the strip!, eql? returns me a nil
<Gai_Flasko> With the strip!, it works fine (returns bool)
zenith_ has joined #ruby
<canton7> Gai_Flasko, and, once again, you probably want 'strip' not 'strip!'
<canton7> Gai_Flasko, if the file does not contain whitespace at the beginning or end, that comparison is gonna fail again
<Gai_Flasko> canton7, dude, fail is ok
<Gai_Flasko> I care about it
<Gai_Flasko> I Care about the thing that eqls? returns a NIL
<canton7> I'm really not getting through to you, am I? :S
<Gai_Flasko> nope
<canton7> do you know the difference between strip and strip!
mikecmpbll has quit [Quit: ciao.]
<Gai_Flasko> I don't know why it works with strip! !!!!!
mistermocha has joined #ruby
<canton7> does your file contain whitespace?
<canton7> hint: yes it does
<Gai_Flasko> canton7, fine
<canton7> ...like a newline at the end
soulcake has quit [Quit: Quack.]
<Gai_Flasko> and once again
<Gai_Flasko> and this time I won't be polite
<Gai_Flasko> please read the piece of the code I've pasted
<canton7> I'm looking at it right now
<Gai_Flasko> thank you.
soulcake has joined #ruby
krz has joined #ruby
JimmyNeutron has joined #ruby
leat has quit [Remote host closed the connection]
allcentury has joined #ruby
leat has joined #ruby
<canton7> String#eql? should not return nil, anyway. Not sure what you're seeing, but I'd try and reproduce without Chef::Log
jenrzzz has joined #ruby
kalusn has quit [Remote host closed the connection]
<Gai_Flasko> canton7, thanks :)
<canton7> now... do you understand why you should be using strip not strip! ? :)
<Gai_Flasko> It's hard for me not answering in a cynical way :(
<Gai_Flasko> I understand what you're trying to say
<Gai_Flasko> but it doesn't matter to this issue
<canton7> no, but it will bite you
<Gai_Flasko> you're right
<canton7> once your fix this issue, it'll probably become your next issue
<canton7> which is why we're being helpful and bringing it up now :)
yfeldblum has joined #ruby
<canton7> so try being thankful, not cynical
<Gai_Flasko> hard sometimes when you want to go home after a long work day and you're stuck on some small crappy issue
<canton7> not shouting helps ;)
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
sigurding has quit [Quit: sigurding]
alex88 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
greensoup has quit [Ping timeout: 245 seconds]
bMalum has quit [Quit: bMalum]
greenarrow has quit [Quit: 500]
jimms has quit [Read error: No route to host]
jimms has joined #ruby
jefus_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
rbennacer has joined #ruby
IrishGringo has joined #ruby
sambao21 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
Choclo has joined #ruby
teddyp1cker has joined #ruby
jerius has joined #ruby
jefus has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
sinkensabe has joined #ruby
jgt has joined #ruby
mdw has quit [Ping timeout: 252 seconds]
slap_stick has quit [Quit: This computer has gone to sleep]
davispuh has quit [Remote host closed the connection]
Gmind has quit [Quit: Leaving.]
teddyp1cker has quit [Ping timeout: 245 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shellfu> Hey all. I have been trying to figure this out over the weekend, and my flu infected brain cannot see what is wrong. http://pastebin.com/nAbeTPpd I have a method that iterates over a nested hash, and im trying to replace values from one hash into another.
<shellfu> Not understanding wtf is the difference in what im doing in IRB vs my method
teddyp1cker has joined #ruby
tercenya has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
davispuh has joined #ruby
jgt has quit [Ping timeout: 252 seconds]
larissa has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
puppetmonkey has joined #ruby
thebastl has joined #ruby
dmolina has quit [Ping timeout: 245 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
Takle has joined #ruby
psy_ has joined #ruby
rbennacer has joined #ruby
jgt has joined #ruby
terlar has joined #ruby
Takle has quit [Remote host closed the connection]
<shellfu> Any help would be appreciated, and I would be willing to drop some beer money in someones paypal :)
DogHackit has quit [Quit: Konversation terminated!]
zacstewart has joined #ruby
zachrab has joined #ruby
larissa has joined #ruby
<apeiros_> shellfu: so if v.is_a?(Hash); … else -> what can v be other than a hash? I'd say a string, right?
jgt has quit [Ping timeout: 256 seconds]
<shellfu> yes sir.
<apeiros_> ok, I see, you indeed intend to use String#[]=
Hobogrammer has quit [Ping timeout: 250 seconds]
<apeiros_> but you get an exception for strings which do not contain the value
jottr has quit [Ping timeout: 256 seconds]
triple_b_ has joined #ruby
<apeiros_> e.g. "node001a" - does not contain %{::kernel} and does not contain %{::kernelversion}, so for that value it fails
<apeiros_> shellfu: also there's no null in ruby :-p
<shellfu> yeah that comes from mongo
momomomomo has quit [Quit: momomomomo]
paradoja has quit [Ping timeout: 250 seconds]
ghostmoth has joined #ruby
jottr has joined #ruby
<shellfu> I was thinking about possibly using something like if v =~ /(?<=\{)(.*?)(?=\})/) to not match, but im not seeing how to capture both kernel and kernelversion
<shellfu> im only replacing the first entry. My original iterate method ill pastebin
apurcell has joined #ruby
fenzil has quit [Ping timeout: 244 seconds]
kl has quit [Ping timeout: 256 seconds]
JDiPierro has quit [Remote host closed the connection]
rylev has quit [Remote host closed the connection]
<apeiros_> shellfu: do everbody a favor and use gist instead of pastebin
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adam____ has joined #ruby
triple_b has quit [Ping timeout: 264 seconds]
adam____ has left #ruby [#ruby]
<shellfu> heh np. just used pastebin for years. Ill move it to gist
IrishGringo has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
fabrice31 has joined #ruby
kirun has quit [Quit: Client exiting]
Jetchisel has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
checkit has joined #ruby
graft has quit [Ping timeout: 245 seconds]
larissa has quit [Ping timeout: 244 seconds]
<shellfu> includes the working iterate method which half does what I need, but not quite. It replaces first value not any matching.
<shellfu> I am trying to muck aorund with scan and gsub, but havent figured it out just yet.
chrishough has joined #ruby
larissa has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
riotjones has quit [Remote host closed the connection]
elabs-developer has quit [Quit: elabs-developer]
Axy has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
koding123 has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
rubytor has quit [Ping timeout: 250 seconds]
<shellfu> Also. Bear in mind. I am in the smaller office.
OrbitalKitten has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
* shellfu tells bad jokes
ghr has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<wallerdev> morning1!
Gai_Flasko has quit [Quit: Leaving]
bricker has quit [Read error: Connection reset by peer]
jimms has quit [Read error: No route to host]
bricker has joined #ruby
jimms has joined #ruby
<koding123> hello
mattp_ has joined #ruby
Aova has joined #ruby
larissa has quit [Ping timeout: 245 seconds]
JDiPierro has joined #ruby
tunaCanBruh has quit [Ping timeout: 264 seconds]
mattp__ has quit [Read error: Connection reset by peer]
reinaldob has quit [Remote host closed the connection]
larissa has joined #ruby
larissa is now known as Guest8020
bricker has quit [Client Quit]
greensoup has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
teddyp1cker has quit []
lolmaus has quit [Quit: Konversation terminated!]
main has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
rubytor has joined #ruby
wottam has joined #ruby
zacstewart has quit [Remote host closed the connection]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has quit [Remote host closed the connection]
<GaryOak_> another monday
davispuh has quit [Remote host closed the connection]
fedalto has joined #ruby
Choclo is now known as Choclo[Away]
bMalum has joined #ruby
elfuego has joined #ruby
djbkd has joined #ruby
<elfuego> is jruby known to get file permission issues when ran on windows? I keep getting these errors when appending to a file on a windows machine.
bricker has joined #ruby
davispuh has joined #ruby
squar1sm has joined #ruby
chrishough has joined #ruby
dumdedum has quit [Quit: foo]
Spami has quit [Quit: This computer has gone to sleep]
roshanavand1 has joined #ruby
leafybasil has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 244 seconds]
startupality has quit [Quit: startupality]
jenrzzz has quit [Ping timeout: 245 seconds]
einarj has joined #ruby
rubytor has quit [Ping timeout: 246 seconds]
Ivision_ has quit [Ping timeout: 246 seconds]
iliketurtles has quit [Quit: zzzzz…..]
iwishiwerearobot has quit [Ping timeout: 245 seconds]
iwishiwerearobot has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r> gregf___: There ?
ghr has joined #ruby
havenwood has joined #ruby
Choclo[Away] is now known as Choclo
sambao21 has quit [Quit: Computer has gone to sleep.]
tier has joined #ruby
sambao21 has joined #ruby
SOLDIERz_ has joined #ruby
rylev has joined #ruby
plashchynski has quit [Quit: plashchynski]
plashchynski has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
dzho is now known as joebio
marblebear has joined #ruby
IrishGringo has joined #ruby
kalusn has joined #ruby
joebio has quit [Quit: leaving]
ki0 has quit []
rdark has quit [Quit: leaving]
framling has joined #ruby
zacstewart has joined #ruby
marblebear has left #ruby [#ruby]
lyuben_ has joined #ruby
zachrab has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
jottr_ has joined #ruby
tunaCanBruh has joined #ruby
Azulinho has quit [Read error: Connection reset by peer]
jgt has joined #ruby
jenrzzz has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
kirun has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fedalto has quit [Ping timeout: 255 seconds]
zenith_ has quit [Read error: Connection reset by peer]
jgt has quit [Ping timeout: 265 seconds]
zenith_ has joined #ruby
workmad3 has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
baweaver has joined #ruby
jerius has quit []
rylev has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
fedalto has joined #ruby
ismael_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
LBRapid has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
TDJACR has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
davispuh has quit [Remote host closed the connection]
LBRapid has joined #ruby
IrishGringo has joined #ruby
Seich has quit [Ping timeout: 245 seconds]
thebastl has quit [Remote host closed the connection]
alyosha has joined #ruby
jerius has joined #ruby
thebastl has joined #ruby
Seich has joined #ruby
davispuh has joined #ruby
framling has quit [Read error: Connection reset by peer]
greensoup has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
framling has joined #ruby
leafybasil has joined #ruby
fenzil has joined #ruby
riotjones has joined #ruby
baweaver has quit [Remote host closed the connection]
symbol has joined #ruby
djbkd has joined #ruby
swgillespie has joined #ruby
greensoup has joined #ruby
shadoi has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
lessless has joined #ruby
lioninawhat has joined #ruby
reinaldob has joined #ruby
zenith_ has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 250 seconds]
framling has quit [Quit: my pet iguana died :(]
psyprus has quit [Ping timeout: 245 seconds]
jrdnull has quit [Ping timeout: 245 seconds]
chinmay_dd has quit [Quit: Connection closed for inactivity]
<arup_r> time to go to sleep
<shevy> bye arup_r
psyprus has joined #ruby
Curs0r_ has left #ruby ["Leaving"]
<arup_r> shevy: time there ?
<quazimodo> hullo
<quazimodo> arup_r: hay hay
<quazimodo> CGI::HTML5 <- useful
<arup_r> yes yes
<quazimodo> now i need to find a way to escape/sanitise things
<arup_r> Congratulation
<arup_r> CGI has those methods
Aova has joined #ruby
<arup_r> scroll below :p
Megtastique has joined #ruby
thebastl has quit [Remote host closed the connection]
DonOtreply has quit [Ping timeout: 245 seconds]
kl has joined #ruby
symbol_ has joined #ruby
DonOtreply has joined #ruby
TDJACR has joined #ruby
<quazimodo> lol
ineb has joined #ruby
roshanavand1 has quit [Ping timeout: 245 seconds]
<arup_r> I mean any example..
<shevy> arup_r 20:22
g-nom3 has joined #ruby
<arup_r> how did you work out? quazimodo :
<arup_r> shevy: ok
bMalum has quit [Quit: bMalum]
blackmesa has joined #ruby
symbol has quit [Ping timeout: 240 seconds]
dfinninger has joined #ruby
<arup_r> Ohh! your eyes koding123 :
zachrab has joined #ruby
<ineb> i found code in a documentation like this: https://gist.github.com/anonymous/fcbe6ef7916a879fa70f , now i have the contents of 'object' located in a file. how should i open my file to pass it to the parse method?
davedev2_ has joined #ruby
gccostabr has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
<quazimodo> arup_r: how did i work what out?
<arup_r> quazimodo: Gist of your code.. wanna to see
<quazimodo> CGI::Util has escapeHtml
<quazimodo> arup_r: i was asleep, i just woke up :)
<koding123> arup_r, ?
<arup_r> ohkay
tunaCanBruh has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 250 seconds]
<arup_r> O.0 <~~~
<koding123> oh
davedev2_ has quit [Read error: Connection reset by peer]
<arup_r> O.o <~~~
davedev24_ has joined #ruby
<quazimodo> beep boop
* arup_r got stuck into IRC again....
<arup_r> quazimodo: code?
<arup_r> gist
tunaCanBruh has joined #ruby
kaspertidemann has joined #ruby
zenith_ has joined #ruby
plashchynski has quit [Quit: plashchynski]
Hijiri has joined #ruby
<quazimodo> arup_r: no code!
TDJACR has quit [Ping timeout: 245 seconds]
<quazimodo> i was asleep till now!
<quazimodo> haha
<arup_r> lol
tylersmi- has quit [Ping timeout: 245 seconds]
davedev24_ has quit [Ping timeout: 245 seconds]
rodfersou has quit [Read error: Connection reset by peer]
Seich has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
graft has joined #ruby
graft has joined #ruby
rodfersou has joined #ruby
jefus__ has joined #ruby
hyperdrive has quit [Changing host]
hyperdrive has joined #ruby
hyperdrive is now known as hdrv
<ineb> ok i solved my problem above: file = File.open(item, "rb"); data = NagiosParser::Object::Parser.parse(file.read)
thebastl has joined #ruby
kl has quit [Ping timeout: 265 seconds]
Seich has joined #ruby
tcrypt has joined #ruby
TDJACR has joined #ruby
baroquebobcat has joined #ruby
triple_b_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
lolmaus has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jefus_ has quit [Ping timeout: 255 seconds]
sambao21 has joined #ruby
g-nom3 has left #ruby [#ruby]
porfa has joined #ruby
zyxelthrone has joined #ruby
<porfa> so… i0ve been asking all this sorts of crap related to ruby and i haven’t noticed i was in the freenodechannel… that didn’t go well..!
<porfa> ok.. what can i use to make ruby submit for me= i want to fetch some data/scrape from my backoffice, but before i have access to it, i need to login...
<porfa> what’s ther best gem for this?
jefus__ has quit [Ping timeout: 245 seconds]
vdamewood has joined #ruby
jefus__ has joined #ruby
Seich has quit [Ping timeout: 245 seconds]
TDJACR has quit [Ping timeout: 245 seconds]
triple_b has joined #ruby
jefus__ has quit [Max SendQ exceeded]
jefus__ has joined #ruby
bronson has joined #ruby
Seich has joined #ruby
SomeDude has joined #ruby
lioninawhat has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
__main__ has quit [Read error: Connection reset by peer]
VBlizzard is now known as blizzy
shum has joined #ruby
sinkensabe has joined #ruby
dzho has joined #ruby
_main_ has joined #ruby
Lingo___ has joined #ruby
alex88 has quit []
triple_b has quit [Ping timeout: 246 seconds]
zenith___ has joined #ruby
rikai has quit [Ping timeout: 245 seconds]
xavier_ has joined #ruby
[gmi] has joined #ruby
zenith_ has quit [Ping timeout: 250 seconds]
BillSussman has joined #ruby
jrdnull has joined #ruby
<xavier_> jews are behind ruby
danjordan has joined #ruby
<havenwood> apeiros: ^
bronson has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
baweaver has joined #ruby
sinkensabe has quit [Remote host closed the connection]
rylev has joined #ruby
TDJACR has joined #ruby
ghr has joined #ruby
<apeiros> I am confused - are you trying to diss jews? because I'd consider the statement a praise…
<apeiros> I mean I'd want to be behind ruby…
cphrmky has joined #ruby
<apeiros> meh
<xavier_> cant trust it
xavier_ was kicked from #ruby by apeiros [antisemitism isn't welcome here]
<havenwood> apeiros: indeed :)
xavier_ has joined #ruby
<xavier_> ok ok
yfeldblum has joined #ruby
Takle has joined #ruby
_main_ is now known as __main__
zachrab has quit [Remote host closed the connection]
momomomomo has joined #ruby
zachrab has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
* wasamasa wonders whether xavier_ is an alternative identity of unknown_
<wasamasa> ^ some guy who appeared on #emacs yesterday to do paranoia-trolling barely related to the channel
<apeiros> did unknown_ troll previously today? at least I can't remember the nick, and I usually remember trolls…
dfinninger has quit [Remote host closed the connection]
<apeiros> ah
<xavier_> whats an emac
<eam> I mean, the first statement is unequivocally true, it's the unwarranted negative connotation that's inappropriate
<havenwood> ineb: Using the non-block version of File::open leaves the file open, so you'd have to call `file.close` explicitly to close it. Maybe consider using `File.read`, which will read the file contents and close it in one: http://www.ruby-doc.org/core-2.2.0/IO.html#method-c-read
<xavier_> yes but you assumed the negative connotation
<xavier_> it is you who is anti semetic
<wasamasa> ok, kiwf
baweaver has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
<apeiros> thought so
xavier_ was kicked from #ruby by apeiros [good bye]
<apeiros> kiwf? kill it with fire?
<wasamasa> http://ix.io/gfn
<wasamasa> yeah
<apeiros> kiwk!
<ineb> havenwood: oke
Lingo___ has quit [Read error: Connection reset by peer]
zachrab has quit [Ping timeout: 264 seconds]
dfinninger has joined #ruby
KnownSyntax has quit [Quit: Connection closed for inactivity]
Lingo___ has joined #ruby
SomeDude has quit [Quit: Page closed]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
n1lo has quit [Quit: Leaving]
Jetchisel has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
droidburgundy has joined #ruby
fabrice31 has joined #ruby
allcentury has joined #ruby
havenwood has quit [Remote host closed the connection]
livingstn has quit [Ping timeout: 245 seconds]
fantazo has joined #ruby
DonOtreply has quit [Ping timeout: 245 seconds]
JBreit has joined #ruby
DonOtreply_ has joined #ruby
jerius has quit []
paulfm_ has quit [Quit: Zzzzz...]
rikai has joined #ruby
wallerdev has quit [Quit: wallerdev]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_mynameis has quit [Quit: Leaving]
jerematic has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 265 seconds]
livingstn has joined #ruby
skj3gg has joined #ruby
<koding123> apeiros, kiwk == kill it with kick // ?
rodfersou has quit [Quit: leaving]
tunaCanBruh has quit [Ping timeout: 246 seconds]
kl has joined #ruby
jerematic has joined #ruby
<apeiros> koding123: kill it with kindness
<koding123> ok :)
<apeiros> obviously I'm bad at that, so I just use kickban.
grzywacz has joined #ruby
grzywacz has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
<eam> ¯\_(ツ)_/¯
shazaum has quit [Quit: This computer has gone to sleep]
baweaver has joined #ruby
JBreit has left #ruby ["Leaving"]
[gmi] has quit [Quit: Leaving]
jerius has joined #ruby
nolic has joined #ruby
Choclo has quit [Ping timeout: 245 seconds]
eka has left #ruby ["Textual IRC Client: www.textualapp.com"]
zachrab has joined #ruby
jaequery has joined #ruby
towski_ has joined #ruby
startupality has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
mahlon has quit [Quit: nine foot long outhouse ladle]
davedev24_ has joined #ruby
sankaber has joined #ruby
tunaCanBruh has joined #ruby
Motoservo has joined #ruby
terlar has quit [Ping timeout: 250 seconds]
lidaaa has joined #ruby
oleo is now known as Guest22276
oleo__ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
thebastl has quit [Remote host closed the connection]
jimms has joined #ruby
athan has quit [Ping timeout: 240 seconds]
Guest22276 has quit [Ping timeout: 245 seconds]
ldnunes has quit [Quit: Leaving]
cocotton has joined #ruby
<shevy> kill it with kiwi!
<shevy> damn
<shevy> kiwi does not start with w :\ :/ :\ :/
paulfm has joined #ruby
Aova has joined #ruby
<waxjar> wiki does
roshanavand has joined #ruby
GPH|work has joined #ruby
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phutchins has quit [Ping timeout: 245 seconds]
bjornar has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
triple_b has joined #ruby
krz has quit [Ping timeout: 255 seconds]
wottam has joined #ruby
dc_ has quit [Remote host closed the connection]
ellisTAA has joined #ruby
baroquebobcat has joined #ruby
<ellisTAA> i’m about to send in some work. i was wondering if someone can glance at this file and tell me if the formatting is good? https://gist.github.com/ellisTAA/34990615f6a065ab6cfa
goshdarnyou has joined #ruby
dagda1 has joined #ruby
ghostpl has joined #ruby
zachrab has quit [Remote host closed the connection]
brandon_ has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
alderamin has joined #ruby
baweaver has quit [Remote host closed the connection]
<waxjar> ellisTAA: most people indent the method definitions too, looks like they're defined on the top level now
<waxjar> line 62 looks a little weird, would use a newline there
<alderamin> I have a collection of related classes whose functionality will be used across a number of projects. Most of them can exist on their own but can also contain objects of other classes. Should I group them in a module or leave them separate and include only those classes that I need? I'm thinking along the line of Java-style packages.
aryaching has quit [Ping timeout: 265 seconds]
ghostpl has quit [Ping timeout: 256 seconds]
<ellisTAA> waxjar: in regards to line 62 you mean the thing that should happen should go on the next line?
<waxjar> yeah
<ellisTAA> waxjar: what do you mean indent the method definitions?
<waxjar> other than that, looks good. perhaps get rid of the =begin =end comment blocks and just use # regular commands
<ellisTAA> ok ill do that with the comments
bjornar has quit [Ping timeout: 250 seconds]
<waxjar> ellisTAA: by indenting the method definitions i mean shift everything between class and end two spaces to the right
OrbitalKitten has joined #ruby
<ellisTAA> waxjar: i see thanks ill do that
mahlon has joined #ruby
CpuID2 has joined #ruby
CpuID2 has joined #ruby
symbol_ has quit [Quit: WeeChat 1.1]
matcouto has joined #ruby
LBRapid has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
cocotton has quit [Quit: Leaving...]
baweaver has joined #ruby
postmodern has joined #ruby
akkad has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lingo___ has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
davidhq has joined #ruby
rylev has quit []
davispuh has quit [Read error: Connection reset by peer]
LBRapid has joined #ruby
Zai00 has joined #ruby
kobain has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jenrzzz has quit [Ping timeout: 265 seconds]
lanemeyer has quit [Ping timeout: 265 seconds]
allcentury has quit [Ping timeout: 264 seconds]
davispuh has joined #ruby
zacstewart has quit [Remote host closed the connection]
davispuh has quit [Remote host closed the connection]
slawrence00 has joined #ruby
startupality has quit [Quit: startupality]
jenrzzz has joined #ruby
davispuh has joined #ruby
bjornar has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt has joined #ruby
Kricir has joined #ruby
ghr has joined #ruby
thebastl has joined #ruby
DonOtreply_ has quit [Ping timeout: 246 seconds]
allcentury has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DonOtreply has joined #ruby
psyprus has quit [Changing host]
psyprus has joined #ruby
momomomomo has quit [Quit: momomomomo]
fedalto has quit [Quit: leaving]
ismael_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 245 seconds]
Kricir has quit [Ping timeout: 245 seconds]
B1n4r10 has joined #ruby
sinkensabe has joined #ruby
banister is now known as banisterfiend
hmsimha has quit [Ping timeout: 252 seconds]
davispuh has quit [Ping timeout: 250 seconds]
maximski has quit []
oleo__ is now known as oleo
reinaldob has quit [Remote host closed the connection]
thebastl has quit [Ping timeout: 264 seconds]
davispuh has joined #ruby
vvivv has joined #ruby
akkad has joined #ruby
OrbitalKitten has joined #ruby
zyxelthrone has quit [Remote host closed the connection]
hmsimha has joined #ruby
kobain has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
thebastl has joined #ruby
chrishough has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
sinkensabe has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
momomomomo has joined #ruby
beneggett has joined #ruby
vdamewood has joined #ruby
OrbitalKitten has quit [Ping timeout: 246 seconds]
himsin has quit [Quit: himsin]
CpuID2 has quit [Quit: This computer has gone to sleep]
thebastl has quit [Ping timeout: 245 seconds]
brb3 has quit [Read error: Connection reset by peer]
malcolmva has joined #ruby
brb3 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Spami has quit [Quit: This computer has gone to sleep]
faelkle has joined #ruby
faelkle has quit [Quit: Leaving]
SOLDIERz_ has quit [Quit: Be back later ...]
fmcgeough has quit [Quit: fmcgeough]
sambao21 has joined #ruby
peterhu_ has joined #ruby
zyxelthrone has joined #ruby
tkuchiki has joined #ruby
rubytor has joined #ruby
pkrzywicki has joined #ruby
bjornar has quit [Remote host closed the connection]
Spami has joined #ruby
<quazimodo> whats the standard 'not enumerable' error?
davedev24_ has quit [Ping timeout: 246 seconds]
Morkel has joined #ruby
<weaksauce> quazimodo method each not defined or something to that effect
Spami has quit [Client Quit]
plashchynski has joined #ruby
thebastl has joined #ruby
<quazimodo> hrm
davispuh has quit [Ping timeout: 245 seconds]
Synthbread is now known as Synthead
<crome> there is no such thing as something is not xy class/module error
Synthead has quit [Quit: Leaving]
<crome> the object simply won't respond to the method call and will complain
lioninawhat has joined #ruby
jgt has quit [Ping timeout: 245 seconds]
tunaCanBruh has quit [Ping timeout: 240 seconds]
Synthead has joined #ruby
Spami has joined #ruby
djbkd has quit [Remote host closed the connection]
davedev24_ has joined #ruby
swgillespie has joined #ruby
davispuh has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
<weaksauce> quazimodo what are you trying to do?
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
The_Phoenix has quit [Read error: Connection reset by peer]
danman has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greensoup has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Remote host closed the connection]
Aova has joined #ruby
davispuh has quit [Remote host closed the connection]
markfletcher has left #ruby [#ruby]
Kricir has joined #ruby
kirun has quit [Quit: Client exiting]
krz has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<quazimodo> weaksauce: wanted my method to raise an error unless it's given an enumerable as input
zenith___ has quit [Ping timeout: 250 seconds]
davispuh has joined #ruby
<quazimodo> but i guess calling 'each' will raise the error anyway
<weaksauce> why? you can wrap the code in an Array() call
<eam> >> [].is_a? Enumerable
<eval-in__> eam => true (https://eval.in/281965)
plashchynski has quit [Quit: plashchynski]
danman has quit [Quit: danman]
<quazimodo> weaksauce: what do you mean?
<eam> quazimodo: keep in mind, the class doesn't necessarily dictate an object's methods
davedev24_ has quit [Ping timeout: 252 seconds]
<quazimodo> eam: yeah
<crome> quazimodo: in ruby most often you don't really want to check for class
swgillespie has joined #ruby
<quazimodo> crome: yeah i realise now
sinkensabe has quit [Ping timeout: 250 seconds]
<crome> what you want to know is if the object responds to #each or whatever you want to use on it
<quazimodo> yeah
<quazimodo> i get it
<quazimodo> quack quack
<crome> *nod nod*
puppetmonkey has quit [Quit: puppetmonkey]
<quazimodo> more importantly, i'm not sure if my responsibility thing here is good or not
<weaksauce> >> def enum_check(inputs); inputs = Array(inputs); inputs.each do |x| puts x end; enum_check(nil)
<eval-in__> weaksauce => /tmp/execpad-20a7e2a6f8c6/source-20a7e2a6f8c6:7: syntax error, unexpected end-of-input, expecting keyword_end (https://eval.in/281966)
<weaksauce> >> def enum_check(inputs); inputs = Array(inputs); inputs.each do |x| puts x end; end; enum_check(nil)
<eval-in__> weaksauce => [] (https://eval.in/281967)
davispuh has quit [Remote host closed the connection]
<eam> imo duck typing is a bad idea but to each his own
plashchynski has joined #ruby
ghr has joined #ruby
<weaksauce> >> def enum_check(inputs); inputs = Array(inputs); inputs.each do |x| puts x end; end; enum_check(1)
<eval-in__> weaksauce => 1 ... (https://eval.in/281969)
<crome> well, let's hope you don't create objects that will launch the nukes with the #each method
nolic has quit [Remote host closed the connection]
iliketurtles has joined #ruby
<weaksauce> and it works with arrays too.
<quazimodo> i have a class JsonParser which is supposed to take some Json, parse it and output an array of Retailer objects. I have a RetailerListFactory module that takes parsed JSON and builds the list of Retailer objects. So where do I actually test that the Retailer objects are correctly created?
davispuh has joined #ruby
baweaver has quit [Remote host closed the connection]
pkrzywicki has quit [Ping timeout: 245 seconds]
krz has quit [Ping timeout: 265 seconds]
<eam> crome: the simplified case rarely demonstrates the trouble with the corners :)
<quazimodo> do i unit test the module or my own JsonParser class ,which basically does data = JSON.parse @data; build_list data where build_list comes from the RetailerListFactory module thats mixed in
pkrzywicki has joined #ruby
djbkd has joined #ruby
deepu has joined #ruby
<weaksauce> can you gist a more complete example quazimodo
pika_pika has quit [Ping timeout: 245 seconds]
<quazimodo> weaksauce: doing so
<deepu> can someone please tell me how I can get this result? http://pastie.org/private/eclumntevdpz174h83vq7g
davispuh has quit [Read error: Connection reset by peer]
<eam> hmm, somewhat on this subject: It's not possible to remove a method for a given instance of an object, is it?
<eam> (even though it's possible to add one)
Lingo_ has joined #ruby
bronson has joined #ruby
zachrab has joined #ruby
<shevy> you can I think
<shevy> remove_method(:foo)
yfeldblu_ has joined #ruby
<shevy> hmm though this seems to work on the class
yfeldblum has quit [Ping timeout: 244 seconds]
<weaksauce> type array = ["10.0.0.1:2004:a", "10.0.0.1:2104:b", "10.0.0.2:2004:a", "10.0.0.2:2104:b"]
davispuh has joined #ruby
<weaksauce> where's the code that's calling it?
<shevy> in his mind
<quazimodo> weaksauce: basically, the json that gets parsed is to turn into an array of retailer objects
<quazimodo> so where do I check that that's done properly?
<eam> shevy: yeah exactly, I think it's not possible
<waxjar> eam i d n't think you can, but you could emulate by adding a method to an instance's singleton class that raises a NoMethodError or something.
<quazimodo> i guess i'm asking, do i put that in the spec file for the RetailerListModule, or the JsonParser spec
<shevy> eam weird
<shevy> eam perhaps they did not think anyone would need it hehehe
<quazimodo> also, all the data that goes into a retailer needs to be html escaped, does that go into the JsonParser spec or the Retailer spec?
<eam> waxjar: but then respond_to? wouldn't work
<quazimodo> it's like i don't know what's internal and what's public
ZoanthusR has joined #ruby
<eam> I mean, I guess you could mess with respond_to?
DonOtreply_ has joined #ruby
<quazimodo> weaksauce: it would have to be in both, wouldn't it
<weaksauce> deepu add the port number and the name(or whatever a and b are supposed to be)
<weaksauce> to the call on line 4
<waxjar> yeah, good point.
bronson has quit [Ping timeout: 256 seconds]
zachrab has quit [Ping timeout: 250 seconds]
DonOtreply has quit [Ping timeout: 264 seconds]
DonOtreply_ is now known as DonOtreply
baweaver has joined #ruby
<deepu> weaksauce: the port # changes (2004 & 2104)
jottr_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
gsd has joined #ruby
djbkd has quit [Remote host closed the connection]
<weaksauce> yes it does deepu. do you have that information from the server hash?
<weaksauce> or do you need to just hardcode it
<weaksauce> quazimodo that's a good question.
<deepu> weaksauce: i need to hard code port # and "a" or "b"
phutchins has joined #ruby
lanemeyer has joined #ruby
koding123 has quit [Read error: Connection reset by peer]
koding123 has joined #ruby
<weaksauce> http://pastie.org/9930717 deepu see how you can modify that to make it work
shellfu is now known as shellfood
p3ery has joined #ruby
djbkd has joined #ruby
fmcgeough has joined #ruby
shazaum has joined #ruby
puppetmonkey has joined #ruby
baweaver has quit [Remote host closed the connection]
ellisTAA has quit [Quit: ellisTAA]
jottr_ is now known as jottr
<weaksauce> quazimodo is the activerecord?
<quazimodo> no
spider-mario has quit [Remote host closed the connection]
zacstewart has joined #ruby
<m4rCsi> hello, I am using jruby and am running about 5 threads. All threads need in some form or another a redis client (every thread does different work). Is there an easy solution to pass a redis client around?
DonOtreply has quit [Ping timeout: 240 seconds]
<deepu> weaksauce: what i am struggling with is adding ports 2004:a, 2004:b, 2104:a and 2104:b at the end. Your example only add 2004:a at the end
Musashi007 has joined #ruby
baweaver has joined #ruby
<weaksauce> deepu I know... how do you think you can add to that snippet to make it work knowing what I just did to add that?
DonOtreply has joined #ruby
<weaksauce> do you know what << does?
Hijiri has quit [Quit: moving]
<deepu> weaksauce: yes.. it add the value to the array
fabrice31 has joined #ruby
<weaksauce> ok... do you know that you can use more than one statement in an each block?
nolic has joined #ruby
davedev24_ has joined #ruby
koding123_ has joined #ruby
koding123 has quit [Ping timeout: 250 seconds]
wldcordeiro has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
cjim has joined #ruby
<weaksauce> quazimodo well, it's useful to just move forward and refactor things later once you figure out where the system is not optimal
<eam> >> a = []; class << a; undef_method :length; end; a.respond_to? :length # by way of my amazing coworkers
<eval-in__> eam => false (https://eval.in/281976)
fabrice31 has quit [Ping timeout: 264 seconds]
CpuID2 has joined #ruby
CpuID2 has quit [Client Quit]
jefus__ is now known as jefus
dixie__ has joined #ruby
<dixie__> Hello Everyone.
<shevy> eam hmm
<weaksauce> interesting eam
greensoup has joined #ruby
<shevy> eam so undef_method is the equivalent on a per-object basis?
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<deepu> weaksauce: like this? http://pastie.org/9931108
reinaldob has joined #ruby
<weaksauce> have you tried it?
<eam> undef_method appears to define a method which essentially isn't one
<weaksauce> but yeah that should work deepu
DEA7TH has joined #ruby
koding123 has joined #ruby
<deepu> weaksauce: thank you
koding123_ has quit [Ping timeout: 264 seconds]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
<weaksauce> you're welcome
Morkel has quit [Quit: Morkel]
fantazo has quit [Quit: Verlassend]
wallerdev has joined #ruby
Hijiri has joined #ruby
zachrab has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
dc has joined #ruby
aef has quit [Remote host closed the connection]
aef has joined #ruby
reinaldob has quit [Ping timeout: 250 seconds]
sambao21 has joined #ruby
paulfm has quit [Quit: Zzzzz...]
DouweM has joined #ruby
dagda1 has joined #ruby
fenzil has quit [Ping timeout: 245 seconds]
werelivinginthef has joined #ruby
roshanavand has quit [Quit: roshanavand]
alkoma has joined #ruby
<quazimodo> hrm
djbkd has quit [Remote host closed the connection]
<quazimodo> is it better to parse my json and arrange my data by manufacturer
<quazimodo> or is it better to create a specialised data class for my data, and then query that data
<quazimodo> like data.uniq_manufacturers
alkoma has quit [Remote host closed the connection]
<quazimodo> or data.from_manufacturer(manufacturer_name)
baweaver has quit [Remote host closed the connection]
decoponio has quit [Read error: Connection reset by peer]
p3ery has quit [Ping timeout: 250 seconds]
decoponio has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
jenrzzz_ has joined #ruby
athan has joined #ruby
djbkd has joined #ruby
kl has quit [Quit: leaving]
last_staff has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
dixie__ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
shum has joined #ruby
koding123 has quit [Ping timeout: 245 seconds]
smathieu has joined #ruby
rajeshchawla has joined #ruby
totimkopf has quit [Ping timeout: 264 seconds]
addisaden1 has joined #ruby
yfeldblum has joined #ruby
tunaCanBruh has joined #ruby
livingstn has quit []
koding123 has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
elfuego has quit [Quit: elfuego]
djbkd has quit [Remote host closed the connection]
JDiPierro has quit [Remote host closed the connection]
davispuh has quit [Remote host closed the connection]
greensoup has quit [Ping timeout: 246 seconds]
shum has quit [Quit: WeeChat 1.1.1]
allcentury has quit [Ping timeout: 255 seconds]
shum has joined #ruby
codecop has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 246 seconds]
dc_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
shum has quit [Client Quit]
shellfood is now known as shellfu
koding123 has quit [Quit: Leaving]
it0a has quit [Quit: WeeChat 1.1.1]
jenrzzz_ has quit [Ping timeout: 245 seconds]
shum has joined #ruby
charliesome has joined #ruby
dc has quit [Read error: Connection reset by peer]
silkfox has quit [Ping timeout: 245 seconds]
DouweM has quit [Read error: Connection reset by peer]
EvanFreeman has quit [Remote host closed the connection]
Aova has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellisTAA has joined #ruby
tunaCanBruh has joined #ruby
allcentury has joined #ruby
sankaber has joined #ruby
wottam has joined #ruby
triple_b has quit [Ping timeout: 250 seconds]
sankaber has quit [Client Quit]
Troy^ has joined #ruby
DogHackit has joined #ruby
Troy^ has quit [Client Quit]
Sembei has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
plashchynski has quit [Quit: plashchynski]
lmickh has quit [Remote host closed the connection]
<DogHackit> Hello, can anyone explain how I would use sprintf to format a string object? I am getting too few arguments when doing this "grade_arr << sprintf('%15s %2s %2s', grades.to_s)"
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
plashchynski has joined #ruby
kobain has quit [Ping timeout: 264 seconds]
zacstewart has joined #ruby
Troy^ has joined #ruby
GPH|work has quit [Ping timeout: 264 seconds]
mloveless has joined #ruby
thebastl has quit [Quit: Leaving...]
<wallerdev> what do you want to do?
skj3gg has quit [Quit: welp, see you later.]
<wallerdev> grab the first 15, then the first 2, then the first 2 again?
EvanFreeman has joined #ruby
<wallerdev> you're asking for 3 input strings but only passsing one
Troy^ has quit [Client Quit]
<crome> sprintf('%15s %2s %2s', *grades)
<crome> but I don't know your data types
<crome> I'm just guessing as to what you might be trying to do
iliketurtles has quit [Quit: zzzzz…..]
jottr has joined #ruby
Troy^ has joined #ruby
Lucky___ has joined #ruby
addisaden2 has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
<DogHackit> It is a string. I want a format of "15 characters" then "2characters" then "2character"2
addisaden1 has quit [Ping timeout: 264 seconds]
<crome> I think you misunderstand the whole printf formatting thing
<DogHackit> not a last 2, sorry
<DogHackit> I want this: "Grade1 : 4 0" to look like this "Grade1 : 40 8"
<crome> in any case, give us a code example with sample input and expected output
plashchynski has quit [Quit: plashchynski]
EvanFreeman has quit [Remote host closed the connection]
_mtr has quit [Ping timeout: 252 seconds]
Troy^ has quit [Client Quit]
ptrrr has quit [Quit: ptrrr]
momomomomo has quit [Quit: momomomomo]
brb3 has joined #ruby
djbkd has joined #ruby
koding123 has joined #ruby
charliesome has quit [Quit: zzz]
mdw has joined #ruby
plashchynski has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
sargas has joined #ruby
faelkle has joined #ruby
<DogHackit> crome, I KNOW I am missing the point of it. That is why I need help ;)
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
BillSussman has quit [Quit: Leaving]
LouisRoR has joined #ruby
greensoup has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
hgl has quit [Ping timeout: 252 seconds]
mdw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby
<porfa> heya, what should i use to submit and get results with ruby?
<porfa> i need to login in a page and then parse the result html
iliketurtles has quit [Client Quit]
<porfa> what gem?… :)
<weaksauce> DogHackit sprintf is generally not used what does grades print out?
selaruvich has quit [Ping timeout: 250 seconds]
plashchynski has quit [Quit: plashchynski]
quazimodo has quit [Ping timeout: 264 seconds]
<weaksauce> you want to use something like string interpolation
<GaryOak_> porfa: maybe mechanizer
mikecmpbll has joined #ruby
<DogHackit> it prints this "Grade1 : 40"
<GaryOak_> porfa: with nokogiri
hgl has joined #ruby
<porfa> can nojkogiri logme in sites ?
<weaksauce> >> x="test"; "#{test.lust(15)}: 10"
<eval-in__> weaksauce => wrong number of arguments (0 for 2..3) (ArgumentError) ... (https://eval.in/281997)
iamjarvo has joined #ruby
<GaryOak_> porfa: that's what mechanizer is for, nokogiri is just for parsing html/xml
<weaksauce> >> x="test"; "#{test.ljust(15)} : 10";
<eval-in__> weaksauce => wrong number of arguments (0 for 2..3) (ArgumentError) ... (https://eval.in/281998)
<weaksauce> >> x="test"; puts"#{test.ljust(15)} : 10";
<eval-in__> weaksauce => wrong number of arguments (0 for 2..3) (ArgumentError) ... (https://eval.in/281999)
<porfa> what about “selenium” (got that name though a google search)
<weaksauce> ha
pygospa has quit [Ping timeout: 255 seconds]
<GaryOak_> porfa: selenium is for controlling a browser engine
<wasamasa> selenium is slooow
<porfa> hmmm ok
<weaksauce> derp. sick day
<weaksauce> >> x="test"; puts"#{x.ljust(15)} : 10";
<eval-in__> weaksauce => test : 10 ... (https://eval.in/282000)
commmmodo has joined #ruby
<porfa> thanks
<weaksauce> DogHackit
<weaksauce> ^
plashchynski has joined #ruby
<DogHackit> weaksauce, thanks!
<GaryOak_> porfa: mechanize also uses nokogiri to do simple parsing
gr33n7007h has quit [Quit: Leaving]
<weaksauce> DogHackit np.
<porfa> im using nokogiri for most of my stuff
DonOtreply has quit [Quit: DonOtreply]
<GaryOak_> cool
<porfa> but now i need to login into a backoffice and get data from there...
pygospa has joined #ruby
swgillespie has joined #ruby
Lingo_ has quit [Quit: (null)]
gr33n7007h has joined #ruby
<GaryOak_> yeah logins are a little more complex
<crome> DogHackit: either do something like grades.each { |grade| grades_arr << sprintf("%-15s: %2s %2s", grade.name, grade.value1, grade.value2) }
koding123 has quit [Quit: Leaving]
<crome> or define #to_s in the grade class so it knows how to format itself
<weaksauce> DogHackit in general you would want to get properties from the grades object and put those into a string instead of trying to parse the default to_s value
<crome> and then you can do grades.each { |grade| grades_arr << grade.to_s }
javascript496 has joined #ruby
<weaksauce> "#{grades.name.ljust(15)}:#{grades.grade_num}" or something like that DogHackit
<DogHackit> so, if I do this formating in my to_s, that would probably work better for me. I will try that.
jottr has quit [Ping timeout: 245 seconds]
davispuh has joined #ruby
mloveless has quit []
werelivinginthef has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
<crome> DogHackit: if you want to be really awesome and overengineer the whole thing you can create a gradeformatter class because strictly speaking what you are doing is representation
Musashi007 has quit [Quit: Musashi007]
jrunning_ has quit [Ping timeout: 245 seconds]
ballPointPenguin has quit [Ping timeout: 265 seconds]
<crome> and then you can write awesome unit tests as well
PhilK has quit [Ping timeout: 272 seconds]
lioninawhat has joined #ruby
<crome> and sprinkle fairy dust over the whole project
troter___ has quit [Ping timeout: 265 seconds]
javascript496 has quit [Ping timeout: 246 seconds]
<DogHackit> I put this: "'%-15.15s' % @assignment_name + " : " + '%-2.2s' % @max_points + " " + '%-2.2s' % @points_received" in the Grade.to_s
phutchins has quit [Ping timeout: 245 seconds]
gmcintire has quit [Read error: Connection reset by peer]
Megtastique has quit []
cjim has quit [Quit: (null)]
markfletcher has joined #ruby
dukedave has quit [Ping timeout: 250 seconds]
<DogHackit> Seems to work like a charm now. Thanks for the help!
josephndenton has quit [Ping timeout: 250 seconds]
gmcintire has joined #ruby
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
<crome> umm
PhilK has joined #ruby
<weaksauce> DogHackit "#{grades.name.ljust(15)}:#{grades.grade_num}"
Rollabunna has joined #ruby
<crome> "'%-15.15s : %-2.2s %-2.2s" % @assignment_name, @max_points, @points_received
<crome> to make effective use of the construct :)
jrunning_ has joined #ruby
ballPointPenguin has joined #ruby
Hijiri has quit [Ping timeout: 252 seconds]
<DogHackit> <---n00b. All of my Ruby code would probably make you all sick...
elfuego has joined #ruby
rbennacer has quit [Ping timeout: 252 seconds]
<weaksauce> or using your variables: "#{@assignment_name.ljust(15)}: #{@max_points} #{@points_received}"
<crome> I'm sure I have written worse at some point
jottr has joined #ruby
adriancb has quit [Remote host closed the connection]
troter___ has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dukedave has joined #ruby
tier has quit [Remote host closed the connection]
greenbagels has joined #ruby
charliesome has joined #ruby
<DogHackit> crome, that cleanup isn't working for me
<DogHackit> not expecting ,
<crome> oh really?
selaruvich has joined #ruby
chrishough has joined #ruby
<crome> ah
<crome> sprintf("'%-15.15s' : %-2.2s %-2.2s", @assignment_name, @max_points, @points_received)
<crome> or "'%-15.15s' : %-2.2s %-2.2s" % [@assignment_name, @max_points, @points_received]
<crome> the % syntax requires an array of values
baweaver has quit [Remote host closed the connection]
<crome> my bad
baweaver has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
Hijiri has joined #ruby
jobewan has quit [Ping timeout: 265 seconds]
faelkle has quit [Quit: Leaving]
yokel has quit [Ping timeout: 250 seconds]
smcavoy has joined #ruby
jenrzzz has joined #ruby
selaruvicheck has joined #ruby
yokel has joined #ruby
JoshGlzBrk has joined #ruby
arescorpio has joined #ruby
rakm has quit [Read error: Connection reset by peer]
neektza has quit [Read error: Connection reset by peer]
idiocrash has joined #ruby
baweaver has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
amitchellbullard has quit [Read error: Connection reset by peer]
spastorino has quit [Ping timeout: 272 seconds]
plashchynski has quit [Quit: plashchynski]
selaruvich has quit [Ping timeout: 250 seconds]
Deithrian has quit [Ping timeout: 255 seconds]
krz has joined #ruby
ramblinpeck_ has quit [Ping timeout: 245 seconds]
AdamMeghji_ has quit [Ping timeout: 276 seconds]
culturelabs has quit [Ping timeout: 265 seconds]
troter___ has quit [Ping timeout: 245 seconds]
zrl has quit [Ping timeout: 276 seconds]
plashchynski has joined #ruby
ballPointPenguin has quit [Ping timeout: 252 seconds]
gmcintire has quit [Ping timeout: 265 seconds]
mroth has quit [Read error: Connection reset by peer]
PhilK has quit [Ping timeout: 250 seconds]
ckrailo__ has quit [Read error: Connection reset by peer]
<smcavoy> hello
avahey has joined #ruby
davidcelis has quit [Ping timeout: 256 seconds]
moted has quit [Remote host closed the connection]
elfuego has left #ruby [#ruby]
colinstgeorge has quit [Quit: No Ping reply in 180 seconds.]
smcavoy has left #ruby [#ruby]
allcentury has quit [Ping timeout: 256 seconds]
ninjazach has quit [Ping timeout: 256 seconds]
jcp has quit [Quit: No Ping reply in 180 seconds.]
jcp has joined #ruby
krz has quit [Ping timeout: 245 seconds]
gremax has quit [Ping timeout: 256 seconds]
Aova has quit [Read error: Connection reset by peer]
RowdyChildren has quit [Ping timeout: 264 seconds]
razieliyo has quit [Ping timeout: 252 seconds]
colinstgeorge has joined #ruby
SirFunk has quit [Excess Flood]
djbkd has quit [Remote host closed the connection]
function90 has quit [Quit: Textual IRC Client: www.textualapp.com]
RowdyChildren has joined #ruby
gremax has joined #ruby
SirFunk has joined #ruby
davidcelis has joined #ruby
dukedave has quit [Ping timeout: 265 seconds]
jrunning_ has quit [Ping timeout: 252 seconds]
fryguy9 has quit [Quit: Leaving.]
bronson has joined #ruby
grzywacz has quit [Quit: :wq]
smathieu has quit [Remote host closed the connection]
ghr has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
smathieu has joined #ruby
tvw has joined #ruby
davidhq has quit [Ping timeout: 256 seconds]
LouisRoR has quit [Ping timeout: 245 seconds]
fryguy9 has joined #ruby
danzilio has quit [Quit: My computer has fallen asleep!]
fryguy9 has quit [Client Quit]
Aova has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
smathieu has quit [Remote host closed the connection]
Musashi007 has joined #ruby
smathieu has joined #ruby
fenzil has joined #ruby
fryguy9 has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
jlast has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 244 seconds]
jlast has joined #ruby
greensoup has quit [Ping timeout: 264 seconds]
Hobogrammer has joined #ruby
plashchynski has quit [Quit: plashchynski]
startupality has joined #ruby
Musashi007 has quit [Quit: Musashi007]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jerius has quit []
jlast has quit [Ping timeout: 264 seconds]
lioninawhat has quit [Remote host closed the connection]
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
Timgauthier has joined #ruby
Zai00 has quit [Quit: Zai00]
fryguy9 has quit [Read error: Connection reset by peer]
dukedave has joined #ruby
fryguy9 has joined #ruby
tunaCanBruh has quit [Ping timeout: 256 seconds]
selaruvicheck has quit [Ping timeout: 244 seconds]
beneggett has quit [Ping timeout: 245 seconds]
plashchynski has joined #ruby
_mtr has joined #ruby
greensoup has joined #ruby
mroth has joined #ruby
cphrmky has quit [Ping timeout: 252 seconds]
beneggett has joined #ruby
dfinninger has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
djbkd has joined #ruby
CpuID2 has joined #ruby
zachrab has joined #ruby
fabrice31 has joined #ruby
mistermocha has quit [Remote host closed the connection]
ckrailo__ has joined #ruby
allcentury has joined #ruby
lioninawhat has joined #ruby
_mtr has quit [Ping timeout: 246 seconds]
zachrab has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
CpuID2 has quit [Quit: This computer has gone to sleep]
lioninawhat has quit [Remote host closed the connection]
juanpablo_ has quit [Read error: Connection reset by peer]
juanpablo_ has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
plashchynski has quit [Quit: plashchynski]
snath has quit [Ping timeout: 255 seconds]
hiyosi has joined #ruby
tylersmith has quit []
<baweaver> So, as a curiosity on ActiveJob, anyone looked into interop with Elixir?
smathieu has quit [Remote host closed the connection]
juanpablo_ has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
rajeshchawla has quit []
pengin has joined #ruby
fenzil has quit [Ping timeout: 255 seconds]
CpuID2 has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
silkfox has joined #ruby
allcentury has quit [Ping timeout: 265 seconds]
enebo has quit [Quit: enebo]
giuseppesolinas has joined #ruby
totimkopf has joined #ruby
zachrab has joined #ruby
Choclo has joined #ruby
LetErikTry has joined #ruby
LetErikTry has quit [Changing host]
LetErikTry has joined #ruby
Hijiri has quit [Ping timeout: 264 seconds]
zachrab has quit [Remote host closed the connection]
alderamin has quit []
totimkopf has quit [Ping timeout: 265 seconds]
wldcordeiro has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
porfa has quit [Quit: porfa]
pengin has quit [Remote host closed the connection]
iliketurtles has joined #ruby
tier has joined #ruby
pengin has joined #ruby
TDJACR has quit [Ping timeout: 245 seconds]
psyprus has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
Choclo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]