apeiros changed the topic of #ruby to: Ruby 1.9.3-p374: http://ruby-lang.org (ruby-2.0.0-rc1) || Paste >3 lines of text on http://gist.github.com
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
havenn has joined #ruby
kold_ has quit [Remote host closed the connection]
tcurdt has joined #ruby
nga4 has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
tcurdt has quit [Client Quit]
jblack has joined #ruby
orcris has joined #ruby
Takehiro has quit [Remote host closed the connection]
dougireton has joined #ruby
<Innocentus> so rack is the cgi and rake the build tool
<Innocentus> both begin with r
philips_ has quit [Excess Flood]
Xeago has joined #ruby
dougireton has quit [Client Quit]
aaronmacy has quit [Quit: Leaving.]
slainer68 has quit [Remote host closed the connection]
<Innocentus> so why I read about mongrel and some kind of proxy infront of ruby application instances in order to allow concurrent serving?
havenn has quit [Ping timeout: 255 seconds]
<Innocentus> can ruby also be run in concurrent mode?
tommyvyo_ has quit [Quit: http://thomasvendetta.com]
mhalligan has joined #ruby
<Eiam> I have two arrays with moderately complex data structures. I have to rename the elements in one array with the elements in the same place in another array. is there some way to iterate through them 'together' or am I going to have to use some index to iterate & access the second array?
sclarson_ has quit [Quit: sclarson_]
x82_nicole has quit [Quit: Computer has gone to sleep.]
icole has quit [Remote host closed the connection]
<mhalligan> how do you force gem to install a gem you just built? every time I try gem install /path/to/gem -V or gem install --local /path/to/gem -V it still installs from the gem cache
<Eiam> https://gist.github.com/392d04919ed0e3724bf9 something like that. where I'd loop through ar1 and rename blah with "thing" and "thing 2"
jackyalcine has quit [Ping timeout: 245 seconds]
<Eiam> mhalligan: are you pointing at a gem?
<mhalligan> Elam: I am.
<mhalligan> I'm pointing it at the gem I just built in a directory.
<Eiam> mhalligan: so gem build my.gemspec; then gem install my ?
<mhalligan> Yes, that's what I'm doing
<Eiam> whats the error?
<mhalligan> there's no error.
<Eiam> you don't see it in gem list?
<mhalligan> but gem always installs from /opt/chef/embedded/lib/ruby/gems/1.9.1/cache/
fteem has quit [Ping timeout: 245 seconds]
<mhalligan> rather than the version in my local directory
<mhalligan> Installing gem knife-rackspace-0.6.3
<mhalligan> Using local gem /opt/chef/embedded/lib/ruby/gems/1.9.1/cache/knife-rackspace-0.6.3.gem
tommyvyo has quit [Read error: Connection reset by peer]
bluenemo has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
tommyvyo has joined #ruby
<Eiam> whats the exact file that gets created by gem build mygem.gemspec?
yshh has quit [Remote host closed the connection]
<Eiam> cause you have to use that so like gem install mygem-1.60.gem
<Eiam> from the same directory where it was built
<mhalligan> I'm doing that.
<mhalligan> gem install ./knife-rackspace-0.6.3.gem
<mhalligan> gem install /full/path/to/knife-rackspace-0.6.3.gem
<mhalligan> and I've tried the same 2 commands with --local
<mhalligan> it always installeds from that cache, which is a bit strange since I've been deleting that cache before installing
grzywacz has quit [Ping timeout: 245 seconds]
JarJar has left #ruby ["Leaving"]
Michae___ has joined #ruby
<mhalligan> ah I guess that file gets copied to that cache dir. Wish that were transparent when using -VV.
w|t has quit [Quit: No Ping reply in 150 seconds.]
bean has quit [Quit: Computer has gone to sleep.]
peteyg has quit [Quit: leaving]
<Innocentus> I am quite confused, there is sprockets and there is the asset pipeline
johnlcox has joined #ruby
<Innocentus> what is the difference between both? are they equal?
jonahR has joined #ruby
ephemerian has quit [Quit: Leaving.]
segv- has quit [Quit: segv-]
philips_ has joined #ruby
cableray_ has joined #ruby
jeffreybaird has joined #ruby
elico has quit [Quit: Elico]
tommyvyo_ has joined #ruby
<Eiam> sprockets is the library that the asset pipeline uses to minify/compress & preprocess ?
<Eiam> also #rubyonrails
serhart has left #ruby [#ruby]
DrShoggoth has joined #ruby
sailias has joined #ruby
johnlcox has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
<yoshie902a> is there a way to display a node with indentations so it's readable when using nokogiri?
mockra has joined #ruby
mhalligan has left #ruby [#ruby]
cableray_ has quit [Quit: cableray_]
havenn has joined #ruby
musl has quit [Remote host closed the connection]
<yoshie902a> right now I just get https://gist.github.com/4590958, but would like it to look readible
musl has joined #ruby
mackintosh has joined #ruby
dagnachew has quit [Remote host closed the connection]
DatumDrop has joined #ruby
angusiguess has joined #ruby
mengu has quit [Quit: Leaving]
Takehiro has joined #ruby
yacks has joined #ruby
horofox has quit [Quit: horofox]
RagingDave has quit [Quit: Ex-Chat]
volte_ has joined #ruby
BulleTime has quit [Ping timeout: 256 seconds]
codezombie is now known as codezombie|away
mneorr has quit [Remote host closed the connection]
bricker has quit [Ping timeout: 256 seconds]
mneorr has joined #ruby
squidBits has quit [Quit: whoops]
volte has quit [Ping timeout: 248 seconds]
bricker has joined #ruby
horofox has joined #ruby
dustint has joined #ruby
enebo has quit [Quit: enebo]
jtharris has quit [Quit: WeeChat 0.3.9.2]
advorak has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
tatsuya_o has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
brianpWins has quit [Quit: brianpWins]
etcetera has quit []
matchaw_ has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 245 seconds]
miskander has joined #ruby
clj_newb has quit [Ping timeout: 256 seconds]
freakazoid0223 has quit [Quit: Leaving]
awarner has joined #ruby
freeayu has joined #ruby
etcetera has joined #ruby
matchaw has joined #ruby
epylinkn has quit [Quit: Leaving.]
sailias has quit [Quit: Leaving.]
codezombie|away is now known as codezombie
sclarson_ has joined #ruby
epylinkn has joined #ruby
etcetera has quit [Client Quit]
orcris has quit [Read error: Connection reset by peer]
pskosinski has quit [Ping timeout: 252 seconds]
jeffreybaird has quit [Quit: jeffreybaird]
DrShoggoth has quit [Ping timeout: 245 seconds]
x82_nicole has joined #ruby
jeffreybaird has joined #ruby
orcris has joined #ruby
etcetera has joined #ruby
piotr__ has quit [Ping timeout: 248 seconds]
davidokner has joined #ruby
atmosx has joined #ruby
<davidokner> What do you guys think about the RoR books "Ruby on Rails Tutorial by Michael Hatrl" and "Rails 3 in Action by Ryan Bigg and Yehuda Ktaz" ?
angusiguess has quit [Ping timeout: 248 seconds]
apeiros_ has joined #ruby
<blazes816> davidokner: haven't read either, so I may not be the review you're looking for, however I hear great things about both
epylinkn has quit [Quit: Leaving.]
<davidokner> blazes816: Are those two of the top two you hear good things about?
<blazes816> Radar from #rubyonrails wrote R4IA so it gets touted there pretty heavily
<blazes816> davidokner: yeah
<davidokner> blazes816: Oh, I thought Radar was joking that he wrote it.
<blazes816> nope
v0n has joined #ruby
rwalker has joined #ruby
<davidokner> Ok, for Ruby what about "The Well-Grounded Rubyist" ? That was highly recommended in #rubyonrails.
<blazes816> yeah, that one I have read, and really enjoyed
<rwalker> eloquent ruby is a good one
<rwalker> and the pickaxe of course
<blazes816> also "ruby for rails" but it'd be pretty out of date by now if it hasn't been updated
rwalker is now known as reppard
otters has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Ping timeout: 248 seconds]
<davidokner> I'm looking for an intro book for both Ruby and Ruby on Rails.
<davidokner> I actually bought the Pick Axe book and found it to not be a good intro book, as others have since told me.
<reppard> rails 3 in action is pretty good
<reppard> davidokner: are you new to both?
miskander has quit [Quit: miskander]
<reppard> davidokner: if i had it all to do over again i would have started out with straight ruby and then moved on to rails. i think if you have a good ruby foundation rails will come very easily
<davidokner> reppard: Yes, but now I've learned some Ruby from a video course after the Pick Axe book didn't work. The video course from the Pragmatic guys.
<reppard> davidokner: have you done the koans yet?
<RubyPanther> davidokner: for Ruby you could read: http://mislav.uniqpath.com/poignant-guide/
<davidokner> reppard: I checked it out, but haven't gone through it.
etcetera has quit []
<reppard> RubyPanther: +1 for poignant guide
philcrissman has joined #ruby
yshh has joined #ruby
DrShoggoth has joined #ruby
slainer68 has joined #ruby
<reppard> davidokner: i've never seen the prag videos. not sure how much you got out of them but i would say that a good understanding class arch and scopes is a must
philcrissman_ has joined #ruby
<davidokner> I'm taking the Ruby course from Pragmatic Publishers/Studio: This is what I've covered so far (check marks) and what the course covers: http://i49.tinypic.com/2jeeq0k.png
<reppard> i tried learning rails with ruby as a side effect and it was terrible. i just went back to square one and started learning all i could with ruby
ffranz has quit [Quit: Leaving]
<davidokner> reppard: yeah I definately want a solid Ruby foundation first.
mackintosh has quit [Quit: Lost terminal]
<davidokner> That list actually shows "blocks" as next, but they already covered blocks much earlier on.: http://i49.tinypic.com/2jeeq0k.png
<reppard> yeah i was going to say
<reppard> jaja
griffindy has joined #ruby
<reppard> er haha
codezombie is now known as codezombie|away
<davidokner> Each one of those numbers opens up and you have a video and a workbook and I use Rubymine to do my practice program that is similar to the tutorial, but not the same.
philcrissman has quit [Ping timeout: 248 seconds]
unix has joined #ruby
etcetera has joined #ruby
digital-ghost has joined #ruby
slainer68 has quit [Ping timeout: 260 seconds]
rondale__ has joined #ruby
miskander has joined #ruby
<yoshie902a> davidokner: I think Mhartl's book is great, it does a good job walking you through the whole process of building an app
brianpWins has joined #ruby
<yoshie902a> davidokner: Ryan Bate's railscasts.com great too
<davidokner> I may get four books. "Well Grounded Rubyist", "Eloquent Ruby" and "Rails 3 in Action", "Ruby on Rails Tutorial". Those are the books that seem to be the best.
<yoshie902a> isn't rails 4 out?
<davidokner> Or most highly recommended or reviewed. Though, Rails 3 in action doesn't have quite as high reviews.
<davidokner> Rails 4 in action?
<davidokner> There are no Rails 4 books in print yet.
<yoshie902a> davidokner: 4 is too new
<davidokner> You can get the digital preview of Rails 4 in Action if you buy direct.
<banisterfiend> davidokner: if your'e not a total programming noob "the ruby programming language" is the best book, in my opinion.
v0n has quit [Ping timeout: 260 seconds]
taoru has joined #ruby
<davidokner> banisterfiend: No, I looked at that book and it was not good for me, I did the look inside at amazon.
<banisterfiend> davidokner: why didn't you like it?
<jblack> the Ruby Rogues review of Practical Oriented Objected Programming in Ruby (POOPR) sounded excellent. I picked up a copy on amaon, but I'm not very far in
gyre008 has quit [Remote host closed the connection]
rramsden has joined #ruby
<davidokner> banisterfiend: I'm not knew, but it seemed very quick to jump into things and didn't explain well enough. I think it randomly did a super complicated SUdoku problem solving on like page 4.
<davidokner> excuse me, "not new"
<banisterfiend> davidokner: the sudoku thing is not something your'e supposed to understand, it's just a quick glance at some ruby features working together, just skip it.
DrShoggoth has quit [Ping timeout: 245 seconds]
<banisterfiend> davidokner: and it explains things incredibly well in my opinion, it's just very concise. But it covers all edge cases much better than other books
chrismhough has quit [Quit: chrismhough]
Michae___ has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
icole has joined #ruby
dustint has quit [Remote host closed the connection]
havenn has joined #ruby
pootietang has joined #ruby
Michael_ has joined #ruby
davidokner has quit [Ping timeout: 256 seconds]
SigmaVirus24 has joined #ruby
codezombie|away is now known as codezombie
codezombie is now known as codezombie|away
davidokner has joined #ruby
<SigmaVirus24> Is there an alternative to %r and // that allow you to not have to escape `/`s in a regular expression?
rondale__ has quit [Remote host closed the connection]
<davidokner> I lost my internet connection so anything anyone said to me in the last two minutes I didn't see.
dustint has joined #ruby
codezombie|away has left #ruby ["Linkinus - http://linkinus.com"]
<banisterfiend> davidokner: i said that the sudoku thing is like a quick fast forward demonstrating the things you will learn, you're not supposed to understand it. Also, IMO, the book explains things exceptionally well, it's just very concise.
billy_ran_away has joined #ruby
<banisterfiend> davidokner: and it covers edge cases much better than other books
<davidokner> banisterfiend: Yeah, I scrolled through more of it and decided against it, but I can take a second look.
<banisterfiend> davidokner: didn't it get very high reviews?
<banisterfiend> trust the reviews :)
havenn has quit [Ping timeout: 245 seconds]
<davidokner> banisterfiend: Yes, extremely high. Perfect stars. Yeah, that could be out of adoration for the creator though.
icole has quit [Ping timeout: 248 seconds]
awarner has quit [Remote host closed the connection]
<banisterfiend> davidokner: it's not :) It's just a great book
<davidokner> banisterfiend: I don't know if those guys are also in the same place I am learning wise.
itsdavem has joined #ruby
pothibo has joined #ruby
<davidokner> banisterfiend: Do you know how it compares to the other two Ruby Books "The well grounded Rubyist" and "Elloquent Ruby"?
TheFuzzball has quit [Quit: Computer has gone to sleep.]
<banisterfiend> davidokner: eloquent ruby is great, but it delves more into the ruby ecosystem, looking at various gems and so on. "the ruby programming language" strictly covers the language itself and some of the stdlib
<banisterfiend> i haven't read "the well grounded rubyist" so i can't comment
<davidokner> banisterfiend: I got the feeling of it being more of technical manual.
<banisterfiend> davidokner: if i was learning ruby again, i'd read books in this order
<banisterfiend> davidokner: the ruby programming language, eloquent ruby, design patterns in ruby, refactoring: ruby edition, practical object oriented design in ruby
<banisterfiend> davidokner: but when i started with ruby i was already a competent programmer in other languages
otters has joined #ruby
io_syl has quit [Read error: Operation timed out]
<banisterfiend> if you're not very experienced you may need to start with something like 'learn to program' or another book that introduces OOP/programming before you read TRPL
<davidokner> banisterfiend: Do you get the printed version of books?
brianpWins has quit [Quit: brianpWins]
<banisterfiend> davidokner: i only got the printed versions for TRPL and design patterns
<banisterfiend> everything else are just kindle books
<davidokner> banisterfiend: No, I don't need the "learn to program" book
DrShoggoth has joined #ruby
<davidokner> banisterfiend: I actually want to wrap up my introduction to the Ruby langauge and move on to application of it to real world uses or go to Rails.
danneu has joined #ruby
yoshie902a has left #ruby [#ruby]
emocakes has quit [Quit: emocakes]
miskander has quit [Quit: miskander]
mikepack has quit [Remote host closed the connection]
io_syl has joined #ruby
<banisterfiend> davidokner: well, i think you should at least read TRPL and eloquent ruby
atmosx has quit [Quit: And so the story goes…]
sclarson_ has quit [Quit: sclarson_]
cableray has joined #ruby
Innocentus has quit [Ping timeout: 245 seconds]
cableray has quit [Client Quit]
Takehiro has joined #ruby
<davidokner> banisterfiend: Ok, thanks. I bookmarked all of those.
_adeponte has quit [Remote host closed the connection]
codezombie has joined #ruby
codezombie is now known as codezombie|away
quest88 has quit [Quit: quest88]
aaronmacy has joined #ruby
cjs226 has quit []
joeycarmello has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
Takehiro has quit [Ping timeout: 256 seconds]
blazes816 has quit [Quit: blazes816]
codezombie|away is now known as codezombie
<danneu> This regexp only matches numbers if followed by a "$": "$125$"[/\d+(?=\$)/] #=> 125. But how would I only match numbers preceded by "$" without using match groups?
DrShoggoth has quit [Ping timeout: 245 seconds]
cjs226 has joined #ruby
<otters> lookbehind
nfk has quit [Quit: yawn]
cha1tanya has joined #ruby
cha1tanya has joined #ruby
<otters> It's the same as lookahead, except...
noyb has quit [Ping timeout: 240 seconds]
<danneu> ...well?! jk thanks. "$125"[/(?!>\$)\d+/]
<danneu> pretty!
Roa has quit [Ping timeout: 248 seconds]
toekutr has quit [Read error: Connection reset by peer]
jeffreybaird has quit [Quit: jeffreybaird]
solitude88 has quit [Quit: Leaving...]
codezombie is now known as codezombie|away
Roa has joined #ruby
adkron has joined #ruby
samuel02 has quit [Remote host closed the connection]
Myconix has quit [Ping timeout: 245 seconds]
cantonic has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
mdel has joined #ruby
codezombie|away is now known as codezombie
Spooner has quit [Remote host closed the connection]
adkron_ has joined #ruby
itsdavem has quit [Remote host closed the connection]
havenn has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
mmitchell has joined #ruby
bricker`LA has joined #ruby
DrShoggoth has joined #ruby
rizzy has joined #ruby
v0n has joined #ruby
kiyoura` has joined #ruby
swarley- has quit []
etcetera has quit []
ttt has joined #ruby
kiyoura has quit [Ping timeout: 248 seconds]
elkclone has quit [Ping timeout: 252 seconds]
elkclone has joined #ruby
sclarson_ has joined #ruby
`brendan has joined #ruby
jaequery has joined #ruby
ttt has quit [Read error: Connection reset by peer]
ttt_ has joined #ruby
niklasb has quit [Ping timeout: 248 seconds]
friskd has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
Takehiro has joined #ruby
horofox has quit [Quit: horofox]
`brendan is now known as brendan_
jonathanwallace has quit [Ping timeout: 252 seconds]
slainer68 has joined #ruby
daniel_- has quit [Ping timeout: 260 seconds]
robert_ has joined #ruby
epylinkn has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
codezombie has quit [Quit: Linkinus - http://linkinus.com]
slainer68 has quit [Ping timeout: 260 seconds]
sepp2k1 has quit [Remote host closed the connection]
etcetera has joined #ruby
aeontech has joined #ruby
DatumDrop has quit [Remote host closed the connection]
Rym_ has joined #ruby
Hanmac has joined #ruby
chrismhough has joined #ruby
robert_ has quit [Ping timeout: 276 seconds]
Hanmac1 has quit [Ping timeout: 248 seconds]
Rym has quit [Ping timeout: 248 seconds]
companion has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Read error: Connection reset by peer]
Rym_ is now known as Rym
ogamita has quit [Read error: Connection reset by peer]
jenrzzz_ has joined #ruby
[Neurotic] has quit [Ping timeout: 248 seconds]
JonnieCache has quit [Ping timeout: 248 seconds]
Azure has quit [Ping timeout: 248 seconds]
lusory has quit [Ping timeout: 248 seconds]
ogamita has joined #ruby
JonnieCache has joined #ruby
lusory has joined #ruby
adeponte has joined #ruby
Azure has joined #ruby
bricker has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
Kovensky has quit [Ping timeout: 248 seconds]
bricker has joined #ruby
emergion has joined #ruby
Kovensky has joined #ruby
bjeanes has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
bricker`LA has quit [Quit: leaving]
[Neurotic] has joined #ruby
[Neurotic] has quit [Excess Flood]
companion has joined #ruby
bjeanes has joined #ruby
jonathanwallace has joined #ruby
elkclone has quit [Ping timeout: 260 seconds]
jonahR has quit [Quit: jonahR]
Gooder has joined #ruby
v0n has quit [Ping timeout: 252 seconds]
dormiens is now known as alanjc
emergion has quit [Ping timeout: 264 seconds]
[Neurotic] has joined #ruby
Snova has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
jonathanwallace has quit [Ping timeout: 245 seconds]
jinzhu has joined #ruby
jduan1981 has quit [Ping timeout: 245 seconds]
joeycarmello has quit [Remote host closed the connection]
eka has quit [Quit: Computer has gone to sleep.]
gyre007 has quit [Remote host closed the connection]
philcrissman has joined #ruby
jaequery has quit [Quit: Computer has gone to sleep.]
gyre008 has joined #ruby
Guest__ has joined #ruby
Guest__ is now known as RubNoob
yacks has quit [Quit: Leaving]
yacks has joined #ruby
scottgo has joined #ruby
yacks has quit [Read error: Connection reset by peer]
yacks has joined #ruby
frem has joined #ruby
Snova has left #ruby [#ruby]
adeponte has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 252 seconds]
statarb3 has quit [Ping timeout: 260 seconds]
scottgo has quit [Client Quit]
daslicious has joined #ruby
elkclone has joined #ruby
karasawa has joined #ruby
tvw has quit [Ping timeout: 256 seconds]
sclarson_ has quit [Quit: sclarson_]
sclarson_ has joined #ruby
tvw has joined #ruby
digital-ghost has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
jbw has quit [Ping timeout: 245 seconds]
Gary13579 has joined #ruby
zastern has joined #ruby
araujo has quit [Quit: Leaving]
Gary13579 has left #ruby [#ruby]
Hanmac1 has joined #ruby
hackerdude has joined #ruby
jlast has quit [Read error: Connection reset by peer]
jlast has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
cha1tanya has quit [Ping timeout: 245 seconds]
jjbohn has joined #ruby
DatumDrop has joined #ruby
cha1tanya has joined #ruby
nwertman has quit [Read error: Connection reset by peer]
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jbw has joined #ruby
davidokner has quit [Quit: leaving]
miskander has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
jonathanwallace has joined #ruby
generalissimo has quit [Remote host closed the connection]
cha1tanya has quit [Excess Flood]
cha1tanya has joined #ruby
io_syl has quit [Quit: Textual IRC Client: www.textualapp.com]
maletor has quit [Quit: Computer has gone to sleep.]
tvw has quit [Ping timeout: 248 seconds]
cha1tanya has quit [Client Quit]
kinmor06 has joined #ruby
jonahR has joined #ruby
phinfonet_ has quit [Quit: Linkinus - http://linkinus.com]
gyre008 has quit [Remote host closed the connection]
adkron has quit [Ping timeout: 244 seconds]
adkron_ has quit [Ping timeout: 248 seconds]
chrismhough has quit [Quit: chrismhough]
lordnaz has joined #ruby
kenneth has quit [Quit: kenneth]
aeontech has quit [Quit: aeontech]
frem has quit [Quit: Computer has gone to sleep.]
griffindy has quit [Quit: Computer has gone to sleep.]
pcboy_ has quit [Remote host closed the connection]
LiquidInsect has quit [Remote host closed the connection]
pcboy_ has joined #ruby
LiquidInsect has joined #ruby
ViPi has quit [Quit: Computer has gone to sleep.]
etcetera has quit []
krz has joined #ruby
reset has quit [Ping timeout: 272 seconds]
v0n has joined #ruby
etcetera has joined #ruby
mockra has quit [Remote host closed the connection]
etcetera has quit [Client Quit]
philcrissman has quit [Remote host closed the connection]
mockra has joined #ruby
f0ster has joined #ruby
fyolnish has joined #ruby
ckrailo has joined #ruby
ryanh has joined #ruby
advorak has quit [Read error: Connection reset by peer]
bricker_ has joined #ruby
advorak has joined #ruby
etcetera has joined #ruby
baroquebobcat has joined #ruby
bricker has quit [Ping timeout: 248 seconds]
miskander has quit [Quit: miskander]
advorak has quit [Remote host closed the connection]
ngoldman has quit [Remote host closed the connection]
ckrailo has quit [Ping timeout: 276 seconds]
joeycarmello has joined #ruby
Goopyo has quit [Remote host closed the connection]
w|t has joined #ruby
w|t has joined #ruby
w|t has quit [Changing host]
Goopyo has joined #ruby
ossareh has quit [Ping timeout: 256 seconds]
io_syl has joined #ruby
tomzx_mac has joined #ruby
matheus_ has joined #ruby
embs has quit [Ping timeout: 248 seconds]
caleb_io has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
stnly has joined #ruby
awarner has joined #ruby
thufir_ has quit [Quit: Leaving.]
gyre007 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 248 seconds]
karasawa has quit [Ping timeout: 256 seconds]
chrismhough has joined #ruby
jrist is now known as jrist-afk
ViPi has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
gyre007 has quit [Ping timeout: 248 seconds]
etcetera has quit []
noyb has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
dustint has quit [Ping timeout: 252 seconds]
namidark has quit [Quit: WeeChat 0.3.2]
jaequery has joined #ruby
ckrailo has joined #ruby
w|t has quit [Quit: No Ping reply in 150 seconds.]
tjbiddle has quit [Ping timeout: 245 seconds]
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
g0bl1n has joined #ruby
awarner has quit [Remote host closed the connection]
adeponte has joined #ruby
jenrzzz_ has quit [Quit: leaving]
jenrzzz has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
w|t has joined #ruby
yoshie902a has joined #ruby
<yoshie902a> Using nokogiri, how do I select all the children nodes that meet this criteria node_type==1 && are not [strong b em i u strike a]?
ossareh has joined #ruby
ckrailo has quit [Ping timeout: 276 seconds]
jsallis has joined #ruby
headius has joined #ruby
jsallis has quit [Remote host closed the connection]
jsallis has joined #ruby
pothibo has quit [Quit: pothibo]
jduan1981 has joined #ruby
ckrailo has joined #ruby
rakl has quit [Quit: sleeping]
reppard has quit [Quit: leaving]
x82_nicole has joined #ruby
rakl has joined #ruby
<yoshie902a> anyone here good at nokogiri?
forced_request has quit [Read error: Connection reset by peer]
dwu1 has joined #ruby
nari has quit [Ping timeout: 252 seconds]
w|t has quit [Read error: Operation timed out]
SigmaVirus24 has left #ruby [#ruby]
baroquebobcat has joined #ruby
xemu has quit [Quit: Nettalk6 - www.ntalk.de]
havenn has quit [Remote host closed the connection]
joeycarmello has quit [Remote host closed the connection]
karasawa has joined #ruby
bricker_ is now known as bricker
havenn has joined #ruby
JohnBat26 has joined #ruby
bricker has quit [Quit: leaving]
bricker`LA has joined #ruby
bricker`LA is now known as bricker
havenn has quit [Ping timeout: 244 seconds]
joofsh has quit [Remote host closed the connection]
toekutr has joined #ruby
karasawa has quit [Ping timeout: 260 seconds]
ProLoser has joined #ruby
<ProLoser> hallo
<ProLoser> i'm having trouble using rvm to install 1.9.3-p194
<ProLoser> i'm getting this
benlieb has joined #ruby
IrishGringo_ has joined #ruby
<ProLoser> anyone around?
<ProLoser> PREASE HEPERU
nwertman has joined #ruby
ProLoser has quit [Read error: Connection reset by peer]
ProLoser has joined #ruby
ping-pong has quit [Ping timeout: 260 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ping-pong has joined #ruby
adkron has joined #ruby
adkron_ has joined #ruby
haxrbyte has joined #ruby
sambio has quit []
tommyvyo_ has quit [Quit: http://thomasvendetta.com]
aeontech has joined #ruby
pyro111 has joined #ruby
rakl has quit [Quit: sleeping]
radic has quit [Disconnected by services]
radic_ has joined #ruby
haxrbyte has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
mockra has joined #ruby
yoshie902a has left #ruby [#ruby]
jackyalcine has joined #ruby
jblack has joined #ruby
jlast has quit [Read error: Connection reset by peer]
stopbit has quit [Quit: Leaving]
jlast has joined #ruby
joeycarmello has joined #ruby
DatumDrop has quit [Remote host closed the connection]
Kudos has quit [Ping timeout: 248 seconds]
tjbiddle has joined #ruby
etcetera has joined #ruby
v0n has joined #ruby
Maziz has joined #ruby
karasawa has joined #ruby
jjbohn has quit [Quit: Leaving...]
etcetera has quit [Client Quit]
generalissimo has joined #ruby
Kudos has joined #ruby
banisterfiend has quit [Remote host closed the connection]
huoxito has quit [Ping timeout: 245 seconds]
huoxito has joined #ruby
regedarek has quit [Ping timeout: 252 seconds]
jlast has quit [Remote host closed the connection]
advorak has joined #ruby
vlad_starkov has joined #ruby
banisterfiend has joined #ruby
rakl has joined #ruby
v0n has quit [Ping timeout: 248 seconds]
__DOGBERT__ has joined #ruby
__DOGBERT__ has quit [Client Quit]
regedarek has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
Monie has quit [Ping timeout: 245 seconds]
crackfu has joined #ruby
karasawa has quit [Ping timeout: 252 seconds]
jblack has quit [Ping timeout: 248 seconds]
aeontech has left #ruby [#ruby]
standarddeviatio has joined #ruby
mockra has quit [Remote host closed the connection]
EPIK has quit [Ping timeout: 240 seconds]
huoxito has quit [Ping timeout: 252 seconds]
advorak has quit [Ping timeout: 252 seconds]
standarddeviatio is now known as standardeviation
jenrzzz has quit [Ping timeout: 252 seconds]
huoxito has joined #ruby
n1x has joined #ruby
mneorr has quit [Read error: Connection reset by peer]
standardeviation has quit [Quit: standardeviation]
mneorr has joined #ruby
standardeviation has joined #ruby
w|t has joined #ruby
nari has joined #ruby
jenrzzz has joined #ruby
nazty has quit [Read error: Connection reset by peer]
nignaztic has joined #ruby
jsallis has quit [Remote host closed the connection]
voodoofish has quit [Ping timeout: 255 seconds]
havenn has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Nanuq has quit [Quit: leaving]
ngoldman has joined #ruby
friskd has joined #ruby
pyro111 has quit [Remote host closed the connection]
caleb_io has quit [Quit: caleb_io]
Nanuq has joined #ruby
xsarin has joined #ruby
karasawa has joined #ruby
noyb has quit [Ping timeout: 256 seconds]
danneu has quit [Ping timeout: 252 seconds]
rdark has joined #ruby
<shevy> anyone knows...
<shevy> can $1 be used in bash safely as an alias? and then in ruby as ENV['$1'] ?
<shevy> I have had awkward behaviour when I set certain variables, like assigning to $TZ, actually changes the timezone :(
MattRB has joined #ruby
havenn has quit [Remote host closed the connection]
uris has quit [Quit: Leaving]
havenn has joined #ruby
voodoofish has joined #ruby
yacks has quit [Read error: Connection reset by peer]
karasawa has quit [Ping timeout: 272 seconds]
rippa has joined #ruby
yacks has joined #ruby
havenn has quit [Ping timeout: 256 seconds]
autumn has quit [Ping timeout: 245 seconds]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
zastern has quit [Remote host closed the connection]
stnly has quit [Ping timeout: 252 seconds]
thomasfedb has quit [Ping timeout: 244 seconds]
mosesaro has quit [Remote host closed the connection]
[Neurotic] has quit [Ping timeout: 255 seconds]
crackfu has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
crackfu has joined #ruby
osaut has joined #ruby
jds_ has joined #ruby
[Neurotic] has joined #ruby
crackfu has quit [Ping timeout: 256 seconds]
toekutr has quit [Read error: Connection reset by peer]
danneu has joined #ruby
peterwagenet has joined #ruby
peterwagenet has left #ruby [#ruby]
Goles has quit [Quit: Computer has gone to sleep.]
karasawa has joined #ruby
a_a_g has joined #ruby
banisterfiend has quit [Remote host closed the connection]
DatumDrop has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
rippa has quit [Ping timeout: 276 seconds]
Michael_ has quit [Remote host closed the connection]
DatumDrop has quit [Ping timeout: 248 seconds]
Michael_ has joined #ruby
icole has joined #ruby
eldariof has joined #ruby
Michael_ has quit [Ping timeout: 248 seconds]
a_a_g has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
yewton has quit [Excess Flood]
a_a_g has quit [Read error: Connection reset by peer]
danneu has quit [Ping timeout: 252 seconds]
a_a_g has joined #ruby
yewton has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 255 seconds]
danneu has joined #ruby
a_a_g has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
sayan has joined #ruby
slainer68 has joined #ruby
a_a_g has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
w|t has quit [Ping timeout: 272 seconds]
yakko has joined #ruby
Takehiro has joined #ruby
friskd has quit [Quit: friskd]
tomzx_mac has quit [Ping timeout: 248 seconds]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
sclarson_ has quit [Quit: sclarson_]
keyvan has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 260 seconds]
friskd has joined #ruby
kenneth has joined #ruby
love_color_text has joined #ruby
benlieb has quit [Quit: benlieb]
dqminh has joined #ruby
w|t has joined #ruby
goraxe has joined #ruby
Takehiro has quit [Ping timeout: 272 seconds]
mahmoudimus has joined #ruby
<standardeviation> i want to use pry in lieu of irb in ruby-processing's live coding function. irb is invoked with "require 'irb';IRB.setup(__FILE__);IRB.start"
ngoldman has quit [Remote host closed the connection]
<standardeviation> i can find an equivalent pry metho for start (Pry.start); anyone know of an equivalent setup method in pry?
love_color_text has quit [Ping timeout: 260 seconds]
joeycarmello has quit [Read error: Connection reset by peer]
joeycarm_ has joined #ruby
Nisstyre has quit [Ping timeout: 246 seconds]
tatsuya_o has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
chrismhough has quit [Quit: chrismhough]
<ryanf> standardeviation: what does IRB.setup do?
fram has quit [Ping timeout: 252 seconds]
fram has joined #ruby
joeycarm_ has quit [Ping timeout: 248 seconds]
x82_nicole has quit [Quit: Computer has gone to sleep.]
ckrailo has quit [Ping timeout: 276 seconds]
tatsuya_o has quit [Ping timeout: 272 seconds]
mrsolo has joined #ruby
etcetera has joined #ruby
<standardeviation> it appears to load runtime settings.
a_a_g has quit [Read error: Connection reset by peer]
x82_nicole has joined #ruby
xsarin has quit [Quit: xsarin]
<standardeviation> the entire method is tiny, I could gist it
Monie has joined #ruby
<standardeviation> better than that: http://apidock.com/ruby/IRB/setup/class
jenrzzz has joined #ruby
<standardeviation> in context, it passes the environment of live.rb on to the irb session live spawns
g0bl1n has quit [Ping timeout: 260 seconds]
dmiller has quit [Ping timeout: 248 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
JumpMast3r has joined #ruby
JumpMast3r has quit [Client Quit]
Inoperable has quit [Read error: Operation timed out]
Nisstyre has joined #ruby
MattRB has joined #ruby
<standardeviation> oh cool, this gist probably give me enough info to determine my answer: https://gist.github.com/3194446 seems irb and pry initialize differently enough that I can't just substitute.
tagrudev has joined #ruby
haxrbyte has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
etcetera has quit []
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Icarot has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
rezzack has quit [Quit: Leaving.]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
haxrbyte_ has joined #ruby
hackerdude has quit [Remote host closed the connection]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
emergion has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
mrsolo has quit [Quit: Leaving]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
grzywacz has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
banisterfiend has joined #ruby
Inoperable has quit [Max SendQ exceeded]
friskd has quit [Quit: friskd]
haxrbyte_ has quit [Remote host closed the connection]
Inoperable has joined #ruby
haxrbyte has quit [Ping timeout: 252 seconds]
Inoperable has quit [Max SendQ exceeded]
haxrbyte has joined #ruby
headius has quit [Quit: headius]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
emergion has quit [Ping timeout: 264 seconds]
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
BizarreCake has joined #ruby
lordnaz has quit [Quit: Client exited]
banisterfiend has quit [Ping timeout: 272 seconds]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
nomenkun has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
wargasm has quit [Ping timeout: 260 seconds]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
generalissimo has quit [Remote host closed the connection]
Inoperable has joined #ruby
ner0x has quit [Quit: Leaving]
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
caleb_io has joined #ruby
mneorr has quit [Remote host closed the connection]
Inoperable has joined #ruby
love_color_text has joined #ruby
Inoperable has quit [Max SendQ exceeded]
love_color_text has quit [Remote host closed the connection]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
osaut has quit [Quit: osaut]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
kiyoura` has quit [Quit: Leaving]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
regedarek has quit [Ping timeout: 272 seconds]
ABK has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
cha1tanya has joined #ruby
Inoperable has quit [Max SendQ exceeded]
TIBS02 has quit [Ping timeout: 246 seconds]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
clocKwize has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
nomenkun has quit [Remote host closed the connection]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
clocKwize has quit [Client Quit]
dhruvasagar has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
slainer68 has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
dkannan has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
ChampS666 has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
thomasfedb has joined #ruby
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
zommi has joined #ruby
Inoperable has joined #ruby
clocKwize has joined #ruby
Inoperable has quit [Max SendQ exceeded]
regedarek has joined #ruby
stnly has joined #ruby
standardeviation has quit [Quit: standardeviation]
<ryanf> standardeviation: I wouldn't read too much into that gist
djdb has joined #ruby
<ryanf> you can probably just substitute Pry.start for both of those irb lines
<ryanf> if that doesn't work, try Pry.start(self)
workmad3 has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
robustus has quit [Ping timeout: 255 seconds]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
slainer68 has quit [Ping timeout: 252 seconds]
taoru has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 245 seconds]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
TIBS02 has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
S1kx has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
grzywacz has quit [Remote host closed the connection]
robustus has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
emergion has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
nfk has joined #ruby
Inoperable has joined #ruby
<hemanth> cat.send("got_homes", "nice_home") => cat.got_home("nice_home")
Inoperable has quit [Max SendQ exceeded]
<hemanth> ? => cat.got_home(:home,"nice_home")
<hemanth> ?
<hemanth> if cat.send("got_homes", "nice_home") => cat.got_home("nice_home") then ___________ => cat.got_home(:home,"nice_home")
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
Hanmac has joined #ruby
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
clocKwize has quit [Quit: clocKwize]
Inoperable has joined #ruby
thomasfedb has quit [Ping timeout: 256 seconds]
S1kx has quit [Quit: Leaving]
thomasfedb has joined #ruby
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
clocKwize has joined #ruby
recycle has joined #ruby
Solnse has joined #ruby
Elhu has joined #ruby
<Hanmac> shevy about my archive gem ... what would your prefered way to add an entire directory into an archive?
reuven has joined #ruby
<hemanth> not able to figureout this send API
recycle has quit [Remote host closed the connection]
pencilcheck has joined #ruby
cableray has joined #ruby
pencilcheck has quit [Remote host closed the connection]
Morkel has joined #ruby
love_color_text has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<Hanmac> shevy: (archive << Dir["dir/**/**/*"] ) would work, ( archive << "dir" ) would work, (archive.add("dir") would work too because << is only an alias) and i think about an archive.add_dir("dir") that allows some extra features
mafolz has joined #ruby
<shevy> Hanmac seems ok
<shevy> Hanmac, the first variant Dir["dir/**/**/*"] is more work than the other
<shevy> in add_dir() you could check for File.directory?, and if so, could use Dir['*']
andrewhl has quit [Remote host closed the connection]
<shevy> also dont forget ONE example!
<shevy> examples are more helpful than explanations :D
ossareh has quit [Ping timeout: 252 seconds]
etcetera has joined #ruby
aganov has joined #ruby
ChampS666 has quit [Ping timeout: 248 seconds]
<Hanmac> shevy yes and no ... the current plan is that archive << "dir" works totaly recusive ... while in add_dir("dir") you can control it with a block ... like add_dir("dir") {|e| e.path != "dir/subdir" } ... that will add "dir/file", "dir/file2", "dir/sub/file*" but not "dir/subdir/file*"
tjbiddle has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
nw_ has joined #ruby
<Hanmac> i also found that libarchive as some kind of matching engine ... that means: add_dir("dir", user: 1001) will only add files from the user with the uid 1001 ... the same will be added for the extract commands
zz_chrismcg has quit [Ping timeout: 276 seconds]
guilleiguaran has quit [Ping timeout: 276 seconds]
moeSeth_ has quit [Ping timeout: 276 seconds]
nw has quit [Ping timeout: 276 seconds]
chrismcgh has joined #ruby
icole has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 256 seconds]
tPl0ch has joined #ruby
mmitchell has quit [Remote host closed the connection]
icole has joined #ruby
io_syl has quit [Ping timeout: 248 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
fteem has joined #ruby
alanjc has quit [Read error: Connection reset by peer]
ananthakumaran1 has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
io_syl has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
<shevy> cool
jds_ has quit [Remote host closed the connection]
jds_ has joined #ruby
fteem has quit [Ping timeout: 252 seconds]
piotr_ has joined #ruby
timonv has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
louisror has joined #ruby
razibog has joined #ruby
jds_ has quit [Ping timeout: 246 seconds]
megha has joined #ruby
<hemanth> anyone to help me with send()?
osaut has joined #ruby
Playground has joined #ruby
cha1tanya has quit [Ping timeout: 248 seconds]
Morkel has quit [Quit: Morkel]
filipe has joined #ruby
ryanf has quit [Quit: leaving]
louisror has quit []
<reactormonk> hemanth, send(:got_home, :home, "nice_home")
jonahR has quit [Quit: jonahR]
marr has joined #ruby
ChampS666 has joined #ruby
Virunga has joined #ruby
<Hanmac> hemanth send is like an normal method call, ... the difference is that you can define the method name with a string or symbol ... (and the normal send can ignore the protected and private state) ... send_public does it not
ganjar_on_rails has joined #ruby
<reactormonk> Hanmac, do you personally care about public/protected/private in your code?
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
shorts has joined #ruby
Virunga has quit [Remote host closed the connection]
louisror has joined #ruby
<Hanmac> hm mostly i do not ... (the most functions i define are public)
<ganjar_on_rails> Hi all, is there any users from Indonesia?
bondar has joined #ruby
jenrzzz has joined #ruby
<Hanmac> reactormonk .. hm in one of my gems, i did that you cant do map.layers << something or map.layers.delete ... (because layers is an enumerator) but i think this does not count to your question right?
emergion has joined #ruby
n1x has quit [Ping timeout: 272 seconds]
haxrbyte has quit [Ping timeout: 244 seconds]
zigomir has joined #ruby
ChampS666 has quit [Ping timeout: 240 seconds]
autumn has joined #ruby
dr_bob has joined #ruby
krisfremen has quit [Ping timeout: 244 seconds]
bondar has quit [Ping timeout: 256 seconds]
jimeh has joined #ruby
etcetera has quit []
TheFuzzball has joined #ruby
S1kx has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
unix has quit [Ping timeout: 252 seconds]
yacks has joined #ruby
jprovazn has joined #ruby
blaxter has joined #ruby
jds_ has joined #ruby
TomyLobo has quit [Quit: Standby mode...]
jgrevich has quit [Remote host closed the connection]
ganjar_on_rails has left #ruby [#ruby]
luisalima has quit [Read error: Connection reset by peer]
fteem has joined #ruby
<reactormonk> Hanmac, likely
luisalima has joined #ruby
jds_ has quit [Remote host closed the connection]
jds_ has joined #ruby
blaxter has quit [Ping timeout: 246 seconds]
clooth has joined #ruby
yuntsewu has joined #ruby
lkba has joined #ruby
ryanf has joined #ruby
nomenkun has joined #ruby
Takehiro has joined #ruby
jackyalcine has quit [Ping timeout: 272 seconds]
adeponte has quit [Remote host closed the connection]
buibex has joined #ruby
jackyalcine has joined #ruby
frihd has joined #ruby
havenn has joined #ruby
nari has quit [Ping timeout: 272 seconds]
jduan1981 has quit [Quit: jduan1981]
tjbiddle has joined #ruby
timonv has quit [Remote host closed the connection]
blaxter has joined #ruby
tjbiddle has quit [Client Quit]
timonv has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
yuntsewu has quit [Quit: Leaving]
love_color_text has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 244 seconds]
noxoc has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
<ProLoser> !bin
ProLoser has left #ruby [#ruby]
<hemanth> reactormonk, thanks!
<hemanth> Hanmac yes aware of how sent works, but was looking for send(:got_home, :home, "nice_home")
yakko has quit [Read error: Connection reset by peer]
gyre008 has joined #ruby
Elhu has joined #ruby
dr_bob has quit [Quit: Leaving.]
klaut has joined #ruby
<whowantstolivefo> hiya, i am newbie, and working at http://www.codecademy.com/courses/ruby-beginner-en-NFCZ7/3/#!/exercises/4 <<< i didnt understand this part of lesson. where i should use booleans ?
<Spaceghost|cloud> When things are or they aren't.
TheFuzzball has quit [Quit: Computer has gone to sleep.]
cha1tanya has joined #ruby
emocakes has joined #ruby
beiter has joined #ruby
<tobiasvl> whowantstolivefo: the variables are booleans
<tobiasvl> so you need to assign boolean values to them
maz-dev_ has joined #ruby
noxoc has quit [Quit: noxoc]
<whowantstolivefo> tobiasvl: let me try to figure out after i will disturb you again
emergion has quit [Quit: Computer has gone to sleep.]
maz-dev has quit [Ping timeout: 240 seconds]
Phoop has joined #ruby
main has joined #ruby
sporkbomb has quit [Read error: Connection reset by peer]
emocakes has quit [Quit: emocakes]
nipa has joined #ruby
sporkbomb has joined #ruby
<whowantstolivefo> tobiasvl: i did it, thank you!
luckyruby has quit [Remote host closed the connection]
<tobiasvl> np
blacktulip has joined #ruby
la_xriso has joined #ruby
<la_xriso> Hello
luckyruby has joined #ruby
ABK has quit [Ping timeout: 256 seconds]
shorts has quit [Quit: shorts]
eka has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
ephemerian has joined #ruby
maz-dev__ has joined #ruby
w|t has quit [Quit: No Ping reply in 150 seconds.]
nomenkun has joined #ruby
maz-dev_ has quit [Ping timeout: 248 seconds]
shorts has joined #ruby
dr_bob has joined #ruby
pavilionXP has joined #ruby
gyre008 has quit [Remote host closed the connection]
emergion has joined #ruby
thrillERboy has joined #ruby
Inoperable has quit [Quit: Rectified]
Inoperable has joined #ruby
Inoperable has quit [Max SendQ exceeded]
<thrillERboy> Hi, How do I format a number 24000 to string 24,000 how do I add the , as delimiter?
Inoperable has joined #ruby
Takehiro has quit [Remote host closed the connection]
<tobiasvl> thrillERboy: if you're on rails you have a helper method you can use
<tobiasvl> if not i'm not aware of anything
cdt has joined #ruby
adambeynon has joined #ruby
gokul has joined #ruby
noxoc has joined #ruby
<thrillERboy> tobiasvl: I'm on rails, and its working correctly in rails views, but number_to_currency function is not available in rspec :(
Vainoharhainen has joined #ruby
greenarrow has quit [Quit: IRC is just multiplayer notepad]
hamed_r has joined #ruby
greenarrow has joined #ruby
quest88 has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
slainer68 has joined #ruby
<Hanmac> hm imo the Numeric Helper functions are a bit shitty: because the formating is not only depending on the currency but on the language too
segv- has joined #ruby
segv- has quit [Client Quit]
nipa has quit [Quit: Leaving]
reinaldob has joined #ruby
<Spaceghost|cloud> There are gems for formatting integers as monies.
<Hanmac> yeah, but it does also count for other numbers too
otters has quit [Ping timeout: 252 seconds]
elaptics`away is now known as elaptics
<kinmor06> why not include a helper on the rspec config?
Xeago has joined #ruby
quest88 has quit [Quit: quest88]
reinaldob has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
pavilionXP has quit [Quit: Forget progress by proxy. Land on your own moon.]
hotovson has joined #ruby
m4n has joined #ruby
guilleiguaran has joined #ruby
moeSeth_ has joined #ruby
<m4n> am loading a yaml file using the yaml module. but it strips trailing zeros after the first one in decimal values. how can i avoid that
mand has joined #ruby
mand is now known as mand_
chussenot has joined #ruby
<mand_> Hi, I have a problem with rspec-expectations-2.12.1 as it depends on an older version of diff-lcs (~> 1.1.3, runtime) whereas rspec-expectations-2.0.1 only depends on diff-lcs (>= 1.1.2, runtime)
<mand_> What should I do?
skum has joined #ruby
jackyalcine has quit [Ping timeout: 272 seconds]
Vainoharhainen has quit [Ping timeout: 252 seconds]
tatsuya_o has joined #ruby
<mand_> Seems quite strange to me
<mand_> Could I somehow override the dependencies of rspec-expectations so it works with the newest diff-lcs version/
<mand_> Could I somehow override the dependencies of rspec-expectations so it works with the newest diff-lcs version?
karasawa has quit [Ping timeout: 246 seconds]
timmow has joined #ruby
<Xeago> does anyone know if osx in single user mode can have colorized prompts?
danneu has quit [Ping timeout: 248 seconds]
<hoelzro> Xeago: like, shell prompts?
<Xeago> yes
Inoperable has quit [Quit: Textual IRC Client: www.textualapp.com]
arturaz has joined #ruby
jackyalcine has joined #ruby
tommyvyo has joined #ruby
<Mon_Ouie> That has more to do with your shell (e.g. bash) than your OS (as long as your terminal supports color code, which the default terminal in OS X does)
sayan has quit [Read error: Connection reset by peer]
<Xeago> Mon_Ouie: however can you say that singleusermode is a complete OS X?
klaut has quit [Remote host closed the connection]
<Mon_Ouie> Oh, I didn't realize what that was, sorry. That still depends on whether or not the terminal you get into supports it.
beliveyourdream has joined #ruby
workmad3 has joined #ruby
reinaldob has joined #ruby
karasawa has joined #ruby
frihd has quit [Quit: Leaving.]
caleb_io has quit [Quit: caleb_io]
b0oh has joined #ruby
b0oh has left #ruby [#ruby]
luckyruby has quit [Remote host closed the connection]
gyre007 has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
Gooder has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ryanf has quit [Quit: leaving]
RagingDave has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
security has joined #ruby
timonv has joined #ruby
megha has quit [Ping timeout: 252 seconds]
hotovson has quit [Remote host closed the connection]
<Xeago> Mon_Ouie: I am unsure if the terminal advocates it is capable of colors, and whether the screen drivers do
<JonnieCache> mand_: you can fork the git repo and modify it however you want
krisfremen has joined #ruby
krisfremen has joined #ruby
<JonnieCache> mand_: you can pas a :git paramater in your gemfile to use your forked gem
nkr has joined #ruby
S1kx has quit [Quit: Leaving]
cba has quit [Remote host closed the connection]
caveat- has quit [Read error: Operation timed out]
matheus_ is now known as embs
kinmor06 has quit [Quit: Leaving]
dhruvasagar has quit [Quit: Lost terminal]
jds_ has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
nomenkun_ has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
cba has joined #ruby
razibog has quit [Read error: Connection reset by peer]
razibog has joined #ruby
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
tommyvyo has joined #ruby
Playground has quit [Ping timeout: 252 seconds]
dwu1 has quit [Quit: Leaving.]
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
skum has quit [Ping timeout: 248 seconds]
Playground has joined #ruby
BulleTime has joined #ruby
didge has joined #ruby
berserkr has joined #ruby
<didge> I see the gem titled Sinatra has Nokogiri templates. Where may I learn more about the Nokogiri template file format?
iaj has quit [Ping timeout: 256 seconds]
dhruvasa1ar has joined #ruby
dhruvasa1ar has quit [Client Quit]
dhruvasagar has quit [Quit: Lost terminal]
dhruvasagar has joined #ruby
nomenkun_ has quit [Read error: Connection reset by peer]
thrillERboy has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
louisror has quit [Ping timeout: 272 seconds]
<Hanmac> ... shoundt the templates only xml files?
nkts has joined #ruby
love_color_text has joined #ruby
Kakera has joined #ruby
niklasb has joined #ruby
<shevy> didge hopefully it is not XML only :-)
kjellski has joined #ruby
<shevy> there is a #sinatra channel to btw
<shevy> *too
<didge> Oh thanks.
<didge> I am just introducing myself to sinatra.
judofyr has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
iaj has joined #ruby
<didge> I tried just tried Perl::Catalyst but I wasn't good with it.
statarb3 has joined #ruby
havenn has joined #ruby
<didge> The tutorial took me a week and I still feel lost.
<judofyr> didge: http://mojolicio.us/ is way better for web development in Perl
francisfish has joined #ruby
<didge> Thanks judofyr
<didge> I need something that will permit me to develop. I have had a hard time with stacks lately.
<judofyr> wait, isn't this #ruby? :S
<didge> sorry
<judofyr> don't worry :)
<judofyr> didge: Mojolicious has no dependencies, so it should be pretty easy to set up
<didge> Ok.
<didge> I'm just getting started in Sinatra and I have pages to work with already. This should keep me busy for now.
<judofyr> ah. good.
dqminh has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
<JonnieCache> didge: sinatra is a good choice
cableray has quit [Quit: cableray]
<JonnieCache> its very elegant
<didge> Ok.
aaronmacy has quit [Quit: Leaving.]
cableray has joined #ruby
* Hanmac never used ruby for web ... he does better things with ruby
havenn has quit [Ping timeout: 256 seconds]
b1rkh0ff has joined #ruby
Criztian has joined #ruby
<JonnieCache> yeah yeah
cobragoat has quit [Remote host closed the connection]
lkba has joined #ruby
<JonnieCache> we all wish we had proper programming jobs as well
cobragoat has joined #ruby
jds_ has joined #ruby
* JonnieCache thanks his lucky stars he only has to do backend
pyro111 has joined #ruby
* Xeago spilled salad dressing all over the inside of his laptop bag
cableray has quit [Quit: cableray]
sayan has joined #ruby
<Hanmac> Jonniecache, at my work i am mostly forced to do php and magento ... :/
<JonnieCache> well then you dont get to act superior on irc :P
<Hanmac> i wish i had a job where mostly non-rails ruby and C++ is needed ... :/
<Xeago> Hanmac: apply at apple
<Hanmac> Xeago: my conscience may be very small but it is there
<Spaceghost|cloud> Hanmac: There are jobs where ruby and C# exist, though I can't recollect ones with C++
<Xeago> yea, apple still uses 1.8.7..
<Hanmac> hm i dont have C# skills ... only C and C++ (and i dont like C# ... :/ )
<Spaceghost|cloud> I do ruby, javascript, and ughrails. But I pretend it's just ruby.
<Spaceghost|cloud> As my dayjob.
<Xeago> ooh, you are in denial!
<Spaceghost|cloud> Sure, but I also interject a reality where rails sits on the side as well.
Maziz has quit [Quit: Maziz]
daniel_- has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
* Spaceghost|cloud is writing a talk, but happens to have proposed it for railsconf to see whose jimmies get rustled
sayan has quit [Read error: Connection reset by peer]
Dakuan has joined #ruby
cobragoat has quit [Ping timeout: 256 seconds]
<Xeago> should be interesting then
<Xeago> lengthy but fun talk
allanm_ has joined #ruby
<Xeago> can't really give it a subject, the title says it best if you know your history: Architecture — The lost years.
<Spaceghost|cloud> I've seen it.
<Spaceghost|cloud> I've read a great deal on the subject.
security is now known as megha
* Spaceghost|cloud was approached by one of the most BS-filled publishers to write a book on the subject. He lol'd at them
browndawg has joined #ruby
timonv has quit [Remote host closed the connection]
allanm has quit [Ping timeout: 252 seconds]
Dakuan has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
<JonnieCache> Xeago: is it about the years of object oriented theory that its now fashionable to ignore?
samuel02 has joined #ruby
jds_ has quit [Ping timeout: 240 seconds]
<Spaceghost|cloud> JonnieCache: Mostly.
timonv_ has joined #ruby
<Spaceghost|cloud> I had the hardest day at work once. It was when my boss said, "With ruby, you don't have to worry about any of that. It's so easy to change, it's practically free"
<JonnieCache> sometimes people look at me like im a child molestor when i do that stuff
Icarot has quit [Ping timeout: 255 seconds]
<Spaceghost|cloud> I turned my literal LOL into a chortle into a cough right on the spot.
timonv has quit [Read error: Connection reset by peer]
<workmad3> Spaceghost|cloud: but with ruby, you can just redefine methods to do dependency injection! such as with Time.now! and screw the fact that it makes things go really ballsed up
jerius has joined #ruby
<Spaceghost|cloud> workmad3: I laughed at that blogpost. So hard.
<Spaceghost|cloud> "Good job with threads DHH"
<Spaceghost|cloud> He knows 'em.
pskosinski has joined #ruby
<JonnieCache> workmad3: what are you referring to there?
<workmad3> yeah, the *least* serious part of doing that crap is my 'month-long' test suite reports :)
statarb3 has quit [Ping timeout: 272 seconds]
<Xeago> JonnieCache: I'd say more about making your application speak, and seperation of concerns (the fashionable forgotten way)
<workmad3> JonnieCache: it was a blog post DHH did a little while ago
<workmad3> JonnieCache: claiming that normal DI is useless in ruby, because it's so flexible you can just redefine methods instead
<Xeago> and then there was another talk that said cucumber is slow, and he totally crushes that
<workmad3> JonnieCache: with the traditional Time.now example
unix has joined #ruby
<Spaceghost|cloud> Xeago: Who?
<workmad3> 'just stub Time.now to return the dates you want to test at edge-cases'
recycle has joined #ruby
<Xeago> the talk I linked
<workmad3> 'oh... that just made my test report that it took 2 months to complete'...
cableray has joined #ruby
<Spaceghost|cloud> Xeago: Eh, I don't fault the man for not knowing everything.
judofyr has left #ruby [#ruby]
<Spaceghost|cloud> People do often write their cukes with shit test code.
<JonnieCache> workmad3: ive always used the timecop gem for stubbing time.now
<Xeago> people write their tests so it requires rails
<JonnieCache> ive never had a problem, because it lets you mock the time inside a block
<JonnieCache> so you never fuck anything up
<Spaceghost|cloud> The day people realize that cucumber is just Regex Driven Development and a code executor, the sooner I start caring about their bullshit again, maybe.
<Spaceghost|cloud> Xeago: That's a startup penalty. The biggest one is when they use shit like selenium. :(
<Xeago> Spaceghost|cloud: I agree, but you can't say cucumber is slow; your tests suck like horsepoop
<Xeago> selenium, never heard of
RagingDave has quit [Quit: Ex-Chat]
banisterfiend has joined #ruby
<Xeago> yuck
<Spaceghost|cloud> Xeago: Well yeah, but most people these days think cucumber is something it isn't. Clearly he's aprt of that group.
<Xeago> browser emulation?
<Spaceghost|cloud> simulation.
<workmad3> Xeago: not emulation
<workmad3> Xeago: automation
love_color_text has quit [Remote host closed the connection]
<Xeago> hmm
<Spaceghost|cloud> It drives a real browser.
<workmad3> ^^
<Spaceghost|cloud> Slow as fuck and shouldn't ever be the first thing you reach for when testing anything ever.
<Spaceghost|cloud> I might have missed putting in an 'ever' in there. You can never have too many.
<Xeago> he as the talk I linked? He says in the talk that cucumber is nothing more than regex and an implementer of some interface in his diagram
xargoon has quit [Ping timeout: 264 seconds]
<Spaceghost|cloud> Anyways, I'm working on a project that shows my architecture stuff.
<JonnieCache> nothing wrong with full browser automation in testing. it takes ages but if youre running that part of the suite once or twice a day then its fine
<Xeago> yuck, the idea is cool, but not for automated tests while developing
<Spaceghost|cloud> That's one of those full end-to-end functional tests. They're painful.
<Xeago> I'd expect this stuff at a QA team
<workmad3> I tend to do browser automation for smoke tests
<Spaceghost|cloud> I only use design patterns that more fully present the domain problem and pull away any implementation details I don't really want to care about.
<JonnieCache> its painful but its 1000x less painful than a human doing that stuff
<didge> How do you escape SQL in ruby?
<Spaceghost|cloud> didge: By running the other way!
<Spaceghost|cloud> Bazinga.
<workmad3> use prepared statments!
<workmad3> like you should always do
<workmad3> in any language
<didge> I don't understand what they are.
<Spaceghost|cloud> Or just not SQL'ing!
hamed_r has quit [Quit: Leaving]
<didge> I am using SQL currently.
<Spaceghost|cloud> I know. I'll have my warrior clan pray for your soul.
xargoon has joined #ruby
Dakuan has joined #ruby
jinzhu has quit [Ping timeout: 252 seconds]
<workmad3> didge: if you don't know what prepared statements are, step away from the code, open up google and learn some stuff
nari has joined #ruby
<didge> What would I use instead of the ruby mysql gem ?
fyolnish has quit [Ping timeout: 245 seconds]
<didge> workmad3; that's insulting and you don't know me.
<Spaceghost|cloud> datamapper?
<Xeago> didge: Sequel is nice
<Spaceghost|cloud> A shot of tequila./
<Spaceghost|cloud> ?
<didge> thanks.
<Xeago> didge: workmad3 is right, read up what prepared statements are
mahmoudimus has joined #ruby
<workmad3> didge: you're the one who said you didn't know what they are
<workmad3> didge: I'm saying go learn about them, because they've been the answer to this particular problem for *decades*
<Spaceghost|cloud> workmad3: His ego man. Watch the ego!
<Xeago> it may sound harsh, but it prevents you from being a headline on some news site in a year
<didge> Ok.
elkclone has quit [Quit: It's never too late to unplug and run.]
<didge> Ok. I'll be back in a bit. I have a lot to learn. I don't use prepared statements habitually. I like RAD because I'm a loner.
<Xeago> what is RAD?
<shevy> rapid application development?
<shevy> or rabid aggressive disease
<shevy> which seems to be the case for didge :-)
<workmad3> responsible application development? :P
<shevy> yikes... to be responsible...
<JonnieCache> rapid
<workmad3> JonnieCache: ah, so not responsible ;)
<JonnieCache> its a 90s term invented to promote visual studio and its related products
<workmad3> (couldn't resist :) )
<Xeago> how do i wrap a selection in braces in vim?
<Spaceghost|cloud> around.vim
<Xeago> a plugin I suppose?
<Spaceghost|cloud> Egh, might not be necessary, but it's convenient.
Goles has joined #ruby
icole has quit [Ping timeout: 240 seconds]
icole has joined #ruby
emocakes has joined #ruby
<whowantstolivefo> codeacademy is good point to learn ruby by example. i started yesterday learning from there, but i get satisfaction from that page... who ever made this page, thank you!
Phoop has quit [Quit: Phoop]
larissa has joined #ruby
clj_newb has joined #ruby
<Xeago> which means I am below average :\
<matti> :)
<matti> Xeago: U SUCK.
<matti> ;p
Phoop has joined #ruby
<matti> Xeago: Why are you so worked out over thing?
<matti> Xeago: Most native speakers score poorly, plus what they only know is English.
<matti> Xeago: Cut yourself some slack ;p
<Xeago> regardless, english is my main language
<Xeago> It is not my native language, though.
<matti> Xeago: Go take super expensive lessons.
<matti> Or, start studying English as your major ;p
<hoelzro> spelling is hard
<Spaceghost|cloud> I typo'd guerrilla
<matti> Spent life time improving :)
eka has quit [Ping timeout: 252 seconds]
<Spaceghost|cloud> Missed the last two.
<Spaceghost|cloud> 2520
* matti hugs Xeago
<Xeago> see
<Xeago> !!
<matti> Xeago: He cheated, he is Spaceghost|cloud
* Xeago :<
<matti> ;p
<Spaceghost|cloud> It's true. And I haven't slept in a long time either.
Morkel has joined #ruby
<matti> Haha
<Spaceghost|cloud> Like, since last yesterday.
eka has joined #ruby
<Spaceghost|cloud> Or the one before that.
<matti> Spaceghost|cloud: :<
<matti> Spaceghost|cloud: *hug*
<Xeago> damnit
<Xeago> yaucht
<Xeago> wops yacht
<Spaceghost|cloud> It's okay, English is my first language, and I can't even use it well.
<matti> ;p
<Spaceghost|cloud> I like getting the full time bonus.
brendan_ has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
<Xeago> HA!
<Xeago> 2780!
<Xeago> I knew it!
<matti> ;p
<workmad3> 3160 that time
<Xeago> prerogative and yacht the only one I missed
<Spaceghost|cloud> Well, fuck you guys, I'm on a daskeyboard with blank keys.
<workmad3> I've yet to get all of them right
<Spaceghost|cloud> So I can't even look at letters for lulzy. :(
<workmad3> Spaceghost|cloud: I use dvorak on a qwerty layout
<Xeago> Spaceghost|cloud: aight
<Spaceghost|cloud> workmad3: That's because you're some weirdo!
Takehiro has joined #ruby
<workmad3> Spaceghost|cloud: yeah, but it also makes your objection moot :P
<matti> Spaceghost|cloud: workmad3 is an AI ;p
<Spaceghost|cloud> workmad3: At least you have some letters!
TheFuzzball has joined #ruby
<workmad3> matti: if that was true, I wouldn't have screwed up 'ecstasy' :P
<matti> LOL
<Spaceghost|cloud> The closest thing to a letter I got is a number, except it's the light for the numlock key, and it's not even a key!
<Spaceghost|cloud> Xeago: That was fun.
<matti> Oh, I cannot even play this quiz.
<matti> My browser does not have relevant plug-ins.
* matti depressed
<shevy> matti
<Xeago> Spaceghost|cloud: let's do it eyes closed
<shevy> let's have anti-depression sex
<Xeago> there is no need for mouse during the test
<matti> shevy: I rather have coffee.
<shevy> :(
<matti> shevy: Sex is over-rated.
<matti> shevy: Go ask Spaceghost|cloud
<Spaceghost|cloud> Xeago: I'm practically doing ti eyes closed, I just need to be able to open them to start the next word.
<Xeago> btw
<Xeago> I use colemak
<Xeago> on a qwerty keyboard
<Xeago> Spaceghost|cloud: why? you can just hit enter?
chussenot has quit [Quit: chussenot]
<Spaceghost|cloud> Can I?
<Spaceghost|cloud> Didn't know that.
haxrbyte has joined #ruby
<Xeago> only the first OK - Start Now requires omuse
<Spaceghost|cloud> the fuck is a colemak? Sounds like cold mac 'n cheese.
<Xeago> imo better than dvorak and qwerty
browndawg has quit [Read error: Connection reset by peer]
<workmad3> woo, only got one wrong that time
<workmad3> 3520
mahmoudimus has quit [Quit: Computer has gone to sleep.]
samphippen has joined #ruby
<workmad3> screwed up counselor
<Xeago> damn you safari!
grzywacz has quit [Ping timeout: 252 seconds]
rakl has quit [Quit: sleeping]
browndawg has joined #ruby
<Xeago> eyes closed, here it goes!
haxrbyte has quit [Remote host closed the connection]
orcris has quit [Ping timeout: 260 seconds]
<Xeago> tho
<Xeago> cannot see the lines..
<Spaceghost|cloud> stfu and take the test.
<Spaceghost|cloud> Shouldn't need it.
clj_newb has quit [Ping timeout: 248 seconds]
<Spaceghost|cloud> Lines for for fools.
<Xeago> safari is still crashing..
cableray has quit [Quit: cableray]
jerius has quit []
haxrbyte has joined #ruby
<Xeago> crashes under the recovery of the crash :\
gurps has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
<JonnieCache> goddamn paths
Neomex has joined #ruby
Neomex has quit [Client Quit]
daniel_- has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
graft_ has quit [Ping timeout: 246 seconds]
<shevy> lol
<shevy> you mac users you
<shevy> you all suck :)))
<JonnieCache> linux users still have paths to worry about
carloslopes has joined #ruby
tk_ has joined #ruby
samuel02 has quit [Remote host closed the connection]
graft_ has joined #ruby
aapzak has quit [Ping timeout: 244 seconds]
<shevy> I use always absolute paths
<tobiasvl> what are these "paths" of which you worry
<shevy> and always via /
Xeago has joined #ruby
Spooner has joined #ruby
<shevy> then again I try to avoid the FHS too, it's an awful horrible mess
aapzak has joined #ruby
<shevy> linux must break the tyranny of distributions and adopt an app-dir like, decentral, distribution-agnostic model
<lupine> *shrug*
<shevy> lupine what do you use
Solnse has quit [Ping timeout: 246 seconds]
<lupine> debian, pretty much everywhere
<shevy> like Hanmac :)
<shevy> I think you debian folks outnumber all other linux-users here
<lupine> the amount of effort required to transition away from FHS at this point is not really worthwhile
JonnieCache has quit [Quit: Lost terminal]
<lupine> there are linux distributions that try, but they end up putting an FHS compatibility layer in
<Xeago> missed exuberance and dessert..
<shevy> yeah, they'd have to patch everything to make it work
invariant has joined #ruby
<Spaceghost|cloud> Wait, which distros are doing that?
[Neurotic] has quit [Ping timeout: 240 seconds]
<invariant> How do I continue execution with pry?
<Spaceghost|cloud> I've always had issue with the debian team on many points.
<lupine> well, debian is right and you are wrong
moos3 has joined #ruby
<Spaceghost|cloud> No they aren't. They debiate from FHS
<Spaceghost|cloud> Yes, Debiate.
<shevy> Spaceghost|cloud gobolinux tried that for a while
<invariant> If you want portable software, don't depend on anything more but sh.
<Hanmac> ihhhh ... FHS is more clear in my opinion
<shevy> but the main devs had to work full time, so the distribution died :(
<lupine> is this going to be about rubygems again?
<shevy> lupine there is one advantage - multiple versions side by side. how do you do that on debian?
<Spaceghost|cloud> I used to build my own distros with dpkg and my own toolchains.
<lupine> shevy, in debian as-is, you have to embed the version into the package name and deal with file conflicts on a case-by-case basis
<lupine> adding the slot concept, as gentoo had, would fix that elegantly
frihd has joined #ruby
* lupine is dealing with exactly this at the moment with debian packaging of qemu - we need several versions to be installed and usable simultaneously
<banisterfiend> invariant: type 'exit'
<shevy> hmm I should really give gentoo another try
<lupine> you really shouldn't ^^
<shevy> hehehe
<invariant> No, you really shouldn't.
<lupine> it's mostly dead now anyway
<lupine> sure, it twitches from time to time, and certain parts continue to churn
<shevy> yeah, it seemed to have had more momentum in the past :(
<invariant> I can't think of any usecase for Gentoo anymore.
<yfeldblum> fhs is omakase?
<invariant> If you need high-performance gear, you do something custom anyway.
<lupine> mm, the ricers have all moved on
samuel02 has joined #ruby
Goles has quit [Read error: Operation timed out]
chussenot has joined #ruby
<banisterfiend> invariant: or 'exit-all' if you'er in a nested context
<invariant> I am banned in #gentoo for asking why anyone would still use it.
<invariant> It took like 10 minutes or so.
<shevy> ricers? what is that?
krz has quit [Quit: krz]
<Spaceghost|cloud> Lol
<shevy> lol invariant
<invariant> If you cannot explain why your software is still relevant, I have no business being there.
<shevy> I try to get banned on #python in regular intervals by asking "sshh zsszs szshshss?", but noone speaks python there anymore :(
EPIK has joined #ruby
<shevy> "A person who makes unecessary modifications to their most often import car to make it faster." hmm... tuning!
emergion has quit [Quit: Computer has gone to sleep.]
<shevy> BMW... mercedes... lamborghini ... :D
JonnieCache has joined #ruby
cjs226 has quit []
<lupine> the idea being that recompiling KDE to add -funroll-loops is generally unnecessary
<invariant> Is there any difference between Python and Ruby that's actually of interest?
<shevy> invariant why did they die? was it because the guy who started with it left the project?
<lupine> yes
<invariant> I programmed in both, but they feel pretty much the same.
<shevy> invariant not sure... I think they sit in a very, very similar niche, and aside from the different philosophy, they are both very much alike one another
<invariant> shevy, who?
<shevy> python and ruby
<shevy> ah
<shevy> who was that gentoo guy... I forgot the name
<shevy> didn't he go to debian or something?
<invariant> shevy, ah, yes, the founder.
<invariant> shevy, he used to work for Microsoft.
<lupine> aww, gobo is dormant
daniel_- has joined #ruby
<banisterfiend> invariant: blocks are a pretty fundamental difference, they're used everywhere in ruby
timonv_ has quit [Remote host closed the connection]
<sh00p> debian master race reporting in
<shevy> lupine yeah :( a guy took over, but did not do much at all, so the whole thing died down... so many project transitions fail...
<banisterfiend> invariant: also, executable class bodies
timonv has joined #ruby
<invariant> Daniel Robbins
<invariant> It was first called Enoch Linux. lol
<Spaceghost|cloud> invariant: In ruby, our lambdas aren't shit. :)
timonv_ has joined #ruby
timonv has quit [Read error: Connection reset by peer]
<shevy> lol enoch? Eunuch Linux! "In order to use this, you must first lose that."
<invariant> Spaceghost|cloud, so, Ruby is like Scheme with syntax/Smalltalk in text format.
<Spaceghost|cloud> shevy: "Not like it was being put to any good use"
<Xeago> invariant: ruby is made to be perl but better
<lupine> smalltalk was a big design influence on ruby
<invariant> Without the macros in the case of Scheme.
<Xeago> lupine: because it was a big design influence on perl
clocKwize has quit [Quit: clocKwize]
<lupine> python, meanwhile, focused on explicitness and One Way To Rule Them All
<shevy> lupine there was an idea to use /System/Index ... and something similar to unionfs Appdirs... but hisham went on to use lua and had no more time, similar to the other main devs from brazil
<invariant> The Gentoo Linux distribution created enormous interest almost immediately. It remains by far[citation needed] the most high-profile source-based Linux distribution, and the quality of its documentation, and friendliness of its forums have been widely praised.
<lupine> which is perfectly fine, of course, but definitely a difference worth noting
<invariant> Citations are needed :)
<lupine> well, restricted to source-based, so probably true
<Spaceghost|cloud> Best thing python has over ruby is the ability to pull in only what part of the package they want.
<shevy> lupine I am fine with the one way to rule them all. it just must be elegant... and clear... and other ways must also be possible when they provide a very clear, definite advantage
<yfeldblum> Spaceghost|cloud, and caller-namespace it
<shevy> Spaceghost|cloud yeah that one is nice too, wonder if ruby could have something similar to that
JonnieCache has quit [Quit: Lost terminal]
<invariant> It would be fun if Racket would absorb all languages.
<Spaceghost|cloud> invariant: You seemed to have made a small clerical error.
<Spaceghost|cloud> s/would/wouldn't/
<Spaceghost|cloud> There you go.
<invariant> Spaceghost|cloud, why so?
<Spaceghost|cloud> yfeldblum: Yes indeed.
<invariant> Spaceghost|cloud, having different run-time systems is not such a smart idea.
<Spaceghost|cloud> Because the idea that using racket in everything makes me a bit depressed.
<Spaceghost|cloud> invariant: 'different runtime systems'
<Spaceghost|cloud> ?
<shevy> we are not afraid to end up like lisp!!!
epylinkn has quit [Quit: Leaving.]
<invariant> Spaceghost|cloud, all the run-time systems are complex systems and they can all contain bugs.
<Spaceghost|cloud> I actually deviate from the seattle ruby syntax to be a bit lispy.
<invariant> Spaceghost|cloud, if there is just one, there is less chance for bugs.
<shevy> 2014 will be the year of lisp renovated, the breakthrough of desktop linux AND gnu hurd on top of that (but secretly running the emacs OS underneath)
<Spaceghost|cloud> invariant: Oh, lol. Actually, that's a horrible idea. :d
<invariant> GNU Hurd aready runs.
<yfeldblum> invariant, i see it differently: the more there are, the less chance for bugs
<invariant> Spaceghost|cloud, it's what MS did.
<invariant> Spaceghost|cloud, it's a sound idea.
<Spaceghost|cloud> invariant: In your mind. :)
<yfeldblum> invariant, a distributed system is more resilient
<shevy> Spaceghost|cloud how lispy is your ruby actually :P
<invariant> A very old idea and a poor execution by MS.
<invariant> But a sound idea.
<yfeldblum> invariant, many runtimes are more resilient than one runtime
<invariant> yfeldblum, not really.
<Spaceghost|cloud> shevy: I pass arguments in as expressions.
<shevy> one OS to rule them
<yfeldblum> invariant, otherwise we'd all be using windows and c++
<invariant> I prefer to have one good one than 100 bad ones.
<Spaceghost|cloud> invariant: I wonder what you're on about. Not really, but I wanted to express that I have no fucking idea what you're getting at.
<lupine> multiple runtimes has been good for ruby
<lupine> it may be good or bad for other languages
<Spaceghost|cloud> You mean implementations?
<lupine> yep
<lupine> hence rubyspec, etc
* Spaceghost|cloud is an avid jruby user.
<Spaceghost|cloud> lupine: Actually, rubyspec arose out of a way to try to standardize. But the real standard is in Matz hands.
<Spaceghost|cloud> I give very little fucks about the rubyspec project and the maintainer.
<lupine> the development of rubyspec was driven by the desire to make the standard explicit, by people who wanted to write alternative implementations
<lupine> and it's very useful
<yfeldblum> Spaceghost|cloud, but will matz break rubyspec? or use it as a way for new versions of ruby not to break current versions as well as current versions of alternate implementations
<Spaceghost|cloud> yfeldblum: I don't think brixen's project is in any way canonical.
<Spaceghost|cloud> It's cool enough of an idea.
* Spaceghost|cloud is waiting on the japanese standard to come out whenever it does and to see what arises out of that.
NobbZ has quit [Remote host closed the connection]
NobbZ has joined #ruby
fyolnish has joined #ruby
Yazil has joined #ruby
Yazil has quit [Client Quit]
JonnieCache has joined #ruby
clocKwize has joined #ruby
fyolnish has quit [Read error: Connection reset by peer]
RagingDave has joined #ruby
frihd has quit [Quit: Leaving.]
ryanh has quit [Quit: Computer has gone to sleep.]
horofox has joined #ruby
browndawg has quit [Quit: Leaving.]
Goles has joined #ruby
<Xeago> damnit, theres something wrong with my font in my irc client and I don't know what!
<Spaceghost|cloud> Try webdings.
browndawg has joined #ruby
RagingDave has quit [Quit: Ex-Chat]
<Xeago> Don't have webdings, sorry
Vainoharhainen has joined #ruby
<Xeago> http://cl.ly/image/2x2f3E3W3D2j/o anyone recognize the font?
samphippen has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby
<Xeago> brb
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
<JonnieCache> the irc one?
<Xeago> the letters seem too thin :\
<JonnieCache> could be ubuntu mono
mengu has joined #ruby
mgrayson has joined #ruby
mgrayson has quit [Remote host closed the connection]
<JonnieCache> or bitstream vera sans mono
griffindy has joined #ruby
<Xeago> I think I used bitstream vera sans mono
havenn has joined #ruby
<Xeago> however it doesn't look the same now
<Xeago> with still bitstream vera sans mono
<JonnieCache> antialiasing changed/
<Xeago> don't know how I'd change that :O
<Xeago> haven't updated the client either
az7ar has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
<JonnieCache> oh i thought it was your terminal
<Xeago> http://cl.ly/image/0c2r071w393B here is a comparison
jerius has joined #ruby
postmodern has quit [Quit: Leaving]
<Xeago> terminal is the same font
<Xeago> except that is size 11
grzywacz has joined #ruby
maximilianoo has joined #ruby
<Xeago> hmm no, terminal is monaco, my vim is using bitstream vera sans mono
griffindy has quit [Client Quit]
geekbri has joined #ruby
skaczor has joined #ruby
skaczor has quit [Read error: Connection reset by peer]
* apeiros_ <3 deja vu
<apeiros_> it's bit-stream vera "enhanced/extended"
<Morkel> I have a problem with minitest. It can not use the required files. https://gist.github.com/4594375
havenn has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
Xeago has quit [Remote host closed the connection]
<hoelzro> Morkel: it seems like you're off by one
az7ar has quit [Client Quit]
Xeago has joined #ruby
<Morkel> hoelzro: what do you mean with 'off by one'
<hoelzro> Morkel: in your relative require statement
<hoelzro> you should probably use an extra ..
<hoelzro> look at your error message
hybris has joined #ruby
<hoelzro> it's looking for lib/mtgox under test
<hoelzro> alternatively, you could use an absolute require
nari has quit [Ping timeout: 255 seconds]
rzeee has joined #ruby
<Morkel> no the points are correct. With absolute do you mean i should start from the home directory?
sayan has joined #ruby
<hoelzro> no
<hoelzro> what's wrong with require 'mtgox/client'?
gokul has quit [Quit: Leaving]
<Morkel> same error
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
JonnieCache has quit [Quit: Lost terminal]
<hoelzro> try fixing your RUBYLIB, perhaps?
cjs226 has joined #ruby
tommyvyo has joined #ruby
JonnieCache has joined #ruby
cha1tanya has quit [Quit: Leaving]
<Hanmac> Morkel: what happpend with require_relative "../../../lib/mtgox/client" ?
<apeiros_> eeeew require_relative
matthia__ has joined #ruby
<Spaceghost|cloud> What's eww about that?
sayan has quit [Quit: Leaving]
sayan has joined #ruby
<JonnieCache> apeiros_: thanks for the reccommend of deja vu
dr_neek has quit [Quit: dr_neek]
tvw has joined #ruby
<apeiros_> yw :)
robert_ has joined #ruby
karasawa has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
<Xeago> apeiros_: hej!
<Morkel> Hanmac:With require_relative the test file works but the client.rb has the "`require': cannot load such file" error
* Xeago is freaking out
karasawa has joined #ruby
Gue______ has joined #ruby
Gue______ is now known as RubNoob
<apeiros_> ho Xeago
<apeiros_> Xeago: we've got to play zvz, I must improve that :(
<apeiros_> still my weakest pairing
<Xeago> sure thing
<apeiros_> yippi! :D
<Xeago> tho, I am freaking out at my irc client
jjbohn has joined #ruby
daniel_- has quit [Ping timeout: 260 seconds]
<apeiros_> interesting time column
<apeiros_> anything else I should look at?
<Xeago> I don't want to know what time it is :)
<Xeago> minutes+seconds is enough to see order
<Xeago> the different fonts/fontstyles
<apeiros_> the 2 windows are the same client?
<Xeago> yes
<Xeago> both are limechat
<Xeago> same settings
<Xeago> the right one is after reboot
<apeiros_> funky, how did you manage to get different fonts then?
<Xeago> no idea
jds_ has joined #ruby
<apeiros_> ah, not at the same time?
<Xeago> I believe I had bitstream vera sans mono before
<apeiros_> before/after reboot?
robert_ has quit [Ping timeout: 245 seconds]
<Xeago> nah, the inactive window is a screenshot
<Xeago> that I screenshotted :)
nomenkun_ has joined #ruby
<Xeago> and back then I didn't have my fancy time column..
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
<Xeago> thank god now I do :3
<apeiros_> what did you doooo?!?!? :D
<Xeago> reboot
<Xeago> safari failed to do anything at all
<apeiros_> did you try turning it off and on again?
<Xeago> I believe it is what jonniecache said
<Xeago> antialiasing
<Xeago> the font override?
<Xeago> yep
nomenkun has quit [Read error: Connection reset by peer]
Criztian has quit [Ping timeout: 260 seconds]
<apeiros_> the machine actually (it-crowd reference, sorry)
<Xeago> well, can reboot again
<Xeago> cya :)
Xeago has quit [Remote host closed the connection]
lazyPower has quit [Read error: Connection reset by peer]
<Spaceghost|cloud> Osm
<Spaceghost|cloud> Isn't referencing the IT Crowd out of fashion?
<Spaceghost|cloud> If it isn't, oh shit, just you wait.
<JonnieCache> ive never liked that programme
<JonnieCache> ive only watched the early episodes, maybe it gets better
<apeiros_> well, the episode where they hand out "the internet" to jane is hilarious
<apeiros_> IMO
<apeiros_> and "did you try turning it off and on again?" is universally applicable :D
Phoop has quit [Quit: Phoop]
<Spaceghost|cloud> apeiros_: It's remarkably good relationship advice at times.
<apeiros_> heh
Xeago has joined #ruby
<apeiros_> Xeago: and? got a 3rd variant now?
jds_ has quit [Ping timeout: 272 seconds]
<workmad3> pretty sure 'try turning it off and on again' was a thing way before The IT Crowd
<JonnieCache> yep
<apeiros_> was
<workmad3> JonnieCache: I'm with you btw... never really liked The IT Crowd
<JonnieCache> that show has a super loud laugh track, hammy overacting and jokes based on hateful stereotypes
<JonnieCache> its like a parody of everything that sucked about comedy in the 70s
<JonnieCache> i dont get it
<Xeago> apeiros_: not sure yet, have to compare first :)
<workmad3> JonnieCache: yeah, or as I was going to describe it 'a (bad) attempt at nerd-slapstick'
<JonnieCache> thats been done, in the form of black books
<workmad3> I like black books :)
<JonnieCache> that show was everything the IT crowd was trying to be as far as i can tell
<tobiasvl> and big bang theory :( ouch
<Xeago> it isn;t the same
<Xeago> but it is more similar..
<workmad3> big bang theory isn't slapstick
<Xeago> there is a distinct color difference between all 3 versions now
<apeiros_> Xeago: sounds awesome
IrishGringo_ has quit [Read error: Operation timed out]
<apeiros_> if you restart another 10 times, it won't be readable anymore :)
<Xeago> let me quit the client, and then launch it again after giving you this link for comparison
Xeago has quit [Remote host closed the connection]
louisror has joined #ruby
Xeago has joined #ruby
<apeiros_> Xeago: you tooled on limechat, no?
<apeiros_> maybe you started different versions?
<Xeago> I have a pull request yes, but my change is 19 characters in the ctcp-time response
IrishGringo has joined #ruby
Takehiro has quit [Remote host closed the connection]
<Xeago> and I am not running that :)
<Xeago> atleast, mind ctcp'ing me?
<apeiros_> 14:08 <irc.freenode.net> CTCP-reply TIME from Xeago : 2013-01-22 13:08:08 +0000
<apeiros_> shouldn't that be "2013-01-22 14:08:08 +0100" o0
<Xeago> that is useless right?
<Xeago> ill see if I can start the fork
<apeiros_> assuming my memory doesn't fail me - yes, totally useless
mark_locklear has joined #ruby
Criztian has joined #ruby
<Xeago> damnit, don't have developer cert installed here
djdb has quit [Remote host closed the connection]
<Xeago> can't use the rake task :<
jinzhu has joined #ruby
F1skr has joined #ruby
<Xeago> it will probably kick me off here tho
Xeago is now known as Guest38553
Xeago_ has joined #ruby
Xeago_ is now known as Xeago
Guest38553 has quit [Killed (moorcock.freenode.net (Nickname regained by services))]
Xeago_ has joined #ruby
Xeago is now known as Guest91806
Guest91806 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
Xeago_ is now known as Xeago
Xeago has quit [Client Quit]
Xeago has joined #ruby
<Xeago> well that was some interesting kickyourownbutaction
frihd has joined #ruby
griffindy has joined #ruby
<Xeago> the righter 3 versions are the same, but still different from the most left, correct one
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
mikecmpbll has quit [Quit: Computer has gone to sleep.]
samuel02 has quit [Remote host closed the connection]
<Xeago> there is a difference, but at least I have issues seeing it
<Xeago> but I do see it when looking for it: http://cl.ly/image/2L0C051S3O04
sclarson_ has joined #ruby
<Xeago> the 3 vertical center pixels are what catches my attention
krawchyk has joined #ruby
Donkeycoder has joined #ruby
<Xeago> the middle one is 129,192,251 on the left and 137,189,255 on the right (RGB)
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
xemu has joined #ruby
x0F_ is now known as x0F
<apeiros_> color profile might also be a source for differences. though I wouldn't know how/why it changed between restarts
<Xeago> it shouldn't these are digital rgb's
<apeiros_> as in, without color profile applied?
chussenot has quit [Quit: chussenot]
<Xeago> asin native values
v0n has joined #ruby
<Xeago> using hte colormeter that comes with osx
<Donkeycoder> hey guys, does one of you know where to find a blowfish module which could be used for irc ? only found a weechat blow .rb but i can't figure out how to (use/mod) for my needs
<Xeago> /Applications/Utility/DigitalColor\ Meter.app
invisime has joined #ruby
invisime has left #ruby [#ruby]
<apeiros_> hm, the longest path+filename on my system is 417 chars long
<apeiros_> Xeago: I think that one shows values after applying color profile
<apeiros_> try changing the color profile and see whether the values are still the same (not sure it's a conclusive test, but if it changes…)
<Xeago> and where do I do that :3?
<Xeago> found it
<Xeago> same values
<Xeago> but
awarner has joined #ruby
<Xeago> my eyes think this looks more the same
<JonnieCache> hmmm
<Donkeycoder> or is there a way to call a function in a module.so in ruby under linux like in windows calling a function from a dll?
<Xeago> but that other color profile is horrendous for everything else
<JonnieCache> im guessing `def foo(*a = nil)` is simply impossible?
<Xeago> alas this is good enough, stupid irc clients
<Mon_Ouie> Yes. You can't set a default value to a splat argument, because if you don't pass anything, it will just be an empty array.
<JonnieCache> booooo
adkron_ has quit [Ping timeout: 240 seconds]
<lupine> Donkeycoder, FFI
adkron has quit [Ping timeout: 252 seconds]
<Donkeycoder> lupine: thank you, could you be a bit more specific ? wold be great :)
<lupine> I think there's some other interface too, but I forget the details, due to FFI being Superior
<Xeago> splow or something like that?
<Xeago> it was discussed a week ago orso
<Xeago> wasn't that positive..
<Donkeycoder> ty lupine will have a look
<Hanmac> FFI is cool but i like to call the function with my own hands
<lupine> DL, that's the other one
IrishGringo has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
dustint has joined #ruby
<lupine> I'm not sure I'd use DL these days
matthia__ has quit []
chussenot has joined #ruby
dhruvasagar has quit [Ping timeout: 244 seconds]
<Donkeycoder> just searching a way to convert strings from / to irc blowfish functional strings
reinaldob has quit [Remote host closed the connection]
JonnieCache has quit [Quit: Lost terminal]
<lupine> what is an "irc blowfish functional string" ?
ddd has quit [Ping timeout: 245 seconds]
<shevy> hehe
dr_neek has joined #ruby
<shevy> isn't that rot19 or what was the name
<lupine> there's plenty of ruby libraries that support blowfish
<lupine> crypt/blowfish, or you could use openssl, I guess
<Donkeycoder> blowfish itself yes, but it blowfish + base64
<lupine> and bas64 is in stdlib :)
<lupine> base64*
<lupine> you don't need dl or ffi for that
<Donkeycoder> this does it
<Donkeycoder> though i could call a function from an eggdrop blowfish module
ffranz has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
<lupine> mm, that one uses crypt/blowfish
<Donkeycoder> [encrypt @key @msgtext] looked easier to me
Takehiro has joined #ruby
jonahR has joined #ruby
warb0 has joined #ruby
<Donkeycoder> and i though using some external lib would also be a nice way to learn how it works
JonnieCache has joined #ruby
poikon has joined #ruby
dr_neek has quit [Quit: dr_neek]
jfl0wers has joined #ruby
tommyvyo has joined #ruby
francisfish has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 272 seconds]
EPIK has quit [Ping timeout: 248 seconds]
mengu has quit [Read error: Connection reset by peer]
mengu_ has joined #ruby
w|t has joined #ruby
w|t has joined #ruby
w|t has quit [Changing host]
frihd has quit [Quit: Leaving.]
mjolk has joined #ruby
ner0x has joined #ruby
emocakes has quit [Quit: emocakes]
awarner has quit [Remote host closed the connection]
rzeee has quit [Quit: Page closed]
k610 has joined #ruby
<Donkeycoder> lupine, tried that so many times… just can't rebuild it a simple usable way..
<shevy> guys
<shevy> if I have project name foobar, with corresponding file paths... I then have a directory, in foobar/some_dir/ with lots of .rb files, and I want to load them all
<shevy> require 'foobar/some_dir/*.rb' would not work but how would I use Dir[] to fetch the .rb files instead?
atno has joined #ruby
<shevy> right now I use an absolute path, which sucks :\
frihd has joined #ruby
<Muz> Dir.glob("foobar/some_dur/*.rb")
louisror has quit [Ping timeout: 244 seconds]
frihd has quit [Client Quit]
<lupine> *shrug*
<shevy> Muz hmm a moment
<shevy> Muz hmm that does not seem to work when using a relative path
<shevy> how can I find out the site dir / base dir that ruby uses?
alex__c2022 has quit [Read error: Connection reset by peer]
alex__c2022 has joined #ruby
Dakuan has quit [Remote host closed the connection]
<hoelzro> shevy: RbConfig, maybe?
garndt_ has joined #ruby
<lupine> you don't want to do it like that :)
<shevy> on my current system it is /Programs/Ruby/Current/lib/ruby/1.9.1/ for example. normally it would be /usr/lib/ruby/1.9.1
<shevy> hoelzro, hmm going to give it a try
garndt_ is now known as garndt
<shevy> lupine but I know of no alternative :(
Dakuan has joined #ruby
iPhoneMRZ has joined #ruby
<lupine> there's always Dir[File.join(File.dirname(__FILE__), "subdir", "*.rb")]
<lupine> but I wince whenever I see it
jds_ has joined #ruby
dr_bob has quit [Quit: Leaving.]
yfeldblum has joined #ruby
<lupine> you can only make limited assumptions about the sanctity of your directory tree, after all
ananthakumaran1 has left #ruby [#ruby]
ananthakumaran has joined #ruby
jjbohn has quit [Quit: Leaving...]
<lupine> and that kind of "load-everything" code is just waiting for a file-upload-to-arbitrary-location vulnerability to become an execute-arbitrary-code vulnerability
ananthakumaran has quit [Client Quit]
iPhoneMRZ has quit [Remote host closed the connection]
aquaranto has joined #ruby
cantonic has quit [Quit: cantonic]
Dakuan has quit [Ping timeout: 240 seconds]
mephux has quit [Ping timeout: 272 seconds]
jds_ has quit [Ping timeout: 248 seconds]
<shevy> well alright. I will stick to absolute paths. :P
Playground has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
Dakuan has joined #ruby
caveat- has joined #ruby
WilfredTheGreat has joined #ruby
nwertman has quit [Read error: Connection reset by peer]
jrist-afk is now known as jrist
Coolhand has quit [Remote host closed the connection]
clooth has quit [Read error: Connection reset by peer]
clooth has joined #ruby
megha has quit [Quit: WeeChat 0.3.9.2]
segv- has joined #ruby
emocakes has joined #ruby
louisror has joined #ruby
cantonic has joined #ruby
razibog1 has joined #ruby
d2dchat has joined #ruby
zph has joined #ruby
<Donkeycoder> think i'll stick to this one.. https://gist.github.com/a8ade63cf22746e79dbf but the problem stays.. how can i now get my string encrypted? like @doit = IRC::FISH.new ; @doit.encrypt('text to cryp') ? can't figure out how to use that modules… :(
razibog has quit [Ping timeout: 244 seconds]
chussenot has quit [Quit: chussenot]
ttt_ has quit [Remote host closed the connection]
woolite64 has joined #ruby
memon has joined #ruby
dr_neek has joined #ruby
BulleTime has quit [Ping timeout: 255 seconds]
<memon> HELLO
JumpMast3r has joined #ruby
sclarson_ has quit [Quit: sclarson_]
sclarson_ has joined #ruby
_nitti has joined #ruby
awarner has joined #ruby
<shevy> memon WORLD
v0n has quit [Ping timeout: 248 seconds]
mdel has quit [Remote host closed the connection]
statarb3 has joined #ruby
theRoUS has joined #ruby
samphippen has joined #ruby
niklasb has quit [Remote host closed the connection]
JonnieCache has quit [Quit: Lost terminal]
memon has left #ruby [#ruby]
nkts has quit [Remote host closed the connection]
Jackneill has joined #ruby
angusiguess has joined #ruby
DavidLevin has joined #ruby
karasawa has quit [Ping timeout: 248 seconds]
allsystemsarego has joined #ruby
dr_neek has quit [Quit: dr_neek]
DavidLevin has quit [Max SendQ exceeded]
karasawa has joined #ruby
awarner has quit [Remote host closed the connection]
DavidLevin has joined #ruby
DavidLevin has quit [Max SendQ exceeded]
<sh00p> afaik *.erb files are exactly like normal raw text files except that code within <% %> are processed somehow right?
<sh00p> but then why does ruby complain when I do ERB.new(File.open(...)) on a file that contains single quotes?
<Sp4rKy> how does it complains ?
<Sp4rKy> -s
headius has joined #ruby
<sh00p> (erb):23: syntax error, unexpected tIDENTIFIER, expecting ')'
<sh00p> ...k\n When I launch the 'fly-controller' process\n The...
<sh00p> ^
<sh00p> like so
<apeiros_> the "processed somehow" doesn't mean "anything goes"
<apeiros_> it still has to be valid ruby code
poikon has quit [Remote host closed the connection]
<apeiros_> and ERB tells you that it isn't
tomzx_mac has joined #ruby
answer_42 has joined #ruby
poikon has joined #ruby
Coolhand|laptop has joined #ruby
<sh00p> well that line isn't supposed to be ruby code
<sh00p> it's supposed to be left alone
<sh00p> i have in other places in the file stuff like <%= and <% etc...
JonnieCache has joined #ruby
<Mon_Ouie> You likely misclosed something earlier
Donkeycoder has quit [Quit: Textual IRC Client: www.textualapp.com]
bean__ has joined #ruby
ananthakumaran has joined #ruby
Xeago_ has joined #ruby
Xeago is now known as Guest21156
Xeago_ is now known as Xeago
mmitchell has quit [Remote host closed the connection]
joofsh has joined #ruby
<whowantstolivefo> hi, is there anyone work with firebird.db ? in ruby ?
swingha has joined #ruby
dr_neek has joined #ruby
joofsh has quit [Remote host closed the connection]
chussenot has joined #ruby
Guest21156 has quit [Ping timeout: 248 seconds]
jtharris has joined #ruby
dr_neek has quit [Client Quit]
clocKwize has quit [Read error: Connection reset by peer]
joofsh has joined #ruby
Dakuan has quit [Remote host closed the connection]
mengu_ has quit [Ping timeout: 272 seconds]
clocKwize has joined #ruby
<sh00p> i really don't get it
<sh00p> here is my template
<sh00p> and my script: http://www.fpaste.org/M2bc/
Dakuan has joined #ruby
carloslopes has quit [Remote host closed the connection]
la_xriso has quit [Ping timeout: 248 seconds]
sclarson_ has quit [Quit: sclarson_]
woolite64 has quit [Ping timeout: 255 seconds]
stopbit has joined #ruby
havenn has joined #ruby
woolite64 has joined #ruby
BRMatt has joined #ruby
dhruvasagar has joined #ruby
daniel_- has joined #ruby
jgarvey has joined #ruby
JonnieCache has quit [Quit: Lost terminal]
<Spooner> sh00p, You do know that you are creating 4 axis with that for loop, not 3?
kpshek has joined #ruby
jinzhu has quit [Ping timeout: 252 seconds]
<Spooner> And we would usually do "axis_#{i}" rather than 'axis_' + i.to_s
havenn has quit [Ping timeout: 255 seconds]
<sh00p> Spooner, yeah makes sense.. indexing from zero, but that's not really the problem I'm having
thatguycraig has joined #ruby
thatguycraig has quit [Max SendQ exceeded]
<sh00p> when I try to get my result, i get a bunch of weird errors
<Spooner> Also, you can just do drive_list = [] and drive_list << drive - size of array is entirely dynamic.
matheus_ has joined #ruby
seanwash has joined #ruby
embs has quit [Ping timeout: 248 seconds]
<sh00p> i'm quite new to ruby so i suppose there's a whole bunch of tricks I can learn
a_a_g has joined #ruby
FND has joined #ruby
<Spooner> sh00p, Don't iterate with @ivars (we also would do @drive_list.each do |drive| - for is never used in Ruby :D).
tk_ has quit [Quit: ばいばい]
sailias has joined #ruby
FND has left #ruby [#ruby]
diegoviola has joined #ruby
<sh00p> yeah i've seen those Spooner :)
<sh00p> you think that might be my problem?
<Hanmac> the for is only there for beginners ... each and his friends are very more powerfull
<Spooner> sh00p, In line 39 you are using @axis after the end of the for loop.
<Spooner> I can't see an obvious error though.
<sh00p> well i should be allowed to use @ variables where i want right?
<Spooner> Oh, line 19 - you close erb with just a >
carloslopes has joined #ruby
<Spooner> sh00p, But they make no sense in an iterator, since they should be local to that loop.
nkr has quit [Quit: Linkinus - http://linkinus.com]
<Spooner> You need to get a decent script highlighting editor. Would have caught that for you.
<sh00p> yeah you're right about that Spooner, @ variables are instance-variables afaik... now I'm quite used to C++ but ruby is a different beast entirely
<sh00p> lawl line 19
<Spooner> sh00p, Shows up clearly here: https://gist.github.com/9ab6062fe4a10266dd03
seanwash has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
statarb3 has quit [Ping timeout: 272 seconds]
<sh00p> i use Geany for stuff like this, unfortunately Geany doesn't have ERB support
JonnieCache has joined #ruby
<Spooner> Right.
joshman_ has quit [Quit: Computer has gone to sleep.]
tomzx_mac has quit [Ping timeout: 260 seconds]
larissa has quit [Quit: Leaving]
BulleTime has joined #ruby
frem has joined #ruby
frem has quit [Excess Flood]
<Spooner> sh00p, You have probably realised, too, that you are using local variables in your script and instance variables in your erb.
frem has joined #ruby
jds_ has joined #ruby
<shevy> ewwww erb
<shevy> that is one ugly beast
jlebrech has joined #ruby
<shevy> <% (not(even(lisp(is(so(bad %%% >
billy_ran_away has quit [Ping timeout: 248 seconds]
<Spooner> shevy erb is fine except for HTML, when we have better stuff (HAML/Slim).
theRoUS has quit [Ping timeout: 248 seconds]
Coolhand|laptop has quit [Read error: Connection reset by peer]
nkts has joined #ruby
billy_ran_away has joined #ruby
cantonic has quit [Quit: cantonic]
Coolhand has joined #ruby
timonv_ has quit [Remote host closed the connection]
jjbohn has joined #ruby
Dakuan has quit [Remote host closed the connection]
Phoop has joined #ruby
timonv has joined #ruby
jprovazn has quit [Read error: Operation timed out]
<nkts> Hi, I'm having problems with thin while running sinatra application - can't bind to privileged port before thin switches to unprivileged user..
jds_ has quit [Ping timeout: 256 seconds]
Dakuan has joined #ruby
cantonic has joined #ruby
BulleTime has quit [Ping timeout: 244 seconds]
Dakuan has quit [Read error: Connection reset by peer]
Dakuan_ has joined #ruby
slava_dp has joined #ruby
jprovazn has joined #ruby
<slava_dp> hi folks. rvm question. can I create a gemset to go with system ruby?
quest88 has joined #ruby
dmiller has joined #ruby
banisterfiend has quit [Remote host closed the connection]
a_a_g has quit [Quit: Leaving.]
poikon has quit [Remote host closed the connection]
<karasawa> 2
timonv has quit [Ping timeout: 276 seconds]
generalissimo has joined #ruby
philcrissman has joined #ruby
WilfredTheGreat has quit [Remote host closed the connection]
asteve has joined #ruby
mikepack has joined #ruby
reinaldob has joined #ruby
v0n has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
clocKwize has quit [Quit: clocKwize]
x82_nicole has joined #ruby
Astral_ has quit [Read error: Operation timed out]
zigomir has quit [Quit: zigomir]
miskander has joined #ruby
chrisja has joined #ruby
pu22l3r_ has joined #ruby
mmitchell has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
jaequery has quit [Quit: Computer has gone to sleep.]
DatumDrop has joined #ruby
poikon has joined #ruby
failshell has joined #ruby
segv-_ has joined #ruby
segv- has quit [Ping timeout: 246 seconds]
segv-_ is now known as segv-
obryan has joined #ruby
theRoUS has joined #ruby
interactionjaxsn has joined #ruby
bluOxigen has joined #ruby
ewag has joined #ruby
timonv has joined #ruby
m4n has quit [Ping timeout: 248 seconds]
carloslopes has quit [Remote host closed the connection]
beliveyourdream has quit [Remote host closed the connection]
alex__c2022 has quit [Remote host closed the connection]
alex__c2022 has joined #ruby
danneu has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
jeffreybaird has joined #ruby
jaequery has joined #ruby
ttt has joined #ruby
dr_bob has joined #ruby
danneu has quit [Client Quit]
joshman_ has joined #ruby
dkannan has quit [Quit: dkannan]
ttt has quit [Ping timeout: 256 seconds]
xAndy is now known as xandy
scrapcode_ has joined #ruby
daxroc has joined #ruby
<daxroc> Evening all
clooth has quit [Quit: clooth]
<scrapcode_> I'm experimenting with ruby a bit and am having trouble figuring out why ruby seems to be bypassing my method: https://gist.github.com/4595512
dougireton has joined #ruby
<Kovensky> scrapcode_: it isn't
jaequery has quit [Quit: Computer has gone to sleep.]
<Kovensky> scrapcode_: what's happening is that it's returning the result of val.each, which is val itself
havenn has joined #ruby
<Kovensky> scrapcode_: use 'return' inside the block
waxjar has joined #ruby
<daxroc> I'm new to ruby so forgive my ignorance, I'm reading the first line of a file and want to check if it contains two strings what's the best way to do this ? Grep, Find
<poikon> Kovensky: pure gold lol. inhale, calm! (if there was a thunderbolt typeface it still wouldn't do it justice)
buibex has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
buibex has joined #ruby
tagrudev has quit [Remote host closed the connection]
<scrapcode_> Kovensky: I'm coming from PHP so it's just kind of confusing.
<daxroc> *I'm currently using grep(\pattern\) to match one string, should I just use a Regex or is there a nicer ruby way to return a bool when two or more strings are found doesn't matter on string order
<Kovensky> scrapcode_: heh
<Kovensky> scrapcode_: one thing that makes some people confused (e.g. perl people) is that blocks are not *real* closures
<Kovensky> scrapcode_: if you call 'return' in a block, you're actually returning from the toplevel function
<Kovensky> so the right thing to do that is `return "\r\n (...)"`
<Kovensky> there*
<Kovensky> daxroc: what do you mean by "finding a string"?
<Kovensky> do you have a sample input and expected output?
dmiller has quit [Ping timeout: 248 seconds]
CreativeEmbassy has joined #ruby
inokenty has joined #ruby
dmiller has joined #ruby
cawaker has joined #ruby
razibog1 has quit [Ping timeout: 244 seconds]
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<daxroc> Kovensky: I have two strings say "$x" "$y" and I'm trying to see if the first line of a file contains those strings in any order
cableray has joined #ruby
statarb3 has quit [Ping timeout: 252 seconds]
<scrapcode_> Kovensky, thanks for the clarification
<tobiasvl> on the same line then? otherwise "any order" can just mean "at any place in the file"
woolite64_ has joined #ruby
cableray has quit [Client Quit]
<daxroc> tobiasvl: as I had said the first line :D as long as there on any one line is fine.
<tobiasvl> i'd just chain the greps
<tobiasvl> grep(/foo/).grep(/bar/)
<daxroc> I didn't know you could do that. Still learning. Thanks
jenrzzz has joined #ruby
<tobiasvl> uh maybe not, grep returns an array
<tobiasvl> Regexp#match is probably better
Michae___ has joined #ruby
philcrissman has quit [Remote host closed the connection]
generalissimo has quit [Remote host closed the connection]
woolite64 has quit [Ping timeout: 252 seconds]
awarner has joined #ruby
eldariof has quit [Ping timeout: 244 seconds]
fra000 has joined #ruby
<Kovensky> how does one escape a string to use in a regexp match without having metacharacters interpreted?
<Kovensky> does perl-style \Q/\E work?
jonathanwallace has joined #ruby
<Kovensky> e.g. /\Q...\E/ would match 3 periods instead of any 3 characters
SCommette has joined #ruby
buibex has quit [Read error: Connection reset by peer]
Divinite has joined #ruby
<Divinite> Hello
<Divinite> I'm using Cinch
<Divinite> And I was wondering how I could store
<hoelzro> Kovensky: I think I tried it and it didn't
<Divinite> Any message in the channel to a variable?
diegoviola has quit [Quit: WeeChat 0.4.0]
<hoelzro> >> puts '...' =~ /\Q...\E/
matthia__ has joined #ruby
<eval-in> hoelzro: Output: "\n" (http://eval.in/7357)
<hoelzro> >> puts '{' =~ /\Q{\E/
<eval-in> hoelzro: Output: "\n" (http://eval.in/7358)
<Kovensky> nothing equivalent to quotemeta?
nateberkopec has joined #ruby
<hoelzro> Regex.escape, I think?
* hoelzro checks
samphippen has joined #ruby
<hoelzro> s/Regex/Regexp/
<hoelzro> yes, that's the one
Michae___ has quit [Remote host closed the connection]
reuven has quit [Ping timeout: 255 seconds]
diego1 has joined #ruby
<Kovensky> cool
<Kovensky> (btw, kinda sad that there's no s/// syntax ;))
banisterfiend has joined #ruby
<hoelzro> I know what you mean =)
<hoelzro> but it makes sense with the rest of the language
woolite64_ is now known as woolite64
<Kovensky> have to use String#sub with e.g. {|m| "#{m[1]}"}
<tobiasvl> Kovensky: well gsub(//, '') is pretty similar
diego1 is now known as diegoviola
<hoelzro> gsub! does the trick
kjellski has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
hackerdude has joined #ruby
zigomir has joined #ruby
<Kovensky> gsub is s///g, not s/// ;)
mjolk has left #ruby ["Leaving"]
<hoelzro> well, if you want to be particular, it's s///gr ;)
<Kovensky> true =p
<tobiasvl> Kovensky: yeah, hehe
<Kovensky> gsub! being the r-less version
yshh has joined #ruby
a_a_g has joined #ruby
<tobiasvl> i have :set gdefault ;)
<banisterfiend> what's up homies
* Kovensky remembers doing funny stuff like { $othervar = ($var =~ s/match/replace/) } before learning of /r
<hoelzro> banisterfiend: howdy
<banisterfiend> hoelzro: btw what interested you in ruby when you already have perl/lua under your belt?
<hoelzro> Kovensky: /r is pretty new, and that old pattern is kind of annoying =P
<hoelzro> banisterfiend: another skill is always good
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
<banisterfiend> hoelzro: oh so nothing in particular then? :)
<hoelzro> plus, learning new languages can introduce new techniques and new ways of thinking
<hoelzro> banisterfiend: well, I had a good feeling that I would like Ruby
n1x has joined #ruby
etcetera has joined #ruby
Bry8Star has joined #ruby
<hoelzro> its philosophy is pretty Perlish
Divinite has left #ruby ["Leaving"]
samuel02 has joined #ruby
<banisterfiend> cool
<hoelzro> I'm trying to use it more in my day-to-day
poikon has quit [Remote host closed the connection]
<Kovensky> one interesting thing I noticed
<Kovensky> is that the first perl script I ever wrote from scratch was a script to download stuff for me
<hoelzro> but it's hard when I know a task will take me 30 minutes in Ruby, but I can do it in 5 minutes in Perl
<Kovensky> the first ruby script I ever wrote from scratch was a script to download stuff for me
<hoelzro> (not due to language strength, due to my proficency)
poikon has joined #ruby
<hoelzro> heh
<banisterfiend> hoelzro: but this is just for little scripts?
<Kovensky> (both don't work anymore since they only worked on a specific server)
<banisterfiend> hoelzro: you probably need to start a decent-sized project
<hoelzro> banisterfiend: agreed
<banisterfiend> hoelzro: or contribute to one ;)
<hoelzro> yeah, I just need to find one that suits me!
<Xeago> hoelzro: if you like distributed stuff and fault tolerancy
<banisterfiend> hoelzro: well i see u have a background in repls, if u want to fool around with pry feel free, we have a lot of issues :)
<Xeago> Tire looks for a developer :)
<hoelzro> banisterfiend: hehe
Zolo has joined #ruby
<banisterfiend> Xeago: tire? link?
<hoelzro> I have a TODO item for lua-repl: "rip off ideas from pry" ;)
jds_ has joined #ruby
quest88 has quit [Quit: quest88]
<banisterfiend> hoelzro: is yours the main repl for lua?
<Kovensky> heh
<hoelzro> banisterfiend: no, but it's one of the alternatives
Michae___ has joined #ruby
<banisterfiend> cool
<Kovensky> the main beef I have with ruby is testing/rake/documentation
<hoelzro> lua-repl is more of a library for putting a REPL in your Lua program
<Kovensky> otherwise it's pretty cool, and better than perl for my use case (unicode filenames)
<hoelzro> which happens to have a very powerful demo =)
<banisterfiend> hoelzro: can i see it?
<hoelzro> Kovensky: what's wrong with Perl and unicode filenames?
<Kovensky> breaks down on windows
<hoelzro> banisterfiend: sure, https://github.com/hoelzro/lua-repl
<Kovensky> because all windows perl implementations still use ancient "ANSI"-only API
<hoelzro> Kovensky: in what way?
<hoelzro> even strawberry?
Hanmac has joined #ruby
<Kovensky> so it can't deal with files outside the system's legacy codepage
<Kovensky> yep
<Kovensky> oh, ruby also lacks CPAN ;)
<hoelzro> and performing a decode on the results doesn't help?
<Kovensky> hoelzro: no, because the results are full of *actual* ???
<hoelzro> whoa
mneorr has joined #ruby
<Kovensky> which is how windows' legacy API deals with characters that don't fit the legacy charset
banisterfiend has quit [Remote host closed the connection]
<hoelzro> well, that sucks
<Kovensky> matz did a great job with ruby1.9's charset system
asym has joined #ruby
wallerdev has joined #ruby
Phoop has quit [Quit: Phoop]
<Kovensky> it's also why I think ruby1.8 should DIAF and I'm not touching that with a 10km pole :|
banisterfiend has joined #ruby
sh00p has quit [Ping timeout: 252 seconds]
pu22l3r_ has quit [Remote host closed the connection]
zigomir has quit [Quit: zigomir]
tyler has joined #ruby
jprovazn has quit [Quit: Leaving]
tyler is now known as tbrock
wallerdev has quit [Client Quit]
<banisterfiend> Kovensky: i thought rubygems was the equivalent to cpan?
jds_ has quit [Ping timeout: 256 seconds]
pavilionXP has joined #ruby
andrewhl has joined #ruby
<hoelzro> I would say that rubygems is pretty close to CPAN
<hoelzro> but
<tbrock> hey guys, how would you convert a string containing a hex byte to a byte, for example the string "0x01" to equal the byte 0x01
<hoelzro> CPAN adds more than just a module repository
alx- has joined #ruby
dougireton has quit [Quit: Leaving.]
<Kovensky> CPAN also has an entire documentation culture behind it
<Kovensky> and also has a lot more stuff than rubygems
<hoelzro> right
<hoelzro> I love Perl module documentation
<Kovensky> meanwhile, good luck finding half-usable documentation for rubygems... or even some of ruby's stdlib
<hoelzro> that's one thing I'm honestly struggling with trying to use Ruby more
<Kovensky> a big reason for why ruby's documentation sucks is because they took Javadoc
<hoelzro> Kovensky: I haven't had a problem with Ruby's stdlib
<Kovensky> and shoehorned it in a language COMPLETELY unlike Java
generalissimo has joined #ruby
<Kovensky> and all alternative documentation systems are really just variants of javadoc
<Hanmac> ruby1.8 should be ignited, buried in a steel coffin filled with lead and then throwed in the deepest water with an rock above
<Kovensky> hoelzro: 1.9.3 improved a lot but before that e.g. openssl was completely undocumented
<hoelzro> ah
jenrzzz has quit [Ping timeout: 276 seconds]
jlast has joined #ruby
<Kovensky> example of a widely used gem with horrible documentation: cinch
theRoUS has quit [Ping timeout: 276 seconds]
<Kovensky> documentation is generated javadoc-style (like everything else) and is spread around a rather large class hierarchy, and the methods' documentation itself is often lacking
<Kovensky> however, you're supposed to write cinch bots using a DSL
philips_ has quit [Excess Flood]
francisfish has joined #ruby
froginvasion has joined #ruby
<Kovensky> this DSL being completely undocumented, because you're supposed to figure out which class implements which part of the DSL you're trying to use and hope it explains
<Kovensky> the only chance you have of understanding the DSL is to either study all of cinch or look at a lot of examples, and cinch's website has been down for many months
breakingthings has joined #ruby
<froginvasion> can someone explain me the difference between metaclasses, eigenclasses, virtual classes etc? Conceptually for me they are the same, but all the different terminology is confusing
<Kovensky> ...what are those? O_o
<banisterfiend> froginvasion: eigenclasses/metaclasses are really the same thing
<banisterfiend> froginvasion: 'virtual classes' is a blanket term to refer to both eigenclasses and iclasses (included modules)
<hoelzro> tbrock: I think chr(s.to_i)
slava_dp has quit [Quit: Bye]
<hoelzro> Kovensky: the thing is, when I think about how a lot of Ruby documentation could be improved, a familiar phrase comes to my mind:
<hoelzro> patches welcome =)
<banisterfiend> froginvasion: iclasses are created when you include a module
fteem has quit [Read error: Operation timed out]
<Kovensky> hoelzro: yeah, but the javadoc-like system works against it
<Kovensky> perldoc would've been much more suitable
<banisterfiend> froginvasion: cool?
aganov has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
techhelp has joined #ruby
<Hanmac> banisterfiend didnt you mean when you extend an module into an object?
<banisterfiend> Hanmac: nah, i' not talking about eigenclasses, i'm talking about iclasses :)
dr_bob has quit [Quit: Leaving.]
<Xeago> Kovensky: I found Cinch's DSL quite easy to use
<froginvasion> hey banisterfiend, yes thanks, that confirms my thoughts
<banisterfiend> Hanmac: iclass == the wrapper object for a module, you never get the actual module in an ancestor chain, u get a proxy that has its method table and ivar table pointing to those on the real module
dr_neek has joined #ruby
carloslopes has joined #ruby
chrismhough has joined #ruby
bricker has quit [Ping timeout: 252 seconds]
<Hanmac> yeah (it also make a problem when you change a module after you included them into a class) ... http://www.ruby-forum.com/topic/4409981#new
philips_ has joined #ruby
<Kovensky> Xeago: yeah, but it's undocumented...
<banisterfiend> Hanmac: where change == include another module into the first one :)
<Kovensky> Xeago: if you want to do anything outside what the examples cover you have to figure it out yourself
chussenot has quit [Quit: chussenot]
<Kovensky> e.g. there's no mention whatsoever of how to do DCC file transfers
<Kovensky> only that "it's implemented"
scrapcode_ has left #ruby [#ruby]
chussenot has joined #ruby
<Kovensky> the DCC classes themselves aren't documented either
bricker has joined #ruby
buibex has joined #ruby
buibex has quit [Client Quit]
jaequery has joined #ruby
atno has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 272 seconds]
jpfuentes2 has joined #ruby
danneu has joined #ruby
mmitchell has quit [Remote host closed the connection]
dqminh has joined #ruby
dqminh has quit [Remote host closed the connection]
Umren has joined #ruby
Michae___ has quit [Remote host closed the connection]
sclarson_ has joined #ruby
zigomir has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
mmitchell has quit [Remote host closed the connection]
karasawa has quit [Ping timeout: 244 seconds]
mmitchell has joined #ruby
Zolo has quit [Remote host closed the connection]
karasawa has joined #ruby
bricker_ has joined #ruby
nkr has joined #ruby
spider-mario has joined #ruby
nwertman has joined #ruby
bricker has quit [Ping timeout: 248 seconds]
Michae___ has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
megha has joined #ruby
megha has quit [Client Quit]
<shevy> people are always happy to finish code
<shevy> then they are too lazy to write the documentation
<shevy> right Hanmac :D
<shevy> though, I would be happy for working examples
shorts has quit [Quit: shorts]
uris has joined #ruby
Michae___ has quit [Remote host closed the connection]
Zolo has joined #ruby
<shevy> stuff like "gem install shoes" does not even work, Sorry, this gem currently does nothing. Team Shoes is working on Gemifying Shoes, and this is just a placeholder until then.
<shevy> and when I installed it in another way, the examples were not working either.
mafolz has quit [Remote host closed the connection]
<breakingthings> Speaking of gems, I'm currently wondering why I have 56 downloads of a gem at version 0.0.0
<breakingthings> it… it does nothing guys. stop downloading it.
hoelzro is now known as hoelzro|away
<shevy> breakingthings I think these are bots
<breakingthings> shevy: I kind of figure as much.
headius has quit [Quit: headius]
<shevy> I have about the same initial downloads of my gems
<shevy> only at a later time will like one or two random person download a gem
<shevy> and when the gem is useful, more people than that ... :P
Michae___ has joined #ruby
otters has joined #ruby
<shevy> breakingthings, do you happen to know how to remove an account from rubygems.org ?
clj_newb has joined #ruby
poikon_ has joined #ruby
<breakingthings> No, I honestly don't know that there is a way.
headius has joined #ruby
pu22l3r has joined #ruby
<shevy> :(
unix has quit [Disconnected by services]
angusiguess has joined #ruby
banisterfiend has quit [Remote host closed the connection]
<Spooner> shevy Why would you need to?
poikon has quit [Ping timeout: 260 seconds]
<Spooner> Did you misspell your name when you registered?
<Hanmac> shevy you are totaly right :P today is the problem that i dont have all my repositories on my current pc ...
yacks has quit [Quit: Leaving]
<Hanmac> shevy: how is your learning of C going?
Michae___ has quit [Remote host closed the connection]
jrajav has joined #ruby
woolite64_ has joined #ruby
zigomir has quit [Quit: zigomir]
graft has quit [Ping timeout: 252 seconds]
enebo has joined #ruby
clocKwize has joined #ruby
woolite64 has quit [Ping timeout: 248 seconds]
ViPi has quit [Quit: Computer has gone to sleep.]
freakazoid0223 has joined #ruby
unix1 has joined #ruby
zastern has joined #ruby
notVert has joined #ruby
Vert has quit [Ping timeout: 252 seconds]
clooth has joined #ruby
<rismoney> is there a way i can pass something as uint32?
elux has joined #ruby
dougireton has joined #ruby
graft has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
tPl0ch has quit [Quit: Verlassend]
krawchyk has quit [Ping timeout: 244 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
<Hanmac> rismoney ... our crystal balls are in the workshop for fixing, so we need more infos from you
blazes816 has joined #ruby
a_a_g has quit [Quit: Leaving.]
_bart has joined #ruby
<jrajav> Mine works fine, but you'll never know when I feel like using it
asym has quit [Ping timeout: 256 seconds]
<rismoney> lol - got it - fixnum is fine, had a typo ;)
Zolo has quit [Remote host closed the connection]
Zolo has joined #ruby
mephux has joined #ruby
_carloslopes has joined #ruby
dr_neek has quit [Quit: dr_neek]
noxoc has quit [Quit: noxoc]
juarlex has joined #ruby
<shevy> Hanmac :( I had been doing so many other things lately, and I constantly run out of time to do stuff... I watched lots of online lectures lately, all of them non-programming related
ngoldman has joined #ruby
Kuifje has joined #ruby
carloslopes has quit [Ping timeout: 244 seconds]
mockra has joined #ruby
dougireton has quit [Ping timeout: 256 seconds]
mand_ has quit [Quit: Leaving]
timonv has quit [Remote host closed the connection]
<shevy> Hanmac right now I rewrite a ruby project
asym has joined #ruby
timonv has joined #ruby
Vaevictus has joined #ruby
<Vaevictus> anyone know if ruby-wmi works on non-win32 platforms?
k610 has quit [Ping timeout: 240 seconds]
dmiller has quit [Ping timeout: 276 seconds]
pu22l3r has quit [Remote host closed the connection]
BulleTime has joined #ruby
ngoldman has quit [Remote host closed the connection]
filipe has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 248 seconds]
Dakuan_ has quit [Remote host closed the connection]
Michae___ has joined #ruby
<Hanmac> Vaevictus what is wmi?
<JonnieCache> thank god for vcr
woolite64_ is now known as woolite64
Dakuan has joined #ruby
<JonnieCache> now my tests complete instantly and my geocoding provider doesnt hate me
<Vaevictus> Hanmac: a windows rpc tool
<Vaevictus> looks like ruby-wmi requires win32ole
<Vaevictus> oh well
poikon_ has quit [Remote host closed the connection]
poikon has joined #ruby
ewag has quit [Ping timeout: 248 seconds]
dmiller has joined #ruby
banisterfiend has joined #ruby
rakl has joined #ruby
jlebrech has quit [Quit: Leaving]
Dakuan has quit [Ping timeout: 248 seconds]
pen has joined #ruby
sn0wb1rd has joined #ruby
mneorr has quit [Remote host closed the connection]
Takehiro has joined #ruby
tjbiddle has joined #ruby
_carloslopes has quit [Remote host closed the connection]
bricker_ is now known as bricker
ckrailo has joined #ruby
chrismhough has quit [Quit: chrismhough]
chussenot has quit [Quit: chussenot]
osaut has quit [Read error: Operation timed out]
alvaro_o has joined #ruby
timonv has joined #ruby
Jamone has joined #ruby
RagingDave has joined #ruby
yshh has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 248 seconds]
tjbiddle_ has joined #ruby
Monie has quit [Ping timeout: 272 seconds]
nomenkun_ has quit [Remote host closed the connection]
dougireton has joined #ruby
bricker_ has joined #ruby
<Amnesia> question, does anyone know what the following escape characters stand for? \e[K
<froginvasion> why does the following not work? b = Proc.new { return }
<froginvasion> b.call
MEATCHICKEN has joined #ruby
lu1 has joined #ruby
zommi has quit [Quit: Leaving.]
luisalima has quit [Ping timeout: 255 seconds]
<banisterfiend> froginvasion: "not work" is the vaguest possible thing u could say
<MEATCHICKEN> carrierwave-0.8.0/lib/carrierwave.rb:14:in `configure': uninitialized constant CarrierWave::Uploader (NameError) <-- upon running rspec
<banisterfiend> froginvasion: try again :)
bricker has quit [Ping timeout: 240 seconds]
<MEATCHICKEN> any tips?
blaxter has quit [Ping timeout: 246 seconds]
maletor has joined #ruby
carloslopes has joined #ruby
tjbiddle has quit [Ping timeout: 252 seconds]
tjbiddle_ is now known as tjbiddle
<Spooner> froginvasion, You can't have a return in a proc, since it returns from the calling context. Use a lambda {} instead
statarb3 has quit [Ping timeout: 248 seconds]
jonahR has quit [Quit: jonahR]
Vaevictus has left #ruby [#ruby]
<banisterfiend> Spooner: yeah u can, it just might not do what he expects :)
<apeiros_> froginvasion: totally works for me
bricker_ has quit [Ping timeout: 255 seconds]
cantonic has quit [Quit: cantonic]
<banisterfiend> froginvasion: https://gist.github.com/d3a4f5a7bf4a07392fc5
<banisterfiend> me 2
<froginvasion> i thought both could return? but it does 2 different things
bricker has joined #ruby
<apeiros_> banisterfiend: should add a line after b.call to make it even clearer
ffranz has quit [Quit: Leaving]
mneorr has joined #ruby
jaequery has quit [Quit: Computer has gone to sleep.]
<JonnieCache> froginvasion: thats a matter of semantics
MEATCHICKEN has quit [Client Quit]
<banisterfiend> froginvasion: proc's do a "non local return", lambdas just do your regular boring local return
matthia__ has quit [Remote host closed the connection]
jaequery has joined #ruby
<froginvasion> yes, that's correct banisterfiend
<froginvasion> thanks, just making sure i understand 100%
kpshek has quit []
MattRB has joined #ruby
terrorpup has joined #ruby
timonv has quit [Remote host closed the connection]
fra000 has quit [Quit: Leaving]
ffranz has joined #ruby
timonv has joined #ruby
danneu has quit [Quit: WeeChat 0.3.8]
<banisterfiend> froginvasion: btw if you want the equivalent of 'return' inside a proc, use 'next'
<banisterfiend> for a lambda next/return are synonyms
<banisterfiend> for a proc, next is the equivalent of a local return
daniel_-_ has joined #ruby
daniel_- has quit [Read error: Operation timed out]
mengu has joined #ruby
daniel_-_ has quit [Client Quit]
jackyalcine has quit [Ping timeout: 252 seconds]
browndawg has left #ruby [#ruby]
jaequery has quit [Quit: Computer has gone to sleep.]
griffindy has quit [Quit: Computer has gone to sleep.]
timonv has quit [Ping timeout: 240 seconds]
<froginvasion> banisterfiend, is it possible to get source code of methods/classes at runtime using reflective features?
philcrissman has joined #ruby
louisror has quit [Ping timeout: 244 seconds]
<banisterfiend> froginvasion: hehe
DrShoggoth has quit [Quit: Leaving]
griffindy has joined #ruby
<froginvasion> I know, quite a different question.
<JonnieCache> dont ask banisterfiend he knows nothing about that subject ;)
xandy is now known as xAndy
nkts has quit [Remote host closed the connection]
karasawa has quit [Ping timeout: 245 seconds]
<banisterfiend> froginvasion: http://pryrepl.org :)
kenneth has quit [Quit: kenneth]
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
blaxter has joined #ruby
poikon_ has joined #ruby
<banisterfiend> froginvasion: that feature isn't built in to ruby, but u can pull it off with a few tricks and hacks, pryrepl manages that for u
jlast has quit [Remote host closed the connection]
<banisterfiend> if u dont want to do it in a repl context, u can still use the pry apis
<banisterfiend> e.g: Pry::Method.from_str("YourClass#your_method").source
<banisterfiend> or Pry::WrappedModule(YourClass).source
<froginvasion> thanks!
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
rjmt___ has joined #ruby
<Hanmac> hm have somone tryed if that works on C-libs too?
baroquebobcat has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
ChampS666 has joined #ruby
jlast has joined #ruby
cdt has quit [Quit: Ex-Chat]
ephemerian has quit [Quit: Leaving.]
poikon has quit [Ping timeout: 248 seconds]
<banisterfiend> Hanmac: you need pry-doc installed for that, it works OK on most C extensions, but dies quite hard on the rest :)
<banisterfiend> obviously you cant get class code, but methods are usually ok
adeponte has joined #ruby
joeycarmello has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
woolite64_ has joined #ruby
friskd has joined #ruby
clj_newb has quit [Ping timeout: 248 seconds]
a_a_g has joined #ruby
workmad3 has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
joofsh has quit [Remote host closed the connection]
hemanth has joined #ruby
miskander has quit [Quit: miskander]
woolite64__ has joined #ruby
fteem has joined #ruby
woolite64 has quit [Ping timeout: 276 seconds]
eldariof has joined #ruby
joofsh has joined #ruby
woolite64_ has quit [Ping timeout: 256 seconds]
x82_nicole has quit [Read error: Connection reset by peer]
yshh has joined #ruby
x82_nicole has joined #ruby
mercwithamouth has joined #ruby
jduan1981 has joined #ruby
<reactormonk> banisterfiend, 'class code'?
arya_ has joined #ruby
JonnieCache has quit [Ping timeout: 256 seconds]
a_a_g has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
a_a_g has joined #ruby
Xeago has joined #ruby
wrench has quit [Read error: Operation timed out]
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
jgrevich has joined #ruby
<Hanmac> hm okay someday i need to test it on my evil exts ...
<banisterfiend> reactormonk: class source code
<banisterfiend> reactormonk: class ReactorMonk; ...; end
arturaz has quit [Ping timeout: 240 seconds]
Xeago is now known as Guest65161
Xeago_ has joined #ruby
Xeago_ is now known as Xeago
Guest65161 has quit [Killed (asimov.freenode.net (Nickname regained by services))]
noxoc has joined #ruby
statarb3 has quit [Ping timeout: 240 seconds]
breakingthings has quit []
Xeago_ has joined #ruby
Xeago is now known as Guest65847
Guest65847 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
Xeago_ is now known as Xeago
yshh has quit [Ping timeout: 248 seconds]
mrsolo has joined #ruby
gurps has joined #ruby
jonahR has joined #ruby
jfl0wers has quit [Read error: Operation timed out]
kenneth has joined #ruby
robert_ has quit [Ping timeout: 252 seconds]
froginvasion has quit [Ping timeout: 248 seconds]
Goles has quit [Quit: Computer has gone to sleep.]
artOfWar has joined #ruby
Vainoharhainen has quit [Quit: Leaving...]
tartaros has joined #ruby
jds_ has joined #ruby
<reactormonk> banisterfiend, aye
karasawa has joined #ruby
<banisterfiend> reactormonk: understand now? :)
cobragoa_ has joined #ruby
failshell has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
cobragoa_ has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
jgrevich has quit [Ping timeout: 252 seconds]
phinfonet has joined #ruby
elux has quit [Quit: Leaving...]
jfl0wers has joined #ruby
fteem has quit [Ping timeout: 246 seconds]
alx- has quit [Ping timeout: 260 seconds]
kpshek has joined #ruby
Dakuan has joined #ruby
jgrevich has joined #ruby
obryan has quit [Quit: Konversation terminated!]
jfl0wers_ has joined #ruby
elux has joined #ruby
jds_ has quit [Ping timeout: 256 seconds]
alvaro_o has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 272 seconds]
jlast has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
alvaro_o has joined #ruby
cantonic has joined #ruby
tartaros has quit [Quit: leaving]
jfl0wers has quit [Ping timeout: 248 seconds]
jfl0wers_ is now known as jfl0wers
fcoury_ is now known as fcoury
epylinkn has joined #ruby
Zolo has quit [Remote host closed the connection]
jaequery has joined #ruby
karasawa has quit [Ping timeout: 245 seconds]
MattRB has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
clocKwize has quit [Quit: clocKwize]
daniel_- has quit [Ping timeout: 245 seconds]
elaptics is now known as elaptics`away
dougireton has quit [Quit: Leaving.]
jfl0wers_ has joined #ruby
Takehiro has joined #ruby
asym has quit [Ping timeout: 260 seconds]
tbrock has quit [Ping timeout: 255 seconds]
epylinkn has quit [Quit: Leaving.]
rjmt___ has quit [Remote host closed the connection]
tbrock has joined #ruby
jfl0wers has quit [Ping timeout: 248 seconds]
jfl0wers_ is now known as jfl0wers
jasonkuhrt has joined #ruby
xAndy is now known as xandy
rjmt___ has joined #ruby
stnly has quit [Read error: Operation timed out]
Takehiro has quit [Ping timeout: 255 seconds]
stnly has joined #ruby
xandy is now known as xAndy
kpshek has quit []
io_syl has joined #ruby
timonv has joined #ruby
etcetera has quit []
Goles has joined #ruby
blaxter has quit [Quit: foo]
mahmoudimus has joined #ruby
<kenneth> hey
MattRB has quit [Quit: This computer has gone to sleep]
fteem has joined #ruby
xAndy is now known as xandy
<kenneth> is there an easy way to recursively convert all symbol keys & values to strings in a hash
Nisstyre-laptop has joined #ruby
osaut has joined #ruby
geekbri has quit [Remote host closed the connection]
xandy is now known as xAndy
cantonic has quit [Quit: cantonic]
shevy has quit [Ping timeout: 255 seconds]
etcetera has joined #ruby
slainer68 has quit [Remote host closed the connection]
cantonic has joined #ruby
cableray has joined #ruby
Zolo has joined #ruby
<Hanmac> kenneth def recusiv(hash);hash.is_a?(Hash) ? Hash[hash.map{|k,v| [k.to_s,recusiv(v)]}] : hash.to_s }; end
apeiros_ has joined #ruby
<dominikh> seems documented to me :P
caleb_io has joined #ruby
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 256 seconds]
huoxito has quit [Read error: Connection reset by peer]
caleb_io has quit [Client Quit]
<dominikh> a bit hidden, admittedly
timonv has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
timonv has joined #ruby
dmiller has quit [Ping timeout: 248 seconds]
freakazoid0223 has quit [Quit: Leaving]
Tux-Tn has quit [Changing host]
Tux-Tn has joined #ruby
failshell has joined #ruby
pcarrier has quit [Read error: Connection reset by peer]
kpshek has joined #ruby
Zolo has quit [Remote host closed the connection]
Uranio has joined #ruby
kpshek has quit [Client Quit]
pcarrier has joined #ruby
pcarrier has quit [Max SendQ exceeded]
fermion has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
k610 has joined #ruby
pcarrier has joined #ruby
pcarrier has quit [Max SendQ exceeded]
karasawa has joined #ruby
<Amnesia> has anyone used pty + expect over here?
pcarrier has joined #ruby
<Amnesia> I'm kinda stuck with some thing
kpshek has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
<Amnesia> I'm getting back: set \r\e[Kadmin@box" instead of multiple lines
jasonkuhrt has quit [Quit: Leaving...]
tommyvyo has joined #ruby
jjbohn is now known as jjbohn|afk
robert_ has joined #ruby
asym has joined #ruby
chrismhough has joined #ruby
timmow has quit [Quit: is having a nap]
Xeago has quit [Read error: Operation timed out]
shevy has joined #ruby
hybris has quit [Quit: Leaving]
karasawa has quit [Ping timeout: 255 seconds]
c0rn has joined #ruby
fteem has quit [Ping timeout: 255 seconds]
megha has joined #ruby
jasonkuhrt has joined #ruby
jasonkuhrt has quit [Client Quit]
poikon_ has quit [Remote host closed the connection]
miskander has joined #ruby
punkrawkR^Home has joined #ruby
zeade has joined #ruby
kirun has joined #ruby
bricker has quit [Remote host closed the connection]
poikon has joined #ruby
bricker`LA has joined #ruby
woolite64_ has joined #ruby
miskander has quit [Client Quit]
osaut_ has joined #ruby
dougireton has joined #ruby
robert_ has quit [Ping timeout: 276 seconds]
_nitti has quit [Remote host closed the connection]
osaut has quit [Ping timeout: 246 seconds]
osaut_ is now known as osaut
arietis has joined #ruby
megha is now known as account
saltcod has joined #ruby
frist44 has joined #ruby
asym has quit [Ping timeout: 244 seconds]
frist44 has joined #ruby
frist44 has quit [Client Quit]
bjeanes has quit [Ping timeout: 248 seconds]
k610 has quit [Ping timeout: 245 seconds]
kpshek has quit []
jlast has joined #ruby
woolite64__ has quit [Ping timeout: 246 seconds]
ossareh has joined #ruby
woolite64__ has joined #ruby
<saltcod> Hey all, I'm combing through Learn Ruby the Hard Way. And several exercises make use of ARGV, without explaining it
<saltcod> And I can't find much about it out there. What is is?
<dominikh> ARGV is an array of all command line arguments passed to the script
<apeiros_> ARGV is all arguments passed to the script by theshell
<apeiros_> Errno::ETOOSLOW :(
<Amnesia> apeiros_: are those escape chars known to you?
<apeiros_> Amnesia: ¿che?
<saltcod> so, user = ARGV.first is saying what exactly?
rezzack has joined #ruby
<Amnesia> apeiros_: \\e[K
bjeanes has joined #ruby
<Amnesia> apeiros_: \e[K *
<apeiros_> Amnesia: google ansi escape sequences
<Amnesia> ty
<apeiros_> saltcod: you know Array#first ?
Zolo has joined #ruby
<dominikh> saltcod: `ruby foo.rb bar baz`. ARGV.first (ARGV[0]) is bar, ARGV[1] is baz, etc
<saltcod> aaaaaah......i see.
<shevy> wat
jjbohn|afk has quit [Quit: Leaving...]
woolite64_ has quit [Ping timeout: 255 seconds]
ananthakumaran has quit [Quit: Leaving.]
jaimef has quit [Quit: Emacs must have died]
Nisstyre-laptop has quit [Ping timeout: 256 seconds]
bricker`away is now known as bricker
woolite64__ is now known as woolite64
Zolo has quit [Remote host closed the connection]
Kakera has quit [Ping timeout: 272 seconds]
Solnse has joined #ruby
<regedarek> Hi, is better way to convert array of strings to integers that: ["12", "14"] results.collect{|s| s.id.to_i}
jaimef has joined #ruby
graft has quit [Ping timeout: 244 seconds]
dougireton has quit [Quit: Leaving.]
<apeiros_> if you do s.id, you're not having strings…
<regedarek> s.id gives me "12"
Nisstyre-laptop has joined #ruby
<apeiros_> as said, then you don't have an array of strings.
cantonic has quit [Quit: cantonic]
<dominikh> either way, that's the canonical way to convert an array of something to an array of something else
<apeiros_> .id points at the array being the result of a DB operation
<regedarek> results apeiros_ could you define then what it is?
<apeiros_> if so, then there may exist more efficient ways. depends on the context.
<apeiros_> regedarek: I can't read your mind, so no, I can't.
<apeiros_> neither can I tele-read your code.
dankest has joined #ruby
<regedarek> results.class => Tire::Results::Collection(json)
aaronmacy has joined #ruby
<Kovensky> dominikh: indeed
<Kovensky> but suddenly blocking I/O D:
<Morkel> What does var = :lo mean? Is :lo than the same as a string or a number?
<dominikh> Kovensky: suddenly?
<apeiros_> Morkel: :lo.class # => Symbol
JMcAfreak has joined #ruby
dougireton has joined #ruby
Dann1 has joined #ruby
<Kovensky> dominikh: I mean, accept takes an IO and... blocks
<Kovensky> no way to print progress or anything
<Kovensky> unless I guess I do subclassing tricks
zommi has joined #ruby
<dominikh> Kovensky: technically, it accepts an object that implements #<<
<dominikh> so you can proxy your IO
tatsuya_o has quit [Remote host closed the connection]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
headius has quit [Quit: headius]
Xeago has joined #ruby
<dominikh> Kovensky: https://gist.github.com/78eb46b79a2892c6bc62 stripped down excerpt from one of my dcc scripts
headius has joined #ruby
Virunga has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
workmad3 has joined #ruby
<Kovensky> I see
<Kovensky> I have a partially written thingy I intend to use for DCC using celluloid-io
<Kovensky> but too lazy to implement the stuff it actually needs to do DCC w
<Kovensky> (it can join an IRC server and stay online at least)
reinaldob has quit [Remote host closed the connection]
<dominikh> the celluloid guy has his own irc library, doesn't he?
breakingthings has joined #ruby
BizarreCake has quit [Remote host closed the connection]
Coolhand|laptop has joined #ruby
<Kovensky> he does?
<dominikh> recently, yeah
<dominikh> don't ask me for the name though
ngoldman has joined #ruby
<Kovensky> heh
tenmilestereo has joined #ruby
<dominikh> I'm sure it's somewhere on his github profile :P
<Kovensky> celluloid-io struck me as really weird for hardcoding /etc/resolv.conf though :P
<Kovensky> had to create a dummy one on cygwin
<Kovensky> and that ofc prevents it from working at all on windows ruby
<dominikh> (chances of it having DCC are rather dim though, probably.)
<dominikh> heh
<Kovensky> it's for async DNS apparently
horofox has quit [Read error: Connection reset by peer]
baphled has joined #ruby
jlast_ has joined #ruby
horofox has joined #ruby
ngoldman has quit [Remote host closed the connection]
clocKwize has joined #ruby
a_a_g has quit [Read error: Connection reset by peer]
elux has quit [Quit: Leaving...]
a_a_g has joined #ruby
maxmanders has joined #ruby
rippa has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
zommi has quit [Ping timeout: 248 seconds]
<Kovensky> the stub IRC client was surprisingly short with celluloid-io though
<dominikh> there's not much to IRC if you limit yourself to a specific subset of features on specific networks ;)
<Kovensky> heh
<dominikh> even less so if you don't have to handle the network part yourself
Dakuan has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
<Morkel> I have ask = ["17.51", "13.40000000"] and i create a new class with Ask.new(*ask) is it possible to add a parameter in the new method?
adamjleonard has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
Xeago has joined #ruby
Dakuan has joined #ruby
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
Playground has joined #ruby
spider-mario has joined #ruby
<apeiros_> Morkel: with 1.9 easily, yes. Ask.new(*ask, other_param)
paul_k has joined #ruby
<Morkel> apeiros_: thanks
zommi has joined #ruby
k610 has joined #ruby
bjeanes has quit [Ping timeout: 248 seconds]
nomenkun has joined #ruby
apok has joined #ruby
alx- has joined #ruby
a_a_g has quit [Read error: Connection reset by peer]
bananastalktome has joined #ruby
a_a_g has joined #ruby
pu22l3r has joined #ruby
<Kovensky> dominikh: 'twas sth like http://pastie.org/private/h5wqowzijlgiy2wt2riw
asym has joined #ruby
Dakuan has quit [Ping timeout: 240 seconds]
<dominikh> Kovensky: yeah, that's minimalistic ;)
clocKwize has quit [Quit: clocKwize]
_nitti_ has joined #ruby
<Kovensky> :>
<dominikh> partly wrong, but yeah :P
hakunin has quit [Remote host closed the connection]
<Kovensky> yeah, I only tested on a single ircnet =p
hakunin has joined #ruby
<dominikh> yeah. in particular, you're sending the connected event too early. depending on timing, and strictness of the IRCd, that can cause problems
<dominikh> but yeah, it works fine for specially crafted cases
bananastalktome has left #ruby [#ruby]
hakunin_ has joined #ruby
<Kovensky> it's still a lot simpler than if I were to write sth from scratch without celluloid-io
<dominikh> sure
<Kovensky> quite liked celluloid's model for concurrency (I guess that's why concurrency buffs like Erlang?)
_bart has quit [Quit: _bart]
huoxito has joined #ruby
<dominikh> never looked too much into celluloid, or the actor stuff as a whole. but a lot is better than plain threading ;)
mdw has joined #ruby
<dominikh> personally I'd prefer Cinch to be written in Go
bjeanes has joined #ruby
<Kovensky> heh
squidBits has joined #ruby
<Kovensky> event-oriented stuff is pretty annoying too, even if hidden behind blocks/closures
<dominikh> that's why Cinch isn't using em ;)
<Kovensky> celluloid's model essentially makes blocking magically non-blocking
<apeiros_> async is often callback hell
<apeiros_> spaghetti all over again
<dominikh> yeah, not a fan of non-blocking as a whole
<apeiros_> I like non-blocking. but it doesn't need to be async.
baphled has quit [Ping timeout: 255 seconds]
<dominikh> how else would you do it?
hakunin has quit [Ping timeout: 248 seconds]
<Kovensky> async/await is also one of the best things to happen to C# in a long time
Virunga has quit [Ping timeout: 248 seconds]
<apeiros_> how *I*'d do it is a good question to which I've not yet found a definitive answer :)
<dominikh> how do others do it then? ;)
<apeiros_> there are other ways to do non-blocking. there have been techniques before asynch+callback ;-)
<apeiros_> see Kernel#select
<apeiros_> and IO#read_nonblock
failshell has quit [Remote host closed the connection]
<banisterfiend> apeiros_: what's up
<apeiros_> but that's tedious
<dominikh> I'd consider Kernel#select async in one way
<Kovensky> apeiros_: celluloid essentially does select/read_nonblock behind you
<Kovensky> and fakes a blocking method that doesn't actually freeze your thread until it's over
<apeiros_> banisterfiend: not much. gonna play some SC2 in a bit
<apeiros_> Kovensky: fibers?
<Kovensky> yep
_nitti_ has quit [Ping timeout: 252 seconds]
<apeiros_> dominikh: re async+callback: I hate JS in that regard. one of the first things I wrote was a Barrier class
<banisterfiend> apeiros_: wha's your fave beer
bjeanes has quit [Ping timeout: 248 seconds]
<dominikh> heh
a_a_g has quit [Quit: Leaving.]
<Kovensky> and I'd guess that this model is why javascript people somehow managed to like node.js
<Kovensky> I still think they're out of their minds (I mean, it's goddamn javascript)
<apeiros_> you don't want to do load_img(a, function() { load_img(b, function() { load_asset(x, function() {… code … })})})})})})})
<dominikh> yeah
<apeiros_> banisterfiend: I don't like beer, sorry :) (didn't we have that topic already?)
<Kovensky> I've written some AnyEvent code, which is a lot less annoying with Coro::AnyEvent and AnyEvent::AIO
<apeiros_> interesting enough, that approach is even slower than using a barrier
<Kovensky> it still ended up having several levels of nesting and lots of condvar passing anyway
<Kovensky> POE was by far the most annoying though
<apeiros_> i.e., load_img(a, barrier.wait()); load_img(b, barrier.wait()); load_asset(x, barrier.wait()); barrier.ready(function() { …app code… })
<Kovensky> I guess wait increased a counter and returned a callback that'd decrease it?
<Kovensky> (and ready would wait for the counter to zero)
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby
Zolo has joined #ruby
<apeiros_> Kovensky: it actually registered an id. you can provide a custom id if you wish.
cantonic has joined #ruby
<apeiros_> but yes, that's the principle
<Kovensky> hm, could be done with a semaphore even
<apeiros_> luckily js is single threaded, otherwise the code would be more complex
blazes816 has quit [Quit: blazes816]
<apeiros_> you don't need one, since ^
<Kovensky> true
beneggett has joined #ruby
<Kovensky> but .wait would down the semaphore *without* locking and return a callpack that ups it, and .ready would down it with locking
<Kovensky> so it'd only succeed at downing it once it has been upped enough times
Xeago has quit [Read error: Connection reset by peer]
<Kovensky> idk if that's really possible though; at least I know it's possible to create a semaphore with a negative starting value (so .down would immediately lock, and you'd need enough .up to allow the .down to succeed)
<Kovensky> threading is hard, let's go shopping :X
Coolhand|laptop has quit [Read error: Operation timed out]
clj_newb has joined #ruby
Xeago has joined #ruby
<apeiros_> haha
matchaw has quit [Read error: Connection reset by peer]
<Xeago> banisterfiend: apeiros_: wha's your fave beer
<apeiros_> yeah, threading is indeed hard
<Xeago> I missed it
<banisterfiend> Xeago: in holland, mine is Jupiler actually
<Xeago> Jupiler :O
<Xeago> haven't heard that one in a loong time
fteem has joined #ruby
rippa has quit [Read error: Connection reset by peer]
Playground has quit [Ping timeout: 255 seconds]
<banisterfiend> Xeago: edelweiss too
<Xeago> I used to drink warsteiner (after orchestra rehursals) but now in sweden I stopped
Hydroxide has joined #ruby
<Xeago> If I get to drink something nowadays it is some big import beer here in sweden
<Xeago> like grolsch or heineken
<Xeago> both are awfull
<apeiros_> Xeago: pvp or zvz today? I go practice in a bit :)
nicoulaj has joined #ruby
rippa has joined #ruby
<Hydroxide> hey everyone. I'm using yajl-ruby to parse some json that contains floating point numbers. is there a way to tell it to leave the numbers as ruby Strings so that I can do equality comparisons, or do I have to call .to_s afterward?
<apeiros_> (or pvz if you want)
ngoldman has joined #ruby
<Xeago> apeiros_: your choice, my protoss is better than my zerg
JohnBat26 has quit [Read error: Operation timed out]
<banisterfiend> apeiros_: i wonder if i could beat u in SC2
<apeiros_> zvz then :D
<apeiros_> banisterfiend: if I remember right, you haven't yet played sc2?
saltcod has quit [Quit: saltcod]
<banisterfiend> not yet
mdw has quit [Read error: Operation timed out]
ngoldman has quit [Remote host closed the connection]
mdw has joined #ruby
<Xeago> apeiros_: it doesn't matter for me at all, I just want fun times :)
<Xeago> banisterfiend: you play?!?
<Xeago> bummer
karasawa has joined #ruby
<apeiros_> banisterfiend: then it's rather improbable that you beat me ;-)
daniel_- has joined #ruby
<apeiros_> with some practice, it's quite possible, though
<apeiros_> I'm not a very good gamer
<banisterfiend> apeiros_: is SC1 > SC2 ?
<Xeago> would be awesome to get a second practice partner
<apeiros_> banisterfiend: I found the story better in sc1+bw
<apeiros_> but by now I like sc2 better
daniel_- has quit [Client Quit]
clooth has quit [Quit: clooth]
joeycarmello has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 240 seconds]
joeycarmello has joined #ruby
matchaw has joined #ruby
<banisterfiend> apeiros_: are korea into sc2? or did they stick to sc1?
chriskk has joined #ruby
<Xeago> neither am I, sc1+bw was a better campaign yes, but I like gameplay more in wings of liberty
Morkel_ has joined #ruby
whowantstolivef1 has joined #ruby
<apeiros_> banisterfiend: they've been migrating the last ~1 year
<Xeago> there are tons of koreans
<apeiros_> there are still BW tournaments
<Xeago> flash plays sc2 iirc
jonahR has quit [Quit: jonahR]
<apeiros_> but majority by now plays sc2 I think
mj_lk has joined #ruby
<apeiros_> also koreans dominate world wide sc2 tournaments
<Xeago> apeiros_: any big ones?
<Xeago> thought the last big one was hybrid sc1+bw/sc2
<apeiros_> Xeago: define big
<mj_lk> getting 'NameError: uninitialized constant Net::SSH::HostKeyUnknown' in reference to 'rescue Net::SSH::HostKeyMismatch => e' -- sanity check that this should be resolved by "require 'net/ssh'", correct?
<apeiros_> but I wouldn't know details anyway :)
<Xeago> bigger than sc2 currently is
<apeiros_> I *think* not. I think sc2 price money is bigger than BW by now
bjeanes has joined #ruby
<Xeago> anyways, gotta walk home and eat foodz!
<Xeago> train arrived
<apeiros_> Xeago: ping me when you're read :)
<apeiros_> *ready
kpshek has joined #ruby
<Xeago> apeiros_: price money bigger yes, crowd is smaller :<
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pyro111 has quit [Quit: Leaving]
<Xeago> will do
<Xeago> banisterfiend: GOGOGO!
Xeago has quit [Remote host closed the connection]
Morkel has quit [Ping timeout: 248 seconds]
Morkel_ is now known as Morkel
<apeiros_> yeah banisterfiend, start playing :D
karasawa has quit [Ping timeout: 255 seconds]
ebobby has joined #ruby
gyre007 has quit [Remote host closed the connection]
<banisterfiend> if it runs ok on my little system i'll definitely give it a go
jonahR has joined #ruby
<banisterfiend> though im still working my way through teh single player campaign in c&c3
<banisterfiend> i like the c&c universe a lot
slainer68 has joined #ruby
k610 has quit [Ping timeout: 246 seconds]
saltcod has joined #ruby
mdw has quit [Ping timeout: 276 seconds]
Hydroxide has left #ruby [#ruby]
adamjleonard has quit [Quit: Linkinus - http://linkinus.com]
piotr__ has joined #ruby
schaerli has joined #ruby
TomyLobo has joined #ruby
MattRB has joined #ruby
adambeynon has joined #ruby
piotr_ has quit [Ping timeout: 272 seconds]
slainer68 has quit [Ping timeout: 240 seconds]
Rym has quit [Quit: Rym]
bjeanes has quit [Ping timeout: 248 seconds]
JonnieCache has joined #ruby
mdw has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
jds_ has joined #ruby
dougireton has quit [Quit: Leaving.]
Uranio has quit [Quit: while you reading this, a kitty dies]
jekotia has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
jds_ has quit [Remote host closed the connection]
MattRB has quit [Quit: This computer has gone to sleep]
bjeanes has joined #ruby
dougireton has joined #ruby
shorts has joined #ruby
baphled has joined #ruby
MattRB has joined #ruby
_nitti has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
jrist is now known as jrist-afk
osaut has quit [Quit: osaut]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
timonv has joined #ruby
MattRB has quit [Client Quit]
reset has joined #ruby
reset has quit [Read error: Connection reset by peer]
reset has joined #ruby
MattRB has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
elkclone has joined #ruby
buibex has joined #ruby
workmad3 has joined #ruby
chrismhough has quit [Quit: chrismhough]
lushious has quit [Ping timeout: 252 seconds]
beiter has quit [Quit: beiter]
buibex has quit [Remote host closed the connection]
beiter has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
jeffsmykil has joined #ruby
<jeffsmykil> is there something like moments for ruby?
<jeffsmykil> looking to parse seconds into human readable times easily
babonk has joined #ruby
recycle has quit [Remote host closed the connection]
Asher has quit [Ping timeout: 255 seconds]
<babonk> Hey all. using ruby mechanize i want to get the text node following an html element. so, <b>test</b>THIS IS THE TEXT I WANT. how to get that text once i have the <b> node?
recycle has joined #ruby
Kakera has joined #ruby
pettsson has joined #ruby
grzywacz has quit [Ping timeout: 272 seconds]
Nisstyre-laptop has quit [Quit: Leaving]
MattRB has quit [Quit: This computer has gone to sleep]
timonv has quit [Remote host closed the connection]
bjeanes has quit [Ping timeout: 248 seconds]
timonv has joined #ruby
MattRB has joined #ruby
jeffsmykil has left #ruby [#ruby]
Coolhand|laptop has joined #ruby
_nitti has quit [Remote host closed the connection]
recycle has quit [Ping timeout: 240 seconds]
froginvasion has joined #ruby
ninjaaron has joined #ruby
thinkclay has joined #ruby
elico has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
<ninjaaron> does ruby provide a way to leverage modules in a lower-level language the way Python does with C and C++?
Jamone has quit [Quit: Quit]
swingha has quit [Quit: WeeChat 0.3.9.2]
Monie has joined #ruby
dougireton has quit [Quit: Leaving.]
<reactormonk> ninjaaron, native extensions?
<ninjaaron> yes, that.
ddv has quit [Changing host]
ddv has joined #ruby
bjeanes has joined #ruby
maxmanders has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenn> ninjaaron: Yeah, Ruby and RBX use C extensions. JRuby uses Java extensions. Etc.
<banisterfiend> ninjaaron: ruby's C API is really nice to use
<havenn> Maglev Smalltalk extensions, IronRuby .net blarg.
<ninjaaron> So C is the extention lanuage for the reference implementation?
Xeago has joined #ruby
<havenn> ninjaaron: yup
k610 has joined #ruby
robert_ has joined #ruby
<ninjaaron> ok. Interesting.
dougireton has joined #ruby
jonathanwallace has quit [Ping timeout: 255 seconds]
<ninjaaron> I'm currently learning python, and it seems like stuff is always coming up about the differences between Ruby and python, but the more I look into it, it seems like they actually have much more in common than many other languages.
matchaw has quit [Ping timeout: 248 seconds]
jtgiri_ has joined #ruby
<canton7> they both sit in the same niche, pretty much
<havenn> ninjaaron: Reminds me of _why's unholy project: https://github.com/whymirror/unholy
<canton7> which is why everyone compares them :P
Blaster has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
ewag has joined #ruby
rippa has quit [Read error: Connection reset by peer]
<Hanmac> ninjaaron they are like twin sisters ... and ruby is the evil one :P
rippa has joined #ruby
robert_ has quit [Ping timeout: 245 seconds]
Virunga has joined #ruby
<ninjaaron> Ruby is the evil one. It's for Mac devs! 8^)
arya_ has quit [Ping timeout: 248 seconds]
arya_ has joined #ruby
<Hanmac> i dont think so :P because on mac the ruby version is very outdated :P
sayan has quit [Ping timeout: 244 seconds]
whowantstolivef1 has quit [Remote host closed the connection]
<ninjaaron> Probably the only reason I chose ruby is because I'm more connected to the Linux community, and we're all hot and bothered over python, at least generally speaking.
DrCode has quit [Ping timeout: 276 seconds]
DrShoggoth has joined #ruby
<Hanmac> ninjaaron about extention: the binded methods need to be an C-API, but the context is allowed to be C++ (i do many C++ extensions)
workmad3 has quit [Ping timeout: 276 seconds]
<ninjaaron> can you get updated ruby stuff on mac? you must be able too, if through macports if nowhere else.
<havenn> ninjaaron: brew is generally preferred over macports these days, but yeah either
* Hanmac is not an mac user ... he is a happy ubuntian
<havenn> ninjaaron: Or RVM, chruby, or rbenv route.
whowantstolivef1 has joined #ruby
froginvasion has quit [Quit: Leaving]
Xeago has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
Beoran_ has joined #ruby
robbyoconnor has joined #ruby
Jackneill has quit [Ping timeout: 272 seconds]
mj_lk is now known as mjolk
Beoran has quit [Read error: Operation timed out]
zommi has quit [Quit: Leaving.]
<ninjaaron> Hanmac: Interesting, as Python has the most extensive feature set developing Ubuntu apps of any language out there. Course, I guess it doesn't matter if you aren't developing Ubuntu apps. I hear Ubuntu is a pretty good platform for rails too, I guess.
clj_newb has quit [Ping timeout: 240 seconds]
stkowski has joined #ruby
<ninjaaron> havenn: interesting. I'll have to give Ruby another look after I get a reasonable grasp on Python.
<Hanmac> maybe yea, but i never used rails :D
<ninjaaron> (so I can make meaningful contributions to the holy wars if nothing else).
<havenn> ninjaaron: Ruby is lovely! <3
lu1 is now known as luisalima
<ninjaaron> Hanmac, you're an odd duck, you know that? What is it you do with Ruby?
matchaw has joined #ruby
<Hanmac> i can do 3d games with ogre3d :D
robert_ has joined #ruby
karasawa has joined #ruby
<Hanmac> or i can do desktop GUI with wxWidgets
DrCode has joined #ruby
<ninjaaron> havenn: Yeah, I listen to a podcast by a guy who does a lot of rails stuff, and he's always making fun of other rails devs for gushing about "beautiful code."
<Hanmac> or i have other usefull libs like libarchive wich is designed to open every possible archive
sailias has quit [Quit: Leaving.]
horofox has quit [Quit: horofox]
epylinkn has joined #ruby
codepoet_ has joined #ruby
haxrbyte_ has joined #ruby
nkr has quit [Quit: Linkinus - http://linkinus.com]
poikon has quit [Remote host closed the connection]
dougireton has quit [Quit: Leaving.]
karasawa has quit [Ping timeout: 240 seconds]
<ninjaaron> Hanmac: sounds fun.
robert_ has quit [Max SendQ exceeded]
<codepoet_> What the heck is bright box? I'm on an Ubuntu server that reports its version as 1.9.3p327 Brightbox, but I'm finding it difficult to find anything online that says what it is
ewag has quit [Ping timeout: 248 seconds]
<ninjaaron> Well thanks for the info on the C-API. See you guys around.
ninjaaron has left #ruby ["WeeChat 0.3.9.2"]
angusiguess has joined #ruby
dankest is now known as dankest|away
geekbri has joined #ruby
haxrbyte has quit [Ping timeout: 272 seconds]
dougireton has joined #ruby
<jtgiri_> Hey guys, I have a question about Capistrano, I wrote a method, which goes through a array and returns a string ips.uniq.join(",") , I am using that for app role : role :app, get_ips , however it throws an error, because it's looking for forward "#ip1", "#ip1" , anyway to add quotes around each string and separate them by comma ?
gyre008 has joined #ruby
miskander has joined #ruby
<reactormonk> jtgiri_, source plz
jrist-afk is now known as jrist
frihd has joined #ruby
dyeske has joined #ruby
<dyeske> when using rake-compiler why are there two rbconfig.rb files in ~/.rake-compiler?
chrismhough has joined #ruby
_nitti has joined #ruby
<dyeske> /home/dyeske/.rake-compiler/ruby/ruby-1.9.2-p290/lib/ruby/1.9.1/i386-mingw32/rbconfig.rb
<dyeske> /home/dyeske/.rake-compiler/builds/ruby-1.9.2-p290/rbconfig.rb
<jtgiri_> it returns this string : servers: ["172.16.100.11,172.16.100.10"] , cap is looking for "172.16.100.11","172.16.100.10"
<dyeske> these files appear to be the same, which one should I use?
<reactormonk> jtgiri_, then don't join
notVert has quit [Ping timeout: 252 seconds]
elico has quit [Quit: elico]
<jtgiri_> then I get this message : `initialize': undefined method `match' for ["172.16.100.11", "172.16.100.10"]:Array (NoMethodError)
<jtgiri_> I think it's looking for each string separated by comma
tatsuya_o has joined #ruby
<reactormonk> jtgiri_, role :apps, *get_ips
<jtgiri_> that worked :)
theRoUS has quit [Ping timeout: 248 seconds]
<jtgiri_> Thanks!!
<reactormonk> jtgiri_, look up splash operator
<jtgiri_> Okay
emmanuelux has joined #ruby
maximilianoo has quit [Quit: maximilianoo]
Asher has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
<havenn> *splat
io_syl has quit [Quit: Textual IRC Client: www.textualapp.com]
yshh has joined #ruby
dmiller has joined #ruby
shorts has quit [Quit: shorts]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
shorts has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
eldariof has quit []
tvw has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
yshh has quit [Ping timeout: 255 seconds]
rippa has quit [Ping timeout: 276 seconds]
caleb_io has joined #ruby
RagingDave_ has joined #ruby
<banisterfiend> apeiros_: wtf language is that
<apeiros_> oh, sorry, forgot that it is german
dankest|away is now known as dankest
<banisterfiend> no wonder it sounded so scary
<banisterfiend> looks cool
<banisterfiend> nice graphics
<banisterfiend> apeiros_: are u into studio ghibli?
dougireton has quit [Quit: Leaving.]
dougireton has joined #ruby
b1rkh0ff has quit [Quit: Leaving]
<apeiros_> studio ghibli? yeah, they've some nice stuff
blazes816 has joined #ruby
CreativeEmbassy has joined #ruby
haxrbyte has joined #ruby
<banisterfiend> apeiros_: they made a video game: http://www.youtube.com/watch?v=ndlpg9wNyXI
<banisterfiend> collaborated on*
<banisterfiend> the art style is all them
<banisterfiend> and probably the story too
nomenkun has quit [Remote host closed the connection]
haxrbyte_ has quit [Read error: Connection reset by peer]
RagingDave has quit [Ping timeout: 276 seconds]
geekbri has quit [Remote host closed the connection]
PragCypher has joined #ruby
jpfuentes2 has joined #ruby
MattRB has joined #ruby
<apeiros_> banisterfiend: this one requires pre-knowledge and offers a tiny bit of gameplay preview for heart of the swarm: http://www.youtube.com/watch?v=SG_3R9BoVvg
<banisterfiend> apeiros_: sweet
<banisterfiend> apeiros_: are you mainly just into RTS?
etcetera has quit []
<apeiros_> I like FPS too. but I suck more at it :D
jds_ has joined #ruby
codezombie has joined #ruby
CalebMingle has joined #ruby
caleb_io has quit [Read error: Connection reset by peer]
albakry has joined #ruby
albakry has joined #ruby
albakry has quit [Changing host]
poikon has joined #ruby
punkrawkR^Home has quit [Read error: Connection reset by peer]
<breakingthings> Craft Star? That's the game with the asians and the koreans and the kekekekekekeke's, right?
<breakingthings> or is that Dragon Ball Z
etcetera has joined #ruby
ChampS666 has quit [Ping timeout: 248 seconds]
clj_newb has joined #ruby
jds_ has quit [Ping timeout: 256 seconds]
zph has quit [Quit: Computer has gone to sleep.]
Kingy has joined #ruby
<f0ster> apeiros_: which FPS ?
maxmanders has joined #ruby
PragCypher has quit [Remote host closed the connection]
CalebMingle has quit [Read error: Connection reset by peer]
io_syl has joined #ruby
Vert has joined #ruby
ChampS666 has joined #ruby
PragCypher has joined #ruby
<apeiros_> f0ster: been a while. UT, one which I don't remember the name, was like counter strike, and Ghost Recon
reinaldob has joined #ruby
<apeiros_> and before that marathon :)
<apeiros_> ah, UT: TacOps, iirc
<f0ster> hmm they had a free cs-like FPS on the UT engine iirc
<f0ster> ahh nice
rdark has quit [Ping timeout: 252 seconds]
<apeiros_> but how much I suck is best depicted by a game with instagib against my brother - 3 players, me and another guy mostly tried to take down my little brother. in the end he had died like ~4 times and had around 60 kills…
haxrbyte has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
k611 has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
__BigO__ has joined #ruby
k610 has quit [Ping timeout: 256 seconds]
mark_locklear has quit [Remote host closed the connection]
<Hanmac> hm i read a news that everytime java gets an new update version, oracle gets money for each install ... thats the reason why there is so much (unfinished) updates
moos3 has quit [Ping timeout: 256 seconds]
__BigO__ has quit [Remote host closed the connection]
<Gate> Hanmac: money from who? Enterprise users?
<invariant> Hanmac, if that would be the case, they would write a loop and bankrupt everyone overnight.
<Hanmac> from the Ask bar
codezombie is now known as codezombie|away
__BigO__ has joined #ruby
<Hanmac> each time its gets installed ocracle gets money ... and in each update, the ask bar wants to be installed again
reinaldob has quit [Remote host closed the connection]
bjeanes has quit [Ping timeout: 248 seconds]
moos3 has joined #ruby
<Gate> solution: never use java for anything, therefore never install it.
bjeanes has joined #ruby
c0rn has quit [Ping timeout: 260 seconds]
<Hanmac> lets point an laugh about jruby users :D
c0rn has joined #ruby
carloslopes has quit [Remote host closed the connection]
<Xeago> apeiros_: my apologies, got into an argument here at home
<Xeago> also, I'd love to play some instagib :3
<Xeago> heard shootmania is kinda good
<apeiros_> heh
<apeiros_> I'm in-game Xeago, ping me there when ready :)
karasawa has joined #ruby
hackerdude has quit [Remote host closed the connection]
yfeldblum has joined #ruby
ner0x has quit [Quit: Leaving]
choffstein has joined #ruby
<shevy> yeah Xeago shoot that swiss girl down!!!
<Dann1> okay guys
<shevy> what up Danny boy
<Dann1> if I have in a file.rb 'puts "it works"
<Dann1> and in my script.rb I have on a certain line
<Dann1> if something do {o} end
etcetera has quit []
<Dann1> where {o} is the content of file.rb
<Dann1> how do I do this
<shevy> what
<shevy> so you have one file
<shevy> that will output the string 'it works'
<Dann1> Ye
<shevy> then you have another file that... does what?
<Dann1> It's an example
<shevy> well
<Dann1> No
<Dann1> No
<shevy> the usual way to load another file is via load or require
<Dann1> Yes, but I want to load it in that specific context
<shevy> if you must interprete it directly, either use eval(), or bundle it into a method
<shevy> why cant you use a method?
<Dann1> MM
Zolo has quit [Remote host closed the connection]
karasawa has quit [Ping timeout: 276 seconds]
<Dann1> Never thought of it
<shevy> or eval
<shevy> but that is awful
<Dann1> Why does everyone hate eval?
dr_neek has joined #ruby
<Hanmac> hm he could bind it to a binding ...
<shevy> it leads to code that is complex
ryanf has joined #ruby
etcetera has joined #ruby
<shevy> and there are about twenty different ways in ruby to eval
<Dann1> Dear lord
frihd has quit [Quit: Leaving.]
<Dann1> Nevermind
<shevy> but eval() is the most common one
<Dann1> I think I got it done
<Dann1> Thanks shev
<invariant> You never need eval.
<shevy> \o/
<invariant> It's just convenient.
<shevy> like heroin
<invariant> Also a good way to help attackers.
jblack_ has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
tPl0ch has joined #ruby
<invariant> Writing a web-application in Ruby is pretty much a guarantee that you won't get it right, anyway.
<Xeago> shevy: swedish
tvw has joined #ruby
jblack has joined #ruby
<Hanmac> shevy binding.eval is more interesting and maybe what he wants
<tetsus> which is the more-correct way to create an array: [] or Array.new ?
poikon has quit [Remote host closed the connection]
<apeiros_> tetsus: neither
<apeiros_> [] is suggested, though
Bry8Star has quit [Remote host closed the connection]
<apeiros_> unless you can make use of the variants with arguments, e.g. Array.new(10, 0), or Array.new(10) { |i| i }
<Hanmac> tetsus: the second is better when you want an array of a given size
<tetsus> ah! thank you, apeiros_ & Hanmac
<apeiros_> invariant: trolling much?
hadees has quit [Quit: hadees]
<invariant> apeiros_, being ignorant much?
<invariant> ...
invariant was kicked from #ruby by apeiros_ [shrug]
invariant has joined #ruby
griffindy has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Bry8Star has joined #ruby
warb0 has quit [Ping timeout: 248 seconds]
Goles has quit [Quit: Out.]
<invariant> apeiros_, now I should bow for you as my master?
Goles has joined #ruby
<Hanmac> he said web-application :D
<apeiros_> invariant: no, but you should not behave like a total idiot.
cb0ss has joined #ruby
<apeiros_> and trolls aren't welcome here.
<invariant> apeiros_, and you are of course not one.
invariant was kicked from #ruby by apeiros_ [good bye]
warb0 has joined #ruby
<fasta> Fascism at its best.
<apeiros_> fasta: trolls are not welcome here. don't like it? you're free to go.
<apeiros_> and statements like that make me kick you too. so stop it right there.
whowantstolivef1 has quit [Quit: quit]
* Hanmac can write a web-application in C :D
<fasta> It happens in lots of channels.
answer_42 has quit [Remote host closed the connection]
<fasta> I just don't understand the attitude which brings people to such acts.
Guest__ has joined #ruby
Guest__ is now known as RubNoob
hoelzro|away is now known as hoelzro
<apeiros_> trolling or kicking trolls?
<fasta> It seems that the Internet has reduced attention span too pathetic levels.
Rym has joined #ruby
<fasta> er to
<Xeago> I blame the ease of access to the internet
<fasta> The result being that just because someone has an @ and has a different opinion one opts for the easy path.
<apeiros_> fasta: if you want to discuss it, feel free to pm
etcetera has quit []
yshh has joined #ruby
<Xeago> fasta: his statement was unsupportive, it made a questionable claim with no support whatsoever
thone has joined #ruby
pu22l3r has quit [Remote host closed the connection]
dankest has quit [Quit: Leaving...]
<fasta> Xeago: I happen to agree with his statements.
<apeiros_> I don't even want that discussion here. he was a troll. he got warned by a kick. he chose to be an idiot about it and got banned. end of discussion.
<Xeago> correction, he made multiple such claims
timonv has joined #ruby
tbrock has quit [Ping timeout: 248 seconds]
gyre008 has quit [Remote host closed the connection]
huoxito has quit [Read error: Connection reset by peer]
caleb_io has joined #ruby
caleb_io has quit [Client Quit]
tbrock has joined #ruby
jjbohn has joined #ruby
<fasta> apeiros_: I believe you were the one who started calling him/her a troll.
<apeiros_> fasta: end. of. discussion. pm or you get kicked. I mean it.
<fasta> All discussion is pointless, because in the end you just pick whatever button you want to press.
thone_ has quit [Ping timeout: 245 seconds]
angusiguess has quit [Ping timeout: 256 seconds]
jimeh has joined #ruby
tenmilestereo has quit [Quit: Leaving]
maxmanders has quit [Quit: Textual IRC Client: www.textualapp.com]
choffstein has quit [Remote host closed the connection]
etcetera has joined #ruby
fteem has quit [Remote host closed the connection]
yshh has quit [Ping timeout: 276 seconds]
timonv has quit [Ping timeout: 255 seconds]
thinkclay has quit [Quit: Leaving.]
Michae___ has quit [Read error: Connection reset by peer]
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
<Hanmac> fasta he was realy a troll
main has quit [Ping timeout: 252 seconds]
<Gate> fasta: he made a troll statement, accused someone of being ignorant for calling him a troll. While you could argue he was just arrogant and self-absorbed, sufficient arrogance is indistinguishable from troll
<fasta> Gate: a troll is something completely different.
aquaranto has quit []
Michael_ has joined #ruby
<apeiros_> can we end that topic? I don't want a troll to get a funeral pyre.
Kingy has quit [Quit: Leaving]
<Gate> troll: is someone who posts inflammatory,[1] extraneous, or off-topic messages
<fasta> "good. then this discussion is over.," --apeiros_. Clearly apeiros_ has a problem with talking to people.
fasta was kicked from #ruby by apeiros_ [fasta]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Gate> -_^
* apeiros_ rolls eyes, walks off
spider-mario has quit [Remote host closed the connection]
hadees has joined #ruby
<Xeago> well, that was inevitable..
<Hanmac> apeiros_ you typed the name wrong or ?
<Xeago> apeiros_: let me see if I can snitch my girlfriends laptop
<apeiros_> Hanmac: gah, I want a usable client again
* Gate struggles to stop the onswell of jokes
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
krainboltgreene has joined #ruby
<Xeago> apeiros_: what is wrong with limechat?
fastred has joined #ruby
fastred has quit [Client Quit]
hydrozen has joined #ruby
<apeiros_> no useful op functionality
<Hanmac> at home i use pidgin for irc
<apeiros_> in xchat, I could at least add it through ruby (and it came with a limited set of useful functionality wrt op'ing)
Dann1 has quit [Quit: GODDAMNIT]
codepoet_ has left #ruby [#ruby]
<Xeago> apeiros_: you know the context menus are scriptable?
<Xeago> or else, try textual
<Xeago> there you can use rubies iirc
Dakuan has joined #ruby
jeffreybaird has quit [Quit: jeffreybaird]
<apeiros_> Xeago: I actually intended to add the functionality via the irc proxy
<apeiros_> but that means I'd have to take my time to actually implement that
xAndy is now known as xandy
<Xeago> how would you communicate it with the proxy?
<apeiros_> command sequences
nfk has quit [Quit: yawn]
<Xeago> apeiros_: 'just finish the irc proxy then' xD
<apeiros_> i.e. specific messages which trigger the proxy to not relay a message and instead perform an action
caleb_io has joined #ruby
albakry has quit [Quit: Leaving]
jds_ has joined #ruby
<Xeago> exclamation mark prefixes?
<apeiros_> after all, it's logged in as me, and might even be logged in as a second user with perma-op
<apeiros_> f.ex., yes
<Xeago> !ban apeiros_
<apeiros_> yupp
[Neurotic] has joined #ruby
icole has quit [Remote host closed the connection]
<Xeago> besides the proxy part
<rakl> can I use #except on a hash to remove a key inside a nested hash? e.g. a = {:bb=>"asfa", :cc=>"asfafar", :dd=>{:dda=>"asfa"}
__BigO__ has quit [Remote host closed the connection]
<rakl> how would I remve :dda
<apeiros_> rakl: not really, no
<Xeago> I have all of that implemented in variety of languages
<rakl> @apeiros_ ok thansk
<Xeago> but apeiros_ in like a month, I am done with my graduation
<apeiros_> ah, nice
<Xeago> and I'll get into your proxy
<apeiros_> ^^
<apeiros_> if you want, we could pair
nfk has joined #ruby
<Xeago> would love to :)
<apeiros_> nice
<apeiros_> remind me, my brain is true swiss - full of holes :D
<apeiros_> I mean, remind me then
__BigO__ has joined #ruby
* apeiros_ afk
moos3 has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 245 seconds]
bjeanes has quit [Ping timeout: 248 seconds]
Umren has quit [Read error: Connection reset by peer]
RagingDave_ has quit [Quit: Ex-Chat]
Dakuan has quit [Remote host closed the connection]
gyre008 has joined #ruby
Takehiro has joined #ruby
Goles has quit [Quit: Out.]
RagingDave has joined #ruby
_nitti has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 246 seconds]
jblack_ has quit [Ping timeout: 256 seconds]
tommyvyo has joined #ruby
mockra has quit [Remote host closed the connection]
bjeanes has joined #ruby
Takehiro has quit [Ping timeout: 256 seconds]
chrismhough has quit [Quit: chrismhough]
Dakuan has joined #ruby
cb0ss has quit [Read error: Connection reset by peer]
cjs226 has quit []
Morkel has quit [Quit: Morkel]
wudofyr_ has quit [Remote host closed the connection]
wudofyr_ has joined #ruby
bjeanes has quit [Ping timeout: 248 seconds]
ViPi has joined #ruby
ViPi has quit [Max SendQ exceeded]
<Eiam> I think I need a recursive sort to handle this, https://gist.github.com/1bdc549dff03186d5054 so every node is sorted by its title, within their own array.. I tried http://www.bdunagan.com/2011/10/23/ruby-tip-sort-a-hash-recursively/ and http://dan.doezema.com/2012/04/recursively-sort-ruby-hash-by-key/ but no luck
slainer68 has joined #ruby
ViPi has joined #ruby
Xeago has quit [Remote host closed the connection]
DatumDrop has quit [Remote host closed the connection]
Coolhand|laptop has quit [Ping timeout: 248 seconds]
<apeiros_> Eiam: that pasted data is not clean
<Eiam> yeah there is a [2] in there
<Eiam> was looking for how to modify the gist but don't see it =0
<apeiros_> might be that you must be logged in
poikon has joined #ruby
<apeiros_> or have at least cookies
aedornm has joined #ruby
<apeiros_> there's more wrong than just the [2]
jds_ has quit [Remote host closed the connection]
<Eiam> oh? hmm thought i was pretty clear on it
<Eiam> how are you validating its bad?
emergion has joined #ruby
Xeago has joined #ruby
<apeiros_> I paste it into ruby :)
<apeiros_> one [ is not properly closed
<Eiam> hmm yeah just tried hat
<apeiros_> it's a rather odd structure too
<Eiam> its for jstree
<Eiam> a very annoying framework
<Eiam> i trimmed a bunch of misc/pointless noise data out
<apeiros_> na, the second "children" seems misplaced
<apeiros_> it's in the array
jds_ has joined #ruby
<apeiros_> sry, going for a game
<Eiam> yah i spotted it
<Eiam> its an extra }
<Eiam> apeiros_: cheers
<apeiros_> try pasting it into irb before updating
<Eiam> yah irb took it
<apeiros_> yepp, last one works
angusiguess has joined #ruby
<apeiros_> off now, sorry. cya :)
<Eiam> no big, have fun!
<Eiam> you don't owe me support! =)
tommyvyo_ has joined #ruby
<Eiam> banisterfiend: you on the other hand..! ;P kidding
bjeanes has joined #ruby
sailias has joined #ruby
generalissimo has quit [Remote host closed the connection]
krainboltgreene has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<v0n> apeiros_: haha, I'm still reading your nick as "apéro" :]
philcrissman has quit [Remote host closed the connection]
girafe has joined #ruby
girafe has quit [Max SendQ exceeded]
girafe has joined #ruby
mergoth has joined #ruby
jblack has joined #ruby
lushious has joined #ruby
hydrozen has quit [Quit: Computer has gone to sleep.]
tbrock has quit [Quit: Leaving]
tPl0ch has quit [Quit: Verlassend]
bradhe has joined #ruby
jblack_ has joined #ruby
codezombie|away is now known as codezombie
mercwithamouth has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
bjeanes has quit [Ping timeout: 248 seconds]
mockra has joined #ruby
mercwithamouth has joined #ruby
recycle has joined #ruby
chrismhough has joined #ruby
dustint has quit [Remote host closed the connection]
orcris has joined #ruby
mengu has quit [Quit: Leaving]
sailias has quit [Quit: Leaving.]
beiter has quit [Quit: beiter]
v0n has quit [Ping timeout: 248 seconds]
joeycarmello has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
tetsus is now known as dr_tetsus
jjbohn has quit [Quit: Leaving...]
interactionjaxsn has quit [Remote host closed the connection]
zph has joined #ruby
mmitchell has quit [Ping timeout: 248 seconds]
breakingthings has quit []
girafe has quit [Quit: Leaving]
bjeanes has joined #ruby
girafe has joined #ruby
girafe has quit [Max SendQ exceeded]
generalissimo has joined #ruby
dnyy has quit [Remote host closed the connection]
carloslopes has quit [Read error: No route to host]
<mjolk> petition to rename chef-solo to bachelor chef
berserkr has quit [Quit: Leaving.]
jblack has quit [Ping timeout: 256 seconds]
emergion has joined #ruby
jblack_ has quit [Ping timeout: 248 seconds]
noxoc has quit [Quit: noxoc]
alanp_ has joined #ruby
dnyy has joined #ruby
nicoulaj has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
chris___ has joined #ruby
<chris___> hi
chris___ has quit [Client Quit]
blacktulip has quit [Remote host closed the connection]
ner0x has joined #ruby
bjeanes has quit [Ping timeout: 248 seconds]
alanp has quit [Disconnected by services]
alanp_ is now known as alanp
arya_ has quit []
ChampS666 has quit [Ping timeout: 264 seconds]
bjeanes has joined #ruby
epylinkn has quit [Quit: Leaving.]
dankest has joined #ruby
gyre007 has joined #ruby
nari has joined #ruby
samphippen has joined #ruby
Kakera has quit [Read error: Operation timed out]
emergion has quit [Ping timeout: 264 seconds]
jonahR has quit [Quit: jonahR]
recycle has quit [Read error: Connection reset by peer]
matchaw__ has joined #ruby
griffindy has joined #ruby
mattbl has joined #ruby
matchaw has quit [Ping timeout: 248 seconds]
_bart has joined #ruby
samuel02 has quit [Remote host closed the connection]
griffindy has quit [Client Quit]
samuel02 has joined #ruby
louisror has joined #ruby
griffindy has joined #ruby
jtharris has quit [Quit: WeeChat 0.3.9.2]
arya_ has joined #ruby
MattRB has quit [Ping timeout: 240 seconds]
baphled has quit [Read error: Operation timed out]
jonahR has joined #ruby
jds_ has quit [Remote host closed the connection]
mitchellh has joined #ruby
mitchellh has left #ruby ["["Textual IRC Client: www.textualapp.com"]"]
k611 has quit [Quit: Leaving]
jds_ has joined #ruby
jonahR has quit [Client Quit]
emocakes has quit [Quit: emocakes]
pettsson has quit [Ping timeout: 255 seconds]
samuel02 has quit [Ping timeout: 252 seconds]
xandy is now known as xAndy
hoelzro is now known as hoelzro|away
Criztian has quit [Remote host closed the connection]
matheus_ is now known as embs
tommyvyo_ has quit [Quit: http://twitter.com/tommyvyo]
jlast_ has quit [Ping timeout: 276 seconds]
bricker`1A has joined #ruby
jeffreybaird has joined #ruby
jds_ has quit [Ping timeout: 252 seconds]
Solnse has quit [Quit: Leaving.]
Solnse has joined #ruby
joshman_ has quit [Ping timeout: 256 seconds]
recycle has joined #ruby
EPIK has joined #ruby
dmiller has quit [Ping timeout: 248 seconds]
<davidcelis> mjolk: denied
<mjolk> ?
alex__c2022 has quit [Quit: alex__c2022]
jonathanwallace has quit [Ping timeout: 255 seconds]
elaptics`away is now known as elaptics
hadees has quit [Quit: hadees]
matchaw__ has quit [Ping timeout: 276 seconds]
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
bricker`LA has quit [Ping timeout: 276 seconds]
woolite64 has quit [Quit: Leaving]
stopbit has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
zeade has quit [Quit: Leaving.]
jackyalcine has joined #ruby
jackyalcine has quit [Changing host]
jackyalcine has joined #ruby
d2dchat has quit [Remote host closed the connection]
icole has joined #ruby
sclarson_ has quit [Quit: sclarson_]
carloslopes has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
Dakuan has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
Dakuan has joined #ruby
eroc has quit [Quit: eroc]
tommyvyo_ has joined #ruby
segv- has quit [Read error: Connection reset by peer]
segv-_ has joined #ruby
matchaw_ has joined #ruby
bean__ has quit [Quit: Computer has gone to sleep.]
griffindy has quit [Quit: Computer has gone to sleep.]
cb0ss has joined #ruby
zeade has joined #ruby
tommyvyo has quit [Quit: http://thomasvendetta.com]
tommyvyo_ is now known as tommyvyo
mergoth has quit [Quit: Lost terminal]
icole has quit [Ping timeout: 252 seconds]
jblack has joined #ruby
bjeanes has quit [Ping timeout: 248 seconds]
araujo has quit [Ping timeout: 248 seconds]
jeffreybaird has quit [Quit: jeffreybaird]
dmiller has joined #ruby
Dakuan has quit [Ping timeout: 256 seconds]
musl has quit [Quit: installworld]
bjeanes has joined #ruby
joofsh has quit [Remote host closed the connection]
mjolk is now known as mjolk_afk
joofsh has joined #ruby
digifiv5e has quit [Quit: quit]
Solnse has quit [Ping timeout: 248 seconds]
jeffreybaird has joined #ruby
cjs226 has joined #ruby
frem has quit [Ping timeout: 260 seconds]
karasawa has joined #ruby
andrewhl has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 246 seconds]
sjk has joined #ruby
carloslopes has quit [Read error: No route to host]
recycle has quit [Read error: Connection reset by peer]
_carloslopes has joined #ruby
kpshek has quit []
maz-dev__ has quit [Read error: Operation timed out]
BulleTime_ has joined #ruby
SCommette has quit [Quit: SCommette]
maz-dev__ has joined #ruby
tatsuya_o has quit [Ping timeout: 246 seconds]
karasawa has quit [Ping timeout: 276 seconds]
diegok has quit [Quit: ZNC - http://znc.sourceforge.net]
elaptics is now known as elaptics`away
diegok has joined #ruby
BulleTime has quit [Ping timeout: 276 seconds]
tatsuya_o has joined #ruby
BulleTime_ is now known as BulleTime
mattbl has quit [Quit: This computer has gone to sleep]
joofsh has quit [Remote host closed the connection]
marr has quit [Ping timeout: 252 seconds]
s__dana has joined #ruby
tommyvyo_ has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
_carloslopes has quit [Ping timeout: 256 seconds]
DatumDrop has joined #ruby
friskd has quit [Ping timeout: 248 seconds]
patronus_ has quit [Remote host closed the connection]
patronus_ has joined #ruby
elaptics`away is now known as elaptics
Kuifje has quit [Ping timeout: 260 seconds]
__BigO__ has quit [Remote host closed the connection]
etcetera has quit []
segv-_ has quit [Quit: segv-_]
DatumDrop has quit [Ping timeout: 248 seconds]
jonathanwallace has joined #ruby
enebo has quit [Quit: enebo]
etcetera has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
jrist is now known as jrist-afk
zeade has quit [Quit: Leaving.]
recycle has joined #ruby
DrShoggoth has quit [Ping timeout: 248 seconds]
reinaldob has joined #ruby
postmodern has joined #ruby
BulleTime has quit [Ping timeout: 255 seconds]
Playground has joined #ruby