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
impi0us has quit [Quit: Leaving]
commmmodo has joined #ruby
oleo has quit [Read error: Connection reset by peer]
agjacome has quit [Ping timeout: 256 seconds]
oleo has joined #ruby
greenbagels has joined #ruby
lifenoodles has quit [Ping timeout: 255 seconds]
ta has quit [Ping timeout: 252 seconds]
shime_ has joined #ruby
nobitanobi has quit [Ping timeout: 252 seconds]
ta has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
spider-mario has quit [Read error: Connection reset by peer]
shime has quit [Ping timeout: 250 seconds]
sandshark_ has joined #ruby
supergiel has quit [Ping timeout: 245 seconds]
Deele has quit [Ping timeout: 245 seconds]
xcesariox has joined #ruby
tiwillia has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 250 seconds]
tiwillia has joined #ruby
fabrice31 has joined #ruby
juanpablo___ has joined #ruby
Rollabunna has quit [Quit: Leaving...]
SpikeMaster has joined #ruby
Aova has quit [Read error: Connection reset by peer]
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
mikecmpbll has quit [Quit: ciao.]
jenrzzz has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
juanpablo___ has quit [Ping timeout: 265 seconds]
kalusn has joined #ruby
ta has joined #ruby
dspangenberg has joined #ruby
jimbauds has quit [Quit: Connection closed for inactivity]
Aova has joined #ruby
tkuchiki has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
timanema has joined #ruby
Sawbones has joined #ruby
tkuchiki has joined #ruby
supergiel has joined #ruby
Sakens has quit [Read error: Connection reset by peer]
dspangenberg has quit [Ping timeout: 265 seconds]
Pupeno_ has quit [Ping timeout: 264 seconds]
athan has quit [Ping timeout: 246 seconds]
ta has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
scripore has quit [Quit: Leaving]
athan has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sid05 has quit [Quit: Sid05]
FooMunki_ has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
agjacome has joined #ruby
kristian-aalborg has joined #ruby
<kristian-aalborg> hello
caveat- has joined #ruby
Sid05 has joined #ruby
sent1nel has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
mistermocha has quit [Remote host closed the connection]
quimrstorres has joined #ruby
oo_ has quit [Remote host closed the connection]
sevenseacat has joined #ruby
timanema has left #ruby [#ruby]
sent1nel has quit [Ping timeout: 245 seconds]
<kristian-aalborg> I'm getting: WARNING: Nokogiri was built against LibXML version 2.9.2, but has dynamically loaded 2.9.1
<Xnfu> Then don't dynamically load libXML 2.9.1
jenrzzz has quit [Quit: Lost terminal]
<Xnfu> Or remove 2.9.1 and get 2.9.2
oo_ has joined #ruby
quimrstorres has quit [Ping timeout: 240 seconds]
<Xnfu> kristian-aalborg: Did you install Nokogiri with bundle?
<kristian-aalborg> Xnfu, no, sudo gem install... I'm on openSUSE 13.1
caveat- has quit [Ping timeout: 245 seconds]
<kristian-aalborg> and thanks for the fast suggestions, looking into it
<Xnfu> gem pristine nokogiri
<Xnfu> run that, see if it works for you
<Xnfu> also a sudo if needed
jenrzzz has joined #ruby
<kristian-aalborg> I already tried, no luck
<jhass> kristian-aalborg: it's a warning, it's okay
sent1nel has joined #ruby
caveat- has joined #ruby
<Xnfu> You probably have two versions installed
<jhass> changes in minor might cause problems
<Xnfu> Yeah, but it's a warning he wants to surpress
<jhass> changes in the hotfix don't in my experience
<Xnfu> I'm sure
<jhass> gem pristine nokogiri should get rid of it
Sid05 has quit [Quit: Sid05]
<Xnfu> He already tried that
<Xnfu> as mentioned above
<jhass> I'd just ignore it really
<kristian-aalborg> I want to fix this because someone is going to help me with a jekyll problem... and I want it to execute flawlessly before I send him my questions
<kristian-aalborg> so he won't be wasting time on my messy system ;)
<jhass> you updated libxml2 after installing nokogiri
<jhass> normal thing to do, not messy
<Xnfu> Let's also forget about CVE-2014-0191 and CVE-2014-3660
<Xnfu> and the ton of bug fixes too
<jhass> oh, wait, the lower version is dynamically loaded?
Pupeno has quit [Remote host closed the connection]
<jhass> ignore me, sorry
<kristian-aalborg> retrying the pristine thing
Pupeno has joined #ruby
nii236|irssi has joined #ruby
<jhass> kristian-aalborg: which command is giving you that actually?
<Xnfu> Likely the program
<Xnfu> interpreter
<kristian-aalborg> nokogiri -v gives it
<kristian-aalborg> also jekyll build
<sevenseacat> if it causes a problem, uninstall and reinstall nokogiri.
<sevenseacat> however, its just a warning and doesnt cause a problem.
<kristian-aalborg> tried pristine again, same thing
<kristian-aalborg> okay, I guess I will take your word for it... I've installed/uninstalled the thing a dozen times now
<Xnfu> The correct thing to do would be to fix the warning, not ignore it.
blackmesa has quit [Quit: WeeChat 1.1]
<Xnfu> You guys are giving bad advice
<sevenseacat> erm
blackmesa has joined #ruby
ptrrr has joined #ruby
marienz has joined #ruby
<Xnfu> kristian-aalborg: Have you installed libxml via brew by chance?
hmsimha has joined #ruby
Guest97255 has quit [Changing host]
Guest97255 has joined #ruby
marr has quit [Ping timeout: 255 seconds]
<gr33n7007h> Xnfu, he's on opensuse
Guest97255 is now known as daynaskully
russt has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrmargolis has joined #ruby
fijimunkii has quit [Quit: leaving]
jetblack_ has quit [Ping timeout: 252 seconds]
kayloos has joined #ruby
ptrrr has quit [Ping timeout: 264 seconds]
ta has joined #ruby
kalusn has quit [Ping timeout: 250 seconds]
<kristian-aalborg> yup
pkrzywicki has joined #ruby
<kristian-aalborg> my entire OS is in need of being purged and replaced... not making thing easier
pkrzywicki has quit [Read error: Connection reset by peer]
pkrzywicki has joined #ruby
<kristian-aalborg> by the way, is ruby a good beginner language?
bronson has joined #ruby
<mozzarella> absolutely
Sawbones has quit [Remote host closed the connection]
<kristian-aalborg> there seems to be a big community... always a good thing
ta has quit [Ping timeout: 246 seconds]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
lemur has joined #ruby
pdoherty has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
tiwillia has quit [Ping timeout: 250 seconds]
zachrab has joined #ruby
<kristian-aalborg> ah, there's a version of nokogiri bundled in my software center... let me try that
<kristian-aalborg> HA!
JyZyXEL has joined #ruby
<JyZyXEL> where does rubymine store its configuration on windows?
<kristian-aalborg> the warning's gone... thanks for chiming in, everyone!
duncannz has quit [Ping timeout: 264 seconds]
tiwillia has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
LudicrousMango has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
__chris has quit [Quit: Leaving]
mbrumbelow has joined #ruby
nuck has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 250 seconds]
duncannz has joined #ruby
Aova has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
russt has quit [Quit: russt]
duncannz has quit [Max SendQ exceeded]
pika_pika has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
ta has joined #ruby
jenrzzz has joined #ruby
shime_ has quit [Remote host closed the connection]
jetblack has joined #ruby
oo_ has joined #ruby
tunaCanBruh has joined #ruby
ta has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
caveat- has quit [Ping timeout: 245 seconds]
nuck has quit [Remote host closed the connection]
josephndenton has joined #ruby
vaneda has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
jetblack has quit [Ping timeout: 244 seconds]
dfinninger has joined #ruby
dfinninger has quit [Client Quit]
Channel6 has quit [Quit: Leaving]
joast has quit [Read error: Connection reset by peer]
jokke has quit [Quit: ninja vanish]
hmsimha has quit [Ping timeout: 252 seconds]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
caveat- has joined #ruby
jokke has joined #ruby
sandshark__ has joined #ruby
davidhq has joined #ruby
arescorpio has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
DadoCe has joined #ruby
athan has quit [Ping timeout: 240 seconds]
adriancb has joined #ruby
quimrstorres has joined #ruby
sandshark_ has quit [Ping timeout: 245 seconds]
davidhq has quit [Client Quit]
nobitanobi has joined #ruby
reinaldob has joined #ruby
jetblack has joined #ruby
nfk has quit [Quit: yawn]
DadoCe has quit [Ping timeout: 264 seconds]
snath has joined #ruby
quimrstorres has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 255 seconds]
reinaldob has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
davidhq has joined #ruby
jetblack has quit [Ping timeout: 246 seconds]
mrmargolis has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
sandshark__ has quit [Ping timeout: 256 seconds]
tokik has joined #ruby
aemeredith has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
ponga has joined #ruby
Sawbones has joined #ruby
jenrzzz has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dspangenberg has joined #ruby
pkrzywicki has quit [Ping timeout: 245 seconds]
pkrzywicki has joined #ruby
astrobunny has quit [Remote host closed the connection]
athan has joined #ruby
ddd has joined #ruby
dspangenberg has quit [Ping timeout: 245 seconds]
mrmargolis has joined #ruby
tenseiten is now known as seitensei
timanema has joined #ruby
fabrice31 has joined #ruby
jetblack has joined #ruby
sandshark__ has joined #ruby
juanpablo___ has joined #ruby
ikeike443 has joined #ruby
aemeredi_ has joined #ruby
mrmargolis has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
juanpablo___ has quit [Ping timeout: 245 seconds]
aemeredith has quit [Ping timeout: 245 seconds]
duncannz has joined #ruby
bronson has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
tyfighter has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
Musashi007 has quit [Quit: Musashi007]
einarj has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
tiwillia has quit [Ping timeout: 245 seconds]
caveat- has joined #ruby
Aova has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
bronson has quit [Remote host closed the connection]
LudicrousMango has quit [Remote host closed the connection]
crdpink has joined #ruby
timanema has quit [Quit: leaving]
timanema has joined #ruby
crdpink2 has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 246 seconds]
tiwillia has joined #ruby
razieliyo has quit [Ping timeout: 250 seconds]
blackmesa has quit [Quit: WeeChat 1.1]
Aova has joined #ruby
timanema has quit [Quit: leaving]
knut has quit [Ping timeout: 264 seconds]
timanema has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
klmlfl has joined #ruby
astrobunny has joined #ruby
athan has quit [Remote host closed the connection]
jenrzzz has joined #ruby
tiwillia has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
ikeike44_ has joined #ruby
jetblack has quit [Ping timeout: 245 seconds]
pardusf has quit [Ping timeout: 250 seconds]
ikeike443 has quit [Ping timeout: 245 seconds]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icarus has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
CpuID2 has joined #ruby
jenrzzz has joined #ruby
timanema has quit [Ping timeout: 264 seconds]
astrobunny has quit [Remote host closed the connection]
parduse has joined #ruby
knut has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
dc_ has quit [Remote host closed the connection]
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pontiki has joined #ruby
demophoo1 is now known as demophoon
jenrzzz has quit [Ping timeout: 256 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobunny has joined #ruby
icarus has quit [Quit: leaving]
icarus has joined #ruby
cashnguns has quit [Read error: Connection reset by peer]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kobain has quit [Ping timeout: 245 seconds]
eka has joined #ruby
kenneth has joined #ruby
Megtastique has joined #ruby
icarus has left #ruby [#ruby]
jenrzzz has joined #ruby
Megtastique has quit [Client Quit]
_djbkd has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
astrobunny has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
dc_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
werelivinginthef has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
supergiel has quit [Remote host closed the connection]
Kn|t3 has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
zachrab has joined #ruby
plashchynski has joined #ruby
shum has joined #ruby
kobain has joined #ruby
CpuID2 has joined #ruby
CpuID2 has quit [Changing host]
CpuID2 has joined #ruby
shum has quit [Client Quit]
kobain has quit [Max SendQ exceeded]
shum has joined #ruby
pkrzywicki has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Client Quit]
shum has quit [Client Quit]
shum has joined #ruby
jenrzzz has joined #ruby
shum has quit [Client Quit]
kayloos has quit [Remote host closed the connection]
shum has joined #ruby
zachrab has quit [Ping timeout: 255 seconds]
aemeredi_ has quit []
shum has quit [Client Quit]
Sawbones has quit [Remote host closed the connection]
jetblack has joined #ruby
shum has joined #ruby
n008f4g_ has quit [Ping timeout: 245 seconds]
voglster has joined #ruby
pdoherty has joined #ruby
mitchellhenke has joined #ruby
athan has joined #ruby
LudicrousMango has joined #ruby
mbrumbelow has quit [Quit: mbrumbelow]
<voglster> whats the best way to run asynchronous commands from a sinatra app?
Aova has quit [Read error: Connection reset by peer]
pdoherty has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
TinkerTyper has quit [Ping timeout: 250 seconds]
<voglster> ive been messing with sidekiq at the moment but it seems like a lot of overhead...
tunaCanBruh has joined #ruby
ych4k3r has joined #ruby
ponga has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
ta has joined #ruby
Aova has joined #ruby
ych4k3r has quit [Ping timeout: 245 seconds]
djapo has quit [Quit: leaving]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
plashchynski has quit [Quit: plashchynski]
tunaCanBruh has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
joast has joined #ruby
sent1nel has quit [Remote host closed the connection]
caveat- has joined #ruby
sent1nel has joined #ruby
mbrumbelow has joined #ruby
ponga has joined #ruby
ta has quit [Ping timeout: 252 seconds]
vaneda has quit [Quit: Computer has gone to sleep.]
Soda has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 255 seconds]
timanema has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
ajaiswal has joined #ruby
vaneda has joined #ruby
<klap> I have a Repository (pattern class) that communicates with the DB. I also have a Queue that I wish to communicate only with the repository - it's just a list of objects from the DB ordered & filtered by certain criteria. How can I achieve this?
<klap> I don't want to put the ordering & filtering logic into the Repository, because really that logic is what defines the Queue
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
shum has quit [Client Quit]
shum has joined #ruby
timanema has quit [Ping timeout: 245 seconds]
yfeldblu_ has joined #ruby
mitchellhenke has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
dspangenberg has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
caveat- has quit [Ping timeout: 245 seconds]
ta has joined #ruby
dspangenberg has quit [Ping timeout: 244 seconds]
caveat- has joined #ruby
Sawbones has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
fabrice31 has joined #ruby
ta has quit [Ping timeout: 252 seconds]
juanpablo___ has joined #ruby
shum1 has quit [Quit: WeeChat 1.1.1]
shum1 has joined #ruby
lioninawhat has joined #ruby
mrmargolis has joined #ruby
Sawbones has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
juanpablo___ has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
oo_ has quit [Remote host closed the connection]
<softinio> so new to ruby
blizzy has quit [Read error: No route to host]
timanema has joined #ruby
blizzy has joined #ruby
Musashi007 has quit [Quit: Musashi007]
razorsharph has quit [Quit: Konversation terminated!]
<softinio> how do you deploy web apps to a VPS? does it have its own http servers we can use a reverse proxy via nginx or something?
mrmargolis has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
oo_ has joined #ruby
Sawbones has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
Musashi007 has quit [Client Quit]
<weaksauce> softinio look up puma, unicorn, or passenger
tkuchiki has quit [Ping timeout: 250 seconds]
<softinio> weaksauce: ok thanks
<weaksauce> thin works too softinio
<weaksauce> np
lemur has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
inspectah_stack has quit [Quit: WeeChat 1.0.1]
Kn|t3 has quit [Quit: Kn|t3]
Sawbones has quit [Remote host closed the connection]
freerobby has joined #ruby
nobitanobi has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ddd has quit [Ping timeout: 250 seconds]
Sid05 has joined #ruby
ddd has joined #ruby
braincrash has joined #ruby
nobitanobi has joined #ruby
andymememe has joined #ruby
andymememe has left #ruby ["Leaving"]
Aova has quit [Read error: Connection reset by peer]
<softinio> weaksauce: I must admit impressed with ruby so far ... work has given me a reason to learn it
<weaksauce> softinio it's really nice
<weaksauce> it can be hell if you try to be cryptic but if you follow the rules it's a great language
zachrab has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
<softinio> whats special about irb? I keep hearing people at work say its so much better to use than pythons equivalent
lioninawhat has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Aova has joined #ruby
x1337807x has joined #ruby
shum has joined #ruby
mistermocha has joined #ruby
hmsimha has joined #ruby
zachrab has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
<weaksauce> it has tab completion for one
shum has quit [Client Quit]
ta has joined #ruby
shum has joined #ruby
<weaksauce> and doesn't make you use the () to exit
oo__ has joined #ruby
kristian-aalborg has quit [Quit: Leaving]
<weaksauce> I mean come on... if you are going to scold me about exiting why not just fucking exit
jenrzzz has quit [Ping timeout: 256 seconds]
shum has quit [Client Quit]
shum has joined #ruby
<weaksauce> from __future__ import no_bullshit_exit
shum has quit [Client Quit]
shum has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
shum has quit [Client Quit]
astrobunny has joined #ruby
last_staff has joined #ruby
shum has joined #ruby
swgillespie has joined #ruby
shum has quit [Client Quit]
jenrzzz has joined #ruby
shum has joined #ruby
totimkopf has joined #ruby
kyb3r_ has joined #ruby
jerematic has quit [Remote host closed the connection]
it0a has quit [Quit: WeeChat 1.1.1]
shum has quit [Client Quit]
<totimkopf> what's the difference between a bin directory in .rvm/rubies/ruby-x/bin and .rvm/gems/ruby-x/bin ? they sometimes have the same binaries?
shum has joined #ruby
jetblack has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
Pupeno_ has joined #ruby
Kn|t3 has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
vaneda has quit [Quit: Computer has gone to sleep.]
parduse has quit []
ta has quit [Ping timeout: 264 seconds]
blackoperat has joined #ruby
parduse has joined #ruby
pussygladiator has joined #ruby
<pussygladiator> yo i have a web server which passenger
<pussygladiator> and ruby 2.0
<pussygladiator> how can i make a simple app to check that its actually setup right?
<pussygladiator> like just a hello world
ozialien has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
timanema has quit [Ping timeout: 265 seconds]
ptrrr has joined #ruby
lioninawhat has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
athan has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
zwer_p has joined #ruby
maletor has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
p3ery has joined #ruby
ptrrr has quit [Ping timeout: 252 seconds]
zwer has quit [Ping timeout: 250 seconds]
doobi-sham has joined #ruby
yfeldblum has joined #ruby
<klap> pussygladiator
<sevenseacat> interesting
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyfighter has joined #ruby
jack_rabbit has quit [Ping timeout: 245 seconds]
<pussygladiator> yo
<klap> i just wanted to say that name
<klap> it conjures some vivid imagery
<pussygladiator> word
astrobunny has quit [Remote host closed the connection]
tyfighter has quit [Client Quit]
ozialien has quit [Remote host closed the connection]
tyfighter has joined #ruby
pussygladiator has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
arescorpio has quit [Excess Flood]
zpu has joined #ruby
<zpu> Ruby lang chat
mbrumbelow has quit [Quit: mbrumbelow]
kyb3r_ has quit [Ping timeout: 245 seconds]
tus has quit []
zpu has left #ruby [#ruby]
ozialien has joined #ruby
HanaNix has joined #ruby
bluOxigen has joined #ruby
<totimkopf> what's the difference between a bin directory in .rvm/rubies/ruby-x/bin and .rvm/gems/ruby-x/bin ? they sometimes have the same binaries?
CpuID2 has joined #ruby
jack_rabbit has joined #ruby
lioninawhat has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
ta has joined #ruby
thatslifeson has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
Deele has joined #ruby
Cache_Money has joined #ruby
tkuchiki has joined #ruby
atomi has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 264 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
pdoherty has joined #ruby
ta has joined #ruby
nb_bez___ has joined #ruby
jack_rabbit has quit [Ping timeout: 252 seconds]
blackoperat has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
Channel6 has joined #ruby
konsolebox has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
HanaNix has quit [Quit: Textual IRC Client: www.textualapp.com]
zachrab has joined #ruby
oo__ has quit [Remote host closed the connection]
shastaky has joined #ruby
Aova has joined #ruby
parduse has quit []
parduse has joined #ruby
towski_ has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
sent1nel has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
ta has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
towski_ has quit [Remote host closed the connection]
thatslifeson has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
caveat- has quit [Ping timeout: 245 seconds]
mleung has joined #ruby
Kn|t3 has joined #ruby
jobewan has joined #ruby
sumark_ has quit [Remote host closed the connection]
sumark has joined #ruby
dspangenberg has joined #ruby
astrobun_ has joined #ruby
agrinb has quit [Remote host closed the connection]
AlexRussia_ has quit [Ping timeout: 250 seconds]
caveat- has joined #ruby
agrinb has joined #ruby
jenrzzz has joined #ruby
tyfighter has quit [Quit: tyfighter]
mleung has quit [Quit: mleung]
Pharaoh2 has joined #ruby
dspangenberg has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 245 seconds]
jimbauds has joined #ruby
ta has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Sid05 has quit [Quit: Sid05]
shum has joined #ruby
fabrice31 has joined #ruby
shastaky has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
juanpablo___ has joined #ruby
shastaky has joined #ruby
Sawbones has quit [Remote host closed the connection]
lidaaa has quit [Ping timeout: 245 seconds]
JohnBat26 has joined #ruby
shastaky_ has joined #ruby
shastaky has quit [Read error: Connection reset by peer]
astrobun_ has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
elaptics`away is now known as elaptics
ta has quit [Ping timeout: 252 seconds]
flipdip has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
juanpablo___ has quit [Ping timeout: 245 seconds]
Lilian has joined #ruby
jusmyth has joined #ruby
MrSparkle has quit [Ping timeout: 272 seconds]
Sid05 has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
sent1nel has joined #ruby
agit0 has joined #ruby
mgorbach has quit [Ping timeout: 244 seconds]
commmmodo has quit [Quit: commmmodo]
agit0 has quit [Client Quit]
lolmaus has quit [Quit: Konversation terminated!]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Remote host closed the connection]
nii236|irssi is now known as nii236
lxsameer has joined #ruby
lxsameer has joined #ruby
Sawbones has joined #ruby
voglster has quit [Quit: Leaving]
Stoge88 has quit [Read error: Connection reset by peer]
mistermocha has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
jobewan has quit [Quit: Leaving]
patrick99e99 has quit [Ping timeout: 245 seconds]
Sid05 has quit [Quit: Sid05]
patrick99e99 has joined #ruby
Sid05 has joined #ruby
AlexRussia_ has joined #ruby
arup_r has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
shastaky_ has quit [Quit: Leaving...]
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Client Quit]
Soliah has joined #ruby
Pharaoh2 has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
Pharaoh2 has quit [Read error: Connection reset by peer]
sent1nel has quit [Remote host closed the connection]
agrinb has joined #ruby
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
speakingcode has quit [Ping timeout: 255 seconds]
oleo has quit [Quit: Verlassend]
caveat- has quit [Ping timeout: 245 seconds]
tobago has joined #ruby
caveat- has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
josephcs has joined #ruby
ta has joined #ruby
kyb3r_ has joined #ruby
Lingo has joined #ruby
sigurding has joined #ruby
oo_ has joined #ruby
ta has quit [Ping timeout: 245 seconds]
strsep has joined #ruby
Aova has quit [Read error: Connection reset by peer]
kapil__ has joined #ruby
tyfighter has joined #ruby
LudicrousMango has joined #ruby
bronson has joined #ruby
zachrab has joined #ruby
nii236 has quit [Remote host closed the connection]
Aova has joined #ruby
ptrrr has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ankhers has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
kenneth has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
astrobunny has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
supergiel has joined #ruby
yfeldblum has quit [Remote host closed the connection]
wottam has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
ptrrr has quit [Ping timeout: 246 seconds]
Sawbones has quit [Remote host closed the connection]
brocktimus has quit [Ping timeout: 246 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cache_Money has quit [Quit: Cache_Money]
caveat- has quit [Ping timeout: 245 seconds]
timanema has joined #ruby
caveat- has joined #ruby
AlexRussia_ has quit [Quit: WeeChat 1.1-dev]
AlexRussia has joined #ruby
gr33n7007h has quit [Quit: WeeChat 0.3.8]
Sid05 has quit [Quit: Sid05]
timanema has quit [Ping timeout: 245 seconds]
nii236|irssi has joined #ruby
nii236|irssi is now known as nii236
ponga has quit [Remote host closed the connection]
hvxgr has quit [Ping timeout: 245 seconds]
ta has joined #ruby
tagrudev has joined #ruby
krz has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
lkba has joined #ruby
josephcs has quit [Read error: No route to host]
mleung has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 245 seconds]
noop has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Morkel has joined #ruby
DrCode has joined #ruby
rahult has joined #ruby
atomi has quit [Remote host closed the connection]
ta has quit [Ping timeout: 264 seconds]
kenneth has joined #ruby
keen__________52 has joined #ruby
ozialien has quit [Remote host closed the connection]
agit0 has joined #ruby
atomi has joined #ruby
keen__________51 has quit [Ping timeout: 272 seconds]
sandshark__ has quit [Remote host closed the connection]
apeiros has joined #ruby
jusmyth has quit [Quit: Leaving.]
last_staff has joined #ruby
abuzze has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
nii236 has quit [Remote host closed the connection]
x1337807x has joined #ruby
ponga has joined #ruby
CpuID2 has joined #ruby
CpuID2 has joined #ruby
mleung has quit [Quit: mleung]
kyb3r_ has quit [Read error: Connection reset by peer]
Ellypse has joined #ruby
tunaCanBruh has joined #ruby
Xeago has joined #ruby
apeiros has quit [Remote host closed the connection]
agrinb has joined #ruby
apeiros_ has joined #ruby
Megtastique has joined #ruby
MasterPiece has joined #ruby
gr33n7007h has joined #ruby
Megtastique has quit [Client Quit]
tunaCanBruh has quit [Ping timeout: 264 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby
lolmaus has joined #ruby
zzzbra has quit [Ping timeout: 245 seconds]
dspangenberg has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
tyfighter has quit [Quit: tyfighter]
apeiros_ has quit [Ping timeout: 265 seconds]
p3ery has quit [Quit: (null)]
maletor has quit [Quit: Computer has gone to sleep.]
sent1nel has joined #ruby
Lingo has quit [Read error: Connection reset by peer]
certaint1 is now known as certainty
dspangenberg has quit [Ping timeout: 265 seconds]
krz has quit [Quit: WeeChat 1.0.1]
supergiel has quit [Quit: Leaving]
debajit has joined #ruby
ozialien has joined #ruby
Kejento has joined #ruby
Sgeo_ has joined #ruby
sigurding has quit [Quit: sigurding]
Axy has joined #ruby
Axy has joined #ruby
sandelius has joined #ruby
Mia has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
Sgeo_ has quit [Read error: Connection reset by peer]
codecop has joined #ruby
mkaesz has joined #ruby
Vivex_ has quit [Ping timeout: 244 seconds]
krz has joined #ruby
hvxgr has joined #ruby
Sgeo has quit [Ping timeout: 244 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
Sgeo has joined #ruby
nii236|irssi has joined #ruby
pdoherty has joined #ruby
red_horned_rihno has joined #ruby
CpuID2 has joined #ruby
Aova has quit [Read error: Connection reset by peer]
mgorbach has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
rahult_ has joined #ruby
Xeago_ has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
Morkel has quit [Quit: Morkel]
rahult has quit [Ping timeout: 245 seconds]
Aova has joined #ruby
anarang has joined #ruby
tyfighter has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
gr33n7007h has quit [Quit: WeeChat 0.3.8]
rahult_ has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
ta has joined #ruby
sonOfRa is now known as sonOfRa_
sonOfRa_ is now known as sonOfRa
caveat- has joined #ruby
xenomorph is now known as {xenomorph}
CpuID2 has joined #ruby
fabrice31 has joined #ruby
juanpablo___ has joined #ruby
aganov has joined #ruby
fabrice31 has quit [Read error: Connection timed out]
ta has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
juanpablo___ has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
Xeago_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
marcdel has quit []
pabloh has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
ta has joined #ruby
<pabloh> can someone explain this weird behavior: http://pastie.org/9879773 ?
mloveless has joined #ruby
tyfighter has quit [Quit: tyfighter]
ta has quit [Ping timeout: 252 seconds]
marr has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
_djbkd has quit [Remote host closed the connection]
x1337807_ has joined #ruby
charliesome has quit [Quit: zzz]
Xeago has joined #ruby
x1337807x has quit [Ping timeout: 250 seconds]
Andrevan has joined #ruby
Macaveli has joined #ruby
siso has joined #ruby
{xenomorph} is now known as xenomorph
timonv has joined #ruby
Trieste has quit [Disconnected by services]
arietis has joined #ruby
caveat- has joined #ruby
Trieste has joined #ruby
razieliyo has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
Trieste has quit [Disconnected by services]
testcore has quit [Ping timeout: 250 seconds]
Trieste_ has joined #ruby
seal has joined #ruby
mloveless has quit []
yellowgh0st has joined #ruby
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
Megtastique has joined #ruby
josephcs has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
seal has quit [Client Quit]
Spami has joined #ruby
Megtastique has quit [Client Quit]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thatslifeson_ has joined #ruby
MasterPiece has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 245 seconds]
thatslifeson has quit [Ping timeout: 244 seconds]
ta has joined #ruby
ta_ has joined #ruby
pico-pete has quit [Ping timeout: 246 seconds]
pico-pete has joined #ruby
Trieste_ is now known as Trieste
patrick99e99 has joined #ruby
brocktimus has joined #ruby
ta has quit [Ping timeout: 245 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
posixpascal has joined #ruby
anaeem1_ has joined #ruby
roshanavand has quit [Remote host closed the connection]
charliesome has joined #ruby
roshanavand has joined #ruby
ta_ has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
zachrab has joined #ruby
St1gma has quit [Ping timeout: 250 seconds]
xpo has joined #ruby
pico-pete has quit [Ping timeout: 240 seconds]
deepy has quit [Changing host]
deepy has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
pico-pete has joined #ruby
sandelius has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
patrick99e99 has quit [Ping timeout: 265 seconds]
zachrab has quit [Ping timeout: 250 seconds]
patrick99e99 has joined #ruby
kamilc__ has joined #ruby
revw has joined #ruby
ta has joined #ruby
Aova has quit [Read error: Connection reset by peer]
jgt has joined #ruby
x1337807x has joined #ruby
red_horned_rihno has quit [Ping timeout: 255 seconds]
x1337807_ has joined #ruby
dumdedum has joined #ruby
shime has joined #ruby
dspangenberg has joined #ruby
pabloh has quit [Quit: Saliendo]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kalusn has joined #ruby
trufflesnout has joined #ruby
ypasmk has joined #ruby
ta has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
Aova has joined #ruby
tesuji has joined #ruby
last_staff has joined #ruby
CustosL1men has joined #ruby
CustosL1men has quit [Changing host]
CustosL1men has joined #ruby
x1337807x has quit [Ping timeout: 252 seconds]
St1gma has joined #ruby
wottam has joined #ruby
kalusn has quit [Ping timeout: 252 seconds]
lzx has joined #ruby
posixpascal has quit [Read error: Connection reset by peer]
posixpascal has joined #ruby
dspangen1erg has joined #ruby
trufflesnout has quit [Quit: Leaving...]
terlar has joined #ruby
dspangenberg has quit [Ping timeout: 265 seconds]
CustosL1men has quit [Ping timeout: 245 seconds]
arietis has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
DrCode has quit [Ping timeout: 250 seconds]
zwer_p has quit [Ping timeout: 250 seconds]
Patabugen has joined #ruby
St1gma has quit [Ping timeout: 250 seconds]
Lilian has quit [Ping timeout: 250 seconds]
Fusl has quit [Ping timeout: 250 seconds]
hfor has quit [Ping timeout: 250 seconds]
St_Marx has quit [Ping timeout: 250 seconds]
msgodf has joined #ruby
bayed has joined #ruby
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
zwer has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
debajit has quit [Quit: Linkinus - http://linkinus.com]
apeiros_ has joined #ruby
einarj has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
exadeci has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
Diabolik has joined #ruby
sigurding has joined #ruby
yellowgh0st has joined #ruby
DrCode has joined #ruby
wallerdev has quit [Quit: wallerdev]
CustosL1men has joined #ruby
agit0 has joined #ruby
<duncannz> is there any quick oneliner to generate an array where each member is [N, "NvN"], and there are 9 members with N starting at 10 and stepping 5? so [[10, "10v10"], [15, "15v15"], ..., [50, "50v50"]]
hanachin has joined #ruby
ypasmk has quit [Quit: ypasmk]
bjornar has joined #ruby
zwer has quit [Read error: Connection reset by peer]
DrCode has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
amclain has quit [Quit: Leaving]
AlSquire has joined #ruby
livathinos has joined #ruby
hfor has joined #ruby
<certainty> duncannz: something like: (10..100).step(5).map{|i| [i,"#{i}v#{i}"]}
<certainty> maybe
Fusl has joined #ruby
cantonic has quit [Quit: cantonic]
zwer has joined #ruby
<certainty> note that my brain is still in monday-mode
anaeem1_ has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
<duncannz> cheers it worked
p0wn3d_mhs has joined #ruby
anaeem1 has joined #ruby
cantonic has joined #ruby
LudicrousMango has joined #ruby
St_Marx has joined #ruby
anarang has quit [Quit: Leaving]
agrinb has joined #ruby
cantonic has quit [Client Quit]
i0n has joined #ruby
kyb3r_ has joined #ruby
oo_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
DrCode has joined #ruby
<pontiki> certainty: ♫ monday i've got friday on my mind ♫
kamilc__ has quit [Quit: Leaving...]
<certainty> pontiki: cheers
AFKGeek has joined #ruby
agrinb has quit [Ping timeout: 256 seconds]
aganov has quit [Ping timeout: 244 seconds]
<i0n> what ruby library knows this datetime stamp? 20150202064359Z
<apeiros_> certainty: monday mode? is that where it tries to secretly sneak in bugs?
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<i0n> so i can easily convert to epoch
<apeiros_> i0n: DateTime and Time
<apeiros_> use strptime
<certainty> apeiros_: exactly.
oo_ has joined #ruby
<apeiros_> certainty: aka "funny surprise mode"
<certainty> yepp, monday code is just like monday cars
<certainty> they may or may not work
kalusn has joined #ruby
aapole has joined #ruby
<apeiros_> i0n: "epoch" can be anything. I assume you mean unix time epoch? Time#to_i then.
aganov has joined #ruby
<i0n> yea
sent1nel has joined #ruby
<i0n> i cant find a method that will take this ldap time stamp
<apeiros_> i0n: do you read answers you get? I told you which.
sevenseacat has quit [Remote host closed the connection]
ta has joined #ruby
mikecmpbll has joined #ruby
alex88 has joined #ruby
CustosL1men has quit [Ping timeout: 264 seconds]
dspangen1erg has quit [Ping timeout: 245 seconds]
Morkel has joined #ruby
nii236|irssi has quit [Remote host closed the connection]
Rarikon has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
anarang has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
quazimodo has quit [Ping timeout: 245 seconds]
Xoro has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
<i0n> i guess .. the zulu time stamp thing is throwing me off when trying to find differences with other time stamps
RDash has quit [Ping timeout: 246 seconds]
agit0 has quit [Quit: This computer has gone to sleep]
jimms has joined #ruby
<apeiros_> "being thrown off" is not a problem I can help with.
yellowgh0st has quit [Quit: yellowgh0st]
<i0n> someone pee in your corn flakes?
<apeiros_> i0n: ok, I see, you don't want help. have a nice day.
Ellypse has quit [Quit: Ellypse]
agit0 has joined #ruby
duncannz has quit [Remote host closed the connection]
ta_ has joined #ruby
RDash has joined #ruby
olivier_bK has joined #ruby
kalusn has quit [Remote host closed the connection]
dimon_ has quit [Ping timeout: 246 seconds]
lyuben_ has joined #ruby
agit0 has quit [Ping timeout: 245 seconds]
wpp has joined #ruby
kalusn has joined #ruby
pdoherty has joined #ruby
davedev24_ has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
juanpablo___ has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
aapole has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
sigurding has quit [Quit: sigurding]
pdoherty has quit [Ping timeout: 250 seconds]
jimbauds has quit [Quit: Connection closed for inactivity]
Aova has joined #ruby
djbkd has quit [Remote host closed the connection]
juanpablo___ has quit [Ping timeout: 240 seconds]
parduse has quit []
arup_r has quit [Remote host closed the connection]
Takle has joined #ruby
cassianoleal has quit [Quit: (null)]
rdark has joined #ruby
Andrevan has quit [Quit: WeeChat 0.4.4-dev]
arup_r has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
dimon_ has joined #ruby
jenrzzz has joined #ruby
arup_r_ has joined #ruby
aapole has joined #ruby
caveat- has joined #ruby
ponga has quit [Remote host closed the connection]
Stoge88 has joined #ruby
rdark has quit [Quit: leaving]
timonv has joined #ruby
rdark has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
<m4rCsi> I'm using a gem that raises some exceptions to the thread that started the client. Is that common practice?
MasterPiece has joined #ruby
urtokk has quit [Ping timeout: 240 seconds]
arup_r_ has quit [Remote host closed the connection]
Ellypse has joined #ruby
anarang has quit [Ping timeout: 255 seconds]
<m4rCsi> Even though I can rescue it, there are cases where a second exception is raised from the gem (the thread from gem keeps running) while I am still rescuing it. Which then escapes, and terminates my daemon.
agjacome has quit [Quit: leaving]
rdark has quit [Client Quit]
<m4rCsi> Or, what I am doing wrong?
rdark has joined #ruby
kaspertidemann has joined #ruby
kyb3r_ has quit [Quit: Leaving]
yeticry has quit [Read error: Connection reset by peer]
kalusn has quit [Remote host closed the connection]
rdark has quit [Client Quit]
<certainty> m4rCsi: the library might have set Thread.abort_on_exception to true
<apeiros_> m4rCsi: do you mean your code in the rescue clause triggers a second exception? or are you saying that the gem uses Thread#raise to raise an exception in another thread?
Jakee`__ has joined #ruby
<apeiros_> hard to tell with the vague information. which gem? example code? (reproducible if possible)
<m4rCsi> apeiros_: the gem launches its own thread, from which it raises exceptions to the thread that started the gem
ta_ has joined #ruby
ponga has joined #ruby
<m4rCsi> so I have the case where the gem raises multiple exceptions after each other
<apeiros_> m4rCsi: well, two ways it can do that: a) Thread.abort_on_exception as certainty said, or b) (less common) Thread#raise
<m4rCsi> yah, I looked into the source code. it stores the thread that started the client. then it raises it with raise
kamilc__ has joined #ruby
<certainty> in which case it somehow has to get access to the primordial thread
<certainty> ah ok
<apeiros_> m4rCsi: with plain `raise`?
<apeiros_> or with `thread.raise`?
<m4rCsi> thread.raise exception
<apeiros_> ok. that's *bad*.
<certainty> odd
<apeiros_> I'd file a bug with the gem. raising in other threads is considered bad practice.
<apeiros_> (and IMO "bad" is a rather big understatement there)
<certainty> agreed
yeticry has joined #ruby
anaeem1_ has joined #ruby
<m4rCsi> yah, I thought so. Just wanted to make sure, it wasnt just me
anarang has joined #ruby
<certainty> that puts control totally out of the hands of the client
<apeiros_> yupp. can't be handled.
<apeiros_> I mean you can spin up a dummy thread
pontiki has quit [Remote host closed the connection]
<apeiros_> and start the client from there
<certainty> yeah
<apeiros_> but it makes everything needlessly complex
krz has quit [Ping timeout: 246 seconds]
<certainty> but that will break if the gem changes the behaviour to something else like abort_on_exception
jimbauds has joined #ruby
<apeiros_> IMO abort_on_exception should default to true anyway.
<avril14th> morning
ta_ has quit [Ping timeout: 252 seconds]
caveat- has quit [Ping timeout: 245 seconds]
<apeiros_> moin avril14th
<gizmore> apeiros_: every mistake is an opportunity to learn. if you do nothing or make no mistakes you stay where you are
<apeiros_> gizmore: hm?
<gizmore> abort_on_exception sounds ugly
<apeiros_> gizmore: its current default is a major source of confusion for beginners with threading. and experienced coders turn it on anyway.
<apeiros_> and I'd smack anybody claiming to be experienced and not having it on around a bit with a large trout :)
<gizmore> mh?
caveat- has joined #ruby
loveable_ has joined #ruby
loveable_ has quit [Quit: Textual IRC Client: www.textualapp.com]
loveablelobster has joined #ruby
AlexRussia has quit [Ping timeout: 265 seconds]
hgl has quit [Ping timeout: 244 seconds]
quimrstorres has joined #ruby
ponga has quit [Remote host closed the connection]
arup_r has joined #ruby
rdark has joined #ruby
shime has quit [Ping timeout: 265 seconds]
quimrstorres has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
bronson has joined #ruby
rapha has joined #ruby
loveablelobster has joined #ruby
zachrab has joined #ruby
<rapha> hi!
rdark has quit [Client Quit]
hgl has joined #ruby
rdark has joined #ruby
<rapha> is there a way i can have Dir.glob() only find symlinks and directories, but no files?
rodfersou has joined #ruby
<apeiros_> rapha: you can run a select on the result
sigurding has joined #ruby
zachrab has quit [Read error: Connection reset by peer]
urtokk has joined #ruby
quimrstorres has joined #ruby
zachrab has joined #ruby
hgl has quit [Read error: Connection reset by peer]
sigurding has quit [Client Quit]
Aswebb_ has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
zzzbra has joined #ruby
92AAAHKXE has quit []
bronson has quit [Ping timeout: 252 seconds]
hanachin has quit [Remote host closed the connection]
caveat- has quit [Ping timeout: 245 seconds]
zachrab has quit [Ping timeout: 244 seconds]
hgl has joined #ruby
zzzbra has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
<rapha> apeiros_: .select is incredibly useful, thank you!!
roshanavand has joined #ruby
kalusn has joined #ruby
caveat- has joined #ruby
ta_ has joined #ruby
timanema has joined #ruby
aapole has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
sinkensabe has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 252 seconds]
caveat- has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<gregf__> rapha: and so is File ;)
timanema has quit [Ping timeout: 240 seconds]
lzx has quit []
kalusn has quit [Remote host closed the connection]
lzx has joined #ruby
wpp has quit [Ping timeout: 264 seconds]
kalusn has joined #ruby
kalusn has quit [Remote host closed the connection]
Aova has joined #ruby
djbkd has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
dimon_ has quit [Ping timeout: 244 seconds]
speakingcode has joined #ruby
quazimodo has joined #ruby
bMalum has joined #ruby
aapole has joined #ruby
fabrice31 has quit []
djbkd has quit [Ping timeout: 245 seconds]
caveat- has joined #ruby
<rapha> gregf__: indeed, but File I already knew about :)
fabrice31 has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
einarj_ has joined #ruby
patrick99e99 has joined #ruby
einarj has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
colli5ion has joined #ruby
Ellypse has quit [Quit: Ellypse]
tunaCanBruh has joined #ruby
krz has joined #ruby
DaniG2k has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
agrinb has joined #ruby
shime has joined #ruby
dimon_ has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
DEA7TH has joined #ruby
DEA7TH has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
ixti has quit [Ping timeout: 250 seconds]
caveat- has quit [Ping timeout: 245 seconds]
knut has quit [Ping timeout: 246 seconds]
iwishiwerearobot has joined #ruby
fantazo has joined #ruby
sent1nel has joined #ruby
gebbione has joined #ruby
<gebbione> hi folks ... any hints on how to fix the error ruby 7464! get_proc_lock: Couldn't acquire sync_proc_subproc
crack has quit [Quit: Leaving]
reinaldob has joined #ruby
<gebbione> never mind, cygwin is the cause
gebbione has left #ruby [#ruby]
crack has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
tvw has joined #ruby
DaniG2k has quit [Quit: leaving]
CpuID2 has joined #ruby
red_horned_rihno has joined #ruby
lzx has quit [Remote host closed the connection]
caveat- has joined #ruby
tokik has quit [Ping timeout: 250 seconds]
xcesariox has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
quazimodo has quit [Ping timeout: 264 seconds]
vvivv has joined #ruby
ixti has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
The_Phoenix has joined #ruby
yfeldblu_ has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
yeticry has quit [Ping timeout: 256 seconds]
lolmaus has quit [Ping timeout: 240 seconds]
davedev24_ has joined #ruby
rocknrollmarc has joined #ruby
yeticry has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
troubadour has joined #ruby
rocknrollmarc has joined #ruby
n008f4g_ has quit [Ping timeout: 246 seconds]
rocknrollmarc has quit [Read error: Connection reset by peer]
Pupeno_ has quit [Ping timeout: 264 seconds]
bMalum has quit [Quit: bMalum]
wpp has joined #ruby
rocknrollmarc has joined #ruby
DaniG2k has joined #ruby
sevenseacat has joined #ruby
loveablelobster has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rjc has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
craigp has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_KaszpiR__ is now known as _KaszpiR_
quazimodo has joined #ruby
juanpablo___ has joined #ruby
rocknrollmarc has joined #ruby
red_horned_rihno has quit [Quit: Leaving]
<vvivv> what is the best lib for parsing json
<tobiasvl> json
rocknrollmarc has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
loveablelobster has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
juanpablo___ has quit [Ping timeout: 245 seconds]
crack has quit [Ping timeout: 252 seconds]
quazimod1 has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
rocknrollmarc has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 252 seconds]
caveat- has joined #ruby
riotjone_ has quit [Ping timeout: 265 seconds]
lolmaus has joined #ruby
pdoherty has joined #ruby
Aova has quit [Read error: Connection reset by peer]
dc_ has quit [Remote host closed the connection]
sandelius has joined #ruby
ta_ has joined #ruby
quazimodo has joined #ruby
quazimod1 has quit [Ping timeout: 250 seconds]
yeticry has quit [Ping timeout: 244 seconds]
yeticry has joined #ruby
aapole has quit [Ping timeout: 256 seconds]
pdoherty has quit [Ping timeout: 244 seconds]
Aova has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
einarj_ has quit [Ping timeout: 244 seconds]
einarj has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
LudicrousMango has quit [Remote host closed the connection]
alex88 has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 245 seconds]
mbrumbelow has joined #ruby
crack has joined #ruby
Takle has quit [Remote host closed the connection]
nolic has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
n008f4g_ has joined #ruby
lzx has joined #ruby
Zai00 has quit [Quit: Zai00]
bigkevmcd has joined #ruby
commmmodo has joined #ruby
hgl has quit [Ping timeout: 245 seconds]
agrinb has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
kaspertidemann has quit []
hgl has joined #ruby
Takle has joined #ruby
charliesome has quit [Quit: zzz]
snowpeas has quit [Ping timeout: 272 seconds]
ponga has quit [Remote host closed the connection]
caveat- has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
anarang has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
ajaiswal has quit [Remote host closed the connection]
caveat- has joined #ruby
Jakee`__ has quit [Quit: Connection closed for inactivity]
DaniG2k has quit [Quit: leaving]
yokel has quit [Ping timeout: 265 seconds]
Morkel has quit [Quit: Morkel]
platzhirsch has joined #ruby
dspangenberg has joined #ruby
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 252 seconds]
commmmodo has quit [Quit: commmmodo]
jimms has quit []
bronson has joined #ruby
Zai00 has joined #ruby
anarang has joined #ruby
dspangenberg has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
terlar has quit [Read error: No route to host]
bigkevmcd has quit [Quit: Outta here...]
bogeyd6 has quit [Quit: Leaving]
lzx has quit [Remote host closed the connection]
aagdbl has joined #ruby
yokel has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
OrbitalKitten has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
troubadour has quit [Quit: troubadour]
yokel has quit [Ping timeout: 246 seconds]
loveablelobster has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has quit [Ping timeout: 252 seconds]
yokel has joined #ruby
enricostn has joined #ruby
Vile` has quit [Ping timeout: 265 seconds]
lzx has joined #ruby
snowpeas has joined #ruby
Vile` has joined #ruby
shime has quit [Ping timeout: 264 seconds]
Aswebb_ has quit [Remote host closed the connection]
chthon has joined #ruby
<enricostn> hi there! I need to iterate over a big array retrieving a chunk of items at time until I reach the end of the array. For instance in the following example the chunk size is 5 https://gist.github.com/enricostano/21c0edbb5e2135a16542
quimrstorres has quit [Remote host closed the connection]
ta_ has joined #ruby
<enricostn> I would like to understand how to achieve this with 2 constrains: it must be some lazy iteration because the array is big, I need to be able to skip elements (maybe this feature can be added later)
<apeiros_> enricostn: each_cons(5) with a bit of custom code for the last incomplete slices.
<enricostn> any hint?
<apeiros_> lazy is pointless if you have the full array already
withnale_ has joined #ruby
<apeiros_> or rather: if you have an array
<certainty> maybe it's generated
withnale_ has quit [Client Quit]
<apeiros_> then it's either not an array or they left out that it's being mutated *while* iterating
<enricostn> mh, yep actually the array is already there
withnale_ has joined #ruby
<certainty> ok there we go :)
withnale_ is now known as withnale
giuseppesolinas has joined #ruby
n1lo has joined #ruby
oo_ has quit [Remote host closed the connection]
<enricostn> the array is an array of objects that I retrieve from an external API
<apeiros_> if you have an array, you can do it quite easily: array.size.times do |i| yield(array[i, chunk_size]) end
<certainty> lazy may still be worthwhile if that's not the only transformation in the chain.
<apeiros_> certainty: true
<enricostn> actually each chunk will be processed
lzx_ has joined #ruby
<enricostn> this is a pattern matching algorithm
ta_ has quit [Ping timeout: 252 seconds]
quimrstorres has joined #ruby
bigkevmcd has joined #ruby
<enricostn> inside this external iteration I will look for a pattern in: first_chunk = [1,2,3,4,5]; then I'll try to match [1,2,3,4,5], if not [1,2,3,4] ,[1,2,3], etc
<enricostn> but that's the internal iteration
jimbauds has quit [Quit: Connection closed for inactivity]
<apeiros_> making something which yields lazy is relatively simple: enum_for(:yielding_method, *args)
<enricostn> I've been trying but with not much luck... first time here with Enumerator
lzx has quit [Ping timeout: 244 seconds]
n1lo has quit [Quit: Leaving]
alex88 has joined #ruby
n1lo has joined #ruby
Aova has quit [Read error: Connection reset by peer]
knut has joined #ruby
quazimod1 has joined #ruby
lyuben_ has quit [Quit: Leaving]
yfeldblu_ has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
tokik has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
quazimodo has quit [Ping timeout: 245 seconds]
aqabiz has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
Aova has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
aqabiz has quit [Client Quit]
aapole has joined #ruby
riotjones has joined #ruby
aqabiz has joined #ruby
tunaCanBruh has joined #ruby
Takle has quit [Remote host closed the connection]
timonv has joined #ruby
fantazo has quit [Quit: Verlassend]
aqabiz has quit [Client Quit]
ponga has joined #ruby
agrinb has joined #ruby
aqabiz has joined #ruby
tokik_ has joined #ruby
bMalum has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
tunaCanBruh has quit [Ping timeout: 244 seconds]
arup_r has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
paulfm has joined #ruby
zzzbra has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
parduse has joined #ruby
<enricostn> apeiros_, using your non-lazy solution, how I can change the offset and skip iterations?
<enricostn> like changing the i
<enricostn> by an offset
<apeiros_> enricostn: just use whatever you need to yield you the numbers. can't be that hard?
<apeiros_> like (offset...array.size).step(stepsize) { |i| …
leafybasil has quit [Remote host closed the connection]
caveat- has joined #ruby
i0n has quit [Quit: snooze]
aqabiz has quit [Quit: aqabiz]
anarang has quit [Ping timeout: 250 seconds]
chinaski has joined #ruby
livathin_ has joined #ruby
<enricostn> apeiros_, mh but my stepsize comes from inside the block that I pass to the yield
Kn|t3 has quit [Quit: Kn|t3]
<enricostn> updating the gist with basic implementation
<apeiros_> enricostn: ok, look, you keep changing your requirements. the basic principle is in the code I gave you. have fun.
JDiPierro has joined #ruby
weems|mac has joined #ruby
surs has quit [Ping timeout: 272 seconds]
livathinos has quit [Ping timeout: 246 seconds]
surs has joined #ruby
JDiPierro has quit [Ping timeout: 245 seconds]
n008f4g_ has quit [Ping timeout: 255 seconds]
CustosL1men has joined #ruby
cpt_yossarian has quit [Ping timeout: 276 seconds]
aryaching has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
einarj has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
ta_ has joined #ruby
hamakn has quit [Remote host closed the connection]
seal has joined #ruby
anarang has joined #ruby
kalusn has joined #ruby
einarj has joined #ruby
Tuxero has joined #ruby
juanpablo___ has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
aryaching has quit [Ping timeout: 264 seconds]
mrsqueeble has joined #ruby
posixpascal has joined #ruby
jetblack has joined #ruby
<mrsqueeble> hi i know almost nothing about ruby and i am a hand on types of guy and would like someone to give me some suggestions on what lib/framework to use. Basically I have a bunch of scripts on my machine which do various tasks, i would like these tasks to be accessible by others via the web. thats basically it.
<mrsqueeble> lol supposed to say *hands on type of guy
Takle has joined #ruby
pika_pika has joined #ruby
<wasamasa> I'm not sure what exactly you mean by "accessible by other via the web"
<wasamasa> it sounds like the equivalent of sitting down in a crowded street on a chair with a pair of scissors next to you to wait until someone gives you a haircut
juanpablo___ has quit [Ping timeout: 245 seconds]
<mrsqueeble> wasamasa: a basic web interface, a hyperlink to some url which triggers the scripts
juanpablo____ has joined #ruby
<mrsqueeble> wasamasa: haha
<wasamasa> mrsqueeble: in other words, pretty dangerous
<mrsqueeble> wasamasa: well i mean people who have auth, there must be an ACL
timanema has joined #ruby
<mrsqueeble> wasamasa: also it should go over a private network
Morkel has joined #ruby
<mrsqueeble> or a tunnel or something
<mrsqueeble> but that is a later issue, right now i would just like to know how to make an app like that
<wasamasa> use VPN
<mrsqueeble> wasamasa: it will have to depend on where i put the machine in the end, i might just put it in the office since its nothing fancy
iamninja has joined #ruby
<wasamasa> that should do the authentication+private network bit
<wasamasa> as for the rest, you could create a simple webapp and make your buttons trigger scripts on the machine
<wasamasa> there's rails for bigger stuff and microframeworks for smaller stuff
<wasamasa> such as sinatra and whatnot
<mrsqueeble> wasamasa: so you think i should use rails for this_
jottr_ has joined #ruby
<wasamasa> mrsqueeble: probably not
hiyosi has joined #ruby
<wasamasa> mrsqueeble: its benefit for you would be that there's very likely a plugin for whatever extra needs should pop up
ta_ has quit [Ping timeout: 252 seconds]
sigurding has joined #ruby
<mrsqueeble> wasamasa: so you mean it would be more higher level? I would not have to create classes for basic things and whatnot
<mrsqueeble> hmm ok i will look into it
<wasamasa> mrsqueeble: it would be more convenient, not higher level
<certainty> those scary classes :)
juanpablo____ has quit [Ping timeout: 250 seconds]
<mrsqueeble> I've been using standard ruby forever, and never really touched rails
<mrsqueeble> i only use ruby for scripting
jerematic has joined #ruby
<wasamasa> as I wrote, I'd probably use some microframework after figuring out what exactly I need
shime has joined #ruby
<wasamasa> since my experience with rails at work was... let's just say, mixed
<mrsqueeble> wasamasa: when you say "some" could you be more precise? I would like to take a look at a couple of them now to get an idea of what you're saying
<wasamasa> mrsqueeble: sinatra is the most famous one
<mrsqueeble> thank you
<wasamasa> in fact, it inspired enough people to create their own for other programming languages
<gregf__> enricostn: you can achieve what you're trying by this as well: a = (1..10).to_a; data = a.each_cons(5).to_a;while ( data[-1].size != 1 ); data << data[-1][1..-1]; end; p data
xcesariox has joined #ruby
<mrsqueeble> interesting
aclearman037 has joined #ruby
timanema has quit [Ping timeout: 264 seconds]
<gregf__> oops, scrolls to the bottom
<certainty> :)
<wasamasa> which I find a good thing, although these days I'm leaning towards clojure's approach to the problem
<enricostn> gregf__, thanks, I'll give it a try
<wasamasa> which would be taking a very basic adapter over a pure-<insert your language> http server, then adding middleware layers as you need
<gregf__> enricostn: well, what apeiros_ suggested should be easier and better ;)
<wasamasa> for ruby, this would be presumably done with rack as foundation
sigurding has quit [Ping timeout: 240 seconds]
<enricostn> gregf__, it seems so, but I'm having an hard time trying to skip iterations
<certainty> isn't ring even modelled after rack?
<apeiros_> gregf__: he changed specs repeatedly. so no idea what he now really wants.
<enricostn> my bad of course
<enricostn> XD
<apeiros_> *they *want
<gregf__> tho' i'm not quite sure about the lazy bit. i thought lazy initializations would be only when you need it ?
<enricostn> apeiros_, sorry for the mess, I've updated the gist. should be clearer now. Thanks for your time BTW
lolmaus has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
<apeiros_> enricostn: no worries, you're welcome. but I'd prefer not to continue at this point.
<enricostn> ok sure, np
<wasamasa> mrsqueeble: you should be able to find more, like cuba, grape, etc.
anarang has quit [Quit: Leaving]
davispuh has joined #ruby
i0n has joined #ruby
* xcesariox needs help with an issue with Caching with Instance Variables, please take a look at https://gist.github.com/shaunstanislaus/708c37ff1a5a58f96d6b
gigetoo has joined #ruby
brb3 has joined #ruby
xcesariox was kicked from #ruby by apeiros_ [when you cross post, inform all channels where you post, that you're asking in other channels too.]
caveat- has quit [Ping timeout: 245 seconds]
<sevenseacat> nice. where else did he ask, given it wasnt in #rubyonrails? >_>
<apeiros_> #ruby-lang
<sevenseacat> hah
astrobunny has quit [Remote host closed the connection]
<certainty> #crosspost
Aova has quit [Read error: Connection reset by peer]
jottr_ has quit [Ping timeout: 240 seconds]
pdoherty has joined #ruby
<mrsqueeble> wasamasa: i think that would be what i want, i am a novice so i would like something which is not so bloated
<mrsqueeble> rails to me is a bit too much
<mrsqueeble> sinatra seems perfeect
<mrsqueeble> so thank you for the suggestion
<apeiros_> sevenseacat: couldn't kick them from #rubyonrails anyway. no op there :)
caveat- has joined #ruby
<wasamasa> mrsqueeble: what I found less nice was that there were less resources on those
<wasamasa> mrsqueeble: so I had to do more guesswork
agrinb has joined #ruby
<wasamasa> mrsqueeble: eventually I gave up and used the better documented flask :P
<mrsqueeble> wasamasa: python?
xcesariox has joined #ruby
<wasamasa> mrsqueeble: yeah, I come from python
lzx_ has quit []
<mrsqueeble> :I
<mrsqueeble> python makes me cry
rocknrollmarc has joined #ruby
<mrsqueeble> literally
<mrsqueeble> you can't even copy paste functions without breaking your application (unless you have auto indent on)
phutchins has joined #ruby
<mrsqueeble> but like i said, I'm a total novice at this so
<wasamasa> lol, these copy-paste programmer
<wasamasa> s
<mrsqueeble> wasamasa: my own code :P
flipdip is now known as MrSparkle
<mrsqueeble> if i was reorganising it
pdoherty has quit [Ping timeout: 245 seconds]
Aova has joined #ruby
zzzbra has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 245 seconds]
tunaCanBruh has joined #ruby
einarj_ has joined #ruby
einarj has quit [Read error: Connection reset by peer]
rocknrollmarc has quit [Ping timeout: 246 seconds]
paulfm has quit [Quit: Zzzzz...]
tkuchiki has joined #ruby
adriancb has joined #ruby
LudicrousMango has joined #ruby
mrsqueeble has quit [Ping timeout: 246 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
dspangenberg has joined #ruby
puppetmonkey has joined #ruby
livingstn has joined #ruby
shum has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
jimms has joined #ruby
kostitas has joined #ruby
kapil__ has joined #ruby
dspangenberg has quit [Ping timeout: 240 seconds]
<gilmour> mrsqueeble: Seems like a legit thing to base your opinion of a language on and 'literally' cry over...
hamakn has joined #ruby
TheSojourner is now known as mjulian
bronson has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
cphrmky has joined #ruby
cphrmky has left #ruby [#ruby]
fantazo has joined #ruby
terlar has joined #ruby
jetblack has quit [Ping timeout: 264 seconds]
TinkerTyper has quit [Ping timeout: 256 seconds]
adriancb has quit [Remote host closed the connection]
rocknrollmarc has joined #ruby
seal has quit [Quit: Ex-Chat]
bjornar has quit [Remote host closed the connection]
caveat- has joined #ruby
konsolebox has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
TinkerTyper has joined #ruby
Morkel has quit [Quit: Morkel]
josephcs has quit [Quit: (null)]
weems|mac has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rocknrollmarc has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
yfeldblum has joined #ruby
ddv has joined #ruby
ta_ has joined #ruby
shime has quit [Read error: Connection reset by peer]
shime has joined #ruby
sankaber has joined #ruby
xm has quit [Quit: Leaving]
silkfox has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
jetblack has joined #ruby
Pharaoh2 has joined #ruby
<Pharaoh2> Hi, is there a way to slice a binary string on hex values/
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timanema has joined #ruby
siso has quit [Quit: siso]
<apeiros_> Pharaoh2: unpack("H*").first gets you hex. and then you can slice on that.
lioninawhat has joined #ruby
<apeiros_> (or the other way round - whatever your use-case is)
<Pharaoh2> ok thanks
EvanFreeman has joined #ruby
bjornar has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
davidhq has joined #ruby
JDiPierro has joined #ruby
JDiPierro has quit [Client Quit]
rocknrollmarc has quit [Ping timeout: 264 seconds]
Kruppe has quit [Quit: ZNC - http://znc.in]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
davedev24_ has quit [Remote host closed the connection]
ddv has quit [Quit: freenode]
sinkensabe has joined #ruby
atomical has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
rocknrollmarc has joined #ruby
Kruppe has joined #ruby
nolic has quit [Remote host closed the connection]
sankaber has quit [Quit: Textual IRC Client: www.textualapp.com]
juanpablo____ has joined #ruby
AlexRussia has joined #ruby
MasterPiece has quit [Quit: Leaving]
ddv has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
zzzbra has joined #ruby
ta_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
rocknrollmarc has quit [Ping timeout: 264 seconds]
Parker0 has joined #ruby
juanpablo____ has quit [Ping timeout: 245 seconds]
Parker0 has quit [Client Quit]
RDash has quit [Changing host]
RDash has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
droidburgundy has joined #ruby
caveat- has joined #ruby
hanmac1 has joined #ruby
Takle has joined #ruby
rocknrollmarc has joined #ruby
fryguy9 has joined #ruby
Takle_ has joined #ruby
sambao21 has joined #ruby
arup_r has quit []
rbennacer has joined #ruby
agrinb has joined #ruby
juanpablo____ has joined #ruby
brocktimus has quit [Read error: Connection reset by peer]
psmolen has quit [Ping timeout: 265 seconds]
paulfm has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
tokik_ has quit [Remote host closed the connection]
rocknrollmarc has quit [Ping timeout: 255 seconds]
hamakn has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
jottr_ has joined #ruby
MyMind has joined #ruby
enebo has joined #ruby
centrx has joined #ruby
mjhoy has joined #ruby
werelivinginthef has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
<gizmore> Would anyone donate something for a ruby academy in my home town?
avahey has joined #ruby
Sembei has quit [Ping timeout: 272 seconds]
agrinb has quit [Ping timeout: 245 seconds]
shime has quit [Ping timeout: 252 seconds]
leafybasil has joined #ruby
sankaber has joined #ruby
psmolen has joined #ruby
Takle_ has quit [Ping timeout: 250 seconds]
axl_ has joined #ruby
ta_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
cpruitt has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
blackoperat has joined #ruby
Aova has joined #ruby
tiwillia has joined #ruby
tunaCanBruh has joined #ruby
rocknrollmarc has joined #ruby
iamjarvo has joined #ruby
zenith_ has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
pu22l3r_ has quit []
xenomorph has left #ruby [#ruby]
rocknrollmarc has quit [Ping timeout: 256 seconds]
ych4k3r has joined #ruby
Takle has joined #ruby
pu22l3r has joined #ruby
ponga has quit [Remote host closed the connection]
axl_ has joined #ruby
dspangenberg has joined #ruby
dblessing has joined #ruby
Megtastique has joined #ruby
zzzbra has quit [Ping timeout: 255 seconds]
xcesariox has quit [Ping timeout: 246 seconds]
josephndenton has joined #ruby
fcanela has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
Aristata has joined #ruby
quimrstorres has joined #ruby
plashchynski has joined #ruby
agrinb has joined #ruby
<Aristata> If I have a nested hash, what would be the easiest way to get the second set of keys as an array?
caveat- has quit [Ping timeout: 245 seconds]
zenith_ has quit [Remote host closed the connection]
davedev24_ has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
dspangenberg has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
djbkd has joined #ruby
tier has joined #ruby
pdoherty has joined #ruby
cpruitt has quit [Quit: cpruitt]
bronson has joined #ruby
Sou|cutter has quit [Quit: bbiab]
<centrx> Aristata, h.inject([]) { |m, (k,v)| m += v.keys }
lolmaus has joined #ruby
oleo has joined #ruby
quimrstorres has quit [Ping timeout: 240 seconds]
timanema has quit [Quit: leaving]
zenith_ has joined #ruby
adriancb has joined #ruby
_maes_ has joined #ruby
<apeiros_> centrx: the = in += is superfluous
djbkd has quit [Ping timeout: 250 seconds]
<canton7> #inject uses the return value of the block - it doesn't care how 'm' changes
caveat- has joined #ruby
<canton7> ... #each_with_object is the oppposite: it doesn't care about the return value, but does care how 'm' is changed
rocknrollmarc has joined #ruby
<apeiros_> but even there it's pointless to do += :)
<apeiros_> it's even worse there as it will be thrown away
Takle has quit [Remote host closed the connection]
<Aristata> centrx: Sexy
<Aristata> I was trying to inject with value, result
<apeiros_> h.values.flat_map(&:keys)
<Aristata> Didn't know you could do it that way
devdazed has joined #ruby
zenith_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
devdazed has quit [Client Quit]
<hanmac1> i had that: data.flat_map{|_,h|h.keys}
davedev24_ has quit [Read error: Connection reset by peer]
athan has joined #ruby
davedev24_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
djbkd has joined #ruby
<Aristata> hanmac: What is that underscore notation?
rocknrollmarc has quit [Ping timeout: 265 seconds]
Takle has joined #ruby
werelivinginthef has joined #ruby
<apeiros_> Aristata: same as if he'd written "unnecessary" or any other lvar name
withnale has quit [Ping timeout: 250 seconds]
Sou|cutter has joined #ruby
<apeiros_> _ is just a valid lvar name
rbennacer has joined #ruby
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Aristata> ah
withnale has joined #ruby
<Aristata> Exactly what I was attempting to avoid, assigning unnecessary variables.
<hanmac1> the interesting thing is that the interpreter does not warn you about unused variable stuff when using "_"
<Aristata> Hm
<Aristata> Good to know
<workmad3> Aristata: it's quite a common convention to use '_' for a block parameter that you have to provide (due to a certain interface) but don't plan on using :)
<Aristata> I think I prefer this guy: .values.flat_map(&:keys)
prasselpikachu_ has quit [Ping timeout: 276 seconds]
Kilo`byte has quit [Ping timeout: 265 seconds]
<hanmac1> Aristata: maybe a tiny bit faster would be .each_value.flat_map(&:keys)
<hanmac1> depending on your input data
quimrstorres has joined #ruby
<Aristata> Excellent, thanks guys.
arietis has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
enricostn has quit [Ping timeout: 245 seconds]
chthon has joined #ruby
rocknrollmarc has joined #ruby
troubadour has joined #ruby
SixiS has joined #ruby
totimkopf has quit [Ping timeout: 245 seconds]
prasselpikachu has joined #ruby
Channel6 has quit [Remote host closed the connection]
Pharaoh2_ has joined #ruby
sent1nel has joined #ruby
sagittarian has joined #ruby
tesuji has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
last_staff has quit [Quit: last_staff]
Kilo`byte has joined #ruby
werelivinginthef has quit [Read error: Connection reset by peer]
rodfersou has quit [Ping timeout: 264 seconds]
werelivinginthef has joined #ruby
Pharaoh2 has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
thatslifeson_ is now known as thatslifeson
rocknrollmarc has quit [Ping timeout: 240 seconds]
kobain has joined #ruby
nolic has joined #ruby
<Diabolik> anyone around that can help a n00b?
posixpascal has quit [Quit: Textual IRC Client: www.textualapp.com]
<centrx> If question asked, answer will come to you
<centrx> *answer to you comes
rodfersou has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
gnarf_ is now known as gnarf
<centrx> Diabolik, ok, with strings, you have to tell it how to enumerate the string (by character, by byte (for Unicode))
chinmay_dd has joined #ruby
<centrx> Diabolik, so use, str.each_char.collect {etc
<centrx> Diabolik, This is chaining enumeration methods
luksaur has joined #ruby
<Diabolik> ok
luksaur has quit [Changing host]
luksaur has joined #ruby
<hanmac1> Diabolik: you need to split the string into an array of each word, then you can append the char and then join it back together
<hanmac1> of directly use gsub!
dimon_ has quit [Quit: Leaving]
<hanmac1> or gsub without the !
jimms has quit []
sambao21 has joined #ruby
davedev2_ has joined #ruby
knut has quit [Ping timeout: 244 seconds]
lmickh has joined #ruby
<Diabolik> so centrx that's split it into letters
<Diabolik> and put an exclamation after each one
davedev24_ has quit [Ping timeout: 250 seconds]
<centrx> Diabolik, Yes, see what hanmac1 said, you want to use split to split on whitespace/word boundaries
mic has joined #ruby
<mic> I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX I am trying to find the correct way to use sprockets with sinatra but can't seem to get it to work
Megtastique has quit []
<hanmac1> or simply use gsub with like that:
<hanmac1> >> "Hey ho let's go".gsub(/\Z|(\s)/,"!\\1")
<eval-in__> hanmac1 => "Hey! ho! let's! go!" (https://eval.in/275644)
sevenseacat has quit [Remote host closed the connection]
caveat- has quit [Ping timeout: 245 seconds]
sent1nel has quit [Remote host closed the connection]
lioninawhat has quit [Remote host closed the connection]
tkuchiki has joined #ruby
PierreRambaud has quit [Quit: Quitte]
<Diabolik> yes!
PierreRambaud has joined #ruby
<Diabolik> hanmac1 i got it working with
<Diabolik> @array.split.map{|x| x + "!" }.join(" ")
<Diabolik> thanks for the help centrx and hanmac1
Xeago has quit [Remote host closed the connection]
ziyadb has joined #ruby
knut has joined #ruby
<ziyadb> WHY is this giving me a undefined variable "response"?
n008f4g_ has joined #ruby
<hanmac1> ziyadb: method scope, it does thinks you are trying to call a local variable
erGoline has joined #ruby
<ziyadb> hanmac1: and how do I resolve it?
<ziyadb> instance variables don't make sense in this context either..
cpt_yossarian has joined #ruby
<centrx> ziyadb, response is defined outside the scope of the method
<centrx> ziyadb, inside the scope of the method, response is not defined
<ziyadb> centrx: I understand.
<Diabolik> [15:03:27] <centrx>Diabolik, ok, with strings, you have to tell it how to enumerate the string (by character, by byte (for Unicode))
<Diabolik> how do i tell it this
<Diabolik> in general
<Diabolik> not just in that specific example
<hanmac1> instance variable would work, but global variable too ... but global variables are mostly unneeded
<erGoline> Hallo! I'm searching a gem to work with the ebay api (I need to publish/update/delete auction), I found some project but they seem quite outdated... any help, please?
jobewan has joined #ruby
<ziyadb> hanmac1: Well, changing it into an instance var ins't working.
yokel has quit [Ping timeout: 264 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
<ziyadb> What other options do I have?
<hanmac1> Diabolik: each_line, each_char, each_byte, each_codepoint
caveat- has joined #ruby
<Diabolik> but then hanmac1
<Diabolik> if i do
lemur has joined #ruby
<Diabolik> def capsify
<Diabolik> @array.each_line.upcase
<Diabolik> end
<Diabolik> i get
<Diabolik> undefined method `each_line' for #<Array:0x007fe13eba3c50>
seal has joined #ruby
<hanmac1> ziyadb: depending of your other code, instance variable might help, but it might be better to put the variable in a class or something
<hanmac1> Diabolik: then you might want: each_line.map(&:upcase)
gawd has quit [Quit: Leaving]
Aova has quit [Read error: Connection reset by peer]
<Diabolik> hanmac1 still get same error
<Diabolik> this is so frustrating i was on a roll till now
<Diabolik> built my first calculator
tobago has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
cntrx has joined #ruby
cntrx has quit [Remote host closed the connection]
centrx has quit [Ping timeout: 245 seconds]
yokel has joined #ruby
mikesplain has joined #ruby
<hanmac1> Diabolik: ah ok ... then you already did have a splitted string then you only need @array.map(&:upcase)
leafybasil has quit [Remote host closed the connection]
<gregf__> ziyadb: change response to $response
radic has quit [Quit: ZNC - http://znc.in]
<Diabolik> just so i can learn and not bother you in the future hanmac1 what is the difference between .map(&:upcase) and .upcase?
<gregf__> anyways, you need to make that a class as hanmac1 said
<hanmac1> Diabolik: String#upcase and Enumerable#map
Aova has joined #ruby
klmlfl has joined #ruby
speakingcode has quit [Ping timeout: 245 seconds]
mrmargolis has joined #ruby
robustus has quit [Read error: Connection reset by peer]
<gregf__> ziyadb: you can also just do: def find_language list; return list.any? { |item| item.end_with?("rb") };end
hamakn has joined #ruby
tunaCanBruh has joined #ruby
<mic> I keep getting an unidentified method "stylesheet_path" while trying to use sinatra with sprockets and sprocket_helper. Can someone give me a hand http://bit.ly/1ypAkLX I am trying to find the correct way to use sprockets with sinatra but can't seem to get it to work
yokel has quit [Ping timeout: 250 seconds]
klmlfl has quit [Remote host closed the connection]
Yanin has joined #ruby
robustus has joined #ruby
mitchell_ has joined #ruby
yokel has joined #ruby
Tuxero has quit [Quit: Tuxero]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
xpo has quit [Quit: WeeChat 0.4.2]
hamakn has quit [Ping timeout: 252 seconds]
craigp has quit [Ping timeout: 252 seconds]
tier has quit [Remote host closed the connection]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hanmac1> mic you can try it in the #sinatra channel
mitchellhenke has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
zzzbra has joined #ruby
apeiros_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
hanmac1 has quit [Quit: Leaving.]
sinkensabe has joined #ruby
quimrsto_ has joined #ruby
yfeldblum has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
tagrudev has quit [Read error: Connection reset by peer]
ponga has quit [Ping timeout: 265 seconds]
quimrstorres has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Ping timeout: 255 seconds]
caveat- has joined #ruby
yokel has quit [Ping timeout: 246 seconds]
yokel has joined #ruby
yokel has quit [Changing host]
yokel has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
konsolebox has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
[1]Yanin has joined #ruby
greenarrow has joined #ruby
Yanin has quit [Ping timeout: 252 seconds]
[1]Yanin is now known as Yanin
yokel has quit [Ping timeout: 252 seconds]
krz has joined #ruby
nykac has joined #ruby
cpt_yossarian has quit [Ping timeout: 245 seconds]
mjhoy` has joined #ruby
mjhoy has quit [Ping timeout: 245 seconds]
it0a has joined #ruby
yokel has joined #ruby
klmlfl has joined #ruby
seal has quit [Quit: Ex-Chat]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
Yanin has quit [Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference]
revw has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 255 seconds]
chthon has quit [Ping timeout: 252 seconds]
thoraxe_ is now known as thoraxe
caveat- has joined #ruby
Cache_Money has joined #ruby
snath has quit [Ping timeout: 250 seconds]
arietis has joined #ruby
ta_ has joined #ruby
yokel has quit [Read error: Connection reset by peer]
Macaveli has quit [Ping timeout: 264 seconds]
yokel has joined #ruby
livathin_ has quit [Remote host closed the connection]
<Diabolik> hanmac
<Diabolik> here
jetblack has quit [Ping timeout: 264 seconds]
tunaCanBruh has joined #ruby
cpt_yossarian has joined #ruby
mitchell_ has quit [Quit: Computer has gone to sleep.]
ta_ has quit [Ping timeout: 264 seconds]
krz has quit [Quit: WeeChat 1.0.1]
konsolebox has joined #ruby
krz has joined #ruby
tjohnson has joined #ruby
<mic> haasn: I did but no luck there either
mic has quit [Remote host closed the connection]
mitchellhenke has joined #ruby
apeiros_ has joined #ruby
ericwood_ is now known as ericwood
thiagovsk has joined #ruby
Yanin has joined #ruby
aapole has quit [Ping timeout: 245 seconds]
Ankhers has joined #ruby
raphaelss has joined #ruby
tercenya_ has quit []
danman has joined #ruby
jherbst has joined #ruby
jetblack has joined #ruby
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has quit [Ping timeout: 246 seconds]
crueber has joined #ruby
davispuh has quit [Remote host closed the connection]
livathinos has joined #ruby
cpt_yossarian has quit [Ping timeout: 264 seconds]
qba73 has quit []
yokel has joined #ruby
d10n-work has joined #ruby
bjornar has quit [Remote host closed the connection]
chthon has joined #ruby
wallerdev has joined #ruby
Fire-Dragon-DoL has joined #ruby
Yanin has quit [Quit: I love my HydraIRC -> http://www.hydrairc.com <-]
rodfersou has quit [Ping timeout: 255 seconds]
mrmargolis has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
mrmargolis has joined #ruby
JBreit has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
platzhirsch has left #ruby [#ruby]
mloveless has joined #ruby
Stoge88 has joined #ruby
chishiki has quit [Quit: WeeChat 1.0.1]
chishiki has joined #ruby
caveat- has joined #ruby
shime has joined #ruby
nanoyak has joined #ruby
nanoyak has quit [Remote host closed the connection]
sambao21 has joined #ruby
pandaant has joined #ruby
nanoyak has joined #ruby
zzzbra has quit [Ping timeout: 246 seconds]
zzzbra has joined #ruby
Patabugen has quit []
fenzil has joined #ruby
camilasan has quit [Ping timeout: 265 seconds]
yokel has quit [Ping timeout: 252 seconds]
zenith_ has joined #ruby
dfoolz_ has joined #ruby
camilasan has joined #ruby
yokel has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
stunder has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
aapole has joined #ruby
dspangenberg has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
AFKGeek has quit [Quit: Fades into the shadows]
lemur has quit [Remote host closed the connection]
jlast has joined #ruby
noop has quit [Ping timeout: 264 seconds]
roshanavand has quit [Ping timeout: 245 seconds]
tiwillia has quit [Ping timeout: 252 seconds]
yokel has quit [Ping timeout: 256 seconds]
giuseppesolinas has quit [Quit: Leaving]
mitchellhenke has joined #ruby
Aova has joined #ruby
aganov has quit [Quit: Leaving]
dspangenberg has quit [Ping timeout: 245 seconds]
yokel has joined #ruby
systemd0wn has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
OrbitalKitten has joined #ruby
bronson has joined #ruby
zzzbra has quit [Ping timeout: 245 seconds]
<systemd0wn> Question, I'm including a class (in file A) in file B. I'd like this class to be able to tell me the filename of file B who included it. Is this possible? I'm having a hard time figuring this out.
sambao21 has quit [Quit: Computer has gone to sleep.]
mkaesz has quit [Remote host closed the connection]
Jackneill has joined #ruby
ta has quit [Remote host closed the connection]
mkaesz has joined #ruby
mkaesz has quit [Read error: No route to host]
Kn|t3 has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Client Quit]
<apeiros_> systemd0wn: note that "include" and "load/require" have an entirely different meaning in ruby.
<apeiros_> you could probably use caller. but I don't see a reliable way.
sambao21 has joined #ruby
<systemd0wn> apeiros_: Thank you, for both.
bronson has quit [Ping timeout: 264 seconds]
einarj_ has quit [Remote host closed the connection]
aryaching has joined #ruby
spyderman4g63 has joined #ruby
camilasan has quit [Ping timeout: 252 seconds]
wpp has quit [Quit: ZZZzzz…]
ponga has joined #ruby
arup_r has joined #ruby
mikesplain has quit [Ping timeout: 264 seconds]
yokel has quit [Ping timeout: 252 seconds]
shredding has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
chrishough has joined #ruby
shum has joined #ruby
camilasan has joined #ruby
shum has quit [Client Quit]
shum has joined #ruby
Takle has quit [Remote host closed the connection]
quazimod1 has quit [Ping timeout: 246 seconds]
Pupeno_ has joined #ruby
tiwillia has joined #ruby
terlar has quit [Ping timeout: 265 seconds]
ponga has quit [Ping timeout: 255 seconds]
<Diabolik> apeiros_ here
nateberkopec has joined #ruby
Pupeno has quit [Ping timeout: 255 seconds]
wallerdev has quit [Quit: wallerdev]
totimkopf has joined #ruby
<Diabolik> i don't understand why the error at the bottom comes up :(
diego_ar has joined #ruby
<apeiros_> Diabolik: you assign to @title in initialize (an instance method), but you run code against it in the class body (not an instance method)
<Diabolik> so what should i do
<Diabolik> the tutorial im doing said that was where to assign it
chth0n has joined #ruby
yokel has joined #ruby
arietis has joined #ruby
<apeiros_> you should create an instance method and put the code in there
skj3gg has joined #ruby
<apeiros_> i.e. line 9-11 belong into a method
tier has joined #ruby
Hobogrammer has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ta has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
ninedragon is now known as eyearrsea
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
totimkopf has quit [Ping timeout: 255 seconds]
tyfighter has joined #ruby
rocknrollmarc has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
Takle has joined #ruby
camilasan has quit [Ping timeout: 252 seconds]
fantazo has quit [Quit: Verlassend]
<Diabolik> apeiros_
<Diabolik> its gotten even more confusing
rbennacer has quit [Remote host closed the connection]
<Diabolik> now its saying that
<Diabolik> wrong number of arguments (0 for 1)
camilasan has joined #ruby
CodyStringham has joined #ruby
danzilio has joined #ruby
atomical has quit [Ping timeout: 245 seconds]
deol has joined #ruby
erGoline has quit [Remote host closed the connection]
rbennacer has joined #ruby
sambao21 has joined #ruby
CodyStringham has quit [Client Quit]
arup_r has quit [Ping timeout: 244 seconds]
fenzil has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
Morkel has joined #ruby
GaryOak_ has joined #ruby
spyderma_ has joined #ruby
diego_ar has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
yokel has quit [Ping timeout: 250 seconds]
atomical has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
<apeiros_> Diabolik: why did you define it as `def fix(title)`?
<Diabolik> apeiros_ this is the task
yokel has joined #ruby
ta_ has joined #ruby
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros_> Diabolik: ok. but that was not my question.
<Diabolik> because the function in the challege is called fix
plashchynski has quit [Quit: plashchynski]
DaniG2k has joined #ruby
<apeiros_> ok. so that's why you called it fix. what about the arguments it takes?
Macaveli has joined #ruby
spyderman4g63 has quit [Ping timeout: 240 seconds]
<Diabolik> it should take the argument of the title of the book
mikepack has joined #ruby
<Diabolik> day #1 coding ruby btw so i apologise if im nooby as fuck
<apeiros_> Diabolik: but you already take the title of the book in initialize and store it in the object
<Diabolik> so what argument should it take?
<apeiros_> why do you take it again in your `fix` method? you don't make use of it either.
jimms has joined #ruby
<apeiros_> well, what arguments to you want to pass it?
tus has joined #ruby
djbkd has joined #ruby
nb_bez___ has joined #ruby
<Diabolik> like i said day #1. i presumed the argument has to be what the function is for
<apeiros_> I understood that it's day #1, that doesn't absolve you from thinking :-p
<Diabolik> naturally
<apeiros_> arguments is information you pass for a method to perform its task
x1337807x has joined #ruby
<apeiros_> the other part of information a method has is the data which is stored in the object
ta_ has quit [Ping timeout: 252 seconds]
<apeiros_> the instance variables (those with a leading @)
<Diabolik> does it have to take an argument?
<Diabolik> or can it just be blank parentheses
<apeiros_> no, it is not required to :)
ta has quit [Remote host closed the connection]
tiwillia has quit [Ping timeout: 256 seconds]
<apeiros_> yes, it can be blank parens (you can even leave the parens away)
voodoofish430 has joined #ruby
<Diabolik> im confused why im still getting the wrong number of arguments error
Macaveli has quit [Ping timeout: 245 seconds]
<apeiros_> you changed your code of `fix` to not take any arguments?
<Diabolik> yes
x1337807x has quit [Client Quit]
<apeiros_> then show the exception (and/or read it closely first)
<apeiros_> I suspect I know what errors out and it's different from before.
<Diabolik> wrong number of arguments (0 for 1)
<Diabolik> exercise.rb:9:in `include?'
<Diabolik> exercise.rb:9:in `fix'
<Diabolik> exercise_spec.rb:6:in `block (3 levels) in <top (required)>'
tier has quit [Remote host closed the connection]
<apeiros_> ok, see, before it was wrong number of arguments for `fix`
<apeiros_> now it's for `include?`
mic has joined #ruby
<apeiros_> I'm not quite sure what `@title.include?(&:downcase).each_with_index(0)` is supposed to do
<Diabolik> see if the @title has a downcase letter at index 0
Fire-Dragon-DoL has joined #ruby
shredding has quit [Quit: shredding]
djbkd has quit [Ping timeout: 256 seconds]
<apeiros_> ok, that's not what it does.
ellisTAA has joined #ruby
gawd has joined #ruby
sigurding has quit [Quit: sigurding]
<apeiros_> pondering on how far I want to go with this
<Diabolik> don't worry apeiros_
<Diabolik> i have to run
<Diabolik> i will figure it out
<Diabolik> you've been very helpful
<Diabolik> thank you
<ellisTAA> hey. if i want to be a top level web developer / programmer, what topics are foundational that i should study? so far i’ve got design patterns on my list, and test development
<apeiros_> ok. good luck!
<jimms> Anyone use vim? I just want to make 4 windows in columns into a 2x2 grid
<hoelzro> jimms: :split, then :vsplit in each of your new splits
<shevy> real men use emacs
shredding has joined #ruby
<gr33n7007h> lol
krz has quit [Quit: WeeChat 1.0.1]
nanoyak has quit [Quit: Computer has gone to sleep.]
<jimms> hoelzro: if I already have the windows open I can't just move them?
Soliah has quit [Quit: Soliah]
greenarrow has quit [Quit: 500]
<jimms> haha shevy
<hoelzro> jimms: sure you can
ptrrr has joined #ruby
Yanin has joined #ruby
Soliah has joined #ruby
danjordan has left #ruby [#ruby]
aapole has quit [Ping timeout: 245 seconds]
<shevy> hoelzro is a guru
Cache_Money has quit [Quit: Cache_Money]
craigp has joined #ruby
eyearrsea is now known as roar
<shevy> a cyborg - vim is a brain extension module
CustosL1men has quit [Ping timeout: 255 seconds]
tiwillia has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
jlast has joined #ruby
caveat- has joined #ruby
fenzil has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yanin has quit [Quit: Try HydraIRC -> http://www.hydrairc.com <-]
Xeago has joined #ruby
gattie has joined #ruby
skj3gg has joined #ruby
shredding has quit [Quit: shredding]
yokel has quit [Ping timeout: 250 seconds]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jgt> “real men”
<shevy> yeah
<shevy> matz
<jgt> ellisTAA: Communication with business people and other developers
<jimms> hoelzro: so :split does what I expected and gives me the same buffer below, but is there no command similar to c-w L or c-w J that doesn't place the window Beyond all other windows?
diegoviola has joined #ruby
<shevy> what is he doing lately by the way
arup_r has joined #ruby
<GaryOak_> streem
mikesplain has joined #ruby
bMalum has quit [Quit: bMalum]
<shevy> hmm
iamjarvo has joined #ruby
<jimms> seems like I can only manipulate 3 windows to where I want them, and then, I'm stuck closing windows and reopening
n008f4g_ has quit [Ping timeout: 252 seconds]
<jgt> jimms: “doesn’t place the window Beyond all other windows” — what does this mean?
<shevy> would be nice if steem can be combined with multimedia filters from the commandline
spookplumpen has joined #ruby
nolic has quit [Remote host closed the connection]
livathinos has quit [Remote host closed the connection]
msgodf has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
<jimms> jgt: if I have 4 rows I can c-w L to move to the 'right most' spot, but then my only option for the other three rows is to move MORE right, all left (leaving two rows in center colum), or a row above or below. No quick way to move a second row into the new second column
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snath has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
<hoelzro> jimms: yeah, I don't know the VimL to do it offhand =/
olivier_bK has quit [Ping timeout: 265 seconds]
Hijiri has quit [Ping timeout: 265 seconds]
DaniG2k has quit [Quit: leaving]
aclearman037 has joined #ruby
jenrzzz has joined #ruby
<jimms> it's not a big deal, but something I've been wondering for a while. thanks anyway tho :)
hfor has quit [Ping timeout: 250 seconds]
paulfm has quit [Ping timeout: 245 seconds]
gkra has joined #ruby
aapole has joined #ruby
techietrash has joined #ruby
camilasan has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
erGoline has joined #ruby
<erGoline> Hallo! I'm searching a gem to work with the ebay api (I need to publish/update/delete auction), I found some project but they seem quite outdated... any help, please?
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasan has joined #ruby
Aova has quit [Read error: Connection reset by peer]
hfor has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
bricker has joined #ruby
tkuchiki has quit [Remote host closed the connection]
lolmaus has joined #ruby
shredding has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shime has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
Aova has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
shime has joined #ruby
maletor has joined #ruby
<jhass> erGoline: I doubt it's something commonly done, your best bet is probably to fork the best looking one you found and bring it up to shape
maletor has quit [Changing host]
maletor has joined #ruby
mikesplain has left #ruby ["Goodbye"]
paulfm has quit [Ping timeout: 264 seconds]
rocknrollmarc has quit [Ping timeout: 250 seconds]
lolmaus has quit [Client Quit]
Lildirt has quit [Read error: Connection reset by peer]
yokel has joined #ruby
rocknrollmarc has joined #ruby
Lildirt has joined #ruby
<erGoline> jhass: yes, I was thinking about that, I would like to know if some of these gems are in part functioning, so I can focus on one in particular
voodoofish4301 has joined #ruby
swgillespie has joined #ruby
lrocknrolmarc has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
gfawcettpq has joined #ruby
bronson has joined #ruby
nfk has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
bronson has quit [Read error: Connection reset by peer]
voodoofish430 has quit [Ping timeout: 252 seconds]
voodoofish4301 is now known as voodoofish430
caveat- has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
shredding has quit [Quit: shredding]
Weatherlight has joined #ruby
JBreit has left #ruby ["Leaving"]
swgillespie has quit [Client Quit]
Kn|t3 has quit [Quit: Kn|t3]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caveat- has joined #ruby
paulfm has joined #ruby
rodfersou has quit [Ping timeout: 246 seconds]
ponga has joined #ruby
deol has joined #ruby
mkaesz has joined #ruby
diego_ar has joined #ruby
Kn|t3 has joined #ruby
Takle has joined #ruby
kalusn has quit [Remote host closed the connection]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dspangenberg has joined #ruby
neoxquick has joined #ruby
fenzil has quit [Ping timeout: 245 seconds]
ponga has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 245 seconds]
mleung has joined #ruby
phutchins has quit [Ping timeout: 244 seconds]
nanoyak has joined #ruby
nanoyak has quit [Remote host closed the connection]
ramfjord has joined #ruby
troubadour has quit [Quit: troubadour]
arietis has joined #ruby
nanoyak has joined #ruby
mary5030 has joined #ruby
mikecmpbll has quit [Ping timeout: 246 seconds]
dspangenberg has quit [Ping timeout: 250 seconds]
Hobogrammer has quit [Ping timeout: 250 seconds]
alex88 has quit [Remote host closed the connection]
rodfersou has joined #ruby
rbennacer has quit [Remote host closed the connection]
plashchynski has joined #ruby
paulfm has quit [Remote host closed the connection]
Megtastique has joined #ruby
paulfm has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
yokel has joined #ruby
aryaching has joined #ruby
jerius has joined #ruby
withnale has quit [Ping timeout: 245 seconds]
agit0 has joined #ruby
atomical has joined #ruby
danman has quit [Quit: danman]
rbennacer has joined #ruby
lrocknrolmarc has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
EvanFreeman has joined #ruby
plashchynski has quit [Quit: plashchynski]
plashchynski has joined #ruby
zachrab has joined #ruby
<Weatherlight> you know what ruby rhymes with?
zachrab has quit [Client Quit]
<Weatherlight> booby
justinweiss has joined #ruby
djbkd has joined #ruby
pkrzywicki has joined #ruby
Pupeno has joined #ruby
plashchynski has quit [Client Quit]
Pupeno has quit [Changing host]
Pupeno has joined #ruby
deric_skibotn has joined #ruby
Eiam has joined #ruby
deepu has joined #ruby
Hijiri has joined #ruby
yokel has joined #ruby
Pupeno_ has quit [Ping timeout: 265 seconds]
caveat- has joined #ruby
plashchynski has joined #ruby
<workmad3> Weatherlight: also 'scooby'
fryguy9 has quit [Quit: Leaving.]
fenzil has joined #ruby
<Senjai> Weatherlight: nice entrance
djbkd has quit [Ping timeout: 252 seconds]
n008f4g_ has joined #ruby
zachrab has joined #ruby
sigurding has joined #ruby
plashchynski has quit [Client Quit]
jottr has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
axl_ has quit [Quit: axl_]
yokel has quit [Ping timeout: 252 seconds]
godemper1r has joined #ruby
r3dking has joined #ruby
<r3dking> How do you do an IF statement to see if a variable is a string or number?
sambao21 has quit [Quit: Computer has gone to sleep.]
arietis has joined #ruby
<r3dking> basically I want "if var1 is not a number; puts "dodo head"; end"
yokel has joined #ruby
chrishough has joined #ruby
Zai00 has quit [Quit: Zai00]
havenwood has joined #ruby
<waxjar> r3dking: if var.is_a?(Numeric); ... end, but better yet if var.respond_to?(:to_int); var = var.to_int; ... end
<r3dking> nice
<apeiros_> IMO best is to not even let that happen
<apeiros_> (variables which may be one type or maybe another)
skj3gg has quit [Quit: ZZZzzz…]
Notte has joined #ruby
yokel has quit [Ping timeout: 244 seconds]
<r3dking> gotcha
<r3dking> thanks
ptrrr has quit [Quit: ptrrr]
chth0n has quit [Ping timeout: 252 seconds]
plashchynski has joined #ruby
chthon has quit [Ping timeout: 264 seconds]
Kn|t3 has joined #ruby
x1337807x has joined #ruby
roar has left #ruby [#ruby]
sambao21 has joined #ruby
dimaursu16 has joined #ruby
axl_ has joined #ruby
yokel has joined #ruby
craigp has quit [Remote host closed the connection]
Jake232 has joined #ruby
Jake232 has quit [Max SendQ exceeded]
bdamos` has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
craigp has joined #ruby
Takle has quit [Remote host closed the connection]
towski_ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<r3dking> waxjar: what about "match on any number, 1, or 20000000"
Aova has joined #ruby
abuzze has quit [Remote host closed the connection]
<waxjar> any number includes 1 and 2e8 no?
abuzze has joined #ruby
<r3dking> waxjar: right
erGoline has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 252 seconds]
tiwillia has quit [Ping timeout: 245 seconds]
caveat- has quit [Ping timeout: 245 seconds]
anaeem1_ has quit [Remote host closed the connection]
fryguy9 has joined #ruby
plashchynski has quit [Quit: plashchynski]
anaeem1_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
plashchynski has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 245 seconds]
sankaber has joined #ruby
danman has joined #ruby
sent1nel has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
abuzze has quit [Ping timeout: 250 seconds]
LudicrousMango has joined #ruby
skj3gg has joined #ruby
yokel has joined #ruby
kesroesweyth has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
<kesroesweyth> Could someone help me with this error when I run 'gem install --system'? The short version of the error is: Symbol not found: _SSLv2_client_method
anaeem1_ has quit [Ping timeout: 252 seconds]
rjc has quit [Quit: Konversation terminated!]
<kesroesweyth> This is on OS X Yosemite.
totimkopf has joined #ruby
<havenwood> kesroesweyth: How'd you install Ruby?
<kesroesweyth> I tried running 'rbenv install 2.1.2' with no luck.
<kesroesweyth> havenwood: homebrew
caveat- has joined #ruby
kenneth has joined #ruby
kostitas has quit [Ping timeout: 250 seconds]
noop has joined #ruby
<havenwood> kesroesweyth: `rbenv install` actually uses `ruby-build`, which ships its own OpenSSL instead of using the package managers (uhg).
<havenwood> manager's*
Guest81637 is now known as pipework
<kesroesweyth> havenwood: Sounds like what I want then, eh?
kenneth has quit [Client Quit]
<havenwood> kesroesweyth: You could update ruby-build, to get their new OpenSSL or use a better tool like ruby-install that will link against brew's OpenSSL.
psy_ has quit [Read error: Connection reset by peer]
Aristata has quit [Quit: Leaving.]
cjim has joined #ruby
djbkd has joined #ruby
danzilio_ has joined #ruby
psy_ has joined #ruby
pontiki has joined #ruby
<kesroesweyth> havenwood: Okay. Should I uninstall ruby entirely and start from scratch? And if so, what are the right steps?
<havenwood> kesroesweyth: But yeah, rebuild Ruby however you'd like, and not against ruby-build's dated OpenSSL.
<kesroesweyth> Okay.
kenneth has joined #ruby
<havenwood> They reeeaaaally shouldn't do it the way they do. People reasonably assume ruby-build will use the updated system OpenSSL when in fact they're using something dated that shipped with ruby-build. Bad idea on their part. ruby-install does it better.
fantazo has joined #ruby
nanoyak has quit [Remote host closed the connection]
<kesroesweyth> Okay, so I'm a little confused. I want to use ruby-install, after installing ruby through brew, correct?
<havenwood> kesroesweyth: Nope.
nanoyak has joined #ruby
<shevy> what do you guys use to build commandline option parsing stuff in ruby scripts?
ta has joined #ruby
totimkopf has quit [Ping timeout: 256 seconds]
kenneth has quit [Client Quit]
<havenwood> kesroesweyth: So you can `brew install ruby` (this is a brew Ruby install) or `brew install ruby-build` (the rbenv tool) or `brew install ruby-install` (a separate tool that can work with rbenv).
<havenwood> kesroesweyth: ^ These are three different paths.
<kesroesweyth> Gotcha.
<havenwood> shevy: slop
<kesroesweyth> The last is the one you recommend?
danzilio has quit [Ping timeout: 255 seconds]
<deepu> I have inherited this script. I'm getting "level":"info","message":"handler extension output","extension":{"type":"extension","name":"gtm-mail-handler"},"output":"undefined method `fetch' for nil:NilClass"}" Can someone tell me why this error? http://pastie.org/private/axuivsiw5oqemad0nii9q
<shevy> havenwood ok going to check it out
danzilio_ has quit [Client Quit]
<havenwood> kesroesweyth: With the last one, you'd first `brew install ruby-install` then to install for rbenv: ruby-install --install-dir ~/.rbenv/versions/2.1.2 ruby 2.1.2
danzilio has joined #ruby
kenneth has joined #ruby
iceden has quit [Read error: Connection reset by peer]
<kesroesweyth> k I'll try that.
sent1nel has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
postmodern has joined #ruby
postmodern has joined #ruby
postmodern has quit [Changing host]
nanoyak has quit [Client Quit]
ponga has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
danzilio_ has joined #ruby
danzilio_ has quit [Max SendQ exceeded]
spyderma_ has quit [Remote host closed the connection]
danzilio_ has joined #ruby
<havenwood> deepu: paste the full error?
kirun has joined #ruby
spyderman4g63 has joined #ruby
ta has quit [Ping timeout: 256 seconds]
dc has joined #ruby
<deepu> havenwood: Sensu (monitoring tool) is trying to load the extention and showing this error "{"timestamp":"2015-02-02T18:26:54.059977+0000","level":"info","message":"handler extension output","extension":{"type":"extension","name":"gtm-mail-handler"},"output":"undefined method `fetch' for nil:NilClass"}"
nanoyak has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
danzilio has quit [Ping timeout: 255 seconds]
ptrrr has joined #ruby
tiwillia has joined #ruby
jenrzzz has joined #ruby
<havenwood> deepu: Oh, okay. Well `@gtm_client` is being assigned by the #update_gtm_vars method, and if that method isn't called before #get_previous_status, etc, then you're calling #fetch on `nil`.
yokel has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
<havenwood> >> nil.fetch
shevy has quit [Ping timeout: 276 seconds]
<eval-in__> havenwood => undefined method `fetch' for nil:NilClass (NoMethodError) ... (https://eval.in/275902)
EvanFreeman has joined #ruby
cjim has quit [Quit: (null)]
gawd has quit [Quit: Leaving]
dstarh has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
<deepu> havenwood: thank you.. would you please tell me how you would fix it?
lolmaus has joined #ruby
diego_ar has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
<havenwood> deepu: A guess without actually looking at what the code is doing would be to add `@gtm_client = {}` to the #initialize method.
djbkd has joined #ruby
alex88 has joined #ruby
diego_ar has joined #ruby
cjim has joined #ruby
<deepu> havenwood: ok thanks I will give that a try
kalusn has joined #ruby
goshdarnyou has joined #ruby
odin22 has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
<deepu> havenwood: still same error
OrbitalKitten has joined #ruby
<havenwood> deepu: Maybe it's the #fetch on `@gtm_check` that's failing when you're running #update_gtm_vars if `@event[:check]` isn't a Hash. Need a real error to see where in the code the problem is.
iamjarvo has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alex88 has quit [Ping timeout: 250 seconds]
yokel has quit [Ping timeout: 256 seconds]
xcesariox has joined #ruby
Takle has joined #ruby
<havenwood> deepu: You could add a line 213 to look at `@gtm_check` and see if that's the case: p @gtm_check
anaeem1_ has joined #ruby
ta has joined #ruby
<havenwood> deepu: One of those #fetch's is biting you because it's being called on `nil`. Try to figure out which one.
<deepu> havenwood: ok let me try that
yokel has joined #ruby
kenneth has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
iwishiwerearobot has quit [Quit: Be back later ...]
techietrash has quit [Quit: Bye! <(^_^<)]
ghr has joined #ruby
tier has joined #ruby
m8 has joined #ruby
kies has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
djbkd has quit [Remote host closed the connection]
ta has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
iceden has joined #ruby
shevy has joined #ruby
spider-mario has joined #ruby
wottam has joined #ruby
ta has joined #ruby
wallerdev has joined #ruby
diego_ar has quit [Remote host closed the connection]
kies has joined #ruby
aapole has quit [Ping timeout: 264 seconds]
Tuxero has joined #ruby
tyfighter has quit [Quit: tyfighter]
yokel has quit [Ping timeout: 252 seconds]
tier has quit [Remote host closed the connection]
diego_ar has joined #ruby
craigp has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 246 seconds]
nanoyak has joined #ruby
tyfighter has joined #ruby
yokel has joined #ruby
Hijiri has quit [Ping timeout: 252 seconds]
crack has quit [Quit: Leaving]
crack has joined #ruby
mary5030 has quit [Remote host closed the connection]
ta has quit [Ping timeout: 256 seconds]
startupality has joined #ruby
plashchynski has quit [Quit: plashchynski]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoyak has quit [Quit: Computer has gone to sleep.]
shime has quit [Read error: Connection reset by peer]
larsam has quit []
<ziyadb> https://gist.github.com/ziyadbasheer/71d6113c28bf0b99d137 <- why am I getting a "method undefined error"?
wldcordeiro has quit [Ping timeout: 245 seconds]
sigurding has quit [Quit: sigurding]
FifthWall_ is now known as FifthWall
yokel has quit [Read error: Connection reset by peer]
Sou|cutter has quit [Quit: WeeChat 0.4.3]
yokel has joined #ruby
<startupality> any good resources for receiving replies to emails inside the app with a ruby gem?
silkfox has quit [Ping timeout: 244 seconds]
dspangenberg has joined #ruby
atomical has quit [Ping timeout: 245 seconds]
apurcell has joined #ruby
nanoyak has joined #ruby
quimrstorres has joined #ruby
sent1nel has joined #ruby
dumdedum has quit [Quit: foo]
<havenwood> ziyadb: You defined a class method with the `self.` here: https://gist.github.com/ziyadbasheer/71d6113c28bf0b99d137#file-repohandler-rb-L18
The_Phoenix has quit [Read error: Connection reset by peer]
danzilio has joined #ruby
<havenwood> ziyadb: So that'd be called like `RepoHandler.clone_app(uri)`. Drop the `self.` to make an instance method that can be called like `RepoHandler.new.clone_app(uri)`.
danzilio has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
jottr has joined #ruby
atomical has joined #ruby
<dfoolz_> hello, I was wondering if anyone would be willing to help me out with this error?
<ziyadb> havenwood: huh, I imagined self.clone_app WAS to allow RepoHandler.clone_app.
<dfoolz_> /usr/local/rvm/gems/ruby-2.2.0/gems/activesupport-4.1.1/lib/active_support/values/time_zone.rb:285: warning: circular argument reference - now
yokel has quit [Ping timeout: 265 seconds]
<ziyadb> Seems like I don't understand the whole notion of self.
jimms has quit [Remote host closed the connection]
dspangenberg has quit [Ping timeout: 252 seconds]
<havenwood> ziyadb: well, it *only* created the class variable, not the instance variable as well
<dfoolz_> line 285: def parse(str, now=now)
<dfoolz_> should I just change it to def parse(str, now)
<ziyadb> havenwood: RIGHT.
gigetoo has joined #ruby
<dfoolz_> I mean that fixes it
<ziyadb> that's a weird point of contention.
<dfoolz_> so I guess that's right? o_O
<ziyadb> Thanks for explaining.
<bricker> dfoolz_: `now=now` what do you expect that to do?
<havenwood> ziyadb: if you want both class and instance method you can drop the `self.` and: extend self
<dfoolz_> no clue, that's how the gem came lol
<bricker> dfoolz_: do you mean `now=Time.now`?
mikecmpbll has joined #ruby
<ziyadb> havenwood: noted, thank you sir.
<havenwood> ziyadb: you're welcome, happy hacking!
<ziyadb> havenwood: thank you!
<dfoolz_> bricker, that would probably be better than just leaving it null. Thanks!
paulfm_ has joined #ruby
quimrsto_ has quit [Ping timeout: 264 seconds]
plashchynski has joined #ruby
<ziyadb> havenwood: any other glaring errors? TBH, it's my first app, so I'd give an arm for to get it working :(
quimrstorres has quit [Ping timeout: 240 seconds]
silkfox has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
dspangenberg has joined #ruby
danzilio_ has quit [Ping timeout: 245 seconds]
echevemaster has joined #ruby
yokel has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
athan has quit [Read error: Connection reset by peer]
raphaelss has quit [Quit: leaving]
diego_ar has quit []
danzilio has joined #ruby
danzilio has quit [Max SendQ exceeded]
craigp has joined #ruby
tmtwd has joined #ruby
craigp has quit [Remote host closed the connection]
danzilio has joined #ruby
danzilio has quit [Max SendQ exceeded]
thumpba has joined #ruby
craigp has joined #ruby
danzilio has joined #ruby
danzilio has quit [Max SendQ exceeded]
yokel has quit [Ping timeout: 244 seconds]
danzilio has joined #ruby
aapole has joined #ruby
aaas has joined #ruby
crazydiamond has joined #ruby
JaredCE has joined #ruby
<havenwood> ziyadb: Hem, the `next` on line 31 seems redundant.
Aova has quit [Read error: Connection reset by peer]
<ziyadb> havenwood: I just about stole that word for word from http://www.ruby-doc.org/stdlib-2.2.0/libdoc/find/rdoc/Find.html
yokel has joined #ruby
<havenwood> ziyadb: Instead of checking if each line has "rails" or "sinatra" just check if the file contains it.
<ziyadb> havenwood: well, I would've done that if I knew how to.
<ziyadb> That's the best method i could find.
<ziyadb> You may preempt it.
caveat- has quit [Ping timeout: 245 seconds]
longfeet has joined #ruby
<ziyadb> file.include?('rails') ?
Hijiri has joined #ruby
<havenwood> ziyadb: Maybe?: File.read('Gemfile')['rails']
sinanislekdemir has joined #ruby
<havenwood> @repo.framework = 'rails' if File.read('Gemfile')['rails']
<ziyadb> havenwood: my @files seems to be nil, if I puts it from the find_tree method, it works like a charm, but when I try to access it from my RepoHandler object, it doesn't work :(
<ziyadb> havenwood: that would be 10000x better.
Aova has joined #ruby
<ziyadb> I'll try it out right after.
Pharaoh2 has joined #ruby
<havenwood> ['rails', 'sinatra'].detect { |gem| File.read('Gemfile')[gem] }
sent1nel has quit [Remote host closed the connection]
<ziyadb> havenwood: nooo,
djbkd_ has joined #ruby
<ziyadb> that's SUPER rubyistic!
shredding has joined #ruby
<ziyadb> would be perfect.
<shevy> is .detect like .select ?
<JaredCE> so i'm starting to learn about ruby. I'm using koding.com as my environment. I've written this: http://pastebin.com/R0V9MG0s yet when I try to run this from the terminal, i seem to be getting a: -:1:in `<main>': uninitialized constant QuickFind (NameError) error
<shevy> havenwood knows so many tricks
<havenwood> I guess you'd not want to read the file over and over, so just assign a variable.
wpp has joined #ruby
<havenwood> shevy: It's like select but stops on the first match.
<ziyadb> shevy: and I'm quite lucky.
<shevy> ah cool
<havenwood> shevy: like #find
caveat- has joined #ruby
wpp has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaspertidemann has joined #ruby
<havenwood> JaredCE: When you try to run it in irb?
yokel has quit [Ping timeout: 252 seconds]
<havenwood> JaredCE: Use snake_case for both variables and method names, not CamelCase or headlessCamel.
<JaredCE> havenwood: from the terminal, i write "ruby QuickFind.rb a = QuickFind.new(6) a.Show"
djbkd_ has quit [Ping timeout: 252 seconds]
<havenwood> JaredCE: You'd have to load the code before you can run it.
<havenwood> JaredCE: Paste your code then try again.
<havenwood> JaredCE: or `require` the file the code is in.
<JaredCE> havenwood: i thought i was by telling it QuickFind.rb
sambao21 has joined #ruby
<havenwood> JaredCE: ahh, i see what you're trying to do.
dspangen1erg has joined #ruby
<havenwood> JaredCE: Try: ruby -r ./QuickFind.rb -e "a = QuickFind.new(6); a.Show"
yokel has joined #ruby
<havenwood> JaredCE: Name files in snake_case too! :)
<JaredCE> yep that works
baroquebobcat has quit [Quit: baroquebobcat]
mkaesz has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
LudicrousMango has quit [Remote host closed the connection]
dspangenberg has quit [Ping timeout: 245 seconds]
triple_b has joined #ruby
<ziyadb> havenwood: ['rails', 'sinatra'].detect { |gem| File.read('Gemfile')[gem] } actually works.
<ziyadb> Fuck me.
ponga has joined #ruby
Spami has quit [Quit: Leaving]
Spami has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
nanoyak has quit [Remote host closed the connection]
nanoyak has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
jgt has quit [Ping timeout: 255 seconds]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davispuh has joined #ruby
<waxjar> note that that'll read the Gemfile twice, not a big deal in that code, but not ideal if you have a bigger array
Notte has quit []
mary5030 has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
n1lo has quit [Quit: Leaving]
caveat- has quit [Ping timeout: 245 seconds]
arietis has joined #ruby
EvanFreeman has joined #ruby
jgt has joined #ruby
jlast_ has joined #ruby
jlast has quit [Read error: Connection reset by peer]
yokel has joined #ruby
caveat- has joined #ruby
EvanFreeman has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
EvanFreeman has joined #ruby
phoo1234567 has joined #ruby
dreinull75 has joined #ruby
tyfighter has joined #ruby
OrbitalKitten has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
rdark has quit [Quit: leaving]
phoo1234567 has joined #ruby
mjhoy` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<dreinull75> trying to query a db with sequel. One column has either 1 or 2 in its cells. How would I ask for 2s only if they exist otherwise 1s. Is there a simple solution?
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
agit0 has quit [Quit: This computer has gone to sleep]
yokel has quit [Ping timeout: 250 seconds]
rodfersou has quit [Ping timeout: 250 seconds]
tyfighter has quit [Quit: tyfighter]
uptownhr has joined #ruby
pandaant has quit [Remote host closed the connection]
aapole has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
ellisTAA has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
sankaber has joined #ruby
<dreinull75> probably more an sql question, I'll head over to #sql
caveat- has quit [Ping timeout: 245 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby
yokel has joined #ruby
odin22 has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
werelivinginthef has quit [Remote host closed the connection]
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
diegoviola has quit [Quit: WeeChat 1.1.1]
rodfersou has quit [Ping timeout: 252 seconds]
triple_b_ has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
tyfighter has joined #ruby
<eam> dreinull75: COALESCE()
jgt has quit [Ping timeout: 246 seconds]
p0wn3d_mhs has joined #ruby
rodfersou has joined #ruby
danman has quit [Quit: danman]
aryaching has quit []
<dreinull75> eam: nice, thank you.
rodfersou has quit [Client Quit]
ta has quit [Ping timeout: 252 seconds]
triple_b has quit [Ping timeout: 265 seconds]
caveat- has joined #ruby
odin22 has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
<ziyadb> havenwood: so everything seems to be working, except test.repo isn't returning anything. https://gist.github.com/ziyadbasheer/71d6113c28bf0b99d137
skj3gg has joined #ruby
<ziyadb> Anyone else: I'd appreciate a hand ^
pengin has joined #ruby
sinkensabe has quit [Remote host closed the connection]
triple_b_ has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
atomical has quit [Ping timeout: 245 seconds]
zachrab has quit [Remote host closed the connection]
atomical has joined #ruby
zachrab has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
startupality has quit [Quit: startupality]
Xeago has joined #ruby
danzilio has quit []
plashchynski has quit [Quit: plashchynski]
nym has joined #ruby
yokel has joined #ruby
iceden has quit [Read error: Connection reset by peer]
<nym> heya, i'm trying to slim down the asset pipeline on a landing page, but i'm a bit confused about how to reference a new manifest
agit0 has joined #ruby
Hijiri has joined #ruby
Musashi007 has joined #ruby
ddd has quit [Quit: Rebooting for kernel update]
jrichocean has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
zachrab has quit [Read error: No route to host]
arietis has quit [Quit: Textual IRC Client: www.textualapp.com]
plashchynski has joined #ruby
zachrab has joined #ruby
last_staff has joined #ruby
athan has joined #ruby
cpt_yossarian has joined #ruby
tyfighter has quit [Quit: tyfighter]
spookplumpen has quit [Quit: Leaving]
ellisTAA has quit [Quit: ellisTAA]
jottr has quit [Ping timeout: 245 seconds]
mjhoy has joined #ruby
<shevy> perl had regex. did it pick that from sed?
<havenwood> shevy: i thought perl invented regex?
<shevy> no idea
x1337807x has joined #ruby
lmickh has quit [Remote host closed the connection]
<havenwood> nym: #rubyonrails is the best channel for Rails questions
<shevy> I thought it must have copied it from somewhere
<havenwood> ziyadb: taking a look now
<eam> from C
<nym> havenwood: thanks
<shevy> C had regex?
<eam> posix regex predates pcre
yokel has quit [Read error: Connection reset by peer]
<eam> sure
<shevy> cool
<ziyadb> havenwood: hold off. Some updates coming up soon.
<havenwood> ziyadb: kk
multi_io has joined #ruby
i0n has quit [Quit: snooze]
<eam> shevy: there's posix basic BRE, posix extended ERE, and then perl compat PCRE
<eam> three major flavors
<eam> BRE is what grep uses by default and you'll notice paren () behavior is inverted from what you probably expect
yokel has joined #ruby
<eam> compare: echo hi there| grep '(xxx|hi)'; versus echo hi there| grep '\(xxx\|hi\)'
jottr has joined #ruby
<eam> vs echo hi there| grep -E '(xxx|hi)'
<havenwood> eam: interesting
<eam> gnu grep should support -P for libpcre as well
multi_io_ has quit [Ping timeout: 252 seconds]
hydrozen has joined #ruby
Aova has quit [Read error: Connection reset by peer]
<shevy> cool read
<shevy> "Of course, Perl wasn't the first programming language to have support for regular expressions."
davispuh has quit [Remote host closed the connection]
<eam> regex in C is painful
<eam> but, less painful than parsing strings in C!
triple_b has joined #ruby
<eam> regex(3) details how to do it
davispuh has joined #ruby
alex88 has joined #ruby
vdamewood has joined #ruby
iceden has joined #ruby
reinaldob has quit [Remote host closed the connection]
yokel has quit [Read error: Connection reset by peer]
startupality has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aova has joined #ruby
danzilio has joined #ruby
danzilio has quit [Max SendQ exceeded]
yokel has joined #ruby
danzilio has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
danzilio has quit [Max SendQ exceeded]
malkomalko has joined #ruby
alex88 has quit [Ping timeout: 245 seconds]
Musashi007 has quit [Quit: Musashi007]
davispuh has quit [Remote host closed the connection]
lmickh has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
quimrstorres has joined #ruby
tkuchiki has joined #ruby
Musashi007 has joined #ruby
wottam has joined #ruby
yokel has quit [Ping timeout: 246 seconds]
<cpt_yossarian> regexes go all the way back to ed, and i think TECO had them to
<ziyadb> How can I make this work? Find.find('temp_repos/#{@repo.directory}')
shredding has quit [Quit: shredding]
craigp has quit [Remote host closed the connection]
<havenwood> ziyadb: double quotes
phutchins has joined #ruby
tunaCanBruh has joined #ruby
<ziyadb> havenwood: and here I was, saving my charity points with you for something more complex..
MatthewsFace has joined #ruby
<ziyadb> havenwood: from now on, you shall not reply unless mentioned.
<havenwood> >> ['single quotes: #{2 + 2}', "double quotes: #{2 + 2}"]
<eval-in__> havenwood => ["single quotes: \#{2 + 2}", "double quotes: 4"] (https://eval.in/276008)
shredding has joined #ruby
i0n has joined #ruby
caveat- has joined #ruby
<ziyadb> havenwood: thank you.
<havenwood> de nada.
DEA7TH has quit [Ping timeout: 250 seconds]
<apeiros_> havenwood is a charity?
jimms has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ziyadb> havenwood: only a *tiny* piece left.
quimrstorres has quit [Remote host closed the connection]
zenith_ has quit [Ping timeout: 255 seconds]
totimkopf has joined #ruby
Jackneill has quit [Ping timeout: 245 seconds]
<havenwood> apeiros_: think of the children and donate now!
<ziyadb> https://gist.github.com/ziyadbasheer/71d6113c28bf0b99d137 Find.find("temp_repos/#{@repo.directory}") do |path| isn't doing the find in the repo.
<ziyadb> Which exists, and @repo.directory exists too.
craigp has joined #ruby
dc has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
aapole has joined #ruby
Moeh has joined #ruby
noop has quit [Ping timeout: 245 seconds]
zachrab has joined #ruby
shredding has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
triple_b has joined #ruby
nanoyak has quit [Remote host closed the connection]
nanoyak has joined #ruby
iwishiwerearobot has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
<Moeh> Hey, I have an interesting problem. Say I have a hash like this { "widget" => { "debug" => "on", "window" => { "title" => "Sample Konfabulator Widget", "name" => "main_window" } } } I need to write a script that gives me: an array of all the nodes that point to an actual value (e.g. ["debug", "title", "name"]), the values that they point to (e.g. ["on", "Sample Konfabulator Widget", "main_window"] and the path to this field (e.g. ["widget
<Moeh> Can someone give me a hand?
jgt has joined #ruby
yokel has joined #ruby
triple_b has quit [Client Quit]
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
dukejames has quit [Ping timeout: 272 seconds]
tier has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
zachrab has quit [Ping timeout: 244 seconds]
ponga has quit [Ping timeout: 245 seconds]
triple_b has joined #ruby
iwishiwerearobot has quit [Ping timeout: 245 seconds]
zenith_ has joined #ruby
chinaski has quit [Read error: No route to host]
scripore has joined #ruby
gsd has joined #ruby
* shevy borrows Moeh his hand for a moment
yokel has quit [Ping timeout: 245 seconds]
colli5ion has quit []
danjordan has joined #ruby
quimrstorres has joined #ruby
bronson has quit [Remote host closed the connection]
yokel has joined #ruby
caveat- has joined #ruby
<apeiros_> Moeh: meh, that's not an interesting problem.
Musashi007 has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thatslifeson has quit [Ping timeout: 244 seconds]
<Moeh> For me it is :) The first part I have already done, but I am struggling with the rest.
quimrstorres has quit [Remote host closed the connection]
<ziyadb> havenwood: BAM!
<ziyadb> And now it works :)
kenneth has joined #ruby
bronson has joined #ruby
Musashi007 has quit [Client Quit]
ghr has joined #ruby
tvw has quit []
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<deepu> havenwood: I'm still trying to figure this out.. new to Ruby ... the event data json it is trying to parse is similar to this http://sensuapp.org/docs/latest/event_data.. code is here .. http://pastie.org/private/x6hknqyi5uw969yk95jya
Xiti has quit [Quit: Xiti]
<deepu> havenwood: not sure why line 227 would be nil
quimrstorres has joined #ruby
dc has joined #ruby
tunaCanBruh has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
yokel has quit [Ping timeout: 256 seconds]
sent1nel has joined #ruby
yokel has joined #ruby
r3dking has quit [Quit: Konversation terminated!]
giuseppesolinas has joined #ruby
werelivinginthef has joined #ruby
quimrstorres has quit [Remote host closed the connection]
cphrmky has joined #ruby
uptownhr has quit [Quit: uptownhr]
quimrstorres has joined #ruby
vvivv has quit [Ping timeout: 240 seconds]
safetypin has joined #ruby
OrbitalKitten has quit [Read error: Connection reset by peer]
jgt has quit [Ping timeout: 245 seconds]
OrbitalKitten has joined #ruby
<safetypin> if i’m trying to restore my mac to a sort of ‘pristine’ situation, before i installed a newer version of ruby than the default yosemite, does anyone know if I can/should remove the /Library/Ruby folder?
tunaCanBruh has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
<safetypin> i guess not, since yosemite comes with ruby 2.0.0 and all the gems and stuff are listed under a 2.0.0 directory..
werelivinginthef has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby
yokel has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
caveat- has quit [Ping timeout: 245 seconds]
safetypin has left #ruby [#ruby]
lidaaa has joined #ruby
nolic has joined #ruby
kenneth has joined #ruby
cphrmky has quit [Quit: Textual IRC Client: www.textualapp.com]
yokel has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
skj3gg has quit [Quit: ZZZzzz…]
longfeet has quit [Ping timeout: 255 seconds]
dspangen1erg has quit [Ping timeout: 256 seconds]
kostitas has joined #ruby
sinkensabe has quit [Ping timeout: 245 seconds]
malkomalko has quit []
ta has quit [Ping timeout: 252 seconds]
centrx has joined #ruby
<shevy> is there a quick way to turn an array into a .cvs file? let me show you the array
shredding has joined #ruby
<wasamasa> *csv
jgt has joined #ruby
last_staff has quit [Quit: last_staff]
cpt_yossarian has quit [Remote host closed the connection]
<shevy> ok now that was easy :-)
freerobby has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
Axy has quit [Read error: Connection reset by peer]
vvivv has joined #ruby
<apeiros_> shevy: the CSV stdlib
alex88 has joined #ruby
yokel has quit [Read error: Connection reset by peer]
yokel has joined #ruby
skj3gg has joined #ruby
quimrstorres has quit [Remote host closed the connection]
x1337807x has joined #ruby
DrShoggoth has joined #ruby
mjhoy has quit [Ping timeout: 245 seconds]
ta has joined #ruby
frem has joined #ruby
cpt_yossarian has joined #ruby
quimrstorres has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Stoge88 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
allcentury has joined #ruby
gfawcettpq1 has joined #ruby
shum has joined #ruby
uptownhr has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Landshark753 has joined #ruby
Landshark753 has quit [Max SendQ exceeded]
shum has quit [Client Quit]
Landshark753 has joined #ruby
shum has joined #ruby
duncannz has joined #ruby
Aova has quit [Read error: Connection reset by peer]
YamakasY_ is now known as YamakasY
zenith_ has quit [Ping timeout: 264 seconds]
quimrstorres has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
<Moeh> Okay guys, I am almost there. The only missing part is: given a field name in a hash, return the path to get there (e.g. ["widget", "debug"]). Any help is highly appreciated.
caveat- has joined #ruby
duncannz has quit [Max SendQ exceeded]
<centrx> is this a homework
ta has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby
duncannz has joined #ruby
sent1nel has quit [Remote host closed the connection]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Moeh> No, a private project that I am working on.
Xiti has joined #ruby
einarj has joined #ruby
chrishough has joined #ruby
<centrx> Moeh, What do you mean by the "path to get there"
<centrx> is this a nested hash?
<Moeh> Yes
<Moeh> Like: { "widget" => { "debug" => "on", "window" => { "title" => "Sample Konfabulator Widget", "name" => "main_window" } } }
<centrx> and the field name is the value?
<Moeh> No, the key
<Moeh> or value, doesn't really matter
freerobby has quit [Quit: Leaving.]
reinaldob has joined #ruby
<centrx> so sometimes it might be 'widget', sometimes it might be 'title'?
<centrx> are these unique?
InfraRuby has joined #ruby
paulfm_ has quit [Quit: Zzzzz...]
sent1nel has joined #ruby
<centrx> that is, if you search for 'title', in this case the answer would be [widget, window] ?
<Moeh> Yes, they are unique. So for this hash the input would be "title" and the output should be ["widget", "window", "title"]
Aova has joined #ruby
<centrx> hm
<Moeh> Yes, or [widget, window]
einarj has quit [Read error: Connection reset by peer]
<InfraRuby> hi, i'm trying to use bundler's resolver directly, without creating a Gemfile
<centrx> recursion
ptrrr has quit [Quit: ptrrr]
einarj has joined #ruby
chrishough has quit [Client Quit]
<centrx> Moeh, Does this have to be highly performant? There might be a good algorithm for it as a tree
<Moeh> No, performance is not really an issue here.
claw_ has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
scripore has joined #ruby
startupality has joined #ruby
reinaldob has quit [Ping timeout: 252 seconds]
tier has quit [Remote host closed the connection]
sambao21 has joined #ruby
<Moeh> So basically it would be a recursive function that goes through all k,v pairs until k == "title", then it would work its way "up" from there, right? The problem for me is the way up.
Weatherlight is now known as Weatherlight2
Weatherlight2 is now known as Weatherlight3
claw_ has joined #ruby
freerobby has joined #ruby
zachrab has joined #ruby
vvivv has quit [Quit: Leaving]
gfawcettpq1 has quit [Quit: Leaving.]
djbkd has joined #ruby
<centrx> yeah it's a tree search algorithm that retains its path
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kostitas has quit [Quit: Leaving]
plashchynski has quit [Quit: plashchynski]
<centrx> my wisdom is failing me at the moment
tmtwd has quit [Remote host closed the connection]
Zarthus has quit [Ping timeout: 245 seconds]
plashchynski has joined #ruby
<apeiros_> no need to work your way back up
<apeiros_> just keep the stack
<apeiros_> push as you go down, pop as you go up again
Adran has quit [Quit: Este é o fim.]
sambao21 has quit [Ping timeout: 245 seconds]
<apeiros_> for quick stack unwind you can either use procs for the recursion + return for unwinding, or use an outer method with catch and throw from the inner method
blahblah123 has joined #ruby
<apeiros_> where inner == recursing
<apeiros_> *recurring
SixiS has quit [Quit: SixiS]
craigp has quit [Remote host closed the connection]
Zarthus has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinanislekdemir has quit []
Adran has joined #ruby
gfawcettpq has quit [Ping timeout: 252 seconds]
vvivv has joined #ruby
wallerdev has joined #ruby
ernetas has joined #ruby
<ernetas> Hey guys.
<ernetas> Why would bundle update --verbose get stuck at "HTTP GET https://bundler.rubygems.org/api/v1/dependencies"?
ponga has joined #ruby
dc__ has joined #ruby
sent1nel has quit [Remote host closed the connection]
<ernetas> This only happens occasionally on Jenkins builds. I cannot replicate it myself.
aaas has quit [Quit: Going offline, see ya! (www.adiirc.com)]
dc has quit [Ping timeout: 250 seconds]
braincrash has quit [Ping timeout: 264 seconds]
startupality has quit [Quit: startupality]
caveat- has quit [Ping timeout: 245 seconds]
<InfraRuby> ernetas: proxy required?
shredding has quit [Quit: shredding]
ponga has quit [Ping timeout: 240 seconds]
hydrozen has quit [Quit: Textual IRC Client: www.textualapp.com]
<ernetas> InfraRuby: no proxy involved.
Pupeno has quit [Read error: Connection reset by peer]
cjim has quit [Quit: (null)]
<d10n-work> What's the best way to start this program? Using a global variable feels messy. http://pastie.org/9881914
patrick99e99 has quit [Ping timeout: 245 seconds]
Pupeno has joined #ruby
alex88 has quit []
craigp has joined #ruby
caveat- has joined #ruby
cjim has joined #ruby
vvivv has quit [Remote host closed the connection]
<eam> d10n-work: why not put it inside NavalFate?
Hijiri has quit [Ping timeout: 245 seconds]
<eam> that's the only place it's used, right?
cjim has quit [Client Quit]
cjim has joined #ruby
micah has joined #ruby
braincrash has joined #ruby
<weaksauce> d10n-work make it a constant inside the class?
<micah> i want to use http://ruby-doc.org/stdlib-1.9.2/libdoc/securerandom/rdoc/SecureRandom.html -- but what do I need to 'require' so I can?
jimms has quit [Remote host closed the connection]
<apeiros_> micah: require 'securerandom'
<Moeh> apeiros_: so far I have http://pastie.org/9881936 - but it is missing the pop part
jrichocean has left #ruby [#ruby]
kobain has quit [Ping timeout: 252 seconds]
<micah> apeiros_: thanks!
<apeiros_> Moeh: your method is not recurring?
x1337807x has joined #ruby
<shevy> my method is curry
fantazo has quit [Quit: Verlassend]
ghr has joined #ruby
sambao21 has joined #ruby
i0n_ has joined #ruby
longfeet has joined #ruby
<Moeh> apeiros_: True, stupid. Now I have http://pastie.org/9881952 but still not doing exactly what I am looking for.. :)
axl_ has quit [Quit: axl_]
duncannz has quit [Ping timeout: 252 seconds]
i0n has quit [Ping timeout: 245 seconds]
i0n_ is now known as i0n
ghr has quit [Ping timeout: 264 seconds]
caveat- has quit [Ping timeout: 245 seconds]
nykac has left #ruby [#ruby]
anonymous_mk has joined #ruby
<apeiros_> (I know, without push/pop)
werelivinginthef has joined #ruby
blackmesa has joined #ruby
sent1nel has joined #ruby
nanoyak has joined #ruby
<d10n-work> weaksauce: eam: I don't want to indent the DOCOPT string to match the class's indentation and I don't know of a Python-like dedent function
blackoperat has quit [Ping timeout: 246 seconds]
Hijiri has joined #ruby
caveat- has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
aclearman037 has quit [Quit: I'm out!]
decoponio has joined #ruby
tercenya has joined #ruby
<Moeh> apeiros_: wow, this is really great. Thanks a lot! The push / pop is only necessary for the case where the name of the last node is not unique, correct? So for instance if I search for "name" and there are actually two paths to get to it.
sent1nel has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
sent1nel has joined #ruby
Xeago has quit [Remote host closed the connection]
werelivinginthef has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
<d10n-work> I don't like how using "class NavalFate < Sinatra::Base; end; NavalFate::Doc = [...]" would separate the NavalFate's get handlers from the part of the class that first has Sinatra::Base
yfeldblu_ has joined #ruby
djbkd has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 264 seconds]
anonymous_mk has left #ruby [#ruby]
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
sent1nel has quit [Client Quit]
allcentury has quit [Ping timeout: 245 seconds]
sent1nel has joined #ruby
werelivinginthef has joined #ruby
djbkd has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
caveat- has quit [Ping timeout: 245 seconds]
allcentury has joined #ruby
kobain has joined #ruby
deol has joined #ruby
sinkensabe has quit [Ping timeout: 256 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uptownhr has quit [Quit: uptownhr]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
djbkd has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
longfeet has quit [Read error: Connection reset by peer]
longfeet has joined #ruby
djbkd has joined #ruby
triple_b has quit [Ping timeout: 264 seconds]
jobewan has quit [Quit: Leaving]
lioninawhat has joined #ruby
freerobby has quit [Quit: Leaving.]
Macaveli has joined #ruby
<weaksauce> d10n-work you could add it as part of a module and include that possibly?
djbkd has quit [Remote host closed the connection]
<jgt> is there a better way of writing `if model.main_address.nil? then "" else model.main_address.to_paragraph end`?
caveat- has joined #ruby
<jgt> now that I think of it, I think it violates tell don’t ask
<centrx> jgt, if this is a method, put a cut-off return at the top: return "" if model.main_address.nil?
ta has joined #ruby
<jgt> centrx: yeah, that’d also work
<centrx> but yeah the context is important for how to do what you're doing best
cjim has quit [Quit: (null)]
<Moeh> apeiros_: Sorry, only one more question. I tried to adjust your code so that it works with hashs that contain arrays like here: http://pastie.org/9881993 This does not work. Would you mind telling me why?
F__i__L has joined #ruby
<F__i__L> do we have any secure_compare method in plain ruby ?
plashchynski has quit [Quit: plashchynski]
<Senjai> F__i__L: I don't think so
<micah> can someone tell me why this creates a hex string that isn't the length that I pass (or 16 if I pass no length)... for example if I pass length=2, i get a hex string of 4
<centrx> ah nice use of throw-catch
<F__i__L> :'(
<Senjai> F__i__L: ActiveSupport I think has it, or Rack.
ta has quit [Ping timeout: 252 seconds]
Aova has quit [Read error: Connection reset by peer]
Pupeno has quit [Read error: Connection reset by peer]
plashchynski has joined #ruby
danzilio has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Pupeno has joined #ruby
cjim has joined #ruby
<micah> The length of the result string is twice of n
<micah> hah
codecop has quit [Remote host closed the connection]
blahblah123 has quit [Quit: WeeChat 1.0.1]
InfraRuby has quit [Remote host closed the connection]
josephndenton has joined #ruby
djbkd has joined #ruby
uptownhr has joined #ruby
pkrzywicki has quit [Ping timeout: 240 seconds]
athan has quit [Read error: Connection reset by peer]
Aova has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
DadoCe has joined #ruby
tjbiddle has joined #ruby
i0n has quit [Quit: snooze]
silkfox has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
lioninawhat has quit [Read error: Connection reset by peer]
brb3 has quit [Quit: <.<]
iwishiwerearobot has joined #ruby
lioninawhat has joined #ruby
kirun has quit [Quit: Client exiting]
micah has left #ruby [#ruby]
caveat- has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
Troy^ has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
ta has joined #ruby
chrishough has joined #ruby
iwishiwerearobot has quit [Ping timeout: 240 seconds]
dc has joined #ruby
phoo1234567 has quit [Quit: Leaving]
cjim has quit [Quit: (null)]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dc__ has quit [Ping timeout: 255 seconds]
aagdbl has quit [Quit: Connection closed for inactivity]
allcentury has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
konsolebox has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 264 seconds]
cjim has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
caveat- has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
tier has joined #ruby
quimrstorres has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
sent1nel has quit [Remote host closed the connection]
enterprisedc has quit [Quit: enterprisedc]
ponga has quit [Ping timeout: 252 seconds]
deol has quit [Ping timeout: 264 seconds]
thiagovsk has quit [Quit: Connection closed for inactivity]
enterprisedc has joined #ruby
plashchynski has quit [Quit: plashchynski]
m8 has quit [Quit: Sto andando via]
ta_ has joined #ruby
wottam has joined #ruby
djbkd has joined #ruby
DadoCe has quit []
quimrstorres has quit [Ping timeout: 246 seconds]
caveat- has quit [Ping timeout: 245 seconds]
sent1nel has joined #ruby
kalusn has quit [Remote host closed the connection]
banister has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackoperat has joined #ruby
bMalum has quit [Quit: bMalum]
nateberkopec has quit [Quit: Leaving...]
wldcordeiro has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
zenspider_ is now known as zenspider
chipotle has quit [Quit: cheerio]
ta has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 245 seconds]
caveat- has joined #ruby
caveat- has quit [Client Quit]
ghr has joined #ruby
<zenspider> centrx: avoid nil checks
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DadoCe has joined #ruby
athan has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> ok
Pharaoh2_ has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
<havenwood> miah: if `v` is an Array and you do a #recurring_search of that Array, `data.each do |k, v|` and subsequent code meant for a Hash doesn't work.
ghr has quit [Ping timeout: 256 seconds]
yfeldblu_ has quit [Remote host closed the connection]
<zenspider> havenwood: micah, maybe?
<havenwood> zenspider: oops, indeed
shime has joined #ruby
<havenwood> miah: sorry bout that, mt
Pharaoh2 has quit [Ping timeout: 252 seconds]
ghostmoth has joined #ruby
<havenwood> micah left hence my autocorrect fail
<havenwood> autocomplete*
giuseppesolinas has quit [Quit: Leaving]
ta has joined #ruby
athan has quit [Read error: Connection reset by peer]
triple_b has joined #ruby
kalusn has joined #ruby
i0n has joined #ruby
gattie has quit [Quit: Leaving...]
chinmay_dd has quit [Quit: Connection closed for inactivity]
<miah> <3
plashchynski has joined #ruby
plashchynski has quit [Client Quit]
sent1nel has quit [Ping timeout: 245 seconds]
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
sinkensabe has joined #ruby
quazimodo has joined #ruby
x1337807x has joined #ruby
ta has quit [Ping timeout: 252 seconds]
cjim has quit [Quit: (null)]
tokik has joined #ruby
sent1nel has joined #ruby
pdoherty has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has quit [Ping timeout: 240 seconds]
ziyadb has quit [Quit: Connection closed for inactivity]
triple_b has joined #ruby
nfk has quit [Quit: yawn]
rbennacer has quit []
postmodern has quit [Quit: Leaving]
Pupeno_ has joined #ruby
klmlfl has quit [Remote host closed the connection]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 244 seconds]
ta has joined #ruby
kalusn has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
jlast_ has quit [Read error: Connection reset by peer]
jlast has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
klmlfl_ has joined #ruby
c355E3B has joined #ruby
djbkd has joined #ruby
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
werelivinginthef has quit [Remote host closed the connection]
<havenwood> Moeh: ^ I don't like the duplicate Hash/Array code, but you get the point I hope.
riotjone_ has joined #ruby
DadoCe has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 252 seconds]
DadoCe has joined #ruby
Hijiri has joined #ruby
fryguy9 has quit [Quit: Leaving.]
riotjones has quit [Ping timeout: 245 seconds]
<havenwood> Case statements could be DRYed up. Two methods for the initial search, one for a Hash and one for an Array. Etcetera.
* havenwood goes in search of coffee.
testcore has joined #ruby
jlast has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
nanoyak has joined #ruby
Landshark753 has joined #ruby
Landshark753 has quit [Max SendQ exceeded]
DadoCe has quit [Ping timeout: 245 seconds]
Aova has joined #ruby
Landshark753 has joined #ruby
athan has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reinaldob has joined #ruby
mbrumbelow has quit [Quit: mbrumbelow]
jlast has quit [Ping timeout: 244 seconds]
DadoCe has joined #ruby
mbrumbelow has joined #ruby
puppetmonkey has joined #ruby
lmickh has quit [Remote host closed the connection]
Sid05 has joined #ruby
athan has quit [Ping timeout: 245 seconds]
marchtemp has joined #ruby
tier has quit [Remote host closed the connection]
blackoperat has quit [Ping timeout: 245 seconds]
<marchtemp> hey guys, how do I add a gem to Gemfile with a script?
reinaldob has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
<Senjai> marchtemp: echo "gem 'mygem'" >> Gemfile ? :P
seriedivergente has joined #ruby
sent1nel has quit [Remote host closed the connection]
<marchtemp> Senjai: I know, but I'd prefer a cleaner way
dc has quit [Remote host closed the connection]
pontiki has quit [Quit: brb]
<Senjai> Thor in general is good for that kind of stuff
<marchtemp> thanks, I'll check it out
<Senjai> marchtemp: http://guides.rubyonrails.org/generators.html << Uses thor, so is a gentle introduction
pontiki has joined #ruby
tunaCanBruh has quit [Ping timeout: 264 seconds]
Sid05 has quit [Client Quit]
SixiS has joined #ruby
adriancb has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
triple_b has joined #ruby
DadoCe has quit [Remote host closed the connection]
triple_b has quit [Read error: Connection reset by peer]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
c355E3B has quit [Quit: Leaving]
DadoCe has joined #ruby
ponga has joined #ruby
atomical has joined #ruby
kaspertidemann has quit []
hiyosi has joined #ruby
Sid05 has joined #ruby
knut has quit [Ping timeout: 245 seconds]
jerematic has quit [Remote host closed the connection]
juanpablo____ has quit [Quit: (null)]
DadoCe has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: zzz]
juanpablo____ has joined #ruby
ponga has quit [Ping timeout: 265 seconds]
ta has joined #ruby
klmlfl_ has quit [Remote host closed the connection]
pontiki has quit [Quit: bbl, time for supper]
scripore has joined #ruby
juanpablo____ has quit [Ping timeout: 245 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
aaas has joined #ruby
ta has quit [Ping timeout: 252 seconds]
shum has quit [Quit: WeeChat 1.1.1]
neoxquick has quit [Ping timeout: 264 seconds]
<deepu> has anyone use oj gem?
zachrab has quit [Remote host closed the connection]
shum has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
klmlfl has joined #ruby
ThePendulum has joined #ruby
ThePendulum has left #ruby [#ruby]
Hijiri has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
<wallerdev> whats it do
spyderman4g63 has quit [Ping timeout: 250 seconds]
postmodern has joined #ruby
knut has joined #ruby
claptor has joined #ruby
<deepu> wallerdev: load json files
deric_skibotn has quit [Ping timeout: 245 seconds]
<Senjai> deepu: !use
<helpa> deepu: Don't ask "does anyone use <thing>?". It's better to just state your problem and if anyone has used <thing> they will most likely answer.
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristian-aalborg has joined #ruby
Hijiri has joined #ruby
<kristian-aalborg> cheers
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kristian-aalborg> /usr/lib64/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jekyll_lunr_js_search/version (LoadError)
<kristian-aalborg> what does that mean?
ghr has quit [Ping timeout: 245 seconds]
<wallerdev> it means you're missing jekyll_lunr_js_search
zachrab has joined #ruby
<wallerdev> it can't load it because it can't find it
atomical has joined #ruby
Fire-Dragon-DoL has joined #ruby
JaredCE has quit [Quit: Page closed]
pkrzywicki has joined #ruby