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
<apeiros_> I'm fine
<kl__> cool, just wanted to make sure
sambao21 has quit [Ping timeout: 272 seconds]
deol has joined #ruby
skj3gg has joined #ruby
ki0 has quit [Ping timeout: 255 seconds]
drawingthesun has joined #ruby
avahey has joined #ruby
<kl__> let me know if you need a shoulder to lean on
zenith_ has quit [Client Quit]
zenith_ has joined #ruby
shime_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skj3gg has quit [Client Quit]
drawingthesun has quit [Client Quit]
jerematic has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
ta has joined #ruby
oo_ has joined #ruby
adamski2600 has joined #ruby
frek818 has quit [Quit: frek818]
banister has joined #ruby
zenith_ has quit [Remote host closed the connection]
<apeiros_> oh, that shoulder already lies on my side, thank you.
shime has quit [Ping timeout: 272 seconds]
<apeiros_> to my side?
skj3gg has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
<apeiros_> english, so close to german, yet sometimes so different.
skj3gg_ has joined #ruby
ivanskie has joined #ruby
ta has quit [Ping timeout: 276 seconds]
adamski2_ has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
adamski2600 has quit [Read error: Connection reset by peer]
j416 has quit [Ping timeout: 245 seconds]
adamski2_ has quit [Remote host closed the connection]
Channel6 has quit [Ping timeout: 244 seconds]
skj3gg_ has quit [Quit: ZZZzzz…]
x77686d has joined #ruby
skj3gg_ has joined #ruby
zenith_ has joined #ruby
ecksit has quit [Ping timeout: 245 seconds]
davedev2_ has joined #ruby
Channel6 has joined #ruby
frek818 has joined #ruby
davedev24_ has quit [Ping timeout: 272 seconds]
j416 has joined #ruby
klmlfl has quit [Remote host closed the connection]
JBreit has joined #ruby
zenith_ has quit [Remote host closed the connection]
skj3gg has quit [Quit: ZZZzzz…]
Takle has quit [Remote host closed the connection]
Azure has joined #ruby
Channel6 has quit [Client Quit]
davedev2_ has quit [Read error: Connection reset by peer]
Aova has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
skj3gg_ has quit [Quit: ZZZzzz…]
quimrstorres has quit [Remote host closed the connection]
JBreit has left #ruby [#ruby]
pwh has quit []
<shevy> when I use require, I can not re-load a file again right?
<Rylee> shevy: correct
<shevy> but can I require first, and at runtime use load() to load a new variant of the same file?
<Rylee> yes
<shevy> cool thanks
<Rylee> one of my IRC bots does that for runtime reloading
<Rylee> of modules and such
<shevy> yeah, I need a similar functionality too
<Rylee> uptime \o/
backhoe has quit [Ping timeout: 264 seconds]
codeFiend has quit [Ping timeout: 252 seconds]
backhoe has joined #ruby
<kl__> Rylee: does that clear out constants that were previously defined (but not anymore) in the required file?
<kl__> I'd guess not - sounds like potential for quite some pollution over time
quimrstorres has joined #ruby
<Rylee> kl__: almost certainly not, but I have never tested that.
Aova has joined #ruby
<Rylee> kl__: because it would be just like monkey patching an established class (actually, exactly like that)
<Rylee> which does not remove constants
Takle has joined #ruby
<Rylee> which is why I can only recommend that approach while developing, really.
<Rylee> the correct way to upgrade an application in-flight would be to have at least two machines in an application pool behind a load balancer, bring one offline and upgrade it, then switch it over to the primary and bring the other offline and upgrade it, or something. AWS CodeDeploy handles stuff like that pretty well.
<kl__> blue-green that mofo
<skinux> Okay. Just finished the Ruby course at CodeAcademy.
<Rylee> kl__: indeed!
<kl__> skinux: congrats! You are on a good path.
<Rylee> indeed^!
az7ar_away has quit [Ping timeout: 256 seconds]
Azure has quit [Excess Flood]
<Rylee> do you have any projects moving forward?
<skinux> Are you asking me?
it0a has joined #ruby
jonr22 has joined #ruby
Azure has joined #ruby
quimrstorres has quit [Remote host closed the connection]
codeFiend has joined #ruby
<kl__> skinux: if he's not (he is), I will
mostlybadfly has joined #ruby
skj3gg has joined #ruby
<skinux> No project yet. I just wanted to learn Ruby.
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellisTAA has joined #ruby
tyfighter has quit [Ping timeout: 245 seconds]
jonr22 has quit [Ping timeout: 245 seconds]
jgt2 has quit [Ping timeout: 255 seconds]
hiyosi has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
klmlfl has joined #ruby
<shevy> \o/
<shevy> ruby is easy when you start to think in objects
adamski2600 has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
az7ar_away has joined #ruby
tyfighter has joined #ruby
bronson has joined #ruby
<apeiros_> load does not unload previously evaluated code. so no, constants etc. are not cleared out.
Sawbones has joined #ruby
<shevy> will they be overwritten?
<kl__> no
<shevy> like I have test.rb; I require it; inside it is FOO = 5; when I load the file, FOO = 6 before I load it
<apeiros_> it's the same as always when you run code
pdoherty has joined #ruby
<ellisTAA> is there a computer science or programming IRC channel?
<apeiros_> yes, that'll be reassigned and you'll get a warning
<apeiros_> just as if you'd have that in two different files and require those
<shevy> ellisTAA yes, we program here! and we also idle and drink beer
rbennacer has joined #ruby
frek818 has quit [Quit: frek818]
jonr22 has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
<ellisTAA> shevy: i dont want to ask questions like “what makes something a programming language” here since it isn’t about ruby. where could i ask that?
<banister> ellisTAA google probably
Sawbones has quit [Remote host closed the connection]
<ellisTAA> yeah but if i want to ask ppl is there an irc channell
<shevy> #ruby
<skinux> How long should "gem install rails" take to print something to screen?
<shevy> :>
<shevy> skinux 5 minutes!
<skinux> Seriously?
<longfeet> yes
<shevy> skinux dunno, how long have you been trying it? sometimes it hangs up
<skinux> There it goes. Took about a minute or two
<longfeet> i installed rails inside a vm running on a machine from 2002
<longfeet> took a few hours
pdoherty has quit [Ping timeout: 264 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frek818 has joined #ruby
ptrrr has quit [Quit: ptrrr]
jonr22 has quit [Remote host closed the connection]
hamakn has joined #ruby
Hijiri has quit [Ping timeout: 240 seconds]
PaulCapestany has quit []
yokel has joined #ruby
leonshalimov has joined #ruby
bricker has quit [Ping timeout: 276 seconds]
Hijiri has joined #ruby
scripore has joined #ruby
hamakn has quit [Remote host closed the connection]
lampd1 has joined #ruby
PaulCapestany has joined #ruby
frek818 has quit [Ping timeout: 256 seconds]
<weaksauce> ellisTAA what are you trying to learn?
<weaksauce> there's #programming I think but the people in there are going to be rude to you because it's not for beginners.
ivanskie has joined #ruby
leonshalimov has quit [Ping timeout: 245 seconds]
<ellisTAA> oh … booo! i’m just trying to learn how to program
JDiPierro has joined #ruby
ki0 has joined #ruby
<kl__> beginners are virtually all i find in there
bthesorceror has joined #ruby
<weaksauce> are they? maybe I have it confused with another channel
<kl__> well, "intermediate" - who are probably worse than beginners to talk to about program
<weaksauce> http://www.codecademy.com/ ellisTAA would be great
withnale_ has joined #ruby
sevenseacat has joined #ruby
<ellisTAA> thanks. i wish there was a test to take to see how much i know
<ellisTAA> is there one?
Takle has quit [Read error: Connection reset by peer]
<weaksauce> getting a job somewhere
<ellisTAA> lol
Spami has quit [Quit: This computer has gone to sleep]
<kl__> yeah, I kind of don't know where I stand, skillswise
<kl__> I just aim to move around a lot, and come out best everywhere I go
ki0 has quit [Ping timeout: 264 seconds]
<kl__> If I go to a few places and do that, I'm probably not *that* bad
apeiros_ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby
<ellisTAA> hmm yeah i would like to have goals and a list of crap i can check off
withnale_ has quit [Ping timeout: 264 seconds]
<blizzy> so, I have many commands for this project. what would be the best way to handle this
<blizzy> put all the commands in one file?
<weaksauce> what do you mean blizzy? rake tasks are useful
zenith_ has joined #ruby
<blizzy> um, I have many methods, let's call them plugins
<blizzy> atm, I'm putting all the plugins in one file
<blizzy> is there a better way to do this?
chrishough has joined #ruby
<blizzy> don't submit pull requests, it's a personal project just for backup. c:
<weaksauce> heh. no worries.
wldcordeiro has joined #ruby
<blizzy> so yeah, is there a better way other than putting all the plugins in one file?
<blizzy> they're not really plugins if they're in one file
jschoolcraft has joined #ruby
mikepack has joined #ruby
<weaksauce> blizzy if !can('reload', user) then return '' end would read better like return "" unless can('reload', user)
frek818 has joined #ruby
frek818 has quit [Client Quit]
<blizzy> thanks, weaksauce
<weaksauce> and since you are passing user in all over the place it would suggest that you should add this to the user class
zenith_ has quit [Remote host closed the connection]
<weaksauce> that's just one example of the preferred way to do a guard clause
davidhq has joined #ruby
<weaksauce> seems like most of your methods do something like that
nicolastarzia has joined #ruby
spider-mario has quit [Remote host closed the connection]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikepack has quit [Ping timeout: 245 seconds]
tokik has joined #ruby
kayloos has joined #ruby
<blizzy> so I would define a method named self.can
SparkMasterTape has joined #ruby
<weaksauce> no. you would define a method can in the user class
<weaksauce> self.can is a class method
<weaksauce> and has no idea about state
<blizzy> so I would make a new class named User?
nicolastarzia has quit [Ping timeout: 264 seconds]
<blizzy> think you could gist an example?
hamakn has joined #ruby
zanzibizarre has joined #ruby
frek818 has joined #ruby
<zanzibizarre> Well aren't you a gem!
<lampd1> lol
kalusn has quit [Ping timeout: 244 seconds]
<lampd1> can you guys just do it for me plz, kthx
shime_ has quit [Remote host closed the connection]
<zanzibizarre> lawl
<blizzy> lampd1, what?
<lampd1> blizzy: check out pry
<lampd1> and learn a bit more about state :)
<blizzy> I wasn't asking for him to do it for me.
<blizzy> >.> I was only asking for an example.
tyfighter has quit [Quit: tyfighter]
<sevenseacat> class User; end
<sevenseacat> :D
<blizzy> couldn't I just declare the class inside the Commands class
<zanzibizarre> Everyone do my work for me
<zanzibizarre> k thx
<blizzy> geez I was onl asking a fucking question.
<lampd1> zanzibizarre: only if it's prototypejs
<blizzy> *only
<kl__> blizzy dont u ever do that again bro
Aova has quit [Read error: Connection reset by peer]
<lampd1> :D
<blizzy> kl__, IDK how asking for an example is saying 'do it all for me'
<blizzy> I guess examples aren't allowed
<kl__> blizzy: it's not, you're being reasonable and others aren't
<weaksauce> class User; def can(x); return true if self.something == "something_else"; end; end;
ta has joined #ruby
<blizzy> kl__, I can sense the sarcasm a mile away
<blizzy> thank you, weaksauce
<blizzy> that's all I was asking
<lampd1> k1__ if he doesn't have an understanding of state how is a gist going to help him?
<kl__> blizzy: actually that's a shame, I didn't intend it that way
<kl__> totally see how you'd read it like that
<weaksauce> lampd1 we were all there at one point have a little heart
<lampd1> i told him to check out pry
<lampd1> and explore state
<blizzy> seems like everyone is jumping on me for asking for an example.
<kl__> lampd1: we all learn in different ways, some through tinkering, some through creating from scratch
sinkensabe has quit [Remote host closed the connection]
<blizzy> >.> shows that ruby elitist.
<lampd1> lol im a noob
<weaksauce> blizzy there is no such thing.
<weaksauce> there are dicks and there are nice people
<blizzy> true.
<blizzy> sorry everyone, though I'm not sorry for asking for an example. >.>
<weaksauce> blizzy you were fine
<zanzibizarre> sometimes you gotta get examples because you dont understand
<zanzibizarre> thats normal
_matt has joined #ruby
<lampd1> blizzy: take a look @ pry https://github.com/pry/pry
<weaksauce> blizzy how is this thing used?
<lampd1> it will let you set breakpoints and navigate around state with regular unix filesystem navigation commands
<lampd1> so you can see what methods are available where
<weaksauce> btw. your commands.rb file is not a class; it's a module
<blizzy> thanks, lampd1 and weaksauce, on something named Pokemon Showdown
<blizzy> well idk if using a module would be the better route
<weaksauce> no i mean it IS a module right now
Aova has joined #ruby
<blizzy> so would I be better off using a class or a module
Fusl has quit [Quit: Contact: http://hallowe.lt/]
<weaksauce> really depends on how it's used by this showdown thing
xivusr has joined #ruby
zwer_e is now known as zwer
jerematic has joined #ruby
hamakn has quit [Remote host closed the connection]
frek818 has quit [Quit: frek818]
mrmargolis has joined #ruby
Fusl has joined #ruby
allcentury has joined #ruby
<lampd1> has a chart to break it down too
* lampd1 bookmarks
<blizzy> thank you very much, lampd1.
nkts has quit [Quit: Lost terminal]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zanzibizarre> rofl
xivusr has quit [Ping timeout: 264 seconds]
jerematic has quit [Ping timeout: 276 seconds]
<zanzibizarre> why is my man junk so big today?
baroquebobcat_ has joined #ruby
bonhoeffer has joined #ruby
coinrookie has quit [Quit: Leaving]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adriancb has joined #ruby
bronson has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bonhoeffer has quit [Ping timeout: 264 seconds]
ta has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
siwica has joined #ruby
ta has joined #ruby
njection has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
bronson has quit [Ping timeout: 252 seconds]
mloveless has quit [Ping timeout: 246 seconds]
<ellisTAA> anyone have a favorite book on software engineering??
<sevenseacat> probably code complete
klmlfl has quit [Remote host closed the connection]
Prometheian has joined #ruby
klmlfl has joined #ruby
<Prometheian> Is there a rails irc? #rails seems to be MIA
arescorpio has joined #ruby
<weaksauce> rubyonrails
<havenwood> Prometheian: #rubyonrails
spyderman4g63 has quit [Ping timeout: 244 seconds]
<Prometheian> ty!
ta has quit [Ping timeout: 245 seconds]
bonhoeffer has joined #ruby
Hijiri has joined #ruby
<ellisTAA> is developing a website considered software engineering?
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
eka has joined #ruby
<weaksauce> ellisTAA it can be
FooMunki has quit [Quit: FooMunki]
codeFiend has quit [Ping timeout: 252 seconds]
mrmargolis has quit [Remote host closed the connection]
<lampd1> it depends on how you make it
<skinux> Has there been any generic blogging/cms software built using Rails?
<lampd1> yeah
sent1nel has quit [Remote host closed the connection]
<lampd1> alchemy comes to mind, never used it tho
<skinux> Anything as good as WordPress (speaking in terms of features, not code)?
JDiPierro has quit [Remote host closed the connection]
<lampd1> rails for zombies also walks you through how to start building your own cms iirc
gizmore has joined #ruby
<lampd1> wordpress is procedural, and a bunch of the "features" / plugins are pretty much the equivalent of security concerns
<zanzibizarre> WordPress is the best
<lampd1> lolz
<lampd1> #deathtowordpress
<zanzibizarre> if you want true webscale
<zanzibizarre> you use WordPress
<lampd1> your trolling line is pretty obvious there, not sure anyone is going to bite
<skinux> Who is it that you're calling a troll?
<lampd1> besides, everyone knows drupal is the #1 cms
<zanzibizarre> I like the idea of #1 cms
<skinux> To be honest, if Drupal is #1, why are so many sites built using WordPress?
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zanzibizarre> WP is webscale
adriancb has quit [Remote host closed the connection]
<lampd1> skinux: wordpress sites comprise the vast majority of the web, because a vast majority of the web hasn't the first clue about anything web
hamakn has joined #ruby
<zanzibizarre> Yeah man. Checkers sells more than Chess
<zanzibizarre> Duh
mrmargolis has joined #ruby
davidhq has joined #ruby
goshdarnyou has joined #ruby
<zanzibizarre> Girl Powa!
Mon_Ouie has quit [Ping timeout: 245 seconds]
ta has joined #ruby
wldcordeiro has quit [Ping timeout: 245 seconds]
xxneolithicxx has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Quit: Leaving...]
codeFiend has joined #ruby
jpstokes has quit [Remote host closed the connection]
robustus|Off has joined #ruby
arrubin has left #ruby [#ruby]
robustus|Off is now known as robustus
Sawbones has joined #ruby
jpstokes has joined #ruby
ta has quit [Ping timeout: 255 seconds]
einarj has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
adriancb has joined #ruby
asmodlol has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
fedexo has quit [Read error: Connection reset by peer]
Xiti` has joined #ruby
fedexo has joined #ruby
lampd1 has quit [Remote host closed the connection]
jumex_ has joined #ruby
kalusn has joined #ruby
felixjet_ has joined #ruby
leafybas_ has joined #ruby
tercenya_ has joined #ruby
nateberkopec has quit [Client Quit]
shanlar- has joined #ruby
wallerdev_ has joined #ruby
asmodlol has joined #ruby
wallerdev_ has quit [Client Quit]
wldcordeiro has joined #ruby
dling` has joined #ruby
wallerdev_ has joined #ruby
renier_ has joined #ruby
jerikl1 has joined #ruby
jonathanwallace_ has joined #ruby
Musashi007 has joined #ruby
siwica1 has joined #ruby
Prometheian_ has joined #ruby
pjaspers_ has joined #ruby
dereck has joined #ruby
<blizzy> I have a variable named 'foo'
xxneolithicxx has left #ruby [#ruby]
jimmyhoughjr has quit [Quit: Textual IRC Client: www.textualapp.com]
jsaak has joined #ruby
<blizzy> how would I make a prototype for that variable?
zanzibizarre1 has joined #ruby
bonhoeffer_ has joined #ruby
<sevenseacat> eh?
sssilver| has joined #ruby
klmlfl has quit [Remote host closed the connection]
<blizzy> like
<blizzy> foo.can(bar)
nwkr has joined #ruby
bthesorceror_ has joined #ruby
marens_ has joined #ruby
* sevenseacat wonders what blizzy is talking about
DefV_ has joined #ruby
ecksit has joined #ruby
IceyEC_ has joined #ruby
speaking2ode has joined #ruby
drakhu_ has joined #ruby
ta has joined #ruby
rtl_ has joined #ruby
<blizzy> do you know Javascript.
Meeh_ has joined #ruby
ukd1 has joined #ruby
<sevenseacat> yep
<blizzy> you know how in Javascript, you can have prototypes?
<blizzy> I'm trying to make something like this: foo.strip
<sevenseacat> what is foo
<blizzy> I'm trying to make my own version of strip
<blizzy> it's just a string.
skinny_much_ has joined #ruby
<sevenseacat> so you want to monkey-patch string?
ItSAN____ has joined #ruby
<blizzy> nevermind.
<sevenseacat> k
oleo__ has joined #ruby
Xiti` has quit [Quit: Xiti`]
p8952_ has joined #ruby
adriancb has quit [Remote host closed the connection]
adeponte has joined #ruby
scottyob_ has joined #ruby
A0v4 has joined #ruby
Xiti` has joined #ruby
davidcel- has joined #ruby
mumblerit has joined #ruby
cherwin_ has joined #ruby
mumblerit is now known as Guest80305
braincra- has joined #ruby
asmodlol has quit [Ping timeout: 255 seconds]
hfp__work has joined #ruby
zanzibizarre has quit [*.net *.split]
kayloos has quit [*.net *.split]
bthesorceror has quit [*.net *.split]
x77686d has quit [*.net *.split]
spupuser1 has quit [*.net *.split]
Prometheian has quit [*.net *.split]
speaking1ode has quit [*.net *.split]
trampi has quit [*.net *.split]
oleo has quit [*.net *.split]
Meeh has quit [*.net *.split]
renier has quit [*.net *.split]
snath has quit [*.net *.split]
psy_ has quit [*.net *.split]
dling has quit [*.net *.split]
leafybasil has quit [*.net *.split]
sssilver has quit [*.net *.split]
jumex has quit [*.net *.split]
swartwulf has quit [*.net *.split]
tekku has quit [*.net *.split]
helpa has quit [*.net *.split]
p8952 has quit [*.net *.split]
marens has quit [*.net *.split]
tercenya has quit [*.net *.split]
thomas has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
DefV has quit [*.net *.split]
skinny_much has quit [*.net *.split]
jnylen has quit [*.net *.split]
rtl has quit [*.net *.split]
hfp_work has quit [*.net *.split]
Nowaker has quit [*.net *.split]
DylanJ has quit [*.net *.split]
Guest42233 has quit [*.net *.split]
keelerm has quit [*.net *.split]
dfedde has quit [*.net *.split]
cherwin has quit [*.net *.split]
Liothen has quit [*.net *.split]
bonhoeffer has quit [*.net *.split]
siwica has quit [*.net *.split]
Aova has quit [*.net *.split]
SparkMasterTape has quit [*.net *.split]
Xiti has quit [*.net *.split]
jefus has quit [*.net *.split]
ARCADIVS has quit [*.net *.split]
bjornar has quit [*.net *.split]
wallerdev has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
braincrash has quit [*.net *.split]
lolmaus has quit [*.net *.split]
felixjet has quit [*.net *.split]
weaksauce has quit [*.net *.split]
ReinH has quit [*.net *.split]
s_e has quit [*.net *.split]
jsaak_ has quit [*.net *.split]
shanlar has quit [*.net *.split]
genpaku has quit [*.net *.split]
mattp_ has quit [*.net *.split]
Crazy_Atheist has quit [*.net *.split]
gomix has quit [*.net *.split]
wldcordeiro_ has quit [*.net *.split]
drakhu has quit [*.net *.split]
jerikl has quit [*.net *.split]
Guest18772 has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
smooth_penguin has quit [*.net *.split]
davidcelis has quit [*.net *.split]
bthesorceror_ is now known as bthesorceror
skinny_much_ is now known as skinny_much
bonhoeffer_ is now known as bonhoeffer
jonathanwallace_ is now known as jonathanwallace
wallerdev_ is now known as wallerdev
cherwin_ is now known as cherwin
davidcel- is now known as davidcelis
jumex_ is now known as jumex
davidcelis has joined #ruby
davidcelis has quit [Changing host]
mattp__ has joined #ruby
scottyob_ is now known as scottyob
s_e_ has joined #ruby
hfp__work is now known as hfp_work
symbol has quit [Quit: WeeChat 1.1]
ta has quit [Ping timeout: 276 seconds]
<blizzy> ok, let me try this again
asmodlol has joined #ruby
helpa has joined #ruby
<blizzy> instead of typing "foo(user, bar)", I want to be able to type "user.foo(bar)"
dfedde has joined #ruby
s_e_ is now known as s_e
tekk has joined #ruby
genpaku has joined #ruby
davedev24_ has quit [Ping timeout: 252 seconds]
smooth_penguin has joined #ruby
A0v4 has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ByronJohnson has joined #ruby
Aova has joined #ruby
keelerm has joined #ruby
scripore has joined #ruby
Sgeo has joined #ruby
tmtwd_ has joined #ruby
gomix has joined #ruby
shanlar has joined #ruby
ta has joined #ruby
ReinH has joined #ruby
bjornar has joined #ruby
njection has quit []
jnylen has joined #ruby
renier has joined #ruby
avelldiroll has joined #ruby
thomas has joined #ruby
Liothen has joined #ruby
wldcordeiro_ has joined #ruby
DylanJ has joined #ruby
DylanJ has quit [Max SendQ exceeded]
BTRE has quit [Ping timeout: 256 seconds]
psy_ has joined #ruby
MrBeardy has quit []
spupuser1 has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
greenbagels has joined #ruby
<vandemar> blizzy: you want to add a method to user.class
leafybasil has joined #ruby
swartwulf has joined #ruby
dereck1 has joined #ruby
Sawbones has quit [Remote host closed the connection]
seanmarcia_ has joined #ruby
Crazy_Atheist has joined #ruby
miah_ has joined #ruby
hamakn has quit [Remote host closed the connection]
deryl has joined #ruby
_Andres_ has joined #ruby
backhoe has quit [Ping timeout: 246 seconds]
olekenneth has joined #ruby
yeticry_ has joined #ruby
snath has joined #ruby
cvtsx1 has joined #ruby
tskogber1 has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
davidhq has joined #ruby
<blizzy> vandemar, ok so I do that. let's say I wanted a method named user.length_of
zumbi has joined #ruby
<blizzy> to get the length of user, how would I achieve that. would I use this.length?
ta has quit [Ping timeout: 265 seconds]
gigetoo_ has joined #ruby
DylanJ has joined #ruby
DylanJ has joined #ruby
flipdip has joined #ruby
klaas_ has joined #ruby
Liothen has quit [Changing host]
Liothen has joined #ruby
anekos is now known as 17SABIIGJ
lolmaus has joined #ruby
anekos has joined #ruby
swistak35 has joined #ruby
ARCADIVS has joined #ruby
ARCADIVS has quit [Max SendQ exceeded]
xcesariox has joined #ruby
Ulrike_Schultz has joined #ruby
backhoe has joined #ruby
<jhass> blizzy: this -> self and it's implicit, just leave it off
saltsa_ has joined #ruby
pipecloud has joined #ruby
jriese has quit [Ping timeout: 244 seconds]
shanlar- has quit [Read error: Connection reset by peer]
<jhass> did you write a class in Ruby before?
ARCADIVS has joined #ruby
pipecloud has quit [Changing host]
pipecloud has joined #ruby
Joufflu has joined #ruby
dnewkerk has joined #ruby
miah_ has quit [Changing host]
miah_ has joined #ruby
miah has quit [Disconnected by services]
miah_ is now known as miah
jpstokes has quit [Remote host closed the connection]
Prometheian has joined #ruby
qpls_ has joined #ruby
phreax_ has joined #ruby
ta has joined #ruby
digifiv5e has joined #ruby
jimmyhoughjr has joined #ruby
Armand has joined #ruby
digifiv5e is now known as Guest482
Armand is now known as Guest67136
crazed_ has joined #ruby
Ankhers has joined #ruby
three18t- has joined #ruby
<blizzy> nvm I figured it out. thanks, jhass.
nateberkopec has joined #ruby
BTRE has joined #ruby
fedexo has quit [Remote host closed the connection]
spacemud_ has joined #ruby
ninedrag0n has joined #ruby
17SABIIGJ has quit [Ping timeout: 244 seconds]
yeticry has quit [Ping timeout: 244 seconds]
_Andres has quit [Ping timeout: 244 seconds]
dereck has quit [Ping timeout: 244 seconds]
ddd has quit [Ping timeout: 244 seconds]
seanmarcia has quit [Ping timeout: 244 seconds]
Apocalypse has quit [Ping timeout: 244 seconds]
tmtwd has quit [Ping timeout: 244 seconds]
Sgeo_ has quit [Ping timeout: 244 seconds]
renier_ has quit [Ping timeout: 244 seconds]
cvtsx has quit [Ping timeout: 244 seconds]
surs has quit [Ping timeout: 244 seconds]
leafybas_ has quit [Ping timeout: 244 seconds]
deryl is now known as ddd
Prometheian_ has quit [*.net *.split]
gigetoo has quit [*.net *.split]
ValicekB has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
zumbi_ has quit [*.net *.split]
saltsa has quit [*.net *.split]
ninedragon has quit [*.net *.split]
pipework has quit [*.net *.split]
MrSparkle has quit [*.net *.split]
spacemud has quit [*.net *.split]
klaas has quit [*.net *.split]
daynaskully has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
crazed has quit [*.net *.split]
tskogberg has quit [*.net *.split]
camt has quit [*.net *.split]
three18ti has quit [*.net *.split]
bakis has quit [*.net *.split]
phreax has quit [*.net *.split]
qpls has quit [*.net *.split]
ninedrag0n is now known as ninedragon
spacemud_ is now known as spacemud
pipecloud is now known as pipework
Ulrike_Schultz is now known as Ulrike_Rayne
gigetoo_ is now known as gigetoo
Kilobyte|StupidC has joined #ruby
weaksauce has joined #ruby
ta has quit [Ping timeout: 276 seconds]
rbennacer has quit [Remote host closed the connection]
codeFiend has joined #ruby
ValicekB_ has joined #ruby
fedexo has joined #ruby
rbennacer has joined #ruby
oo_ has joined #ruby
Eiam_ has joined #ruby
bronson has joined #ruby
kalusn has quit [Remote host closed the connection]
<dnewkerk> Is there a better way to write this bit of Ruby to not have the redundant key == ‘xyz’?… attributes.all? { |key, value| key == '_destroy' || key == 'position' || value.blank? }
ValicekB_ is now known as ValicekB
mclee has quit [Ping timeout: 256 seconds]
BeLucid_ has joined #ruby
toertore has joined #ruby
matled- has joined #ruby
rbennacer has quit [Remote host closed the connection]
pu22l3r_ has joined #ruby
jerikl has joined #ruby
ChoiKyuSang_ has joined #ruby
rbennacer has joined #ruby
havenn has joined #ruby
allcentu1 has joined #ruby
leonshalimov has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Ping timeout: 245 seconds]
danjordan_ has joined #ruby
patric101e99 has joined #ruby
pdoherty has joined #ruby
davedev2_ has joined #ruby
electrical_ has joined #ruby
<jhass> dnewkerk: for two I wouldn't do it, but the idiom for that is %w[_destroy position].include?(key)
bluehavana_ has joined #ruby
camt has joined #ruby
callenb____ has joined #ruby
bcavileer__ has joined #ruby
kyote_ has joined #ruby
Rhainur1 has joined #ruby
chrisseaton_ has joined #ruby
eregon_ has joined #ruby
ellisTAA_ has joined #ruby
rkornmeyer_ has joined #ruby
jriese has joined #ruby
oo_ has joined #ruby
bjeanes__ has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
adys has joined #ruby
mikemac has joined #ruby
AdamMeghji__ has joined #ruby
wallerdev_ has joined #ruby
MiracleBlue_ has joined #ruby
alol__ has joined #ruby
securitybot2 has joined #ruby
RTG has joined #ruby
drakhu has joined #ruby
RTG is now known as Guest36764
mischief_ has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
gigetoo_ has joined #ruby
slash_ni1k has joined #ruby
xsdg_ has joined #ruby
ruisanto1 has joined #ruby
mclee has joined #ruby
Nigel_ has joined #ruby
wmoxam_ has joined #ruby
kloeri_ has joined #ruby
wang has joined #ruby
Sp4rKy_ has joined #ruby
BaNzounet has joined #ruby
Pro|_ has joined #ruby
hendrici1s has joined #ruby
cout_ has joined #ruby
bennyklo1z has joined #ruby
bhaak_ has joined #ruby
sudog_ has joined #ruby
ikanobori_ has joined #ruby
ByronJoh1son has joined #ruby
rodasc has joined #ruby
ahuman has joined #ruby
<dnewkerk> jhass: cool thanks… yeah I agree, for 2 it’s overkill. I’ve run into other cases where there were more and was never sure how to handle it
yeltzooo has joined #ruby
zacts_ has joined #ruby
leonshalimov has quit [Ping timeout: 245 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
kevr_ has joined #ruby
slash_ni1k is now known as slash_nick
slash_nick has quit [Changing host]
slash_nick has joined #ruby
withnale_ has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
nomadic_ has joined #ruby
lifenoodles_ has joined #ruby
dredozub- has joined #ruby
ryotarai_ has joined #ruby
cavity_ has joined #ruby
Mongey_ has joined #ruby
timmow_ has joined #ruby
server129 has joined #ruby
gf3_ has joined #ruby
Scientz has joined #ruby
Brando753-o_O_o has joined #ruby
mr_rich102 has joined #ruby
kevinfagan_ has joined #ruby
uber_ has joined #ruby
lorn_ has joined #ruby
bmn_ has joined #ruby
it0a has quit [Ping timeout: 276 seconds]
<ellisTAA_> what is the title of someone who is the equivalent of a ceo for software engineering?
kenichi_ has joined #ruby
unCork has joined #ruby
qpls_ has quit [*.net *.split]
backhoe has quit [*.net *.split]
gigetoo has quit [*.net *.split]
_Andres_ has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
davedev24_ has quit [*.net *.split]
drakhu_ has quit [*.net *.split]
ecksit has quit [*.net *.split]
jerikl1 has quit [*.net *.split]
wallerdev has quit [*.net *.split]
goshdarnyou has quit [*.net *.split]
arescorpio has quit [*.net *.split]
allcentury has quit [*.net *.split]
ellisTAA has quit [*.net *.split]
Rhainur has quit [*.net *.split]
benlakey has quit [*.net *.split]
ElderFain has quit [*.net *.split]
bhaak has quit [*.net *.split]
yvemath has quit [*.net *.split]
AdamMeghji_ has quit [*.net *.split]
sameerynho has quit [*.net *.split]
rkornmeyer has quit [*.net *.split]
sudog has quit [*.net *.split]
patrick99e99 has quit [*.net *.split]
danjordan has quit [*.net *.split]
otertore has quit [*.net *.split]
bascht has quit [*.net *.split]
nomadic has quit [*.net *.split]
pu22l3r has quit [*.net *.split]
davout has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
ChoiKyuSang has quit [*.net *.split]
ekem has quit [*.net *.split]
alol_ has quit [*.net *.split]
bcavileer_ has quit [*.net *.split]
bjeanes_ has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
callenb___ has quit [*.net *.split]
Adran has quit [*.net *.split]
crazymykl has quit [*.net *.split]
sarlalian has quit [*.net *.split]
jokke has quit [*.net *.split]
crodas has quit [*.net *.split]
_chs_ has quit [*.net *.split]
ikanobori has quit [*.net *.split]
bestie has quit [*.net *.split]
kyote has quit [*.net *.split]
jpinnix______ has quit [*.net *.split]
hdrv has quit [*.net *.split]
chishiki has quit [*.net *.split]
aspiers has quit [*.net *.split]
electrical has quit [*.net *.split]
jeregrine has quit [*.net *.split]
Ridley5 has quit [*.net *.split]
xsdg has quit [*.net *.split]
MiracleBlue has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
bluehavana has quit [*.net *.split]
guardian has quit [*.net *.split]
G has quit [*.net *.split]
snzmn has quit [*.net *.split]
zacts has quit [*.net *.split]
Dwarf has quit [*.net *.split]
kloeri has quit [*.net *.split]
Brando753 has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
jleclanche has quit [*.net *.split]
wlanboy has quit [*.net *.split]
thoraxe has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
benatkin has quit [*.net *.split]
<havenn> ellisTAA_: CTO typically
ninjazach has quit [*.net *.split]
mischief has quit [*.net *.split]
danjordan_ is now known as danjordan
gf3_ is now known as gf3
wallerdev_ is now known as wallerdev
gigetoo_ is now known as gigetoo
Scientz is now known as Scient
matled- is now known as matled
ellisTAA_ is now known as ellisTAA
ryotarai_ is now known as ryotarai
_br_- has joined #ruby
unCork is now known as Cork
_Andres has joined #ruby
qpls has joined #ruby
uber_ is now known as uber
wlanboy has joined #ruby
ta has joined #ruby
dhruvasagar has joined #ruby
rkornmeyer_ is now known as rkornmeyer
RoryHughes has joined #ruby
Brando753-o_O_o is now known as Brando753
AdamMeghji__ is now known as AdamMeghji_
zzz_Ridley has joined #ruby
chrisseaton_ is now known as chrisseaton
kyote_ is now known as kyote
callenb____ is now known as callenb___
Dwarf has joined #ruby
securitybot2 is now known as _chs_
davout has joined #ruby
Mission-Critical has joined #ruby
max96at|off has joined #ruby
sirecote has joined #ruby
zzz_Ridley is now known as Ridley5
max96at|off is now known as max96at
ninjazach has joined #ruby
ninjazach is now known as Guest1944
Ridley5 has quit [Changing host]
Ridley5 has joined #ruby
bjeanes__ is now known as bjeanes_
marahin has joined #ruby
_chs_ is now known as Guest37310
hyperdrive has joined #ruby
marahin is now known as Guest1719
skj3gg has joined #ruby
oddraisin has joined #ruby
scottstamp_ has joined #ruby
<ellisTAA> havenn: ty
bcavileer__ is now known as bcavileer_
havenn has quit [Remote host closed the connection]
snzmn has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
bluehavana_ is now known as bluehavana
benatkin has joined #ruby
echevemaster has quit [Remote host closed the connection]
alol__ has quit [Ping timeout: 245 seconds]
withnale_ has quit [Ping timeout: 276 seconds]
rbennacer has quit [Remote host closed the connection]
akkad has joined #ruby
Sawbones has joined #ruby
havenwood has joined #ruby
MiracleBlue_ is now known as MiracleBlue
iamninja has quit [Remote host closed the connection]
alol__ has joined #ruby
rbennacer has joined #ruby
sent1nel has joined #ruby
ekem has joined #ruby
electrical_ is now known as electrical
Adran has joined #ruby
bakis has joined #ruby
xcesariox has quit [Ping timeout: 246 seconds]
zemlya has quit [Ping timeout: 264 seconds]
qpls has quit [Read error: Connection timed out]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
qpls has joined #ruby
backhoe has joined #ruby
epitron has joined #ruby
goshdarnyou has joined #ruby
ta has quit [Ping timeout: 276 seconds]
ikanobori_ is now known as ikanobori
xrlabs has joined #ruby
benlakey has joined #ruby
maximski has joined #ruby
jouty has joined #ruby
aspiers has joined #ruby
xybre has joined #ruby
xybre has joined #ruby
sameerynho has joined #ruby
jpinnix______ has joined #ruby
pizzaops has joined #ruby
bestie has joined #ruby
pl1ght has joined #ruby
sarlalian has joined #ruby
sent1nel has quit [Ping timeout: 240 seconds]
thoraxe has joined #ruby
xcesariox has joined #ruby
v0n has joined #ruby
majoh has joined #ruby
jeregrine has joined #ruby
programmerq has joined #ruby
chishiki has joined #ruby
nicolastarzia has joined #ruby
ki0 has joined #ruby
jimmyhoughjr has quit [Quit: Textual IRC Client: www.textualapp.com]
dc_ has quit [Remote host closed the connection]
ta has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
josephndenton has joined #ruby
dc has joined #ruby
dualbus has joined #ruby
Musashi007 has quit [Quit: Musashi007]
canton7 has joined #ruby
ElderFain has joined #ruby
bascht has joined #ruby
dc has quit [Remote host closed the connection]
ElderFain has quit [Changing host]
ElderFain has joined #ruby
canton7 has quit [Changing host]
canton7 has joined #ruby
jokke has joined #ruby
<blizzy> anyway to map methods to hashes?
<blizzy> like "foo = {'bar' => foobar()}
<blizzy> "
nicolastarzia has quit [Ping timeout: 252 seconds]
ki0 has quit [Ping timeout: 245 seconds]
zacts_ has quit [Quit: leaving]
zacts has joined #ruby
iamninja has joined #ruby
scottstamp_ is now known as scottstamp
adriancb has joined #ruby
oo_ has joined #ruby
snapcase has quit [Ping timeout: 250 seconds]
josephndenton has quit [Ping timeout: 272 seconds]
ta has quit [Ping timeout: 245 seconds]
mgorbach has quit [Quit: ZNC - http://znc.in]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
Sawbones has quit [Remote host closed the connection]
skj3gg has quit [Quit: ZZZzzz…]
russt has joined #ruby
Mission-Critical is now known as MissionCritical
callenb___ has quit [Read error: Connection reset by peer]
tmoore_ has quit [Read error: Connection reset by peer]
maximski has quit []
oo_ has quit [Remote host closed the connection]
grubernaut has quit [Ping timeout: 245 seconds]
jblancett has quit [Read error: Connection reset by peer]
allcentu1 has quit [Ping timeout: 276 seconds]
casual_ has quit [Ping timeout: 276 seconds]
OliverTynes has quit [Read error: Connection reset by peer]
skmp has quit [Ping timeout: 272 seconds]
maZtah has quit [Read error: Connection reset by peer]
jeregrine has quit [Read error: Connection reset by peer]
cstrahan_ has quit [Read error: Connection reset by peer]
alol__ has quit [Ping timeout: 245 seconds]
rfv has quit [Ping timeout: 245 seconds]
MiracleBlue has quit [Ping timeout: 276 seconds]
djbender has quit [Read error: Connection reset by peer]
chrisseaton has quit [Read error: Connection reset by peer]
bcavileer_ has quit [Ping timeout: 245 seconds]
vcoinminer has quit [Ping timeout: 245 seconds]
pusewicz has quit [Read error: Connection reset by peer]
hellschreiber has quit [Ping timeout: 272 seconds]
josephndenton has joined #ruby
rbennacer has quit [Remote host closed the connection]
tyfighter has joined #ruby
ZucchiniZe has quit [Read error: Connection reset by peer]
codeFiend has joined #ruby
charles81 has quit [Read error: Connection reset by peer]
OliverTynes has joined #ruby
bjeanes_ has quit [Ping timeout: 245 seconds]
jblancett has joined #ruby
nateberkopec has quit [Quit: Leaving...]
casual_ has joined #ruby
callenb___ has joined #ruby
tmoore_ has joined #ruby
oo_ has joined #ruby
cstrahan_ has joined #ruby
maZtah has joined #ruby
snapcase has joined #ruby
djbender has joined #ruby
chrisseaton has joined #ruby
pusewicz has joined #ruby
jeregrine has joined #ruby
sirecote has quit [Ping timeout: 252 seconds]
ZucchiniZe has joined #ruby
sirecote has joined #ruby
MiracleBlue has joined #ruby
charles81 has joined #ruby
mgorbach has joined #ruby
bcavileer_ has joined #ruby
kl__ has quit [Quit: Lost terminal]
kl has quit [Quit: Lost terminal]
<ellisTAA> i want to find out all the talks that have been given at ruby conf over the years. anyone know how i could go about getting that info?
vcoinminer has joined #ruby
try has quit [Quit: zzz]
skmp has joined #ruby
rfv has joined #ruby
Aova has quit [Read error: Connection reset by peer]
adriancb has quit [Remote host closed the connection]
grubernaut has joined #ruby
adriancb has joined #ruby
dfinninger has quit [Remote host closed the connection]
alol__ has joined #ruby
ta has joined #ruby
<havenwood> ellisTAA: You can watch them on Confreaks: http://www.confreaks.com/events/RubyConf2014
hellschreiber has joined #ruby
<ellisTAA> havenwood: ty
bjeanes_ has joined #ruby
<havenwood> They have back to '07.
davidhq has joined #ruby
Aova has joined #ruby
oo_ has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 255 seconds]
davidhq has quit [Client Quit]
ta has quit [Ping timeout: 276 seconds]
mrmargolis has quit [Remote host closed the connection]
xivusr has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
Rollabunna has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jnylen has quit [Quit: WeeChat 1.0.1]
adamski2600 has quit [Remote host closed the connection]
xivusr has quit [Ping timeout: 256 seconds]
spyderman4g63 has quit [Remote host closed the connection]
adamski2600 has joined #ruby
adamski2600 has quit [Remote host closed the connection]
ta has joined #ruby
jnylen has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
hamakn has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
spyderman4g63 has joined #ruby
backhoe has quit [Ping timeout: 264 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
backhoe has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
siwica1 has quit [Ping timeout: 272 seconds]
Sgeo_ has joined #ruby
fella6s has joined #ruby
russt has quit [Quit: russt]
zanzibizarre1 has quit [Quit: Leaving.]
Hobogrammer_ has joined #ruby
felixjet__ has joined #ruby
pierre1_ has joined #ruby
ta has quit [Ping timeout: 276 seconds]
monsieur1 has joined #ruby
pl1ght has quit [Ping timeout: 244 seconds]
hakunin_ has joined #ruby
ItSANgo_ has joined #ruby
russt has joined #ruby
Rollabun_ has joined #ruby
eka_ has joined #ruby
workmad3_ has joined #ruby
nettus has joined #ruby
<nettus> Asked about fastest ruby implementation/runtime (for ruby sass) some time ago.
<nettus> (Yes, there is libsass, but features are missing which I still need).
<nettus> OK, so mruby seems also to be an option, lightweight option.
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nopolitica has quit [Quit: leaving]
dmoe_________ has joined #ruby
gsd has joined #ruby
gsd has quit [Max SendQ exceeded]
wldcordeiro has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
Pro| has joined #ruby
crazed has joined #ruby
Skelz0r_ has joined #ruby
Drakevr_ has joined #ruby
gsd has joined #ruby
yeticry has joined #ruby
saltsa has joined #ruby
Nowaker has joined #ruby
thoraxe_ has joined #ruby
julie_harshaw has joined #ruby
<ellisTAA> as someone who doesn’t have any experience with other programming languages, how does ruby’s culture differ from other programming language cultures?
j0n3 has quit [Read error: Connection reset by peer]
ta has joined #ruby
agjacome has quit [Quit: leaving]
rowdychildren_ has joined #ruby
dmoe_________ is now known as dmoe
oo_ has quit [Ping timeout: 246 seconds]
JDiPierro has joined #ruby
pierre1_ has quit [Ping timeout: 245 seconds]
prasselpikachu_ has joined #ruby
DrCode has quit [Remote host closed the connection]
iamninja has quit [Remote host closed the connection]
YamakasY_ has joined #ruby
ta has quit [Ping timeout: 276 seconds]
it0a has joined #ruby
iamninja has joined #ruby
hfp__work has joined #ruby
bashusr2 has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
faulkner- has joined #ruby
sorc_ has joined #ruby
<havenwood> ellisTAA: We have a lot more foxes and chunky bacon than most languages. Matz is nice so we are nice. There's an informality and playfulness that stands out. The core team is mostly Japanese.
<havenwood> ellisTAA: It's a friendly community.
Snowstormer has joined #ruby
scottyob_ has joined #ruby
`ph8 has joined #ruby
dc has joined #ruby
riking_ has joined #ruby
<sevenseacat> this is true.
<sevenseacat> thats an awesome photo of tenderlove.
keen__________41 has quit [Ping timeout: 415 seconds]
ph8 has quit [Ping timeout: 415 seconds]
bashusr has quit [Ping timeout: 415 seconds]
superrorc has quit [Ping timeout: 415 seconds]
cats has quit [Ping timeout: 415 seconds]
faulkner has quit [Ping timeout: 415 seconds]
RowdyChildren has quit [Read error: Connection reset by peer]
Rollabunna has quit [Ping timeout: 628 seconds]
thoraxe has quit [Ping timeout: 628 seconds]
jouty has quit [Ping timeout: 628 seconds]
Pro|_ has quit [Ping timeout: 628 seconds]
crazed_ has quit [Ping timeout: 628 seconds]
yeticry_ has quit [Ping timeout: 628 seconds]
Sgeo has quit [Ping timeout: 628 seconds]
hfp_work has quit [Ping timeout: 628 seconds]
scottyob has quit [Ping timeout: 628 seconds]
ItSAN____ has quit [Ping timeout: 628 seconds]
nwkr has quit [Ping timeout: 628 seconds]
felixjet_ has quit [Ping timeout: 628 seconds]
eka has quit [Ping timeout: 628 seconds]
jschoolcraft has quit [Ping timeout: 628 seconds]
j416 has quit [Ping timeout: 628 seconds]
Hobogrammer has quit [Ping timeout: 628 seconds]
Skelz0r has quit [Ping timeout: 628 seconds]
Alina-malina has quit [Ping timeout: 628 seconds]
monsieurp has quit [Ping timeout: 628 seconds]
YamakasY has quit [Ping timeout: 628 seconds]
radic has quit [Ping timeout: 628 seconds]
Drakevr has quit [Ping timeout: 628 seconds]
workmad3 has quit [Ping timeout: 628 seconds]
^james^ has quit [Ping timeout: 628 seconds]
prasselpikachu has quit [Ping timeout: 628 seconds]
oz has joined #ruby
radic has joined #ruby
sn0wb1rd has joined #ruby
fella5s has quit [Ping timeout: 628 seconds]
hakunin has quit [Ping timeout: 628 seconds]
julieeharshaw has quit [Ping timeout: 628 seconds]
oz has quit [Ping timeout: 628 seconds]
Riking has quit [Ping timeout: 628 seconds]
sn0wb1rd has quit [Ping timeout: 628 seconds]
scottyob_ is now known as scottyob
hfp__work is now known as hfp_work
riking_ is now known as Riking
bashusr2 is now known as bashusr
Riking has quit [Changing host]
Riking has joined #ruby
bashusr has joined #ruby
bashusr has quit [Changing host]
faulkner- is now known as faulkner
rowdychildren_ is now known as RowdyChildren
^james^ has joined #ruby
keen__________41 has joined #ruby
j416 has joined #ruby
saltsa_ has quit [Ping timeout: 259 seconds]
<ellisTAA> havenwood: ty
jouty has joined #ruby
ta has joined #ruby
sent1nel has joined #ruby
mitchellhenke has joined #ruby
thomas has quit [Quit: leaving]
thomas has joined #ruby
xMopxShell has joined #ruby
Channel6 has joined #ruby
pierre1_ has joined #ruby
sent1nel has quit [Ping timeout: 255 seconds]
codeFiend has joined #ruby
ki0 has joined #ruby
Yzguy has joined #ruby
DrCode has joined #ruby
pl1ght has joined #ruby
jpstokes has joined #ruby
ta has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
ki0 has quit [Ping timeout: 264 seconds]
pierre1_ has quit [Quit: Leaving]
JDiPierro has quit [Remote host closed the connection]
oo_ has joined #ruby
braincra- has quit [Quit: bye bye]
ByronJoh1son is now known as ByronJohnson
braincrash has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
parametaortho has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
psy_ has quit [Read error: No route to host]
chipotle has quit [Quit: cheerio]
adriancb has quit [Remote host closed the connection]
oleo has joined #ruby
psy has joined #ruby
Aova has quit [Read error: Connection reset by peer]
oleo__ has quit [Ping timeout: 245 seconds]
Yzguy has quit [Quit: I'm bouncing outta here!]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Aova has joined #ruby
havenwood has joined #ruby
<epitron> havenwood: lolol
josephndenton has quit [Ping timeout: 246 seconds]
jamison has joined #ruby
flipdip is now known as MrSparkle
bronson has joined #ruby
tus has quit []
agrinb has joined #ruby
Nigel_ is now known as G
dc has quit [Remote host closed the connection]
leonshalimov has joined #ruby
arup_r has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
<ekem> ok finally getting back to this ruby building process, if i have libs id like to use that require compiling outside of the package manager, where the heck should i place those? or how do i link to those suckers
<ekem> dis be the error http://pastebin.com/2L6N5RTU
surs has joined #ruby
backhoe has quit [Ping timeout: 265 seconds]
leonshalimov has quit [Ping timeout: 255 seconds]
AlexRussia has quit [Ping timeout: 272 seconds]
learner has joined #ruby
michael_mbp has quit [Excess Flood]
withnale_ has joined #ruby
michael_mbp has joined #ruby
Megtastique has quit []
jenrzzz has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
fgo has joined #ruby
withnale_ has quit [Ping timeout: 244 seconds]
backhoe has joined #ruby
pdoherty has joined #ruby
dereck1 is now known as jefus
jamison has quit [Ping timeout: 246 seconds]
jimmyhoughjr has joined #ruby
ponga has joined #ruby
patric100e99 has quit [Ping timeout: 246 seconds]
AlexRussia has joined #ruby
pdoherty has quit [Ping timeout: 246 seconds]
nicolastarzia has joined #ruby
<blizzy> so, python has __str__ in classes to return a certain message. like, instead of returning <Hello:0x2606fb8 @name="foo">, it'll return something more readable.
<blizzy> is there one in ruby?
learner has quit [Ping timeout: 264 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
chipotle has joined #ruby
jpstokes has quit [Remote host closed the connection]
nicolastarzia has quit [Ping timeout: 264 seconds]
codeFiend has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
hgl has quit [Ping timeout: 264 seconds]
C1V0 has quit []
chipotle has quit [Quit: cheerio]
ki0 has joined #ruby
chipotle has joined #ruby
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
tejas-manohar has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
mischief_ is now known as mischief
jimmyhoughjr has quit [Ping timeout: 264 seconds]
jerematic has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
_Andres has joined #ruby
bthesorceror_ has joined #ruby
einarj has joined #ruby
ki0 has quit [Ping timeout: 244 seconds]
divi has joined #ruby
troubadour has joined #ruby
bthesorceror has quit [Ping timeout: 264 seconds]
bthesorceror_ is now known as bthesorceror
jerematic has quit [Ping timeout: 252 seconds]
<ekem> pretty cool slash_nick
<ekem> at full screen the image tiles though
<mozzarella> wtf does it do
einarj has quit [Ping timeout: 272 seconds]
<pontiki> that shit is awesome, slash_nick
<mozzarella> it's just a picture
<ekem> there is a sin function in there for pixel values as well
<ekem> for the sun moving across the earth
softinio has joined #ruby
hamakn has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
sent1nel has joined #ruby
hgl has joined #ruby
<mozzarella> I think the website is not working as intended on firefox…
lodgenbd has joined #ruby
mrmargolis has joined #ruby
Aova has quit [Read error: Connection reset by peer]
sent1nel has quit [Ping timeout: 265 seconds]
tejas-manohar has quit [Quit: Page closed]
kenneth has joined #ruby
sent1nel has joined #ruby
mrmargolis has quit [Ping timeout: 256 seconds]
kenneth has quit [Client Quit]
tejas-manohar has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
Aova has joined #ruby
hamakn has joined #ruby
cavity_ has quit [Quit: ZNC - http://znc.in]
ta has joined #ruby
cavity has joined #ruby
lodgenbd has quit [Quit: Leaving]
xivusr has joined #ruby
hiyosi has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
wmoxam_ has quit [Quit: leaving]
wmoxam has joined #ruby
pontiki2 has joined #ruby
hamakn has quit [Remote host closed the connection]
<slash_nick> mozzarella: thanks for the feedback... it's not just a picture, it'll seemlessly transition each minute
troubadour has quit [Quit: troubadour]
johnzz has joined #ruby
pontiki2 has quit [Client Quit]
<slash_nick> ekem: which tiles? I let it tile in the x direction for the one with the Mercator projection of earth (WhatEarthIsIt)...
hgl has quit [Read error: Connection reset by peer]
johnzz has quit [Client Quit]
xivusr has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 276 seconds]
<slash_nick> ekem: oh, they all do at fullscreen, nice, thanks!
ta has joined #ruby
hgl has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vim-shim has joined #ruby
<slash_nick> ekem: regarding the sine function, actually USNO's data services handle the image generation... these sites simply do some z-index shuffling to update background images without you noticing how slow USNO's data services are :)
ta has quit [Ping timeout: 244 seconds]
tyfighter has quit [Quit: tyfighter]
ozialien_ has joined #ruby
crazydiamond has quit [Ping timeout: 272 seconds]
tyfighter has joined #ruby
kenneth has joined #ruby
Kn|t3_ has joined #ruby
<ekem> slash_nick: yeah i was taking a look at the JS and noticed that
klmlfl has joined #ruby
<ekem> fix that tile at full screen and it willbe complete!
jenrzzz has quit [Ping timeout: 245 seconds]
jonmorehouse has joined #ruby
<slash_nick> ekem: it's fun fixing them all at once: https://gist.github.com/rthbound/5da9ebe4f31bb61fd602
hgl has quit [Ping timeout: 245 seconds]
TheNet has joined #ruby
mloveless has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
hgl has joined #ruby
codeFiend has joined #ruby
zemlya has joined #ruby
alex86 has joined #ruby
longfeet has quit [Ping timeout: 255 seconds]
<alex86> Hey, I am making a rails project and I want to make some methods that use multiple models, so I'm just wondering if there is some way of deciding which model class they should be part of
ta has joined #ruby
athan has quit [Read error: Connection reset by peer]
ponga has joined #ruby
<alex86> otherwise I guess I'll just choose one of the models randomly
<havenwood> alex86: You'll probably have better luck with Rails questions in the #RubyOnRails channel.
bronson has joined #ruby
tmtwd_ has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
<alex86> well apparently I need to be 'identified with services' so whatever I'll just use a random model
<sevenseacat> indeed, we dont like the anonymous spammers that tend to hang around open channels
<sevenseacat> seems like a good attitude to have, cant be bothered registering, will just make up some code :P
ta has quit [Ping timeout: 276 seconds]
alex86 has quit []
ki0 has joined #ruby
<sevenseacat> how odd.
tyfighter has quit [Quit: tyfighter]
Alina-malina has joined #ruby
ponga has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 264 seconds]
ki0 has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
crdpink2 has quit [Quit: q term]
crdpink2 has joined #ruby
tyfighter has joined #ruby
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
TheNet has quit [Remote host closed the connection]
rbennacer has joined #ruby
TheNet has joined #ruby
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
JoshGlzBrk has joined #ruby
ta has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
<arup_r> alex86: Hi
agrinb has quit [Ping timeout: 245 seconds]
athan has joined #ruby
Aova has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 265 seconds]
TheNet has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
leonshalimov has joined #ruby
spupuser1 has quit [Ping timeout: 246 seconds]
TheNet has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.1-dev]
AlexRussia has joined #ruby
staticshock has joined #ruby
TheNet has quit [Remote host closed the connection]
Aova has joined #ruby
TheNet has joined #ruby
leonshalimov has quit [Ping timeout: 272 seconds]
withnale_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kn|t3_ has quit [Quit: Kn|t3_]
Kn|t3_ has joined #ruby
staticshock has left #ruby ["WeeChat 1.0.1"]
withnale_ has quit [Ping timeout: 252 seconds]
klmlfl has quit [Remote host closed the connection]
mloveless has quit []
MasterPiece has joined #ruby
bakis has quit [Ping timeout: 245 seconds]
codeFiend has quit [Ping timeout: 252 seconds]
sinkensabe has joined #ruby
sent1nel has quit [Remote host closed the connection]
prasselpikachu_ has quit [Ping timeout: 252 seconds]
troubadour has joined #ruby
troubadour has quit [Remote host closed the connection]
hamakn has joined #ruby
bakis has joined #ruby
hvxgr has quit [Ping timeout: 255 seconds]
kalusn has joined #ruby
pdoherty has joined #ruby
prasselpikachu has joined #ruby
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
codeFiend has joined #ruby
sinkensabe has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 272 seconds]
speaking1ode has joined #ruby
robclancy has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
<robclancy> is there a shorter way to do this? http://kopy.io/ZAjc8
<robclancy> this is with active record so it probably already has a method to do that?
patrick99e99 has joined #ruby
speakingcode has quit [Ping timeout: 255 seconds]
<havenwood> robclancy: hem, the kopy.io link isn't loading for me
<havenwood> oh, maybe it just doesn't work with Chrome
<robclancy> it should, I know the guy who maintains it, must be issues
<robclancy> gisting it
jerematic has joined #ruby
josephndenton has joined #ruby
<robclancy> Post.all.each *
<robclancy> thought just each worked
<robclancy> oh find_each
<robclancy> but anyway, question is still the same
<havenwood> robclancy: posts = Post.all.map(&:id)
arup_r has quit [Ping timeout: 244 seconds]
<robclancy> thanks
<havenwood> robclancy: oh, no you want a Hash so..
<havenwood> Post.all.map { |post| [post.id, post] }.to_h
<robclancy> thanks
<robclancy> the to_h takes [[key, val], [key, val]] into a hash right?
<havenwood> ya
<robclancy> cheers
<havenwood> robclancy: You might want to ask in #RubyOnRails in case there's a fancy ActiveRecord trick, dunno.
<robclancy> that will do, it's just for a script not for somethign that is to be maintained for a long time
<robclancy> just knew there would be a one liner
jerematic has quit [Ping timeout: 240 seconds]
josephndenton has quit [Ping timeout: 245 seconds]
Eiam has quit [Ping timeout: 256 seconds]
Ankhers has quit [Ping timeout: 250 seconds]
danjordan has quit [Ping timeout: 264 seconds]
MasterPiece has quit [Remote host closed the connection]
Prometheian has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/20150108202552]]
ta has joined #ruby
dc has joined #ruby
Guest37310 is now known as _chs_
sent1nel has joined #ruby
Rollabun_ has quit [Remote host closed the connection]
hirzu has joined #ruby
TheNet has quit [Quit: Leaving...]
fgo has quit [Ping timeout: 276 seconds]
ta has quit [Ping timeout: 276 seconds]
spyderman4g63 has joined #ruby
hirzu has quit [Client Quit]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
arup_r has joined #ruby
spyderman4g63 has joined #ruby
tejas-manohar has quit [Quit: Page closed]
danjordan has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
hvxgr has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
adriancb has joined #ruby
Kn|t3_ has quit [Ping timeout: 255 seconds]
Aova has quit [Read error: Connection reset by peer]
Kn|t3_ has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
adriancb has quit [Ping timeout: 245 seconds]
The_Phoenix has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
softinio has quit [Quit: Connection closed for inactivity]
Aova has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
The_Phoenix has quit [Max SendQ exceeded]
chinmay_dd has joined #ruby
josephndenton has joined #ruby
The_Phoenix has joined #ruby
bthesorceror has joined #ruby
skinux has quit [Quit: skinux]
bronson has joined #ruby
robclancy has left #ruby ["Konversation terminated!"]
lkba_ has joined #ruby
learner has joined #ruby
ponga has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
Kn|t3_ has quit [Quit: Kn|t3_]
Spami has joined #ruby
codeFiend has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
xivusr has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
randiman has joined #ruby
ponga has quit [Ping timeout: 276 seconds]
tmtwd has quit [Ping timeout: 244 seconds]
tmtwd has joined #ruby
p0wn3d_mhs has quit [Quit: WeeChat 0.4.3]
fgo has joined #ruby
ta has joined #ruby
xivusr has quit [Ping timeout: 265 seconds]
it0a has quit [Ping timeout: 264 seconds]
kenneth has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
rippa has joined #ruby
Jackneill has joined #ruby
ta has quit [Ping timeout: 276 seconds]
patrick99e99 has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
patrick99e99 has joined #ruby
Sgeo has joined #ruby
sent1nel has quit [Remote host closed the connection]
ta has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sgeo_ has quit [Ping timeout: 244 seconds]
kenneth has joined #ruby
Ankhers has joined #ruby
claptor has quit [Quit: this channel is bakas]
ki0 has joined #ruby
ta has quit [Ping timeout: 265 seconds]
tyfighter has quit [Quit: tyfighter]
pontiki has quit [Quit: sleepy time]
ki0 has quit [Ping timeout: 265 seconds]
leonshalimov has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
Ankhers has quit [Ping timeout: 250 seconds]
spupuser has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
leonshalimov has quit [Ping timeout: 246 seconds]
backhoe has quit [Ping timeout: 264 seconds]
backhoe has joined #ruby
withnale_ has joined #ruby
lampd1 has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
withnale_ has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
Sawbones_ has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
codeFiend has joined #ruby
bluOxigen has joined #ruby
Sawbones_ has quit [Ping timeout: 256 seconds]
Aova has joined #ruby
nicolastarzia has joined #ruby
cantonic has joined #ruby
fgo has joined #ruby
Sawbones_ has joined #ruby
Channel6 has quit [Quit: Leaving]
antgel has joined #ruby
ponga has joined #ruby
russt has quit [Quit: russt]
nicolastarzia has quit [Ping timeout: 245 seconds]
sandelius has joined #ruby
RailWolf has quit [Ping timeout: 256 seconds]
gsd has quit [Ping timeout: 244 seconds]
yeticry has quit [Ping timeout: 272 seconds]
yeticry has joined #ruby
rbrs has joined #ruby
Sawbones_ has quit []
ponga has quit [Ping timeout: 245 seconds]
gsd has joined #ruby
ponga has joined #ruby
doobi-sham-53143 has joined #ruby
hightower4 has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
hamakn has joined #ruby
thotmx has joined #ruby
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
pdoherty has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pdoherty has quit [Ping timeout: 245 seconds]
bluOxigen has quit [Remote host closed the connection]
bluOxigen has joined #ruby
josephndenton has joined #ruby
defrang has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
josephndenton has quit [Ping timeout: 240 seconds]
sent1nel has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
arup_r has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
ki0 has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
lampd1 has quit [Remote host closed the connection]
arup_r has quit [Client Quit]
Ankhers has joined #ruby
pwnz0r has joined #ruby
sinkensabe has joined #ruby
BTRE has joined #ruby
ki0 has quit [Ping timeout: 276 seconds]
arup_r has joined #ruby
_matt has quit [Ping timeout: 245 seconds]
Ankhers has quit [Ping timeout: 250 seconds]
fgo has joined #ruby
codeFiend has joined #ruby
monsieur1 is now known as monsieurp
monsieurp has quit [Changing host]
monsieurp has joined #ruby
<atmosx> anyone around?
<atmosx> shevy: u here?
Y2K has joined #ruby
withnale_ has joined #ruby
<apeiros_> none of the 800+ users is here
olekenneth has quit [Ping timeout: 245 seconds]
lessless has joined #ruby
roshanavand1 has quit [Read error: Connection reset by peer]
<atmosx> shit I'm stuck with u?
<sevenseacat> nope. all sleeping.
<atmosx> oh okay now I feel more comfortable
jakesyl has quit [Ping timeout: 264 seconds]
* sevenseacat is afk watching tennis
<atmosx> ..
<atmosx> lol
ptrrr has joined #ruby
<atmosx> shevy: msg plz when you get back I need some help with recursion
bronson has joined #ruby
<sevenseacat> and only shevy knows the true secrets of how it works?
sinkensabe has quit [Remote host closed the connection]
jakesyl has joined #ruby
agrinb has joined #ruby
Rollabunna has joined #ruby
Aova has quit [Read error: Connection reset by peer]
withnale_ has quit [Ping timeout: 245 seconds]
Y2K has quit [Quit: Page closed]
kalusn has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 245 seconds]
<atmosx> sevenseacat: no you do too. Shevy is patient, the other guys are not so much and I'm having really hard time with this. I'm missing something but I can't tell exactly what.
<atmosx> brb
atmosx has quit [Quit: WeeChat 0.4.4-dev]
antgel has quit [Ping timeout: 265 seconds]
agrinb has quit [Ping timeout: 245 seconds]
<Perceptes> <-- very patient
Aova has joined #ruby
antgel has joined #ruby
roshanavand has joined #ruby
davedev2_ has quit [Remote host closed the connection]
pwnz0r has quit [Remote host closed the connection]
vdamewood has joined #ruby
ellisTAA has joined #ruby
SparkMasterTape has joined #ruby
atmosx has joined #ruby
<atmosx> aloha again
lkba_ has quit [Ping timeout: 276 seconds]
jgt2 has joined #ruby
shime has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
it0a has joined #ruby
tmtwd has quit [Remote host closed the connection]
Vivex_ has joined #ruby
canonprinter has joined #ruby
<shevy> sevenseacat do you doubt my wisdom?
<sevenseacat> never.
xivusr has joined #ruby
<shevy> you are a nice cat after all
<shevy> atmosx I don't really know the first thing about recursion... let's ask apeiros :-)
<atmosx> shevy: nah he is not polite with newbies
<shevy> or apeiros_ ... too many apeiroses
<shevy> haha
<shevy> he just is the grumpy old grandpa on IRC
<atmosx> I know
canonprinter has left #ruby ["bai"]
<apeiros_> get off my lawn, kids!
<atmosx> shevy: it's that I'm afraid is gonna take a lot of effort and I don't wanna upset him.
<atmosx> see?
<shevy> atmosx so a recursion is when you invoke the method itself right?
<atmosx> shevy: yeah...
<shevy> like that fibonacci implementation
<atmosx> yes.
<apeiros_> /nick apeiros|grumpygrandpa
Vivex has quit [Ping timeout: 252 seconds]
<atmosx> shevy: hm, I need to finish with this firewall optimisation and I'll see if I can work out the fibonacci thing on my own.
<shevy> hehe
<atmosx> shevy: then bug you a little bit more
<atmosx> I'll save apeiros_ for something a bit more challenging :-P
<shevy> programming is to a huge degree a pattern matching and pattern discovering procedure
<shevy> that's why you should know mathematics and that is what I am missing
<shevy> unless you use php
The_Phoenix has quit [Quit: Leaving.]
xivusr has quit [Ping timeout: 276 seconds]
jgt2 has quit [Ping timeout: 256 seconds]
codeFiend has quit [Ping timeout: 252 seconds]
fgo has quit [Ping timeout: 256 seconds]
dnewkerk has quit [Quit: dnewkerk]
leonshalimov has joined #ruby
The_Phoenix has joined #ruby
jeff-ooh has joined #ruby
rbrs has quit [Remote host closed the connection]
<atmosx> shevy: lol php for the win!
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
ta has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
leonshalimov has quit [Ping timeout: 245 seconds]
<arup_r> What is the best way to group of 3 elements like ar = (1..8).to_a to new_a = ar.some_method(4) # => [[1,2,3,4],[5,6,7,8]]
The_Phoenix has quit [Max SendQ exceeded]
<arup_r> sorry group of 4**
jeff-ooh has quit [Remote host closed the connection]
<arup_r> Any built in method/
Mon_Ouie has joined #ruby
The_Phoenix has joined #ruby
jenrzzz has joined #ruby
<arup_r> Ahh.. got it #.each_slice
Mia has joined #ruby
Mia has joined #ruby
codeFiend has joined #ruby
it0a has quit [Ping timeout: 256 seconds]
fgo has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
it0a has joined #ruby
Stoge88 has joined #ruby
thatslifeson has quit [Quit: Leaving]
fedexo has quit [Ping timeout: 245 seconds]
fgo has quit [Ping timeout: 264 seconds]
olekenneth has joined #ruby
agrinb has joined #ruby
nicolastarzia has joined #ruby
withnale_ has joined #ruby
lampd1 has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
hirzu has joined #ruby
CrazyM4n has joined #ruby
Aova has quit [Read error: Connection reset by peer]
aswen has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
<atmosx> arup_r: funny, I was doing the same thing yesterday.
withnale_ has quit [Ping timeout: 246 seconds]
nicolastarzia has quit [Ping timeout: 276 seconds]
YamakasY_ is now known as YamakasY
jenrzzz has quit [Ping timeout: 256 seconds]
Aova has joined #ruby
last_staff has joined #ruby
quimrstorres has joined #ruby
reinaldob has joined #ruby
sankaber has joined #ruby
pen has joined #ruby
dimaursu16 has quit [Ping timeout: 255 seconds]
hirzu has quit [Quit: This computer has gone to sleep]
vim-shim has quit [Quit: WeeChat 0.4.2]
ta_ has joined #ruby
CrazyM4n has quit [Remote host closed the connection]
BeLucid has joined #ruby
ta has quit [Ping timeout: 256 seconds]
Joufflu has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spupuser has quit [Remote host closed the connection]
ki0 has joined #ruby
rbrs has joined #ruby
BeLucid_ has quit [Ping timeout: 264 seconds]
shime has quit [Ping timeout: 264 seconds]
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
asmodlol has quit [Ping timeout: 252 seconds]
asmodlol has joined #ruby
cantonic has quit [Quit: cantonic]
cantonic has joined #ruby
josephndenton has joined #ruby
dimaursu16 has joined #ruby
Stoge88 has joined #ruby
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
reinaldob has quit [Ping timeout: 252 seconds]
ki0 has quit [Remote host closed the connection]
kstuart has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
sent1nel has joined #ruby
last_staff has quit [Ping timeout: 245 seconds]
pdoherty has quit [Ping timeout: 264 seconds]
oleo has quit [Quit: Verlassend]
sent1nel has quit [Ping timeout: 245 seconds]
Kilobyte|StupidC is now known as Kilo`byte
ki0 has joined #ruby
bonhoeffer has joined #ruby
ta has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
codeFiend has quit [Ping timeout: 252 seconds]
spyderman4g63 has joined #ruby
Ankhers has joined #ruby
quimrstorres has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 276 seconds]
spyderman4g63 has joined #ruby
oleo has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
codeFiend has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
pengin has joined #ruby
davedev24_ has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
jgt2 has joined #ruby
commmmodo has quit [Quit: commmmodo]
baltazore has joined #ruby
fgo has joined #ruby
bronson has joined #ruby
xivusr has joined #ruby
_matt has joined #ruby
agrinb has joined #ruby
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
ptrrr has quit [Quit: ptrrr]
fgo has quit [Ping timeout: 245 seconds]
bronson has quit [Ping timeout: 240 seconds]
pengin has quit [Remote host closed the connection]
it0a has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 245 seconds]
pengin has joined #ruby
_matt has quit [Ping timeout: 256 seconds]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
thatslifeson has joined #ruby
banister has joined #ruby
pengin has quit [Ping timeout: 244 seconds]
apeiros_ has quit [Ping timeout: 244 seconds]
atmosx has quit [Read error: Connection reset by peer]
spider-mario has joined #ruby
jokke is now known as foo
foo is now known as jokke
Aova has quit [Read error: Connection reset by peer]
SparkMasterTape has quit [Ping timeout: 265 seconds]
SparkMasterTape has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aova has joined #ruby
thatslifeson_ has joined #ruby
lampd1 has quit [Remote host closed the connection]
xivusr has quit [Ping timeout: 244 seconds]
lampd1 has joined #ruby
FooMunki_ has joined #ruby
thatslifeson has quit [Ping timeout: 246 seconds]
thatslifeson_ is now known as thatslifeson
patrick99e99 has quit [Ping timeout: 256 seconds]
roshanavand has joined #ruby
lampd1 has quit [Remote host closed the connection]
FooMunki_ has quit [Client Quit]
roshanavand has quit [Remote host closed the connection]
EvanFreeman has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krz has joined #ruby
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
shime has joined #ruby
oo_ has quit [Remote host closed the connection]
Xeago has joined #ruby
cantonic has quit [Quit: cantonic]
sevenseacat has quit [Remote host closed the connection]
malcolmva has quit [Ping timeout: 276 seconds]
baltazore has quit [Remote host closed the connection]
chinmay_dd has quit [Quit: Connection closed for inactivity]
Xeago has quit [Remote host closed the connection]
zwer_w has joined #ruby
dragon_lady has joined #ruby
jerematic has joined #ruby
leonshalimov has joined #ruby
zwer has quit [Ping timeout: 250 seconds]
dragon_lady has quit [Quit: Page closed]
ta has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 264 seconds]
aswen has joined #ruby
ta has joined #ruby
jerematic has quit [Ping timeout: 245 seconds]
asmodlol has joined #ruby
leonshalimov has quit [Ping timeout: 252 seconds]
malcolmva has joined #ruby
swistak35 has left #ruby [#ruby]
krz has quit [Quit: WeeChat 1.0.1]
codeFiend has quit [Ping timeout: 252 seconds]
patrick99e99 has joined #ruby
FooMunki has joined #ruby
atmosx has joined #ruby
codeFiend has joined #ruby
ptrrr has joined #ruby
agrinb has joined #ruby
oo_ has joined #ruby
FooMunki has quit [Quit: FooMunki]
sent1nel has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
longlivetheking has joined #ruby
withnale_ has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
FooMunki_ has joined #ruby
fgo has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
jonmorehouse has quit [Ping timeout: 240 seconds]
sent1nel has quit [Ping timeout: 252 seconds]
withnale_ has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 252 seconds]
nfk has joined #ruby
Xeago has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Beoran_ has joined #ruby
arup_r has joined #ruby
Beoran__ has quit [Ping timeout: 272 seconds]
wow has joined #ruby
Xeago has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
ki0 has quit [Remote host closed the connection]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
lessless has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
iamninja has joined #ruby
antgel has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
wow has quit [Quit: leaving]
antgel has joined #ruby
ta has quit [Remote host closed the connection]
oo_ has joined #ruby
Xeago has joined #ruby
xivusr has joined #ruby
Aova has joined #ruby
ki0 has joined #ruby
jpstokes has joined #ruby
atmosx_ has joined #ruby
asmodlol has quit [Quit: Leaving]
sorc_ has quit [Quit: ZNC - http://znc.in]
ta has joined #ruby
xivusr has quit [Ping timeout: 245 seconds]
arup_r1 has joined #ruby
atmosx has quit [Quit: Let him that would move the world first move himself. - Socrates]
atmosx_ has quit [Client Quit]
arup_r has quit [Ping timeout: 272 seconds]
ki0 has quit [Remote host closed the connection]
josephndenton has joined #ruby
asmodlol has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
atmosx has joined #ruby
oo_ has quit [Remote host closed the connection]
ta has quit [Ping timeout: 246 seconds]
josephndenton has quit [Ping timeout: 245 seconds]
arup_r1 has quit [Quit: Leaving.]
arup_r has joined #ruby
atmosx has quit [Quit: WeeChat 0.4.4-dev]
backhoe has quit [Ping timeout: 245 seconds]
backhoe has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
ta has joined #ruby
EvanFreeman has joined #ruby
jeff-ooh has joined #ruby
vikram_ has joined #ruby
fgo has joined #ruby
jeff-ooh has quit [Client Quit]
jgt2 has quit [Ping timeout: 264 seconds]
EvanFreeman has quit [Ping timeout: 244 seconds]
Ankhers has joined #ruby
oo_ has joined #ruby
mostlybadfly has joined #ruby
misc_ has joined #ruby
havenwood has quit [Remote host closed the connection]
ta has quit [Ping timeout: 276 seconds]
<misc_> hello guys, I try to do bundler install and I get this error message: Could not find i18n-0.7.0 in any of the sources, any ideas?
codeFiend has joined #ruby
spyderman4g63 has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
trampi has joined #ruby
backhoe has quit [Ping timeout: 244 seconds]
spyderman4g63 has quit [Ping timeout: 246 seconds]
hamakn has quit [Remote host closed the connection]
ta has joined #ruby
oo_ has quit [Remote host closed the connection]
backhoe has joined #ruby
bronson has joined #ruby
jamison has joined #ruby
phoo1234567 has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
ta has quit [Ping timeout: 256 seconds]
asmodlol has quit [Ping timeout: 245 seconds]
phoo1234567 has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: Leaving]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
randiman has quit [Quit: (null)]
asmodlol has joined #ruby
Spami has joined #ruby
longlivetheking has quit [Ping timeout: 276 seconds]
lxsameer_ has joined #ruby
oo_ has joined #ruby
Takle has joined #ruby
hiyosi has joined #ruby
sameerynho has quit [Ping timeout: 264 seconds]
maximski has joined #ruby
Takle has quit [Remote host closed the connection]
alex88 has joined #ruby
_matt has joined #ruby
tokik has joined #ruby
rebcabin has joined #ruby
misc_ has quit [Ping timeout: 264 seconds]
soulcake has quit [Quit: Quack.]
FooMunki_ has quit [Quit: FooMunki_]
ta has joined #ruby
oo_ has quit [Remote host closed the connection]
ta has quit [Ping timeout: 276 seconds]
p8952_ has quit [Quit: ZNC - http://znc.in]
siwica has joined #ruby
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
alex88 has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
ta has joined #ruby
Aova has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
_honning_ has joined #ruby
alex88 has joined #ruby
russt has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
avahey has quit [Quit: Connection closed for inactivity]
parduse has quit []
ki0 has joined #ruby
quimrstorres has joined #ruby
ziyadb has joined #ruby
dc has quit [Remote host closed the connection]
JDiPierro has joined #ruby
JDiPierro has quit [Read error: No route to host]
JDiPierro has joined #ruby
n008f4g_ has joined #ruby
learner has quit [Quit: Leaving]
leonshalimov has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
ki0 has quit [Ping timeout: 272 seconds]
_matt has quit [Ping timeout: 240 seconds]
codeFiend has joined #ruby
Xeago has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
kirun has joined #ruby
JDiPierro has quit [Ping timeout: 256 seconds]
leonshalimov has quit [Ping timeout: 255 seconds]
aswen has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
oddmunds has joined #ruby
tokik has quit [Ping timeout: 272 seconds]
claw has joined #ruby
hamakn has joined #ruby
patrick99e99 has joined #ruby
cantonic has joined #ruby
kalusn has joined #ruby
nicolastarzia has joined #ruby
m8 has joined #ruby
asmodlol has quit [Ping timeout: 252 seconds]
withnale_ has joined #ruby
pkrzywicki has quit [Ping timeout: 252 seconds]
scripore has quit [Quit: This computer has gone to sleep]
asmodlol has joined #ruby
tkuchiki has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
Pharaoh2 has joined #ruby
withnale_ has quit [Ping timeout: 245 seconds]
nicolastarzia has quit [Ping timeout: 264 seconds]
shredding has joined #ruby
tkuchiki has quit [Remote host closed the connection]
wow has joined #ruby
gr33n7007h has joined #ruby
p8952 has joined #ruby
davedev24_ has quit [Remote host closed the connection]
FooMunki_ has joined #ruby
akitada_ is now known as akitada
atmosx has joined #ruby
lkba has joined #ruby
jgt2 has joined #ruby
oo_ has joined #ruby
akitada is now known as akitada_
akitada_ is now known as akitada
<wow> My socket doesn't appear to receive anything
<wow> but when inspected with wireshark I clearly do receive something
<wow> why is this?
iamninja has quit [Remote host closed the connection]
iamninja has joined #ruby
<thatslifeson> lemme guess, puts works but write doesn't?
jgt2 has quit [Ping timeout: 272 seconds]
JDiPierro has joined #ruby
<wow> huh? lol
<thatslifeson> If you see it on wireshark but aren't getting anything, then the server isn't receiving it
<wow> it is
<thatslifeson> i'll look at your code in a sec, gotta wait for boss to walk by lol
bronson has joined #ruby
OrbitalKitten has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
codeFiend has quit [Ping timeout: 252 seconds]
roshanavand1 has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
coinrookie has joined #ruby
josephndenton has joined #ruby
Aova has joined #ruby
josephndenton has quit [Ping timeout: 272 seconds]
baltazore has joined #ruby
codeFiend has joined #ruby
Pharaoh2 has quit [Ping timeout: 264 seconds]
baltazore has quit [Ping timeout: 245 seconds]
tus has joined #ruby
Pharaoh2 has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
JDiPierro has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.0.1]
Ankhers has joined #ruby
ki0 has joined #ruby
longlive1heking has joined #ruby
roshanavand has joined #ruby
adys is now known as jleclanche
<wow> How do I get the text in between the tags <k> and </k>?
Ankhers has quit [Ping timeout: 250 seconds]
pjaspers_ has quit [Quit: @pjaspers]
ki0 has quit [Ping timeout: 256 seconds]
pjaspers has joined #ruby
<tobiasvl> wow: use nokogiri?
<wow> wtf
<wow> i was hoping for a regexp
<wow> i don't know how to use regexp's tho
spyderman4g63 has joined #ruby
<shevy> lol
hamakn has quit [Remote host closed the connection]
<shevy> regexes can be easy if you build them up by yourself
arup_r has quit [Read error: Connection reset by peer]
<tobiasvl> HTML (or whatever you're parsing here, XML or SGML) is not a regular langyage
<tobiasvl> language
<shevy> the simplest way is at http://rubular.com/ wow
<tobiasvl> so regular expressions in principle can't parse HTML
<tobiasvl> although you can do some tricks
kaspertidemann has joined #ruby
crazydiamond has joined #ruby
<wow> /<k>(.*?)<\/k>/ =~ msg
gregf has joined #ruby
<wow> ?
arup_r has joined #ruby
<tobiasvl> try it and see
<tobiasvl> but note that regex can't parse nested HTML well
<tobiasvl> <k><k></k>
<wow> yep it works
<wow> tobiasvl: don't worry
<tobiasvl> but if all you want is "the text between <k> and </k>" then sure
<wow> it's a randomly generated key which is non dynamic
<axilla> morning all i'm trying to build my first ruby gem to wrap an API.. i'm trying to setup testing following this guide https://blog.engineyard.com/2014/wrapping-your-api-in-a-ruby-gem but something doesn't seem to be right. I have everything setup just like it says but when I try to run the first test i still get uninitialized constant Mbjson::Artist also in test_helper when I try to require ./lib/myfolder it won't find the version i have t
spyderman4g63 has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
<axilla> nevermind
<axilla> i figured it out hah!
<axilla> had a trailing slash ><
<shevy> wow normally the regex comes on the right side ... if string =~ /\d+/
rebcabin has quit [Quit: Leaving.]
<wow> shevy: meh, I made it work regardless
<shevy> hehe
<wow> rndk = /<k>(.*?)<\/k>/.match(ss);$1
timanema has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
wow_ has joined #ruby
hamakn has joined #ruby
<wow_> hate it when this happens
sent1nel has joined #ruby
longlive1heking has quit [Ping timeout: 240 seconds]
wow has quit [Ping timeout: 252 seconds]
wow_ is now known as wow
pdoherty has quit [Ping timeout: 252 seconds]
johnzz has joined #ruby
michael_mbp has quit [Excess Flood]
johnzz has quit [Client Quit]
withnale_ has joined #ruby
Snowstormer is now known as cats
kaspertidemann has quit []
sent1nel has quit [Ping timeout: 245 seconds]
michael_mbp has joined #ruby
withnale_ has quit [Ping timeout: 265 seconds]
rbrs has quit [Remote host closed the connection]
ki0 has joined #ruby
jonr22 has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ki0 has quit [Remote host closed the connection]
codeFiend has quit [Ping timeout: 252 seconds]
jleclanche has left #ruby ["You will shoot them and they will stick to the wall and they will die"]
Zai00 has joined #ruby
guardian` has joined #ruby
oo_ has quit [Remote host closed the connection]
softinio has joined #ruby
zwer_w is now known as zwer
martinium has joined #ruby
martinium has quit [Changing host]
martinium has joined #ruby
guardian` is now known as guardian
roshanavand has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
codeFiend has joined #ruby
lxsameer_ has quit [Quit: Leaving]
Aova has quit [Read error: Connection reset by peer]
jamison has quit [Ping timeout: 272 seconds]
kerin has joined #ruby
jonr22 has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dimaursu16 has quit [Ping timeout: 264 seconds]
bhaak_ has quit [Ping timeout: 264 seconds]
<kerin> I've installed the i18n gem and no locales seem to be valid, do I need to install them separately? If so, how?
dimaursu16 has joined #ruby
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
leonshalimov has joined #ruby
Aova has joined #ruby
wow has quit [Quit: leaving]
freerobby has joined #ruby
xivusr has joined #ruby
commmmodo has joined #ruby
leonshalimov has quit [Ping timeout: 264 seconds]
alex88 has quit []
scripore has joined #ruby
randiman has joined #ruby
xivusr has quit [Ping timeout: 246 seconds]
_matt has joined #ruby
Guest69 has joined #ruby
rbrs has joined #ruby
rebcabin1 has joined #ruby
nateberkopec has joined #ruby
learner has joined #ruby
sinkensabe has joined #ruby
_matt has quit [Ping timeout: 244 seconds]
agrinb has joined #ruby
centrx has joined #ruby
Guest69 has quit [Quit: Textual IRC Client: www.textualapp.com]
mitchellhenke has joined #ruby
hanmac has joined #ruby
misc_ has joined #ruby
gsd has joined #ruby
rebcabin1 has quit [Client Quit]
nicolastarzia has joined #ruby
patrick99e99 has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Ping timeout: 264 seconds]
mitchellhenke has quit [Ping timeout: 245 seconds]
livingstn has joined #ruby
claw has quit [Ping timeout: 245 seconds]
claw has joined #ruby
misc_ has quit [Ping timeout: 265 seconds]
ta has quit [Ping timeout: 276 seconds]
patrick99e99 has quit [Ping timeout: 255 seconds]
nicolastarzia has quit [Ping timeout: 272 seconds]
scripore has quit [Quit: This computer has gone to sleep]
ta has joined #ruby
kaspertidemann has joined #ruby
jerematic has joined #ruby
misc_ has joined #ruby
jgt2 has joined #ruby
wow has joined #ruby
cpt_yossarian has joined #ruby
<wow> Hello, I was wondering on how to get a message from an IRC server like this: "PRIVMSG #channel :message"
<wow> so that the method that I create will return "message"
doobi-sham-53143 has quit [Ping timeout: 265 seconds]
oo_ has joined #ruby
<tobiasvl> wow: regex?
<wow> tobiasvl: hmm
sent1nel has joined #ruby
jgt2 has quit [Ping timeout: 246 seconds]
<wow> dunno how to do it with regex, i tried something but it gave me a blank string
<wow> /PRIVMSG #{channel} :(.*?)/
copy0401 has quit [Ping timeout: 245 seconds]
incomprehensibly has quit [Ping timeout: 245 seconds]
kyote has quit [Ping timeout: 272 seconds]
mjc_ has quit [Ping timeout: 272 seconds]
jxf has quit [Read error: Connection reset by peer]
vikram_ has quit [Read error: Connection reset by peer]
frankS2 has quit [Read error: Connection reset by peer]
ggherdov has quit [Ping timeout: 272 seconds]
codeFiend has quit [Ping timeout: 252 seconds]
quimrstorres has joined #ruby
jpinnix______ has quit [Ping timeout: 245 seconds]
<wow> waxjar: Thanks, I'll look into that.
copy0401 has joined #ruby
mostlybadfly has quit [Ping timeout: 276 seconds]
oo_ has quit [Ping timeout: 264 seconds]
sent1nel has quit [Ping timeout: 272 seconds]
jxf has joined #ruby
vikram_ has joined #ruby
<shevy> wow yes, if you use () you have capture groups
incomprehensibly has joined #ruby
martinium has quit [Remote host closed the connection]
<shevy> >> "PRIVMSG #channel :message" =~ /PRIVMSG #{channel} :(.*?)/; $1
<eval-in_> shevy => undefined local variable or method `channel' for main:Object (NameError) ... (https://eval.in/257968)
mjc_ has joined #ruby
<shevy> ah
bronson has joined #ruby
byprdct has joined #ruby
nateberkopec has quit [Quit: Leaving...]
frankS2 has joined #ruby
ta has quit [Ping timeout: 255 seconds]
<shevy> >> "PRIVMSG #channel :message" =~ /:(.*)$/; $1
<eval-in_> shevy => "message" (https://eval.in/257969)
kyote has joined #ruby
martinium has joined #ruby
martinium has quit [Changing host]
martinium has joined #ruby
<wow> so is that anny better to use than the link waxjar gave me?
sinkensabe has joined #ruby
jpinnix______ has joined #ruby
<gr33n7007h> >> "PRIVMSG #channel :message".split(':').last
<eval-in_> gr33n7007h => "message" (https://eval.in/257973)
<wow> woah :O
<wow> a lot of ways to do this
<waxjar> >> ":prefix PRIVMSG #channel :message".split(':').last
<eval-in_> waxjar => "message" (https://eval.in/257978)
<shevy> wow I did not look at what waxjar showed
dorei has joined #ruby
<shevy> regex allows for a lot of complicated grabbing
bronson has quit [Ping timeout: 245 seconds]
<waxjar> eh, "PRIVMSG #channel :message with a :colon".split(':').last i meant
hirzu has joined #ruby
mostlybadfly has joined #ruby
<waxjar> read the article wow, it's good and tells you the edge cases
hamakn has quit [Remote host closed the connection]
<wow> shevy: so regex is better to use?
<shevy> depends
<shevy> in the above example, .split is simpler
<shevy> but for more complicated scenarios, a regex is better. a regex is like a mini programming language
<wow> okay, i'll go with the split thing then
function90 has joined #ruby
codeFiend has joined #ruby
gregf has quit [Quit: WeeChat 1.0.1]
ggherdov has joined #ruby
sankaber has joined #ruby
pkrzywicki has joined #ruby
<wow> is parenthesis needed if i'm doing for instance: "bot.get_message s.chomp.eql?"
josephndenton has joined #ruby
<shevy> not in this case
ki0 has joined #ruby
<shevy> when it is not ambigous, you can drop parens
hirzu has quit [Quit: This computer has gone to sleep]
<wow> okay
<wow> one more problem i'm having
<wow> oh nvm
hirzu has joined #ruby
<wow> the thing for the PRIVMSG thing is
<wow> it won't matter if it's a channel or an actual private message
timanema has quit [Ping timeout: 252 seconds]
<wow> which is a problem, if i PM my bot with a command then it will be shown on the channel
ki0 has quit [Ping timeout: 240 seconds]
josephndenton has quit [Ping timeout: 264 seconds]
timanema has joined #ruby
davedev24_ has joined #ruby
gr33n7007h has quit [Ping timeout: 246 seconds]
<jhass> wow: check the cinch gem, all that messy IRC stuff already done for you
sleepee has joined #ruby
<wow> jhass: Sorry but I'm actually making my own
gr33n7007h has joined #ruby
chinmay_dd has joined #ruby
shime has quit [Ping timeout: 245 seconds]
<unreal> weaksauce: Eh?
<wow> hi unreal
<jhass> wow: so you got :<optional_prefix> <command> <param> <optional_param...> :<optional_param> essentially
<wow> yep
<jhass> you can parse that fairly well with a series of limited splits
<wow> i see
<wow> i'll implement that later, currently it can only just get the message
<wow> thanks for all your help guys
Megtastique has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<wow> ERROR: Failed to build gem native extension.
<wow> what does this mean?
<wow> i also get some mkmf load error
hirzu has quit [Quit: This computer has gone to sleep]
<jhass> it means what it says
Ankhers has joined #ruby
<wow> yeah
<jhass> the true error is somewhere above it
<jhass> or in the logs mentioned
<wow> building native extensions
<gr33n7007h> wow, what OS?
<wow> linux
<wow> debian
<gr33n7007h> wow, prolly just a "sudo apt-get install ruby-dev" then try again
spider-mario has quit [Read error: Connection reset by peer]
Takle has joined #ruby
<wow> I did
<wow> now I get another error
<wow> zlib is missing; necessary for building libxml2
<wow> *** extconf.rb failed ***
<ddv> yeah install zlib headers
<centrx> you need the dev packages for these libraries
<wow> is zlib a gem?
<centrx> no these are all OS packages
<gr33n7007h> wow, part of stdlib
<centrx> gem dependencies are automatically retrieved by gem
<wow> i already have build-essential tho
<wow> i thought that gives stdlib
Aova has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
<centrx> wow, apt-get install zlib1g-dev
<wow> centrx: I did so, seems to be building native extensions now
<gr33n7007h> yay :)
lampd1 has joined #ruby
<thatslifeson> #linux
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 272 seconds]
spyderman4g63 has joined #ruby
<wow> Thanks! This seemed to work
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
misc_ has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/20150112203352]]
spyderman4g63 has quit [Remote host closed the connection]
Astrologos_ has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
adriancb has joined #ruby
Channel6 has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
dorei has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<shevy> wow yeah, just keep in mind that debian is notorious for splitting up stuff, so you have to un-split their stuff
<wow> Okay.
<shevy> require 'readline' probably also does not work for you out of the box
spyderman4g63 has joined #ruby
adriancb has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
dorei has joined #ruby
Astrologos_ has quit [Ping timeout: 276 seconds]
spyderman4g63 has joined #ruby
<wow> does the bot in here use eval for evaluating expressions etc
<wow> it seems evil
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<shevy> not entirely sure; it uses a sandbox though so you should not be able to break it in any way
<shevy> >> tea
<eval-in_> shevy => undefined local variable or method `tea' for main:Object (NameError) ... (https://eval.in/258076)
spyderman4g63 has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
<shevy> look at the link above wow
<shevy> it outputs this:
<shevy> /tmp/execpad-3e02d8983eb7/source-3e02d8983eb7:2:in `<main>': undefined local variable or method `tea' for main:Object (NameError)
<shevy> so it runs in some subdirecory of /tmp/
spyderman4g63 has quit [Remote host closed the connection]
<shevy> for file creation there
YamakasY has quit [Excess Flood]
spyderman4g63 has joined #ruby
<jhass> I'd expect it spins up a new MRI in a sandbox
spyderman4g63 has quit [Remote host closed the connection]
<wow> hm
spyderman4g63 has joined #ruby
<wow> so in order for me to make my bot use eval I need to create a lot of security on top of it?
<wow> for it to be secure
spyderman4g63 has quit [Remote host closed the connection]
codeFiend has quit [Ping timeout: 252 seconds]
<ddv> you could use docker for it
<ddv> or a silly chroot
spyderman4g63 has joined #ruby
aswen has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<Morrolan> Chroot is not real security when it comes to potentially malicious code.
spyderman4g63 has joined #ruby
<jhass> check playpen
<jhass> very tight sandbox
spyderman4g63 has quit [Remote host closed the connection]
<wow> so do I put that sandbox on the file?
<wow> so that it can't escape from this "jail"
<jhass> "put that sandbox on the file"?
<wow> like a jail
<jhass> I guess the answer is yes
<wow> and then i'm secure and I can use eval?
<jhass> not sure what that's asking for though
timonv has joined #ruby
<jhass> if you run the file in a sandbox, it's pretty secure, that's the point of doing it
mdarby has joined #ruby
<wow> so if one were to use malicious code like: cmd = `rm -rf ~/`
<wow> it wouldn't work
gregf has joined #ruby
<jhass> it depends on your sandbox
withnale_ has joined #ruby
mdarby has quit [Client Quit]
<jhass> playpen supports launching as non-root in the sandbox and mounts new tmpfs'es each time for its home and /tmp etc
<jhass> playpen itself needs to be launched as root though
<jhass> so for my usecase I had a SUIDed wrapper around
sinkensabe has quit [Remote host closed the connection]
softinio has left #ruby [#ruby]
hirzu has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
<jhass> you probably shouldn't let your bot run untrusted code if that all makes no sense to you
cpt_yossarian has joined #ruby
<jhass> it's a thing where you should know what you're doing
asmodlol has quit [Ping timeout: 244 seconds]
DadoCe has joined #ruby
roshanavand has joined #ruby
asmodlol has joined #ruby
Nexus_x1 has joined #ruby
withnale_ has quit [Ping timeout: 272 seconds]
msgodf has joined #ruby
codeFiend has joined #ruby
pdoherty has joined #ruby
mloveless has joined #ruby
jgt2 has joined #ruby
vikram_ has quit [Quit: Connection closed for inactivity]
<wow> but can't I just surpress those malicious method calls and such?
ta has joined #ruby
<jhass> blacklisting gets you only so far
roshanavand has quit [Ping timeout: 245 seconds]
<jhass> the safe way is to whitelist
asmodlol has quit [Ping timeout: 246 seconds]
JyZyXEL has joined #ruby
hirzu has quit [Quit: This computer has gone to sleep]
<jhass> and sorry, but that you even has to ask these questions is a good indicator that you shouldn't do it
agrinb has joined #ruby
<jhass> or at least not connect it to an untrusted network (like, the internet)
oo_ has joined #ruby
fgo has joined #ruby
fedexo has joined #ruby
<wow> jhass: one more thing for my irc bot
<Morrolan> If all you want to do is allow your users to execute code in a generic environment, then you might be able to use services like eval.in
asmodlol has joined #ruby
pdoherty has quit [Ping timeout: 252 seconds]
<Morrolan> Some of them are bound to have public APIs
<wow> obviously i'll need to respond to pings
<wow> how does freenode handle the pong response?
<jhass> it ignores the parameter
jgt2 has quit [Ping timeout: 272 seconds]
<jhass> you can pass anything there
<wow> oh cool
<jhass> the RFC isn't really clear on what a client should pass there anyway
nateberkopec has joined #ruby
jamison has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 276 seconds]
fgo has quit [Ping timeout: 245 seconds]
ki0 has joined #ruby
patrick99e99 has joined #ruby
kaspertidemann has quit []
YamakasY has joined #ruby
jamison has quit [Ping timeout: 272 seconds]
shredding has quit [Quit: shredding]
maletor has joined #ruby
<wow> bot.send_msg bot.get_messageuser s + ": " + bball.sample
<wow> will this work
Megtastique has quit []
aswen has quit [Ping timeout: 245 seconds]
<jhass> why not use "#{string_interpolation}"?
<jhass> and who knows
<wow> great idea
ki0 has quit [Remote host closed the connection]
shredding has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
lifenoodles_ has quit [Ping timeout: 252 seconds]
fgo has joined #ruby
russt has quit [Quit: russt]
sleepee has quit [Ping timeout: 264 seconds]
lifenoodles has joined #ruby
martinium has quit [Remote host closed the connection]
hakunin has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
russt has joined #ruby
pencilcheck has joined #ruby
flipdip has joined #ruby
Nexus_x1_ has joined #ruby
Nexus_x1_ has quit [Client Quit]
josephndenton has joined #ruby
ponga has quit [Quit: Leaving...]
Rhainur has joined #ruby
lkba_ has joined #ruby
eregon has joined #ruby
slash_ni1k has joined #ruby
monsieur1 has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
oleo has quit [Ping timeout: 244 seconds]
maximski has quit []
ellisTAA has joined #ruby
zacts_ has joined #ruby
kloeri has joined #ruby
mischief_ has joined #ruby
<wow> doc = Pismo::Document.new(bot.get_message s.chomp)
<wow> the weirdest thing is that this won't work
BaNzoune1 has joined #ruby
<wow> it's supposed to send the title of a webpage if a message starts with http:// but it doesn't
leonshalimov has joined #ruby
sent1nel has joined #ruby
ferr has joined #ruby
slash_nick has quit [Disconnected by services]
Pro|_ has joined #ruby
martinium has joined #ruby
martinium has quit [Changing host]
martinium has joined #ruby
slash_ni1k is now known as slash_nick
wallerdev has joined #ruby
oleo has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
slash_nick has quit [Changing host]
slash_nick has joined #ruby
<shevy> well
<shevy> always break the problem down wow
<wow> alright
<shevy> can you find out where the error happens?
<shevy> s.chomp works I assume right?
<wow> that's right.
<shevy> so what does bot_get_message() give
toretore has joined #ruby
michael_imac has joined #ruby
<shevy> sorry
<shevy> bot.get_message
ki0 has joined #ruby
gf3_ has joined #ruby
p8952_ has joined #ruby
<epitron> >> (1..100).map {|n| ((n+1)*10).to_s.rjust(10,"-") }.join ""
<eval-in_> epitron => "--------20--------30--------40--------50--------60--------70--------80--------90-------100-------110-------120-------130-------140-------150-------160-------170-------180-------190-------200-------210 ... (https://eval.in/258132)
<wow> it gives the line of the PRIVMSG split by ": " on last
davout_ has joined #ruby
<wow> line.split(" :").last*
uber_ has joined #ruby
three18ti has joined #ruby
shevy_bot has joined #ruby
athan has quit [Ping timeout: 244 seconds]
<shevy_bot> hey wow how do you do
hfp__work has joined #ruby
<wow> hi
davout has quit [Ping timeout: 240 seconds]
monsieurp has quit [Read error: Connection reset by peer]
jakesyl has quit [Ping timeout: 240 seconds]
hfp_work has quit [Ping timeout: 240 seconds]
BaNzounet has quit [Ping timeout: 240 seconds]
mischief has quit [Ping timeout: 240 seconds]
eregon_ has quit [Ping timeout: 240 seconds]
anekos has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Ping timeout: 240 seconds]
Rhainur1 has quit [Ping timeout: 240 seconds]
three18t- has quit [Ping timeout: 240 seconds]
lolmaus has quit [Ping timeout: 240 seconds]
surs has quit [Ping timeout: 240 seconds]
Pro| has quit [Ping timeout: 240 seconds]
hfp__work is now known as hfp_work
p8952_ has quit [Client Quit]
jakesyl has joined #ruby
maletor_ has joined #ruby
maletor has quit [*.net *.split]
Nexus_x1 has quit [*.net *.split]
dorei has quit [*.net *.split]
Takle has quit [*.net *.split]
centrx has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
tus has quit [*.net *.split]
lkba has quit [*.net *.split]
p8952 has quit [*.net *.split]
backhoe has quit [*.net *.split]
pen has quit [*.net *.split]
Jackneill has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
thomas has quit [*.net *.split]
hakunin_ has quit [*.net *.split]
zacts has quit [*.net *.split]
xybre has quit [*.net *.split]
gf3 has quit [*.net *.split]
uber has quit [*.net *.split]
kloeri_ has quit [*.net *.split]
toertore has quit [*.net *.split]
Guest67136 has quit [*.net *.split]
ValicekB has quit [*.net *.split]
MrSparkle has quit [*.net *.split]
DylanJ has quit [*.net *.split]
Liothen has quit [*.net *.split]
wldcordeiro_ has quit [*.net *.split]
michael_imac is now known as michael_mbp
gf3_ is now known as gf3
uber_ is now known as uber
<shevy> hmm
p8952_ has joined #ruby
<shevy> wow and that is a string?
<wow> yep
Apocalypse has joined #ruby
<shevy> if it is a string, then Pismo::Document.new() surely would also work, if it can handle strings
<wow> it should
adriancb has joined #ruby
<shevy> have you tried to do: p doc on the next line?
<jhass> wows_bot: I broke you
jamison has joined #ruby
<shevy> hey
leonshalimov has quit [Ping timeout: 276 seconds]
<jhass> you need to limit the split ;)
dorei has joined #ruby
<shevy> wow add a filter so that jhass no longer breaks your bot; just filter jhass away
<wow> shevy: what if someone else does that
<shevy> well add a size check too
<wow> oh right
<wow> so the problem is with the fact of
<shevy> if string.size > 200
<wow> http:
<wow> : being there
<shevy> or whatever, not sure
djbender has quit [Read error: Connection reset by peer]
callenb___ has quit [Read error: Connection reset by peer]
vcoinminer has quit [Read error: Connection reset by peer]
Aova has quit [Read error: Connection reset by peer]
bcavileer_ has quit [Ping timeout: 272 seconds]
jblancett has quit [Ping timeout: 272 seconds]
<shevy> well ok
MiracleBlue has quit [Ping timeout: 276 seconds]
hellschreiber has quit [Read error: Connection reset by peer]
<shevy> either you use a regex
<wow> how do I limit splits?
<shevy> or you make additional checks with or before .split
ki0 has quit [Remote host closed the connection]
<shevy> can you give example input?
gr33n7007h has joined #ruby
gr33n7007h has quit [Read error: Connection reset by peer]
skmp has quit [Ping timeout: 272 seconds]
pusewicz has quit [Ping timeout: 276 seconds]
anekos has joined #ruby
bjeanes_ has quit [Ping timeout: 245 seconds]
alol__ has quit [Ping timeout: 245 seconds]
<wow> obviously there is a colon there, so it will break it
chrisseaton has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
gr33n7007h has joined #ruby
rfv has quit [Ping timeout: 265 seconds]
maZtah has quit [Ping timeout: 276 seconds]
casual_ has quit [Ping timeout: 276 seconds]
OliverTynes has quit [Ping timeout: 276 seconds]
featheryahn_ has quit [Ping timeout: 276 seconds]
adambeynon has quit [Ping timeout: 276 seconds]
<jhass> >> "foo :bar: baz".split(":", 2)
<eval-in_> jhass => ["foo ", "bar: baz"] (https://eval.in/258161)
Ankhers has joined #ruby
<wow> just limit it to 2?
<jhass> depends
charles81 has quit [Ping timeout: 272 seconds]
ZucchiniZe has quit [Ping timeout: 272 seconds]
thomas has joined #ruby
<jhass> remember :<optional_prefix> <command> <param> <optional_param...> :<optional_param>
FooMunki_ has quit [Quit: FooMunki_]
psy has quit [Read error: Connection reset by peer]
<wow> then it's 2
<jhass> I don't know how you parse that atm
cstrahan_ has quit [Ping timeout: 265 seconds]
n1ftyn8 has quit [Ping timeout: 245 seconds]
<shevy> wow hmm perhaps a single regex might be better in the long run. or you handle http and such separately
ellisTAA has quit [Quit: ellisTAA]
<wow> shevy: yeah I guess
<shevy> >> my_string = "http://www.google.com/"; puts 'yup is a http link' if my_string.start_with? 'http'
<eval-in_> shevy => yup is a http link ... (https://eval.in/258163)
<wow> so what is the regex?
lifenoodles has quit [Ping timeout: 255 seconds]
<shevy> regex can become complicated :D
tmoore_ has quit [Ping timeout: 272 seconds]
jeregrine has quit [Ping timeout: 276 seconds]
Jackneill has joined #ruby
backhoe has joined #ruby
<jhass> I'm doing the split based approach, it's ~10 lines
wldcordeiro_ has joined #ruby
grubernaut has quit [Ping timeout: 272 seconds]
<slash_nick> jhass: maybe it'd help to expand those <this-represents-foo> <this-represents-bar...> so the patterns are more evident
xybre has joined #ruby
<wow> shevy: what's the regex?
lifenoodles has joined #ruby
p8952_ is now known as p8952
<slash_nick> wow: .*
sinkensabe has joined #ruby
asmodlol has quit [Ping timeout: 265 seconds]
<wow> :s
ta has joined #ruby
<jhass> slash_nick: sorry?
Aova has joined #ruby
nobitanobi has joined #ruby
centrx has joined #ruby
tiagonobre__ has quit [Read error: Connection reset by peer]
Ankhers has quit [Ping timeout: 250 seconds]
<jhass> I have 6 significant lines to get prefix, command and an array of parameters
<slash_nick> :optional_prefix command required_param optional_params1 optional_params2 optional_params3 :weird_optional_params1_with_a_colon
ValicekB has joined #ruby
<slash_nick> jhass: am i reading <that> <stuff...> correctly?
<jhass> yeah
pusewicz has joined #ruby
djbender has joined #ruby
rfv has joined #ruby
callenb___ has joined #ruby
adambeynon has joined #ruby
<shevy> wow dunno. I hate regexes usually... hahaha
maZtah has joined #ruby
p8952 has quit [Quit: ZNC - http://znc.in]
featheryahn_ has joined #ruby
vcoinminer has joined #ruby
<shevy> I go with .split and other if checks because they are super easy for my poor brain
martinium has quit [Remote host closed the connection]
<shevy_bot> noob
shevy_bot has quit [Remote host closed the connection]
<slash_nick> haha
tyfighter has joined #ruby
x77686d has joined #ruby
p8952 has joined #ruby
jamison has quit [Ping timeout: 255 seconds]
hellschreiber has joined #ruby
<wow> my function only gets a message from someone
<wow> it doesn't get anything else
asmodlol has joined #ruby
<wow> so what do i exactly need to do
ddd has quit [Quit: rebooting home router]
alol__ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjeanes_ has joined #ruby
<shevy> how is this possible
<shevy> is it not a general input-grabber there?
<shevy> :adambeynon* JOIN #ruby
jblancett has joined #ruby
OliverTynes has joined #ruby
nateberkopec has quit [Quit: Leaving...]
ZucchiniZe has joined #ruby
n1ftyn8 has joined #ruby
fedexo has quit [Ping timeout: 245 seconds]
<wow> ..
ta has quit [Ping timeout: 276 seconds]
skmp has joined #ruby
cstrahan_ has joined #ruby
chrisseaton has joined #ruby
psy has joined #ruby
jaygen has joined #ruby
xivusr has joined #ruby
bcavileer_ has joined #ruby
tyfighter has quit [Client Quit]
nicolastarzia has joined #ruby
tyfighter has joined #ruby
<slash_nick> shevy: if *that* is what jhass's commands are looking like, I'd say regex... the commands and arguments stand out enough, either by casing, inclusion of colon, position in the input, etc
casual_ has joined #ruby
grubernaut has joined #ruby
MiracleBlue has joined #ruby
tiagonobre__ has joined #ruby
<wow> slash_nick: how would you parse it in regex?
tmoore_ has joined #ruby
<slash_nick> so if it's convention that command is UPCASED... that there's one required param and the reset are optional... that there can be one special optional with a colon (it's at the end)... that the prefix is optional (it'll have a colon and be at the beginning)... all easy regex fodder
charles81 has joined #ruby
jeregrine has joined #ruby
<jhass> command convention is upcased yet, but it's actually not mandated and most ircds should happily accept lowercase
The_Phoenix has quit [Quit: Leaving.]
<jhass> many commands are actually just a 3 digit number
davout_ has quit [Quit: bye]
maximski has joined #ruby
The_Phoenix has joined #ruby
codeFiend has quit [Ping timeout: 252 seconds]
davout has joined #ruby
davout has quit [Changing host]
davout has joined #ruby
dorei has quit [Remote host closed the connection]
dorei has joined #ruby
josephndenton has joined #ruby
Stoge88 has joined #ruby
antgel has quit [Ping timeout: 272 seconds]
<wow> return trailingstart >= 0 ? line[trailingstart + 2] : line.length
<wow> >= is not working for me
<slash_nick> jhass: sounds like if you can identify which of the tokens is the command, you can recognize what each of the other tokens are... are commands dynamically added, or is it a known and static list?
xivusr has quit [Ping timeout: 244 seconds]
asmodlol has quit [Ping timeout: 244 seconds]
nicolastarzia has quit [Ping timeout: 272 seconds]
<centrx> >> 1 >= 0
<eval-in_> centrx => true (https://eval.in/258190)
<jhass> there's a known set, but the RFC specifically says either party may invent new ones at any point
freerobby has quit [Quit: Leaving.]
Meeh has joined #ruby
<jhass> RFC as a protocol is a mess :/
Meeh_ has quit [Ping timeout: 276 seconds]
asmodlol has joined #ruby
<wow> jhass
<wow> why does it keep saying that
<jhass> the MODE command is the most ridiculous
<wow> trailingstart = line.index(" :") is nil?
<jhass> it's basically two different comamnds with the same name
lampd1 has quit [Remote host closed the connection]
<wow> nvm
<wow> can someone please just tell me the regex?
<wow> i've been at this for like an hour
<centrx> ?
<slash_nick> wow i know what jhass is talking about (just barely though)... what are you talking about? lol :)
<wow> you said that I can use a regex
<wow> what's the regex?
banister has joined #ruby
<slash_nick> Oh I was talking to jhass... was jhass helping you? I'm so lost.
banister has quit [Max SendQ exceeded]
<tobiasvl> regex for what
<wow> irc message parsing
banister has joined #ruby
<gr33n7007h> >> data = ":gr33n7007h!~gr33n7007@unaffiliated/gr33n7007h PRIVMSG #monsterenergy :jhsdhjjdhjhbds"; data.match(/\s:(.*)$/)[1]
<eval-in_> gr33n7007h => "jhsdhjjdhjhbds" (https://eval.in/258191)
vikram_ has joined #ruby
codeFiend has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<jhass> gr33n7007h: the : is optional and only required if the message contains spaces or an :
<wow> return line.match(/\s:(.*)$/)[1]
<wow> will give me the annoying nilclass error
<gr33n7007h> jhass, ah, didn't know my bad
<tobiasvl> there seems to be a lot of stuff on google about this
johnzz has joined #ruby
it0a has joined #ruby
mitchellhenke has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
<gr33n7007h> thought that privmsg always started with colon for message part
ki0 has joined #ruby
<jhass> gr33n7007h: in practice it pretty much does since it's not wrong to add it even when it's not required, most clients just always add it
<wow> this is really annoying
withnale_ has joined #ruby
<gr33n7007h> wow, what is?
<wow> the fact that I want a trailing regexp
<wow> I don't want an entire regexp for parsing an entire line
The_Phoenix has joined #ruby
<gr33n7007h> wow, can you gist an example of what you want?
The_Phoenix has quit [Max SendQ exceeded]
tyfighter has quit [Quit: tyfighter]
d10n-work has joined #ruby
<wow> :.8ball hi: cool
<wow> shouldn't be able to break the bot for example
gawd has joined #ruby
<gawd> Can you burn to and go live on Blu-ray ??
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
xivusr has joined #ruby
<jhass> gawd: in which channel did you ask that question?
<gawd> oops my bad
<gawd> sorry
<shevy> hehe
tus has joined #ruby
Pharaoh2 has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
tyfighter has joined #ruby
<gr33n7007h> >> data = ":blabla!~bla@blab:labla PRIVMSG #channel :message :jnjsn jnsue"; data.match(/\s#\w+\s:(.*)/)
<eval-in_> gr33n7007h => #<MatchData " #channel :message :jnjsn jnsue" 1:"message :jnjsn jnsue"> (https://eval.in/258217)
jgt2 has joined #ruby
<gr33n7007h> >> data = ":blabla!~bla@blab:labla PRIVMSG #channel :message :jnjsn jnsue"; data.match(/\s#\w+\s:(.*)/)[1]
<eval-in_> gr33n7007h => "message :jnjsn jnsue" (https://eval.in/258219)
<gr33n7007h> ^^wow
Pharaoh2 has joined #ruby
russt has quit [Quit: russt]
sinkensabe has quit [Remote host closed the connection]
<wow> ty
sinkensabe has joined #ruby
<wow> one problem though
<wow> I have if statements on my while loop that receives data from the socket
<wow> so whenever it recieves data, it will check
<wow> and this will give me a nilclass
The_Phoenix has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<jhass> gr33n7007h: that won't work in channels like #ruby-lang ;)
nettus has quit [Read error: Connection reset by peer]
asmodlol has quit [Ping timeout: 264 seconds]
<wow> jhass
<wow> why don't you give me your solution?
flipdip is now known as MrSparkle
<gr33n7007h> wow, so do something like loop { recv = s.recv(1024); if recv.include? 'PRIVMSG'; message = recv.match(/\s#\w+\s:(.*)/)[1]; do something with message; end
xivusr has quit [Quit: Lost terminal]
<gr33n7007h> jhass, ah, shit true
<jhass> channel part is #[^\s,:]+
<jhass> any octet except, ' ', ',', ':', '\n' and '\r'
<jhass> so \t is valid in theory, but I guess nothing you'll see in practice
jgt2 has quit [Ping timeout: 265 seconds]
nettus has joined #ruby
<wow> jhass
<jhass> wow: I gave you the solution I'd use for ruby: cinch
<wow> how do I split it?
<wow> cinch
<wow> damn it
pierre1_ has joined #ruby
asmodlol has joined #ruby
timonv has joined #ruby
DadoCe has quit [Remote host closed the connection]
livingstn has quit [Ping timeout: 264 seconds]
ta has joined #ruby
<jhass> gr33n7007h: Socket should have IO#gets and since IRC messages are terminated with \r\n, that's pretty handy to read out the individual ones ;)
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
<gr33n7007h> I know, but my brains not working today
<wow> pr = line.split(":"); return pr.count != 2 ? pr[2] : pr.last
<wow> this doesn't seem to break
<wow> :)
<jhass> what's line?
<wow> argument
nateberkopec has joined #ruby
<jhass> no, what does it contain
<wow> :blabla!~bla@blablabla PRIVMSG #channel :message
<wow> for an example
<jhass> so it breaks on :foo PRIVMSG #channel :wow: hi
<wow> but that can't happen
ta has quit [Ping timeout: 272 seconds]
<jhass> sure it can
<wow> how
scripore has joined #ruby
<jhass> wow: hi
<jhass> no it just happened
<jhass> *now
<wow> where's the foo?
<gr33n7007h> >> ":blabla!~bla@blablabla PRIVMSG #channel :message".split(':')
<eval-in_> gr33n7007h => ["", "blabla!~bla@blablabla PRIVMSG #channel ", "message"] (https://eval.in/258246)
<jhass> the foo's irrelevant
<jhass> :jhass!~jhass@aeshna.de PRIVMSG #cebot :wow: hi
<jhass> copy paste of the message
<wow> so what the hell do I do?
<jhass> you limit the split
scripore has quit [Client Quit]
<wow> to*
<wow> to?
russt has joined #ruby
johnzz has quit [Quit: Textual IRC Client: www.textualapp.com]
tyfighter has quit [Quit: tyfighter]
<jhass> depends on whether the message has a prefix or not
socash1 has quit [Quit: WeeChat 1.0.1]
jgt2 has joined #ruby
<wow> let's say it always will
<wow> what's the limit integer then?
<jhass> the number of elements you want at most
<waxjar> wow, did you need read the article i linked you? :/
<waxjar> it deals with all of this
fgo has joined #ruby
<wow> jhass: ..
<wow> 2?
<jhass> don't guess, reason
<wow> 3
<wow> it has to be 3
<wow> yeah it works
ozialien_ has quit [Remote host closed the connection]
monsieur1 is now known as monsieurp
monsieurp has quit [Changing host]
monsieurp has joined #ruby
<waxjar> anyway, to get the trail, split on " :" instead of ":" with a limit of 2. it'll work regardless of there being a prefix or not.
<wow> and that's all?
<wow> return line.split(" :", 2).last
<wow> ?
<gr33n7007h> wow, don't need the 2
fgo has quit [Ping timeout: 245 seconds]
<waxjar> not exactly, you might get a message without a trail
<jhass> sure you do
<jhass> this will break :otherwise
<gr33n7007h> duh, yep
wow has left #ruby [#ruby]
Stoge88 has quit [Ping timeout: 256 seconds]
Xiti` has quit [Quit: Xiti`]
last_staff has joined #ruby
<gr33n7007h> he'll be back
asmodlol has quit [Ping timeout: 264 seconds]
nobitanobi has quit [Remote host closed the connection]
<waxjar> jeez. i linked this guy a working solution, an article going in depth about his question. instead he wastes his time on irc looking for a quick fix he doesn't even have a "thank you" for :s
<gr33n7007h> prolly just frustrated :(
b1nd has joined #ruby
commmmodo has quit [Quit: commmmodo]
<b1nd> .
pencilcheck has quit []
<gr33n7007h> but like you said courtesy costs nothing
<b1nd> I keep getting "Could not find gem 'rake-ssl-enforcer" after bundle
mitchellhenke has joined #ruby
commmmodo has joined #ruby
<b1nd> first line of my Gemfile is "source https://rubygems.org"; and the other Gems work fine..
codeFiend has quit [Ping timeout: 252 seconds]
<b1nd> verified that it is on, rubygems.org and looks to be there
nobitano_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<b1nd> do you think I am running on some type of cached copy of 'rubygems.org' ??
<kstuart> b1nd: do you mean 'rack-ssl-enforcer'? (not rake-...)
Alina-malina has joined #ruby
<b1nd> works now, shit
<b1nd> thanks
<b1nd> wow, long day
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kstuart> yep, certainly is ;)
bonhoeffer has joined #ruby
Aova has joined #ruby
codeFiend has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
nobitano_ has quit [Remote host closed the connection]
jgt2 has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
antgel has joined #ruby
gsd has joined #ruby
Takle has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
theotherstupidgu has joined #ruby
<theotherstupidgu> is middleware architecture in ruby means layers architecture?
user083 has quit [Quit: leaving]
<theotherstupidgu> to be more specific is rack's middleware arch is a layers architecure?
Liothen has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
nobitanobi has joined #ruby
agrinb has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
agrinb has joined #ruby
athan has joined #ruby
x77686d has quit [Ping timeout: 272 seconds]
leonshalimov has joined #ruby
patrick99e99 has quit [Ping timeout: 272 seconds]
elfuego has joined #ruby
ta has joined #ruby
jamison has joined #ruby
DylanJ has joined #ruby
mischief_ is now known as mischief
ping-pong has quit [Ping timeout: 255 seconds]
leonshalimov has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
nobitanobi has quit [Remote host closed the connection]
codeFiend has quit [Quit: codeFiend]
pdoherty has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
arup_r has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 276 seconds]
DadoCe has joined #ruby
arup_r has joined #ruby
tjohnson has joined #ruby
Ankhers has joined #ruby
Xiti has joined #ruby
<jhass> no I wouldn't say so
<jhass> I'd actually go as far and say it's closer to a design pattern than to an architecture pattern
jamison has quit [Ping timeout: 245 seconds]
bonhoeffer has joined #ruby
pdoherty has quit [Ping timeout: 255 seconds]
Ankhers has quit [Ping timeout: 250 seconds]
claw has quit [Quit: Konversation terminated!]
bonhoeffer has quit [Read error: Connection reset by peer]
claw has joined #ruby
scripore has joined #ruby
bonhoeffer has joined #ruby
sn0wb1rd has quit [Ping timeout: 245 seconds]
hirzu has joined #ruby
<shevy> is osx a better development platform than linux?
VBlizzard has joined #ruby
ping-pong has joined #ruby
blizzy has quit [Disconnected by services]
VBlizzard is now known as blizzy
athan has quit [Ping timeout: 245 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
claw has quit [Ping timeout: 255 seconds]
sn0wb1rd has joined #ruby
bronson has joined #ruby
<wasamasa> trololol
athan has joined #ruby
jamison has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
hirzu has quit [Quit: This computer has gone to sleep]
backhoe has quit [Ping timeout: 264 seconds]
arup_r has joined #ruby
fgo has joined #ruby
lampd1 has joined #ruby
backhoe has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
mitchellhenke has joined #ruby
longlive1heking has joined #ruby
hirzu has joined #ruby
wallerdev has joined #ruby
nateberkopec has quit [Quit: Leaving...]
fgo has quit [Ping timeout: 244 seconds]
<theotherstupidgu> jhass well, its well established that it is common and important, even out of ruby. and as far as i can tell it never been documented as a design pattern(got any references?)
lampd1 has quit [Client Quit]
<jhass> no, got middleware documented as architecture pattern?
<theotherstupidgu> it seems to me it functions pretty much as a layers architecture as in POSA books
longlive1heking has quit [Ping timeout: 245 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<theotherstupidgu> nope no middleware documented as arechitecutre pattern, yet middleware is not a well defined term
<jhass> what in software engineering really is :P
<theotherstupidgu> true, but its kinda weak to go on without attaching the strings of knowledge... ;)
Morkel has joined #ruby
nateberkopec has joined #ruby
<theotherstupidgu> maybe the rack maintainer might help
mrmargolis has joined #ruby
r0bby_ has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
Cache_Money has joined #ruby
Ankhers has joined #ruby
tiwillia has quit [Read error: Connection reset by peer]
tiwillia has joined #ruby
<theotherstupidgu> raised an issue https://github.com/rack/rack/issues/789
Aova has quit [Read error: Connection reset by peer]
swgillespie has joined #ruby
<elfuego> does any know the request per second limit of the puma server? or a tool I can use to validate it?
swgillespie has quit [Client Quit]
Aova has joined #ruby
doobi-sham-10320 has joined #ruby
doobi-sham-10320 has quit [Remote host closed the connection]
jamison has quit [Ping timeout: 272 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<theotherstupidgu> elfuego i think that would be machine dependant, so the only way to know is to check it using a remote machine, and kinda abuse it till you know when it breaks
doobi-sham-52402 has joined #ruby
ta has joined #ruby
bonhoeffer_ has joined #ruby
bonhoeffer has quit [Ping timeout: 244 seconds]
bonhoeffer_ is now known as bonhoeffer
nateberkopec has quit [Quit: Leaving...]
blackoperat has joined #ruby
<b1nd> Does Maria10 work with mysql2 or is there anything else I can use?
ukd1 has quit [Ping timeout: 245 seconds]
<b1nd> Been trying here to get it to build for mysql2 but it keeps saying
<b1nd> `require': Incorrect MySQL client library version! This gem was compiled for 5.5.41-MariaDB but the client library is 10.0.5-MariaDB. (RuntimeError)
<b1nd> also, tried `mysql` and same exact issue
ukd1 has joined #ruby
RandyT has quit [Read error: Connection reset by peer]
shime has joined #ruby
RandyT has joined #ruby
ta has quit [Ping timeout: 276 seconds]
<havenwood> b1nd: maybe try: gem pristine mysql2 --extensions
<havenwood> b1nd: rebuild against your new db
Ankhers has quit [Remote host closed the connection]
<jhass> ^ have it working with mariadb10 here
scripore has joined #ruby
scripore has quit [Remote host closed the connection]
neoxquick has joined #ruby
Ankhers has joined #ruby
<kstuart> b1nd: also this ticket may help - https://github.com/brianmario/mysql2/issues/506
The_Phoenix has quit [Quit: Leaving.]
jgt2 has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
digitalcake has joined #ruby
leonshalimov has joined #ruby
ta has joined #ruby
<digitalcake> What is the best way to write an acceptance spec for a rake file that generates a file? should I just check to see that a file create by trying to load it or am I'm doing it all wrong?
rlazoti has joined #ruby
kyb3r_ has joined #ruby
wow has joined #ruby
sent1nel has quit [Remote host closed the connection]
<wow> Guys some guy is flirting with my crush and this is a huge problem for me
<wow> does ruby have a gem for hacking fb accounts?
<wasamasa> rofl
<wasamasa> bestest request for ruby help ever
<wow> I'm serious lol
function90 has quit [Quit: Textual IRC Client: www.textualapp.com]
leonshalimov has quit [Ping timeout: 255 seconds]
thumpba has joined #ruby
ta has quit [Ping timeout: 246 seconds]
avahey has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Zarthus has joined #ruby
polyzen has joined #ruby
<shevy> don't think many ruby guys have much to do with fb
<shevy> wow you can always try a search for gems yourself: https://rubygems.org/search?utf8=%E2%9C%93&query=facebook
<wow> but how do you hack a facebook acount
<wasamasa> get out
Takle has quit [Remote host closed the connection]
<wasamasa> if you're in the least bit serious, you have a much bigger problem than that at your hands
<Zarthus> you become a better person and instead ignore their presence and let them live their life
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kstuart> digitalcake: can you not predetermine what the generated file contains? Then compare generated to expected .Loading it seems a bit extreme.
thumpba has quit [Remote host closed the connection]
<theotherstupidgu> zarthus way to go
thumpba has joined #ruby
gawd has quit [Quit: Leaving]
<wow> zarthus: thanks
<wow> i will
<wasamasa> lol
<shevy> :)
<wow> so can someone tell me the best place to hide a body
<shevy> Zarthus is a buddhist, wasamasa is a devil
<wasamasa> this is going a bit too well
<Zarthus> no problem'
<wasamasa> shevy: got a problem with that?
<shevy> wow your fridge?
<wow> hmm
<wow> ill try it
<wow> thx
<wasamasa> shevy: what are you then?
<wasamasa> my advocate?
<shevy> wasamasa ur mom
wow has quit [Quit: Lost terminal]
<theotherstupidgu> comic book men, anyone watched this show?
<shevy> never heard of that show before
<shevy> my shows were in the 1980es like married with children!
<theotherstupidgu> i was trying to find comics it popedup
quimrstorres has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<theotherstupidgu> got kevin smith
quimrstorres has joined #ruby
Takle has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
<Rylee> man, the python useres are getting more blatant in their trolling
thumpba has quit [Remote host closed the connection]
<digitalcake> kstuart: I thought that the contents would be what get tested at the unit level and that I would not need to check that twice. But I guess I'm just looking for a reason to write a acceptance test.
hirzu has quit [Quit: This computer has gone to sleep]
<shevy> Rylee it's the way of our slithering friends, just like in the old junglebook movie
<Rylee> :-P
softinio has joined #ruby
longfeet has joined #ruby
thumpba has joined #ruby
<softinio> What's a good book or tutorial to learn ruby fast for an experienced programmer ?
<shevy> anyone knows if someone perhaps wrote a gmail gem? I'd need a way to just dump a listing of all emails on the commandline
longlivetheking has joined #ruby
<gizmore> shevy: there is an official gem from google... maybe it covers it?
tmtwd has joined #ruby
<gizmore> it covers all api stuff... maybe there is gmail too
doobi-sham-25290 has joined #ruby
doobi-sham-25290 has quit [Remote host closed the connection]
slyv has joined #ruby
<kstuart> digitalcake: ah, ok. if you're testing the functionality of the generated file with unit tests sounds like it's covered already.
tpilionis has joined #ruby
Morkel has quit [Quit: Morkel]
JohnBat26 has joined #ruby
<shevy> gizmore ok let's see
havenwood has quit [Remote host closed the connection]
hashpuppy has joined #ruby
nrsk has joined #ruby
dc has joined #ruby
fgo has joined #ruby
atomi has quit [Remote host closed the connection]
parduse has joined #ruby
shime has quit [Ping timeout: 244 seconds]
Takle has quit [Remote host closed the connection]
Xeago has joined #ruby
ta has joined #ruby
blizzy has quit [Ping timeout: 264 seconds]
fgo has quit [Ping timeout: 276 seconds]
<digitalcake> one of the hard parts about trying to make an acceptance test for a rake task that generates a file is to make sure your not writing to production files and instead are writing test files.
teddyp1cker has joined #ruby
nettus has quit [Read error: Connection reset by peer]
<digitalcake> on hand I dont want logic that checks for the env in the task its self just because of tests, than no the other hand I dont want to supply the task with a path to a file to write to just cause of test
last_staff has quit [Quit: last_staff]
arup_r has quit [Quit: Leaving.]
<digitalcake> s/on hand/on one hand
nateberkopec has joined #ruby
teddyp1cker has quit [Client Quit]
Jackneill has quit [Read error: Connection reset by peer]
<kstuart> why not use env?
nettus has joined #ruby
<kstuart> not performance reasons, surely the impact would be minimal.
Neomex has joined #ruby
ta has quit [Ping timeout: 276 seconds]
sent1nel has joined #ruby
spyderman4g63 has joined #ruby
ohaibbq has joined #ruby
sibchcoder has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<digitalcake> I thought about that, but I worried about generating files that should be cleaned up after the test runs
patrick99e99 has joined #ruby
<digitalcake> I guess I cant have one without the other
sent1nel has quit [Ping timeout: 246 seconds]
oo_ has joined #ruby
<kstuart> maybe create a test rakefile for test setup that requires actual rakefile. test rakefile would setup for test?
spyderman4g63 has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
maletor_ has quit [Quit: Computer has gone to sleep.]
TgMts has joined #ruby
gr33n7007h has quit [Ping timeout: 264 seconds]
gr33n7007h has joined #ruby
tyfighter has joined #ruby
Aova has joined #ruby
sent1nel has joined #ruby
nateberkopec has quit [Quit: Leaving...]
pierre1_ has quit [Ping timeout: 246 seconds]
<havenwood> softinio: The Ruby Programming Language or The Well-Grounded Rubyist, Second Edition are both good. What language family are you coming from?
Azure has quit [Max SendQ exceeded]
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
spyderman4g63 has joined #ruby
centrx has quit [Ping timeout: 264 seconds]
<havenwood> softinio: Here's a very quick run-through: http://learnxinyminutes.com/docs/ruby/
<havenwood> softinio: Or some intros from other langs: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/
spyderman4g63 has quit [Client Quit]
bonhoeffer has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
Azure has joined #ruby
backhoe_ has joined #ruby
skj3gg has joined #ruby
Azure has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
diegoviola has joined #ruby
dotix has joined #ruby
dotix has joined #ruby
backhoe has quit [Ping timeout: 264 seconds]
duncannz has joined #ruby
einarj has joined #ruby
Xaitec has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
Azure has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
thatslifeson has quit [Quit: Leaving]
FooMunki_ has joined #ruby
JBreit has joined #ruby
thatslifeson has joined #ruby
nettus has quit [Changing host]
nettus has joined #ruby
ferr has quit [Quit: Lost terminal]
JBreit has left #ruby [#ruby]
digitalcake has quit [Quit: Leaving.]
nateberkopec has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
mrmargolis has quit []
djbkd has joined #ruby
chrishough has joined #ruby
avahey has quit [Ping timeout: 276 seconds]
vikram_ has quit [Ping timeout: 276 seconds]
ggherdov has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Ping timeout: 245 seconds]
kyote has quit [Read error: Connection reset by peer]
Kharma has quit [Ping timeout: 252 seconds]
jpinnix______ has quit [Ping timeout: 245 seconds]
incomprehensibly has quit [Ping timeout: 245 seconds]
alekst_ has quit [Ping timeout: 245 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ChristianDC has joined #ruby
ikanobori has quit [Ping timeout: 272 seconds]
daxroc has quit [Ping timeout: 272 seconds]
_chs_ has quit [Ping timeout: 272 seconds]
copy0401 has quit [Ping timeout: 265 seconds]
frankS2 has quit [Ping timeout: 276 seconds]
zipkid has quit [Ping timeout: 276 seconds]
lepht has quit [Ping timeout: 276 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michael_mbp has quit [Excess Flood]
mostlybadfly has quit [Ping timeout: 265 seconds]
dmoe has quit [Ping timeout: 265 seconds]
tjohnson has quit [Ping timeout: 272 seconds]
bestie has quit [Ping timeout: 272 seconds]
sibchcoder has quit [Ping timeout: 245 seconds]
mjc_ has quit [Ping timeout: 276 seconds]
<theotherstupidgu> is there a way to know when an object got its :send method used?
jxf has quit [Ping timeout: 272 seconds]
cbetta has quit [Ping timeout: 272 seconds]
whoojemaflip has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
apeiros_ has joined #ruby
sibchcoder has joined #ruby
ddd has joined #ruby
michael_mbp has joined #ruby
digitalcake has joined #ruby
mloveless has quit []
sibchcoder has quit [Remote host closed the connection]
DadoCe has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
backhoe_ has quit [Ping timeout: 245 seconds]
skj3gg has joined #ruby
backhoe_ has joined #ruby
bronson has joined #ruby
pdoherty has joined #ruby
skj3gg has quit [Client Quit]
digitalcake has quit [Client Quit]
Xaitec has quit [Remote host closed the connection]
skj3gg has joined #ruby
ki0 has quit [Remote host closed the connection]
<havenwood> theotherstupidgu: class Object; def send *args; puts "#{self}#send called!"; super end end
deol has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
ta has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
martinium has joined #ruby
DadoCe has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
pdoherty has quit [Ping timeout: 276 seconds]
JoshGlzBrk has joined #ruby
russt has quit [Quit: russt]
dotix has quit [Quit: Leaving]
shime has joined #ruby
davout has quit [Ping timeout: 256 seconds]
Guest36764 has quit []
ki0 has joined #ruby
russt has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
adriancb has quit [Remote host closed the connection]
RTG` has joined #ruby
ypasmk has joined #ruby
ta has quit [Ping timeout: 265 seconds]
<ypasmk> anyone knows if in 1.8.5 the digest gem is supported?
<theotherstupidgu> havenwood: awesome, thnx :)
sent1nel has quit [Read error: Connection reset by peer]
sent1nel has joined #ruby
blackoperat has quit [Ping timeout: 276 seconds]
ChristianDC has left #ruby ["WeeChat 1.2-dev"]
timonv has quit [Quit: WeeChat 1.1]
blizzy has joined #ruby
timonv has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ki0 has quit [Remote host closed the connection]
davout has joined #ruby
shime has quit [Ping timeout: 245 seconds]
ypasmk has quit [Quit: ypasmk]
fgo has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
ki0 has joined #ruby
jenrzzz has joined #ruby
ki0 has quit [Remote host closed the connection]
skj3gg has quit [Quit: ZZZzzz…]
timonv has quit [Ping timeout: 244 seconds]
ta has joined #ruby
nicolastarzia has joined #ruby
onkelhotte has joined #ruby
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
longfeet has quit [Ping timeout: 245 seconds]
onkelhotte has quit [Client Quit]
rlazoti has quit [Quit: (null)]
jonr22 has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
nicolastarzia has quit [Ping timeout: 264 seconds]
msgodf has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
leonshalimov has joined #ruby
shime has joined #ruby
ta has quit [Ping timeout: 276 seconds]
jerematic has quit [Ping timeout: 255 seconds]
<softinio> havenwood: I actually have developed in a lot of languages including C, Java, Python and Javascript to name afew ...dabbled in go lang too which I like a lot
<softinio> Need to use Ruby on a new thing at work for first tim
jenrzzz has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
leonshalimov has quit [Ping timeout: 246 seconds]
<havenwood> softinio: Nice. Python is the closest relative of those. The reference implementation is in C. JRuby is an excellent implementation on the JVM. Opal is a partial implementation in JavaScript.
ta has joined #ruby
<havenwood> softinio: So your languages are in good company in Rubyland!
longlivetheking has quit [Ping timeout: 256 seconds]
shime has quit [Ping timeout: 245 seconds]
<softinio> havenwood: shouldn't take me long to get going with it i hope
<softinio> havenwood: Friday started going through this as a starting point: http://www.rubyist.net/~slagell/ruby will look at your suggestions too
jobewan has joined #ruby
it0a has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
nateberkopec has quit [Quit: Leaving...]
dimaursu16 has quit [Ping timeout: 256 seconds]
Aova has joined #ruby
dimaursu16 has joined #ruby
commmmodo has quit [Quit: commmmodo]
tiwillia has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 276 seconds]
Xeago has quit [Remote host closed the connection]
tyfighter has joined #ruby
mikepack has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tiwillia has joined #ruby
metadave_ has joined #ruby
psy has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgt2 has quit [Ping timeout: 256 seconds]
mikepack has quit [Ping timeout: 252 seconds]
thotmx has quit [Quit: Konversation terminated!]
ta has joined #ruby
crocket has joined #ruby
<crocket> After upgrading my archlinux system, when I execute bundler, I see "/usr/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'bundler'"
metadave has quit [Ping timeout: 264 seconds]
<crocket> How do I solve the issue?
jokke is now known as niklas
niklas is now known as jokke
debajit has joined #ruby
jgt2 has joined #ruby
ta has quit [Ping timeout: 276 seconds]
maletor has joined #ruby
agjacome has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
JoshGlzBrk has joined #ruby
davedev24_ has quit [Ping timeout: 276 seconds]
davedev24_ has joined #ruby
mitchellhenke has joined #ruby
mitchellhenke has quit [Client Quit]
msgodf has joined #ruby
codeFiend has joined #ruby
chrishough has joined #ruby
chipotle has quit [Quit: cheerio]
chrishough has quit [Client Quit]
AlexRussia has quit [Ping timeout: 272 seconds]
codeFiend has quit [Client Quit]
swgillespie has joined #ruby
AlexRussia has joined #ruby
gsd has joined #ruby
mrmargolis has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<havenwood> crocket: gem install bundler
FooMunki_ has quit [Quit: FooMunki_]
FooMunki has joined #ruby
Azure has quit [Ping timeout: 265 seconds]
siwica has quit [Ping timeout: 264 seconds]
ta has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
diegoviola has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elfuego> can anyone point me to resources to scale a puma webserver, current user load is exceeding its capabilities.
timonv has joined #ruby
<havenwood> elfuego: What are you currently doing? How many cores and threads?
Channel6 has quit [Quit: Leaving]
jerematic has joined #ruby
<elfuego> 4 cores, 30 gb of ram, 100 - 3000 threads
it0a has joined #ruby
<elfuego> its an api havenwood
ta has quit [Ping timeout: 276 seconds]
<havenwood> elfuego: using Intrepid Squirrel?
<havenwood> version 2.11.0?
<havenwood> elfuego: that many threads with four cores, hem.
matled has quit [Remote host closed the connection]
mloveless has joined #ruby
<elfuego> I think the server isn’t able to accept all the http request I throw at it
longlivetheking has joined #ruby
<elfuego> using jmeter
<elfuego> havenwood:
JDiPierro has joined #ruby
mloveless has quit [Client Quit]
davidhq has joined #ruby
jack_rabbit has joined #ruby
quimrstorres has quit [Remote host closed the connection]
rbrs has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
chipotle has joined #ruby
josephndenton has quit [Ping timeout: 265 seconds]
Rollabunna has joined #ruby
fgo has joined #ruby
<elfuego> havenwood: how do you determine the thread number for a machine specification?
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #ruby
jgt2 has quit [Ping timeout: 276 seconds]
<havenwood> elfuego: How are you running Puma? What does your config file look like? Gist it?
<havenwood> elfuego: Experimentation.
mrmargolis has quit [Remote host closed the connection]
<havenwood> elfuego: Worker/Thread combos.
siwica has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
<havenwood> elfuego: I haven't actually tried it, but you could check out Puma Auto Tune: https://github.com/schneems/puma_auto_tune#readme
<havenwood> a neat idea
<havenwood> elfuego: Running Puma on MRI, JRuby or Rubinius?
<elfuego> jruby
bzeu has joined #ruby
skj3gg has joined #ruby
bzeu is now known as Sento
<Sento> hi
<havenwood> Sento: hi
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Sento> Any recommended books on Ruby for C++ programmers? Also how long time will it take to learn Ruby well?
<havenwood> Sento: Here's a very quick intro from a C/C++ perspective: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-c-and-cpp/
jonr22 has quit [Remote host closed the connection]
x77686d has joined #ruby
<Sento> I see. How long you think it will take to actually learn Ruby well?
nateberkopec has joined #ruby
max96at is now known as max96at|off
Kilo`byte has quit [Quit: kilobyte22.de]
msgodf has quit [Ping timeout: 240 seconds]
<havenwood> elfuego: You might also compare Puma performance with Torquebox 4 for your usecase.
tiwillia has quit [Ping timeout: 240 seconds]
<havenwood> Sento: I don't know how long it would take. How long does it take to learn C++ well?
timonv has quit [Ping timeout: 245 seconds]
<Sento> havenwood: you can't compare C++ with ruby
<havenwood> I can.
<havenwood> I did!
Aova has quit [Read error: Connection reset by peer]
jobewan has quit [Ping timeout: 246 seconds]
Azure has joined #ruby
<havenwood> They're both languages. It's very hard to say what knowing either well means exactly. It's very hard to say how long it would take to learn either.
<softinio> havenwood: looks like u r the channel book recommendation manager :-)
lepht has joined #ruby
tyfighter has quit [Ping timeout: 256 seconds]
<havenwood> softinio: I should get referral links. :P
<softinio> yes
matled has joined #ruby
tiwillia has joined #ruby
jpinnix______ has joined #ruby
tyfighter has joined #ruby
Kilo`byte has joined #ruby
cashnguns has joined #ruby
<Hijiri> is it true that Ruby is a parentheses-less dialect o lisp
<wasamasa> pfft
<wasamasa> far from it
<wasamasa> the only thing they share in common is the rather sorry state of documentation
<havenwood> From the Ruby manpage: If you want a language for easy object-oriented programming, or you don't like the Perl ugliness, or you do like the concept of LISP, but don't like too many parentheses, Ruby might be your language of choice.
sambao21 has joined #ruby
<Hijiri> blocks are sort of like lambdas
incomprehensibly has joined #ruby
<Hijiri> I've never actually used lisp before though
Aova has joined #ruby
<Hijiri> except copy and pasting stuff into my elisp file
<wasamasa> the "sort of" part is the problem
jgt2 has joined #ruby
<havenwood> Hijiri: Clojure is a nice Lisp.
* wasamasa shivers when thinking of the builder gem
<havenwood> Hijiri: It's actually quite pleasant to use stuff like Clojure's STM from JRuby.
ki0 has joined #ruby
<havenwood> Hijiri: I think some of the seattlerb folk enjoy Scheme.
cbetta has joined #ruby
<wasamasa> it's my favourite example of how rubyists keep solving a very simple problem the wrong way
<havenwood> Chicken!
<havenwood> wasamasa: STM?
<wasamasa> havenwood: no, building xml
<havenwood> ahh, that makes more sense! hehe
<wasamasa> havenwood: all these non-composable DSLs suck
<havenwood> mm
<wasamasa> especially with that sorry excuse for documentation
backhoe_ has quit [Ping timeout: 276 seconds]
<wasamasa> whereas in every lisp you just pass nested data structures to a single, documented function
<Hijiri> I've only done a little ruby, but I found the xml buildling lib very imperative
backhoe_ has joined #ruby
doobi-sham-52402 has quit [K-Lined]
<wasamasa> inventing new syntax for it is just wrong, just see what happens when you try printing out what builder would spit out
<wasamasa> that's right, it modifies the builder object
bthesorceror has joined #ruby
mitchellhenke has joined #ruby
<wasamasa> I've eventually settled for a gem by a coworker that did that task in ruby by wrapping nokogiri
_1_Dauntless45 has joined #ruby
ki0 has quit [Ping timeout: 255 seconds]
mitchellhenke has quit [Client Quit]
sambao21 has quit [Ping timeout: 245 seconds]
thatslifeson has quit [Quit: Leaving]
shime has joined #ruby
thatslifeson has joined #ruby
_1_Dauntless45 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
mostlybadfly_ has joined #ruby
tyfighter has quit [Quit: tyfighter]
claptor has joined #ruby
sambao21 has joined #ruby
Xeago has joined #ruby
patrick99e99 has quit [Quit: Lost terminal]
defrang has quit [Quit: defrang]
whoojemaflip has joined #ruby
bronson has joined #ruby
einarj has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 265 seconds]
ohaibbq has quit [Quit: Leaving...]
jenrzzz has quit [Ping timeout: 245 seconds]
bklane has joined #ruby
ta has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
ggherdov has joined #ruby
jerematic has quit [Ping timeout: 252 seconds]
mostlybadfly_ is now known as mostlybadfly
theotherstupidgu has quit [Quit: leaving]
Neomex has quit [Quit: Leaving]
rickruby has joined #ruby
avahey has joined #ruby
<weaksauce> wasamasa > I try to avoid all normal method names on the MarkUp object to avoid clashes with XML tag names. Will someone have an XML tag named "to_s"? Probably not, but I'm not in fond of setting a precedent
<weaksauce> from the guy that wrote builder
AlexRussia has joined #ruby
dmoe has joined #ruby
olleromo___ has joined #ruby
AlexRussia has quit [Excess Flood]
sent1nel_ has joined #ruby
mjc_ has joined #ruby
mostlybadfly has quit [Disconnected by services]
AlexRussia has joined #ruby
frankS2 has joined #ruby
kyote has joined #ruby
doobi-sham-33824 has joined #ruby
CJD14______ has joined #ruby
ta has quit [Ping timeout: 276 seconds]
Zai00 has quit [Quit: Zai00]
sent1nel has quit [Ping timeout: 244 seconds]
thesheff17 has joined #ruby
tiwillia has quit [Ping timeout: 255 seconds]
Vile` has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
pdoherty has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tiwillia has joined #ruby
tjohnson has joined #ruby
Vile` has joined #ruby
nateberkopec has quit [Quit: Leaving...]
codecop has quit [Remote host closed the connection]
adriancb has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
bronson has quit [Remote host closed the connection]
bklane has quit []
nateberkopec has joined #ruby
pdoherty has quit [Ping timeout: 252 seconds]
Zai00 has joined #ruby
doobi-sham-33824 has quit [K-Lined]
russt has quit [Ping timeout: 245 seconds]
oo_ has quit [Ping timeout: 272 seconds]
TgMts has quit [Ping timeout: 245 seconds]
daxroc has joined #ruby
m8 has quit [Quit: Sto andando via]
nateberkopec has quit [Client Quit]
digitalcake has joined #ruby
ikanobori has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
agjacome has quit [Quit: leaving]
ta___ has quit [Remote host closed the connection]
ta has joined #ruby
cashnguns has quit [Quit: I'm just an old fashioned cowboy]
leonshalimov has joined #ruby
Kharma has joined #ruby
fgo has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
_chs_ has joined #ruby
Rhainur1 has joined #ruby
_chs_ is now known as Guest85006
mitchellhenke has joined #ruby
leonshalimov has quit [Ping timeout: 276 seconds]
fgo has quit [Ping timeout: 252 seconds]
TgMts has joined #ruby
Rhainur has quit [Ping timeout: 264 seconds]
kl has joined #ruby
randiman has quit [Quit: (null)]
_honning_ has quit [Ping timeout: 246 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
athan has quit [Read error: Connection reset by peer]
coinrookie has quit [Remote host closed the connection]
zipkid has joined #ruby
c355E3B has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Sento has quit [Quit: Page closed]
riotjones has joined #ruby
apeiros_ has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
antgel has quit [Ping timeout: 244 seconds]
quimrstorres has joined #ruby
apeiros_ has joined #ruby
n008f4g_ has quit [Ping timeout: 256 seconds]
riotjone_ has quit [Ping timeout: 276 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
neoxquick has quit [Read error: Connection reset by peer]
Channel6 has joined #ruby
bestie has joined #ruby
alekst_ has joined #ruby
strat0cat9 has joined #ruby
Aova has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
Zai00 has joined #ruby
swgillespie has joined #ruby
strat0cat9 is now known as strat0cat
nateberkopec has joined #ruby
<shevy> hanmac, you there? have not heard from you in ages
vikram_ has joined #ruby
jxf has joined #ruby
chipotle has quit [Quit: cheerio]
kalusn has quit [Remote host closed the connection]
agjacome has joined #ruby
OrbitalKitten has joined #ruby
longfeet has joined #ruby
jgt2 has quit [Ping timeout: 245 seconds]
strat0cat has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
tcrypt has joined #ruby
russt has joined #ruby
strat0cat9 has joined #ruby
jerematic has joined #ruby
strat0cat9 is now known as strat0cat
Spami has quit [Quit: This computer has gone to sleep]
phoo1234567 has quit [Quit: Leaving]
ta_ has joined #ruby
_Andres has quit [Quit: jazz]
n008f4g_ has joined #ruby
copy0401 has joined #ruby
jerematic has quit [Ping timeout: 255 seconds]
axilla has quit [Ping timeout: 256 seconds]
parduse has quit []
ta_ has quit [Ping timeout: 245 seconds]
Sgeo_ has joined #ruby
jerematic has joined #ruby
hiyosi has joined #ruby
Sgeo has quit [Ping timeout: 244 seconds]
DadoCe has quit [Remote host closed the connection]
skj3gg has joined #ruby
parduse has joined #ruby
x77686d has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
workmad3_ has quit [Ping timeout: 246 seconds]
jerematic has quit [Ping timeout: 256 seconds]
x77686d has joined #ruby
Zai00 has quit [Quit: Zai00]
tpilionis has quit [Ping timeout: 246 seconds]
<scottstamp> Hey, is there a "Rails" way of checking if a parameter is set inside a controller? In my use case, I have a few routes pointing to the same controller method with an optional parameter passed to the route. I remembered reading Rails has some validation stuff, figured what I'm trying to do probably belongs there.
<scottstamp> basically I need to do if params[:tag] is set { ...} else { ... }
skj3gg has quit [Quit: ZZZzzz…]
dc has quit [Remote host closed the connection]
skj3gg has joined #ruby
nfk has quit [Quit: yawn]
<tcrypt> scottstamp: you can just do `if params[:tag].present?; stuff(); else; otherstuff(); end`
<tcrypt> scottstamp: personally I normally use https://github.com/cypriss/mutations
<scottstamp> ah, present. That's what I was looking for.
kirun has quit [Quit: Client exiting]
<tcrypt> which allows you set if things are required or not, and their defaults if they're optional
<scottstamp> Neat, that looks rather useful for the next few features I need to implement actually.
longlivetheking has quit [Quit: Lost terminal]
chipotle has joined #ruby
bronson has joined #ruby
siwica1 has joined #ruby
Eiam has joined #ruby
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
siwica has quit [Ping timeout: 272 seconds]
_matt has joined #ruby
russt has quit [Quit: russt]
Xeago has quit [Remote host closed the connection]
<crocket> How do I install bundler in a system directory?
bronson has quit [Ping timeout: 264 seconds]