apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
mary5030 has joined #ruby
marr has quit []
jason_ has quit [Ping timeout: 240 seconds]
jorts has quit [Quit: jorts]
snath has quit [Ping timeout: 265 seconds]
sski has quit [Remote host closed the connection]
<wallerdev> ocke: different ruby versions
predator117 has quit [Ping timeout: 240 seconds]
flowerhack has quit [Quit: Connection closed for inactivity]
sski has joined #ruby
<wallerdev> i think arg2:value syntax was added in ruby 1.9
karmatr0n has joined #ruby
dstynchula has quit []
platzhirsch has left #ruby [#ruby]
<havenwood> ocke: Ruby 1.8 is past End-of-Life. Move to 2.1.1, 2.0 or at least 1.9 if you can.
rainmanjam has quit [Remote host closed the connection]
Lightstalker has quit [Ping timeout: 240 seconds]
DrCode has quit [Ping timeout: 272 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Ping timeout: 246 seconds]
sailias has joined #ruby
bufferloss has joined #ruby
cpruitt has quit [Quit: cpruitt]
<havenwood> ocke: you might google for "hash rocket" and "1.9 hash syntax"
charliesome has joined #ruby
quazi has joined #ruby
<zorak> hi, can somebody help me with this code?
Lightstalker has joined #ruby
sski has quit [Ping timeout: 240 seconds]
<zorak> the problem is that in the book, the writter use ruby 1.8.7 and in line 25, he gets 97 from 'a'[0]
<havenwood> >> 'a'.ord
<eval-in> havenwood => 97 (https://eval.in/134097)
DrCode has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
<zorak> in new versions i need 'a'[0].ord to get 97
<havenwood> >> 97.chr
<eval-in> havenwood => "a" (https://eval.in/134098)
<zorak> but this mess up with the code
<zorak> and i dont know how to fix it
<davidz_> woah
<davidz_> thats neat
aspires has joined #ruby
<zorak> in this line (128)
<zorak> alphabet_index = (original_char[0] + variance - LETTER_OFFSET)
<wallerdev> >> [97].pack('C')
<eval-in> wallerdev => "a" (https://eval.in/134099)
<zorak> maybe if i add .ord to original_char[0]
<zorak> ???
<havenwood> zorak: you want it to work in 1.9+ and 1.8- or just port to modern?
dfedde has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
<zorak> i doing this book "in the hard way"
<ocke> havenwood: a thx man
<ocke> I will update ruby!
<havenwood> ocke: \o/
<ocke> it's indeed on 1.8.7
<zorak> i want it to run, and if i can make it run with a modern ruby, much better
<havenwood> zorak: replace `'a'[0]` with `'a'.ord` and replace `original_char[0]` with `original_char.ord` etc
<zorak> havenwood: just tried and dont work
sambao21 has joined #ruby
dfedde has joined #ruby
<wallerdev> original_char[0].ord
<havenwood> ^
<havenwood> zorak: you might want to switch to a modern Ruby tutorial! :P
<havenwood> zorak: also be warned that "The Hard Way" is quite often not idiomatic Ruby
<bufferloss> zorak, like this one http://www.codecademy.com/tracks/ruby
tcstar has quit [Read error: Connection reset by peer]
<bufferloss> ruby is about doing things "the easy way" :)
mercwithamouth has joined #ruby
<zorak> bufferloss: already did the code academy course
_sambao21 has joined #ruby
toastynerd has joined #ruby
<Dysruption> zorak: http://rubykoans.com/
jbzt has joined #ruby
cescalante is now known as ce_afk
hiall has quit [Quit: hiall]
sambao21 has quit [Ping timeout: 240 seconds]
<havenwood> zorak: not to say it isn't worth doing! but yeah, Ruby 2.1.1 is lovely and 1.9.2-and-before are end-of-life.
<zorak> havenwood: looks like work with original_char[0].ord but i have other problems, go to check if can solved them
_sambao21 has quit [Client Quit]
sambao21 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
hiall has joined #ruby
<zorak> => "xkmokitpofenlibeykhfezl"
<zorak> [2] pry(main)> candidate.mutate_until_matches!()
<zorak> NoMethodError: undefined method `-' for "x":String
<zorak> from ~/methinks.rb:42:in `block in deviance_from'
<zorak> string #0 = xkmokitpofenlibeykhfezl
<wallerdev> forgot .ord
karmatr0n has joined #ruby
kreisys has quit [Read error: Connection reset by peer]
ce_afk is now known as cescalante
nateberkopec has quit [Quit: Leaving...]
circuit has quit [Quit: leaving]
<davidz_> too many mainstream news sites misreporting the openssl bug
* davidz_ sigh
vasilakisFiL has quit [Remote host closed the connection]
mjuszczak has joined #ruby
<wallerdev> what did you expect
<zorak> i think the problem is the .abs method
<wallerdev> im sure they dont understand what openssl even is
x1337807x has joined #ruby
<zorak> is trying to use .abs in a string
meatherly has quit [Remote host closed the connection]
<wallerdev> well the error you posted says the issue is with the minus method
<davidz_> wallerdev idk, it just bugs me when the sales department come up here trying to warn me of the issue
<wallerdev> trying to use it on the string "x"
<davidz_> and i know this is because they read it on cnn or something
<davidz_> or w/e they use
<wallerdev> davidz_: well they're just trying to be helpful, maybe you hadn't heard yet :p
testcore has quit [Quit: BitchX: it's all day strong, all day long]
fabrice31 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<davidz_> yeah i guess so
<davidz_> :P
snath has joined #ruby
lolmaus has quit [Ping timeout: 250 seconds]
<zorak> solved!
oo_ has joined #ruby
bufferloss has quit [Quit: Leaving]
<zorak> deviance += (self[index].ord - target[index].ord).abs
<zorak> add .ord to self[index] and target[index]
<shevy> ewww
<shevy> havenwood the hard way is quite often not idiomatic ruby? how do you know? (I dont know myself because I did not look at it hehehe)
cpruitt has joined #ruby
quazi has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 240 seconds]
hiall has quit [Ping timeout: 240 seconds]
mrmargolis has joined #ruby
ocher has quit [Ping timeout: 255 seconds]
cpruitt has quit [Client Quit]
ocher has joined #ruby
edwardly has quit [Remote host closed the connection]
hiall has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alyi has joined #ruby
<havenwood> shevy: i was running through the python and C hard ways, and couldn't help but take a glance at ruby :P
cpruitt has joined #ruby
<wallerdev> just add this to the top of your file zorak class String; alias_method :old_index, :[]; def [](i); old_index(i).ord; end; end
patrickst1 has joined #ruby
<wallerdev> problem solved lol
karmatr0n has quit [Remote host closed the connection]
habanany has joined #ruby
edwardly has joined #ruby
habanany has quit [Max SendQ exceeded]
<zorak> wallerdev: thank you, already solved adding some .ord's
ascarter has joined #ruby
michaeldeol has joined #ruby
oo_ has quit [Remote host closed the connection]
subbyyy_ has quit [Ping timeout: 240 seconds]
funburn has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Client Quit]
lukec has quit [Quit: lukec]
alyi has quit [Ping timeout: 246 seconds]
patrickst1 has left #ruby [#ruby]
taf2 has joined #ruby
cpruitt has quit [Quit: cpruitt]
badhatter has joined #ruby
toretore has quit [Read error: Connection reset by peer]
sski has joined #ruby
toretore has joined #ruby
jason_ has joined #ruby
alexju has quit [Remote host closed the connection]
cescalante is now known as ce_afk
Bumptious has joined #ruby
chrisseaton has quit []
cpruitt has joined #ruby
toastynerd has quit [Remote host closed the connection]
jbzt has quit [Quit: jbzt]
Bumptious has quit [Remote host closed the connection]
RyanV has joined #ruby
benzrf|offline is now known as benzrf
<benzrf> hej da
sambao21 has quit [Quit: Computer has gone to sleep.]
cpruitt has quit [Client Quit]
markisonfire has quit [Quit: markisonfire]
megaputer has joined #ruby
MatthewsFace has joined #ruby
<havenwood> hey
guyz has quit [Quit: quit]
davy has joined #ruby
sambao21 has joined #ruby
jxf has quit [Ping timeout: 246 seconds]
Es0teric has joined #ruby
MatthewsFace has quit [Client Quit]
maletor has joined #ruby
RyanV has quit [Ping timeout: 246 seconds]
Kricir has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
<benzrf> dev on quick has been semi-halted while i get help from the creators of dmtcp
<benzrf> ¬_¬
<benzrf> this HIGHLY-RELEVANT-TO-UR-INTERESTS NEWS BULLETIN has been brought to you by megaputer
<benzrf> *ME
centrx has quit [Quit: All this computer hacking is making me thirsty]
megaputer has left #ruby [#ruby]
nateberkopec has joined #ruby
davy has quit [Ping timeout: 246 seconds]
meatherly has joined #ruby
megaputer has joined #ruby
SCommette has quit [Quit: SCommette]
oo_ has joined #ruby
pu22l3r has joined #ruby
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
nari has joined #ruby
jameswlane has joined #ruby
jameswlane has quit [Max SendQ exceeded]
iliketurtles has quit [Quit: zzzzz…..]
jameswlane has joined #ruby
sputnik13 has quit [Ping timeout: 240 seconds]
rm-rf-etc has quit [Ping timeout: 240 seconds]
dorei has quit []
njs126 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
toretore has quit [Quit: Leaving]
jbzt has joined #ruby
jbzt has quit [Client Quit]
RowdyChildren is now known as RowdyChild|Away
hooper has joined #ruby
SidWu_ has joined #ruby
SidWu_ has quit [Max SendQ exceeded]
jamto11 has joined #ruby
ffranz has quit [Quit: Leaving]
jxf has joined #ruby
hjlsteffens has joined #ruby
noob101 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
hjlsteffens has quit []
Hobogrammer has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lukec has joined #ruby
userx has quit [Ping timeout: 240 seconds]
razrunelord has quit []
aspires has quit []
ffranz has joined #ruby
cpruitt has joined #ruby
jack_rabbit has joined #ruby
Dysruption has quit [Quit: Dysruption]
blackavr has quit [Ping timeout: 246 seconds]
afex has quit [Ping timeout: 240 seconds]
psyko666 has joined #ruby
saarinen has quit [Quit: saarinen]
Hamburglr has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
tkuchiki has joined #ruby
chipotle_ has quit [Quit: cya]
ce_afk is now known as cescalante
chipotle has joined #ruby
thrillagorilla has joined #ruby
sent-hil has joined #ruby
Megtastique has quit []
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
werdnativ has joined #ruby
Bumptious has joined #ruby
toastynerd has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
johnhamelink has quit [Quit: PanicBNC - https://PanicBNC.net]
werdnativ has quit [Client Quit]
chipotle has quit [Ping timeout: 250 seconds]
<shevy> benzrf damn man
<shevy> I see you are on a GEM EXPLOSION run as of late
<benzrf> wat
RowdyChild|Away is now known as RowdyChildren
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Klumben has joined #ruby
Deele has quit [Ping timeout: 255 seconds]
Kricir has joined #ruby
Dysruption has joined #ruby
enebo has quit [Quit: enebo]
Celm has quit [Remote host closed the connection]
dseitz has joined #ruby
mrmargolis has quit [Remote host closed the connection]
digifiv5e has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
digifiv5e is now known as Guest37155
MatthewsFace has joined #ruby
alyi has joined #ruby
johnhamelink has joined #ruby
angoragoats has joined #ruby
Speed has quit [Ping timeout: 246 seconds]
jorts has joined #ruby
cescalante is now known as ce_afk
mostlybadfly has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ghr has joined #ruby
MatthewsFace has quit [Client Quit]
jorts has quit [Client Quit]
habanany1 has joined #ruby
papercode has quit [Quit: WeeChat 0.4.4-dev]
papercode has joined #ruby
vt102 has quit [Remote host closed the connection]
mrmargolis has joined #ruby
alyi has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
jrhe has quit [Quit: Connection closed for inactivity]
tcstar has joined #ruby
`MArceLL` has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
geggam has quit [Remote host closed the connection]
ascarter has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
combusean has joined #ruby
voglster has joined #ruby
* noob101 kisses ruby
<noob101> I love you ruby
winny has left #ruby ["Textual IRC Client: www.textualapp.com"]
<benzrf> noob101: congratulations on not accidentally tab-completing to RubyPanther
<noob101> Huh?
<combusean> hey benzrf :)
<noob101> Hello benzrf, we meet again.
`MArceLL` has joined #ruby
jason_ has quit [Remote host closed the connection]
jason_ has joined #ruby
<benzrf> thx for the praise combusean
<combusean> which?
<combusean> oh yes, :)
<noob101> I have an issue irrelevant from ruby but I really need help. Can I still ask? :(
<benzrf> noob101: why not
<benzrf> worst case we direct u elsewhere
<wallerdev> #lifeadvice
<combusean> haha
<combusean> hey wallerdev
<wallerdev> hello
<noob101> Ok so I am getting a job in the summer time. I am 16. I am trying to delete a youtube channel but it won't delete
goleldar has quit [Remote host closed the connection]
<wallerdev> good luck, google has you forever
<noob101> I don't know the password or email but I know he username because it was my name
<noob101> Please help me ;_;, I tried contacting their number, google searching everything I swear password recovery
RyanV has joined #ruby
RyanV has quit [Client Quit]
<combusean> wallerdev, thanks for the job lead the other day...i'm employed now but everything is temporary and the interviews were killing me
<wallerdev> write a ruby script to bruteforce passwords you mightve used
<noob101> I tried everything please spare my soul. It's so hard, I don't know what to do.
davy has joined #ruby
<noob101> wallerdev, I am a beginner. I don't know what you mean by that.
UForgotten has quit [Changing host]
UForgotten has joined #ruby
<wallerdev> combusean: what'd i even send you haha
Hanmac has joined #ruby
alexju has joined #ruby
* noob101 hugs havenwood
<noob101> thank you
<havenwood> noob101: if you for some reason you really can't access the account, you could file a DMCA takedown request
UForgotten has quit [Changing host]
UForgotten has joined #ruby
<combusean> oh you mentioned that you knew of a javascript position in SF I believe
RowdyChildren is now known as RowdyChild|Away
<wallerdev> ohh
<wallerdev> cool
<noob101> You saved my live havenwood, now they might not see my naughty Youtube page. (.")_(.")
habanany1 has quit [Quit: habanany1]
<havenwood> i'm violating my own copywrite!
<noob101> lol
<wallerdev> noob101: everything you do online is there forever
<noob101> That's not fair.
<combusean> ooo
<combusean> I wanna see the naughty youtube page
<noob101> Noooooo please it's a secret
<combusean> you have to tell
<combusean> channel rules
Hanmac1 has quit [Ping timeout: 240 seconds]
<wallerdev> youtube.com/user/noob101
<combusean> or else you'll get sued by freenode and #ruby.
danijoo has joined #ruby
<combusean> j/k
<wallerdev> anyway i guess this issue stems from the fact that youtube insists you use your real name now
freerobby1 has joined #ruby
<wallerdev> my advice: apply for a summer internship at google and delete your account from the inside
nateberkopec has joined #ruby
<noob101> yeaaah I was thinking about that idea but eh, I don't know I already have a summer internship.
<noob101> I don't know where though, I am getting the internship through PENCIL Fellows, it's a program for teens.
davy has quit [Ping timeout: 246 seconds]
x1337807x has joined #ruby
northfurr has joined #ruby
phutchins has joined #ruby
freerobby has quit [Ping timeout: 250 seconds]
<noob101> havenwood, I am waiting for an email to see if I can find the info for that google+ account I don't know the pass or email too.
<noob101> Once I find the pass+email to my google+ account then I can delete that youtube page and the google+ page forever
<noob101> hopefully ;_;
<wallerdev> anyway time for me to head home
<wallerdev> later
<combusean> bye wallerdev
<noob101> bye bye thanks for stopping bye wallerdev
zachallett has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
nateberkopec has quit [Ping timeout: 240 seconds]
angoragoats has quit [Quit: angoragoats]
<noob101> If I show you my youtube page can you guys help me take it down?
<Dysruption> not really anything we can do that you can't...
<havenwood> noob101: https://www.youtube.com/copyright_complaint_form and choose "Copyright infringement", then carefully follow instructions
<noob101> Oh ok thanks, I couldn't successfully do the first thing you told me.
baroquebobcat has joined #ruby
Celm has joined #ruby
mrmargolis has quit [Remote host closed the connection]
dfedde has quit [Remote host closed the connection]
<noob101> havenwood which one should I pick after I pick copyright infringement?
tjr9898 has quit [Remote host closed the connection]
<noob101> "I am!"
<noob101> "My company, organization, or client"
dukz has joined #ruby
northfurr has left #ruby [#ruby]
<noob101> or " Another copyright owner"
tjr9898 has joined #ruby
Nightmare has quit [Quit: DDoS has died, DDoS has risen, DDoS comin' again]
northfurr has joined #ruby
MrL0ngbowman has joined #ruby
RowdyChild|Away is now known as RowdyChildren
northfurr has left #ruby [#ruby]
rafaelmagu has joined #ruby
northfurr has joined #ruby
RowdyChildren is now known as RowdyChild|Away
afex has joined #ruby
bluehavana has joined #ruby
Nightmare has joined #ruby
dukz has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
MrL0ngbowman has quit [Read error: Connection reset by peer]
reset has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
dik_dak has quit [Quit: Leaving]
thomasxie has joined #ruby
pu22l3r has quit [Remote host closed the connection]
x1337807x has quit [Client Quit]
x1337807x has joined #ruby
Dysruption has quit [Quit: Dysruption]
fgo has joined #ruby
dapz has joined #ruby
voglster has quit [Ping timeout: 250 seconds]
maletor has joined #ruby
fabrice31 has joined #ruby
thomasxie has quit [Quit: Leaving.]
<havenwood> I am!
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> Then you have the right to object to the takedown notice you filed against yourself with a counter-notification.
thomasxie has joined #ruby
dapz has quit [Client Quit]
radic has quit [Ping timeout: 240 seconds]
<havenwood> (Don't.)
radic has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
havenwood has quit []
jaimef has quit [Excess Flood]
Megtastique has joined #ruby
<noob101> havenwood are you there
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mozzarella> shevy: brah?
phoo1234567 has quit [Remote host closed the connection]
afex has quit [Ping timeout: 240 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
deric_skibotn has quit [Ping timeout: 240 seconds]
jaimef has joined #ruby
fumk has quit [Remote host closed the connection]
drago777 has quit [Remote host closed the connection]
browndawg has joined #ruby
mrsolo has joined #ruby
baroquebobcat_ has joined #ruby
baroquebobcat has quit [Ping timeout: 240 seconds]
baroquebobcat_ is now known as baroquebobcat
phutchins has quit [Ping timeout: 240 seconds]
alexju_ has joined #ruby
alexju has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
Hobogrammer has joined #ruby
blackavr has joined #ruby
alexju_ has quit [Remote host closed the connection]
alyi has joined #ruby
cjbottaro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
linojon has quit [Quit: linojon]
awc737 has joined #ruby
linojon has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
chrisja has quit [Quit: leaving]
xjiujiu has joined #ruby
alyi has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
megaputer has left #ruby [#ruby]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has joined #ruby
jzigmund has quit [Ping timeout: 264 seconds]
Kricir has joined #ruby
Celm has quit [Remote host closed the connection]
fumk has joined #ruby
snuffeluffegus has joined #ruby
Celm has joined #ruby
tjr9898 has joined #ruby
diegoviola has joined #ruby
Celm has quit [Remote host closed the connection]
drago777 has joined #ruby
alexju has quit [Ping timeout: 240 seconds]
centrx has joined #ruby
freerobby1 has quit [Quit: Leaving.]
awc737 has left #ruby [#ruby]
davy has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
snath has quit [Ping timeout: 240 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
mary5030 has quit [Remote host closed the connection]
nateberkopec has joined #ruby
mary5030 has joined #ruby
* benzrf blows past
<benzrf> wait
<benzrf> shit
PhaSe16 has joined #ruby
<benzrf> i tried to /nick tumbleweed
<benzrf> hold on is this super lag or something
werdnativ has joined #ruby
<benzrf> ok let me try this again
<benzrf> shit.
<benzrf> nick taken
jorts has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
alvaro_o has quit [Quit: Ex-Chat]
alexju has joined #ruby
mrsolo has joined #ruby
x1337807x has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
skulker has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
selina345 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
tjr9898_ has joined #ruby
jamto11 has joined #ruby
marcdel has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
robbyoconnor has joined #ruby
hfp is now known as hfp`away
braincrash has quit [Quit: bye bye]
tjr9898 has quit [Ping timeout: 240 seconds]
marcdel_ has joined #ruby
oo_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skulker has quit [Remote host closed the connection]
Martxel has quit [Quit: Leaving]
jamto11 has quit [Ping timeout: 250 seconds]
lukec has quit [Quit: lukec]
marcdel has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
jorts has quit [Quit: jorts]
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
skulker_ has joined #ruby
pu22l3r has joined #ruby
sski has quit [Remote host closed the connection]
jcims has joined #ruby
three18ti has quit [Ping timeout: 246 seconds]
sski has joined #ruby
Melpaws has joined #ruby
Solnse has quit [Quit: Leaving.]
<jcims> quick question, has anyone using the httpproxy built in to webbrick noticed that something is appending an '=' character to JSON posts?
justinmcp has quit [Remote host closed the connection]
luriv has joined #ruby
justinmcp has joined #ruby
saarinen has joined #ruby
Hobogrammer has quit [Ping timeout: 246 seconds]
taf2 has quit [Quit: taf2]
r_rios has joined #ruby
x1337807x has joined #ruby
TheMoonMaster has quit [Excess Flood]
meatherly has quit [Ping timeout: 250 seconds]
three18ti has joined #ruby
kitak_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
sski has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
postmodern has quit [Quit: Leaving]
manyrus has joined #ruby
chipotle has joined #ruby
jason_ has quit [Remote host closed the connection]
jcarouth has joined #ruby
kitak has quit [Ping timeout: 240 seconds]
evenix has joined #ruby
snath has joined #ruby
havenwood has joined #ruby
mrsolo has left #ruby ["Leaving"]
baroquebobcat has joined #ruby
AlexRussia has quit [Remote host closed the connection]
skulker_ has quit [Remote host closed the connection]
AlexRussia has joined #ruby
karmatr0n has joined #ruby
skulker has joined #ruby
TheMoonMaster has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
supermarin has joined #ruby
skulker has quit [Ping timeout: 246 seconds]
ffranz has quit [Quit: Leaving]
kennym has quit [Quit: Leaving.]
kennym has joined #ruby
meatherly has joined #ruby
mehlah has quit [Quit: Leaving...]
mr_snowf1ake has joined #ruby
jcarouth has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
alyi has joined #ruby
frem has joined #ruby
kennym has quit [Ping timeout: 240 seconds]
rezzack has quit [Ping timeout: 250 seconds]
ckinni has joined #ruby
ckinni has quit [Client Quit]
zachallett has joined #ruby
AlexRussia has quit [Remote host closed the connection]
alyi has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
manyrus has quit [Ping timeout: 250 seconds]
fsdldl has joined #ruby
x1337807x has joined #ruby
tacos1de has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
sent-hil has quit [Quit: Connection closed for inactivity]
ixti has joined #ruby
yacks has joined #ruby
Kricir has joined #ruby
Celm has joined #ruby
<benzrf> goodbye
<havenwood> later
benzrf is now known as benzrf|offline
amclain has joined #ruby
Emmanuel_Chanel has quit [Read error: Operation timed out]
pu22l3r has quit [Remote host closed the connection]
jason_ has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
michaeldeol has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has joined #ruby
jason_ has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 240 seconds]
hakunin has quit [Remote host closed the connection]
yfeldblum has joined #ruby
hakunin has joined #ruby
lxsameer has joined #ruby
hooper has quit [Ping timeout: 240 seconds]
cpruitt has quit [Quit: cpruitt]
yfeldblum has quit [Read error: Connection reset by peer]
cpruitt has joined #ruby
fabrice31 has joined #ruby
aspires has joined #ruby
nisstyre has joined #ruby
meatherly has quit [Remote host closed the connection]
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
aspiers has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 252 seconds]
IceDragon has quit [Quit: Space~~~]
twiceaday has quit [Ping timeout: 265 seconds]
twiceaday has joined #ruby
robustus has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
rkazak has joined #ruby
yfeldblum has joined #ruby
Deele has joined #ruby
rafaelmagu has quit [Quit: Textual IRC Client: www.textualapp.com]
rkazak has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has left #ruby [#ruby]
MatthewsFace has joined #ruby
Celm has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Celm has quit [Remote host closed the connection]
crystal77 has quit [Quit: Computer has gone to sleep.]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sski has joined #ruby
amclain_ has joined #ruby
ascarter has joined #ruby
Chronocity has joined #ruby
Hobogrammer has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
arietis has joined #ruby
oo_ has quit [Remote host closed the connection]
tjr9898 has joined #ruby
amclain has quit [Ping timeout: 264 seconds]
tris has quit [Ping timeout: 264 seconds]
osvico has quit [Ping timeout: 265 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
audiodude has joined #ruby
Celm has joined #ruby
ndrei has joined #ruby
oo_ has joined #ruby
aspires has quit []
aspires has joined #ruby
SCommette has joined #ruby
yfeldblu_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
eynj has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
r_rios has quit [Ping timeout: 240 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
michaeldeol has joined #ruby
SCommette has quit [Client Quit]
SCommette has joined #ruby
alyi has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
combusean has quit [Ping timeout: 240 seconds]
linojon has quit [Quit: linojon]
combusean has joined #ruby
linojon has joined #ruby
cpruitt has quit [Quit: cpruitt]
deens has joined #ruby
cpruitt has joined #ruby
aspires has quit []
alyi has quit [Ping timeout: 250 seconds]
narcan has joined #ruby
phansch has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jefflyne has joined #ruby
andy__ has quit [Remote host closed the connection]
idiocrash has joined #ruby
aagdbl has joined #ruby
iliketurtles has joined #ruby
cpruitt has quit [Quit: cpruitt]
michael_lee has joined #ruby
cpruitt has joined #ruby
Megtastique has quit []
jenrzzz has quit [Ping timeout: 240 seconds]
michael_lee has quit [Max SendQ exceeded]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Celm has quit [Remote host closed the connection]
Guest26699 is now known as mumblerit
michael_lee has joined #ruby
nateberkopec has joined #ruby
JasmeetQA has joined #ruby
x77686d has quit [Quit: x77686d]
iliketurtles has quit [Quit: zzzzz…..]
cj3kim has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
snuffeluffegus has quit [Quit: Leaving]
baroquebobcat has joined #ruby
michael_lee has quit [Max SendQ exceeded]
sailias has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
kate_r has joined #ruby
cj3kim has quit [Remote host closed the connection]
kitak_ has quit [Remote host closed the connection]
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
narcan has quit [Remote host closed the connection]
jamto11 has joined #ruby
kitak has joined #ruby
dukz has joined #ruby
chris_thomson has quit [Quit: Zzz...]
sputnik13 has joined #ruby
Rylee has quit [Remote host closed the connection]
audiodude has left #ruby [#ruby]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamto11 has quit [Ping timeout: 240 seconds]
Rylee has joined #ruby
dukz has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
supermarin has quit [Quit: Computer has gone to sleep.]
lukec has joined #ruby
supermarin has joined #ruby
tobago has joined #ruby
Akuma has quit [Read error: Operation timed out]
brunops has joined #ruby
peret has quit [Read error: Connection reset by peer]
Jon30 has quit [Ping timeout: 240 seconds]
Morkel has joined #ruby
Akuma has joined #ruby
supermarin has quit [Ping timeout: 240 seconds]
michael_lee has joined #ruby
timonv has quit [Remote host closed the connection]
davidz_ has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
mengu has joined #ruby
mengu has joined #ruby
karmatr0_ has joined #ruby
zachallett has quit [Remote host closed the connection]
jason_ has joined #ruby
fluve has joined #ruby
supermarin has joined #ruby
Akuma has quit [Ping timeout: 250 seconds]
karmatr0n has quit [Ping timeout: 246 seconds]
aagdbl has quit [Quit: Leaving]
davedev24 has quit [Remote host closed the connection]
selina345 has left #ruby [#ruby]
Hobogrammer has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
jason_ has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
decoponio has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
phansch has quit [Quit: WeeChat 0.4.2]
jxf has quit [Ping timeout: 240 seconds]
caveat- has quit [Ping timeout: 252 seconds]
markisonfire has joined #ruby
charliesome has quit [Ping timeout: 250 seconds]
caveat- has joined #ruby
aagdbl has joined #ruby
carif has joined #ruby
charliesome has joined #ruby
kayloos has joined #ruby
dayepa has joined #ruby
linojon has quit [Quit: linojon]
caveat- has quit [Ping timeout: 246 seconds]
deric_skibotn has joined #ruby
heftig has quit [Quit: Quitting]
linojon has joined #ruby
alyi has joined #ruby
davedev24 has joined #ruby
caveat- has joined #ruby
thrillagorilla has quit []
diegovio1 has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
carif has quit [Quit: Ex-Chat]
nfk has joined #ruby
diegovio1 is now known as diegoviola
_5kg has quit [Ping timeout: 240 seconds]
tjr9898_ has joined #ruby
alyi has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
caveat- has quit [Ping timeout: 246 seconds]
supermarin has quit [Quit: Computer has gone to sleep.]
tjr9898 has quit [Ping timeout: 250 seconds]
supermarin has joined #ruby
Morkel has quit [Ping timeout: 240 seconds]
tagrudev has joined #ruby
diegovio1 has joined #ruby
caveat- has joined #ruby
diegoviola is now known as Guest28903
diegovio1 is now known as diegoviola
kayloos has quit [Remote host closed the connection]
Guest28903 has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
supermarin has quit [Ping timeout: 246 seconds]
Bumptious has quit [Remote host closed the connection]
karmatr0n has joined #ruby
robbyoconnor has joined #ruby
Bumptious has joined #ruby
jaimef has quit [Excess Flood]
Morkel has joined #ruby
cj3kim has quit [Remote host closed the connection]
diegovio1 has joined #ruby
diegoviola is now known as Guest77543
diegovio1 is now known as diegoviola
Guest77543 has quit [Ping timeout: 240 seconds]
evenix has quit [Remote host closed the connection]
karmatr0_ has quit [Ping timeout: 240 seconds]
SCommette has quit [Quit: SCommette]
Celm has joined #ruby
Bumptious has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
fabrice31 has joined #ruby
jaimef has joined #ruby
cpruitt has quit [Quit: cpruitt]
Celm has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
Atrumx has quit [Quit: quitting]
diegoviola has quit [Ping timeout: 246 seconds]
arturaz has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
slawrence00 has joined #ruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
matcouto has joined #ruby
cj3kim has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mr_snowf1ake has quit [Quit: Leaving]
mr_snowf1ake has joined #ruby
Macaveli has joined #ruby
apeiros has joined #ruby
carif has joined #ruby
Burgestrand has joined #ruby
Emmanuel_Chanel has joined #ruby
mrjensen has joined #ruby
lukec has quit [Quit: lukec]
tvw has joined #ruby
amclain_ has quit [Quit: Leaving]
george2 has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
flughafen has joined #ruby
Atrumx has joined #ruby
davy has quit [Remote host closed the connection]
yfeldblum has joined #ruby
centrx has joined #ruby
freerobby has quit [Quit: Leaving.]
aag1091 has joined #ruby
ocke has left #ruby [#ruby]
Geniack_ has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
Geniack has joined #ruby
diegoviola has joined #ruby
keeguon has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
ak5 has joined #ruby
deric_skibotn has quit [Ping timeout: 240 seconds]
<ak5> hi everyone, I am trying to figure out whether to use middleman or jekyll for static sites
yfeldblum has quit [Ping timeout: 250 seconds]
<ak5> but I can't find any writeups with pros and cons
<ak5> I have only ever used jekyll, and it has more stars on github... but not sure. Any opinions?
yfeldblu_ has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
SCommette has joined #ruby
yfeldblum has joined #ruby
_justin has joined #ruby
Bumptious has joined #ruby
SCommette has quit [Client Quit]
sigurding has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
brunops has quit [Quit: leaving]
codenapper has joined #ruby
bal has joined #ruby
_5kg has joined #ruby
alexju has quit [Remote host closed the connection]
bal1 has joined #ruby
keen__ has joined #ruby
<Burgestrand> ak5: I much prefer middleman.
FxK has quit [Quit: (I was using Polaris SE) Version: 4.2. Webpage: http://polarisse.tripod.com/. Wasted: 9 Hours 33 Minutes and 24 Seconds Online.]
bal has quit [Ping timeout: 246 seconds]
<Burgestrand> ak5: jekyll is nice, but I felt middleman had more extensibility, and I prefer the workflow.
keen_ has quit [Ping timeout: 264 seconds]
<Burgestrand> ak5: I run my blog using jekyll (granted, I made it 3 years ago), and I find it slightly painful to incorporate CSS, image, or javascript preprocessors (e.g. SCSS, CoffeeScript, smushing images) into Jekyll
mengu has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
mr_snowf1ake has quit [Quit: Leaving]
mr_snowf1ake has joined #ruby
jgrevich_ has quit [Quit: jgrevich_]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
mr_snowf1ake has quit [Client Quit]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mr_snowf1ake has joined #ruby
coder_neo has joined #ruby
zcreative has joined #ruby
diegovio1 has joined #ruby
relix has joined #ruby
cpruitt has joined #ruby
Hobogrammer has quit [Ping timeout: 250 seconds]
diegovio1 is now known as diegoviola
alyi has joined #ruby
reset has joined #ruby
havenwood has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
toastynerd has joined #ruby
malcolmva has quit [Read error: Operation timed out]
noop has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
alyi has quit [Ping timeout: 240 seconds]
carif has quit [Ping timeout: 240 seconds]
cj3kim_ has joined #ruby
oo_ has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 240 seconds]
dagobah has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
oo_ has joined #ruby
markisonfire has quit [Quit: markisonfire]
sputnik13 has joined #ruby
danijoo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
winux has joined #ruby
carif has joined #ruby
<winux> is using a lamda overkill for generating hashes that whose values depend on some changing counter?
sski has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
anarang has joined #ruby
nomenkun has joined #ruby
Shidash has joined #ruby
Celm has joined #ruby
nateberkopec has joined #ruby
dayepa has quit [Quit: dayepa]
malcolmva has joined #ruby
toastynerd has quit [Remote host closed the connection]
klaut has joined #ruby
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
jenrzzz has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
cpruitt has quit [Quit: cpruitt]
nateberkopec has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
diegoviola has joined #ruby
mary5030 has joined #ruby
hooper has joined #ruby
hooper has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 250 seconds]
earth has quit [Quit: earth]
Kneferilis has joined #ruby
mr_snowf1ake has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
froy has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
claymore has joined #ruby
reset has quit [Quit: Leaving...]
luriv has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
jenrzzz has joined #ruby
aganov has joined #ruby
bambuka has joined #ruby
ndrei has joined #ruby
jamto11 has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jprovazn has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
Aquilo has joined #ruby
davy has joined #ruby
keeguon has quit [Quit: keeguon]
winux has quit [Quit: leaving]
iliketurtles has quit [Quit: zzzzz…..]
adam12 is now known as adam
havenwood has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
adam is now known as Guest32866
iliketurtles has joined #ruby
andikr has joined #ruby
davy has quit [Ping timeout: 246 seconds]
zigomir has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
browndawg has joined #ruby
s3ri0us has joined #ruby
xjiujiu has quit [Ping timeout: 246 seconds]
marcdel_ has quit []
rjk808 has joined #ruby
kinginky has quit [Read error: Operation timed out]
cj3kim has joined #ruby
PhaSe16 has quit []
Xeago has joined #ruby
<s3ri0us> I don't get it, I installed wagon for locomotive cms, followed the guidelines and created a new rails app to house locomotive fired it up, logged in saw a place for content types, pages etc but after creating them I didn't see them anywhere in my rails app. Following the docs I created another app with wagon init ants_cms --template=bootstrap3 outside of the other app I created and I don't see how these two are linked... are they seperate or what am I missi
sski has joined #ruby
<s3ri0us> sorry wrong chanel
Shidash has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
sski has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 255 seconds]
kinginky has joined #ruby
greenarrow has joined #ruby
rm__ has quit [Remote host closed the connection]
skaflem has joined #ruby
rm_ has joined #ruby
CaptainJet has quit [Ping timeout: 250 seconds]
apeiros has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
havenwood has quit [Ping timeout: 246 seconds]
kate_r has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
Asher has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
Shidash has joined #ruby
Emmanuel_Chanel has joined #ruby
fella5s has quit [Ping timeout: 240 seconds]
CaptainJet has quit [Ping timeout: 240 seconds]
linojon has quit [Quit: linojon]
linojon has joined #ruby
sski has joined #ruby
DrCode has quit [Write error: Connection reset by peer]
rylev has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
rjk808 has quit [Read error: Connection reset by peer]
rylev has quit [Remote host closed the connection]
reset has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
rjk808 has joined #ruby
kinginky has quit [Ping timeout: 240 seconds]
ahawkins has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
DrCode has joined #ruby
newbie|3 has joined #ruby
dumdedum has joined #ruby
DrCode has quit [Excess Flood]
newbie|3 has quit [Client Quit]
kinginky has joined #ruby
newbie|3 has joined #ruby
DrCode has joined #ruby
werdnativ has quit [Quit: werdnativ]
chipotle has quit [Quit: cya]
fella5s has joined #ruby
ljharb has joined #ruby
sk87 has joined #ruby
apeiros has joined #ruby
<ljharb> i've got an array of numbers, mostly zeroes - like [0, 0, 0, 1, 0, 0, 2, 0] - what would be the most rubyish way to get an array from the beginning, up til and including the first nonzero item?
dyoko has joined #ruby
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby
<ljharb> in other words [0, 0, 0, 1, 0, 0, 2, 0] should give me [0, 0, 0, 1]
oo_ has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
newbie|3 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
DrCode has quit [Remote host closed the connection]
s3ri0us has quit [Quit: Linkinus - http://linkinus.com]
reset has quit [Ping timeout: 246 seconds]
keeguon has joined #ruby
dumdedum has quit [Ping timeout: 240 seconds]
DrCode has joined #ruby
nvrch has joined #ruby
<ljharb> take_while seems like it would grab the zeroes but not the "1"
oo_ has joined #ruby
Tuxified has joined #ruby
<apeiros> ljharb: yeah, take_while was my first thought too, but same issue
<apeiros> >> ary = [0, 0, 0, 1, 0, 0, 2, 0]; ary.first((ary.find_index { |x| x != 0 } || ary.length) + 1)
<eval-in> apeiros => [0, 0, 0, 1] (https://eval.in/134232)
nateberkopec has joined #ruby
<ljharb> hm, interesting
<apeiros> the || ary.length is for the case where your array consists of only zeroes or is empty
<ljharb> currently it's a while loop that pushes into an array, and i'm trying to make it a bit more elegant
<ljharb> that's clever but doesn't seem more readable :-/
<dagobah> You could use #take_while and #each_cons maybe?
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<ljharb> how could i use those together?
<dagobah> Um
wald0 has joined #ruby
<dagobah> >> [0, 0, 0, 1, 0, 0, 2, 0].take_while{|i| i.zero? }
<eval-in> dagobah => [0, 0, 0] (https://eval.in/134233)
<dagobah> gets you everything up to but not including
<apeiros> ljharb: a begin/end while loop might be the most readable
<ljharb> sigh, that's what i was afraid of
<dagobah> so you might be able to "look ahead" using an each_cons(2)?
<apeiros> ljharb: though, have you tested against empty array and array of zeroes?
<apeiros> those edge cases can make it less readable quickly
<ljharb> yeah, true. i'll have to play with it and see what i can come up with
<ljharb> lol i may have even misread the existing "while" loop, so maybe it's not that clear as-is
rjk808 has quit [Remote host closed the connection]
timonv has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<ljharb> existing is: result = [] ; while foo.any? { |x| x > 0 } ; result.push(foo.unshift) ; end
<ljharb> so i guess actually it's just taking all the zeroes off the end?
Stalkr_ has joined #ruby
<ljharb> or rather off the beginning
alyi has joined #ruby
carif has quit [Quit: Ex-Chat]
_justin has quit [Quit: _justin]
<ljharb> no, off the end
seich- is now known as Seich
ephemerian has joined #ruby
danijoo_ has quit [Quit: Leaving...]
<apeiros> huh? that code seems broken…
<apeiros> unshift is to add elements, not to remove
<apeiros> that is, foo.unshift is a no-op. it'll just return foo
<ljharb> oh sorry i mistyped
<ljharb> foo.shift
<ljharb> so i think maybe i could do "result = foo.reverse.drop_while { |x| x <= 0 }.reverse" ?
<apeiros> and foo.any? will test all elements of foo
<apeiros> ah
keen__ is now known as keen_
Shidash has quit [Ping timeout: 240 seconds]
joonty_ has joined #ruby
sdouglas has joined #ruby
<ak5> Burgestrand: thanks for the info
<Burgestrand> :)
<apeiros> while mine isn't necessarily the most readable, it at least doesn't iterate the source array N times
<ljharb> yeah definitely
<ljharb> thanks for the tip, i'll play with it some more and make sure it's tested first
mikecmpbll has joined #ruby
<dagobah> I'm sure you could play around with:
<dagobah> >> [0, 0, 0, 1, 0, 0, 2, 0].each_cons(2).take_while{|a,b| a.zero?}.flatten
<eval-in> dagobah => [0, 0, 0, 0, 0, 1] (https://eval.in/134236)
<dagobah> It's not correct as is however :)
<ljharb> that's the wrong order, but i see what you mean
oo_ has quit [Remote host closed the connection]
schmidt has joined #ruby
olivier_bK has joined #ruby
dumdedum has joined #ruby
Melpaws has quit [Ping timeout: 246 seconds]
<dagobah> >> [0, 0, 0, 1, 0, 0, 2, 0].unshift(0).each_cons(2).take_while{|a,_| a.zero?}.map(&:last)
<eval-in> dagobah => [0, 0, 0, 1] (https://eval.in/134237)
<dagobah> Would that work>
mary5030 has joined #ruby
browndawg has quit [Quit: Leaving.]
alexherbo2 has quit [Quit: WeeChat 0.4.3]
oo_ has joined #ruby
kitak has quit [Remote host closed the connection]
<ljharb> interesting
sdouglas has quit [Ping timeout: 250 seconds]
oo_ has quit [Remote host closed the connection]
davy has joined #ruby
oo_ has joined #ruby
<ljharb> altho i think the original algorithm (now that i reread it) would result in [0, 0, 0, 1, 0, 0, 2]
ghr has joined #ruby
<dagobah> I don't think it does, unless I'm missing something.
<ljharb> it says "while foo has anything greater than zero, keep grabbing the first item on the array and prepend it to result"
<ljharb> which means it shouldn't stop until there's nothing left in "foo" but zeroes
kitak has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
andrewlio has joined #ruby
FakeNetRoY has joined #ruby
<dagobah> Oh, you're talking about your while foo.any? { |x| x > 0 } ; result.push(foo.unshift) solution?
roolo has joined #ruby
FakeNetRoY has left #ruby [#ruby]
<ljharb> yeah
<ljharb> i'd initially misread it
<dagobah> I was claiming that [0, 0, 0, 1, 0, 0, 2, 0].unshift(0).each_cons(2).take_while{|a,_| a.zero?}.map(&:last) would work :)
davy has quit [Ping timeout: 246 seconds]
<ljharb> ah
shadoi has quit [Ping timeout: 252 seconds]
nisstyre has quit [Quit: WeeChat 0.4.3]
shadoi has joined #ruby
Xeago has quit [Remote host closed the connection]
<dagobah> Take each pair, keeping only the pairs that have their first item as a zero (second is non-zero), and then take the last of each of the pairs.
Xeago has joined #ruby
CaptainJet has joined #ruby
joonty_ has quit [Quit: WeeChat 0.4.2]
joonty has joined #ruby
karmatr0n has quit [Ping timeout: 250 seconds]
<dagobah> We unshift(0) to stop the take_while stopping short.
wallerdev has joined #ruby
ljharb has quit [Ping timeout: 250 seconds]
<olivier_bK> i need some advice about a development for socket API
<j416> I'm looking for a nice way to combine documentation and specs; I like the approach that relishapp.com has taken. I want something similar but that is offline. Ideas?
<j416> we're currently using rspec and rdoc, the optimal thing would be to be able to combine those two
einarj has joined #ruby
jameswlane has joined #ruby
ktun has joined #ruby
Xeago_ has joined #ruby
marr has joined #ruby
jlebrech has joined #ruby
havenwood has joined #ruby
Xeago__ has joined #ruby
kaichanvong has quit [Quit: _]
Xeago has quit [Ping timeout: 246 seconds]
Xeago_ has quit [Ping timeout: 240 seconds]
_justin has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
kaichanvong has joined #ruby
elaptics`away is now known as elaptics
moritzs has joined #ruby
phansch has joined #ruby
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ahawkins has quit [Ping timeout: 250 seconds]
ndrei has quit [Ping timeout: 250 seconds]
rdark has joined #ruby
fella5s has quit [Ping timeout: 246 seconds]
rylev has joined #ruby
ahawkins has joined #ruby
DrCode has quit [Remote host closed the connection]
poikon has joined #ruby
ggherdov_ is now known as ggherdov
aag1091 has quit [Ping timeout: 240 seconds]
DrCode has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlSquire has joined #ruby
nari has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
greenarrow has quit [Quit: 500]
DrCode has quit [Quit: ZNC - http://znc.in]
reset has joined #ruby
Waheedi has joined #ruby
dyoko has quit [Quit: Leaving.]
cina has joined #ruby
cj3kim has quit [Remote host closed the connection]
qba73 has joined #ruby
arietis has quit [Ping timeout: 240 seconds]
thomasxie has left #ruby [#ruby]
reset has quit [Ping timeout: 240 seconds]
davy has joined #ruby
Azzurrio has joined #ruby
Azzurrio has quit [Client Quit]
northfurr has quit [Quit: northfurr]
moshee has quit [Quit: 囧]
aag1091 has joined #ruby
thomasxie has joined #ruby
Hanmac1 has joined #ruby
nateberkopec has joined #ruby
moshee has joined #ruby
combusean has quit [Ping timeout: 240 seconds]
hiall has quit [Quit: hiall]
Celm has joined #ruby
arietis has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
davy has quit [Ping timeout: 246 seconds]
ikaros has joined #ruby
dyoko has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
greenarrow has joined #ruby
fluve has quit [Remote host closed the connection]
Celm has quit [Ping timeout: 240 seconds]
rasputin1 has joined #ruby
rasputin has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
ljharb has joined #ruby
ljharb has left #ruby [#ruby]
aaronmcadam has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
aaronmcadam has quit [Remote host closed the connection]
aaronmcadam has joined #ruby
W1LF has joined #ruby
<W1LF> hi
heftig has joined #ruby
zoraj has joined #ruby
aagdbl0 has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
francisfish has joined #ruby
Aquilo_ has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
JasmeetQA1 has joined #ruby
jamto11 has joined #ruby
Aquilo has quit [Ping timeout: 250 seconds]
<W1LF> any rails guy here?
<Hanmac1> W1LF #RubyOnRails
Hanmac1 is now known as Hanmac
JasmeetQA has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 240 seconds]
cina has quit [Read error: No route to host]
cina has joined #ruby
Melpaws has joined #ruby
sski has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
Heskie has joined #ruby
JohnBat26 has joined #ruby
ndrei has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister_ has quit [Read error: Connection reset by peer]
banister has joined #ruby
rvraghav93 has joined #ruby
glanzi has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 250 seconds]
vpereira has joined #ruby
coderhs has joined #ruby
eka has joined #ruby
jonno11 has joined #ruby
dukz has joined #ruby
hiall has joined #ruby
relix has joined #ruby
rjk808 has joined #ruby
cj3kim has joined #ruby
cina has quit [Quit: leaving]
dukz has quit [Remote host closed the connection]
<W1LF> any ruby guy here?
Stalkr_ has quit [Quit: Leaving...]
<Tuxified> about 800 I guess, why?
coder_neo has quit [Quit: Leaving]
<W1LF> i'm searching for interesting gems
fsdldl has quit [Quit: WeeChat 0.4.3]
<W1LF> in webdevelopment
<shevy> W1LF there are a million interesting gems
<shevy> some of them only on github though
<W1LF> hmm.. let's be specific though
<W1LF> i need pagination in my web.. there are?
cj3kim has quit [Read error: Connection reset by peer]
himsin has joined #ruby
cj3kim has joined #ruby
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
canton7-mac has joined #ruby
<W1LF> welcome
deadlock has quit [Read error: Connection reset by peer]
<shevy> no idea
<W1LF> any learning resource website?
fgo has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
Seich is now known as seich
RaptorJesus has quit [Ping timeout: 240 seconds]
* W1LF sigh
ndrei has joined #ruby
Slavox is now known as Slavox|AFK
timonv has quit [Ping timeout: 250 seconds]
lanalyst has joined #ruby
mrjensen has quit [Remote host closed the connection]
<apeiros> W1LF: ruby-toolbox.com
mrjensen has joined #ruby
aspiers has joined #ruby
reset has joined #ruby
JasmeetQA1 has quit [Quit: Leaving.]
mengu has quit [Remote host closed the connection]
Guest87057 has quit [Read error: Operation timed out]
deepy has quit [Read error: Operation timed out]
alyx has joined #ruby
wallerdev has quit [Quit: wallerdev]
alyx is now known as Guest16085
rjk808 has quit [Remote host closed the connection]
deepy has joined #ruby
deepy is now known as Guest59300
reset has quit [Ping timeout: 240 seconds]
rjk808 has joined #ruby
Slavox|AFK is now known as Slavox
jack_rabbit has quit [Quit: Leaving]
sk87 has joined #ruby
karupanerura is now known as zz_karupanerura
atmosx has quit [Remote host closed the connection]
luriv has joined #ruby
dyoko has quit [Quit: Leaving.]
atmosx has joined #ruby
deens has quit [Remote host closed the connection]
rjk808 has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 240 seconds]
sigurding has quit [Ping timeout: 240 seconds]
W1LF has left #ruby ["Leaving"]
greenarrow has quit [Quit: 500]
sigurding has joined #ruby
davy has joined #ruby
nateberkopec has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
Speed has joined #ruby
davy has quit [Ping timeout: 240 seconds]
jfelchner_ has joined #ruby
jfelchner_ has quit [Client Quit]
nateberkopec has quit [Ping timeout: 240 seconds]
Macaveli has quit [Quit: Leaving]
jfelchner has joined #ruby
jfelchner has quit [Client Quit]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
gaussblurinc has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfelchner has joined #ruby
francisfish has quit [Remote host closed the connection]
Xeago__ has quit [Remote host closed the connection]
DaniG2k has joined #ruby
maoko has joined #ruby
<gaussblurinc> hi! I have several classes that I want to include to my script. they stored in module, but module folder differ from script folder. how to add module with classes to script?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phansch has joined #ruby
francisfish has joined #ruby
kennym has joined #ruby
chrisseaton has joined #ruby
fgo has joined #ruby
maoko has quit [Client Quit]
fella5s has joined #ruby
coderhs has quit [Ping timeout: 250 seconds]
mrjensen has quit [Remote host closed the connection]
sdouglas has joined #ruby
kennym has quit [Ping timeout: 240 seconds]
<shevy> gaussblurinc your question is sort of incoherent
<shevy> In general, the best way to structure your project is to have it be structured in a gem-fit layout.
fgo has quit [Ping timeout: 240 seconds]
<shevy> such as, if the name is 'foobar', have it lib/foobar/ and lib/foobar.rb where foobar.rb is the first file run when you do a: require 'foobar'
<shevy> once you have it, if you wish to use this in any other .rb file, you only have to do a require 'foobar' on top of that file, and that shall pull in all the files of that project
jfelchner has quit [Quit: .]
fabrice31 has quit [Remote host closed the connection]
zoraj has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
<gaussblurinc> shevy: so, I don't have simple mechanism to input my classes to simple script except copypaste?
sigurding has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
karmatr0n has joined #ruby
makara has joined #ruby
rjk808 has joined #ruby
mostlybadfly has joined #ruby
lkba has joined #ruby
rjk808 has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
cover has joined #ruby
rjk808 has joined #ruby
yfeldblum has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
mercwithamouth has joined #ruby
ak5 has quit [Ping timeout: 240 seconds]
<Tuxified> gaussblurinc: what shevy is trying to say "if you structure your project well, just use require 'class' and it works" :)
maoko has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
<shevy> gaussblurinc you have require() and load()
<shevy> gaussblurinc I dont know how that means copy paste ;)
Doppp has joined #ruby
<gaussblurinc> Tuxified: uh, this is not a project, just another standalone script :(
coderhs has joined #ruby
bigkevmcd has quit [Ping timeout: 252 seconds]
<gaussblurinc> gaussblurinc: yeah, require is good enough:)
mengu has quit [Ping timeout: 240 seconds]
hiall_ has joined #ruby
RaptorJesus has joined #ruby
hiall has quit [Ping timeout: 246 seconds]
hiall_ is now known as hiall
yfeldblum has quit [Ping timeout: 240 seconds]
<gaussblurinc> shevy: yeah, require is good enough :)
Speed has quit [Ping timeout: 250 seconds]
relix has joined #ruby
<shevy> hehe
<shevy> did you talk to yourself just now :D
greenarrow has joined #ruby
hiall has quit [Client Quit]
cj3kim has quit [Read error: Connection reset by peer]
mclee has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
cj3kim has joined #ruby
sputnik13 has joined #ruby
francisfish has quit [Remote host closed the connection]
sputnik13 has quit [Client Quit]
matchaw_ has joined #ruby
mehlah has joined #ruby
matchaw has quit [Ping timeout: 255 seconds]
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
hiall has joined #ruby
chrisseaton has quit []
kevinykchan has joined #ruby
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
Emmanuel_Chanel has joined #ruby
mengu has joined #ruby
Sthebig has quit [Ping timeout: 246 seconds]
Doppp has quit [Ping timeout: 240 seconds]
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
manyrus has joined #ruby
mrjensen has joined #ruby
rjk808 has quit [Ping timeout: 240 seconds]
nvrch has quit [Quit: nvrch]
reset has joined #ruby
francisfish has joined #ruby
sk87 has joined #ruby
pietr0 has quit [Quit: pietr0]
Speed has joined #ruby
<Waheedi> someone asked me what hack for file editing with ruby the other day. are you still there my friend?
reset has quit [Ping timeout: 246 seconds]
dyoko has joined #ruby
browndawg has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
txdv has joined #ruby
dawkirst has quit [Quit: Leaving]
<txdv> is there an activerecord channel?
yfeldblum has joined #ruby
napcae has quit [Quit: leaving]
napcae has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
ahawkins has quit [Ping timeout: 250 seconds]
_justin has quit [Quit: _justin]
<Hanmac> txdv: try #RubyOnRails
nari has joined #ruby
davy has joined #ruby
nateberkopec has joined #ruby
<txdv> ac goes hand in hand with ror, thanks Hanmac
yfeldblum has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
jameswlane has quit [Quit: Logging off]
reset has joined #ruby
roolo has quit [Quit: Leaving...]
davy has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
yacks has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 246 seconds]
skulker has joined #ruby
aagdbl0 has quit [Quit: This computer has gone to sleep]
diegoviola has quit [Quit: WeeChat 0.4.3]
LLKCKfan has joined #ruby
<LLKCKfan> Is there a way to install a device software and make it stay installed? more info here pastebin.com/70Z5P5Yu along with scan shoots
arietis has joined #ruby
sski has joined #ruby
hiall has quit [Quit: hiall]
koderok has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_justin has joined #ruby
chrisseaton has joined #ruby
jamto11 has joined #ruby
avril14th has quit [Remote host closed the connection]
jonno11 has joined #ruby
CaptainJet has quit []
dql has joined #ruby
avril14th has joined #ruby
Xeago has joined #ruby
atno has joined #ruby
aagdbl0 has joined #ruby
dql has left #ruby [#ruby]
jamto11 has quit [Ping timeout: 240 seconds]
jonno11 has quit [Client Quit]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ktun has joined #ruby
havenwood has joined #ruby
hiall has joined #ruby
rylev has quit [Remote host closed the connection]
ktun has quit [Client Quit]
rylev has joined #ruby
roolo has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
shashank_rs has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
Martxel has joined #ruby
sdwrage has joined #ruby
sepp2k has joined #ruby
rylev has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
mercwithamouth has joined #ruby
chipotle has quit [Quit: cya]
yacks has joined #ruby
timonv has joined #ruby
Xeago has joined #ruby
toretore has joined #ruby
rasputin1 is now known as cytosine
<txdv> I have strings like "R\xF6ntgen", the escaped code is an ASCII code in german, do you guys know how I can tell ruby to convert these to utf8?
timonv has quit [Ping timeout: 240 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
AlexRussia has joined #ruby
sigurding has joined #ruby
<toretore> String#encode
phutchins has joined #ruby
<txdv> yeah
<txdv> that string is already in utf8
<txdv> dunno what to do with encode
ce_afk is now known as cescalante
ahawkins has joined #ruby
mieko has joined #ruby
cptdwarf has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
<bhaak> that's wrong. that string is in latin1/iso-8859-1
charliesome has joined #ruby
alexju has joined #ruby
aagdbl has quit [Quit: Connection closed for inactivity]
<bhaak> string = "R\xF6ntgen".force_encoding("ISO-8859-1").encode("UTF-8")
<bhaak> string.encoding => #<Encoding:UTF-8>
aagdbl0 is now known as aagdbl
Tuxified1 has joined #ruby
nuck has quit [Read error: Operation timed out]
alexju has quit [Read error: No route to host]
<bhaak> if string.encode("UTF-8") doesn't work then the string hasn't been correctly read in. encoding() would show #<Encoding:ASCII-8BIT> instead of #<Encoding:ISO-8859-1>
Tuxified has quit [Ping timeout: 240 seconds]
thomasxie has quit [Quit: Leaving.]
nuck has joined #ruby
<txdv> bhaak: yeah the string hasn't been correctly read in
rjk808 has joined #ruby
<txdv> o
<txdv> i have to force encode it, i see
<txdv> thank you very much
ghr has quit [Ping timeout: 246 seconds]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
jzigmund has joined #ruby
Xeago has joined #ruby
rjk808 has quit [Ping timeout: 240 seconds]
mrjensen has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 264 seconds]
mrjensen has joined #ruby
r_rios has joined #ruby
robustus has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
rylev has joined #ruby
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
klaut has quit [Remote host closed the connection]
chrisseaton has quit []
jenrzzz has joined #ruby
diegoviola has joined #ruby
davy_ has joined #ruby
jenrzzz has quit [Client Quit]
vt102 has joined #ruby
ktun has joined #ruby
Celm has joined #ruby
thomasxie has joined #ruby
jrhe has joined #ruby
reset has joined #ruby
SirFunk has quit [Remote host closed the connection]
davy_ has quit [Ping timeout: 240 seconds]
SirFunk has joined #ruby
Celm has quit [Ping timeout: 246 seconds]
TheNumb_ is now known as TheNumb
TheNumb has quit [Changing host]
TheNumb has joined #ruby
aag1091 has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
reset has quit [Ping timeout: 246 seconds]
simono has joined #ruby
francisfish has quit [Remote host closed the connection]
sailias has joined #ruby
nbouscal has joined #ruby
alekst has joined #ruby
canton7-mac has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
canton7-mac has joined #ruby
kiri has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
sski has quit [Remote host closed the connection]
sski has joined #ruby
himsin has quit [Quit: himsin]
aspiers has quit [Ping timeout: 240 seconds]
aag1091 has joined #ruby
phoo1234567 has joined #ruby
nvrch has joined #ruby
wald0 has quit [Quit: Lost terminal]
jonno11 has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
kennym has joined #ruby
Tuxified1 has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
nateberkopec has joined #ruby
sski has quit [Ping timeout: 246 seconds]
soulcake has quit [Read error: Connection reset by peer]
cescalante is now known as ce_afk
sputnik13 has joined #ruby
sambao21 has joined #ruby
soulcake has joined #ruby
compleatang has joined #ruby
sputnik13 has quit [Client Quit]
djbender has joined #ruby
francisfish has quit [Remote host closed the connection]
havenwood has joined #ruby
oo_ has quit [Remote host closed the connection]
karmatr0n has joined #ruby
oo_ has joined #ruby
rylev_ has joined #ruby
yalue has joined #ruby
jenrzzz has joined #ruby
kitak has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
mrjensen has quit [Remote host closed the connection]
Macaveli has joined #ruby
jenrzzz has quit [Client Quit]
havenwood has quit [Ping timeout: 250 seconds]
mrjensen has joined #ruby
rylev has quit [Ping timeout: 240 seconds]
karmatr0n has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby
mclee has joined #ruby
ce_afk is now known as cescalante
mercwithamouth has quit [Ping timeout: 246 seconds]
jprovazn has quit [Quit: Leaving]
nomenkun has quit [Quit: Leaving...]
ndngvr has joined #ruby
obscured has joined #ruby
bluenemo has joined #ruby
Kneferilis has quit [Ping timeout: 246 seconds]
chrisseaton has joined #ruby
sk87 has joined #ruby
jxf has joined #ruby
mehlah has joined #ruby
sk87 has quit [Client Quit]
moritzs has quit [Ping timeout: 250 seconds]
maximski has joined #ruby
sputnik13 has joined #ruby
sputnik13 has quit [Client Quit]
benzrf|offline is now known as benzrf
sailias has quit [Ping timeout: 246 seconds]
obscured has quit [Quit: leaving]
sputnik13 has joined #ruby
_justin has quit [Quit: _justin]
ghr has joined #ruby
mjs2600 has joined #ruby
sputnik13 has quit [Client Quit]
obscured has joined #ruby
emergion has joined #ruby
sputnik13 has joined #ruby
mvangala has quit []
mark_locklear has joined #ruby
sputnik13 has quit [Client Quit]
DaniG2k has quit [Quit: leaving]
thomasxie has quit [Quit: Leaving.]
sputnik13 has joined #ruby
browndawg has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Client Quit]
_tpavel has joined #ruby
cescalante is now known as ce_afk
shashank_rs has quit [Ping timeout: 246 seconds]
rvraghav93_ has joined #ruby
rvraghav93 has quit [Ping timeout: 240 seconds]
ctp has joined #ruby
northfurr has joined #ruby
sputnik13 has joined #ruby
northfurr has quit [Client Quit]
sputnik13 has quit [Client Quit]
sputnik13 has joined #ruby
pedda has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
jprovazn has joined #ruby
sputnik13 has quit [Client Quit]
francisfish has joined #ruby
dblessing has joined #ruby
elaptics is now known as elaptics`away
ayaz has joined #ruby
yfeldblum has joined #ruby
sk87 has joined #ruby
popl has quit [Ping timeout: 250 seconds]
pu22l3r has joined #ruby
sputnik13 has joined #ruby
emergion has quit [Ping timeout: 260 seconds]
jackneill has joined #ruby
djbender has quit [Quit: djbender]
bambuka has quit [Quit: Saliendo]
elaptics`away is now known as elaptics
sputnik13 has quit [Read error: Connection reset by peer]
sputnik1_ has joined #ruby
DouweM has joined #ruby
dseitz has joined #ruby
sputnik1_ has quit [Client Quit]
karmatr0n has joined #ruby
davy has joined #ruby
sputnik13 has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
ndrei has joined #ruby
sputnik13 has quit [Client Quit]
endash_ has joined #ruby
rankine has joined #ruby
reset has joined #ruby
sputnik13 has joined #ruby
browndawg has joined #ruby
nifty__ is now known as nifty
davy has quit [Ping timeout: 246 seconds]
djbender has joined #ruby
nifty is now known as niftyn8
niftyn8 is now known as nifty
sputnik13 has quit [Client Quit]
fbernier has joined #ruby
tacos1de_ has joined #ruby
heftig has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 246 seconds]
tacos1de has quit [Remote host closed the connection]
akemrir has joined #ruby
heftig has joined #ruby
kitak has joined #ruby
sputnik13 has joined #ruby
<jlebrech> hi
sputnik13 has quit [Client Quit]
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
Guest59300 has quit [Changing host]
Guest59300 has joined #ruby
Guest59300 is now known as deepy
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
compleatang has quit [Remote host closed the connection]
sputnik13 has joined #ruby
northfurr has joined #ruby
danshultz has joined #ruby
_justin has joined #ruby
rmorello has joined #ruby
mrmargolis has joined #ruby
ce_afk is now known as cescalante
sputnik13 has quit [Client Quit]
enebo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
sputnik13 has joined #ruby
crystal77 has joined #ruby
sk87 has joined #ruby
jamto11 has joined #ruby
sputnik13 has quit [Client Quit]
tkuchiki has joined #ruby
<olivier_bK> i need some explication because i try to do something and i get much better but i dont know why ??
<olivier_bK> i use self.send in my method hash_converter but why he try to find a methode with the same name as k ?
IceDragon has joined #ruby
<canton7-mac> do you know what 'send' does?
sputnik13 has joined #ruby
jcarouth has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ixti has joined #ruby
jamto11 has quit [Ping timeout: 250 seconds]
MattStratton has joined #ruby
sputnik13 has quit [Client Quit]
hanikazmi has joined #ruby
northfurr has quit [Ping timeout: 240 seconds]
sputnik13 has joined #ruby
tjr9898 has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
northfurr has joined #ruby
MattStratton has quit [Client Quit]
sputnik13 has quit [Client Quit]
sailias has joined #ruby
MattStratton has joined #ruby
sputnik13 has joined #ruby
<jlebrech> If other people find it hard to understand your code, could that be considered technical debt?
maximski_ has joined #ruby
maximski has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Client Quit]
_maes_ has joined #ruby
Kricir has joined #ruby
marcux has joined #ruby
dkamioka has joined #ruby
dyoko has quit [Quit: Leaving.]
sputnik13 has joined #ruby
dyoko has joined #ruby
andrewlio has quit [Quit: Leaving.]
benzrf is now known as benzrf|offline
sputnik13 has quit [Client Quit]
<ghr> jlebrech to some extent, yes, but that obviously depends on the domain knowledge, experience and ability of the other people :)
sputnik13 has joined #ruby
grzywacz has joined #ruby
rm_ has joined #ruby
francisfish has quit [Remote host closed the connection]
noob101 has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
siwica has joined #ruby
Megtastique has joined #ruby
<olivier_bK> canton7, send is equivalent to
<olivier_bK> self.name = "John Smith"
sputnik13 has quit [Client Quit]
francisfish has joined #ruby
sputnik13 has joined #ruby
lxsameer has quit [Quit: Leaving]
karmatr0n has quit [Remote host closed the connection]
<canton7-mac> olivier_bK, you asked: "i use self.send in my method hash_converter but why he try to find a methode with the same name as k ?". that's because 'send' tries to find a method with the same name as k, and calls that metho
afreidah1 has joined #ruby
<canton7-mac> that's what is does. by definition
sski has joined #ruby
timonv has quit [Remote host closed the connection]
<olivier_bK> thanks for the explication
timonv has joined #ruby
sputnik13 has quit [Client Quit]
cescalante is now known as ce_afk
hl has quit [Quit: Quit]
sputnik13 has joined #ruby
jamto11 has joined #ruby
luriv has quit [Ping timeout: 246 seconds]
sputnik13 has quit [Client Quit]
hl has joined #ruby
Chronocity has quit [Read error: Connection reset by peer]
jonno11 has joined #ruby
spstarr_work has joined #ruby
<spstarr_work> wow :)
<spstarr_work> ruby loves bacon
chipotle has joined #ruby
<spstarr_work> #!/bin/env ruby # -*- coding: utf-8 -*- class FooBar @≋ = 'BACON' attr_reader :≋ def initialize @≋ = 'MOAR BACON' end end puts "#{FooBar.instance_variable_get(:@≋)} LIVES!!!!!!!!!!!!!!!!!!!!" puts "I really love #{FooBar.new.≋}!!!!!!!"
osvico has joined #ruby
sputnik13 has joined #ruby
<spstarr_work> I didn't expect it to allow unicode variables :)
afreidah1 has quit [Ping timeout: 250 seconds]
timonv has quit [Ping timeout: 240 seconds]
CaptainKnots has quit [Quit: bazinga!]
moritzs has joined #ruby
sputnik13 has quit [Client Quit]
poikon has quit [Remote host closed the connection]
FxK has joined #ruby
sputnik13 has joined #ruby
mvangala has joined #ruby
osvico has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
osvico has joined #ruby
alexju has joined #ruby
oo_ has quit [Remote host closed the connection]
_justin has quit [Ping timeout: 250 seconds]
dyoko has quit [Quit: Leaving.]
sputnik13 has quit [Client Quit]
dyoko has joined #ruby
sputnik13 has joined #ruby
flowerhack has joined #ruby
CaptainKnots has joined #ruby
aag1091 has quit [Quit: Leaving]
Kricir has quit [Remote host closed the connection]
sputnik13 has quit [Client Quit]
momomomomo has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
cj3kim has joined #ruby
maximski_ has quit []
ferr has joined #ruby
shashank_rs has joined #ruby
afreidah1 has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
sputnik13 has joined #ruby
jenrzzz has joined #ruby
treehug88 has joined #ruby
sputnik1_ has joined #ruby
chipotle has quit [Quit: cya]
s3ri0us has joined #ruby
arturaz has quit [Ping timeout: 250 seconds]
rvraghav93_ has quit [Read error: No route to host]
ndrei has joined #ruby
chipotle has joined #ruby
sputnik1_ has quit [Client Quit]
jenrzzz has quit [Client Quit]
lmickh has joined #ruby
chipotle has quit [Client Quit]
jlast has joined #ruby
sputnik1_ has joined #ruby
Nukepuppy has joined #ruby
rvraghav93 has joined #ruby
sputnik13 has quit [Ping timeout: 240 seconds]
sputnik1_ has quit [Client Quit]
zchrykng-work has joined #ruby
jlast has quit [Remote host closed the connection]
sputnik13 has joined #ruby
francisfish has quit [Remote host closed the connection]
yfeldblum has joined #ruby
sputnik13 has quit [Client Quit]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
francisfish has joined #ruby
sputnik13 has joined #ruby
meatherly has joined #ruby
davispuh has joined #ruby
jlast has joined #ruby
Nilium has quit [Ping timeout: 240 seconds]
obscured has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
davy has joined #ruby
endash has quit [Read error: Connection reset by peer]
endash_ is now known as endash
sputnik13 has quit [Client Quit]
endash_ has joined #ruby
siwica has quit [Write error: Broken pipe]
sputnik13 has joined #ruby
freezey has joined #ruby
Celm has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
chipotle has quit [Client Quit]
Liru has quit [Ping timeout: 240 seconds]
yeltzooo has quit [Ping timeout: 240 seconds]
dmead has quit [Ping timeout: 240 seconds]
Liru has joined #ruby
thoraxe has quit [Ping timeout: 240 seconds]
kennym has quit [Ping timeout: 246 seconds]
yeltzooo has joined #ruby
northfurr has quit [Quit: northfurr]
dmead has joined #ruby
reset has joined #ruby
Nilium has joined #ruby
alyi has quit [Ping timeout: 250 seconds]
thoraxe has joined #ruby
chipotle has joined #ruby
Seventoes has joined #ruby
Seventoes has left #ruby [#ruby]
paulfm has joined #ruby
davy has quit [Ping timeout: 246 seconds]
Celm has quit [Ping timeout: 240 seconds]
ce_afk is now known as cescalante
alyi has joined #ruby
bruno- has quit [Quit: leaving]
chipotle has quit [Client Quit]
chipotle has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
reset has quit [Ping timeout: 240 seconds]
obscured has joined #ruby
karmatr0n has joined #ruby
chipotle has quit [Client Quit]
atno has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
sski has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
sdouglas has joined #ruby
manyrus has quit [Ping timeout: 250 seconds]
JBreit has joined #ruby
Kricir has joined #ruby
Geniack has quit [Ping timeout: 240 seconds]
sski has quit [Ping timeout: 250 seconds]
LBRapid has quit [Quit: ZNC - http://znc.sourceforge.net]
cpruitt has joined #ruby
Geniack has joined #ruby
Melpaws has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
lukec has joined #ruby
jokke1 has joined #ruby
sigurding has quit [Quit: sigurding]
aagdbl has quit [Quit: This computer has gone to sleep]
poikon has joined #ruby
lucasmartins has joined #ruby
arubincloud has joined #ruby
lucasmartins has quit [Quit: Leaving]
jokke has quit [Ping timeout: 252 seconds]
_justin has joined #ruby
chipotle has joined #ruby
mjs2600 has quit [Remote host closed the connection]
havenwood has joined #ruby
agarie has quit [Remote host closed the connection]
chipotle has quit [Client Quit]
jbzt has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
dik_dak has joined #ruby
shashank_rs has quit [Ping timeout: 240 seconds]
<jbzt> I want to create a bunch of boiler plate ruby classes all based on a template, then edit them from there. I’ve already encapulsated based functionality in a common ancestor, this is just a kick starter for new classes. Is there preferred way to do this? Rails has generators, but is there a standard Ruby pattern to do something similar? I was thinking Rake and something like ERB.
<banister> jbzt look at bones
Sthebig has joined #ruby
jorts has joined #ruby
jokke1 is now known as jokke
havenwood has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
<jbzt> banister: thanks, I’ll take a look. Hopefully it can be used on a smaller scale and not just generating projects
robbyoconnor has quit [Ping timeout: 240 seconds]
manyrus has joined #ruby
mjs2600 has joined #ruby
supermarin has joined #ruby
<apeiros> jbzt: IMO if you need code generators, you're doing something wrong
benzrf|offline is now known as benzrf
obscured has quit [Quit: Changing server]
akemrir has quit [Quit: WeeChat 0.4.3]
sk87 has joined #ruby
cescalante is now known as ce_afk
danijoo has joined #ruby
_justin has quit [Quit: _justin]
ce_afk is now known as cescalante
<jbzt> apeiros: I struggled (and I guess still stuggling) with that. Basically I have a factory method and this code kicks off creating new implementations of those factory classes
chipotle has joined #ruby
benzrf is now known as benzrf|offline
chipotle has quit [Client Quit]
snath has quit [Ping timeout: 240 seconds]
kevind has joined #ruby
zachallett has joined #ruby
Solnse has joined #ruby
cjuehring has joined #ruby
jonno11 has joined #ruby
zz_jrhorn424 is now known as jrhorn424
obscured has joined #ruby
<cjuehring> has anyone else out there had trouble with the sqlite3 gem building on osx 10.9?
closures999 has joined #ruby
fjfish has joined #ruby
<danijoo> @cjuehrig did u install mysql?
<danijoo> its needed to build the gem
<canton7-mac> mysql? for sqlite? wat?
<danijoo> oh
<danijoo> misread sry
obscured has quit [Client Quit]
<danijoo> thought you are talking about the mysql gem because i had problems with that few days ago :>
<cjuehring> yeah, i've had lots of issues with gem and pip failing to build lately
francisfish has quit [Ping timeout: 250 seconds]
eynj has quit [Quit: Leaving.]
mengu has quit [Remote host closed the connection]
<danijoo> yeah lots of gems are not ready for 10.9 yet
poikon has quit [Remote host closed the connection]
manyrus has quit [Ping timeout: 240 seconds]
cescalante is now known as ce_afk
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
obscured has joined #ruby
obscured has quit [Client Quit]
<cjuehring> makes me sad, kind of broke my environment for the morning
tagrudev has quit [Remote host closed the connection]
<danijoo> hm. i just tried it on my mac and it worked.
sputnik13 has joined #ruby
<danijoo> Successfully installed sqlite3-1.3.9
<danijoo> 1 gem installed
Alina-malina has quit [Quit: Leaving]
sputnik13 has quit [Client Quit]
<cjuehring> hmm perhaps i should confirm my xcode commandline tools are properly set up
Alina-malina has joined #ruby
Deele has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Aquilo_ has quit [Ping timeout: 250 seconds]
<cjuehring> bah
<cjuehring> seems to be
chipotle has joined #ruby
SCommette has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
sambao21 has joined #ruby
chipotle has quit [Client Quit]
<danijoo> "It turns out that the latest (5.1) version of Xcode ships with a compiler that treats unknown passed parameters as errors."
UserNameInvalid has joined #ruby
<cjuehring> thanks danijoo, this is exactly what i've been running into with both python and ruby packages
<cjuehring> as described in the article
<danijoo> you are welcome
<cjuehring> elevate warnings into breaking it
poikon has joined #ruby
<danijoo> maybe it only works for me because I didnt upgrade xcode since ages :D
Macaveli has joined #ruby
civillian has quit [Ping timeout: 256 seconds]
<danijoo> (and now wont do it ever)
<cjuehring> haha, yeah, i'm on the latest
pu22l3r has quit [Remote host closed the connection]
slawrence00 has joined #ruby
pu22l3r has joined #ruby
rylev_ has quit [Remote host closed the connection]
jbzt has quit [Quit: jbzt]
rylev has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
siwica has joined #ruby
baroquebobcat has joined #ruby
<cjuehring> that worked.
<danijoo> :)
<cjuehring> awww yeeaahhh.
ianco has joined #ruby
andy__ has joined #ruby
rayners has joined #ruby
Macaveli has quit [Max SendQ exceeded]
tkuchiki has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
benzrf|offline is now known as benzrf
<benzrf> hello rubyers
tkuchiki has joined #ruby
alexju has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
Deele has joined #ruby
boska has quit [Quit: Connection closed for inactivity]
pwh has quit []
pwh has joined #ruby
civillian has joined #ruby
siwica has quit [Client Quit]
_tpavel has quit [Quit: Leaving]
jamto11 has quit []
chipotle has joined #ruby
TheLarkInn has joined #ruby
<TheLarkInn> Hi all!! Any Sequel gem pro's here?
jefflyne has joined #ruby
sputnik13 has joined #ruby
mary5030_ has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
mary5030 has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
avril14th has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
ce_afk is now known as cescalante
alexju has joined #ruby
obs has joined #ruby
frem has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
rudisimo has joined #ruby
davy_ has joined #ruby
sambao21 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GodPuppet has joined #ruby
jprovazn is now known as jprovazn_bbl
phansch has quit [Quit: WeeChat 0.4.2]
LadyRanicorn has joined #ruby
benzrf is now known as benzrf|offline
_5kg has quit [Ping timeout: 240 seconds]
Guest37155 has joined #ruby
Guest37155 has quit [Changing host]
yfeldblum has quit [Ping timeout: 246 seconds]
Guest37155 is now known as digifiv5e
UserNameInvalid has quit [Ping timeout: 240 seconds]
Alina-malina has quit [Quit: Leaving]
arietis has quit [Quit: Computer has gone to sleep.]
Macaveli has joined #ruby
anarang has quit [Ping timeout: 246 seconds]
reset has joined #ruby
mary5030_ has quit [Remote host closed the connection]
supermarin has quit [Quit: Computer has gone to sleep.]
apeiros has quit [Remote host closed the connection]
davy_ has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
apeiros has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
havenwood has joined #ruby
mary5030 has joined #ruby
mrjensen has quit [Remote host closed the connection]
cl4ptr4p0 has joined #ruby
jenrzzz has quit [Client Quit]
bean has joined #ruby
sailias has quit [Ping timeout: 240 seconds]
JohnBat26 has quit [Ping timeout: 246 seconds]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reset has quit [Ping timeout: 240 seconds]
cescalante is now known as ce_afk
apeiros has quit [Ping timeout: 246 seconds]
Hobogrammer has joined #ruby
relix has joined #ruby
bal1 has quit [Quit: bal1]
agarie has joined #ruby
luriv has joined #ruby
maletor has joined #ruby
x77686d has joined #ruby
Alina-malina has joined #ruby
agarie has quit [Ping timeout: 250 seconds]
benzrf|offline is now known as benzrf
luriv has quit [Remote host closed the connection]
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
luriv has joined #ruby
<cjuehring> as it always is, one problem begets another. http://pastebin.com/umsG0R72
<cjuehring> i was able to build sqlite3 with the environment vars in that article, but sass doesn't seem impressed
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
acrussell has joined #ruby
LadyRanicorn is now known as LadyRainicorn
alekst has quit [Quit: Leaving...]
LadyRainicorn is now known as Guest32590
Guest32590 is now known as LadyRanicorn
yacks has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
LadyRanicorn is now known as LadyRhiannacorn
Rollabunna has joined #ruby
bbloom has joined #ruby
freerobby has joined #ruby
snath has joined #ruby
s3ri0us has quit [Quit: Linkinus - http://linkinus.com]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
lagweezle has joined #ruby
closures999 has quit []
toastynerd has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
jenrzzz has quit [Client Quit]
nbouscal has joined #ruby
Angelous has quit [Changing host]
Angelous has joined #ruby
zachallett has quit [Write error: Broken pipe]
arietis has joined #ruby
dukz has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Burgestrand]
contradictioned has quit [Remote host closed the connection]
danman_ has joined #ruby
dik_dak has quit [Ping timeout: 240 seconds]
danijoo has quit [Remote host closed the connection]
DaniG2k has joined #ruby
Solnse has quit [Quit: Leaving.]
zchrykng-work has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Kricir has quit [Remote host closed the connection]
aganov has quit [Quit: Leaving]
albedoa has joined #ruby
jenrzzz has quit [Client Quit]
zachallett has joined #ruby
ce_afk is now known as cescalante
baroquebobcat has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
dukz has quit [Remote host closed the connection]
brisbin has quit [Ping timeout: 250 seconds]
UserNameInvalid has joined #ruby
<Takumo> Hi all, I'm trying to secure my Grape API with Warden, I'm wondering what the best way is to supply the access token is
<Takumo> should I use a X-ACCESS-TOKEN HTTP header, or just have an access_token parameter, and in either case, how would I read that from the request?
dukz has joined #ruby
SatansDeer has joined #ruby
zchrykng-work has joined #ruby
toastynerd has quit [Remote host closed the connection]
noop has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
UserNameInvalid has quit [Ping timeout: 246 seconds]
mway has joined #ruby
hamakn has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
dik_dak has joined #ruby
_5kg has joined #ruby
kevind_ has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
andrewlio has joined #ruby
rylev_ has joined #ruby
arietis has joined #ruby
brisbin has joined #ruby
kevind has quit [Ping timeout: 246 seconds]
kevind_ is now known as kevind
apeiros has joined #ruby
ktun has quit [Ping timeout: 240 seconds]
r_rios has quit [Ping timeout: 240 seconds]
rylev has quit [Ping timeout: 240 seconds]
rainmanjam has joined #ruby
mr_snowf1ake has joined #ruby
koderok has quit [Ping timeout: 250 seconds]
olivier_bK has quit [Ping timeout: 240 seconds]
lolmaus has joined #ruby
rippa has joined #ruby
Rickmasta has quit [Quit: Leaving]
hooper has joined #ruby
ktun has joined #ruby
roolo has quit [Quit: Leaving...]
Kricir has joined #ruby
UserNameInvalid has joined #ruby
phansch has joined #ruby
aniM has joined #ruby
cl4ptr4p0 has quit [Quit: BitchX: it isn't only my script, it's also my client]
cescalante is now known as ce_afk
jamto11 has joined #ruby
SatansDeer has quit [Quit: Leaving.]
Rickmasta has joined #ruby
Celm has joined #ruby
roolo has joined #ruby
yfeldblum has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
jenrzzz has joined #ruby
contradictioned has joined #ruby
shashank_rs has joined #ruby
jenrzzz has quit [Client Quit]
renier has quit [Ping timeout: 255 seconds]
ahawkins has quit [Quit: leaving]
yfeldblum has quit [Ping timeout: 240 seconds]
bluenemo has quit [Remote host closed the connection]
vpretzel has quit [Quit: Adios!]
graft has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
reset has joined #ruby
vpretzel has joined #ruby
jobewan has joined #ruby
michaeldeol has joined #ruby
UserNameInvalid has quit [Quit: Leaving]
agarie has joined #ruby
hooper has quit [Quit: BitchX: the ONLY bug-free client]
hooper has joined #ruby
jvdp has joined #ruby
agarie_ has joined #ruby
agarie has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
dagobah has quit [Quit: Leaving...]
evenix has joined #ruby
kiri has quit [Quit: Leaving]
pietr0 has joined #ruby
reset has quit [Ping timeout: 240 seconds]
<jvdp> i am new to ruby, i have a .each do function to show a price from items in a hash, that works fine, and it prints a line per item, now i also want to have the sum of all items. How can I do this/
<hoelzro> jvdp: you can sum up the values by hand
supermarin has joined #ruby
<hoelzro> but there's a shorter way too
<hoelzro> you can use inject/reduce
* hoelzro .oO( There might even be a sum method... )
brisbin has quit [Ping timeout: 240 seconds]
<jvdp> for each iteration it should save the total value and adds it to the grandtotal
sambao21 has joined #ruby
brisbin has joined #ruby
alexherbo2 has joined #ruby
<benzrf> inject is fun
<benzrf> jvdp: if you have any knowledge of haskell or lisp or other FP u may know inject as fold or reduce
hamakn has joined #ruby
<jvdp> ok let me see
alexherbo2 has quit [Client Quit]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sailias has quit [Quit: Leaving.]
marcdel has joined #ruby
heftig has quit [Quit: Quitting]
Rollabunna has quit [Remote host closed the connection]
<workmad3> benzrf: you can even use .reduce instead of .inject
TheLarkInn has left #ruby [#ruby]
<benzrf> nonsense
seemant has quit [Changing host]
seemant has joined #ruby
jhass|off is now known as jhass
marcdel_ has joined #ruby
cptdwarf has quit [Remote host closed the connection]
sailias has joined #ruby
tobago has quit [Remote host closed the connection]
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> benzrf: I find it kinda weird that many people use .map/.inject rather than .map/.reduce, seeing as ruby has .collect/.inject for smalltalkers and .map/.reduce for FPers :)
<benzrf> :I
sk87 has joined #ruby
paulfm has quit []
marcdel has quit [Ping timeout: 246 seconds]
davy_ has joined #ruby
segv is now known as xorl
andikr has quit [Remote host closed the connection]
dkamioka has quit [Remote host closed the connection]
timonv has joined #ruby
dblessing_ has joined #ruby
renier has joined #ruby
cj3kim has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
froy has joined #ruby
cj3kim has joined #ruby
Morkel has quit [Quit: Morkel]
ikaros has quit [Quit: Ex-Chat]
marcdel_ has quit [Ping timeout: 240 seconds]
afreidah1 has quit [Ping timeout: 240 seconds]
dblessing has quit [Ping timeout: 240 seconds]
dblessing_ is now known as dblessing
lsmola has quit [Ping timeout: 255 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
supermarin_ has joined #ruby
zchrykng-work has quit [Ping timeout: 246 seconds]
<banister> workmad3 real FPers call it foldl ;)
supermarin has quit [Ping timeout: 240 seconds]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
afreidah1 has joined #ruby
marcdel has joined #ruby
zachallett has quit [Remote host closed the connection]
<benzrf> banister: what about foldl1 tho
wallerdev has joined #ruby
zigomir has quit [Remote host closed the connection]
<banister> benzrf ? we're just talking about how functional programmers would refer to Enumerable#inject
gizmore has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
afex has joined #ruby
lolmaus has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
rylev has joined #ruby
zchrykng-work has joined #ruby
LadyRhiannacorn has quit [Remote host closed the connection]
browndawg has quit [Quit: Leaving.]
greenarrow has quit [Quit: 500]
markisonfire has joined #ruby
renier has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 264 seconds]
shashank_rs has quit [Ping timeout: 240 seconds]
einarj has quit [Remote host closed the connection]
poikon has quit [Remote host closed the connection]
rylev_ has quit [Ping timeout: 240 seconds]
bahar has joined #ruby
rylev has quit [Ping timeout: 246 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chiel has quit [Quit: leaving]
shanlar has joined #ruby
x1337807x has joined #ruby
nvrch has quit [Quit: nvrch]
jonno11 has joined #ruby
blackavr has quit [Quit: blackavr]
canton7-mac has quit [Quit: Leaving]
shashank_rs has joined #ruby
renier has joined #ruby
jvdp has left #ruby [#ruby]
sputnik13 has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
spider-mario has joined #ruby
jonno11 has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
scm has joined #ruby
Kricir has joined #ruby
supermarin_ has quit [Quit: Computer has gone to sleep.]
f0ster` has joined #ruby
supermarin_ has joined #ruby
kevinykchan has joined #ruby
saarinen has joined #ruby
supermarin_ has quit [Read error: Connection reset by peer]
qba73 has quit [Remote host closed the connection]
Hobogrammer has quit [Quit: WeeChat 0.4.3]
supermarin_ has joined #ruby
psyko666 has quit [Quit: Leaving]
Hobogrammer has joined #ruby
scm has quit [Client Quit]
nisstyre has joined #ruby
apeiros has joined #ruby
mikecmpbll has quit [Ping timeout: 247 seconds]
cpruitt has quit [Quit: cpruitt]
poikon has joined #ruby
davidmles_ has joined #ruby
AlexRussia has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
dstynchula has joined #ruby
AlexRussia has joined #ruby
toastynerd has joined #ruby
nomenkun has joined #ruby
Seldan has quit [Ping timeout: 240 seconds]
shashank_rs has quit [Ping timeout: 240 seconds]
albedoa has quit [Quit: Textual IRC Client: www.textualapp.com]
Kricir has quit [Remote host closed the connection]
davidmles_ has quit [Ping timeout: 246 seconds]
x77686d has quit [Quit: x77686d]
sigurding has joined #ruby
VTLob has joined #ruby
freggles has joined #ruby
peret has joined #ruby
glanzi has joined #ruby
wallerdev has quit [Quit: wallerdev]
jamto11 has quit [Remote host closed the connection]
mway has quit [Quit: mway]
paulfm has joined #ruby
RowdyChild|Away is now known as RowdyChildren
pel_daniel has joined #ruby
meowtism has joined #ruby
obscured has joined #ruby
mway has joined #ruby
mark_locklear has quit [Ping timeout: 240 seconds]
lethjakman has joined #ruby
asfqw has joined #ruby
asfqw has quit [Client Quit]
<lethjakman> is @blah = blah.tap any different from @blah = begin end ?
deadlock has joined #ruby
<f0ster`> anyone remmeber when jetbrains had all their IDEs super cheap ?
poikon has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 240 seconds]
poikon has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<DouweM> lethjakman: one's a language construct and the other is a method? begin/end is definitely more performant
<lethjakman> DouweM: interesting, very good to know.
<lethjakman> thank you.
<apeiros> lethjakman: they have nothing to do with each other
<lethjakman> apeiros: no?
acrussell has left #ruby [#ruby]
<apeiros> begin/end will return whatever the last expression is
<apeiros> blah.tap will return blah
<apeiros> (no matter what the last expression is)
<DouweM> yeah, I'm not sure where you got the idea from that they have the same function
<lethjakman> I'm trying to figure out this bit and why they didn't use tap: https://github.com/rails/rails/blob/master/railties/lib/rails/engine/configuration.rb#L39-L71
flowerhack has quit [Quit: Connection closed for inactivity]
<lethjakman> apeiros: can't you edit blah inside of the tap?
<apeiros> lethjakman: yes
saarinen has quit [Quit: saarinen]
<lethjakman> then why would you use begin/end enstead of tap in what I just posted?
coderhs has quit [Ping timeout: 240 seconds]
<lethjakman> they're returning the last object to set it equal.
oo_ has joined #ruby
supermarin_ has quit [Quit: Computer has gone to sleep.]
<DouweM> lethjakman: performance, probably
<DouweM> lethjakman: in that case, they could indeed have used tap
<apeiros> doubt it
<DouweM> doubt what?
<apeiros> that its for performance reasons
meowtism has quit [Ping timeout: 240 seconds]
supermarin_ has joined #ruby
<lethjakman> apeiros: what do you think the reason is?
<DouweM> I mean it's probably not a conscious decision
<apeiros> lethjakman: I don't think there's a specific reason
<lethjakman> they act the same in that situation though?
<apeiros> whoever wrote that probably didn't even consider tap
x77686d has joined #ruby
<elektronaut> holdover from 1.8.x maybe? tap was introduced in ruby 1.9
Heskie has quit []
<lethjakman> hmmm
<lethjakman> perhaps.
deric_skibotn has joined #ruby
<lethjakman> very interesting.
<apeiros> lethjakman: you could use tap there, yes. the two are still unrelated.
<havenwood> lethjakman: there is often not a why for Rails code
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
stonecolddevin is now known as dhoss
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<benzrf> fuck yea
obscured has quit [Quit: leaving]
saarinen has joined #ruby
<lethjakman> havenwood: very fair lol.
<lethjakman> thank you
<lethjakman> that answers my question, I appreciate it.
<benzrf> i just made a hacky prototype of a vim plugin that would let you press a keybind and select some code, then a pry on the result of evalling it pops up in a new term window
<benzrf> B)
<benzrf> quick woo
<lethjakman> benzrf: ooooo
<benzrf> we smalltalk now
<DouweM> benzrf: hehe nice
<lethjakman> benzrf: get it up on github!
<benzrf> lethjakman: have i mentioned my current project to you yet o3o
<benzrf> it's part of that
<lethjakman> benzrf: I don't think so?
lukec has quit [Quit: lukec]
<benzrf> lethjakman: Quick
<benzrf> 1 sec
<benzrf> lethjakman: are you familiar with typescripts as produced by quick(1)
<benzrf> * script(1)
<lethjakman> no.
<benzrf> kk
<benzrf> lethjakman: https://github.com/benzrf/quick/tree/master/demo <- download those two files
<benzrf> resize your terminal to 124 x 33
oo_ has quit [Ping timeout: 246 seconds]
<benzrf> run 'scriptreplay timing -s typescript'
<benzrf> & enjoy the demo :-)
supermarin_ has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
reset has joined #ruby
failshell has joined #ruby
terrellt_ has joined #ruby
Kricir has joined #ruby
Fretta has joined #ruby
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rmorello has joined #ruby
wallerdev has joined #ruby
iliketurtles has joined #ruby
mikecmpbll has joined #ruby
terrellt has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has quit [Remote host closed the connection]
camilasan has joined #ruby
Spami has joined #ruby
supermarin_ has joined #ruby
jonno11 has joined #ruby
sigurding has quit [Ping timeout: 240 seconds]
subbyyy_ has joined #ruby
reset has quit [Ping timeout: 240 seconds]
<benzrf> lethjakman: quick is currently in omegahm
<benzrf> *omega
<benzrf> lethjakman: it's like alpha but further back, so it loops around to the end
supermarin_ has quit [Client Quit]
<benzrf> >tfw underflow
<f0ster`> anyone know a jetbrains coupon ? :D
sambao21 has quit [Quit: Computer has gone to sleep.]
ianco has left #ruby [#ruby]
mjs2600 has joined #ruby
supermarin_ has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
cpruitt has joined #ruby
dukz has quit []
benzrf is now known as benzrf|offline
andy___ has joined #ruby
benzrf|offline is now known as benzrf
sambao21 has joined #ruby
afreidah1 has quit [Ping timeout: 240 seconds]
ferr has quit [Quit: Lost terminal]
coderhs has joined #ruby
<benzrf> lethjakman: is it playin correctly
<wallerdev> morning :)
agarie_ has quit [Ping timeout: 240 seconds]
thrillagorilla has joined #ruby
andy____ has joined #ruby
toastynerd has joined #ruby
supermarin_ has quit [Ping timeout: 250 seconds]
andy____ has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
andy__ has quit [Ping timeout: 240 seconds]
fjfish has quit [Remote host closed the connection]
cj3kim has joined #ruby
andy__ has joined #ruby
andy___ has quit [Ping timeout: 240 seconds]
<lethjakman> benzrf: very interesting! sounds nice!
francisfish has joined #ruby
nari has quit [Ping timeout: 250 seconds]
ori has joined #ruby
<benzrf> lethjakman: :3
axl_ has joined #ruby
RowdyChildren is now known as RowdyChild|Away
zachallett has joined #ruby
xiella has left #ruby ["Leaving"]
fabrice31 has quit [Ping timeout: 240 seconds]
CreativeEmbassy has quit [Quit: FO SHO]
zeropx has joined #ruby
<ori> hey, i remember ruby having some syntactic sugar for calling a method on each item in enumerable, like collection.map(:@foo) or something, but now i can't remember what it was exactly
RowdyChild|Away is now known as RowdyChildren
<ori> anyone know what i am thinking of?
gigetoo has quit [Read error: Connection reset by peer]
<benzrf> ori: you can use &foo to pass a block arg from a value
<havenwood> ori: ampersand for to_proc
<apeiros> ori: e.g. ary.map(&:to_i)
<benzrf> ori: and symbols' to_proc makes a Proc that calls the symbols' method on the arg
<ori> ah yes, that's it!
gigetoo has joined #ruby
jxf has joined #ruby
<benzrf> >> some_proc = :to_s.to_proc; some_proc.call 3
<eval-in> benzrf => "3" (https://eval.in/134541)
wjlafrance has joined #ruby
<benzrf> >> some_proc = :to_s.to_proc; [1, 2, 3].map(&some_proc)
<eval-in> benzrf => ["1", "2", "3"] (https://eval.in/134542)
cpruitt has quit [Quit: cpruitt]
<benzrf> >> [1, 2, 3].map(&:to_s)
<eval-in> benzrf => ["1", "2", "3"] (https://eval.in/134543)
francisfish has quit [Ping timeout: 240 seconds]
St_Marx has quit [Quit: Ex-Chat]
michaeldeol has joined #ruby
* ori nods
<ori> thanks very much benzrf, havenwood, apeiros -- benzrf especially since i now not only know the notation but also understand it! :)
cpruitt has joined #ruby
fgo has quit [Remote host closed the connection]
<benzrf> np =)
<benzrf> & will use to_proc to coerce if possible in case it wasnt ovcious
<f0ster`> how many of you use vim for development ?
<lethjakman> f0ster`: me :)
alyi has quit [Ping timeout: 250 seconds]
moritzs has quit [Ping timeout: 240 seconds]
jason__ has joined #ruby
St_Marx has joined #ruby
Sawbones has joined #ruby
oo_ has joined #ruby
<benzrf> f0ster`: i do too!
pen has joined #ruby
dorei has joined #ruby
<DouweM> I should really find some time to build a *good* gem for finding song lyrics
<lethjakman> seems like it's mostly between sublime or vim.
sigurding has joined #ruby
Hobogrammer has quit [Ping timeout: 246 seconds]
<DouweM> then hook it up to this: https://github.com/DouweM/shoutout and see lyrics while I'm listening to the radio :)
<lethjakman> DouweM: if you can make one that would find a song by guitar riffs I'd like it :)
<lethjakman> do doo do do dooooo
<DouweM> lethjakman: hehe
<lethjakman> what song is taht?
binaryhat has joined #ruby
moritzs has joined #ruby
<workmad3> lethjakman: heh, reminds me of a lyric... "oh son, won't you play us a melody, I'm not really sure how it goes, but it's short and it's sweet'
roolo has quit [Quit: Linkinus - http://linkinus.com]
<workmad3> etc...
jeregrine has joined #ruby
<f0ster`> lethjakman, benzrf macvim and janus? i've used vim for a long tikme but i usually use IDES for things like jumping to declarations etc
zigomir has joined #ruby
<lethjakman> f0ster`: fuzzy searching.
<DouweM> workmad3: how did that reming you of piano man?
<DouweM> *remind
<lethjakman> workmad3: who doesn't love billy joel :)
<workmad3> DouweM: 'do doo do do dooo - what song is that'?
<DouweM> aah, like that :)
rakm has joined #ruby
vasilakisFiL has joined #ruby
<workmad3> lethjakman: members of the 'I hate billy joel' fan club?
<lethjakman> workmad3: they're not real people.
<lethjakman> they don't count.
iceden has quit [Read error: Connection reset by peer]
jason__ has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 240 seconds]
<workmad3> lethjakman: heh
IceDragon has quit [Ping timeout: 250 seconds]
ace_striker has quit [Ping timeout: 240 seconds]
<vasilakisFiL> hi.. I am building a warden plugin for rails that authenticates the user based on its ip.. how can I test that? I was thinking to build another warden middleware, insert it before the first one and through that inject any data I want..
Seldan has joined #ruby
mrjensen has joined #ruby
hakunin has quit [Remote host closed the connection]
roolo has joined #ruby
agarie has joined #ruby
hakunin has joined #ruby
<DouweM> you sure that's a good idea?
danijoo has joined #ruby
yacks has joined #ruby
<vasilakisFiL> DouweM I don't know.. do you have any better solution ?
cj3kim has quit [Read error: Connection reset by peer]
sigurding has quit [Ping timeout: 240 seconds]
<jhass> I'm sure it's not a good idea
<DouweM> yeah, that.
<DouweM> why do you wanna auth on IP?
<vasilakisFiL> ok good to know that
<wallerdev> sounds fine to me
<lethjakman> vasilakisFiL: using your session?
kirun has joined #ruby
cj3kim has joined #ruby
ce_afk is now known as cescalante
Es0teric has joined #ruby
<lethjakman> vasilakisFiL: I've actually run into software that does that. humblebundle did for a while
Es0teric has quit [Max SendQ exceeded]
<lethjakman> logged into my VPN and was logged into someone elses account.
<vasilakisFiL> DouweM it is for multiple users that belong to a certain company that has one or more static ips
<lethjakman> actually. it wasn't humble bundle, it was that big crowd funding software.
<wallerdev> yeah i wouldnt do it for anything public
Es0teric has joined #ruby
<vasilakisFiL> lethjakman what do you mean using my session? I get the ip from the rack
<lethjakman> vasilakisFiL: use session logins rather than IP
<jhass> ip spoofing is easy, if don't trust the people that have network level access they can just trigger actions. They won't get the reply but still very dangerous
<lethjakman> I'd recommend some sort of distributed keys.
benzrf is now known as benzrf|offline
TripTastic has joined #ruby
hakunin has quit [Ping timeout: 246 seconds]
<vasilakisFiL> the thing is that I have to use IPs because I was told so.. so do you have any better idea on how to test it ?
einarj has joined #ruby
JBreit has quit [Ping timeout: 240 seconds]
nomenkun has quit [Remote host closed the connection]
jamto11 has joined #ruby
testcore has joined #ruby
<lethjakman> vasilakisFiL: hmmm. alright. no I don't but I would like to pass this on to you: https://security.stackexchange.com/questions/13255/how-secure-can-ip-based-login-be
nomenkun has joined #ruby
maximski has joined #ruby
rdark has quit [Quit: leaving]
crystal77 has joined #ruby
moritzs has quit [Ping timeout: 250 seconds]
kayloos has joined #ruby
sigurding has joined #ruby
<mostlybadfly> hi all, was wondering if i could get some help with iterating within nested hashes and arrays: https://gist.github.com/mostlybadfly/edbd553cfc0661b7ddfa
<mostlybadfly> i know the example is poor and doesn't account for all, wasn't too sure how to even start
nomenkun has quit [Ping timeout: 246 seconds]
_root has joined #ruby
<mostlybadfly> fwiw this is the output apple_pie:sugar1cbutter1tblapples1c1. Combine ingredients2. Mix ingredients
kevinykchan has quit [Quit: Computer has gone to sleep.]
<jhass> mostlybadfly: that datastructure doesn't make a lot of sense for the data you're modeling. Better would be {name: name, ingredients: ingredients, instructions: instructions}
<vasilakisFiL> lethjakman it is dangerous but it won't be the end of the world.. I think other problems will make the transition to a proper authentication such as you can't do any data analysis about the user preferences and in essence you have very little meta-data about the users
andy__ has quit [Remote host closed the connection]
<jhass> mostlybadfly: that be one recipe and for a collection of recipes you just make an array of those
freerobby has joined #ruby
<mostlybadfly> jhass: ok that makes perfect sense, the more i look at it the more i was wondering why i made it like that haha
_justin has joined #ruby
simono has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
RowdyChildren is now known as RowdyChild|Away
nanoyak has joined #ruby
yfeldblum has joined #ruby
<mostlybadfly> so it would be more like cookbook = [ recipe1 , recipe2, etc. ] ?
<jhass> yep
mark_locklear has joined #ruby
<mostlybadfly> ok, let me rework this, makes a lot more sense for printing too
<mostlybadfly> thanks jhass :)
<Veejay> You could also have a Recipe class
einarj has quit [Remote host closed the connection]
<Veejay> And go nuts
sigurding has quit [Ping timeout: 240 seconds]
iceden has joined #ruby
<mostlybadfly> yeah i'm actually trying to figure out to which extent I want to do that. right now i'm just working with asking for recipe input and putting it into a hash
alekst has joined #ruby
<Veejay> Yeah hashes will do fine for the time being
tijmencc has joined #ruby
<mostlybadfly> basically using a case statement of when "New" prompt for title, ingredients, instructions, then push that to a hash/array
danijoo has quit [Remote host closed the connection]
<mostlybadfly> i'd imagine for displaying or modification purposes a class would be great
kitak_ has joined #ruby
tijmencc has quit [Client Quit]
nanoyak has quit [Client Quit]
tijmencc has joined #ruby
_root has quit [Ping timeout: 240 seconds]
reset has joined #ruby
<mostlybadfly> i'm having a hard time properly writing an initialize method and where everything would go
nanoyak has joined #ruby
<mostlybadfly> i'm thinking reworking the data structur will help
blackavr has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
<mostlybadfly> oh i remember jhass my initial thought would be to have just a list of ingredients so that they can be later referenced, i wanted to avoid combining quantities with ingredients. my primary confusion was how to structure ingredients and quantity. i'll have to rethink my approach
kitak has quit [Ping timeout: 240 seconds]
<dorei> any idea how can I specify user/pass/database at a sequel migration file?
rkazak has quit [Quit: rkazak]
hrs has joined #ruby
momomomomo has joined #ruby
hrs has quit [Client Quit]
r_rios has joined #ruby
afreidah1 has joined #ruby
toastynerd has quit [Remote host closed the connection]
tijmencc has quit [Client Quit]
andy__ has joined #ruby
RowdyChild|Away is now known as RowdyChildren
chiel has joined #ruby
cescalante is now known as ce_afk
andy__ has quit [Remote host closed the connection]
zcreative has joined #ruby
freerobby has quit [Quit: Leaving.]
Angelous has quit [Excess Flood]
andy__ has joined #ruby
Angelous- has joined #ruby
Angelous- has quit [Excess Flood]
<alekst> Module::InnerModule.method = !!object[:symbol]. Any idea on how to refactor this to avoid the double negation?
Angelous has joined #ruby
Angelous has quit [Excess Flood]
<jhass> alekst: what's the purpose of it?
<jhass> what does object[:symbol] return?
Angelous has joined #ruby
Angelous has quit [Excess Flood]
obs has quit [Quit: Konversation terminated!]
Angelous has joined #ruby
Angelous has quit [Excess Flood]
deadlock has quit [Ping timeout: 240 seconds]
<Hanmac1> alekst: you can do (object[:symbol] && true) but that doesnt make more or less sense
Angelous has joined #ruby
Angelous has quit [Excess Flood]
renier has quit [Ping timeout: 240 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<alekst> object[:symbol] returns a boolean
Angelous has joined #ruby
<jhass> then just rip it out
Angelous has quit [Excess Flood]
<jhass> it just wastes time
aniM has quit [Ping timeout: 240 seconds]
dtcrshr has joined #ruby
<Veejay> The !! makes it booleaner though
jonno11 has joined #ruby
Angelous has joined #ruby
Angelous has quit [Excess Flood]
<Veejay> i.e. the true true
<alekst> the !! is not the style.
<jhass> >> true.object_id == (!!true).object_id
Angelous has joined #ruby
<eval-in> jhass => true (https://eval.in/134553)
Angelous has quit [Excess Flood]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> Veejay: ^ that's truer now?
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
Angelous has joined #ruby
Angelous has quit [Excess Flood]
<Veejay> jhass: I was being goofy though
<jhass> I tried to be goofier
<Veejay> You succeeded :(
Angelous has joined #ruby
Angelous has quit [Excess Flood]
randomnick_ has joined #ruby
<Hanmac1> alekst: !! turns a value into a boolean, so not-false and not-nil into true
Angelous has joined #ruby
Angelous has quit [Excess Flood]
Angelous has joined #ruby
Angelous has quit [Excess Flood]
Hanmac1 is now known as Hanmac
Angelous has joined #ruby
Angelous has quit [Excess Flood]
FxK has quit [Ping timeout: 250 seconds]
Angelous has joined #ruby
Angelous has quit [Excess Flood]
marr has quit [Ping timeout: 250 seconds]
mehlah has quit [Quit: Leaving...]
Angelous has joined #ruby
Angelous has quit [Excess Flood]
ndrei has joined #ruby
combusean has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Angelous has joined #ruby
Angelous has quit [Excess Flood]
ryanuber has joined #ruby
<alekst> Hanmac1 I understand that. I wonder how to avoid the double negation.
hiall has quit [Quit: hiall]
AlSquire has quit [Quit: This computer has gone to sleep]
<Hanmac> when the value you got is not a boolean, and you need a boolean, then you might not able to avoid it
renier has joined #ruby
<jhass> alekst: you're saying object[:symbol] already returns a boolean. There's zero need to "cast" it into a boolean then
jlast has joined #ruby
<alekst> I'll tinker with it some more. thanks for your help though.
sailias has quit [Quit: Leaving.]
failshell has quit [Ping timeout: 240 seconds]
failshell has joined #ruby
Authenticator has quit [Ping timeout: 240 seconds]
aniM has joined #ruby
Es0teric has joined #ruby
bricker has joined #ruby
Angelous has joined #ruby
Angelous has quit [Excess Flood]
nemesit|znc has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Angelous has joined #ruby
Angelous has quit [Excess Flood]
pkrnj has joined #ruby
horrorvacui has joined #ruby
Angelous has joined #ruby
Angelous has quit [Excess Flood]
failshel_ has joined #ruby
IceDragon has joined #ruby
djbender has quit [Quit: djbender]
toastynerd has joined #ruby
Deele has quit [Ping timeout: 255 seconds]
Angelous has joined #ruby
Angelous has quit [Excess Flood]
dyoko has quit [Quit: Leaving.]
nemesit|znc has joined #ruby
basmoura has joined #ruby
keeguon has quit [Quit: keeguon]
failshell has quit [Ping timeout: 240 seconds]
cj3kim has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
djbender has joined #ruby
iliketurtles has joined #ruby
davy_ has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
poikon has quit []
failshel_ has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
derek_c has quit [Ping timeout: 240 seconds]
ccham has joined #ruby
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
contradictioned has quit [Remote host closed the connection]
contradictioned has joined #ruby
RowdyChildren is now known as RowdyChild|Away
basmoura has quit [Read error: Connection timed out]
karmatr0n has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
karmatr0n has joined #ruby
jenrzzz has joined #ruby
iamjarvo has joined #ruby
organmeat has left #ruby [#ruby]
b1nd has quit [Ping timeout: 240 seconds]
terrellt_ is now known as terrellt
sailias has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SHyx0rmZ has joined #ruby
toastynerd has joined #ruby
BalkM has joined #ruby
pwh has quit []
TripTastic has quit [Read error: Connection reset by peer]
Solnse has joined #ruby
noop has joined #ruby
danijoo has joined #ruby
shashank_rs has joined #ruby
n88 has quit [Changing host]
n88 has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
timonv has quit [Remote host closed the connection]
nbouscal has quit [Read error: Connection reset by peer]
timonv has joined #ruby
elaptics is now known as elaptics`away
nbouscal has joined #ruby
jonno11 has joined #ruby
not_satoshi_3141 has joined #ruby
x77686d has quit [Quit: x77686d]
carraroj has joined #ruby
SHyx0rmZ has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
shashank_rs has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 240 seconds]
davy_ has joined #ruby
wjlafrance has quit [Quit: This computer has gone to sleep]
arietis has quit [Quit: Computer has gone to sleep.]
cj3kim_ has joined #ruby
arietis has joined #ruby
blackmesa has joined #ruby
wjlafrance has joined #ruby
skaflem has quit [Quit: Leaving]
b1nd has joined #ruby
dql has joined #ruby
dql has left #ruby [#ruby]
x77686d has joined #ruby
renier has quit [Ping timeout: 250 seconds]
CaptainJet has joined #ruby
renier has joined #ruby
toastynerd has quit [Remote host closed the connection]
<sdelmore> I have a random naming question not at all related to ruby, hoping for some input though. What would you call a class that segments a binary data stream into chunks that can be parsed. It doesn't actually parse the rows, just knows to grab the next n bytes and pass them to another class to parse.
nicoulaj has joined #ruby
r_rios has quit [Ping timeout: 240 seconds]
rezzack1 has joined #ruby
<wallerdev> StreamSlicer
axl_ has left #ruby [#ruby]
<wallerdev> since it's basically like each_slice
<v0n> hi
<wallerdev> hi
Hobogrammer has joined #ruby
Angelous has joined #ruby
Angelous has quit [Excess Flood]
<ccham> I'd probably just name it WhateverStream and implement e.g. each_chunk
ndrei has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Quit: zzzzz…..]
robert_ has quit [Read error: Connection reset by peer]
davy__ has joined #ruby
<v0n> is there a way to apply a sed substitute expression to a string? e.g. "foobar".sed("s/ob/uu/g") # => "fouuar"
razrunelord has joined #ruby
<v0n> something like that
<jhass> v0n: sub/gsub
ndrei has joined #ruby
b1nd has quit [Ping timeout: 240 seconds]
<v0n> jhass: yeah but it takes 2 arguments, and you have to check for a "/g" suffix to know if you'll call sub() or gsub()
sepp2k has quit [Ping timeout: 250 seconds]
<jhass> well, what are you really doing here?
davy___ has joined #ruby
chipotle has quit [Quit: cya]
<v0n> As I said, I was wondering if there was a substitute method which takes a complete expression instead of several arguments
iliketurtles has joined #ruby
davy_ has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
<apeiros> v0n: no, there isn't
roolo has quit [Quit: Leaving...]
<v0n> ok
<jhass> that's the solution you'd like, not the problem you're solving
zigomir has quit [Remote host closed the connection]
robert_ has joined #ruby
<v0n> jhass: built-in* if it makes the question clearer ^^ but apeiros answered
keeguon has joined #ruby
zigomir has joined #ruby
jlebrech_ has joined #ruby
<jhass> still
mark_locklear has quit [Ping timeout: 246 seconds]
MrL0ngbowman has joined #ruby
jlebrech_ has quit [Max SendQ exceeded]
<v0n> jhass: ok got it, => I need to apply a substitution of text with a expression (sed-like) given by the user)
davy__ has quit [Ping timeout: 250 seconds]
lethjakman has quit [Ping timeout: 250 seconds]
<jhass> is that the user have to give it as a sed like expression your own requirement or are you just supposed to implement it?
<wallerdev> just shell it out to sed haha
<jhass> isn't sed touring complete? :P
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
brugidou has joined #ruby
<jhass> I've seen tetris in it
havenwood has quit []
MrL0ngbowman has quit [Read error: Connection reset by peer]
<wallerdev> it's tetris-complete then
<jhass> dangerous enough for me
<v0n> jhass: 2nd, because s/foo/bar/g is quite usual, I wanted to shell it out, but what about giving something like "s/foo/bar ; rm -rf ~"
arietis has quit [Quit: Computer has gone to sleep.]
<v0n> idealy, I'd like to avoid that ^^
<ccham> if you don't really care about full sed (just s/old/new(/g)), i'd just parse it and use sub/gsub.
<wallerdev> escape your input
mway has quit [Quit: mway]
<v0n> then the expression will be escaped and will certainly not work, right?
<jhass> system('/usr/bin/sed', user_input), don't even invoke a shell
jprovazn_bbl has quit [Quit: Odcházím]
<jhass> but I mean it's fairly easy to parse
zigomir has quit [Ping timeout: 240 seconds]
<v0n> ccham: yeah, I'm about to write a String#sed(exp) which does the switch
wjlafrance has quit [Quit: Leaving]
cjuehring has quit [Quit: WeeChat 0.4.3]
<wallerdev> seems like it'd be a pain to parse with escaped slashes
<v0n> jhass: ho, a shell isn't forked with system() ?
<jhass> not in all forms iirc
ixti has quit [Ping timeout: 250 seconds]
afex has quit [Ping timeout: 240 seconds]
<v0n> jhass: ok then there's no issue with that
<banister> apeiros ping
<jhass> I think I'd still parse it
CreativeEmbassy has quit [Quit: FO SHO]
CreativeEmbassy has joined #ruby
<v0n> something like String#sed exp ; system('sed', exp) or raise "bad expression"; end
<v0n> jhass: why/.
<v0n> ?*
mway has joined #ruby
<jhass> something like command, regex, substitute, flags = input.split(%r{(?<!\\)/|\\\\/})
Zespre has quit [Quit: leaving]
<jhass> because I consider sed to powerful for user input
<v0n> hum.
Zespre has joined #ruby
keen_ has left #ruby [#ruby]
<jhass> %r{(?<!\\)/|(?<=\\\\)/} actually
FxK has joined #ruby
<v0n> and anyway, I have to parse the input to know if it's a sed-like expression :)
coderhs has quit [Ping timeout: 240 seconds]
Zespre has quit [Client Quit]
fabrice31 has joined #ruby
Zespre has joined #ruby
treehug88 has quit []
jrhorn424 is now known as zz_jrhorn424
<Nowaker> how do I count a number of method calls when unit testing? I need to make sure :method method on the instance is called n times.
<jhass> Nowaker: what framework?
<Nowaker> jhass: test::unit or rspec, I use both in my project
<jhass> in rspec: expect(foo).to receive(:bar).exactly(n).times iirc
<Nowaker> thanks, I will check that
mark_locklear has joined #ruby
Doppp has joined #ruby
<Nowaker> you are right, thanks.
mehlah has joined #ruby
b1nd has joined #ruby
cpruitt has quit [Quit: cpruitt]
sailias has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
fabrice31 has quit [Ping timeout: 250 seconds]
derek_c has joined #ruby
not_satoshi_3141 has left #ruby [#ruby]
earth has joined #ruby
BalkM has quit [Quit: Computer has gone to sleep.]
<v0n> jhass: what kind of regex is that? perl,ruby posix?
<jhass> uh, I'm no expert into the differences here
KillerFox has quit [Ping timeout: 252 seconds]
<jhass> it uses a negative and a positive lookbehind
<jhass> perl and ruby do that, not sure about posix
cjuehring has joined #ruby
hakunin has joined #ruby
<v0n> didn't know the ?<! syntax
<apeiros> banister: pong
<jhass> google lookaround expressions
aaronmcadam has joined #ruby
<v0n> haha I look at the expression and I understand nothing
<banister> apeiros can i PM u?
<apeiros> banister: sure
KillerFox has joined #ruby
<apeiros> jhass: (?<!\\) won't attribute for escaped backslashes
<jhass> (?<!\\)/ say match a / unless it is preceded by a \, (?<=\\\\)/ says match a / if it is preceded by \\. The escaping makes it harder to read
<jhass> apeiros: not?
vasilakisFiL has quit [Remote host closed the connection]
grzywacz has quit [Ping timeout: 240 seconds]
<jhass> hm, okay probably I didn't think about the \\\\\/ case
<apeiros> I'd have to look into what you suggested, but I think not
cj3kim_ has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
cj3kim_ has joined #ruby
coderhs has joined #ruby
rvraghav93 has quit [Ping timeout: 250 seconds]
ndrei has quit [Quit: Lost terminal]
mengu has joined #ruby
<Nowaker> jhass: btw, I found no real gain from using rspec compared to test-unit. having receive.exactly.times is a strong reason for rspec. thank you very much for opening my eyes! :)
mark_locklear has quit [Ping timeout: 240 seconds]
rayners has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
Xeago_ is now known as Xeago
marcdel has quit []
jenrzzz has joined #ruby
centrx has joined #ruby
luckyruby has joined #ruby
cj3kim_ has quit [Read error: Connection reset by peer]
subbyyy has joined #ruby
cj3kim_ has joined #ruby
treehug88 has joined #ruby
decoponio has quit [Quit: Leaving...]
subbyyy_ has quit [Ping timeout: 240 seconds]
_justin has quit [Quit: _justin]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Terminus- has quit [Ping timeout: 264 seconds]
cj3kim_ has quit [Read error: Connection reset by peer]
cj3kim_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
marcdel has joined #ruby
mjs2600 has joined #ruby
yfeldblum has joined #ruby
phutchins has joined #ruby
marr123 has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
marr123 has quit [Remote host closed the connection]
rakm has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
skulker has quit [Remote host closed the connection]
havenwood has joined #ruby
chipotle has joined #ruby
heftig has joined #ruby
nanoyak has joined #ruby
AlexRussia has quit [Remote host closed the connection]
jorts_ has joined #ruby
AlexRussia has joined #ruby
freezey has quit [Remote host closed the connection]
maletor has joined #ruby
<atmosx> shevy: you here?
jxf has quit [Ping timeout: 246 seconds]
jorts has quit [Ping timeout: 240 seconds]
jorts_ is now known as jorts
<sdelmore> wallerdev: Sorry for the delayed response, I got pulled into a meeting. StreamSlicer is perfect, thanks.
lethjakman has joined #ruby
<shevy> atmosx yeah, had a nap, just woke up, still dizzy in the head
nanoyak_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
nanoyak has quit [Read error: Connection reset by peer]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
userx has joined #ruby
banister is now known as banisterfiend
chrisseaton has quit []
sailias has joined #ruby
toastynerd has joined #ruby
cj3kim_ has joined #ruby
cocotton has joined #ruby
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
freezey has joined #ruby
davy___ has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
alvaro_o has joined #ruby
toastyne_ has joined #ruby
<atmosx> shevy: have you used 'bio' gem?
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
skulker has joined #ruby
jackneill has quit [Ping timeout: 240 seconds]
paulfm has quit []
toastynerd has quit [Ping timeout: 276 seconds]
teddyp1cker has joined #ruby
relix has joined #ruby
relix has quit [Client Quit]
skulker has quit [Remote host closed the connection]
subbyyy_ has joined #ruby
<shevy> you mean bioruby?
<shevy> a little
<shevy> I dont like it much
cj3kim_ has quit [Remote host closed the connection]
toastyne_ has quit [Ping timeout: 276 seconds]
subbyyy has quit [Ping timeout: 252 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
aniM has quit [Remote host closed the connection]
Guest91413 has quit [Quit: ZNC - http://znc.in]
relix has joined #ruby
<atmosx> shevy: why is that?
<shevy> atmosx I dunno, I find it super hard to use it for anything
<shevy> I mean, once you start to use it, what exactly are you doing with it?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<atmosx> shevy: I need to write a simple sequencing program
<atmosx> I wrote one actually some time ago, and still works, but I'd like to get the position of the AA in the DNA, actually the codons
<atmosx> and that's tricky
<atmosx> at least the way I figure it out was, use each_with_index create a hash
pkrnj has joined #ruby
<atmosx> and then match if the sequence is found, get from teh hash the values of first and last codon
<shevy> hmm
<atmosx> but there are some classes in the gem that are called 'AAindex' but it's hard to figure out how they work
<atmosx> I mean all my problems should be already solved by this gem, it's like I'm doing anything new
Angelous has joined #ruby
axl_ has joined #ruby
cpruitt has joined #ruby
pwh has joined #ruby
<shevy> hey
<shevy> I find it hard to figure out what ANYTHING of it does ;)
<atmosx> hah
benzrf|offline is now known as benzrf
<atmosx> okay, I'll see if I can work out with the classes the it has... otherwise I'll roll mine
<benzrf> hello ruby losers
<benzrf> er i mean rubyists
hooper has quit [Ping timeout: 240 seconds]
axl_ has quit [Client Quit]
JBreit has joined #ruby
nanoyak_ has quit [Ping timeout: 252 seconds]
toastynerd has joined #ruby
Marfi has joined #ruby
<Marfi> hello
<Marfi> (how embeding mruby in C program?)
toastynerd has quit [Remote host closed the connection]
noop has quit [Ping timeout: 240 seconds]
shashank_rs has joined #ruby
Solnse has quit [Ping timeout: 240 seconds]
<momomomomo> Quick q - In CSV.read(r+) I’m having a difficult time finding a method to overwrite the current csv::row’s value - is it even possible (2.0)?
<momomomomo> I see IO::open has lineno=
nanoyak has joined #ruby
<momomomomo> ah pos=
<momomomomo> der
<momomomomo> nope :x
binaryhat has quit [Quit: Leaving]
werdnativ has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
thrillagorilla has quit [Remote host closed the connection]
toastynerd has joined #ruby
p8952 has quit [Remote host closed the connection]
paulfm has joined #ruby
mikecmpbll has joined #ruby
FxK has quit [Read error: Connection reset by peer]
Bumptious has quit [Remote host closed the connection]
FxK has joined #ruby
jorts has quit [Quit: jorts]
Bumptious has joined #ruby
p8952 has joined #ruby
cl4ptr4p0 has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
ukd1 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
JBreit has left #ruby ["Leaving"]
jorts has joined #ruby
coderhs has quit [Ping timeout: 250 seconds]
francisfish has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
Bumptious has quit [Ping timeout: 264 seconds]
francisfish has quit [Remote host closed the connection]
<havenwood> Marfi: compile your mruby into C byecode array to embed and compile
<momomomomo> csv.open*
spyderman4g63 has quit []
spyderman4g63 has joined #ruby
<Marfi> havenwood, is possible to not compile my code? normaly, run normal text / script
<havenwood> Marfi: yes
<havenwood> Marfi: there's a REPL too
<Marfi> havenwood, documentation is to old
<havenwood> mirb
<Marfi> havenwood, can You show me any working example?
pkrnj has joined #ruby
<Marfi> havenwood, I'm trying 2 days
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> Marfi: here's a trivial fizz-buzz: https://github.com/havenwood/mruby-fizzbuzz
* Marfi looking
senayar has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<havenwood> Marfi: i should add the commands to recreate etc, sorry it is shoddy
crystal77 has quit [Quit: Computer has gone to sleep.]
<havenwood> Marfi: here's something non-trivial: https://github.com/postmodern/badger/tree/rewrite#readme
<Marfi> havenwood, where is Makefile?
<centrx> havenwood, so mruby actually translates into a C file with byte code?
pkrnj has quit [Client Quit]
<havenwood> centrx: yeah, you can just embed it in C if you want
grzywacz has joined #ruby
<Marfi> is ruby2c
<havenwood> not many people in #mruby yet
<havenwood> yeah, the readme could use some love: https://github.com/mruby/mruby#readme
<havenwood> but mruby seems to be progressing rapidly :D
toothe has joined #ruby
sambao21 has joined #ruby
<toothe> I'm attempting to run a program but it says I need to install nokogirl. I did gem install nokogirl, but it still says I need to install nokogiri.
erikruthven has joined #ruby
<havenwood> toothe: what do you get for `which gem` and `which ruby`?
<bricker> toothe: nokogirl/nokogiri ?
cl4ptr4p0 has quit [Quit: BitchX: take the red pill]
<toothe> i did gem intsall nokogiri.
Bumptious has joined #ruby
<bricker> toothe: how are you running the program? Did you require 'nokogiri' at the top?
<toothe> I did ./cewl.rb.
<Marfi> havenwood, Your first code have no MAKEFILE, I can compile it
<bricker> toothe: Are you using rvm/gemsets, or bundler, or neither?
<toothe> honestly, I don't know.
<Marfi> havenwood, second no have Makefile too
<toothe> I'm a Ubuntu user, if that helps.
phutchins has quit [Ping timeout: 240 seconds]
<havenwood> Marfi: i'll fix it soon, i manually ran commands
<bricker> toothe: type 'gem which nokogiri' to confirm it's installed. What's the source of the program?
Hamburglr has joined #ruby
coderhs has joined #ruby
<Marfi> havenwood, how fix this depreciated code? mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[n]), mrb_nil_value());
<bricker> toothe: or 'gem list nokogiri' is probably better
zigomir has joined #ruby
Cork has quit [Quit: .]
<havenwood> toothe: Gist results for: gem env
<havenwood> toothe: telling us what you get for `which gem` and `which ruby` might help.
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
Cork has joined #ruby
Cork is now known as Guest46478
lewis__ has joined #ruby
afex has joined #ruby
moritzs has joined #ruby
davy_ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
Guest46478 has quit [Changing host]
Guest46478 has joined #ruby
havenwood has joined #ruby
Guest46478 is now known as Cork
havenwood has quit [Read error: Connection reset by peer]
einarj has joined #ruby
afreidah1 has quit [Ping timeout: 246 seconds]
mway has quit [Quit: mway]
havenwood has joined #ruby
lewis__ is now known as Lewix
Lewix has quit [Changing host]
Lewix has joined #ruby
x77686d has quit [Quit: x77686d]
Xeago has quit [Remote host closed the connection]
unholycrab has quit [Changing host]
unholycrab has joined #ruby
Doppp has quit [Ping timeout: 250 seconds]
<havenwood> toothe: check that you get what you expect for `update-alternatives --config ruby` and `update-alternatives --config gem`.
<havenwood> (assuming you're not using a Ruby version manager.)
phansch has quit [Quit: WeeChat 0.4.2]
x1337807x has joined #ruby
moritzs has quit [Ping timeout: 240 seconds]
spider-mario has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
teddyp1cker has quit [Remote host closed the connection]
combusean has quit [Ping timeout: 250 seconds]
jhass is now known as jhass|off
yalue has quit [Quit: Leaving]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby
flagg0204 has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
marcdel has quit [Read error: Connection reset by peer]
ukd1 has quit [Quit: Leaving...]
chrisseaton has joined #ruby
combusean has joined #ruby
Bumptious has quit [Remote host closed the connection]
<benzrf> sup combusean
flagg0204 has joined #ruby
Sawbones has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
skulker has joined #ruby
thrillagorilla has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
moritzs has joined #ruby
marcdel has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
marcdel has joined #ruby
pu22l3r_ has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
jlee has joined #ruby
jlee is now known as jeffleeismyhero
afreidah1 has joined #ruby
marcdel has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
marcdel has quit [Read error: Connection reset by peer]
<jeffleeismyhero> I'm trying to replace occurrences of "\N" in a file. I can't seem to find a way to do it that doesn't interpret it.
MattStratton has joined #ruby
<centrx> Escape the backslash with another backslash
<jeffleeismyhero> I've tried that but it still chokes
davedev2_ has joined #ruby
mckain has quit [Ping timeout: 264 seconds]
nso95 has joined #ruby
nso95 has quit [Changing host]
nso95 has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
rm-rf-etc has joined #ruby
rezzack1 has quit [Quit: Leaving.]
gajon has joined #ruby
<ccham> You could also '\N' instead of "\\N"
nanoyak has joined #ruby
rezzack has joined #ruby
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davedev24 has quit [Ping timeout: 250 seconds]
mercwithamouth has joined #ruby
<ccham> "foo \\N".gsub('\N', ' ')
<ccham> or 'foo \N'
<rm-rf-etc> I'm having trouble navigating the docs for our outdated rails version. Does anyone happen to know if rails 1.2.3 had a globally accessible config object which contains the hash from database.yml?
<jeffleeismyhero> The string is not something I'm creating
<jeffleeismyhero> It's being read in from a file
fabrice31 has joined #ruby
<ccham> That's fine, the test strings are though.
<ccham> When you make the string like "foo \N" it interprets the backslash as an escape, whereas from a file, it won't
davy__ has joined #ruby
<havenwood> rm-rf-etc: try #rubyonrails
crystal77 has joined #ruby
<rm-rf-etc> thnx
davy_ has quit [Ping timeout: 252 seconds]
karmatr0n has quit [Ping timeout: 240 seconds]
<jeffleeismyhero> ccham: Thanks,
s3ri0us has joined #ruby
<jeffleeismyhero> I'll try that out
marcdel has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 252 seconds]
paulfm has quit []
karmatr0n has joined #ruby
chipotle has quit [Quit: cya]
maximski has quit []
oetjenj has quit [Ping timeout: 240 seconds]
gajon has quit []
marcdel has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
cocotton has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
mckain has joined #ruby
cocotton_ has joined #ruby
cocotton_ has quit [Remote host closed the connection]
michaeldeol has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
cocotton_ has joined #ruby
oetjenj has joined #ruby
jeffleeismyhero has quit [Quit: jeffleeismyhero]
karmatr0n has quit [Ping timeout: 252 seconds]
<shevy> I hate that rubygems.org allows only one name for a gem
<shevy> on github people can have all the same names
sambao21 has joined #ruby
<shevy> so now I wanna write a class called Percentage
<shevy> and there is a gem called percentage but it does not do what I want
<shevy> so I can't name it percentage
karmatr0n has joined #ruby
Kricir has quit [Remote host closed the connection]
kevind has quit [Read error: Connection reset by peer]
Slavox is now known as Slavox|AFK
marcdel has joined #ruby
kevind has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
mjs2600 has quit [Remote host closed the connection]
pel_daniel1 has joined #ruby
dblessing has quit [Quit: dblessing]
rylev has joined #ruby
<atmosx> shevy: name it percentage-shevy
<atmosx> or ShevyPercentage
popl has quit [Quit: Touch the frog.]
pel_daniel has quit [Ping timeout: 240 seconds]
Solnse has joined #ruby
<arubincloud> FractionOfOneHundred
<ccham> percentRAGE
<shevy> atmosx problem is I dont want to pick any other name, I think everyone else should use other names but me :>
mrjensen has quit [Remote host closed the connection]
dkamioka_ has joined #ruby
<atmosx> hahaha
Es0teric has quit [Remote host closed the connection]
<arubincloud> shevy: Issue a DMCA take-down request for the current gem.
<shevy> impossible, I don't believe in the DMCA dictatorship
cocotton has joined #ruby
<centrx> <shevy> atmosx problem is I dont want to pick any other name, I think everyone else should use other names but me :>
marcdel has joined #ruby
<arubincloud> Do not like others cutting in on your action?
x77686d has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
<shevy> centrx yeah I want that!
freerobby has quit [Quit: Leaving.]
blackavr has quit [Quit: blackavr]
Slavox|AFK is now known as Slavox
blackavr has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
<ccham> heartbleed rubygems and hijack the owner's login
treehug88 has quit []
mehlah has quit [Quit: Leaving...]
cocotton_ has quit [Ping timeout: 240 seconds]
rtlong has quit [Ping timeout: 252 seconds]
freezey has joined #ruby
<shevy> haha
apeiros has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 276 seconds]
apeiros has joined #ruby
marcdel has joined #ruby
treehug88 has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
ktun has quit [Ping timeout: 246 seconds]
mengu has quit [Remote host closed the connection]
<shevy> atmosx I am playing around with gruff right now
<benzrf> shevy you disgust me
<shevy> benzrf but you like it
nanoyak has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
MattStratton has quit [Ping timeout: 250 seconds]
endash has quit [Quit: endash]
endash_ is now known as endash
aaronmcadam has quit [Quit: Leaving...]
yubrew_ has quit [Remote host closed the connection]
nanoyak has joined #ruby
<shevy> benzrf now noone else may create a gem called quick
apeiros has quit [Ping timeout: 240 seconds]
<benzrf> :-D
nanoyak_ has joined #ruby
aaronmcadam has joined #ruby
ktun has joined #ruby
marcdel has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
greenride has joined #ruby
nanoyak has quit [Ping timeout: 240 seconds]
<jokke> hey
<combusean> oh hi benzrf :)
<combusean> working with salt and capistrano and custom deployers today
sdouglas has joined #ruby
skulker has quit [Remote host closed the connection]
<lagweezle> salt?
<jokke> there's a gem that's really good for building json apis with sinatra. Whachamacallit?
<benzrf> why salt?
<benzrf> arent you a ruby dev?
<benzrf> =p
<havenwood> jokke: grape
<jokke> havenwood: exactly!
<jokke> thanks
<lagweezle> What is 'salt'?
<havenwood> lagweezle: think chef or puppet
<lagweezle> ooooh
<lagweezle> A lot of these names are damned near impossible to search for without more info.
apeiros has joined #ruby
<lagweezle> 'salt' and 'grape' are going to be painful web searches I'd think.
marcdel has quit [Ping timeout: 276 seconds]
<combusean> salt stack usually
nanoyak_ has quit [Quit: Computer has gone to sleep.]
kobain has joined #ruby
kobain has quit [Excess Flood]
jlast has quit [Remote host closed the connection]
<combusean> and after a while google is smart enough to recognize, esp with additional terms
skulker has joined #ruby
CreativeEmbassy has quit [Quit: FO SHO]
<arubincloud> Grape is the first result for "grape gem".
kobain has joined #ruby
marcdel has joined #ruby
<combusean> benzrf, I'm a devops guy for a while
marcdel has quit [Read error: Connection reset by peer]
<benzrf> kk
<combusean> they keep threatening to put me on more actual ruby code (what i was hired for) but they need me in ops more
<benzrf> ive heard ansible is good btw
<benzrf> it works over ssh, it doesnt need a client on the controlled comps
<combusean> yeah
sailias has quit [Quit: Leaving.]
<combusean> me too
<combusean> esp in mixed environments
<combusean> we use salt here
<arubincloud> ansible is under the GPLv3, if that matters to you.
danshultz has quit [Remote host closed the connection]
<combusean> one of these days the deployer here is going to be opensourced
<combusean> because it's a fledgling project that really deploys across multiple servers.
danshultz has joined #ruby
<arubincloud> The GPL, especially version 3, is verboten by many employers.
nicoulaj has quit [Remote host closed the connection]
<benzrf> >tfw no freedumbs
postmodern has joined #ruby
<greenride> Is there an easy way to insert multiple key, value pairs into a Ruby hash?
<DouweM> what?
* lagweezle goes and hutns for those.
moritzs has quit [Ping timeout: 240 seconds]
marcdel has joined #ruby
<lagweezle> I apparently haven't learned that 'stack' is a good word to add.
kirun has quit [Quit: Client exiting]
<greenride> DouweM: Was that addressed to me?
<DouweM> greenride: yeah. I'm not sure what you're asking
marcdel has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
<shevy> greenride I think you can not; you can do hash['key'] = 'value'
albedoa has joined #ruby
<shevy> greenride best way is to write a method, then pass in any amount of values to that method to populate your hash in question
<DouweM> or hash.merge(a: "a", b: "b"), but otherwise I'm not sure what you're looking for
dkamioka_ has quit [Ping timeout: 276 seconds]
<greenride> shevy: That is cumbersome if one has to add 5 or 6 key value pairs, right?
glide has joined #ruby
danshultz has quit [Ping timeout: 252 seconds]
<shevy> greenride yeah but you can always do .each_pair too on a collection
<greenride> DouweM: You answered my question if that works.
<DouweM> Hash#merge certainly exists :)
albedoa has quit [Client Quit]
camilasan has quit [Ping timeout: 246 seconds]
zchrykng-work has left #ruby ["Leaving"]
<greenride> DouweM: Is there a version of Hash#merge that transforms the hash that calls it?
<DouweM> #merge!
moted has quit [Quit: moted]
<DouweM> where the bang is part of the method name
<greenride> DouweM: That's what I wanted! Thanks.
derek_c has quit [Ping timeout: 250 seconds]
shashank_rs has quit [Ping timeout: 252 seconds]
marcdel has joined #ruby
earth has quit [Quit: earth]
dkamioka has joined #ruby
marcdel has quit [Read error: Connection reset by peer]
zxq9 has quit [Quit: Konversation terminated!]
ktosiek has joined #ruby
zxq9 has joined #ruby
AlexRussia has quit [Remote host closed the connection]
Prometheian has joined #ruby
<Prometheian> I'm trying to tell if there's an object on a page. It's a "select" object and I know its name attribute ends with the variable, input, that I'm giving it. I'm forced to use capybara/cucumber but I can't get it to work properly, but I'm not sure if it's my css selector that is the issue. I'm trying "select[name*=#{input}]" the #{} is so ruby parses it as a variable and not text
jottr has quit [Quit: WeeChat 0.4.2]
AlexRussia has joined #ruby
Bumptious has joined #ruby
andrewlio has quit [Read error: Connection reset by peer]
brisbin has quit [Ping timeout: 240 seconds]
Prometheian has quit [Remote host closed the connection]
havenwood has quit []
dkamioka has quit [Remote host closed the connection]
dtcrshr has quit [Remote host closed the connection]
marcdel has joined #ruby
axl_ has joined #ruby
<wallerdev> might need quotes
<wallerdev> depending what input is
Nukepuppy has quit [Ping timeout: 240 seconds]
davy has joined #ruby
<wallerdev> try it by hand instead of with interpolation?
einarj has quit [Remote host closed the connection]
karmatr0_ has joined #ruby
yubrew has joined #ruby
momomomomo has quit [Quit: momomomomo]
karmatr0n has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
arubincloud has quit []
descala has quit [Ping timeout: 264 seconds]
dkamioka has quit [Remote host closed the connection]
djbender has quit [Quit: djbender]
afreidah1 has quit [Ping timeout: 252 seconds]
marcdel has quit [Ping timeout: 240 seconds]
descala has joined #ruby
davy__ has quit [Ping timeout: 276 seconds]
derek_c has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
djbender has joined #ruby
mary5030 has joined #ruby
inversesquarelaw has quit [Quit: leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
inverses1uarelaw has joined #ruby
marcdel has joined #ruby
gamera has joined #ruby
northfurr has joined #ruby
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
klaut has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
northfurr has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 240 seconds]
derek_c has quit [Ping timeout: 240 seconds]
northfurr has joined #ruby
chipotle has joined #ruby
northfurr has quit [Client Quit]
jobewan has quit [Remote host closed the connection]
gamera has quit [Remote host closed the connection]
nbouscal has joined #ruby
northfurr has joined #ruby
sambao21 has joined #ruby
unknown007 has quit [Quit: ( www.nnscript.de :: NoNameScript 4.02 :: www.XLhost.de )]
freezey has quit [Remote host closed the connection]
tacos1de_ has quit [Ping timeout: 272 seconds]
zcreative has joined #ruby
zcreative has quit [Client Quit]
Nukepuppy has joined #ruby
atno has joined #ruby
zcreative has joined #ruby
tacos1de has joined #ruby
danman_ has quit [Quit: danman_]
nanoyak has joined #ruby
sdouglas has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has quit [Read error: Connection reset by peer]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has joined #ruby
doodlehaus has joined #ruby
cocotton has joined #ruby
alexju has quit [Remote host closed the connection]
phutchins has joined #ruby
djbender has quit [Quit: djbender]
nateberkopec has quit [Quit: Leaving...]
freezey has joined #ruby
momomomomo has joined #ruby
nanoyak has quit [Client Quit]
doodlehaus has quit [Ping timeout: 252 seconds]
jxf has joined #ruby
DrShoggoth has quit [Quit: Leaving]
rudisimo has quit []
brisbin has joined #ruby
sdouglas has joined #ruby
jjbohn has joined #ruby
phoo1234567 has quit [Quit: Leaving]
mrmargolis has quit [Remote host closed the connection]
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> hmm in english
<shevy> if you got 12 apples, and you grab 3 of them, and you calculate the percentages - how do you call 3, and 12, respectively in this context?
zigomir has quit [Remote host closed the connection]
<DouweM> numerator/denominator ?
<shevy> ah that's it
pwh has quit []
<DouweM> as we're pretty much talking fractions here
zigomir has joined #ruby
chipotle has quit [Quit: cya]
<shevy> did not know the upper part was called numerator, thanks DouweM
<wallerdev> quotient and divisor
<wallerdev> hah
<DouweM> shevy: what gem are you building?
<Senjai> shevy: Elementary school man :P
danman_ has joined #ruby
<shevy> DouweM right now no gem, I am just tired of always doing stuff like: "We found 135 questions in our quiz, 24 are already answered. This is x %." where x is just 2400.0/135
claymore has quit [Quit: Leaving]
Zackio has quit [Ping timeout: 246 seconds]
Guest79765 is now known as JZTech101
JZTech101 has quit [Changing host]
JZTech101 has joined #ruby
<RubyPanther> receiver/argument
treehug88 has quit []
<shevy> the suggestions are getting progressively worse
<DouweM> haha
hiall has joined #ruby
phoo1234567 has joined #ruby
<blackavr> foo/bar, of course.
<blackavr> (to continue the trend)
saarinen has quit [Quit: saarinen]
dseitz has quit [Ping timeout: 264 seconds]
SCommette has quit [Quit: SCommette]
<shevy> percentage 75,100
<shevy> Infinity
<shevy> hmm I think my calculation is slightly wrong
<benzrf> hue
<benzrf> >> Rational(2, 3) * 10
<eval-in> benzrf => (20/3) (https://eval.in/134643)
<benzrf> >> 2 / 3 * 10
<eval-in> benzrf => 0 (https://eval.in/134644)
<benzrf> >> 2.0 / 3 * 10
<eval-in> benzrf => 6.666666666666666 (https://eval.in/134645)
<benzrf> hm
<ccham> [0]/[1]
endash_ has joined #ruby
Nukepuppy has quit [Ping timeout: 240 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davy has quit [Ping timeout: 250 seconds]
Nukepuppy has joined #ruby
ixti has joined #ruby
derek_c has joined #ruby
davy has joined #ruby
fflush has joined #ruby
wallerdev has quit [Quit: wallerdev]
<fflush> bonjour
<DouweM> bonne nuit
kayloos has quit [Remote host closed the connection]
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
phoo1234567 has quit [Quit: Leaving]
meatherly has quit [Remote host closed the connection]
Es0teric has joined #ruby
phoo1234567 has joined #ruby
Nukepuppy has quit [Ping timeout: 240 seconds]
meatherly has joined #ruby
treehug88 has joined #ruby
nanoyak has joined #ruby
Zackio has joined #ruby
dr0ff has left #ruby [#ruby]
crucify_me has joined #ruby
cocotton has quit [Quit: Leaving...]
nanoyak has quit [Client Quit]
nbouscal has quit [Quit: Computer has commenced electric sheep tracking protocol.]
centrx has quit [Quit: All this computer hacking is making me thirsty]
derek_c has quit [Ping timeout: 250 seconds]
phoo1234567 has quit [Client Quit]
<shevy> bonne toutes
teddyp1cker has joined #ruby
Bumptious has quit [Ping timeout: 264 seconds]
nanoyak has joined #ruby
<crucify_me> http://pastie.org/9066279 hello why is zero on line 14 here? thanks
peterhu has quit [Quit: system update]
meatherly has quit [Ping timeout: 252 seconds]
ckinni has joined #ruby
treehug88 has quit []
ckinni has quit [Excess Flood]
phoo1234567 has joined #ruby
sdouglas has quit [Remote host closed the connection]
fflush has quit [Quit: fflush]
<DouweM> crucify_me: because you're puts'ing i ?
ckinni has joined #ruby
senayar_ has joined #ruby
ckinni has quit [Excess Flood]
ori has left #ruby ["Leaving..."]
ktun has joined #ruby
grzywacz has quit [Ping timeout: 252 seconds]
<crucify_me> DouweM: but there is a condition unless i.zero?
<DouweM> Proc#[] always makes me do a double take
<ccham> crucify_me: do you mean puts i unless i.zero?
wallerdev has joined #ruby
<DouweM> crucify_me: you're only puts'ing a newline when its non-zero, you're still always puts'ing the rest. ccham is probably right
nfk has quit [Quit: yawn]
<crucify_me> I added puts i to the example to see if it would exclude it DouweM ccham
<crucify_me> ^line 14
teddyp1cker has quit [Ping timeout: 276 seconds]
fabrice31 has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
moted has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
<crucify_me> oh DouweM so line 8 is just to add a newline?
zigomir has quit [Remote host closed the connection]
<DouweM> crucify_me: `puts "x"` prints "x\n" to stdout, `puts` just prints "\n"
<DouweM> so yeah
senayar has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
<crucify_me> I was wondering why line 8 included a puts. thanks got it DouweM
spyderman4g63 has quit [Remote host closed the connection]
Avahey_ has joined #ruby
cover has quit [Remote host closed the connection]
yubrew has joined #ruby
toastynerd has quit [Remote host closed the connection]
danshultz has joined #ruby
axl_ has quit [Quit: axl_]
fabrice31 has quit [Ping timeout: 252 seconds]
keeguon has quit [Quit: keeguon]
sputnik13 has quit [Ping timeout: 240 seconds]
zigomir has joined #ruby
derek_c has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
chris_thomson has joined #ruby
sski has joined #ruby
arubin has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
ner0x has joined #ruby
zigomir has joined #ruby
evenix_ has joined #ruby
Kricir has joined #ruby
brisbin has quit [Ping timeout: 252 seconds]
dik_dak has quit [Quit: Leaving]
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby
evenix has quit [Ping timeout: 240 seconds]
phoo1234567 has quit [Quit: Leaving]
SilkFox has joined #ruby
pwh has joined #ruby
zigomir has quit [Ping timeout: 240 seconds]
zachallett has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
evenix_ has quit [Ping timeout: 276 seconds]
wallerdev has quit [Quit: wallerdev]
phoo1234567 has joined #ruby
sailias has joined #ruby
wallerdev has joined #ruby
hakunin has quit [Ping timeout: 240 seconds]
northfurr has quit [Quit: northfurr]
Kricir has quit [Ping timeout: 252 seconds]
RowdyChild|Away is now known as RowdyChildren
Marfi has quit [Quit: Wychodzi]
VTLob has quit [Quit: VTLob]
<combusean> wtf does resque take environment variables and command line options?
werdnativ has quit [Quit: FAMOUS_LAST_WORDS is nil]
cpruitt has quit [Quit: cpruitt]
SCommette has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
zigomir_ has joined #ruby
ffranz has quit [Quit: Leaving]
rylev has quit [Remote host closed the connection]
toastynerd has joined #ruby
zigomir_ has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
SCommette has quit [Client Quit]
<bricker> what?
<kinginky> anyone know of a decent ruby-base webmail app? found mailr but it's too old for me. im really surprised by the seeming lack of ruby-based webmail apps.
<DouweM> kinginky: I looked for that a while back as well, wasn't able to find anything recent
mehlah has joined #ruby
<kinginky> odd... might be time to start a project :P
<kinginky> i found "Mailman" which looks pretty sweet
mr_red has quit [Ping timeout: 246 seconds]
freezey has quit [Ping timeout: 240 seconds]
rjk808 has joined #ruby
glide has quit [Ping timeout: 252 seconds]
crucify_me has quit [Remote host closed the connection]
<BraddPitt> what would be an instance where someone is using both rails and sinatra?
crucify_me has joined #ruby
<shevy> is that the gem that gets hooked into the "YourWife" gem
sailias has quit [Ping timeout: 240 seconds]
tris has joined #ruby
<combusean> our sinatra deployer deploys rails apps :P
<combusean> but that's prolly not what you mean
<combusean> meant*
glide has joined #ruby
mehlah_ has joined #ruby
danijoo has quit [Remote host closed the connection]
pierre1_ has joined #ruby
mehlah has quit [Ping timeout: 250 seconds]
jackyalcine has joined #ruby
<BraddPitt> I'm looking at a job listing and they say rails and sinatra
<BraddPitt> kind of odd
cashnguns has joined #ruby
mrmargolis has joined #ruby
Afal has left #ruby [#ruby]
cashnguns has quit [Remote host closed the connection]
<shevy> perhaps prototyping in sinatra
<shevy> then you move it all to a behemothic system
<DouweM> GitHub uses Rails for the main app, Sinatra for Gist (I think). It's not uncommon to use both where appropriate
cashnguns has joined #ruby
<BraddPitt> interesting
<wallerdev> maybe they're using sinatra to proxy requests to rails to deal with their existing non-restful architecture
brisbin has joined #ruby
b1nd has quit [Ping timeout: 240 seconds]
sputnik13 has joined #ruby
mehlah_ is now known as mehlah
rainmanjam has quit [Remote host closed the connection]
iamjarvo has quit [Ping timeout: 250 seconds]
cj3kim_ has joined #ruby
Bumptious has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
jonno11 has joined #ruby
b1nd has joined #ruby
karmatr0_ has quit [Remote host closed the connection]
snath has quit [Ping timeout: 240 seconds]
radic has quit [Ping timeout: 250 seconds]
Megtastique has quit []
mrmargolis has quit [Remote host closed the connection]
northfurr has joined #ruby
descala has quit [Ping timeout: 240 seconds]
crucify_me has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
cj3kim_ has quit [Read error: Connection reset by peer]
descala has joined #ruby
cj3kim_ has joined #ruby
radic has joined #ruby
toothe has left #ruby [#ruby]
<adeponte> anyone interested in checking out some code (https://github.com/reachlocal/boxci/blob/master/lib/boxci/test_runner.rb) and providing feedback in terms of OO ways of cleaning that up with Ruby?
sambao21 has quit [Quit: Computer has gone to sleep.]
crazymykl has joined #ruby
snath has joined #ruby
<wallerdev> remove the heredocs
<adeponte> wallerdev: by creating an object around it?
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
<wallerdev> or loading the text from files or something
<wallerdev> heredocs are ugly
<adeponte> yeah, so assuming I move that to say erb templates
<adeponte> what about ways of cleaning up the snippets << statements in the generate_script() method
CaptainJet has quit []
momomomomo has quit [Quit: momomomomo]
CaptainJet has joined #ruby
yubrew has joined #ruby
<wallerdev> make a block
davy_ has joined #ruby
<wallerdev> def do_stuff; snippets << your stuff; yield; snippets << your other stuff; end
<wallerdev> do_stuff { snippets << %q{export BOXCI_TEST_RESULT=$BOXCI_TEST_RESULT} }
<wallerdev> or whatever
marcdel has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Ping timeout: 250 seconds]
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
<wallerdev> or if its the same thing everytime just make it a method haha
jenrzzz has joined #ruby
momomomomo has joined #ruby
Hanmac1 has joined #ruby
red234324 has joined #ruby
momomomomo has quit [Client Quit]
Geniack has quit [Disconnected by services]
Geniack_ has joined #ruby
dorei has quit []
sambao21 has joined #ruby
jack_rabbit has joined #ruby
enebo has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
enebo has quit [Client Quit]
davy has quit [Ping timeout: 250 seconds]
<adeponte> hmm, ok
x77686d has quit [Quit: x77686d]
jjbohn has quit [Quit: Leaving...]
jlast has joined #ruby
<wallerdev> just delete everything you wrote twice
yubrew has quit [Ping timeout: 276 seconds]
Bumptious has quit [Remote host closed the connection]
kevind has quit [Quit: kevind]
mr_red has joined #ruby
Bumptious has joined #ruby
snuffeluffegus has joined #ruby
marcdel has joined #ruby
danman_ has quit [Quit: danman_]
cj3kim_ has quit [Remote host closed the connection]
cjuehring has left #ruby ["WeeChat 0.4.3"]
DouweM has left #ruby ["Linkinus - http://linkinus.com"]
DouweM has joined #ruby
Bumptious has quit [Ping timeout: 264 seconds]
hellome has joined #ruby
hostess has quit [Excess Flood]
Kricir has joined #ruby
red234324 has quit [Quit: Leaving]
simono has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
lkba has joined #ruby
hostess has joined #ruby
northfurr has quit [Quit: northfurr]
ixti has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
lmickh has quit [Remote host closed the connection]
northfurr has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
thumpba has quit [Remote host closed the connection]
marcdel has quit [Read error: Connection reset by peer]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
pel_daniel1 has left #ruby [#ruby]
marcdel has joined #ruby
pen has quit [Remote host closed the connection]
dstynchula has quit []
nanoyak_ has joined #ruby
thumpba has joined #ruby
jenrzzz has quit [Quit: I haven't slept for ten days, 'cause that would be too long.]
davy_ has quit [Remote host closed the connection]
cephalostrum has quit [Ping timeout: 240 seconds]
northfurr has quit [Quit: northfurr]
nanoyak has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
sepp2k has quit [Quit: Leaving.]
chipotle has quit [Client Quit]
cephalostrum has joined #ruby