apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
Parker0 has joined #ruby
<benlieb> is that a ruby 2 thing?
<MrZYX> 1.9
<benzrf> it is a Stabby Lambda
jamesaanderson has joined #ruby
<havenwood> stabby stab stab
<benzrf> ha ruby is only up to 2.0
<benzrf> PYTHON is up to 3.3 by now
<benzrf> 3.3 > 2.0 QED
volty has quit [Client Quit]
w4pm has quit [Ping timeout: 264 seconds]
jamesaanderson has quit [Max SendQ exceeded]
<platzhirsch> that's another nightmare with Python
<benzrf> that one i agree on
<benzrf> -.-
<benlieb> is it the same as using 'lambda' ?
<benzrf> benlieb: p much
<benlieb> or is it different subtly?
<platzhirsch> unfortunately
mary5030 has joined #ruby
<MrZYX> benlieb: yes, the same
Megtastique has quit []
cflat has quit [Ping timeout: 245 seconds]
<platzhirsch> benzrf: I just miss some very nice subtleties, it's very easy to apply some transformations to your code in Ruby, in Python it's a lot more verbose. What I like about Python, the code is more homogeneous. Ruby is so heterogeneous you can write fucked up code in so many ways
phipes has quit [Remote host closed the connection]
djdarkbeat has joined #ruby
RoryHughes has quit []
ffranz has quit [Quit: Leaving]
<benzrf> yeah
RoryHughes has joined #ruby
<benzrf> the thing about python for me is that it just doesn't support FP
<benzrf> and it's missing some nice core stuff
<platzhirsch> I just have decided, it's either Python or Ruby and since I am in love with Ruby, I think I can spent some hate on Python :P
endash has quit [Quit: endash]
<benzrf> i like maybe 70% of things about python more than ruby
<benzrf> but ruby's functionalness is so nice that i just can't not have it
<havenwood> benzrf: pip... harumph! gem is much nicer :)
<platzhirsch> havenwood: Why?
<bnagy> o_0
<benzrf> although lately ive been getting really freaking pissed off at how namespaces and imports work
<platzhirsch> How are they different ^^
<benzrf> like
<benzrf> wow
<bnagy> havenwood: also, ruby's other main strength - speed!
<benzrf> it's quite possibly the worst system i've ever heard of
<benzrf> damn
stkowski has joined #ruby
tylersmith has joined #ruby
duggiefresh has quit [Remote host closed the connection]
<benzrf> I mean
<havenwood> platzhirsch: gem has `gem update` etc to update all gems, pip has a several year old ticket requesting the feature with pages of +1s
<havenwood> but nothing happens...
<benzrf> I can type "require 'foo'\nrequire 'bar'" and have bar overwrite foo
<platzhirsch> havenwood: ah I see
<benzrf> that's god damn terrible
aroop has quit [Quit: Linkinus - http://linkinus.com]
<benzrf> and not even CLOSE to the worst
zastern is now known as pizza
pizza is now known as zastern
<platzhirsch> How's Ruby faster than Python. I thought Python is faster
nadirvardar has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<havenwood> platzhirsch: and generally, gem is getting better and better - cutting ground on new territory, maintainers are responsive - just a general attitude of doing things rather than waiting ad infinitum and then following someone else's lead
<bnagy> platzhirsch: I may not have been being serious
nwertman_ has joined #ruby
<platzhirsch> bnagy: I like that
<DouweM> benzrf: how else would you want it to work than bar overriding foo?
<platzhirsch> this can escalate quickly
<platzhirsch> want to join me and repeat that in #python?
<platzhirsch> And then we all join in battle royale
RoryHughes has quit [Ping timeout: 264 seconds]
<benzrf> DouweM: python style pls
<DouweM> benzrf: I have no idea what that is :)
<benzrf> import foo; import bar; foo.baz(); bar.baz()
<benzrf> python's import system is super awesome
zastern has quit [Quit: WeeChat 0.4.1]
<DouweM> benzrf: ah, right. Ruby doesn't really have an import system like that, just requiring of files
<benzrf> basically, it execs the file you import in its own namespace, then it collects up the top-level vars in that namespace when the file is done and sticks them into an object
zastern has joined #ruby
nwertman has quit [Ping timeout: 252 seconds]
kcombs has joined #ruby
<MrZYX> I always end up making cycles it can't resolve :P
<DouweM> how would you extend existing objects / monkeypatch in python?
<DouweM> s/objects/classes
<benzrf> DouweM: regular python objects can handle that
jibi has quit [Quit: .]
<benzrf> but the builtins cant
<platzhirsch> Is there an alternative to .send if the argument implements to_proc?
<benzrf> which can be good or bad
<DouweM> so how would you import a set of extensions?
<DouweM> seeing as they aren't namespaced but override another import
<benzrf> the other module could import the same one you're importing and modify it
<benzrf> the same object is held onto by the system
<benzrf> if two files import foo, they get the same foo obj
<DouweM> so import foo; import bar; could still have bar override foo?
<benzrf> in theory, but you don't monkeypatch in python
<benzrf> it's bad practice
<DouweM> right
b00stfr3ak has quit [Ping timeout: 250 seconds]
<benzrf> you'd have to very manually override
preller has joined #ruby
<benzrf> whereas it can happen entirely by accident in ruby
<DouweM> I wouldn't say "entirely by accident", but yeah, it's very easy in Ruby
<DouweM> which I think is one of its strenghts
<benzrf> >_>
<DouweM> as long as you know what you're doing, it's very powerful
<benzrf> DouweM: did you see the parsing thing I made
<DouweM> did not
<benzrf> its kinda neat
<benzrf> i based it off of parsec
terrellt has joined #ruby
<benzrf> ^simple sexpr parser
goleldar has joined #ruby
saarinen has joined #ruby
kaiza has joined #ruby
s2013 has quit [Ping timeout: 240 seconds]
tbrock has quit [Quit: Computer has gone to sleep.]
<DouweM> oh that's pretty cool!
<benzrf> =]
<benzrf> it implements parser failure using exceptions tho
<benzrf> so...
<benzrf> ((((((((((((((((((((((((((((((((((((((((((((((((((((95))))))))))))))))))))))))))))))))))))))))))))))))))))
tbrock has joined #ruby
<benzrf> ^that takes 6 seconds to parse 100 times
<benzrf> also it recurses for recursive structures, so you could probly get stack overflows
<benzrf> want the src?
<DouweM> sure :P
<benzrf> it's a tad ugly <_>
<platzhirsch> /clear
<benzrf> platzhirsch: /c is faster
<platzhirsch> Of course C is faster
<bnagy> you can rewrite any recursion with an explicit stack
<platzhirsch> "Unknown command" benzrf
<benzrf> bnagy: pfft
lmickh has quit [Quit: lmickh]
<bnagy> if you're worried about stack explodeys, I've had to do that for some deep tree parsers
<benzrf> platzhirsch: oh not irssi i guess
<platzhirsch> I am on Pidgin
<platzhirsch> The client of the future, aha
bitcycle has quit [Quit: leaving]
Guest5266 is now known as dreamchaser
dreamchaser has quit [Changing host]
dreamchaser has joined #ruby
sec^nd has quit [Ping timeout: 240 seconds]
zcreative has joined #ruby
MrZYX is now known as MrZYX|off
<benzrf> oh i left a few debug lines in
<benzrf> w/e
iliketur_ has quit [Quit: zzzzz…..]
timonv has joined #ruby
klaut has quit [Remote host closed the connection]
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
Shidash has joined #ruby
Bira has quit []
cescalante is now known as ce_afk
davy_ has joined #ruby
saarinen has quit [Client Quit]
sec^nd has joined #ruby
<platzhirsch> Is there an alternative to #send if the argument implements to_proc?
d2dchat has joined #ruby
tbrock has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 252 seconds]
Feuerbach has left #ruby ["bye"]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
drumusician has joined #ruby
akonny has joined #ruby
coca_rails has quit [Remote host closed the connection]
tjbiddle has joined #ruby
blergha has joined #ruby
ce_afk is now known as cescalante
funburn has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
tylersmith has quit [Ping timeout: 260 seconds]
Jdubs has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
Konst has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
havenwood has joined #ruby
Beoran_ has joined #ruby
drumusician has quit [Ping timeout: 240 seconds]
havenwood has quit [Read error: Connection reset by peer]
Beoran__ has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
benlieb has quit [Quit: benlieb]
thirdeye has quit [Remote host closed the connection]
cmedeiros has joined #ruby
kaiza has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
veduardo has joined #ruby
aspires_ has quit []
Hanmac1 has joined #ruby
juarlex has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
kaiza has joined #ruby
jonr22 has joined #ruby
BubbleSmugle has joined #ruby
zz_N00D is now known as CripperZ
CripperZ is now known as N00D
fgo has joined #ruby
mikepack has quit [Remote host closed the connection]
flubba has joined #ruby
goleldar_ has joined #ruby
ghatak has quit [Ping timeout: 264 seconds]
Konst has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
goleldar has quit [Read error: Connection reset by peer]
CaptainJet has quit []
duggiefresh has joined #ruby
robustus has joined #ruby
falood has joined #ruby
bricker has quit [Quit: leaving]
Shidash has quit [Ping timeout: 245 seconds]
jamesaanderson has joined #ruby
iliketur_ has joined #ruby
robustus|Off has quit [Ping timeout: 245 seconds]
d2dchat has quit [Remote host closed the connection]
predator217 has joined #ruby
Megtastique has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
predator117 has quit [Ping timeout: 250 seconds]
falood has quit [Ping timeout: 240 seconds]
brain_shim has quit [Read error: Connection reset by peer]
brain_shim has joined #ruby
jkhwan has quit [Remote host closed the connection]
coldmethod1 has quit [Remote host closed the connection]
bryanjswift has joined #ruby
cameronbarton has joined #ruby
Jdubs has joined #ruby
ambushsabre has joined #ruby
mikepack has joined #ruby
jkhwan has joined #ruby
akonny has quit [Quit: akonny]
Jetchisel has joined #ruby
bryanjswift has quit [Client Quit]
tbrock has joined #ruby
lewix has joined #ruby
ambushsabre has quit [Client Quit]
jpablobr has joined #ruby
Mage_Dude has quit [Ping timeout: 265 seconds]
Konst has quit [Ping timeout: 248 seconds]
veduardo has left #ruby [#ruby]
duggiefresh has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
carif has joined #ruby
carif has quit [Read error: Operation timed out]
BubbleSmugle has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
subbyyy has quit [Read error: Operation timed out]
carif has joined #ruby
fgo has quit [Remote host closed the connection]
nettoweb has quit [Quit: nettoweb]
kofno has quit [Ping timeout: 240 seconds]
duggiefresh has joined #ruby
duggiefresh has quit [Client Quit]
cbetta_afk is now known as cbetta
nwertman_ has quit [Ping timeout: 240 seconds]
stormbytes has joined #ruby
deib97 has joined #ruby
crapple has quit [Ping timeout: 272 seconds]
Shidash has joined #ruby
tbrock has quit [Read error: Connection reset by peer]
jle` has joined #ruby
tonni_ has quit [Quit: Leaving...]
crapple has joined #ruby
cameronbarton has quit [Quit: cameronbarton]
kofno has joined #ruby
Matriks has quit [Remote host closed the connection]
pyon has joined #ruby
Matriks has joined #ruby
davy_ has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
Shidash has quit [Quit: Leaving.]
Megtastique has quit []
zeropx has quit [Ping timeout: 240 seconds]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Matriks has quit [Ping timeout: 248 seconds]
snath has quit [Ping timeout: 240 seconds]
eka has quit [Quit: Computer has gone to sleep.]
spyderma_ has joined #ruby
Yarou has joined #ruby
Yarou has joined #ruby
Yarou has quit [Changing host]
benzrf has left #ruby [#ruby]
spyderman4g63 has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 272 seconds]
reach has joined #ruby
wc- has joined #ruby
g0bl1n has quit [Ping timeout: 264 seconds]
funburn has joined #ruby
preller has quit [Read error: Operation timed out]
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
ewnd9 has joined #ruby
cameronbarton has joined #ruby
shedd has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
funburn has quit [Client Quit]
cmedeiros has quit [Ping timeout: 252 seconds]
DrShoggoth has quit [Remote host closed the connection]
lyanchih has joined #ruby
cads has joined #ruby
dseitz has joined #ruby
cads has quit [Read error: Connection reset by peer]
cads has joined #ruby
preller has joined #ruby
subbyyy has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
echevemaster has quit [Quit: Leaving]
mmcdaris has joined #ruby
cameronbarton has quit [Quit: cameronbarton]
kaiza has quit [Read error: Connection reset by peer]
tjbiddle has quit [Quit: tjbiddle]
subbyyy has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 260 seconds]
Jdubs has quit [Remote host closed the connection]
Jdubs has joined #ruby
stkowski has quit [Quit: stkowski]
zeropx has joined #ruby
carif has quit [Quit: Ex-Chat]
Jdubs has quit [Remote host closed the connection]
iliketur_ has quit [Read error: Connection reset by peer]
mikepack_ has joined #ruby
mr_snowf1ake has joined #ruby
Konst has joined #ruby
flubba_ has joined #ruby
Xiti has joined #ruby
randomnick_ has quit [Remote host closed the connection]
fgo has joined #ruby
mosscollum has joined #ruby
shime has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
mikepack_ has quit [Ping timeout: 248 seconds]
flubba has quit [Ping timeout: 240 seconds]
s8p3 has quit [Ping timeout: 265 seconds]
cameronbarton has joined #ruby
preller has quit [Read error: Operation timed out]
rjhunter has joined #ruby
kaiza has joined #ruby
DrShoggoth has joined #ruby
jacobsmith has joined #ruby
tharindu has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
tylersmith has joined #ruby
timonv has quit [Ping timeout: 260 seconds]
kofno has quit [Ping timeout: 248 seconds]
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
shime has quit [Ping timeout: 245 seconds]
Hanmac has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
N00D is now known as zz_N00D
Hanmac1 has quit [Ping timeout: 252 seconds]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
reach has quit [Remote host closed the connection]
freggles has quit [Remote host closed the connection]
maroloccio has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
ewnd9 has quit [Ping timeout: 248 seconds]
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
Tamal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CpuID has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
culturel_ has joined #ruby
Aryasam has joined #ruby
DrShoggoth has joined #ruby
jkhwan has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
sheap has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
reach has joined #ruby
jkamenik has joined #ruby
jkamenik has quit [Client Quit]
havenwood has quit [Ping timeout: 264 seconds]
kofno has joined #ruby
jonathanwallace has quit [Ping timeout: 265 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
jkhwan has joined #ruby
cbetta is now known as cbetta_afk
sheap has left #ruby [#ruby]
jkamenik1 has quit [Ping timeout: 250 seconds]
mr_snowf1ake has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
kaiza has quit [Read error: Connection reset by peer]
DrShoggoth has quit [Max SendQ exceeded]
kaiza has joined #ruby
lewix has joined #ruby
nfk has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #ruby
clamstar has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lethjakman has quit [Ping timeout: 265 seconds]
DrShoggoth has quit [Max SendQ exceeded]
Tamal has joined #ruby
DrShoggoth has joined #ruby
brianpWins has quit [Ping timeout: 248 seconds]
mr_red1 has quit [Remote host closed the connection]
deib97 has quit [Ping timeout: 240 seconds]
deib97 has joined #ruby
lewix has quit [Remote host closed the connection]
deib97 has quit [Client Quit]
anomaly_ has quit [Read error: Connection reset by peer]
deib97 has joined #ruby
anomaly_ has joined #ruby
h0rrorvacui has quit [Remote host closed the connection]
jonr22 has joined #ruby
mr_red has joined #ruby
tkuchiki has quit [Remote host closed the connection]
cameronbarton has quit [Quit: cameronbarton]
goleldar_ has quit [Remote host closed the connection]
preller has quit [Ping timeout: 245 seconds]
ckinni has joined #ruby
iliketur_ has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
tharindu has quit [Quit: Leaving...]
yfeldblum has quit [Remote host closed the connection]
gverri has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
bogeyd6 has joined #ruby
primenum has joined #ruby
mwillhite has joined #ruby
<mwillhite> what are people using for factories these days?
<mwillhite> I used to like machinist but its looking pretty out of date
gverri has quit [Ping timeout: 240 seconds]
<ddd> factory girl is my choice. seems to be a more than fairly popular choice for others too
fgo has quit [Remote host closed the connection]
kostine has quit [Quit: kostine]
<reach> those are both titles of movies
<reach> so i was confused...
culturel_ has quit [Ping timeout: 240 seconds]
shedd has joined #ruby
kostine has joined #ruby
robbyoconnor has joined #ruby
tharindu has joined #ruby
culturel_ has joined #ruby
threesome has quit [Ping timeout: 264 seconds]
<mwillhite> thanks ddd…I haven't used it in several years, it was really buggy then but looking good now
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spike|spiegel has quit [Ping timeout: 246 seconds]
dpswireless has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dpswireless> I'm trying to find a better way to sort with passed in values, right now my query has .order("FIELD(id, #{sorted_group_ids_array.join ', '})")
<ddd> yeah i've not had problems with the latest couple versions. I let it ride for a bit because of bugs, but its come along quite nicely
krz has joined #ruby
wc- has quit [Quit: wc-]
shedd has quit [Ping timeout: 264 seconds]
<ddd> mwillhite, don't know if the version you used had build_stubbed() or not, but its quite nice
<mwillhite> cool thanks for the tip
<ddd> np
r0bby_ has joined #ruby
Jetchisel has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Ping timeout: 265 seconds]
w4pm has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
troyready has quit [Ping timeout: 246 seconds]
Jetchisel has joined #ruby
Hanmac1 has joined #ruby
Aryasam has quit [Quit: Bye]
Xaitec has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
tylersmith has quit [Read error: Connection reset by peer]
krz has quit [Quit: WeeChat 0.4.2]
tylersmith has joined #ruby
mgberlin has joined #ruby
jamesaanderson has quit [Client Quit]
w4pm has quit [Ping timeout: 240 seconds]
krz has joined #ruby
gja has joined #ruby
kofno has quit [Ping timeout: 265 seconds]
noop has joined #ruby
Parker0 has joined #ruby
kostine is now known as notradescauseshi
notradescauseshi is now known as ibtc[away]
phipes has joined #ruby
mattattaque has quit [Quit: WeeChat 0.4.1]
ibtc[away] is now known as ibtc[home]
tharindu has quit [Quit: Leaving...]
nari has joined #ruby
ibtc[home] is now known as ex-ibtc[home]
havenwood has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
Xaitec has quit [Remote host closed the connection]
ex-ibtc[home] is now known as downrsidown
tylersmith has joined #ruby
downrsidown is now known as mama
mama is now known as Guest76367
Guest76367 is now known as papa
papa is now known as kostine
jamesaanderson has joined #ruby
kostine has quit [Quit: kostine]
kostine has joined #ruby
r0bby_ has quit [Max SendQ exceeded]
clamstar has quit [Read error: Connection reset by peer]
r0bby_ has joined #ruby
fridim_ has joined #ruby
noop has quit [Ping timeout: 240 seconds]
fridim_ has quit [Max SendQ exceeded]
Konst has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
_Andres has joined #ruby
dpswireless has quit [Remote host closed the connection]
Chanshark has joined #ruby
blaskovicz has quit [Quit: Leaving.]
mwillhite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alvaro_o has quit [Quit: Ex-Chat]
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tharindu has joined #ruby
charliesome has joined #ruby
xk_id has joined #ruby
cameronbarton has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
araujo has quit [Quit: Leaving]
kofno has joined #ruby
atno has quit [Ping timeout: 248 seconds]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
nomenkun has joined #ruby
fridim_ has joined #ruby
mojjojo has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
snath has joined #ruby
browndawg has joined #ruby
Hanmac has joined #ruby
zz_jrhorn424 is now known as jrhorn424
r0bby_ has quit [Excess Flood]
Silent__ has quit [Read error: Connection reset by peer]
kofno has quit [Ping timeout: 265 seconds]
Hanmac1 has quit [Ping timeout: 240 seconds]
r0bby_ has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
sayan has joined #ruby
kaiza has quit [Read error: Connection reset by peer]
mojjojo has quit [Quit: mojjojo]
cameronbarton has quit [Quit: cameronbarton]
lethjakman has joined #ruby
tharindu has quit [Quit: Leaving...]
pyon has quit [Quit: usagi usagi... pyon pyon... brb]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
preller has quit [Ping timeout: 245 seconds]
pyon has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
benzrf has joined #ruby
<benzrf> sup
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
tesuji has quit [Ping timeout: 260 seconds]
<Chanshark> hi
tkuchiki has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
jkhwan has quit [Remote host closed the connection]
tylersmi_ has joined #ruby
radic has joined #ruby
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
tylersmith has quit [Read error: Connection reset by peer]
timonv has joined #ruby
r0bby_ has quit [Read error: No route to host]
Myk267 has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
clamstar has joined #ruby
jamesaanderson has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
jkhwan has joined #ruby
anomaly_ has joined #ruby
radic_ has quit [Ping timeout: 245 seconds]
flame_ has quit [Ping timeout: 265 seconds]
decoponio has joined #ruby
<benzrf> ok so it turns out
<benzrf> the simple parser lib i made for fun looks a hell of a lot like parslet
<benzrf> except way slower and generally shittier
flame_ has joined #ruby
Konst has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
fijimunkii has joined #ruby
nateberkopec has quit [Quit: Leaving...]
yfeldblum has joined #ruby
tharindu has joined #ruby
kaiza has joined #ruby
<benzrf> man i wish more things implemented to_proc
fgo has joined #ruby
siwica has joined #ruby
braincrash has quit [Quit: bye bye]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
weeems has joined #ruby
weems has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
digital-ghost has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.2]
dhruvasagar has joined #ruby
weeems is now known as weems
weems has quit [Changing host]
weems has joined #ruby
xcthulhu has joined #ruby
bedouin has quit [Ping timeout: 245 seconds]
aetaric has quit [Ping timeout: 245 seconds]
R33C3 has quit [Ping timeout: 245 seconds]
Guest49113 has quit [Ping timeout: 245 seconds]
mjmac has quit [Ping timeout: 245 seconds]
JaTochNietDan has quit [Ping timeout: 245 seconds]
bluehavana_ has quit [Ping timeout: 245 seconds]
joshwines has quit [Ping timeout: 245 seconds]
lele has quit [Ping timeout: 245 seconds]
Norrin has quit [Ping timeout: 245 seconds]
artmann_ has joined #ruby
mroth_ has joined #ruby
kapowaz_ has quit [Ping timeout: 245 seconds]
tobiasvl has quit [Ping timeout: 245 seconds]
derf- has quit [Ping timeout: 245 seconds]
ohcibi_ has joined #ruby
bluehavana_ has joined #ruby
kapowaz__ has joined #ruby
joshwines has joined #ruby
justinmcp_ has joined #ruby
taion809_ has joined #ruby
taion809 has quit [Ping timeout: 245 seconds]
caveat- has quit [Ping timeout: 245 seconds]
freakazoid0223 has quit [Ping timeout: 245 seconds]
mroth has quit [Ping timeout: 245 seconds]
Nanuq has quit [Ping timeout: 245 seconds]
TDJACR has quit [Ping timeout: 245 seconds]
antonishen has quit [Ping timeout: 245 seconds]
cschneid has quit [Ping timeout: 245 seconds]
Nightmare has quit [Ping timeout: 245 seconds]
cusco has quit [Ping timeout: 245 seconds]
grn has quit [Ping timeout: 245 seconds]
DylanJ has quit [Ping timeout: 245 seconds]
mroth_ is now known as mroth
duggiefresh has joined #ruby
bedouin has joined #ruby
JaTochNietDan has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
SegFaultAX has quit [Ping timeout: 245 seconds]
Hien has quit [Ping timeout: 245 seconds]
artmann has quit [Ping timeout: 245 seconds]
matrixise has quit [Ping timeout: 245 seconds]
ohcibi has quit [Ping timeout: 245 seconds]
justinmcp has quit [Ping timeout: 245 seconds]
jrhorn424 has quit [Ping timeout: 245 seconds]
duggiefresh is now known as Guest26034
R33C3 has joined #ruby
antonishen has joined #ruby
xk_id has quit [Quit:
tylersmi_ has quit [Ping timeout: 265 seconds]
psyl0n has quit [Remote host closed the connection]
dotemacs has joined #ruby
cusco has joined #ruby
matrixise has joined #ruby
Hien has joined #ruby
grn has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lele has joined #ruby
Rollabun_ has joined #ruby
aetaric has joined #ruby
mjmac has joined #ruby
tesuji has joined #ruby
Nightmare has joined #ruby
tesuji has quit [Excess Flood]
Rollabunna has quit [Read error: Connection reset by peer]
derf- has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
kaiza has quit [Read error: Connection reset by peer]
SegFaultAX has joined #ruby
kaiza has joined #ruby
tesuji has joined #ruby
lewix has joined #ruby
Norrin has joined #ruby
atno has joined #ruby
TDJACR has joined #ruby
rjhunter has quit [Remote host closed the connection]
okinomo has joined #ruby
cschneid has joined #ruby
jonr22 has joined #ruby
preller has quit [Ping timeout: 252 seconds]
freakazoid0223 has joined #ruby
Nilium has quit [Read error: Connection reset by peer]
DylanJ has joined #ruby
caveat- has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
jonr22 has quit [Ping timeout: 248 seconds]
nwertman has joined #ruby
benzrf has quit [Quit: leaving]
lyanchih has quit [Quit: lyanchih]
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
xk_id has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
braincra- has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
DrShoggoth has quit [Read error: Connection reset by peer]
Nilium has joined #ruby
OdNairy has joined #ruby
braincrash has quit [Ping timeout: 252 seconds]
havenwood has quit [Ping timeout: 265 seconds]
kaiza has quit [Read error: Connection reset by peer]
Nanuq has joined #ruby
_5kg has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
prc has quit [Quit: Leaving.]
r0bby_ has joined #ruby
gja has joined #ruby
mosscollum has quit [Quit: mosscollum]
xk_id has quit [Quit:
jamesaanderson has joined #ruby
reach has quit [Read error: Connection reset by peer]
spike|spiegel has joined #ruby
IceDragon has quit [Quit: Space~~~]
clamstar has quit [Read error: Connection reset by peer]
yacks has quit [Ping timeout: 245 seconds]
ambushsabre has joined #ruby
yacks has joined #ruby
preller has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
cameronbarton has joined #ruby
kaiza has joined #ruby
nateberkopec has joined #ruby
_5kg has joined #ruby
dpswireless has joined #ruby
werdnativ has quit [Ping timeout: 252 seconds]
preller has joined #ruby
xcthulhu has quit [Quit: xcthulhu]
nitish has joined #ruby
DanielRb has quit [Ping timeout: 250 seconds]
vlad_starkov has joined #ruby
ixti has quit [Ping timeout: 250 seconds]
jekt has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
jkhwan has quit [Remote host closed the connection]
dpswireless has quit [Remote host closed the connection]
iliketur_ has joined #ruby
s2013 has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
tharindu has quit [Quit: Leaving...]
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
krz has joined #ruby
mary5030 has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
mary5030 has joined #ruby
kcombs has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 260 seconds]
Beoran_ has quit [Ping timeout: 245 seconds]
colluphid has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
mary5030 has quit [Ping timeout: 264 seconds]
nwertman has quit [Ping timeout: 248 seconds]
mmcdaris has joined #ruby
freerobby has quit [Quit: Leaving.]
mgberlin has quit [Quit: mgberlin]
sailias has joined #ruby
ss_ has joined #ruby
sailias has quit [Client Quit]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
culturel_ has quit [Ping timeout: 260 seconds]
nari has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby
s2013 has quit [Remote host closed the connection]
culturel_ has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tamal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cameronbarton has quit [Quit: cameronbarton]
rjhunter has joined #ruby
kofno has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
anomaly_ has joined #ruby
havenwood has joined #ruby
jamesaanderson has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
rjhunter has quit [Ping timeout: 252 seconds]
kofno has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 252 seconds]
tylersmith has quit [Remote host closed the connection]
cflat has joined #ruby
timonv has joined #ruby
nitish has quit [Quit: Bye Bye...]
cflat has quit [Read error: Connection reset by peer]
cflat has joined #ruby
dhruvasagar has joined #ruby
mgberlin has joined #ruby
s2013 has joined #ruby
sickweezle has quit [Quit: leaving]
Hanmac has joined #ruby
wc- has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
tharindu has joined #ruby
crapple has quit [Ping timeout: 240 seconds]
crapple has joined #ruby
krz has quit [Read error: No route to host]
jpablobr has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
mary5030 has joined #ruby
krz has joined #ruby
mary5030 has quit [Remote host closed the connection]
colluphid has joined #ruby
Rollabun_ has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 245 seconds]
Deele has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
mary5030 has joined #ruby
Asher has quit [Quit: Leaving.]
jacobsmith has quit [Ping timeout: 264 seconds]
osvico has quit []
Asher has joined #ruby
kostine has quit [Remote host closed the connection]
lyanchih has joined #ruby
kitak has joined #ruby
kostine has joined #ruby
clamstar has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clamstar has quit [Client Quit]
Zespre has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
phipes has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
jonr22 has joined #ruby
Rollabunna has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sayan has quit [Ping timeout: 248 seconds]
DouweM has quit [Read error: Connection reset by peer]
cflat has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 245 seconds]
cflat has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
zeade has quit [Quit: Leaving.]
mr_snowf1ake has joined #ruby
anomaly_ has joined #ruby
Ponyo has joined #ruby
<Ponyo> Hi ther i've been reading about the sequel module, specifically placeholders. I'm wondering if it's possible to pass an array of variables to DB[] ? Example: DB['SELECT * FROM foo WHERE bar = ?', params[:user].to_s]
rootshift has joined #ruby
<Ponyo> I'm trying to have more than one ? per statement, and i'm trying to dynamically account for a dynamic variable count
havenwood has quit [Ping timeout: 240 seconds]
s2013 has quit [Ping timeout: 240 seconds]
lyanchih has quit [Quit: lyanchih]
lewix has quit [Remote host closed the connection]
lethjakm1 has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
mr_snowf1ake has quit [Ping timeout: 265 seconds]
dukz has joined #ruby
lethjakman has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
primenum has quit [Ping timeout: 260 seconds]
cflat has quit [Remote host closed the connection]
pyon has quit [Remote host closed the connection]
Ponyo has left #ruby [#ruby]
Hanmac1 has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kevinykchan has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
sayan has joined #ruby
kevinykchan has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
Megtastique has quit [Client Quit]
sayan has quit [Read error: Connection reset by peer]
yfeldblum has quit [Read error: Connection reset by peer]
rootshift has quit [Quit: rootshift]
kaiza has quit [Ping timeout: 245 seconds]
amritanshu_RnD has joined #ruby
<kostine> Ponyo: not really safe
<pontiki> what isn't safe, kostine ?
<kostine> params > sql
<kostine> nm, you doing ?
krz has quit [Read error: Operation timed out]
gianlucadv has joined #ruby
lewix has joined #ruby
<kostine> what are you passing in params?
lewix has quit [Changing host]
lewix has joined #ruby
<pontiki> ponyo was asking, but they've left already it appears. i didn't know the answer they were asking, but i was unclear what part of what they were doing was unsafe
lewix has quit [Remote host closed the connection]
<kostine> no part, he was doing ? which is the right way to avoid sql injection
<kostine> I just didn't pay attention
<pontiki> ah, ok
nomenkun has joined #ruby
Hanmac has joined #ruby
nomenkun_ has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
mgberlin has quit [Quit: mgberlin]
Hanmac1 has quit [Ping timeout: 245 seconds]
tharindu has quit [Ping timeout: 264 seconds]
<YOURBESTFRIEND> how can I escape line breaks in a heredoc?
mmcdaris has quit [Quit: mmcdaris]
nomenkun_ has quit [Ping timeout: 240 seconds]
mmcdaris has joined #ruby
<YOURBESTFRIEND> \ seems to work
hamakn has quit [Remote host closed the connection]
yfeldblum has joined #ruby
havenwood has joined #ruby
preller has quit [Ping timeout: 240 seconds]
djdarkbeat has quit [Quit: djdarkbeat]
deib97 has quit []
asmodeo has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
Jetchisel has quit [Ping timeout: 260 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
wc- has quit [Quit: wc-]
arietis has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
ioNull has joined #ruby
sayan has joined #ruby
xcthulhu has joined #ruby
dhruvasa1ar has joined #ruby
wallerdev has quit [Quit: wallerdev]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhruvasagar has quit [Ping timeout: 252 seconds]
okinomo has quit [Ping timeout: 240 seconds]
preller has quit [Ping timeout: 245 seconds]
Briareos1 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Rollabunna has quit [Remote host closed the connection]
bluOxigen has joined #ruby
preller has joined #ruby
vlad_sta_ has joined #ruby
charliesome has joined #ruby
mr_snowf1ake has joined #ruby
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has quit [Read error: Connection reset by peer]
araujo has joined #ruby
timonv has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
araujo has quit [Changing host]
araujo has joined #ruby
mr_blue has joined #ruby
<mr_blue> hi
mmcdaris has joined #ruby
<kostine> hi
timonv_ has joined #ruby
<mr_blue> I need to sort objects against two members. As in the sql expression 'sort by member1, member2 desc'. I know i have to override the <=> operator but don't know how to implement it. Any idea ?
timonv has quit [Ping timeout: 245 seconds]
Konst has quit [Read error: Operation timed out]
<kostine> you can't have database do it?
Hanmac1 has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
kofno has joined #ruby
Chanshark has quit [Quit: Chanshark]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mr_blue> well, i have two collections of same objects but from differents databases. So there is two allready sorted collections and i want to merge them.
<kostine> strings or integers?
erichmenge has quit [Ping timeout: 252 seconds]
x0nic has quit [Ping timeout: 260 seconds]
<mr_blue> date
<mr_blue> dates from sql so datetime
LexicalScope has quit [Ping timeout: 248 seconds]
<mr_blue> there is a good activesupport extensions to manage dates comparison so no problem with that
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
okinomo has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
flubba_ has quit [Remote host closed the connection]
<kostine> [11/1/2013,4/1/2013] and [11/1/2013, 3/1/2013] you want to merge them and sort them?
nomenkun has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
x0nic has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
okinomo has quit [Ping timeout: 264 seconds]
mr_blue has quit [Ping timeout: 248 seconds]
Shidash has joined #ruby
thirdeye has joined #ruby
mr_blue has joined #ruby
<mr_blue> yes that's it
<kostine> what do you want to do with dups?
<mr_blue> keeping them because differents objects
<mr_blue> but never mind the order if dates are equals
<kostine> so are they dates or objects?
<kostine> dates or other objects rather
tkuchiki has quit [Remote host closed the connection]
<kostine> rc
<mr_blue> dates are attributes of objects. A.date1, A.date2
<kostine> ah i see
<mr_blue> sorry was no clear
thirdeye has quit [Read error: Connection reset by peer]
<kostine> how many objects?
john2x_ has joined #ruby
<kostine> millions?
<john2x_> hello
<kostine> hi
<john2x_> i'm trying to `gem install forward` (https://forwardhq.com/support/installation) but I'm getting "make: /usr/bin/gcc-4.2: No such file or directory"
<mr_blue> hi
<john2x_> Mac OS Mavericks
<kostine> do you have Xcode installed?
nomenkun has joined #ruby
<john2x_> yup
<john2x_> which gcc is /usr/bin/gcc
<kostine> did you upgrade it with maverick?
<mr_blue> kostine: not at all just few hundred max
<mr_blue> i mean 1x100 max
<kostine> what happens if 2 objects have same date?
zz_N00D is now known as CripperZ
ViPi2 has joined #ruby
charliesome has joined #ruby
ViPi2 has quit [Max SendQ exceeded]
<john2x_> how do I check if it's up to date?
<kostine> app store should show is as update pending
<mr_blue> they follow each other never mind the ordre
<kostine> make sure it's up to date and check if you have command line tools installed
<john2x_> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
<kostine> ok mr_blue, you can convert dates of objects into integers
<john2x_> maybe if I alias gcc to /usr/bin/gcc-4.2?
<john2x_> at least temporarily
<kostine> you can yes, but i would check to see if command line tools are installed
<kostine> it would be cleaner
<kostine> 12/01/2013 = 20131201
<john2x_> I'm pretty sure they're installed.. I can install and compile python libraries without issue
<kostine> then simply stick objects into array at index 20131201 :)
<kostine> now if it already exists ...
culturel_ has joined #ruby
davidcelis has quit [Ping timeout: 246 seconds]
<mr_blue> ok for the conversion kostine but how to sort with two criteras ? date1 and date2
zmansiv has quit [Ping timeout: 260 seconds]
nomenkun has quit [Ping timeout: 241 seconds]
x0nic has quit [Ping timeout: 248 seconds]
nick_h has quit [Ping timeout: 245 seconds]
jericon_ has quit [Ping timeout: 245 seconds]
zastern has quit [Ping timeout: 252 seconds]
jonr22 has joined #ruby
Radar has quit [Ping timeout: 272 seconds]
n88 has quit [Ping timeout: 260 seconds]
micah` has quit [Ping timeout: 260 seconds]
<john2x_> hmm aliasing didn't work :(
TorpedoSkyline_ has quit [Ping timeout: 250 seconds]
fgo has quit [Remote host closed the connection]
crazysim has quit [Ping timeout: 272 seconds]
hamakn has joined #ruby
<kostine> try this
<kostine> export CC=gcc
<kostine> just run this in terminal
Shidash has quit [Ping timeout: 260 seconds]
<john2x_> still not.. meh, moving on. thanks though.
<kostine> :(
<kostine> when you made symlink did you make it executable?
<kostine> john2x_
<kostine> mr_blue you don't really have to
jonr22 has quit [Ping timeout: 260 seconds]
<kostine> mr_blue: you just add them into array at position 20131201, etc
<kostine> then get rid of nils and you will have a sorted array
<kostine> in theory
hamakn has quit [Ping timeout: 240 seconds]
maroloccio has quit [Ping timeout: 240 seconds]
<mr_blue> ok kostine thanks for your great help
<kostine> mr_blue: ar[20131201] = 'blue'
<kostine> ar = []
<kostine> ar[20131201] = 'blue'
nari has joined #ruby
<kostine> ar[20130110] = 'red'
blo has quit [Ping timeout: 245 seconds]
krz has joined #ruby
<kostine> ar.compact
<kostine> mr_blue: duplicate dates you would need to handle, check if there is an object already, convert it into array of objects
<kostine> then at the end flatten and compact
<kostine> mr_blue: does it make sense?
stormbytes has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<mr_blue> yes kostine i see what you mean. I'll try that. Thanks
<kostine> good luck
Es0teric has quit [Quit: Computer has gone to sleep.]
<mr_blue> :)
mr_blue has quit [Quit: leaving]
mr_snowf1ake has quit [Ping timeout: 264 seconds]
micah` has joined #ruby
x0nic has joined #ruby
zastern has joined #ruby
jericon has joined #ruby
blo has joined #ruby
yacks has quit [Read error: Operation timed out]
crazysim has joined #ruby
n88 has joined #ruby
OdNairy has joined #ruby
erichmenge has joined #ruby
Jdubs has joined #ruby
Radar has joined #ruby
zmansiv has joined #ruby
TorpedoSkyline has joined #ruby
relix has joined #ruby
Radar is now known as Guest31328
davidcelis has joined #ruby
<kostine> john2x_: have you tried this: brew install apple-gcc42
<john2x_> kostine: will I be left with 2 gcc-4.2's?
<kostine> maybe
Es0teric has joined #ruby
blo has quit [Ping timeout: 240 seconds]
<john2x_> i can just brew uninstall right?
nick_h has joined #ruby
<kostine> what do you get when you echo $CC
<kostine> in your terminal
<kostine> i think you will get gcc-4.2
maroloccio has joined #ruby
dukz has quit []
<john2x_> it was blank before the `export CC=gcc`.. now it's just `gcc`
<kostine> and if you do gem install in the same terminal window it still doesn't work?
<kostine> i am on maverics
<kostine> with updated Xcode, no symlink, just CC ENV variable
<john2x_> no.. even after brew install apple-gcc42 it still doesn't install
<kostine> just installed forward without issues
<john2x_> i'll try to update xcode
<kostine> did it make /usr/bin/gcc-4.2
<kostine> do you have that file now?
<kostine> if you make a symlink, make sure you chmod +x
<kostine> if its not executable it will not find it
<john2x_> still no /usr/bin/gcc-4.2 after the brew install
OdNairy has quit [Ping timeout: 240 seconds]
<john2x_> my xcode is 5.X thoug
<pontiki> doesn't brew install into /usr/local?
<kostine> symlinks
Hanmac1 has joined #ruby
<kostine> actual files in in a Cellar folder
lyanchih has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
anomaly_ has joined #ruby
<kostine> are you using dvm?
<kostine> RVM?
Hanmac has quit [Ping timeout: 240 seconds]
<john2x_> oh symlinking worked. don't know why it didn't come to me.. i kept on thinking on the alias. :P
<pontiki> yah, /usr/local/Cellar, and linked to /usr/local/bin
<kostine> k awesome :)
<john2x_> dammit. gem install forward worked, but forward isn't found
<john2x_> where did it go?
<kostine> are you using rvm
<john2x_> I'm using rbenv
fgo has joined #ruby
<kostine> works for me, when I installed it
<john2x_> forward isn't in my ~/.rbenv/shims
<kostine> make sure you are in the right ruby/gemset if there is such a thing
gja has quit [Quit: This computer has gone to sleep]
fgo has quit [Read error: No route to host]
<kostine> try installing it again
<kostine> mine comes up with 'forward 3000'
d45h has joined #ruby
fgo has joined #ruby
skaflem has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
Hobogrammer has joined #ruby
blo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OdNairy has joined #ruby
<john2x_> when I check the gems installed in `gem server`, forward is there
sensen has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Azure has quit [Quit: My MBP went to sleep.]
<john2x_> and `rbenv which forward` shows where it went
sayan has quit [Ping timeout: 240 seconds]
<kostine> but it doesn't work?
klaut has joined #ruby
<john2x_> it's in "~/.rbenv/versions/1.9.3-p125/bin/forward".. and `rbenv global` is alread "1.9.3-p125"
nomenkun has joined #ruby
<kostine> try running it directly
<kostine> using full path
Guest65362 has quit [Ping timeout: 240 seconds]
<kostine> i have never used rbenv might not be a good help here
blo has quit [Ping timeout: 240 seconds]
<john2x_> ah using full path works.. weird
<john2x_> thanks kostine :)
<kostine> you shouldn't have to use full path, i am sure there is a solution but ... :)
<kostine> glad you got so far
raar has joined #ruby
raar is now known as Guest58485
claymore has joined #ruby
culturel_ has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 265 seconds]
<john2x_> is there a "karma" bot here?
wc- has joined #ruby
wc- has quit [Client Quit]
charliesome has joined #ruby
<popl> john2x_: no
chihhsin has quit [Read error: Connection reset by peer]
apeiros has quit [Read error: Connection reset by peer]
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
blo has joined #ruby
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
culturel_ has joined #ruby
dhruvasa1ar has quit [Ping timeout: 240 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
Hanmac has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
brianpWins has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
<YOURBESTFRIEND> how do I split a string by spaces that aren't preceded by a '\'?
mmcdaris has quit [Quit: mmcdaris]
jhaals has joined #ruby
blo has quit [Ping timeout: 240 seconds]
CripperZ is now known as zz_CripperZ
<kostine> YOURBESTFRIEND : a.split(/(?<!\\)\ /)
apeiros has joined #ruby
fridim_ has quit [Ping timeout: 240 seconds]
arietis has joined #ruby
<YOURBESTFRIEND> I don't understand it ( .____.)
chihhsin has joined #ruby
<kostine> "This is my string\ with".split(/(?<!\\)\ /)
<YOURBESTFRIEND> what does the ?<! part do
<kostine> ["This", "is", "my ... ", "string\ with"]
<kostine> negative look behind
<kostine> not preceded by \
<kostine> should work
<YOURBESTFRIEND> it does
<YOURBESTFRIEND> thanks
<kostine> np
gja has joined #ruby
cads has quit [Quit: Leaving]
cads has joined #ruby
<YOURBESTFRIEND> what I was using was /[^\\] / but it would obviously also delete the character preceding the space
<kostine> you can also do it like this
<kostine> .split(/[^\\]( )/)
<kostine> in ruby that doesn't support negative look behinds
<kostine> you almost had it
<YOURBESTFRIEND> nah, that one doesn't work
aapzak has quit [Ping timeout: 246 seconds]
<kostine> hum works for me
<YOURBESTFRIEND> >> "test\\ cool lol".split(/[^\\]( )/)
<eval-in_> YOURBESTFRIEND => ["test\\ coo", " ", "lol"] (https://eval.in/79280)
<YOURBESTFRIEND> >> "test\\ cool lol".split(/(?<!\\) /)
<eval-in_> YOURBESTFRIEND => ["test\\ cool", "lol"] (https://eval.in/79281)
carraroj has joined #ruby
aapzak has joined #ruby
<kostine> yah u right :/
drumusician has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
blo has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PrincessPonyo has joined #ruby
<PrincessPonyo> is there any way to use wildcards with require_relative?
Matriks has joined #ruby
preller has quit [Ping timeout: 248 seconds]
sensen has quit [Read error: Connection reset by peer]
<Hanmac> PrincessPonyo: no you can use Dir["*"].each {|s| require_relative(s) } # but i am not sure if its failsafe
eka has joined #ruby
<PrincessPonyo> Hanmac that's almost exactly what i just hacked together :)
jhaals has joined #ruby
<kostine> something like this i guess
timonv_ has quit [Remote host closed the connection]
hakunin has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
<PrincessPonyo> ty
SHyx0rmZ has joined #ruby
ewnd9 has joined #ruby
<PrincessPonyo> i think that covers the . and .. better
<Hanmac> hm but it uses require not require_relative ... i dont know if i like that
marr has joined #ruby
<PrincessPonyo> wouldn't expand path expand the value to it's absolute path?
fgo has joined #ruby
<Hanmac> yeah
arquebus has joined #ruby
dangerousdave has joined #ruby
krz has quit [Read error: Connection reset by peer]
preller has joined #ruby
lewix has joined #ruby
<Hanmac> PS: PrincessPonyo when the files in the subdir or what ever you want to require, needs them self you should need to require_relative them between each other ... just remeber that Dir[] returns files in filesystem-order and you cant deny on that
<PrincessPonyo> Thank you for that note :)
jhaals has quit [Quit: Textual IRC Client: www.textualapp.com]
eka has quit [Quit: Computer has gone to sleep.]
r0bby_ has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
jhaals has joined #ruby
sayan has joined #ruby
SteveBenner09 has quit [Ping timeout: 272 seconds]
bakedb has quit [Read error: Connection reset by peer]
wc- has joined #ruby
nomenkun has joined #ruby
krz has joined #ruby
cbetta_afk is now known as cbetta
bakedb has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
threesome has joined #ruby
tvw has joined #ruby
spider-mario has joined #ruby
spider-mario has quit [Remote host closed the connection]
RoryHughes has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
spider-mario has joined #ruby
RoryHughes has quit [Client Quit]
timonv has quit [Remote host closed the connection]
jonr22 has joined #ruby
akonny has joined #ruby
wc- has quit [Ping timeout: 265 seconds]
RoryHughes has joined #ruby
carraroj has quit [Read error: Operation timed out]
maroloccio has quit [Quit: WeeChat 0.4.1]
maroloccio has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
<PrincessPonyo> Dir.foreach("api-functions") {|s| require_relative("api-functions/"+s) if(s.match(/^\.|^\.\./).to_a.empty?) } that was what I finally came to that filtered the . and .. from the list. Works good,thank you
olleromo_ has joined #ruby
arquebus has quit [Quit: Konversation terminated!]
<apeiros> s.match(/^\.|^\.\./).to_a.empty? # is a rather horrible construct IMO
carraroj has joined #ruby
<apeiros> s !~ /^\.|^\.\./
<apeiros> which can even be further reduced
<apeiros> s !~ /^\./ # since ".." matches that too
<apeiros> but I find the whole rather ugly compared to earlier suggested globbing
<popl> dotfiles?
olleromo has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
OdNairy has quit [Ping timeout: 265 seconds]
browndawg has quit [Quit: Leaving.]
carraroj has quit [Ping timeout: 264 seconds]
endash has joined #ruby
olleromo_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Mon_Ouie has joined #ruby
lyanchih has quit [Quit: lyanchih]
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Emmanuel_Chanel has joined #ruby
Jdubs has quit [Ping timeout: 260 seconds]
fgo has quit [Remote host closed the connection]
lyanchih has joined #ruby
dseitz has joined #ruby
hogeo has joined #ruby
timonv has joined #ruby
fgo has joined #ruby
<PrincessPonyo> apeiros I took your suggestion and cleaned up the match
<PrincessPonyo> Have a good afteroon everyone
PrincessPonyo has left #ruby [#ruby]
lkba has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 265 seconds]
fgo has joined #ruby
klaut_ has joined #ruby
RoryHughes has quit []
klaut_ has quit [Client Quit]
john2x_ has quit [Ping timeout: 265 seconds]
hogeo has quit [Remote host closed the connection]
marcgg has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
tesuji has quit [Ping timeout: 265 seconds]
6JTAAU45M has joined #ruby
6JTAAU45M is now known as splstn
vlad_starkov has joined #ruby
rippa has joined #ruby
hogeo has joined #ruby
xcthulhu has quit [Quit: xcthulhu]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
RoryHughes has joined #ruby
watermel0n has joined #ruby
hogeo has quit [Remote host closed the connection]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RoryHughes has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
marr has quit [Ping timeout: 245 seconds]
nomenkun has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby
fgo_ has joined #ruby
Speed has joined #ruby
<Speed> morning
fgo has quit [Ping timeout: 252 seconds]
MrZYX|off is now known as MrZYX
s8p3 has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
RoryHughes has joined #ruby
kostine has quit [Quit: kostine]
tharindu has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
eka has joined #ruby
klaut has quit [Remote host closed the connection]
Czupa has joined #ruby
hogeo has quit [Remote host closed the connection]
RoryHughes has quit []
Matriks has quit [Remote host closed the connection]
watermel0n has left #ruby [#ruby]
lewix has quit [Remote host closed the connection]
klaut has joined #ruby
Matriks has joined #ruby
jpablobr has joined #ruby
Matriks has quit [Remote host closed the connection]
jhchabran has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
Guest76249 has quit [Ping timeout: 240 seconds]
cbetta is now known as cbetta_afk
tvw has quit []
mityaz has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
CpuID has joined #ruby
mojjojo has joined #ruby
mojjojo has quit [Client Quit]
anomaly_ has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
mojjojo has joined #ruby
ss_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
yacks has joined #ruby
Emmanuel_Chanel has joined #ruby
nettoweb has joined #ruby
mbff has joined #ruby
mbff is now known as Guest14042
jle` has quit [Quit: WeeChat 0.4.2]
yfeldblum has quit [Ping timeout: 260 seconds]
nettoweb has quit [Ping timeout: 252 seconds]
lyanchih has quit [Quit: lyanchih]
L8D has quit [Ping timeout: 240 seconds]
shaileshg__ has joined #ruby
Rollabunna has joined #ruby
devians has left #ruby ["Textual IRC Client: www.textualapp.com"]
lkba has joined #ruby
mojjojo has quit [Quit: mojjojo]
cantonic has quit [Quit: cantonic]
mojjojo has joined #ruby
AndChat- has joined #ruby
lkba has quit [Read error: Connection reset by peer]
CpuID has quit [Quit: This computer has gone to sleep]
Markvilla has joined #ruby
jonr22 has joined #ruby
sepp2k has joined #ruby
cantonic has joined #ruby
sepp2k has left #ruby [#ruby]
esing has joined #ruby
splstn has quit [Remote host closed the connection]
sepp2k has joined #ruby
jonr22 has quit [Ping timeout: 264 seconds]
nomenkun has joined #ruby
RoryHughes has joined #ruby
siwica has quit [Ping timeout: 248 seconds]
Markvilla has quit [Ping timeout: 240 seconds]
<esing> Hi, is within the function "initialize" not an end command missing? https://gist.github.com/uriel1998/1791270 I see _4_ if-conditions, 2_ each-do loops, _1_ case-statement and finally _1_ end is necessary for the function itself. So in total the function would need in total _8_ end commands, but there are only _7_? Not sure what I am missing here :S
mojjojo has quit [Quit: mojjojo]
VTLob has joined #ruby
lewix has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
tharindu has quit [Quit: Leaving...]
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
RoryHughes has quit []
lewix has quit [Ping timeout: 248 seconds]
<Mon_Ouie> Well, yes, there is a missing end. Ruby can tell you that though.
nwertman has joined #ruby
mojjojo has joined #ruby
osvico has joined #ruby
<esing> Thanks for assuring. Weird I run that script with that missing 'end' command on my old system (ubuntu) for months and it worked :S. It still works now (on arch), but no more for firefox sinks.
ss_ has joined #ruby
eldariof has joined #ruby
<Mon_Ouie> It's just that there's an extra end at the end
RoryHughes has joined #ruby
eldariof has quit [Client Quit]
<Mon_Ouie> And all the methods except initialize are being defined when initialize is called
<esing> Oh, and I was wondering if the last end is actually necessary for the instance "p = Pulse.new "... so I can remove the last end too I guess?
<Mon_Ouie> Yes, that should allow it to work
tonni has joined #ruby
wchun has quit [Ping timeout: 246 seconds]
kirun has joined #ruby
aapzak has quit [Read error: Operation timed out]
preller has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
relix has joined #ruby
aapzak has joined #ruby
esing has quit [Quit: Verlassend]
nwertman has quit [Ping timeout: 265 seconds]
esing has joined #ruby
esing has quit [Changing host]
esing has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
stormbytes has joined #ruby
nari has quit [Read error: Connection reset by peer]
nari has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
browndawg has joined #ruby
colonolGron has joined #ruby
ewnd9 has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
michael_lee has joined #ruby
charliesome has joined #ruby
mojjojo has quit [Quit: mojjojo]
michael_lee has quit [Max SendQ exceeded]
RoryHughes has quit []
lyanchih has joined #ruby
michael_lee has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
MrZYX is now known as MrZYX|off
_Andres has joined #ruby
s8p3 has quit [Ping timeout: 241 seconds]
ckinni has joined #ruby
<shevy> esing it is often easier to write small, short methods
<shevy> the initialize method in that case is very long
<shevy> esing also notice that the author of that script is not consistent - on line 80 there is an "if", and on line 82 there is the corresponding "end", but it is not aligned properly with the starting if
cbetta_afk is now known as cbetta
<shevy> in general the author seems to indent inconsistently - on line 109 there is a method definition, but the body of that method has differently indented if/end's
psyl0n has quit [Remote host closed the connection]
colonolGron has quit [Quit: leaving]
<esing> shevy, Yes, I noticed that. Also I changed the indentation for the script with the recommended two spaces: http://paste.ofcode.org/fntXQ48NUx9632FgSZE7sk
DouweM has joined #ruby
<shevy> yeah that is better, it now seems more consistent
timonv has quit [Remote host closed the connection]
<shevy> line 155 indent is wrong though
mojjojo has joined #ruby
clamstar has joined #ruby
<esing> Ah, thanks for the hint
<shevy> btw esing I think you can replace $longname with @longname
<shevy> the problem with $global_variables is that they leak out into everywhere, though perhaps that is what you wanted to do
clamstar has quit [Read error: Connection reset by peer]
OdNairy has joined #ruby
<shevy> i.e. one could do
<shevy> >> $foo = 'abc'; class Foo; def test; puts $foo; end; end; Foo.new.test
<eval-in_> shevy => abc ... (https://eval.in/79299)
<shevy> >> class Foo; $foo = 'abc'; def test; puts $foo; end; end; Foo.new.test
<eval-in_> shevy => abc ... (https://eval.in/79300)
<shevy> does not matter where $foo is defined, it's a big leaker :)
ewnd9 has joined #ruby
RoryHughes has joined #ruby
Rylee has quit [Quit: WeeChat 0.4.3-dev]
mojjojo has quit [Client Quit]
ss_ has quit [Remote host closed the connection]
<esing> Hm, in Python I'd use def __init__(self): self.longname=0 def example(self): self.longname. Since longname is only used within the class, the global variable seems indeed unnecessary. Is the instance variable with @variable the same as self.variable in python?
mojjojo has joined #ruby
<DouweM> basically
Rylee has joined #ruby
roadt has joined #ruby
<esing> Thanks I'll try that
nomenkun has joined #ruby
<shevy> esing you see @ivars used a lot in ruby classes
<shevy> if you only work in classes, @ivars are almost always better than $global variables
<shevy> esing how long have you been doing python?
<DouweM> like you'd see self.vars used a lot in Python classes, I'd assume. Instance vars a are pretty important part of objects :)
<shevy> hmm yeah
<shevy> I forgot that... thought self.foo meant a method call
<shevy> they must carry explicit self all over the place!
<DouweM> shevy: I have no idea, I'm just parroting what esing just mentioned about self.longname in Python
<DouweM> I don't know the first thing about Python
<DouweM> I knew about the explicit self!
nomenkun has quit [Ping timeout: 245 seconds]
<shevy> hehe
<shevy> python has some strange things
<DouweM> so I guess I know the first thing
<shevy> like decorators
preller has quit [Ping timeout: 252 seconds]
<esing> shevy, I am also a beginner in python, doing that since some months and ruby is also good readable like python
<esing> I find decorators/closure useful :)
d45h has quit []
<esing> Hm, with self you can access objects within the class, either 'object variables' or 'objects methods' if I understood that correctly
<esing> (You just need to add the self argument for every method and of course the __init__(self) method within the class)
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coldmethod has joined #ruby
Rylee has quit [Remote host closed the connection]
Rylee has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
Briareos1 has joined #ruby
ixti has joined #ruby
TDJACR has quit [Ping timeout: 264 seconds]
<shevy> ok but in ruby you rarely need self
<shevy> and you never have to pass self to a method inside of that class, as self will point to the current class in question usually
lewix has joined #ruby
TDJACR has joined #ruby
brtdv has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
<DouweM> shevy: I'm pretty sure you need self. for setters, so `self.name = "Douwe"`
<DouweM> and because of that, I also always use `self.` with the respective getters
<shevy> yeah, that's why I wrote rarely. I desperately wanted to write never, but it would not have been true :(
<Hanmac> DouweM: this is also another difference, you can call "self.name =" even if "name=" is protected
Czupa has quit [Remote host closed the connection]
ua has joined #ruby
<DouweM> esing: in that case, you'd use @tank and @color
<esing> Ah, that's good to know
lewix has quit [Ping timeout: 240 seconds]
narcan has joined #ruby
RoryHughes has quit []
charliesome has joined #ruby
fgo_ has quit [Remote host closed the connection]
ss_ has joined #ruby
timonv has joined #ruby
ua has quit [Quit: Leaving]
fgo has joined #ruby
fgo has quit [Remote host closed the connection]
zipper has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arietis has quit [Quit: Computer has gone to sleep.]
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
mengu has joined #ruby
arietis has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
kcombs has joined #ruby
falood has joined #ruby
shredding has quit [Quit: shredding]
yfeldblum has joined #ruby
jonr22 has joined #ruby
okinomo has joined #ruby
RoryHughes has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
mengu_ has joined #ruby
freerobby has quit [Quit: Leaving.]
mengu has quit [Read error: Operation timed out]
L8D has joined #ruby
zipper has quit [Ping timeout: 248 seconds]
RoryHughes has quit [Client Quit]
yfeldblum has quit [Ping timeout: 245 seconds]
jonathanwallace has joined #ruby
jonr22 has quit [Ping timeout: 248 seconds]
<shevy> yeah, those cases are not ambigous
nomenkun has joined #ruby
<shevy> all self can be removed :)
<shevy> *ambiguous
kcombs has quit [Ping timeout: 265 seconds]
okinomo_ has joined #ruby
okinomo has quit [Ping timeout: 252 seconds]
L8D has quit [Ping timeout: 265 seconds]
timonv has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 240 seconds]
jonathanwallace1 has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matheuscaceres has joined #ruby
mengu_ has quit [Quit: Leaving]
yxhuvud has quit [Remote host closed the connection]
browndawg1 has joined #ruby
browndawg has quit [Ping timeout: 252 seconds]
xk_id has joined #ruby
anomaly_ has quit [Remote host closed the connection]
Advocation has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
anomaly_ has joined #ruby
RoryHughes has joined #ruby
jhaals has joined #ruby
charliesome has joined #ruby
RoryHughes has quit [Client Quit]
reach has joined #ruby
RoryHughes has joined #ruby
preller has quit [Ping timeout: 252 seconds]
anomaly_ has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
atno has quit [Remote host closed the connection]
matheuscaceres has quit [Quit: matheuscaceres]
matheuscaceres has joined #ruby
RoryHughes has quit []
ghatak has joined #ruby
preller has joined #ruby
atno has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnoob22_ has quit [Read error: Connection reset by peer]
jnoob22_ has joined #ruby
cmedeiros has joined #ruby
coderhs has joined #ruby
L8D has joined #ruby
nomenkun has quit [Remote host closed the connection]
shtirlic has quit [Quit: ZNC - http://znc.in]
nowthatsamatt has quit [Quit: nowthatsamatt]
Astralum has joined #ruby
dangerousdave has joined #ruby
osvico has quit [Ping timeout: 260 seconds]
ewnd9 has quit [Ping timeout: 248 seconds]
yxhuvud has joined #ruby
roolo has quit [Ping timeout: 252 seconds]
okinomo_ has quit [Ping timeout: 260 seconds]
ItSANgo_ has quit [Quit: Leaving...]
okinomo has joined #ruby
cbetta is now known as cbetta_afk
atno has quit [Remote host closed the connection]
atno has joined #ruby
anomaly_ has joined #ruby
noname001__ has joined #ruby
ewnd9 has joined #ruby
kcombs has joined #ruby
kcombs has quit [Remote host closed the connection]
Fidelix has joined #ruby
<Fidelix> Hello, folks. How can I do something like this? %W(zip rar + #{Settings.upload_formats})
coderhs has quit [Ping timeout: 240 seconds]
ckinni has joined #ruby
<DouweM> %w(zip rar) << Settings.upload_formats
<shevy> >> def foo; 'abc';end; %W(zip rar #{foo})
<eval-in_> shevy => ["zip", "rar", "abc"] (https://eval.in/79338)
<DouweM> %w() is a language feature, you can't just put string interpolation in there
<DouweM> omg
<DouweM> shevy, I had no idea that worked
<DouweM> but still, just use <<
<shevy> me neither
<shevy> I never used %W before
<shevy> I always used %w
RoryHughes has joined #ruby
<DouweM> huh, there's a difference?
<shevy> but to be honest, I would also never do what Fidelix wanted to do
<shevy> yeah
<shevy> >> def foo; 'abc';end; %w(zip rar #{foo})
yfeldblum has joined #ruby
<eval-in_> shevy => ["zip", "rar", "\#{foo}"] (https://eval.in/79339)
<DouweM> right, %W does interpolation
<Fidelix> shevy: why?
<shevy> it looks very ugly
ItSANgo has joined #ruby
<shevy> DouweM's way is a lot clearer to my eye instantly
<waxjar_> it isn't conventional, therefore not clear.
<shevy> :)
<DouweM> %w is a language feature to easily build arrays of strings because it's easier to read. don't go bring interpolation into it
<Fidelix> def foo; 'abc';end; %W(zip rar #{foo}) certainly isn't pretty for me. DouweM is.
<shevy> I like %w() a lot
<shevy> >> %w( abc d fh ge khek he heeh ).size
<eval-in_> shevy => 7 (https://eval.in/79340)
_maes_ has joined #ruby
<shevy> ['abc','d','fh','ge','khek','he','heeh']
<shevy> so many more characters to type...
reach has quit [Remote host closed the connection]
<shevy> Hanmac how about a x-mas release of wxwidget bindings?
<shevy> 10 days
dhruvasagar has joined #ruby
<DouweM> shevy: you really want that wxwidget don't you? :P
<shevy> I want a usable alternative to ruby-gtk, yeah
<Hanmac> shevy not even i can code that fast ;P maybe next year
_maes_ has quit [Client Quit]
<shevy> :(
mojjojo has quit [Quit: mojjojo]
<Fidelix> DouweM: this didn't work. It interpreted the stuff after << as a string and didn't put things in the array
<Hanmac> shevy hm okay i may manage that ... but then it would be without docu and without samples
<shevy> >> %w(zip rar) << 'yeah'
<eval-in_> shevy => ["zip", "rar", "yeah"] (https://eval.in/79344)
<shevy> Hanmac hehehe
<shevy> it would be cool if you could just stay in C++
<shevy> and the .rb example files will be autogenerated
yfeldblum has quit [Ping timeout: 264 seconds]
<Fidelix> shevy: I forgot to say, there are some other items. It's not just 'yeah', but 'yeah twoh threeh fouhr'
<waxjar_> >> %w[zip rar] + ['the','settings']
<eval-in_> waxjar_ => ["zip", "rar", "the", "settings"] (https://eval.in/79345)
tkuchiki has joined #ruby
jacobsmith has joined #ruby
nowthatsamatt has joined #ruby
<shevy> Fidelix then just convert the string into an array. .split(), or if you are in control of Settings module, add a method or way to add that
<Fidelix> shevy: thanks. Will do.
<shevy> hmm a << method can be defined?
<waxjar_> yes
<Hanmac> shevy the C++ samples cant be copies 1-1 into rb files ... because my binding does a bit of magic ... and the samples are also full of "#if wxUSE_**" macros ...
gregoriokusowski has joined #ruby
<waxjar_> Fidelix: if you plan on doing exec or something similar you might want to look at Shellwords in the stdlib to do escaping and whatnot
okinomo has quit [Ping timeout: 260 seconds]
<Fidelix> waxjar_: I do plan on invoking the unrar executable. Will look into it, thank you very much.
<DouweM> shevy: most operators in Ruby are just methods, << included
okinomo has joined #ruby
d45h has joined #ruby
d45h has quit [Read error: Operation timed out]
djdarkbeat has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
zipper_ has joined #ruby
coderhs has joined #ruby
haukur has joined #ruby
PanPan_ has joined #ruby
haukur has quit [Remote host closed the connection]
okinomo has quit [Ping timeout: 240 seconds]
viod has joined #ruby
okinomo has joined #ruby
PanPan has quit [Ping timeout: 260 seconds]
<viod> Hello! I'm just learning Ruby through a tutorial, but I get into an error when running "ri File.open" : RDoc::Store::MissingFileError. I've tried "gem update rdoc", "rdoc-data --install", "gem rdoc --all --overwrite", but none of these worked. Any idea of what I could do to have the ri doc?
mojjojo has joined #ruby
PanPan has joined #ruby
zkc has joined #ruby
prc has joined #ruby
anomaly_ has quit [Ping timeout: 252 seconds]
wchun has joined #ruby
PanPan_ has quit [Ping timeout: 240 seconds]
zipper_ has quit [Quit: Lost terminal]
<Hanmac> viod that is your ruby version and what does "gem env" shows you?
Briareos1 has quit [Remote host closed the connection]
aryaching_ has joined #ruby
Advocation has quit [Quit: Advocation]
okinomo has quit [Ping timeout: 240 seconds]
aryaching has quit [Ping timeout: 240 seconds]
<viod> Hanmac: my ruby is "ruby 2.0.0p353" and gem env tells me this: https://gist.github.com/anonymous/44fe4497d3c020a7a139
okinomo has joined #ruby
jonathanwallace1 has quit [Ping timeout: 240 seconds]
rootshift has joined #ruby
claymore has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
PanPan_ has joined #ruby
wallerdev has joined #ruby
RoryHughes has quit []
coderhs has quit [Ping timeout: 248 seconds]
viod1 has joined #ruby
d45h has joined #ruby
coderhs has joined #ruby
PanPan has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
jonathanwallace1 has joined #ruby
shtirlic has joined #ruby
whysosad has joined #ruby
cads has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
wallerdev has quit [Client Quit]
viod has quit [Read error: Operation timed out]
okinomo has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
whysomad has quit [Ping timeout: 245 seconds]
rootshift has quit [Quit: rootshift]
okinomo has joined #ruby
akitada_ has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
aerook has joined #ruby
kofno has joined #ruby
Advocation has joined #ruby
m8 has joined #ruby
sayan has joined #ruby
coderhs has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
jonathanwallace1 has quit [Ping timeout: 252 seconds]
alx- has joined #ruby
alx- has quit [Client Quit]
alx- has joined #ruby
jonathanwallace1 has joined #ruby
alx- has quit [Client Quit]
blergha has quit [Remote host closed the connection]
<shevy> hmm
nateberkopec has joined #ruby
jonr22 has joined #ruby
<shevy> how to enable in a ruby script a "read in from piped input"?
<shevy> so that it can be used like: "cat * | ruby blabla.rb"
<shevy> but also standalone
pu22l3r has joined #ruby
alx- has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
<aerook> why not just pass ruby script the args?
EngierkO has joined #ruby
Advocation has quit [Quit: Advocation]
lyanchih has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
dik_dak has joined #ruby
<Mon_Ouie> shevy: piped input is just sent to stdin, so you can read it from there
<viod1> I've just realised that when I only type "ri File.o", zsh autocompletion proposes me "open" and "owned?". So I really don't know why hte help file can't be found...
jonathanwallace1 has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
rubyracer has joined #ruby
Hanmac1 has joined #ruby
shtirlic has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
mojjojo has quit [Quit: mojjojo]
shtirlic has joined #ruby
<shevy> hmm
Monie has quit [Read error: Connection reset by peer]
<shevy> and how do you get stdin from a ruby class?
Hanmac has quit [Ping timeout: 245 seconds]
Monie has joined #ruby
Hanmac has joined #ruby
<waxjar_> STDIN or $stdin
yfeldblum has joined #ruby
pagios has quit [Max SendQ exceeded]
<canton7> Kernel#gets reads from stdin too
pagioss has joined #ruby
timonv has quit [Ping timeout: 260 seconds]
<shevy> hmm I always thought it is used only for user input
Hanmac1 has quit [Ping timeout: 240 seconds]
atno has quit [Remote host closed the connection]
eka has quit [Quit: Computer has gone to sleep.]
<canton7> stdin can be attached to a keyboard, or it can be attached to another process's stdout. shell pipes do the latter
d45h has quit [Ping timeout: 252 seconds]
shtirlic has quit [Remote host closed the connection]
xcthulhu has joined #ruby
okinomo has quit [Ping timeout: 252 seconds]
coderhs has quit [Ping timeout: 260 seconds]
ambushsabre has joined #ruby
atno has joined #ruby
okinomo has joined #ruby
waxjar_ is now known as waxjar
yfeldblum has quit [Ping timeout: 245 seconds]
kofno has quit [Ping timeout: 264 seconds]
anomaly_ has joined #ruby
jamesaanderson has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
kofno has joined #ruby
timonv has joined #ruby
DrShoggoth has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
fedesilva has joined #ruby
rootshift has joined #ruby
mojjojo has joined #ruby
endash has quit [Quit: endash]
coderhs has joined #ruby
drumusician has quit [Ping timeout: 245 seconds]
xcthulhu has quit [Quit: xcthulhu]
mojjojo has quit [Client Quit]
mojjojo has joined #ruby
jezen has joined #ruby
Emmanuel_Chanel_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
mojjojo has quit [Client Quit]
zz_CripperZ has quit [Quit: ZNC - http://znc.sourceforge.net]
juarlex has quit [Remote host closed the connection]
jacobsmith has quit [Ping timeout: 240 seconds]
zz_CripperZ has joined #ruby
mojjojo has joined #ruby
timonv has quit [Remote host closed the connection]
coderhs has quit [Ping timeout: 264 seconds]
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
nateberkopec has quit [Quit: Leaving...]
ewnd9 has quit [Ping timeout: 260 seconds]
bbloom has joined #ruby
Lostmonk has quit [Ping timeout: 252 seconds]
drumusician has joined #ruby
wallerdev has joined #ruby
atno has quit [Remote host closed the connection]
Azure has joined #ruby
coderhs has joined #ruby
viod has joined #ruby
mojjojo has quit [Quit: mojjojo]
zz_CripperZ has quit [Quit: ZNC - http://znc.sourceforge.net]
viod1 has quit [Ping timeout: 260 seconds]
mojjojo has joined #ruby
yan_ has quit [Ping timeout: 252 seconds]
zz_CripperZ has joined #ruby
primenum has joined #ruby
falood has quit []
zz_CripperZ has quit [Ping timeout: 252 seconds]
zz_CripperZ has joined #ruby
yan_ has joined #ruby
Briareos1 has joined #ruby
amritanshu_RnD has quit [Remote host closed the connection]
timonv has joined #ruby
<apeiros> canton7: careful, Kernel#gets reads from ARGF
rootshift has quit [Quit: rootshift]
atmosx has joined #ruby
AndChat- has quit [Quit: Bye]
lkba has joined #ruby
tharindu_ has joined #ruby
eka has joined #ruby
jezen has quit [Remote host closed the connection]
Lostmonk has joined #ruby
lewix has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
mr_snowf1ake has joined #ruby
ghatak has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Fidelix has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dhruvasagar has joined #ruby
mojjojo has quit [Quit: mojjojo]
phipes has joined #ruby
mojjojo has joined #ruby
IceDragon has joined #ruby
gregoriokusowski has quit [Quit: gregoriokusowski]
xk_id has quit [Quit:
viod1 has joined #ruby
parduse has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
phipes has quit [Remote host closed the connection]
xcthulhu has joined #ruby
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
lewix has quit [Read error: Connection reset by peer]
TIJ has joined #ruby
freakazoid0223 has quit [Ping timeout: 240 seconds]
viod has quit [Ping timeout: 240 seconds]
PanPan has joined #ruby
viod1 has quit [Ping timeout: 264 seconds]
okinomo has quit [Quit: Lost terminal]
cbetta_afk is now known as cbetta
yfeldblum has quit [Ping timeout: 248 seconds]
rippa has quit [Ping timeout: 248 seconds]
matheuscaceres has joined #ruby
mosscollum has joined #ruby
PanPan_ has quit [Ping timeout: 245 seconds]
Emmanuel_Chanel_ has quit [Quit: Leaving]
Advocation has joined #ruby
viod has joined #ruby
RoryHughes has joined #ruby
ryanRT has joined #ruby
wallerdev has quit [Quit: wallerdev]
Naoe-Kanno has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
matheuscaceres has quit [Ping timeout: 264 seconds]
marcgg has joined #ruby
SHyx0rmZ has quit [Ping timeout: 248 seconds]
mary5030 has joined #ruby
juarlex has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
freakazoid0223 has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anomaly_ has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 252 seconds]
Hanmac1 has joined #ruby
EngierkO has joined #ruby
ss_ has quit [Remote host closed the connection]
preller has quit [Read error: Operation timed out]
Hanmac has quit [Ping timeout: 260 seconds]
preller has joined #ruby
freakazoid0223 has quit [Remote host closed the connection]
Clooth has joined #ruby
freakazoid0223 has joined #ruby
xcthulhu has quit [Quit: xcthulhu]
elux has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
viod1 has joined #ruby
EngierkO has quit [Ping timeout: 252 seconds]
whysomad has joined #ruby
viod has quit [Ping timeout: 252 seconds]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has joined #ruby
claymore has joined #ruby
freggles has joined #ruby
whysosad has quit [Read error: Operation timed out]
<bklane> Has anyone used the Shopify API, debating on using rails or sinatra so looking for any feedback?
xcthulhu has joined #ruby
fridim_ has joined #ruby
whysosad has joined #ruby
Megtastique has joined #ruby
pmurias has joined #ruby
preller has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drumusician has quit [Ping timeout: 264 seconds]
whysomad has quit [Ping timeout: 248 seconds]
Txandy has joined #ruby
<pmurias> if I have Foo with has_many :bars and Bar with has_many :foobars can I do Foo.find(1).bars.foobars?
DrShoggoth has quit [Ping timeout: 245 seconds]
<DouweM> pmurias: No. Also, you might receive more Rails help in #RubyOnRails
jonr22 has joined #ruby
atno has joined #ruby
mosscollum has quit [Ping timeout: 245 seconds]
atno has quit [Client Quit]
atno has joined #ruby
atno has quit [Client Quit]
cbetta is now known as cbetta_afk
<bklane> pmurias: you have to select which object of bars to look at foobars
preller has joined #ruby
<bklane> so Foo.find(1).bars.first.foobars
<pmurias> bklane: all of them
lyanchih has quit [Quit: lyanchih]
<bklane> take a look at polymorphic relationships maybe? http://guides.rubyonrails.org/association_basics.html
Advocation has quit [Quit: Advocation]
<bklane> pmurias: does a Bar belong_to Foo and a FooBar belong to a Bar?
jonr22 has quit [Ping timeout: 252 seconds]
<pmurias> bklane: yes
wallerdev has joined #ruby
<pmurias> and I want all FooBars that indirectly belong to a Foo
Emmanuel_Chanel has joined #ruby
<pmurias> I could use a loop but is it possible to that in a single query?
<DouweM> pmurias: FooBar.where(bar_id: Foo.find(1).bars.map(:id))
<DouweM> pmurias: and please, #RubyOnRails ;)
<pmurias> DouweM: thanks, I'll ask rails question there from now on ;)
<DouweM> Thanks
lfox has joined #ruby
noname001__ has quit [Read error: Operation timed out]
xk_id has joined #ruby
lfox has quit [Client Quit]
elux has quit [Remote host closed the connection]
SteveBenner9 has joined #ruby
elux has joined #ruby
bklane has quit [Remote host closed the connection]
randomnick_ has joined #ruby
Megtastique has quit []
pagioss is now known as pagios
mgberlin has joined #ruby
ss_ has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
Clooth has quit [Quit: Leaving...]
crapple has quit [Ping timeout: 248 seconds]
geggam has quit [Remote host closed the connection]
bigkevmcd has quit [Quit: Ex-Chat]
crapple has joined #ruby
gasbakid has joined #ruby
banister has joined #ruby
xbob has joined #ruby
dayepa has quit [Ping timeout: 246 seconds]
Czupa has joined #ruby
Txandy has quit [Quit: Leaving...]
osvico has joined #ruby
tjbiddle has joined #ruby
speakingMONEY has joined #ruby
ss_ has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
ambushsabre has joined #ruby
LexicalScope has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
yfeldblum has joined #ruby
Megtastique has joined #ruby
parduse has joined #ruby
dayepa has joined #ruby
Hanmac has joined #ruby
<viod1> what's the difference between Thing.stuff, Thing#stuff, and Thing::stuff, please ?
dayepa has quit [Remote host closed the connection]
dayepa has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
alx- has quit [Quit: Linkinus - http://linkinus.com]
gregoriokusowski has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
dayepa has quit [Remote host closed the connection]
mary5030 has joined #ruby
jonathanwallace1 has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
browndawg1 has quit [Quit: Leaving.]
shtirlic has joined #ruby
jamesaanderson has joined #ruby
xcthulhu has quit [Quit: xcthulhu]
shtirlic has quit [Client Quit]
kofno has joined #ruby
atmosx has quit [Quit: Lost in trance]
shtirlic has joined #ruby
<shevy> viod1 Thing.stuff is a class method
xcthulhu has joined #ruby
<shevy> Thing#stuff an instance method, on a per-object basis
dayepa has joined #ruby
<shevy> Thing::stuff is usually not needed
mikepack has joined #ruby
<shevy> but it should be a method call in this case
_Andres has joined #ruby
<shevy> >> class Thing; def self.stuff; puts 'stuff';end;end; Thing.stuff
<eval-in_> shevy => stuff ... (https://eval.in/79386)
<shevy> >> class Thing; def self.stuff; puts 'stuff';end;end; Thing::stuff
<eval-in_> shevy => stuff ... (https://eval.in/79387)
lfox has joined #ruby
<shevy> so use the . rather the ::
<viod1> ok, thanks :)
shtirlic has quit [Client Quit]
shtirlic has joined #ruby
dik_dak has quit [Quit: Leaving]
skaflem has quit [Ping timeout: 252 seconds]
<viod1> (this eval.in thing is quite nice, btw)
<Mon_Ouie> viod1: In ri notation (i.e. in documentation, not in code), Thing.stuff can be either a class or an instance method while Thing::stuff is explicitly a class method
relix has joined #ruby
dangerousdave has joined #ruby
<viod1> Ok!
<viod1> thanks!
Astralum has quit [Ping timeout: 252 seconds]
rootshift has joined #ruby
pushpak has joined #ruby
volty has joined #ruby
DrShoggoth has joined #ruby
kits2c22e has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
<kits2c22e> Is it a robot message?
<shevy> no
RoryHughes has quit []
<kits2c22e> sorry, It's my first time to use IRC. Nice to meet you, ~~
lfox has quit [Quit: ZZZzzz…]
ckinni has joined #ruby
Naoe-Kanno has quit [Ping timeout: 265 seconds]
petey has joined #ruby
RoryHughes has joined #ruby
|jemc| has joined #ruby
jmeeuwen_ has joined #ruby
nari has quit [Ping timeout: 252 seconds]
petey has quit [Remote host closed the connection]
xbob_ has joined #ruby
nowthatsamatt_ has joined #ruby
wildharvest_ has joined #ruby
petey has joined #ruby
tsykodukl has joined #ruby
mvangala has joined #ruby
elux has quit [Ping timeout: 265 seconds]
jamesaan_ has joined #ruby
rootshift has quit [Quit: rootshift]
gregoriokusows-1 has joined #ruby
pushpak_ has joined #ruby
shadoi has joined #ruby
justinmcp has joined #ruby
aryaching has joined #ruby
elux has joined #ruby
waxjar_ has joined #ruby
anomaly_ has joined #ruby
Rollabun_ has joined #ruby
yugui_zzz_ has joined #ruby
UForgotten_ has joined #ruby
_5kg_ has joined #ruby
kapowaz_ has joined #ruby
conceal_rs_____1 has joined #ruby
bluehavana__ has joined #ruby
invsblduck_ has joined #ruby
zastern_ has joined #ruby
cub1c_ has joined #ruby
Paradox has quit [Ping timeout: 240 seconds]
wildharvest has quit [Ping timeout: 240 seconds]
nick_h_ has joined #ruby
Guest14042 has quit [Ping timeout: 240 seconds]
zz_tsykoduk has quit [Ping timeout: 240 seconds]
waxjar has quit [Ping timeout: 240 seconds]
pushpak has quit [Ping timeout: 240 seconds]
nowthatsamatt has quit [Ping timeout: 263 seconds]
shaileshg__ has quit [Ping timeout: 263 seconds]
wildharvest_ is now known as wildharvest
nowthatsamatt_ is now known as nowthatsamatt
kapowaz__ has quit [Ping timeout: 263 seconds]
rezzack has quit [Ping timeout: 263 seconds]
jmeeuwen has quit [Ping timeout: 240 seconds]
ceej has quit [Ping timeout: 263 seconds]
gregoriokusowski has quit [Ping timeout: 240 seconds]
nick_h has quit [Ping timeout: 240 seconds]
Norrin has quit [Ping timeout: 240 seconds]
bluehavana_ has quit [Ping timeout: 240 seconds]
postmodern has quit [Ping timeout: 240 seconds]
ValicekB has quit [Ping timeout: 240 seconds]
kenichi has quit [Ping timeout: 240 seconds]
DarkFoxDK has quit [Ping timeout: 240 seconds]
conceal_rs_____0 has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Ping timeout: 240 seconds]
mr_snowf1ake has quit [Ping timeout: 240 seconds]
esing has quit [Ping timeout: 240 seconds]
threesome has quit [Ping timeout: 240 seconds]
shadoi1 has quit [Ping timeout: 240 seconds]
rurban has quit [Ping timeout: 240 seconds]
DuoSRX has quit [Ping timeout: 240 seconds]
sophomorical has quit [Ping timeout: 240 seconds]
mvangala_ has quit [Ping timeout: 240 seconds]
aspiers has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
DrShoggoth has quit [Ping timeout: 240 seconds]
xbob has quit [Ping timeout: 240 seconds]
gasbakid has quit [Ping timeout: 240 seconds]
freakazoid0223 has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
tharindu_ has quit [Ping timeout: 240 seconds]
aryaching_ has quit [Ping timeout: 240 seconds]
ItSANgo has quit [Ping timeout: 240 seconds]
Rollabunna has quit [Ping timeout: 240 seconds]
mityaz has quit [Ping timeout: 240 seconds]
blo has quit [Ping timeout: 240 seconds]
zastern has quit [Ping timeout: 240 seconds]
_5kg has quit [Ping timeout: 240 seconds]
Nightmare has quit [Ping timeout: 240 seconds]
aetaric has quit [Ping timeout: 240 seconds]
mjmac has quit [Ping timeout: 240 seconds]
justinmcp_ has quit [Ping timeout: 240 seconds]
anderson has quit [Ping timeout: 240 seconds]
Kruppe has quit [Ping timeout: 240 seconds]
Dwarf has quit [Ping timeout: 240 seconds]
psyprus has quit [Ping timeout: 240 seconds]
Sthebig has quit [Ping timeout: 240 seconds]
invsblduck has quit [Ping timeout: 240 seconds]
SirCmpwn has quit [Ping timeout: 240 seconds]
utkarsh_ has quit [Ping timeout: 240 seconds]
Styles has quit [Ping timeout: 240 seconds]
flagg0204 has quit [Ping timeout: 240 seconds]
sharms has quit [Ping timeout: 240 seconds]
yugui_zzz has quit [Ping timeout: 240 seconds]
hoelzro has quit [Ping timeout: 240 seconds]
UForgotten has quit [Ping timeout: 240 seconds]
yasu has quit [Ping timeout: 240 seconds]
cub1c has quit [Ping timeout: 240 seconds]
UForgotten_ is now known as UForgotten
ItSANgo_ has joined #ruby
mityaz has joined #ruby
roadt has quit [Ping timeout: 240 seconds]
tharindu_ has joined #ruby
bluehavana__ is now known as bluehavana_
kapowaz_ is now known as kapowaz__
xiphias has joined #ruby
utkarsh has joined #ruby
psyprus has joined #ruby
jrhorn424afk has joined #ruby
blo has joined #ruby
esing has joined #ruby
shaileshg__ has joined #ruby
freakazoid0223 has joined #ruby
Kruppe has joined #ruby
mbff_ has joined #ruby
rurban has joined #ruby
shaileshg__ has joined #ruby
Dwarf has joined #ruby
shaileshg__ has quit [Changing host]
sharms has joined #ruby
prakriti has joined #ruby
DarkFoxDK has joined #ruby
jmeeuwen_ is now known as jmeeuwen
mikepack has quit [Remote host closed the connection]
kenichi has joined #ruby
Sthebig has joined #ruby
yasu has joined #ruby
Norrin has joined #ruby
Emmanuel_Chanel has joined #ruby
hoelzro has joined #ruby
petey has quit [Ping timeout: 240 seconds]
esing has quit [Changing host]
esing has joined #ruby
brunto has quit [Ping timeout: 260 seconds]
Styles has joined #ruby
Nightmare has joined #ruby
aetaric has joined #ruby
ceej has joined #ruby
gasbakid has joined #ruby
postmodern has joined #ruby
Styles is now known as Guest59609
sophomorical has joined #ruby
DuoSRX has joined #ruby
Guest59609 has joined #ruby
Guest59609 has quit [Changing host]
flagg0204 has joined #ruby
postmodern has quit [Changing host]
postmodern has joined #ruby
SirCmpwn has joined #ruby
Nightmare has quit [Changing host]
Nightmare has joined #ruby
mjmac has joined #ruby
mr_snowf1ake has joined #ruby
Kruppe is now known as Guest30076
anderson has joined #ruby
aspiers has joined #ruby
mikepack has joined #ruby
SirCmpwn has quit [Changing host]
SirCmpwn has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
blo has quit [Changing host]
blo has joined #ruby
bedouin has quit [Ping timeout: 264 seconds]
brunto has joined #ruby
brunto has quit [Changing host]
brunto has joined #ruby
carraroj has joined #ruby
bedouin has joined #ruby
<shevy> kits2c22e hehe
<shevy> kits2c22e people idle to power on IRC
<shevy> some since decades
carraroj has quit [Changing host]
carraroj has joined #ruby
cads has joined #ruby
jamesaan_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketur_ has joined #ruby
Brolen has joined #ruby
Brolen has left #ruby [#ruby]
randomnick_ has quit [Quit: Leaving]
ValicekB_ has joined #ruby
zkc has quit [Quit: Leaving]
ValicekB_ is now known as ValicekB
timonv has joined #ruby
mikepack has quit [Remote host closed the connection]
_maes_ has joined #ruby
RoryHughes has quit []
mikepack has joined #ruby
psyl0n has quit [Remote host closed the connection]
threesome has joined #ruby
MrZYX|off is now known as MrZYX
timonv has quit [Ping timeout: 240 seconds]
jhaals has joined #ruby
carraroj has quit [Read error: Operation timed out]
timonv has joined #ruby
iliketu__ has joined #ruby
iliketur_ has quit [Ping timeout: 240 seconds]
kapowaz__ is now known as kapowaz
viod1 has quit [Read error: Operation timed out]
cflat has joined #ruby
psyl0n has joined #ruby
<pontiki> if we idle, it keeps the IRC going...
psyl0n has quit [Changing host]
psyl0n has joined #ruby
elux has quit [Quit: Bye!]
mojjojo has quit [Quit: mojjojo]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Paradox has joined #ruby
bklane has joined #ruby
Shidash has joined #ruby
RoryHughes has joined #ruby
Brolen has joined #ruby
anomaly_ has quit [Ping timeout: 256 seconds]
intuxicated has joined #ruby
brain_shim has quit [Ping timeout: 264 seconds]
timonv has quit [Remote host closed the connection]
intuxicated has quit [Max SendQ exceeded]
intuxicated has joined #ruby
primenum has quit [Ping timeout: 248 seconds]
TIJ has quit [Quit: Konversation terminated!]
s8p3 has joined #ruby
TIJ has joined #ruby
DeProdigy has joined #ruby
brtdv has quit []
Brolen has quit [Remote host closed the connection]
<shevy> anyone of you uses ruby to generate excel files?
jonathanwallace1 has quit [Ping timeout: 252 seconds]
Hanmac1 has joined #ruby
coca_rails has joined #ruby
<shevy> like, you have data from a cvs file, modify it, then wann store this... all from within ruby easily, without having to open any GUI
kits2c22e has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 252 seconds]
spider-mario has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
timonv has joined #ruby
jamesaanderson has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
_Andres has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
preller has quit [Ping timeout: 248 seconds]
Speed has left #ruby ["WeeChat 0.4.2"]
timonv has quit [Remote host closed the connection]
kits2c22e has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jezen has joined #ruby
flubba has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
Markvilla has joined #ruby
viod has joined #ruby
timonv has joined #ruby
buscon_ has joined #ruby
RoryHughes has quit []
phipes has joined #ruby
buscon_ has quit [Remote host closed the connection]
mbff_ is now known as mbff
mbff is now known as Guest91264
volty has quit [Ping timeout: 260 seconds]
jonr22 has joined #ruby
<shevy> Dir.glob() and Dir[] is the same or?
Megtastique has quit []
jhn has joined #ruby
agjacome has joined #ruby
TIJ has quit [Ping timeout: 240 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
IceDragon has quit [Ping timeout: 260 seconds]
mgberlin has quit [Quit: mgberlin]
IceDragon has joined #ruby
anomaly_ has joined #ruby
ace_striker_ has joined #ruby
cads has quit [Ping timeout: 260 seconds]
iliketu__ has quit [Quit: zzzzz…..]
viod has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
<Hanmac> shevy RI says no: Dir[ array ] => Equivalent to calling Dir.glob(array,0)
<shevy> hmmm
ehc has quit [Quit: ehc]
RoryHughes has joined #ruby
iliketur_ has joined #ruby
anomaly_ has quit [Ping timeout: 256 seconds]
jacobsmith has joined #ruby
dik_dak has joined #ruby
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
cflat has quit [Ping timeout: 265 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
preller has quit [Ping timeout: 245 seconds]
Azure has joined #ruby
predator217 has quit [Ping timeout: 240 seconds]
Lostmonk has quit [Ping timeout: 264 seconds]
kaiza has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
raphaelivan has joined #ruby
coca_rails has quit [Remote host closed the connection]
s8p3 has quit [Ping timeout: 245 seconds]
felixjet_ has joined #ruby
fella6s has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
vpretzel_ has joined #ruby
_Andres has joined #ruby
coca_rai_ has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
TIJ has joined #ruby
zipper has joined #ruby
moted_ has joined #ruby
bartj3 has quit [Ping timeout: 250 seconds]
bartj3_ has joined #ruby
bartj3_ is now known as bartj3
YOURBESTFRIEND has quit [Ping timeout: 250 seconds]
bvsh has quit [Ping timeout: 250 seconds]
mjc_ has quit [Read error: Connection reset by peer]
mjc_ has joined #ruby
bvsh has joined #ruby
TIJ has quit [Read error: Connection reset by peer]
jaredrhine has quit [Ping timeout: 250 seconds]
sawtooth has quit [Ping timeout: 250 seconds]
fella5s has quit [Ping timeout: 250 seconds]
moted has quit [Ping timeout: 250 seconds]
moted_ is now known as moted
xk_id has quit [Quit:
jaredrhine has joined #ruby
YOURBESTFRIEND has joined #ruby
timonv has quit [Remote host closed the connection]
lewellyn has quit [Ping timeout: 250 seconds]
vpretzel has quit [Ping timeout: 250 seconds]
oddalot has quit [Ping timeout: 250 seconds]
felixjet has quit [Ping timeout: 250 seconds]
sawtooth has joined #ruby
lewellyn has joined #ruby
oddalot has joined #ruby
preller has quit [Ping timeout: 252 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
jonathanwallace1 has joined #ruby
ryanstout has joined #ruby
TIJ has joined #ruby
TIJ has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
s_kilk has joined #ruby
gasbakid has quit [Read error: Operation timed out]
gasbakid_ has joined #ruby
predator117 has joined #ruby
diegoviola has joined #ruby
preller has joined #ruby
coca_rai_ has quit [Remote host closed the connection]
cmedeiros has quit [Ping timeout: 264 seconds]
jezen has quit [Remote host closed the connection]
rezzack has joined #ruby
dzan_ has joined #ruby
fijimunkii has quit [Ping timeout: 240 seconds]
predator117 has quit [Ping timeout: 260 seconds]
rezzack has quit [Client Quit]
trolling_ has joined #ruby
CaptainK1ots has joined #ruby
philtr_ has joined #ruby
peck__ has joined #ruby
existensil_ has joined #ruby
sumark_ has joined #ruby
slash_ni1k has joined #ruby
chiel_ has joined #ruby
mr_snowf1ake has quit [Ping timeout: 240 seconds]
Rennex_ has joined #ruby
threesome has quit [Read error: Operation timed out]
pu22l3r has quit [Remote host closed the connection]
philtr has quit [Ping timeout: 250 seconds]
CaptainKnots has quit [Ping timeout: 250 seconds]
trolling has quit [Ping timeout: 250 seconds]
peck_ has quit [Ping timeout: 250 seconds]
chiel has quit [Ping timeout: 250 seconds]
sumark has quit [Ping timeout: 250 seconds]
slash_nick has quit [Ping timeout: 250 seconds]
existensil has quit [Ping timeout: 250 seconds]
Andrevan has quit [Ping timeout: 250 seconds]
shevy has quit [Ping timeout: 250 seconds]
Rennex has quit [Ping timeout: 250 seconds]
thesheff17 has quit [Ping timeout: 250 seconds]
dzan has quit [Ping timeout: 250 seconds]
deryl has joined #ruby
vt102 has quit [Ping timeout: 250 seconds]
ddd has quit [Ping timeout: 250 seconds]
linduxed has quit [Ping timeout: 250 seconds]
Autochthon has joined #ruby
LexicalScope has quit [Ping timeout: 264 seconds]
thesheff17 has joined #ruby
ace_striker_ has quit [Ping timeout: 272 seconds]
linduxed has joined #ruby
vt102 has joined #ruby
esing has quit [Remote host closed the connection]
anomaly_ has joined #ruby
aranw has joined #ruby
<aranw> Hey can someone explain this code for me?
<aranw> def body?(body)
<aranw> !body.respond_to?(:to_path)
<aranw> end
s_kilk has quit [Quit: Leaving]
<DouweM> aranw: what about it are you having trouble with?
<DouweM> aranw: it's a method definition, a method call and a negation
SHyx0rmZ has joined #ruby
<ryanstout> it returns true if the argument "body" has a method .to_path
<aranw> Am a PHP dev but am trying to understand bits of ruby at moment and was wondering what that means
<ryanstout> (or the other way around)
<ryanstout> sorry, false if it has a .to_path method
atmosx has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aranw> ryanstout: ahhh :) ok thanks
<ryanstout> no prob
xk_id has joined #ruby
arietis has joined #ruby
Megtastique has joined #ruby
jacobsmith has quit [Ping timeout: 264 seconds]
shevy has joined #ruby
cmedeiros has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fijimunkii has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atmosx has quit [Quit: Lost in trance]
TIJ has joined #ruby
arietis has quit [Client Quit]
Lostmonk has joined #ruby
gja has quit [Ping timeout: 245 seconds]
carraroj has joined #ruby
sethen has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
ttlnowz has quit [Ping timeout: 252 seconds]
xcthulhu has quit [Quit: xcthulhu]
ttlnowz has joined #ruby
sethen has quit [Client Quit]
RoryHughes has quit []
sethen has joined #ruby
shedd has joined #ruby
sethen has quit [Client Quit]
<YOURBESTFRIEND> how do I gsub multiple times on a string without stepping on what has been gsub'd already?
kostine has joined #ruby
sethen has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
<MrZYX> >> "aa".gsub("a", "ab")
<eval-in_> MrZYX => "abab" (https://eval.in/79401)
kofno has joined #ruby
mgberlin has joined #ruby
<YOURBESTFRIEND> MrZYX: no, I mean, with multiple strings
x1337807x has joined #ruby
<MrZYX> >> "ab".gsub(/a|b/, "ab")
<eval-in_> MrZYX => "abab" (https://eval.in/79402)
preller has quit [Ping timeout: 264 seconds]
<YOURBESTFRIEND> multiple strings which all have their own replacement
<YOURBESTFRIEND> I have a hash of substitutions
<YOURBESTFRIEND> basically
<YOURBESTFRIEND> I want to apply them all but I don't want them to step on each other
<waxjar_> gsub does take a Hash, but it works a little weird.
sethen has quit [Client Quit]
deryl has quit [Quit: to perm set changes to FS]
<MrZYX> >> "ab".gsub(/a|b/, "a" => "ab", "b" => "ba")
<eval-in_> MrZYX => "abba" (https://eval.in/79403)
<YOURBESTFRIEND> yeah, I've seen that in the doc
<YOURBESTFRIEND> I don't understand it
predator117 has joined #ruby
sethen has joined #ruby
<YOURBESTFRIEND> >> "ab".gsub(/./, "a" => "ab", "b" => "ba")
<eval-in_> YOURBESTFRIEND => "abba" (https://eval.in/79404)
<YOURBESTFRIEND> >> "ab".gsub('', "a" => "ab", "b" => "ba")
<eval-in_> YOURBESTFRIEND => "ab" (https://eval.in/79405)
<DouweM> MrZYX: that's pretty interesting
kofno has quit [Ping timeout: 264 seconds]
<MrZYX> YOURBESTFRIEND: don't see a problem in the first one, the second one does nothing because "ab" doesn't match ""
peregrine81 has joined #ruby
<YOURBESTFRIEND> >> "nauisetarunisetnrausiteraustie".gsub(/./, 'nau' => 'iset', 'iset' => 'wat')
decoponio has quit [Quit: Leaving...]
<eval-in_> YOURBESTFRIEND => "" (https://eval.in/79406)
<YOURBESTFRIEND> that doesn't work
<MrZYX> yes, . doesn't match "nau"
flubba has quit [Remote host closed the connection]
preller has joined #ruby
ryanstout has left #ruby [#ruby]
<YOURBESTFRIEND> >> "nauisetarunisetnrausiteraustie".gsub(/.+/, 'nau' => 'iset', 'iset' => 'wat')
<eval-in_> YOURBESTFRIEND => "" (https://eval.in/79407)
preller has quit [Changing host]
preller has joined #ruby
flubba has joined #ruby
<DouweM> >> "nauisetarunisetnrausiteraustie".gsub(/(nau|iset)/, 'nau' => 'iset', 'iset' => 'wat')
<Hanmac> >> hash={'nau' => 'iset', 'iset' => 'wat'}; "nauisetarunisetnrausiteraustie".gsub(Regexp.union(hash.keys), hash)
<eval-in_> Hanmac => "isetwatarunwatnrausiteraustie" (https://eval.in/79408)
<eval-in_> DouweM => "isetwatarunwatnrausiteraustie" (https://eval.in/79409)
<YOURBESTFRIEND> >> "nauisetarunisetnrausiteraustie".gsub(/nau|iset/, 'nau' => 'iset', 'iset' => 'wat')
<DouweM> Hanmac: +1
<eval-in_> YOURBESTFRIEND => "isetwatarunwatnrausiteraustie" (https://eval.in/79410)
<Hanmac> DouweM: you may like Regexp.union ;P
<DouweM> Hanmac: I know it ;) was just too lazy to write out the whole hash
<MrZYX> hmpf, Hanmac beat me to it, too slow today :P
<YOURBESTFRIEND> wow, didn't know about Regex.union
<YOURBESTFRIEND> thanks guys
nowthatsamatt has joined #ruby
predator117 has quit [Ping timeout: 248 seconds]
bklane has quit [Remote host closed the connection]
LostMonk- has joined #ruby
clamstar has joined #ruby
predator117 has joined #ruby
carraroj has quit [Ping timeout: 260 seconds]
RoryHughes has joined #ruby
Lostmonk has quit [Ping timeout: 264 seconds]
flubba_ has joined #ruby
jonathanwallace1 has quit [Ping timeout: 240 seconds]
flubba has quit [Ping timeout: 245 seconds]
nowthatsamatt has quit [Client Quit]
PanPan has quit [Ping timeout: 252 seconds]
ddd has joined #ruby
mr_snowf1ake has joined #ruby
PanPan has joined #ruby
carraroj has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.1]
carraroj has quit [Client Quit]
vlad_starkov has joined #ruby
TIJ has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 265 seconds]
TIJ has joined #ruby
clamstar has quit [Quit: Computer has gone to sleep.]
sethen is now known as teenwolf
mikepack has quit [Remote host closed the connection]
peregrine81 has quit []
nouitfvf has joined #ruby
bklane has joined #ruby
tharindu_ has quit [Quit: Leaving...]
Clooth has joined #ruby
workmad3 has joined #ruby
aranw has quit [Remote host closed the connection]
predator117 has joined #ruby
LostMonk- has quit [Ping timeout: 252 seconds]
pu22l3r has joined #ruby
intuxicated has quit [Ping timeout: 252 seconds]
ckinni has joined #ruby
_Andres has quit [Ping timeout: 252 seconds]
withnale_ is now known as withnale
_Andres has joined #ruby
RoryHughes has quit []
flubba_ has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 252 seconds]
coca_rails has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fedesilva has quit [Remote host closed the connection]
primenum has joined #ruby
mikepack has joined #ruby
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 260 seconds]
marcgg has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
fedesilva has joined #ruby
nowthatsamatt has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
neonlex has joined #ruby
nowthatsamatt has quit [Client Quit]
flubba has joined #ruby
dunc_ has joined #ruby
dunc_ is now known as dunckr
akonny has quit [Quit: akonny]
ua has joined #ruby
juarlex_ has joined #ruby
juarlex has quit [Ping timeout: 248 seconds]
anomaly_ has quit [Ping timeout: 256 seconds]
lewix has joined #ruby
drumusician has joined #ruby
jonr22 has joined #ruby
sayan has quit [Quit: Leaving]
jezen has joined #ruby
L8D has quit [Ping timeout: 260 seconds]
dwgill has joined #ruby
randomnick_ has joined #ruby
predator117 has joined #ruby
peregrine81 has joined #ruby
dwgill has quit [Client Quit]
TIJ has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
TIJ has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
moppersmurf has joined #ruby
Konst has joined #ruby
culturel_ has joined #ruby
Advocation has joined #ruby
RoryHughes has joined #ruby
dangerousdave has joined #ruby
Revokee has joined #ruby
banghouse2 has joined #ruby
xcthulhu has joined #ruby
dangerousdave has quit [Client Quit]
nowthatsamatt has joined #ruby
|jemc| has quit [Ping timeout: 260 seconds]
agent_white has quit [Quit: Lost terminal]
juarlex_ has quit []
Megtastique has quit []
vlad_starkov has quit [Remote host closed the connection]
gianlucadv has quit [Ping timeout: 260 seconds]
relix has joined #ruby
coca_rails has quit [Ping timeout: 245 seconds]
relix has quit [Max SendQ exceeded]
relix has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
phansch has joined #ruby
aryaching_ has joined #ruby
Konst has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 240 seconds]
Czupa has quit [Remote host closed the connection]
timonv has joined #ruby
maletor has joined #ruby
lukec has joined #ruby
flubba has quit [Remote host closed the connection]
Jetchisel has joined #ruby
flubba has joined #ruby
reach has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
shedd has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 264 seconds]
skaflem has joined #ruby
skaflem has quit [Client Quit]
flubba has quit [Ping timeout: 252 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jibi has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
plotter has quit [Remote host closed the connection]
banister has joined #ruby
yfeldblum has joined #ruby
cbetta_afk is now known as cbetta
peregrine81 has quit []
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pushpak_ has quit [Quit: Linkinus - http://linkinus.com]
Azure has joined #ruby
snql has joined #ruby
culturel_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaanderson has joined #ruby
timonv has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
preller has quit [Ping timeout: 248 seconds]
Konst has joined #ruby
jamesaanderson has joined #ruby
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
zipper has quit [Quit: leaving]
banister has joined #ruby
preller has joined #ruby
<snql> hi, I need to generate random data with zipcode, correct phonecode and building's address. advise me, how to implement it easier
lkba has quit [Ping timeout: 240 seconds]
iliketur_ has joined #ruby
lukec has quit [Quit: lukec]
zipper has joined #ruby
<snql> there is special gem for task?
<speakingMONEY> j/join #rubyonrails
<speakingMONEY> whoops
Megtastique has joined #ruby
speakingMONEY is now known as speakingcode
ohcibi_ is now known as ohcibi
eka has quit [Quit: Computer has gone to sleep.]
anomaly_ has joined #ruby
<DouweM> siaW: you need that glyphicons-halflings.png in your project
<DouweM> whoops
Azure has joined #ruby
benlieb has joined #ruby
coca_rails has joined #ruby
<dunckr> j/join #rubyonrails
<dunckr> whoops
Megtastique has quit []
phansch has quit [Quit: Leaving]
RoryHughes has quit []
anomaly_ has quit [Ping timeout: 256 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
predator117 has quit [Ping timeout: 252 seconds]
iliketur_ has quit [Ping timeout: 265 seconds]
b00stfr3ak has joined #ruby
trolling_ is now known as trolling
saragojo has joined #ruby
miguelcma has joined #ruby
coca_rails has quit [Ping timeout: 245 seconds]
miguelcma has left #ruby [#ruby]
saragojo has left #ruby [#ruby]
iliketur_ has joined #ruby
saragojo has joined #ruby
anomaly_ has joined #ruby
marr has joined #ruby
gigetoo has quit [Remote host closed the connection]
lkba has joined #ruby
siwica has joined #ruby
gigetoo has joined #ruby
mmcdaris has joined #ruby
mmcdaris has quit [Client Quit]
lfox has joined #ruby
neonlex has quit [Ping timeout: 264 seconds]
saragojo has quit [Remote host closed the connection]
neonlex has joined #ruby
saragojo has joined #ruby
Tamal has joined #ruby
shredding has joined #ruby
Tamal has quit [Client Quit]
eka has joined #ruby
kofno has joined #ruby
saragojo has quit [Read error: Connection reset by peer]
saragojo has joined #ruby
eka has quit [Ping timeout: 240 seconds]
kofno has quit [Ping timeout: 240 seconds]
vt102 has quit [Remote host closed the connection]
predator117 has joined #ruby
saragojo has quit [Read error: No route to host]
lfox has quit [Ping timeout: 240 seconds]
saragojo has joined #ruby
eka has joined #ruby
anomaly_ has quit [Read error: Connection reset by peer]
anomaly__ has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
volty has joined #ruby
mr_snowf1ake has quit [Ping timeout: 240 seconds]
TripleDES has joined #ruby
Konst has quit [Ping timeout: 240 seconds]
snql has quit [Ping timeout: 265 seconds]
mikepack has quit [Remote host closed the connection]
Konst has joined #ruby
* coldmethod sipping coffee with attr_accessors
shredding has quit [Quit: shredding]
preller has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
charliesome has quit [Client Quit]
aerook has quit [Quit: Page closed]
gregoriokusows-1 has quit [Quit: gregoriokusows-1]
jle` has joined #ruby
lukec has joined #ruby
m8 has quit [Quit: Sto andando via]
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
TIJ has quit [Quit: Konversation terminated!]
peregrine81 has joined #ruby
preller has joined #ruby
dik_dak has quit [Quit: Leaving]
gigetoo has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
scruple has joined #ruby
gigetoo has joined #ruby
claymore has quit [Quit: Leaving]
benlieb has quit [Quit: benlieb]
Shidash has quit [Ping timeout: 264 seconds]
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
scruple has quit [Client Quit]
preller has quit [Ping timeout: 240 seconds]
Advocation has quit [Quit: Advocation]
mikepack has quit [Remote host closed the connection]
Shidash has joined #ruby
<shevy> :P
<shevy> j/join #rubyonrails
anomaly__ has quit [Remote host closed the connection]
shuvarek has joined #ruby
<shevy> what is Regexp.union
djdarkbeat has quit [Read error: Connection reset by peer]
anomaly_ has joined #ruby
<DouweM> shevy: look it up, you should know about ruby-doc.org by now :P
culturel_ has quit [Remote host closed the connection]
<shevy> what is Regexp.union
<DouweM> shevy: it takes an array, and turns it into a Regexp that would match for any of the values in the array. Basically joins them with "|", so you get /a|b/ for ["a", "b"]
<shevy> hmmmmmmmm
sepp2k has quit [Ping timeout: 265 seconds]
sepp2k has joined #ruby
<shevy> odd
<shevy> that is a useful thing to have?
preller has joined #ruby
<shevy> >> Regexp.union ["a", "b"]
<eval-in_> shevy => /a|b/ (https://eval.in/79423)
<shevy> >> Regexp.union(["a", "b"]).class
<eval-in_> shevy => Regexp (https://eval.in/79425)
shedd has joined #ruby
<shevy> I don't think I have used it before
<shevy> ruby has so many things to know
<DouweM> shevy: it is useful! Hanmac was using it earlier
fedesilva has quit [Read error: Connection reset by peer]
RoryHughes has joined #ruby
Jetchisel has quit [Ping timeout: 260 seconds]
<shevy> ok but Hanmac is using lots of crazy things all the time
saragojo has quit [Remote host closed the connection]
<shevy> rather than finishing the wxwidget bindings :<
charliesome has joined #ruby
zipper has quit [Ping timeout: 248 seconds]
saragojo has joined #ruby
fedesilva has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM> haha
rburton- has joined #ruby
<shevy> DouweM did you use Regexp.union in your code so far?
shedd has quit [Ping timeout: 245 seconds]
<DouweM> shevy: I did, although I don't remember what for. Let me check if it's in our current app
<DouweM> nope
<shevy> how people know these things...
saragojo has quit [Remote host closed the connection]
<DouweM> I can't be the only one who reads through Ruby implementations for fun
jonr22 has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
saragojo has joined #ruby
LexicalScope has joined #ruby
unstable has joined #ruby
unstable has left #ruby [#ruby]
<shevy> heeh
Rollabun_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> huh... what do you know
<shevy> another guy has already forked ruby fpdf https://github.com/bollenberger/fpdf
jonr22 has quit [Ping timeout: 245 seconds]
kostine has quit [Quit: kostine]
coca_rails has joined #ruby
TripleDES has quit [Ping timeout: 240 seconds]
TripleDES has joined #ruby
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
Rollabunna has joined #ruby
<shevy> I am so dumb
<shevy> that's the original author
Jetchisel has joined #ruby
vpretzel_ has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
jibi has quit [Quit: .]
Clooth has quit [Quit: Linkinus - http://linkinus.com]
raphaelivan has quit [Quit: Leaving.]
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
kaiza has quit [Ping timeout: 245 seconds]
jacobsmith has joined #ruby
ambushsabre has joined #ruby
cescalante is now known as ce_afk
MrZYX is now known as MrZYX|off
fedesilv_ has joined #ruby
fedesilva has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby
neonlex has quit [Quit: leaving]
brain_shim has joined #ruby
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
aryaching_ has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
brain_shim has quit [Max SendQ exceeded]
pmurias has left #ruby [#ruby]
s2013 has quit [Remote host closed the connection]
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
kaiza has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
<shevy> wow
<shevy> function Header() { global $title;
<shevy> isn't PHP beautiful?
<DouweM> :)
kostine has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> you actually have to use that
<shevy> but the php fpdf is actually cool
Shidash has quit [Ping timeout: 264 seconds]
Thanatermesis has quit [Ping timeout: 256 seconds]
<DouweM> In Ruby, Prawn is a pretty popular PDF lib
_Andres has joined #ruby
<shevy> hmm
rburton- has quit [Quit: Linkinus - http://linkinus.com]
Thanatermesis has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
<jrobeson> shevy, i can't imagine writing php code like that
primenum has quit [Ping timeout: 240 seconds]
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
peregrine81 has quit []
coca_rails has quit [Ping timeout: 245 seconds]
saragojo has quit [Remote host closed the connection]
Konst2 has joined #ruby
bklane has quit [Remote host closed the connection]
saragojo has joined #ruby
s2013 has joined #ruby
drumusician has quit [Read error: Operation timed out]
Konst has quit [Ping timeout: 240 seconds]
Zesty has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nfk has quit [Quit: yawn]
kirun has quit [Quit: Client exiting]
iliketur_ has quit [Quit: zzzzz…..]
timonv has quit [Remote host closed the connection]
nfk has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
saragojo has quit [Read error: Connection reset by peer]
saragojo has joined #ruby
nfk has quit [Remote host closed the connection]
atno has joined #ruby
justinxreese has quit [Ping timeout: 246 seconds]
nfk has joined #ruby
atno has quit [Remote host closed the connection]
Es0teric has joined #ruby
atno has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
tjbiddle has quit [Read error: Connection reset by peer]
colonolGron has joined #ruby
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
jonr22 has joined #ruby
momomomomo has joined #ruby
jonr22 has quit [Client Quit]
jacobsmith has quit [Ping timeout: 265 seconds]
<RubyPanther> however you imagine doing it, it's dystopic
xbob_ has quit [Quit: Leaving]
<teenwolf> Want to layout grids on the fly and quickly? There's now an awesome SASS tool that will let you do that: http://tinyurl.com/k2ugj4l
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
pwh has joined #ruby
<shevy> jrobeson I found it by reading the FAQ of php-fpdf
charliesome has joined #ruby
<jle`> i am not included to click on unsolicited tinyurl's
<jrobeson> lol.. how old is that.. there's gotta be a better tool than that now..
<shevy> hmm it works on php 4 and php 5
<DouweM> teenwolf: please don't do that
emocakes has joined #ruby
and0 has quit [Quit: Connection closed for inactivity]
emocakes has quit [Client Quit]
rubyracer has quit [Quit: Konversation terminated!]
Shidash has joined #ruby
<jle`> *inclined
mr_snowf1ake has joined #ruby
Shidash has quit [Client Quit]
saragojo has quit [Remote host closed the connection]
<shevy> *interested
<shevy> :D
saragojo has joined #ruby
<shevy> let's BBQ teenwolf
Txandy|away has joined #ruby
xk_id has quit [Quit:
kitak has joined #ruby
cbetta is now known as cbetta_afk
jezen has quit []
xk_id has joined #ruby
jacobsmith has joined #ruby
mengu has joined #ruby
paxcoder has joined #ruby
<paxcoder> blah
paxcoder has left #ruby ["kewl"]
Mon_Ouie has quit [Read error: Connection reset by peer]
<jrobeson> shevy, if something sitll works on php 4 it's likely not even worth using
saragojo has quit [Remote host closed the connection]
<shevy> hehe
<jrobeson> honestly anything that still works on 5.2 is trash to me
saragojo has joined #ruby
narcan has joined #ruby
kostine has quit [Quit: kostine]
pu22l3r has quit [Remote host closed the connection]
<jrobeson> if it uses classes anyways
whysosad has quit [Ping timeout: 248 seconds]
kostine has joined #ruby
momomomomo has quit [Quit: momomomomo]
Yarou has quit [Quit: Leaving]
jkhwan has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
kofno has joined #ruby
rumours has quit [Quit: ZNC - http://znc.in]
saragojo has quit [Remote host closed the connection]
saragojo has joined #ruby
lukec has quit [Ping timeout: 240 seconds]