apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
<p0t> amth: thanks for the help today budy
etcetera has quit []
chrishough has quit [Quit: chrishough]
<amth> p0t: yw
<lectrick> amth: lol that is really bad. it might save an extra variable in recursive algorithms tho... maybe.
<amth> lectrick: Yep. That is a really common beginner mistake.
ddd has quit [Quit: fixing client]
sailias has joined #ruby
ddd has joined #ruby
matti has left #ruby ["8-X"]
<amth> Like I said, I have made use of it before.
<lectrick> amth: But is it truly objectively bad or just ugly to Rubyists? :)
<amth> But really it's a side effect of an optimization.
adamjleonard has joined #ruby
<amth> It is a lot more computationally expensive to do things the Ruby way.
<lectrick> amth: is that the case both for lambdas as well as regular functions?
<amth> Python tends more toward optimization than Ruby does.
<lectrick> amth: fair enough
<amth> Yes.
<amth> The Ruby way enables a lot of stuff the Python way doesn't, though, which is why I prefer it.
kofno has joined #ruby
<amth> Well, that and Ruby doesn't really like legacy versions. That is actually the primary reason.
adamjleonard has quit [Client Quit]
ddd has quit [Client Quit]
<amth> I would probably use them equally if Python had ditched 2 completely.
Emmanuel_Chanel has joined #ruby
<amth> But, alas, they didn't, and fucked themselves royally.
ddd has joined #ruby
<amth> Anyway, Ruby is super nice, and keyword arguments were the biggest wart.
<amth> And refinements, too.
<lectrick> :)
<amth> So Ruby would be better anyway, imo.
<amth> But yeah, Python has its reasons.
<lectrick> Not slow? :)
tommyvyo has quit [Quit:]
<amth> Yeah, and there's really a different design philosophy.
<amth> Python aims for simplicity in a way Ruby really doesn't.
lewix has joined #ruby
hiyakash_ has quit [Quit: お前は知りすぎた]
<amth> I find that to be a hinderance, to be honest, but I still feel like Python code is more elegant.
<amth> (though less useful)
pskosinski has quit [Quit: pskosinski]
axsuul_ has quit [Quit: axsuul_]
<lectrick> Python turned me off the very first time using it when I typed "exit" in its REPL and it was all like "Use control-D to exit." I was like... so you *know* what I wanted to do, and *still* lectured me...
<amth> But they're pretty similar languages overall.
<lectrick> That and all the passing around of self, __self__ etc
chaluopa has joined #ruby
<lectrick> Also not a big fan of the significant whitespace... but then I use YAML... and HAML... and SASS... and...
<amth> Ruby is a bit too DWIM for my taste. I can't say I'm fond of the methods-don't-require-parens thing.
<amth> @property is better.
<amth> self is fucking annoying, though.
<lectrick> you mean python's self?
<amth> Yeah.
<lectrick> yep
<amth> It is there to try to enforce more functionalness.
<lectrick> apparently the lack of implicit binding means you can pass around functions but it also means you have to pass around self
<amth> But Python ended up OO anyway.
Sargun has quit [Ping timeout: 256 seconds]
<amth> You can do it with magic in Ruby.
<lectrick> ruby you can only grab functions and bind them to the same or descendent classes I believe
<lectrick> sorry, methods
<amth> Ruby is a very magic language, which is really the biggest difference.
<lectrick> :)
etcetera has joined #ruby
<lectrick> it's so magic that if you don't have a test suite you're pretty fucked
<lectrick> :)
johnnymuggs has joined #ruby
Sargun has joined #ruby
slainer6_ has quit [Remote host closed the connection]
<lectrick> ruby gives you enough rope to hang yourself with, tests make sure the floor doesn't drop out under the gallows
lunarjar has joined #ruby
lunarjar has quit [Client Quit]
eliasp has quit [Read error: Connection reset by peer]
adkron has quit [Ping timeout: 240 seconds]
<amth> Hmm, you're right.
eliasp has joined #ruby
Nuck has joined #ruby
johnnymuggs has left #ruby [#ruby]
Nuck has quit [Changing host]
Nuck has joined #ruby
<amth> That method thing is annoying in principle, but I didn't even know about it, so that is pretty good evidence it's not terribly useful.
baroquebobcat has quit [Quit: baroquebobcat]
tspike has joined #ruby
kofno has quit [Remote host closed the connection]
<lectrick> So yeah, we have some core extensions libs in our repo, I totally want to add bang'ed versions of receiver-modifying methods so that our code is clearer
<lectrick> alias push! push
<lectrick> i bet there's a gem...
toekutr has quit [Remote host closed the connection]
<lectrick> anyway that's pretty much the main Ruby blemish/pet-peeve I have. Oh that and people being willy-nilly with hash key types
Drewch has joined #ruby
mengu_ has quit [Quit: This computer has gone to sleep]
moted has quit [Ping timeout: 260 seconds]
timmow has joined #ruby
elaptics is now known as elaptics`away
beneggett has quit [Quit: Computer has gone to sleep.]
<jblack> mmmm, using a hash as a hash key...
gabrielrotbart has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 255 seconds]
mahmoudimus has joined #ruby
xaq has joined #ruby
kofno has joined #ruby
Nuck has quit [Ping timeout: 248 seconds]
gabrielrotbart has joined #ruby
Layke has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
maletor has joined #ruby
cobragoat has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
zeade has quit [Quit: Leaving.]
tomsthumb has joined #ruby
xaq_ has joined #ruby
jgrevich_ has joined #ruby
Guest36070 has joined #ruby
tomsthumb has quit [Client Quit]
hogeo has joined #ruby
freeayu has joined #ruby
xaq_ has quit [Remote host closed the connection]
ariedler has joined #ruby
jgrevich has quit [Ping timeout: 276 seconds]
jgrevich_ is now known as jgrevich
Evixion has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
rads has joined #ruby
xaq has quit [Ping timeout: 256 seconds]
tylersmith has quit [Quit: tylersmith]
c0rn has joined #ruby
yshh has quit [Remote host closed the connection]
jonahR has joined #ruby
kpshek has joined #ruby
yeban has joined #ruby
kpshek has quit [Client Quit]
idkazuma has quit [Remote host closed the connection]
NiteRain has joined #ruby
jonahR has quit [Remote host closed the connection]
Layke has joined #ruby
matayam has joined #ruby
ericmathison has quit [Ping timeout: 245 seconds]
<Xeago> I've seen worse, using a hash as a key in the same hash
becom33 has quit [Ping timeout: 255 seconds]
<Xeago> a={};a[a]=value
chimkan has quit [Read error: No route to host]
<amth> a={};a.default=a
zeroeth_ is now known as zeroeth
Guest61083 has quit [Ping timeout: 260 seconds]
techlife has quit [Ping timeout: 276 seconds]
chimkan has joined #ruby
staafl has quit [Ping timeout: 245 seconds]
blaxter_ has quit [Ping timeout: 256 seconds]
senayar_ has quit [Quit: Quitte]
BSaboia has quit [Read error: Connection reset by peer]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
matayam has quit [Ping timeout: 276 seconds]
jpfuentes2 has joined #ruby
pygmael has joined #ruby
etcetera has quit []
tspike has quit [Ping timeout: 260 seconds]
techlife has joined #ruby
kpshek has joined #ruby
mercwithamouth has joined #ruby
DonRichie has quit [Ping timeout: 260 seconds]
DonRichie has joined #ruby
gabrielrotbart has quit [Read error: Connection reset by peer]
gabrielrotbart has joined #ruby
jimeh has joined #ruby
becom33 has joined #ruby
p0t has quit [Quit: Page closed]
froy has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
angusiguess has quit [Ping timeout: 276 seconds]
Floydzy has quit [Quit: Floydzy]
ericmathison has joined #ruby
mercwithamouth has joined #ruby
timmow has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
xaq has joined #ruby
bttf has left #ruby [#ruby]
xaq has quit [Remote host closed the connection]
yashshah has quit [Read error: Connection reset by peer]
yashshah has joined #ruby
evilVoodoofish43 is now known as VoodooArduino
timmow has quit [Ping timeout: 252 seconds]
yshh has joined #ruby
kpshek has quit []
SCommette has quit [Quit: SCommette]
gabrielrotbart has quit [Remote host closed the connection]
tommyvyo has joined #ruby
SCommette has joined #ruby
MetaCosm has quit [Excess Flood]
jonahR has joined #ruby
MetaCosm has joined #ruby
SCommette has quit [Client Quit]
gabrielrotbart has joined #ruby
joofsh has joined #ruby
tomsthumb has joined #ruby
Matip has joined #ruby
VoodooArduino is now known as voodooPIC
joofsh has quit [Remote host closed the connection]
pencilcheck has joined #ruby
pen has quit [Read error: Connection reset by peer]
emocakes_ has quit [Quit: emocakes_]
Hanmac1 has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
twoism_ has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 245 seconds]
Mattix has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 276 seconds]
joofsh has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
xaq has joined #ruby
bigoldrock has quit [Ping timeout: 246 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
eka has quit [Quit: Computer has gone to sleep.]
banjara has quit [Quit: Leaving.]
voodooPIC is now known as voodoofish430
voodoofish430 has quit [Quit: Leaving.]
xerxas has joined #ruby
skattyadz has quit [Quit: skattyadz]
chessguy has quit [Remote host closed the connection]
lunarjar has joined #ruby
PragCypher has joined #ruby
xaq_ has joined #ruby
xaq has quit [Read error: Connection reset by peer]
rupee has quit [Quit: Leaving]
lewix_ has joined #ruby
taqutor has joined #ruby
xaq_ has quit [Read error: Connection reset by peer]
xaq has joined #ruby
<lewix_> amth: default sets the value that would be returned by hsh if key did not exist
araujo has quit [Ping timeout: 245 seconds]
lewix has quit [Disconnected by services]
lewix_ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
<amth> Yeah. I thought it was more evil, but it's a matter of opinion.
<amth> hsh[:x][:y][:x] = 5
Guest36070 has quit [Ping timeout: 255 seconds]
<lewix> ok
Nuck has joined #ruby
SCommette has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
eliasp has joined #ruby
huoxito has joined #ruby
beneggett has joined #ruby
momomomomo has joined #ruby
rads has quit []
kofno has quit [Remote host closed the connection]
dustint has joined #ruby
[0x1a] has joined #ruby
generalissimo has joined #ruby
xaq has quit [Ping timeout: 256 seconds]
tootooroo has quit [Ping timeout: 264 seconds]
sailias has quit [Quit: Leaving.]
tootooroo has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo has joined #ruby
amth has quit [Quit: Leaving.]
pencilcheck has quit [Read error: Connection reset by peer]
pen has joined #ruby
havenwood has joined #ruby
rickruby has joined #ruby
<mercwithamouth> can someone tell me what's wrong with my logic here?
jimeh has joined #ruby
moos3 has joined #ruby
<mercwithamouth> basically i'm importing xml/json documents and for each iteration it should check and see if that particular entries id exists...if not it should create a record for it
araujo has joined #ruby
<mercwithamouth> no errors but it only creates a record for the first one
andrew12_ is now known as andrew12
pencilcheck has joined #ruby
moos3 has quit [Client Quit]
wtee has joined #ruby
moos3 has joined #ruby
jimeh has quit [Ping timeout: 256 seconds]
hamakn has joined #ruby
pen has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
Guest85414 has joined #ruby
lahwran- is now known as lahwran
nari has joined #ruby
robscomputer has quit [Remote host closed the connection]
randomautomator has quit [Ping timeout: 256 seconds]
<Nom-> mercwithamouth: That seems fine... what does the console tell you?
dagnachew has joined #ruby
sleetdrop has joined #ruby
Xeago has quit [Remote host closed the connection]
Nom- has quit [Changing host]
Nom- has joined #ruby
enthrops has joined #ruby
<enthrops> How is private / protected handled when including modules?
<mercwithamouth> Nom-: well when i check the count it only gives me 1
<mercwithamouth> however if i remove the 'unless' iteration i get hundreds
terrorpup has joined #ruby
Domon has joined #ruby
nezumi has quit [Ping timeout: 255 seconds]
jgrevich_ has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
jgrevich has quit [Ping timeout: 255 seconds]
jgrevich_ is now known as jgrevich
<banisterfiend> enthrops: they dont hange
<banisterfiend> change
<enthrops> banisterfiend: so I specify them in modules, right?
<Nom-> mercwithamouth: I mean... run it in the console and see what SQL gets run... perhaps exists? is only running once... or maybe it's checking for the same UUID every time
<mercwithamouth> ahh i gotcha
<banisterfiend> enthrops: sure
carlyle has joined #ruby
carlyle has quit [Read error: Connection reset by peer]
<enthrops> banisterfiend: is ruby smart enough to mark a method not in modules as public if it is surrounded by includes which all have private methods?
<mercwithamouth> ha FeedEntry Exists (0.1ms) SELECT 1 AS one FROM "feed_entries" WHERE "feed_entries"."etag" IS NULL LIMIT 1
tshauck has joined #ruby
carlyle has joined #ruby
<banisterfiend> enthrops: no
<banisterfiend> enthrops: wait
<enthrops> banisterfiend: thanks
<banisterfiend> enthrops: i have no idea what u mean by that
pixelshuck has joined #ruby
<banisterfiend> enthrops: i think the answer is 'yes' actually, the private/protected/public of methods in a module is irrelevant to the class doing the inclusion
<banisterfiend> but im really not sure what u mean
<mercwithamouth> Nom-: ahh i see...neither etag or guid when i use that are being set to anything
rickruby has quit [Remote host closed the connection]
<enthrops> banisterfiend: me neither :) thanks
<mercwithamouth> time to take a look see =P
<pixelshuck> Guys, elp absoute beginner pease http://pastie.org/private/owqhsigldw9zecbmsu4xcw
<tshauck> hi... is there a good task manager in ruby... essentially I need to be able to kick off jobs on certain schedules.
timmow has joined #ruby
miso1337 has joined #ruby
marcdel has quit []
rismoney has quit [Read error: Connection reset by peer]
<havenwood> tshauck: Might try Clockwork: https://github.com/tomykaira/clockwork#readme
chessguy has joined #ruby
<havenwood> tshauck: God is nice for process monitoring: http://godrb.com/
<pixelshuck> Guys, help absolute beginner please http://pastie.org/private/owqhsigldw9zecbmsu4xcw
Cooler_ has quit [Remote host closed the connection]
<pixelshuck> Problem is related to HTTP
<pixelshuck> (it is my first code in ruby)
Cooler_ has joined #ruby
akashj87_ has quit [Quit: leaving]
pavilionXP has quit [Ping timeout: 264 seconds]
steeve1 has joined #ruby
angusiguess has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
<pixelshuck> Guys, help absolute beginner please http://pastie.org/private/owqhsigldw9zecbmsu4xcw
<miso1337> Any people have trouble with line breaks in locale files before? Here's the source http://screencast.com/t/1M486wOU Output: http://screencast.com/t/Vhud8JttdcFk
pygmael has quit [Quit: pygmael]
ttt has joined #ruby
momomomomo has quit [Quit: momomomomo]
dagnachew has quit [Remote host closed the connection]
<pixelshuck> Whats neaest in ruby for "curl www.ru -u auth" ?
sleetdro_ has joined #ruby
<zeroeth> I have discovered the best hash ever!
angusiguess has quit [Ping timeout: 248 seconds]
<zeroeth> {{"=>"=>"=>"}=>{"=>"=>"=>"}}
pac1 has quit [Ping timeout: 256 seconds]
<havenwood> pixelshuck: There are a variety of great HTTP clients for Ruby. Nakamura san gave a great talk walking through the options at this year's RubyConf: http://www.confreaks.com/videos/1271-rubyconf2012-ruby-http-clients-comparison
<pixelshuck> Well, in a nutshell(I have small taks to compete, too small for 47 min video)
chimkan has quit [Quit: chimkan]
<pixelshuck> Added to watchlater tho
baroquebobcat has joined #ruby
sleetdrop has quit [Ping timeout: 264 seconds]
sleetdro_ is now known as sleetdrop
<havenwood> pixelshuck: For simple requests, HTTParty is a nice option: https://github.com/jnunemaker/httparty#readme
huoxito has quit [Ping timeout: 256 seconds]
<havenwood> pixelshuck: If you need more functionality, HTTPClient is a very nice pure Ruby option: https://github.com/nahi/httpclient#readme
<havenwood> pixelshuck: Either should be easier to work with than Net::HTTP (HTTParty is actually a wrapper around Net::HTTP, HTTPClient is pure Ruby and has great feature coverage.
<havenwood> )
<pixelshuck> thanks"
<pixelshuck> thanks!
<tshauck> havenwood, Clockwork might be the right fit, I'll explore some more. thanks
<pixelshuck> tbh, I am just making CLI client for response = HTTParty.get('http://twitter.com/statuses/public_timeline.json')
<pixelshuck> puts response.body, response.code, response.message, response.headers.inspect
<pixelshuck> Wiios
<pixelshuck> Woops
bricker`LA has joined #ruby
gabito has joined #ruby
matayam has joined #ruby
adkron has joined #ruby
Cooler_ has quit [Ping timeout: 245 seconds]
subbyyy has joined #ruby
<havenwood> pixelshuck: The documentation for RestClient may be more helpful than HTTParty's for getting that going quickly: https://github.com/rest-client/rest-client#readme
adamjleonard has joined #ruby
<pixelshuck> So you recommend me to use RestClient instead of HTTParty?
<pixelshuck> In this exact case
adamjleonard has quit [Client Quit]
<havenwood> pixelshuck: An example of using RestClient: RestClient.post 'https://www.pushbullet.com/api/pushes', device_id: id_here_n_stuff
niklasb has quit [Ping timeout: 264 seconds]
matti has joined #ruby
<pixelshuck> Ican't find it in any repository
TorpedoSkyline has joined #ruby
<chessguy> i know that an object is going to receive the same message a number of times with different arguments. i want to say that one of the times it receives it, it should be with a particular argument. how do i do that with standard rspec expectations?
<havenwood> pixelshuck: Before using it, you have to once run: gem install rest-client
<havenwood> pixelshuck: Then: require 'rest_client'
<pixelshuck> I don't really understand, whats closest to curl test.com -u KEY
<pixelshuck> as in there is no name for the auth, it is just sent by -u
<pixelshuck> but restcient wants me to provide name foo => bar
<pixelshuck> can i send just bar?
shevy has quit [Ping timeout: 256 seconds]
gabrielrotbart has quit [Remote host closed the connection]
zeade has joined #ruby
DrShoggoth has quit [Quit: Leaving]
gabrielrotbart has joined #ruby
<amh345> julian-delphiki: http://eval.in/14153 < so i looked this over this evening with fresh eyes. a) i get how this works b) this example that was created doesnt fit the flow of what i have. which i think was causing me a lot of confusion.
baroquebobcat has quit [Quit: baroquebobcat]
ner0x has quit [Quit: Leaving]
<havenwood> pixelshuck: yes, you can send anything you want
<amh345> that being said. now that i understand stand how it works… i think i may have to refactor some of the code.
<pixelshuck> RestClient.get 'https://www.pushbullet.com/api/device', {$key}
<pixelshuck> like that?
<havenwood> pixelshuck: If you're more conformable with Curl-style syntax, could use a Ruby curl wrapper like Curb or Patron instead. https://github.com/taf2/curb#readme
<pixelshuck> Well, ultimaltely, I want to learn ruby
<pixelshuck> not just use curl
<pixelshuck> I would use bash in that case
jdunck has joined #ruby
pitzips has joined #ruby
<pixelshuck> RestClient.get 'https://www.pushbullet.com/api/devices', {:params => {:key => $key}}
zeade has quit [Ping timeout: 248 seconds]
<pixelshuck> i get 401 Unauthorized
apok has quit [Quit: apok]
jurassic__ has quit [Quit: jurassic__]
gabito has quit [Remote host closed the connection]
fmendez has quit [Quit: fmendez]
zeade has joined #ruby
<havenwood> pixelshuck: I don't off the top of my head know how to do authentication with rest-client. HTTPClient has a nice way.
<havenwood> pixelshuck: I formally change my vote of HTTP clients for your purpose to HTTPClient or Mechanize, in that order.
<pixelshuck> jess
<pixelshuck> k
<havenwood> pixelshuck: HTTPS, Auth, etc. Those more thorough libs are going to make it easier prolly. :P
<amh345> this is how it has to flow. http://eval.in/14230 which isnt possible. unless use an class variable or somethng.
freezey has joined #ruby
<pixelshuck> I would be halfway done in bash by the time, I suppose I will get used to this zoo of libs by the time, will I/
mmitchell has quit [Remote host closed the connection]
Tectonic has joined #ruby
Hanmac has joined #ruby
brum has joined #ruby
huoxito has joined #ruby
dagnachew has joined #ruby
alainus is now known as alainus[-_-]
<amh345> opps. goofed a class name http://eval.in/14232
<havenwood> pixelshuck: I guess nice to pick a full featured option like HTTPClient, then you rarely have to switch. If you ever have time, that talk I linked covers em all in great detail. Also gives a handy spreadsheet that he keeps up to date that lets you pick the right one for the talk at hand.
<havenwood> pixelshuck: Most have very similar APIs, so not too tough to switch between em.
bubblehead has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 255 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
dagnachew has quit [Remote host closed the connection]
Ontolog has quit [Ping timeout: 245 seconds]
shevy has joined #ruby
<pixelshuck> ok, Do i Want HTTP, HTTPAccess2 or HTTPClient?
<pixelshuck> Cause all three seem reasonable in this case
marcdel has joined #ruby
jbueza has quit [Quit: Leaving.]
sleetdrop has quit [Quit: Computer has gone to sleep.]
kseifried_ has joined #ruby
tshauck has quit [Quit: leaving]
<kseifried_> hey anyone know when ruby 1.9 will end of life roughly?
nezumi has joined #ruby
sleetdrop has joined #ruby
kseifried_ is now known as kseifried
kseifried has quit [Changing host]
kseifried has joined #ruby
enthrops has left #ruby [#ruby]
<havenwood> kseifried: I haven't heard any mention of establishing a formal sunset date. 1.8 EOLed after 10 years, so I'd guess about 2019 for 1.9? Just a wild guess..
dayom has joined #ruby
<kseifried> hahaha I wish
<kseifried> my thought is they'll get bored of 1.9 with 2.0 sexxiness out, and who can blame them
radic has quit [Disconnected by services]
<pixelshuck> havenwood, httpclient documentation is WILD
radic_ has joined #ruby
<havenwood> kseifried: I guess the expected difficulty of transition is much lower. So many people on 1.9 though it seems supporting it for years to come is likely.
<pixelshuck> havenwood, thanks for help, Ruby is probably not for me, don't seem to catch up, will do it in bash, but thanks fo help!
dayom has quit [Read error: Connection reset by peer]
patronus_ is now known as patronus
dayom has joined #ruby
pitzips has quit [Ping timeout: 276 seconds]
patronus is now known as Guest73208
momomomomo has joined #ruby
tcopp has quit [Ping timeout: 240 seconds]
cyntacks has joined #ruby
havenwood has quit [Remote host closed the connection]
jdunck has quit [Quit: Computer has gone to sleep.]
cyntacks has left #ruby [#ruby]
havenwood has joined #ruby
oxez has left #ruby [#ruby]
havenwood has left #ruby [#ruby]
bradleyprice has joined #ruby
joofsh has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
Sicp has quit [Quit: Leaving]
catalyst40 has quit [Ping timeout: 256 seconds]
jurassic_ has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
baroquebobcat has quit [Client Quit]
wtee has quit [Quit: wtee]
jarin has quit [Quit: WeeChat 0.4.0]
pixelshuck has quit [Ping timeout: 260 seconds]
baroquebobcat has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
pitzips has joined #ruby
yashshah_ has joined #ruby
baroquebobcat has quit [Client Quit]
io_syl has quit [Quit: Computer has gone to sleep.]
timmow has joined #ruby
rburton- has quit [Quit: Linkinus - http://linkinus.com]
browndawg has joined #ruby
nfk has quit [Quit: yawn]
doritostains has quit [Quit: Leaving...]
beneggett has joined #ruby
brum has quit [Remote host closed the connection]
timmow has quit [Ping timeout: 252 seconds]
Guedes has quit [Ping timeout: 256 seconds]
catalyst40 has joined #ruby
kofno has joined #ruby
Yulli has joined #ruby
<ariedler> I was just thinking, anyone know someone that may have scraped Github to determine who uses a particular gem?
Yulli has left #ruby ["Bye bye"]
freezey has quit [Read error: Connection reset by peer]
mattbl has quit [Quit: This computer has gone to sleep]
rickruby has joined #ruby
sayan has joined #ruby
mattbl has joined #ruby
freerobby has quit [Quit: Leaving.]
mmitchell has joined #ruby
macabhaird has quit [Ping timeout: 245 seconds]
Ontolog has joined #ruby
rickruby has quit [Ping timeout: 248 seconds]
osvico has quit [Ping timeout: 252 seconds]
dustint has quit [Quit: Leaving]
pygmael has joined #ruby
<Nom-> Rubygems tracks download stats og gems
<Nom-> *of gems
<Nom-> Given they're the source that gets hit when you use Bundler, that's far more reliable than Github
beneggett has quit [Quit: Computer has gone to sleep.]
beneggett has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
Yulli has joined #ruby
pygmael has quit [Quit: pygmael]
momomomomo has quit [Ping timeout: 256 seconds]
marcdel has quit [Ping timeout: 255 seconds]
<Yulli> Hey there. Is there any reason not to use Ruby 2.0.0 for any production code other than the incompatibilities listed on the version release page?
Earwig has joined #ruby
pygmael has joined #ruby
tetsu is now known as lochnessmonster
danslo has joined #ruby
marcdel has joined #ruby
browndawg has quit [Quit: Leaving.]
lochnessmonster is now known as tetsus
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Earwig has left #ruby [#ruby]
maletor has quit [Quit: Computer has gone to sleep.]
abstrusenick has joined #ruby
stuartrexking has quit [Quit: Leaving...]
PragCypher has quit [Read error: No route to host]
stuartrexking has joined #ruby
adkron has quit [Ping timeout: 246 seconds]
jurassic_ has quit [Quit: jurassic_]
<havenwood> Yulli: People are definitely using 2.0.0-p0 in production. :D Some folks are waiting for another point release, but 2.0.0 is a stable release unlike the original 1.9.0.
statarb3 has quit [Ping timeout: 255 seconds]
<Nom-> It's also been out for over a month now
<Nom-> I'm probably going to start developing against it for the next project we launch
<havenwood> Yulli: Rails for is 2.0 preferred, 1.9 supported, 1.8 no.
<havenwood> s/Rails for/Rails 4
baroquebobcat has joined #ruby
<Nom-> Yeah, Rails 4 too for me :P
<ariedler> havenwood: I can attest to that :)
<Yulli> Okay, thanks! I was wondering because RVM rubygems seems to have a problem with 2.0.0. :/
adamjleonard has joined #ruby
<ariedler> Yulli: what was the issue, I may have encountered it
<havenwood> Yulli: Did you?: gem update --system
<Yulli> I can't recall the exact error, but it was trying to install it using 1.9.3
<Yulli> I didn't, havenwood. I'll try that now.
jurassic_ has joined #ruby
<havenwood> Yulli: Another way to update to 2.0.3: gem install rubygems-update; update_rubygems
<Yulli> I.. I'm not sure what that means. I'm following rvm's instructions from scratch over again.
generalissimo has quit [Remote host closed the connection]
sayan has joined #ruby
<havenwood> Yulli: So Ruby ships with a bundled version of RubyGems. Ruby 2.0.0-p0 shipped with RubyGems 2.0.0. There wee some fixes, so now RubyGems is version 2.0.3.
<havenwood> s/wee/were
<Yulli> Aha, okay. So then after installing rvm and running a `rvm install 2.0.0`, I should `gem install ruby-gems update; update_rubygems`?
<havenwood> Yulli: Yup!
bigmac has joined #ruby
<Yulli> Awesome! Will do. :)
Myconix has quit [Ping timeout: 256 seconds]
adkron has joined #ruby
divout1 has joined #ruby
matayam has quit [Remote host closed the connection]
<Yulli> Aha, the error before appeared because I hadn't run `rvm use 2.0.0 --default`. So it was trying to use 1.9.3 to install rubygems. :)
rburton- has joined #ruby
chrishough has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<Yulli> havenwood: It all worked nicely! Thanks for your help. :)
tootooroo has quit [Quit: +1 (Yes). -1 (No). i (What I have been trying to tell you all along).]
jdunck has joined #ruby
MetaCosm has quit [Excess Flood]
jurassic_ has quit [Quit: jurassic_]
MetaCosm has joined #ruby
ocnam has joined #ruby
Ontolog has quit [Remote host closed the connection]
Yulli has left #ruby ["Bye bye"]
dayepa1 has quit [Quit: dayepa1]
dayepa has joined #ruby
DrShoggoth has joined #ruby
dayom has quit [Read error: Connection reset by peer]
timmow has joined #ruby
mmitchell has quit [Remote host closed the connection]
Myconix has joined #ruby
dayom has joined #ruby
T41Ru5 has left #ruby ["Saliendo"]
tootooroo has joined #ruby
dcope has left #ruby [#ruby]
timmow has quit [Ping timeout: 252 seconds]
tylersmith has joined #ruby
terrorpup has quit [Ping timeout: 240 seconds]
kofno has quit [Remote host closed the connection]
Beoran__ has joined #ruby
chessguy has quit [Remote host closed the connection]
jurassic_ has joined #ruby
jurassic_ has quit [Client Quit]
hamakn has quit [Remote host closed the connection]
Beoran_ has quit [Ping timeout: 260 seconds]
hamakn has joined #ruby
t-mart has joined #ruby
t-mart has quit [Changing host]
t-mart has joined #ruby
codezombie has joined #ruby
rippa has joined #ruby
freakazoid0223 has quit [Ping timeout: 256 seconds]
DonRichie has quit [Quit: Verlassend]
Nisstyre-laptop has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
ariedler has quit [Remote host closed the connection]
anirudh24seven has joined #ruby
sambio_ has joined #ruby
sambio_ is now known as Limada
chessguy has joined #ruby
sambio has quit [Ping timeout: 256 seconds]
LennyLinux has quit [Remote host closed the connection]
Limada is now known as sambio
sayan has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
matayam has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
linx_0x has quit [Quit: Leaving]
etcetera has joined #ruby
chandankumar has joined #ruby
unCork has quit [Quit: .]
pencilcheck has quit [Remote host closed the connection]
ARCADIVS has joined #ruby
eliasp has quit [Ping timeout: 256 seconds]
tcopp has joined #ruby
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
zeroeth has quit [Ping timeout: 256 seconds]
eliasp has joined #ruby
tomsthumb has quit [Quit: Leaving.]
mattbl has joined #ruby
agarie_ has quit [Remote host closed the connection]
chaluopa has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
terrorpup has joined #ruby
terrorpup has quit [Changing host]
terrorpup has joined #ruby
adamjleonard has quit [Quit: Leaving...]
bubblehead has joined #ruby
Rumsteak has quit [Quit: Rumsteak]
etcetera has quit []
Myconix has quit [Ping timeout: 248 seconds]
Domon has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
adkron has quit [Ping timeout: 248 seconds]
bubblehead has quit [Ping timeout: 248 seconds]
indyrl has left #ruby [#ruby]
sambio has quit [Changing host]
sambio has joined #ruby
Myconix has joined #ruby
shock_one has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
eliasp has joined #ruby
icy` has joined #ruby
icy` has quit [Changing host]
icy` has joined #ruby
jurassic_ has joined #ruby
io_syl has joined #ruby
jurassic_ has quit [Client Quit]
tootooroo has quit [Quit: brb]
beneggett has quit [Quit: Computer has gone to sleep.]
hamakn has quit [Remote host closed the connection]
zeroeth has joined #ruby
tylersmith has quit [Quit: tylersmith]
philcrissman has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
feedbackloop has joined #ruby
a_a_g has joined #ruby
divout has joined #ruby
beneggett has joined #ruby
yashshah_ has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
divout1 has quit [Ping timeout: 256 seconds]
timmow has joined #ruby
uris has quit [Quit: Leaving]
codecop has joined #ruby
kpshek has joined #ruby
jonahR has quit [Quit: jonahR]
thams has joined #ruby
bradleyprice has quit [Remote host closed the connection]
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
timmow has quit [Ping timeout: 252 seconds]
MehLaptop has joined #ruby
Banistergalaxy has quit [Remote host closed the connection]
kofno has joined #ruby
<thams> Recently saw reference to a project for turning irb into a nice shell for Unix commands… but can't find it again. Anyone know of it?
shock_one has quit [Ping timeout: 246 seconds]
tomzx_mac has quit [Ping timeout: 264 seconds]
toekutr has joined #ruby
mockra has joined #ruby
doritostains has joined #ruby
hemanth has joined #ruby
dhruvasagar has joined #ruby
nathancahill has quit [Quit: nathancahill]
mattbl has quit [Quit: This computer has gone to sleep]
pbertain has joined #ruby
doritostains has quit [Client Quit]
pen has joined #ruby
<banisterfiend> thams: rush?
carlyle has quit [Remote host closed the connection]
<thams> Just stumbled onto that… it wasn't the one I saw, but it looks interesting.
robustus has quit [Ping timeout: 276 seconds]
dhruvasagar has quit [Remote host closed the connection]
mockra has quit [Ping timeout: 246 seconds]
<thams> The thing I saw, as I recall, made it so you could more-or-less do the things you would normally do in bash, but be within a ruby environment. Rush seems to be about giving ruby syntax and semantics to system elements.
kofno has quit [Ping timeout: 256 seconds]
robustus has joined #ruby
<wishfoundry> thams: chef
<thams> (although, maybe it would be better to just learn Rush)
jurassic_ has joined #ruby
girija has joined #ruby
sambio has quit []
hemanth has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
<thams> wishfoundry: This one? http://www.opscode.com/chef/
<wishfoundry> yep
tonini has joined #ruby
tootooroo has joined #ruby
baroquebobcat has joined #ruby
<thams> wishfoundry: that looks like configuration management tool… does it also do the thing I'm asking?
IcyDragon has quit [Quit: Space~~~]
baroquebobcat has quit [Client Quit]
<wishfoundry> it does what your asking as ruby scripts, then packages those scripts as modular components
<wishfoundry> then has a distribution system for those components
Domon has joined #ruby
tommyvyo has quit [Quit:]
<thams> wishfoundry: I'm looking for an interactive tool; enhancement or replacement for irb, for doing common tasks (cd to a directory, view a file, etc), not for automating somethign.
dayom has quit [Quit: dayom]
danslo has quit [Quit: danslo]
dmiller has joined #ruby
<waxjar> Pry is an IRB replacement
<wishfoundry> pry
<waxjar> it can execute shell commands, too
Domon has quit [Remote host closed the connection]
<thams> pry looks good.
Domon has joined #ruby
angusiguess has joined #ruby
Matt has joined #ruby
Matt is now known as Guest65416
etcetera has joined #ruby
jekotia has quit [Quit: sleepy time *yawn* *spikes everyones' drinks with catnip*]
bricker`1A has joined #ruby
dhruvasagar has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
zigomir has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
crazysim has quit [Ping timeout: 255 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
nathancahill has joined #ruby
randym has quit [Ping timeout: 258 seconds]
fcoury has quit [Ping timeout: 258 seconds]
patricksroberts_ has quit [Ping timeout: 258 seconds]
NimeshNeema has quit [Ping timeout: 258 seconds]
kaichanvong has quit [Ping timeout: 258 seconds]
nomenkun has joined #ruby
fourq has quit [Ping timeout: 258 seconds]
moeSeth_ has quit [Ping timeout: 258 seconds]
dmiller has quit [Ping timeout: 264 seconds]
guilleiguaran_ has quit [Ping timeout: 258 seconds]
kapowaz has quit [Ping timeout: 258 seconds]
banjara has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
unstable has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
momomomomo has joined #ruby
nouitfvf has quit [Ping timeout: 255 seconds]
smt has joined #ruby
chrishough has quit [Read error: Connection reset by peer]
Dwarf has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 256 seconds]
braoru has joined #ruby
<julian-delphiki> amh345, it was pretty hard to know what you had / needed since you didnt even say rails until we'd been talking for 30 mins
<julian-delphiki> :p
pen has quit [Read error: Connection reset by peer]
<amh345> ;)
pen has joined #ruby
<amh345> i ended up moving back to my original way. but i cleaned up a bunch of it based on the comments here.
divout has quit [Read error: Connection reset by peer]
Dwarf has joined #ruby
NimeshNeema has joined #ruby
matayam has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Cork has joined #ruby
bubblehead has joined #ruby
divout has joined #ruby
MehLaptop has quit [Remote host closed the connection]
wtee has joined #ruby
pen has quit [Remote host closed the connection]
stuartrexking has quit [Quit: Leaving...]
a_a_g has quit [Quit: Leaving.]
wtee has quit [Client Quit]
wtee has joined #ruby
Tectonic has quit []
tatat has joined #ruby
kristofers has joined #ruby
whowantstolivefo has quit [Quit: who wants to live forever ?]
hamakn has joined #ruby
subbyyy has quit [Ping timeout: 256 seconds]
daemoen has quit [Quit: WeeChat 0.4.0]
timmow has joined #ruby
dmiller has joined #ruby
cobragoat has quit [Remote host closed the connection]
cobragoat has joined #ruby
matayam has joined #ruby
bubblehead has quit [Ping timeout: 256 seconds]
awarner_ has joined #ruby
pyro111 has joined #ruby
chessguy has quit [Remote host closed the connection]
Skofo has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 256 seconds]
ananthakumaran has joined #ruby
awarner has quit [Ping timeout: 260 seconds]
timmow has quit [Ping timeout: 252 seconds]
dmiller has quit [Ping timeout: 260 seconds]
cobragoat has quit [Ping timeout: 260 seconds]
decoponio has joined #ruby
huoxito has quit [Quit: Leaving]
mockra has joined #ruby
BizarreCake has joined #ruby
kofno has joined #ruby
reset_ has joined #ruby
kstephens has quit [Quit: PredictTheFuture]
SCommette has quit [Quit: SCommette]
mockra has quit [Ping timeout: 256 seconds]
tcopp has quit [Ping timeout: 256 seconds]
kofno has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
reset has quit [Ping timeout: 245 seconds]
jurassic_ has quit [Quit: jurassic_]
kstephens has joined #ruby
reset_ has quit [Ping timeout: 256 seconds]
mafolz has joined #ruby
aganov has joined #ruby
etcetera has quit []
jurassic_ has joined #ruby
tagrudev has joined #ruby
thebastl has joined #ruby
Guest65416 has quit [Quit: This computer has gone to sleep]
etcetera has joined #ruby
robscomputer has joined #ruby
mafolz has quit [Remote host closed the connection]
mafolz has joined #ruby
wallerdev has quit [Quit: wallerdev]
xll11 has joined #ruby
<xll11> howdy
<havenwood> hi
dhruvasagar has quit [Quit: Lost terminal]
<xll11> I have a pretty decent knowledge in java, and I decided I wanted to pick up a scripting language, now the choice was either ruby,php or python, I tinkered around with php a bit but people recommended i stay away from it
<xll11> how is this source as an intro to ruby? http://thenewboston.org/list.php?cat=50
vlad_starkov has quit [Remote host closed the connection]
dkannan has joined #ruby
Matt has joined #ruby
Matt is now known as Guest5767
dkannan_ has joined #ruby
Vainoharhainen has joined #ruby
<havenwood> xll11: First time I've heard of it. There are some other good resources listed on Ruby's site: http://www.ruby-lang.org/en/documentation/
dkannan has quit [Ping timeout: 256 seconds]
dkannan_ is now known as dkannan
<havenwood> xll11: TryRuby is fun and pretty quick.
rickruby has joined #ruby
Guest5767 has quit [Client Quit]
piotr has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<havenwood> xll11: Ruby is a great language! One nice tool for exploring Ruby is Pry: http://pryrepl.org/
<havenwood> xll11: Basically use Pry instead of irc: gem install pry; pry
workmad3 has quit [Ping timeout: 260 seconds]
<havenwood> xll11: Very nice REPL. Type `help` to see Pry-specific commands.
<havenwood> s/irc/irb
BadQuanta has joined #ruby
banseljaj has quit [Remote host closed the connection]
<wishfoundry> xll11: rubymonk.org
<wishfoundry> err
bigkevmcd has joined #ruby
pduin has joined #ruby
<wishfoundry> rubmonk.com
<wishfoundry> :headdesk:
etcetera has quit []
x0F has joined #ruby
<wishfoundry> spelling will be the death of me
s00pcan has quit [Quit: Lost terminal]
arietis has joined #ruby
s00pcan has joined #ruby
mahmoudimus has joined #ruby
kapowaz has joined #ruby
a_a_g has joined #ruby
dr_bob has joined #ruby
unstable has joined #ruby
emergion has joined #ruby
momomomomo has joined #ruby
sayan has joined #ruby
wtee has quit [Quit: wtee]
yashshah_ has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
yashshah_ has joined #ruby
emergion has quit [Ping timeout: 264 seconds]
prophile has quit [Read error: Operation timed out]
prophile has joined #ruby
wishfoundry has quit [Quit: Leaving.]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
wtee has joined #ruby
havenwood has joined #ruby
havenwood has quit [Remote host closed the connection]
pitzips has quit [Remote host closed the connection]
cableray has quit [Quit: cableray]
gabrielrotbart has quit [Remote host closed the connection]
tonini has quit [Remote host closed the connection]
guilleiguaran_ has joined #ruby
nomenkun has quit [Remote host closed the connection]
skroon has quit [Ping timeout: 240 seconds]
evangelosavgerin has joined #ruby
momomomomo has quit [Quit: momomomomo]
mahmoudimus has joined #ruby
jimeh has joined #ruby
timmow has joined #ruby
mneorr has joined #ruby
chandankumar has quit [Ping timeout: 260 seconds]
timmow has quit [Ping timeout: 252 seconds]
jimeh has quit [Ping timeout: 276 seconds]
rickruby has quit [Remote host closed the connection]
eldariof has joined #ruby
filipe has joined #ruby
zeade has quit [Quit: Leaving.]
emergion has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
rickruby has joined #ruby
mockra has joined #ruby
d-best has quit [Quit: Reconnecting]
d-snp has joined #ruby
kofno has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
whowantstolivefo has joined #ruby
senayar has joined #ruby
agarie has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
kofno has quit [Ping timeout: 256 seconds]
bubblehead has joined #ruby
BadQuanta has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
dr_bob has quit [Quit: Leaving.]
tonini has joined #ruby
rickruby has quit [Remote host closed the connection]
timonv has joined #ruby
bubblehead has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby
dr_bob has joined #ruby
bricker`LA has joined #ruby
andynu has quit [Ping timeout: 240 seconds]
andynu has joined #ruby
dawkirst has joined #ruby
ArthurB__ has quit [Read error: Connection reset by peer]
bricker`1A has quit [Ping timeout: 260 seconds]
atno has quit [Remote host closed the connection]
DaDaDOSPrompt has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
DaDaDOSPrompt has left #ruby [#ruby]
apeiros_ has joined #ruby
JohnBat26 has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
fourq has joined #ruby
randym has joined #ruby
kaichanvong has joined #ruby
patricksroberts_ has joined #ruby
moeSeth_ has joined #ruby
mercwithamouth has joined #ruby
fcoury has joined #ruby
atno has joined #ruby
tewlz has quit [Ping timeout: 255 seconds]
emergion has joined #ruby
skroon has joined #ruby
toekutr has quit [Remote host closed the connection]
angusiguess has joined #ruby
chandankumar has joined #ruby
jprovazn has joined #ruby
emergion has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
foofoobar has joined #ruby
charliesome has joined #ruby
axxT has quit [Quit: Teleport +1]
mpfundstein has joined #ruby
gianlucadv has quit [Quit: ZNC - http://znc.sourceforge.net]
Hanmac1 has joined #ruby
nathancahill has quit [Quit: nathancahill]
dr_bob has quit [Quit: Leaving.]
tonini has quit [Remote host closed the connection]
gianlucadv has joined #ruby
arturaz has joined #ruby
ferdev has quit [Quit: ferdev]
timmow has joined #ruby
dr_bob has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
timmow has quit [Remote host closed the connection]
tevio has joined #ruby
arturaz has quit [Remote host closed the connection]
techlife has quit [Ping timeout: 240 seconds]
tootooroo is now known as lolcathost
lolcathost is now known as tootooroo
mpfundstein has quit [Remote host closed the connection]
fire has joined #ruby
jimeh has joined #ruby
andynu has quit [Ping timeout: 276 seconds]
techlife has joined #ruby
andynu has joined #ruby
bubblehead has joined #ruby
C0deMaver1ck has quit [Ping timeout: 240 seconds]
skroon_ has joined #ruby
skroon has quit [Ping timeout: 255 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
C0deMaver1ck has joined #ruby
C0deMaver1ck is now known as Guest43070
dkannan has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
bubblehead has quit [Ping timeout: 260 seconds]
TorpedoS_ has joined #ruby
ph^ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
tevio has quit [Remote host closed the connection]
casheew has joined #ruby
TorpedoSkyline has quit [Ping timeout: 256 seconds]
TorpedoS_ is now known as TorpedoSkyline
mpfundstein has joined #ruby
casheew has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 264 seconds]
* xybre rubs a monk
ferdev has joined #ruby
casheew has joined #ruby
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
razibog has joined #ruby
dr_bob has quit [Read error: Connection reset by peer]
dekz__ has quit [Ping timeout: 246 seconds]
Morkel has joined #ruby
dekz__ has joined #ruby
anirudh24seven_ has joined #ruby
rdark has joined #ruby
casheew has quit [Read error: Connection reset by peer]
obs has joined #ruby
anirudh24seven has quit [Read error: Connection reset by peer]
anirudh24seven_ is now known as anirudh24seven
casheew has joined #ruby
tootooroo has quit [Quit: +1 (Yes). -1 (No). i (What I have been trying to tell you all along).]
apod has joined #ruby
bubblehead has joined #ruby
Guest61083 has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
mockra has joined #ruby
casheew has quit [Read error: Connection reset by peer]
echevemaster has joined #ruby
blaxter_ has joined #ruby
kofno has joined #ruby
Al_ has joined #ruby
Ontolog has joined #ruby
casheew has joined #ruby
nari has joined #ruby
bubblehead has quit [Ping timeout: 264 seconds]
mockra has quit [Ping timeout: 246 seconds]
dr_bob has joined #ruby
atno has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 256 seconds]
rburton- has quit [Quit: Leaving...]
timmow has joined #ruby
chipotle_ has joined #ruby
Mon_Ouie has joined #ruby
ocnam has quit [Quit: Quit: Textual IRC Client: http://www.textualapp.com/]
chussenot has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
seq99 has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
dkannan has joined #ruby
atno has joined #ruby
Bry8Star has joined #ruby
elaptics`away is now known as elaptics
freeayu has quit [Read error: Connection reset by peer]
tevio has joined #ruby
Astralum has quit [Ping timeout: 255 seconds]
rickruby has joined #ruby
nathancahill has joined #ruby
mercwithamouth has joined #ruby
freeayu has joined #ruby
slainer68 has joined #ruby
akemrir has joined #ruby
emergion has joined #ruby
chandankumar is now known as chandan_kumar
slainer68 has quit [Read error: Connection reset by peer]
rickruby has quit [Ping timeout: 276 seconds]
arya has joined #ruby
slainer68 has joined #ruby
skroon_ is now known as skroon
chussenot has quit [Quit: chussenot]
becom33 has quit [Ping timeout: 255 seconds]
timmow has joined #ruby
chussenot has joined #ruby
abstrusenick has quit [Quit: abstrusenick]
hamakn has joined #ruby
chussenot has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
Ontolog has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
ksinkar has joined #ruby
<ksinkar> how to install ruby 2.0 on rvm?
<MrZYX> rvm get stable, rvm install 2.0.0
banjara has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
rburton- has joined #ruby
jgrau has joined #ruby
yashshah_ has quit [Read error: Connection reset by peer]
rezzack has quit [Quit: Leaving.]
jgrau has quit [Remote host closed the connection]
yashshah_ has joined #ruby
nathancahill has quit [Quit: nathancahill]
vlad_starkov has quit [Ping timeout: 264 seconds]
wtee has quit [Quit: wtee]
m8 has joined #ruby
motto has joined #ruby
becom33 has joined #ruby
sayan has quit [Read error: Connection reset by peer]
jprovazn has quit [Quit: Leaving]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
sayan has joined #ruby
rburton- has quit [Ping timeout: 256 seconds]
jprovazn has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
<lupine> does anyone know if there's a precompiled qtbindings for mac ? I found one for windows :)
chandan_kumar has quit [Ping timeout: 256 seconds]
<Hanmac1> on mac you should be able to compile it yourself
chandankumar has joined #ruby
tish has joined #ruby
chandankumar is now known as chandan_kumar
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
blacktulip has joined #ruby
jprovazn has quit [Ping timeout: 246 seconds]
chussenot has joined #ruby
chussenot has quit [Client Quit]
browndawg has joined #ruby
becom33 has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
Domon has quit [Remote host closed the connection]
motto has quit [Quit: Sto andando via]
Guest43070 has quit [Ping timeout: 264 seconds]
matayam has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
C0deMaver1ck has joined #ruby
C0deMaver1ck is now known as Guest93524
mneorr has joined #ruby
eka has joined #ruby
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby
chandan_kumar has quit [Quit: Leaving]
Guest36393 has joined #ruby
mockra has joined #ruby
Guest36393 has left #ruby [#ruby]
mneorr_ has joined #ruby
kofno has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
tonini has joined #ruby
ntzrmtthihu777 has joined #ruby
arturaz has joined #ruby
mneorr has quit [Ping timeout: 276 seconds]
tonini has quit [Remote host closed the connection]
<xll11> is ruby gui friendly?
<ntzrmtthihu777> hallo, not sure if this is a ruby question or C++. pulled some C++ source code from sourceforge, looking to tinker a bit, attempted to compile and was told ruby.h was not found. is there some command line argument I'm missing?
mockra has quit [Ping timeout: 248 seconds]
Guest93524 has quit [Ping timeout: 264 seconds]
<xll11> I mean, if I want to build a GUI program
<ntzrmtthihu777> xll11: I'm using the wxruby gem to build a gui, friendly enough.
kofno has quit [Ping timeout: 256 seconds]
gyre007 has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
Zai00 has joined #ruby
lurch_ has joined #ruby
<Hanmac1> xll11 i am currently building on an wxruby replacement that is even more ruby friendly :P
timmow_ has joined #ruby
chandankumar has joined #ruby
<ntzrmtthihu777> ooo sounds nice, Hanmac1
agarie has quit [Remote host closed the connection]
becom33 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<MrZYX> ntzrmtthihu777: sounds like you're missing ruby development headers
<ntzrmtthihu777> MrZYX: No, I got those, ruby.h and such. I think I just missed a part of the command line
casheew has joined #ruby
bubblehead has joined #ruby
flori has joined #ruby
C0deMave- has joined #ruby
<Hanmac1> ntzrmtthihu777 & xll11: https://github.com/Hanmac/rwx there is my wxRuby "fork"
<lurch_> Hi, trying to understand mixins but failing miserably. I wrote a simple test but do not understand why 2, 3 and especially 4 still call the old foo() method. http://pastebin.com/XnpVWMWA
<lupine> Hanmac1, I'm deploying an application to people. I don't want a compiler to be an install-time dependency
<MrZYX> ntzrmtthihu777: and they are in the standard locations(/usr/include/ etc)?
<lupine> (it isn't for linux or windows, and it's good to keep it that way :) )_
<ntzrmtthihu777> MrZYX: nope, seems they ended up in /usr/lib/ruby/1.8/x86_64-linux/
<ntzrmtthihu777> I included that location, however, and now I got a new error with a better clue :D
timmow_ has quit [Ping timeout: 252 seconds]
<flori> lurch_: you defined foo in Object, so…
evangelosavgerin has quit [Quit: Lost terminal]
becom33 has quit [Ping timeout: 256 seconds]
<lurch_> flori: but why doesn't the module_function :foo allow me to call the one defined in the Foo module ? If I don't use the Bar module, it calls foo from the Foo module when i use Foo::foo 4
bubblehead has quit [Ping timeout: 256 seconds]
<waxjar> lurch_: this is not how include works, it defines instance methods
<Hanmac1> ntzrmtthihu777: about your header and libs problem use pkg-config
tonini has joined #ruby
<ntzrmtthihu777> Hanmac1: kinda a (read: a huge) n00b, ^^', exactly what do you mean?
adambeynon has joined #ruby
<waxjar> you're calling a class method foo right now (which works because you defined a foo for Object and a Class is an Object)
<flori> lurch_: you define Object#foo in line 15, so that's the one that will be called in any object context (that is every context, because everything is an object).
browndawg has quit [Quit: Leaving.]
tonini has quit [Remote host closed the connection]
tewlz has joined #ruby
divout has quit [Quit: Leaving.]
Squarepy has joined #ruby
divout has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
Morkel has quit [Quit: Morkel]
chussenot has joined #ruby
<Hanmac1> lurch_: i think this problem was fixed in newer rubies
<lurch_> waxjar, flori: ok, thx. if I use extend, 4 actually does call the Foo::foo, but let me upload another test that did (in my view) the same thing (just not using the module Bar), and did actually allow me to call Foo:foo
tatat has quit []
jprovazn has joined #ruby
<flori> methods that are included via mixins are called after the ones from superclasses, like your Object#foo.
tonini has joined #ruby
wyan has quit [Excess Flood]
<flori> In 2.0.0 you could use class Object; prepend Foo; end to change this, though…
eldariof has quit [Read error: No route to host]
wyan has joined #ruby
<lurch_> waxjar: thx. with classes i think i understand. It's just when including from inside a module / main that it starts doing (in my view) weird things
<flori> lurch_: You should use extend for that anyway
ntzrmtthihu777 has left #ruby [#ruby]
<waxjar> main is a bit weird, keep in mind that main == Object
martinklepsch has joined #ruby
<waxjar> every single object inherits from Object, that's why you get weird results
veer has quit [Ping timeout: 258 seconds]
anirudh24seven_ has joined #ruby
amth has joined #ruby
anirudh24seven has quit [Read error: Connection reset by peer]
<xll11> is unless used?
anirudh24seven_ is now known as anirudh24seven
<xll11> why not just add a not operator and use if?
<finnomenon> I have methods that return multiple values ( return 1,socketError ) how can I use the first one as a condition in 'case'?
<waxjar> i use it all the time, it's clearer imo
lurch_ has left #ruby [#ruby]
hmarr has joined #ruby
<waxjar> finnomenon: x,y = your_method; case x …. ?
<finnomenon> when 1 never seems to be executed
ferdev has quit [Ping timeout: 264 seconds]
<Hanmac1> xll11: unless is a very little bit faster than if not
mhn23 has joined #ruby
maxmanders has joined #ruby
ferdev has joined #ruby
<finnomenon> waxjar: http://codepad.org/0my166xF this is what I am trying to do
pixelshuck has joined #ruby
<xll11> Hanmac I see, since it takes two actions two to use if and one action to use unless?
<xll11> thats the logic of it?
<Hanmac1> yes
<waxjar> finnomenon, test_account returns multiple values?
<finnomenon> yes
<Hanmac1> and PS: the "!" method that is called by "not" can be overwritten :P
<waxjar> finnomenon: Ruby actually just returns an Array
<waxjar> so the comparison will fail
jgrevich has quit [Remote host closed the connection]
anirudh24seven has quit [Ping timeout: 245 seconds]
shock_one has joined #ruby
wedgeV has quit [Ping timeout: 245 seconds]
tonini has quit [Remote host closed the connection]
C0deMave- has quit [Ping timeout: 256 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
sepp2k has joined #ruby
C0deMave- has joined #ruby
arya has quit [Ping timeout: 248 seconds]
dylan has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby
nomenkun has joined #ruby
nomenkun has quit [Remote host closed the connection]
C0deMave- is now known as C0deMaver1ck
pixelshuck has quit [Quit: Lost terminal]
C0deMaver1ck is now known as Guest22171
nomenkun has joined #ruby
anirudh24seven has joined #ruby
arya has joined #ruby
<xll11> man ruby is so wierd
<xll11> for num in 1...10
wedgeV has joined #ruby
<xll11> compared to for (int i = 1 ; i < 11 ; i++)
<xll11> :p
<MrZYX> actually we do (1..10).each
<xll11> beg you pardon?
<MrZYX> or 10.times, if we don't care about the index
<waxjar> blocks everywhere :)
<xll11> mhm
<xybre> for == fail
<xll11> thats wierd as hell
<xll11> need to get used to it :P
<waxjar> you'll come to love it
<MrZYX> only for the first two weeks, I promise :P
buscon has joined #ruby
<xll11> i find it wierd that will all the shortcuts, i++ doesnt work
<xll11> and you have to do i = i+1 instead
<xybre> i += 1
<waxjar> there's i += 1
<waxjar> it's not really a feature you need much in Ruby
tvw has quit []
chipotle_ has quit [Remote host closed the connection]
<amth> MrZYX: times has an index.
<amth> (but it starts at 0)
<xybre> It's 0-indexed though
<Hanmac1> i recently wrote a class where you can do +i for increment
<MrZYX> I see it rarely used though
beneggett has quit [Quit: Computer has gone to sleep.]
<xybre> One of my friends recently pointed out to me that "indexes" are not really indexes, they are offsets.
<amth> Hanmac1: That is evil...
<flori> xll11: if you think about #succ! doesn't make any sense for numbers.
<xll11> no idea what #succ! is
<xll11> just started tinkering with ruby
<amth> There is no succ!
<xybre> 1.succ #=> 2
<xybre> The bang usually means "warning, this method will mutate self"
<flori> amth: There's String#succ!
<Hanmac1> amth whats the problem? you can also do -i for decrement
<Hanmac1> and i also wrote classes where to_s! works
<amth> xybre: Except there is no bang version of Fixnum.succ.
anirudh24seven has quit [Read error: Connection reset by peer]
<xybre> amth: Of course not, I'm just explaining the convention.
anirudh24seven_ has joined #ruby
* Hanmac1 could write an Numeric class with an succ! method
anirudh24seven_ is now known as anirudh24seven
Layke has quit [Ping timeout: 256 seconds]
<flori> Hanmac1: and 23.succ! would make all 23s into 24s from there on ;)
<xybre> Hanmac1: You could use the unary operators to make ++i increment a value
<amth> Hanmac: Except you can't.
<Hanmac1> flori no, only in the Incementor object :P
<Hanmac1> amth oh you would be suprised what i can do:P
miso1337 has quit [Quit: afk]
<waxjar> xybre, you can only do one "operator" :(
<amth> OK, I guess you could override every method.
<xybre> waxjar: you'd have to store state between them, it'd be hideous
piotr_ has joined #ruby
<Hanmac1> amth there is a Symbol#succ method, think about that :P
<flori> Hanmac1: unfortunately April 1st is over; you could have proposed this on ruby-core
<amth> But you can't alter self in Numeric.
<xybre> flori: Well.. if you used caller, you could figure out the variable name, and then replace the value in ObjectSpace..
piotr has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
<Hanmac1> amth i said that i can make a class that inherit from numeric where succ! is possible
foofoobar has quit [Quit: Computer has gone to sleep.]
<flori> xybre: Is the evil gem still developed? I guess it could have done something like that.
reset has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
<amth> You can't change self in subclasses of Numeric, either. But you can do the evil override thing, I guess.
<xybre> A new class of numbers! Now I want to make an imaginary number class and extend Math.sqrt..
<xybre> flori: unfortunately not :(
Gruu_ has joined #ruby
Flex has joined #ruby
<Hanmac1> amth, but what if i use some kind of delegator?
dhruvasagar has joined #ruby
<xybre> amth: You can't change the assignment of a variable from self to anything else, but you could alter its internal value
<Hanmac1> shevy: i found an 0 that is not an fixnum but an bignum ... oO what do you think about that?
<amth> Then it wouldn't be Numeric.
<amth> xybre: extmath
<Hanmac1> amth it can be still be inherit from Numeric, even if its an delegator
mhn23 has quit [Quit: Goodbye.]
<amth> True. I did say you could override every method.
mockra has joined #ruby
kofno has joined #ruby
seich| has quit [Ping timeout: 264 seconds]
starburst has quit [Quit: kthnxbye!]
chessguy has joined #ruby
dEPy has joined #ruby
<shevy> Hanmac1 CHEATING
mneorr_ has quit [Remote host closed the connection]
chessguy has quit [Remote host closed the connection]
Guest85044 has joined #ruby
<xybre> amth: nice!
mockra has quit [Ping timeout: 264 seconds]
kofno has quit [Ping timeout: 246 seconds]
<Xeago> when installing gems, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block pops up..
yshh has quit [Remote host closed the connection]
<Xeago> that is after upgrading rubygems
<Hanmac1> shevy look at this an wine: http://eval.in/private/219597a0c01b4e ;P
Domon has joined #ruby
<Hanmac1> isnt the class of the 3 wrong?
timmow_ has joined #ruby
anirudh24seven has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931]]
Domon has quit [Remote host closed the connection]
Layke has joined #ruby
seich- has joined #ruby
jurassic_ has quit [Quit: jurassic_]
pac1 has joined #ruby
alino2 has joined #ruby
osvico has joined #ruby
sonda has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
<Hanmac1> shevy: or more worse: http://eval.in/private/149abdd9533b72
LennyLinux has joined #ruby
miso1337 has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
yashshah- has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
yashshah_ has quit [Ping timeout: 256 seconds]
Guest22171 has quit [Ping timeout: 264 seconds]
C0deMave- has joined #ruby
pac1 has quit [Ping timeout: 256 seconds]
Guedes_out is now known as Guedes
miso1337 has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
amth has quit [Read error: Connection reset by peer]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
Domon has joined #ruby
chussenot has quit [Quit: chussenot]
hemanth_ has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 264 seconds]
hemanth_ has joined #ruby
pskosinski has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
sepp2k has quit [Quit: Leaving.]
jnoob22 has joined #ruby
hemanth_ has joined #ruby
bubblehead has joined #ruby
dhruvasagar has joined #ruby
yashshah- has quit [Ping timeout: 264 seconds]
foofoobar has joined #ruby
<Hanmac1> shevy do you want to see an zero trick? :P
mneorr has quit [Ping timeout: 256 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
Guest85044 is now known as niklasb_
maxmanders has joined #ruby
bubblehead has quit [Ping timeout: 264 seconds]
mmitchell has joined #ruby
niko__ is now known as h8R
rickmasta has quit [Quit: Leaving...]
tymat has joined #ruby
tymat is now known as starburst
<Hanmac1> >> (2**64) < 0; [bigZero = ObjectSpace.each_object(Bignum).min,bigZero.zero?]
<Hanmac1> >> ObjectSpace.each_object(Bignum).min.inspect; [otherBigZero= ObjectSpace.each_object(Bignum).min, otherBigZero.zero?]
<eval-in> Hanmac1 => [0, true] (http://eval.in/14384)
<eval-in> Hanmac1 => [0, false] (http://eval.in/14385)
jprovazn has quit [Ping timeout: 276 seconds]
a_a_g1 has joined #ruby
C0deMave- is now known as C0deMaver1ck
C0deMaver1ck is now known as Guest40050
chandankumar has quit [Quit: Leaving]
nkts has joined #ruby
a_a_g has quit [Ping timeout: 264 seconds]
whowantstolivefo has quit [Remote host closed the connection]
davetherat has joined #ruby
sayan has quit [Read error: Connection reset by peer]
matayam has joined #ruby
skattyadz has joined #ruby
miso1337 has joined #ruby
jprovazn has joined #ruby
chichou has joined #ruby
malte_ has joined #ruby
chichou has quit [Remote host closed the connection]
mneorr has joined #ruby
chussenot has joined #ruby
chichou has joined #ruby
matayam has quit [Remote host closed the connection]
mockra has joined #ruby
KevinSjoberg has joined #ruby
kofno has joined #ruby
moos3 has joined #ruby
tish has quit [Quit: Leaving.]
matayam has joined #ruby
buibex has joined #ruby
Domon has quit [Remote host closed the connection]
Skofo has joined #ruby
mockra has quit [Ping timeout: 246 seconds]
jpfuentes2 has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
mneorr has quit [Ping timeout: 246 seconds]
hashmal has joined #ruby
timmow_ has joined #ruby
foofoobar has quit [Quit: Textual IRC Client: www.textualapp.com]
dylan has joined #ruby
answer_42 has joined #ruby
alino2 has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
mpfundstein_ has joined #ruby
matayam has quit [Remote host closed the connection]
mpfundstein has quit [Ping timeout: 256 seconds]
timmow_ has quit [Ping timeout: 252 seconds]
artem has joined #ruby
eldariof has joined #ruby
BSaboia has joined #ruby
sleetdrop has quit [Ping timeout: 240 seconds]
jmeeuwen has quit [Ping timeout: 264 seconds]
yshh has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
drale2k has quit [Quit: Leaving...]
Asher has quit [Quit: Leaving.]
thone has joined #ruby
dsadsdasd has joined #ruby
pi3r has joined #ruby
spike|spiegel has joined #ruby
thone_ has quit [Ping timeout: 255 seconds]
yshh has quit [Ping timeout: 256 seconds]
Morkel has joined #ruby
shevy has quit [Ping timeout: 246 seconds]
senayar has quit [Quit: Quitte]
nari has quit [Ping timeout: 264 seconds]
whowantstolivefo has joined #ruby
jmeeuwen has joined #ruby
chussenot has quit [Quit: chussenot]
kofno has joined #ruby
chussenot has joined #ruby
baba has joined #ruby
fire has quit [Ping timeout: 256 seconds]
reset has quit [Ping timeout: 256 seconds]
mneorr has joined #ruby
vlad_starkov has joined #ruby
yashshah has joined #ruby
shevy has joined #ruby
gyre007 has quit [Read error: Connection reset by peer]
gyre007 has joined #ruby
mneorr has quit [Ping timeout: 256 seconds]
pydave6367 has joined #ruby
<gestahlt> Hi, how can i parse a hash consisting of symbols?
Faris8 has quit [Read error: Connection reset by peer]
<Hanmac1> gestahlt: do you mean the keys or the values? and what do you want to do with them?
Asher has joined #ruby
<gestahlt> Hanmac1: I got a hash consisting of symbols (:symbol: value) i need the value
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
<Hanmac1> gestahlt: hashobj[:symbol]
<Fenne> Hash[:symbol]
browndawg has joined #ruby
<Hanmac1> Fenne: i would be carefull with saying Hash[] ... there is a class method named [] too
<Xeago> I didn't see a single aprils fools this year, besides starcraft
<Xeago> anyone has links to cool/fun ones?
<Fenne> Hanmac1: true that
<Fenne> Xeago: Google Noose
carloslopes has joined #ruby
<Xeago> thanks, want more
Zai00 has quit [Read error: Connection reset by peer]
apok has joined #ruby
dustint has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
foofoobar has joined #ruby
postmodern has quit [Quit: Leaving]
<Xeago> heat responsive ink..
<lunarjar> is it safe to assume that the most popular/recommended markdown processor is https://github.com/vmg/redcarpet
ananthakumaran has joined #ruby
subbyyy has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
jprovazn has quit [Ping timeout: 255 seconds]
slainer6_ has joined #ruby
<xll11> end instead of }
* xll11 quivers
thebastl has quit [Read error: No route to host]
NiteRain has quit [Ping timeout: 276 seconds]
thebastl has joined #ruby
jon_w has joined #ruby
slainer68 has quit [Ping timeout: 256 seconds]
hmarr has quit []
mark_locklear has joined #ruby
Hanmac1 has quit [Ping timeout: 276 seconds]
mockra has joined #ruby
divout has quit [Read error: Connection reset by peer]
<xll11> splat arguement is basically storing an array list storing arguments, right
kpshek has quit []
Hanmac1 has joined #ruby
osvico has joined #ruby
psyprus has quit [Ping timeout: 258 seconds]
HashNuke has joined #ruby
mockra has quit [Ping timeout: 248 seconds]
<Hanmac1> lunarjar its maybe the wrong channel because i for sample never used markdown before
invisime has joined #ruby
timmow_ has joined #ruby
jprovazn has joined #ruby
psyprus has joined #ruby
rudisimo has joined #ruby
jnoob22 has quit [Remote host closed the connection]
JonnieCache has joined #ruby
<gestahlt> Hm, i get the message "cannot convert symbol to integer" when i try to iterate my hash with the .each method
<gestahlt> I do have symbols called :1: in my hash
<gestahlt> Might they cause the trouble?
<JonnieCache> is anyone else seeing weird behaviour from bunder?
Guest61083 has quit [Ping timeout: 260 seconds]
<tobiasvl> gestahlt: yes
starburst has quit [Quit: kthnxbye!]
timmow_ has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
<tobiasvl> gestahlt: symbol names can't begin with a number
<tobiasvl> unless you enclose the name in quotes
<tobiasvl> (just like variable names can't begin with a number)
<Hanmac1> gestahlt: show us some code
<tobiasvl> no, not with quotes either, it seems
<Hanmac1> >> :"1 2"
<eval-in> Hanmac1 => :"1 2" (http://eval.in/14403)
<tobiasvl> >> :"1"
<eval-in> tobiasvl => :"1" (http://eval.in/14404)
<tobiasvl> hmm ok
<tobiasvl> didn't work in my irb
<tobiasvl> at any rate:
<tobiasvl> >> :1
<eval-in> tobiasvl => /tmp/execpad-151841c7e60f/source-151841c7e60f:2: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END (http://eval.in/14405)
<Hanmac1> huch, in my irb works
<Hanmac1> tobiasvl: you forgot the "", :1 does not work
tish has joined #ruby
veer has joined #ruby
buibex has quit [Remote host closed the connection]
daed has quit [Ping timeout: 260 seconds]
<tobiasvl> yeah, that's what i tried to show :) i did the :"1" right above
idkazuma has joined #ruby
daed has joined #ruby
nari has joined #ruby
pydave6367 has quit [Ping timeout: 248 seconds]
<Hanmac1> tobiasvl: but its true that :symbol.succ :P
<tobiasvl> :)
* Hanmac1 is trying to make word puns , it was very effective
<Hanmac1> >> :symbol.succ
<eval-in> Hanmac1 => :symbom (http://eval.in/14408)
pyro111 has quit [Quit: Leaving]
peterhellberg has joined #ruby
bubblehead has joined #ruby
heliumsocket has joined #ruby
<gestahlt> Ah great.. that renders my whole hash useless
<gestahlt> I was storing a partition layout with partition information in a hash to convert it to yaml, now i try to read from it
idkazuma has quit [Ping timeout: 256 seconds]
<gestahlt> So i had hashes like :1 :2 :3
<gestahlt> Uh symbols
<gestahlt> hrm
<xll11> if I run my_array.sort
<xll11> without assigning any variable to it
<xll11> i basically havent done anything
<xll11> as it creates a new array that nothing points at
<xll11> and is lost forever and collected by the garbage collector, right?
jprovazn has quit [Quit: Leaving]
<xll11> what I'm looking for is my_array.sort!
JonnieCa1he has joined #ruby
chussenot has quit [Quit: chussenot]
yalue has joined #ruby
vlad_starkov has joined #ruby
<tobiasvl> xll11: but that does exist
foofoobar has quit [Quit: Computer has gone to sleep.]
Faris8 has joined #ruby
JonnieCache has quit [Ping timeout: 248 seconds]
mneorr has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
dhruvasagar has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
<gestahlt> hm.. bad bad bad
MrZYX is now known as MrZYX|off
workmad3 has joined #ruby
nezumi has quit [Ping timeout: 276 seconds]
faen has quit [Remote host closed the connection]
slainer68 has joined #ruby
lolmaus has joined #ruby
MrZYX|off is now known as MrZYX
drale2k has joined #ruby
shock_one has quit [Ping timeout: 256 seconds]
pioz has joined #ruby
sayan has joined #ruby
cpruitt has quit [Quit: cpruitt]
faen has joined #ruby
slainer6_ has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
yshh has joined #ruby
chaluopa has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
geekbri has joined #ruby
huoxito has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
jnoob22 has joined #ruby
artem has quit [Ping timeout: 256 seconds]
danslo has joined #ruby
mneorr has quit [Remote host closed the connection]
skroon has quit [Quit: leaving]
hmarr has joined #ruby
Flex has quit [Read error: No route to host]
danslo has quit [Client Quit]
pydave6367 has joined #ruby
Rumsteak has joined #ruby
TooTubular has joined #ruby
AzizLight has joined #ruby
<AzizLight> Hi everybody
chandankumar has joined #ruby
rismoney has joined #ruby
subbyyy has quit [Ping timeout: 264 seconds]
chussenot has joined #ruby
<AzizLight> how can I generate a 16 characters random string using SecureRandom.base64 please?
banisterfiend has quit [Read error: Connection reset by peer]
arietis has joined #ruby
<AzizLight> all I can manage to do is to generate 24 characters random strings
<Politoed> The argument n specifies the length of the random length. The length of the result string is about 4/3 of n.
banisterfiend has joined #ruby
<Politoed> use n=12
mengu has joined #ruby
Flex has joined #ruby
ttt has quit [Remote host closed the connection]
foofoobar has joined #ruby
veer has quit [Ping timeout: 256 seconds]
<bnagy> you probably don't want to do that
chussenot has quit [Quit: chussenot]
wmoxam has joined #ruby
yshh has quit [Read error: Connection reset by peer]
<bnagy> but tbh if you're using SecureRandom you're probably screwing something up in any case, so carry on
yshh has joined #ruby
<injekt> what's wrong with secure random?
<bnagy> nothing, per se
<bnagy> well, apart from whatever is wrong with openssl or the win32api
malte_ has quit [Quit: malte_]
<bnagy> and the nonportable way they use the latter
Guest16202 has quit [Changing host]
Guest16202 has joined #ruby
Guest16202 is now known as guyz
mmitchell has quit [Remote host closed the connection]
pydave6367 has quit [Ping timeout: 255 seconds]
<lolmaus> What is the safe way to concatenate parts of long file name?
atno__ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
<bnagy> it's just that if you're directly screwing with random numbers and think you need a secure random instead of a prng then you're likely to be screwing something up
malte_ has joined #ruby
atno has quit [Ping timeout: 255 seconds]
nfk has joined #ruby
heliumsocket has joined #ruby
<injekt> so use Random instead
<bnagy> or whatever, but if you're using 'secure' random and deliberately getting 12 bytes of entropy instead of 16 because you don't know how base64 works then it's not a good sign
slainer6_ has joined #ruby
Faris8 has quit [Ping timeout: 264 seconds]
<injekt> heh
chussenot has joined #ruby
rdev has joined #ruby
slainer68 has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
madb055 has joined #ruby
atmosx has quit [Client Quit]
xaq has joined #ruby
d3c has joined #ruby
miso1337 has quit [Read error: Connection reset by peer]
miso1337 has joined #ruby
angusiguess has joined #ruby
<bnagy> also, a bug flew up my nose, earlier, which makes me grumpy
Nuck has quit [Ping timeout: 256 seconds]
znode has joined #ruby
Matip has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<injekt> that would also make me grumpy
chandankumar has quit [Quit: Leaving]
<injekt> lolmaus: the usual way you would concatenate a string?
mockra has joined #ruby
anonymuse has joined #ruby
<bnagy> or maybe File.join, unless you're on Windows
<gestahlt> hm i think i sanitized it.. i did "descriptivename_" + var.to_i
jerius has joined #ruby
<lolmaus> injekt, there should be a method that uses OS-specific slashes.
yacks has joined #ruby
<injekt> oh
<injekt> you said file name
tish has quit [Quit: Leaving.]
<bnagy> there isn't
<injekt> not path
<bnagy> but you don't want that
<lolmaus> injekt, i said full file name.
dylan has left #ruby ["Leaving"]
niklasb_ is now known as niklasb
<bnagy> because Ruby hates Windows style filenames, so in 95% of cases you want /
<injekt> bnagy: File.join uses File::SEPARATOR which works on windows no?
<injekt> anyway windows supports /
<bnagy> unless you're directly giving a filename to the windows api
verysoftoiletppr has joined #ruby
mneorr has joined #ruby
zeroeth has quit [Ping timeout: 264 seconds]
<bnagy> summary being, if you're working only with Ruby, always use File.join and it will work for opens and reads and such
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
<bnagy> if you're working with windows api ( FFI etc ) you will need to manually join with '\\'
<bnagy> because why make it easy
chaluopa has quit [Remote host closed the connection]
theRoUS has quit [Ping timeout: 240 seconds]
mockra has quit [Ping timeout: 256 seconds]
atno__ is now known as atno
foofoobar has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
sayan has quit [Read error: Connection reset by peer]
lewix has joined #ruby
jgarvey has joined #ruby
timmow_ has joined #ruby
justsee has quit [Ping timeout: 255 seconds]
krawchyk has joined #ruby
pi3r has quit [Quit: Leaving]
lewix_ has joined #ruby
tommyvyo has joined #ruby
chaluopa has joined #ruby
angusiguess has quit [Ping timeout: 258 seconds]
breakingthings has joined #ruby
hackeron has quit [Read error: Operation timed out]
lewix has quit [Ping timeout: 245 seconds]
timmow_ has quit [Ping timeout: 252 seconds]
Matip has joined #ruby
<lolmaus> Could you please help me grasp this regular expression replacement: gsub!(/\\([\\#])/, '\1')
chaluopa has quit [Remote host closed the connection]
Neomex has joined #ruby
chaluopa has joined #ruby
vlad_starkov has joined #ruby
<tobiasvl> it replaces \\ and \# with \ and # respectively?
<tobiasvl> so it un-escapes those sequences
<tobiasvl> as far as i can see in a flash
<lolmaus> tobiasvl, thx
adkron has joined #ruby
Guest40050 has quit [Changing host]
Guest40050 has joined #ruby
doodlehaus has joined #ruby
Guest40050 is now known as C0deMaver1ck
changelog has joined #ruby
<e-dard> Ho, I'm trying to use multi-line strings with interpolation in Ruby but getting error about "unexpected $end, expeing….." in my code: http://dpaste.com/1044298/plain/
rhys has quit [Quit: Leaving]
<e-dard> Any idea why it's not working?
<changelog> Hi everyone! Is this the right place to ask about ruby internals?
ksinkar has quit [Ping timeout: 246 seconds]
ariedler has joined #ruby
chaluopa has quit [Ping timeout: 255 seconds]
EPIK has quit [Ping timeout: 255 seconds]
<injekt> e-dard: dont indent the heredoc operators
<e-dard> injekt: all of it or just the first / last line?
DonRichie has joined #ruby
cmarques has joined #ruby
<injekt> e-dard: just the delimiters 'EOF'
smt has quit [Quit: Konversation terminated!]
HashNuke has left #ruby ["Textual IRC Client: www.textualapp.com"]
alainus[-_-] has quit [Ping timeout: 248 seconds]
withnale has quit [Remote host closed the connection]
angusiguess has joined #ruby
_nitti has joined #ruby
withnale has joined #ruby
veleno has joined #ruby
browndawg has quit [Quit: Leaving.]
Uranio has joined #ruby
<veleno> hello. is there a gem that checks for compatibility of a base of code between various ruby versions ?
Davey has joined #ruby
arturaz has quit [Remote host closed the connection]
sleetdrop has joined #ruby
divout has joined #ruby
<Hanmac1> veleno: just read the release notes of the versions ... or what specialy is your problem?
workmad3 has quit [Ping timeout: 245 seconds]
<veleno> Hanmac1: arbitrary behavior switching from 1.8.7 to 2.0.0
changelog has left #ruby [#ruby]
a_a_g1 has quit [Quit: Leaving.]
eldariof has quit [Read error: No route to host]
dhruvasagar has quit [Ping timeout: 260 seconds]
hackeron has joined #ruby
nateberkopec has joined #ruby
alainus has joined #ruby
dhruvasagar has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
malte_ has quit [Quit: malte_]
neku has joined #ruby
sambio has joined #ruby
sambio has quit [Changing host]
sambio has joined #ruby
wting has quit [Ping timeout: 258 seconds]
<Hanmac1> veleno: okay there are big changes ... *_methods returns an array of symbols, not an array of strings, str[nr] returns an "char" and no number, same for ?char, case when allows now when val : func anymore there is ; better. Strings and other like Regex, Match Data, and Symbol have now encodings and Iconv was removed, String is not an Enumerable anymore, and for 2.0 lines and each_line react different,
thebastl_ has joined #ruby
thebastl_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
sambio has quit [Client Quit]
wting has joined #ruby
monkegjinni has joined #ruby
malte_ has joined #ruby
Neomex has quit [Quit: Neomex]
hogeo has quit [Remote host closed the connection]
znode has quit [Remote host closed the connection]
hogeo has joined #ruby
thebastl has quit [Ping timeout: 255 seconds]
eliasp has quit [Read error: Connection reset by peer]
alainus has left #ruby ["Leaving"]
eliasp has joined #ruby
girija has quit [Ping timeout: 256 seconds]
fmcgeough has joined #ruby
smigg has joined #ruby
ffranz has joined #ruby
interactionjaxsn has joined #ruby
wallerdev has joined #ruby
<lolmaus> Does the hash sign # mean something in Ruby regular expressions?
wallclockbuilder has joined #ruby
<Hanmac1> lolmaus: /#{}/ is the same as in "#{}" for string interpolaration
hogeo has quit [Ping timeout: 276 seconds]
<lolmaus> Hanmac1, i have it without curved braces.
failshell has joined #ruby
wallcloc_ has joined #ruby
baba has quit [Ping timeout: 276 seconds]
wallclockbuilder has quit [Read error: Connection reset by peer]
<Hanmac1> then it means nothing special
marcdel has quit [Ping timeout: 256 seconds]
<lolmaus> Hanmac1, i'm trying to decypher this: .gsub!(/\\([\\#])/, '\1')
dawkirst has quit [Ping timeout: 256 seconds]
wallclockbuilder has joined #ruby
<tobiasvl> lolmaus: wasn't my interpretation correct?
<lolmaus> tobiasvl, i failed to grasp it :(
d3c has quit [Ping timeout: 255 seconds]
<tobiasvl> <tobiasvl> it replaces \\ and \# with \ and # respectively?
<tobiasvl> <tobiasvl> so it un-escapes those sequences
<tobiasvl> just ask about my explanation if you didn't get it :)
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
<tobiasvl> i might be wrong too though
dayom has joined #ruby
<tobiasvl> but if you have some more code or test cases it could be easier
wallclo__ has joined #ruby
Flex has quit [Read error: Connection reset by peer]
<tobiasvl> but afaics it replaces a \ followed by either a \ or a # with just the \ or #
<tobiasvl> \1 means "the match inside the () in the regex)
wallcloc_ has quit [Ping timeout: 260 seconds]
marcdel has joined #ruby
baba has joined #ruby
<tobiasvl> and \\ means \ (it has to be escaped in the regex as well)
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
jlast has joined #ruby
<lolmaus> tobiasvl, doesn't the regexp turn into `\\#` after mentally removing all escaped characters?
shock_one has joined #ruby
wallclockbuilder has quit [Ping timeout: 245 seconds]
tymat has joined #ruby
tymat is now known as starburst
zigomir has quit [Quit: zigomir]
sambao21 has quit [Quit: Computer has gone to sleep.]
browndawg has joined #ruby
<tobiasvl> lolmaus: mentally?
wyhaines has joined #ruby
dkannan has quit [Quit: dkannan]
monkegjinni has quit [Ping timeout: 256 seconds]
heliumsocket has quit [Quit: heliumsocket]
monkegjinni has joined #ruby
freezey has joined #ruby
sambao21 has joined #ruby
slainer6_ has quit [Remote host closed the connection]
Gruu_ has quit [Quit: Gruu_]
<MrZYX> lolmaus: tobiasvl my interpretation would be that it removes \ before \ or #
<MrZYX> \\ gets \, \# gets #
eliasp_ has joined #ruby
slainer68 has joined #ruby
wallclockbuilder has joined #ruby
codecop has quit [Remote host closed the connection]
eliasp has quit [Read error: Connection reset by peer]
<tobiasvl> yes
<tobiasvl> same as mine
<injekt> lol
dawkirst has joined #ruby
jtharris has joined #ruby
<tobiasvl> but nobody's tested it yet :)
<tobiasvl> lolmaus: what exactly is your question
wallcloc_ has joined #ruby
zeroeth has joined #ruby
shock_one has quit [Ping timeout: 255 seconds]
jacktrick has joined #ruby
yacks has quit [Ping timeout: 264 seconds]
wallclo__ has quit [Ping timeout: 245 seconds]
browndawg has quit [Quit: Leaving.]
Neomex has joined #ruby
adamjleonard has joined #ruby
wallclo__ has joined #ruby
<tobiasvl> hehe
terrorpup has quit [Ping timeout: 256 seconds]
<tobiasvl> not a big surprise
<tobiasvl> but lolmaus was wondering what it did so i hope he chimes in if he still doesn't get it
wallclockbuilder has quit [Ping timeout: 255 seconds]
ttt has joined #ruby
yacks has joined #ruby
heliumsocket has joined #ruby
wallclockbuilder has joined #ruby
eliasp_ has quit [Quit: No Ping reply in 180 seconds.]
ananthakumaran has quit [Quit: Leaving.]
Neomex has quit [Client Quit]
wallcloc_ has quit [Ping timeout: 256 seconds]
thibauts has quit [Read error: Operation timed out]
eliasp has joined #ruby
seq99 has quit [Read error: Connection reset by peer]
xaq has quit [Remote host closed the connection]
tdelam has joined #ruby
drale2k has quit [Quit: Leaving...]
mockra has joined #ruby
seq99` has joined #ruby
wallcloc_ has joined #ruby
wallclo__ has quit [Ping timeout: 245 seconds]
theRoUS has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
ttt has quit [Ping timeout: 276 seconds]
monkegji_ has joined #ruby
yacks has quit [Max SendQ exceeded]
wallclo__ has joined #ruby
yacks has joined #ruby
iainjames88 has joined #ruby
<apeiros_> failshell: hehe, nice catch-phrase
iainjames88 has left #ruby [#ruby]
wallclockbuilder has quit [Ping timeout: 264 seconds]
<apeiros_> (nagging as a service)
monkegjinni has quit [Ping timeout: 248 seconds]
<failshell> we're very non-happy with pager duty
<failshell> going to investigate that tool soonish
thibauts has joined #ruby
<apeiros_> pager… you're US based?
<failshell> canada
<xll11> my_hash.each_key { |k| print k, " " }
<xll11> # ==> one two three
<xll11> my_hash.each_value { |v| print v, " " }
<xll11> # ==> 1 2 3
mockra has quit [Ping timeout: 246 seconds]
<xll11> so, k is a reserved variable for key, and v for value?
<xll11> I thought the variables in the || are arbitrary
drale2k has joined #ruby
wallcloc_ has quit [Ping timeout: 258 seconds]
<apeiros_> xll11: they are arbitrary
ExxKA has joined #ruby
<xll11> ah, never mind
<apeiros_> you changed the method
<xll11> I just saw each_key, each_value
<xll11> my bad :(
<apeiros_> :)
puppeh has quit [Remote host closed the connection]
drale2k has quit [Client Quit]
timmow_ has joined #ruby
_nitti has quit [Remote host closed the connection]
jon_w has quit [Read error: Connection reset by peer]
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
wallclockbuilder has joined #ruby
v0n has joined #ruby
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
lewix_ has quit [Remote host closed the connection]
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
yacks has quit [Ping timeout: 245 seconds]
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
nkts has quit []
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
kpshek has joined #ruby
nari has quit [Ping timeout: 246 seconds]
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
gaahrdner has joined #ruby
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
_nitti has joined #ruby
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
wallerdev has quit [Quit: wallerdev]
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
wallclo__ has quit [Ping timeout: 276 seconds]
timmow_ has quit [Ping timeout: 252 seconds]
jon_w has joined #ruby
jon_w has quit [Excess Flood]
jon_w has joined #ruby
jon_w has quit [Excess Flood]
pydave6367 has joined #ruby
marcdel has quit [Ping timeout: 256 seconds]
SCommette has joined #ruby
mmitchell has joined #ruby
bean has joined #ruby
mmitchell has quit [Remote host closed the connection]
mmitchell has joined #ruby
carloslopes has quit [Remote host closed the connection]
marcdel has joined #ruby
wolcanus has joined #ruby
jon_w has joined #ruby
jurassic_ has joined #ruby
freerobby has joined #ruby
frem has joined #ruby
frem has quit [Excess Flood]
braoru has quit [Quit: Leaving]
<xll11> user_input = gets.chomp
<xll11> user_input.downcase!
<xll11> is different from
<xll11> user_input = gets.chomp.downcase!
<xll11> ?
<Hanmac1> xll11: downcase! can return nil
<MrZYX> remove the bang and you get the same result
jurassic_ has quit [Client Quit]
<injekt> dont use bang methods in assignment
<xll11> alright
tspike has joined #ruby
<xll11> any reason tho?
<injekt> because of what Hanmac1 said
<xll11> aha
<injekt> bang methods modify the receiver, they might not return anything useful
<xll11> downcase! return nil if nothing has been downcase'd?
<Hanmac1> or do that: :P user_input = gets.tap(&:chomp!).tap(&:downcase)
<injekt> xll11: exactly
<xll11> hey hey hey no fancy symbols yet!
<xll11> need to get use to that language syntax :D
dhruvasagar has joined #ruby
<MrZYX> Hanmac1: if you troll do it right and don't miss the bang on :downcase :P
_nitti has quit [Remote host closed the connection]
<Hanmac1> ups :P
ckrailo has joined #ruby
yacks has joined #ruby
Uranio has quit [Quit: while you reading this, a kitty dies]
<xll11> what tap method does? :o
dsadsdasd has quit [Quit: Leaving.]
io_syl has quit [Quit: Computer has gone to sleep.]
tobiasvl has quit [Quit: reboot for new kernel]
hiyakashi has joined #ruby
tagrudev has quit [Remote host closed the connection]
w400z has joined #ruby
thinkdevcode has joined #ruby
browndawg has joined #ruby
thinkdevcode has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
fourq has quit [Disconnected by services]
thinkdevcode has joined #ruby
elux has joined #ruby
_nitti has joined #ruby
jurassic_ has joined #ruby
wallerdev has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
kpshek has quit []
cableray has joined #ruby
akashj87 has joined #ruby
vlad_starkov has joined #ruby
browndawg has quit [Client Quit]
vlad_sta_ has joined #ruby
slainer6_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
Guest61083 has joined #ruby
<xll11> mhm
<xll11> interesting, didnt quite understand :p
tootooroo has joined #ruby
macabhaird has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
jurassic_ has quit [Quit: jurassic_]
ananthakumaran has joined #ruby
kpshek has joined #ruby
slainer68 has quit [Ping timeout: 245 seconds]
dsadsdasd has joined #ruby
slainer6_ has quit [Read error: Connection reset by peer]
akashj87__ has joined #ruby
jurassic_ has joined #ruby
freerobby has quit [Quit: Leaving.]
slainer68 has joined #ruby
vereteran has quit [Quit: ZNC - http://znc.in]
slainer68 has quit [Read error: Connection reset by peer]
jacktrick has quit [Quit: Leaving]
tvl has joined #ruby
jpfuentes2 has joined #ruby
tvl is now known as Spug
Czupa has joined #ruby
akashj87 has quit [Ping timeout: 245 seconds]
<Mon_Ouie> def tap; yield self; self; end
<Mon_Ouie> That is, it just runs the block and returns self
slainer68 has joined #ruby
<flori> ls
naquad has joined #ruby
atno is now known as atno|AFK
MetaCosm has quit [Excess Flood]
slainer68 has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
MetaCosm has joined #ruby
slainer68 has joined #ruby
akashj87__ has quit [Quit: laeving]
terrorpup has joined #ruby
terrorpup has joined #ruby
terrorpup has quit [Changing host]
akashj87 has joined #ruby
MetaCosm has quit [Excess Flood]
az has joined #ruby
buibex has joined #ruby
slainer6_ has joined #ruby
MetaCosm has joined #ruby
cableray has quit [Quit: cableray]
banister_ has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
slainer68 has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
carloslopes has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
pavilionXP has joined #ruby
xjunior has joined #ruby
statarb3 has quit [Quit: Leaving]
yalue has quit [Ping timeout: 260 seconds]
MetaCosm has quit [Excess Flood]
anderse has joined #ruby
MetaCosm has joined #ruby
frem has joined #ruby
frem has quit [Max SendQ exceeded]
Vainoharhainen has quit [Quit: Leaving...]
fmcgeough has quit [Quit: fmcgeough]
freeayu has quit [Remote host closed the connection]
a_a_g1 has joined #ruby
dayom has quit [Quit: dayom]
pygmael has quit [Quit: pygmael]
dhruvasagar has joined #ruby
hogeo has joined #ruby
coaster_ is now known as coaster
sonda has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 245 seconds]
k610 has joined #ruby
oddraisi1 is now known as oddraisin
razibog has quit [Ping timeout: 256 seconds]
carloslopes has quit [Ping timeout: 276 seconds]
aganov has quit [Quit: aganov]
aeontech has quit [Quit: aeontech]
moos3 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
sambio has joined #ruby
sambio has joined #ruby
Neomex has joined #ruby
pduin has quit [Remote host closed the connection]
jurassic_ has quit [Quit: jurassic_]
maxmanders has quit [Quit: Computer has gone to sleep.]
wallcloc_ has joined #ruby
sayan has joined #ruby
eliasp_ has joined #ruby
eliasp has quit [Ping timeout: 258 seconds]
hogeo has quit [Remote host closed the connection]
peterhellberg has quit [Remote host closed the connection]
yalue has joined #ruby
hogeo has joined #ruby
artem has joined #ruby
mockra has joined #ruby
mengu has quit [Quit: Konversation terminated!]
madb055 has quit [Ping timeout: 256 seconds]
slainer68 has joined #ruby
generalissimo has joined #ruby
wallclockbuilder has quit [Ping timeout: 255 seconds]
bricker`LA has quit [Ping timeout: 255 seconds]
moos3 has joined #ruby
huoxito has quit [Ping timeout: 248 seconds]
bricker`LA has joined #ruby
bashdy has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
mockra has quit [Ping timeout: 245 seconds]
sayan has quit [Ping timeout: 245 seconds]
hogeo has quit [Ping timeout: 276 seconds]
slainer6_ has quit [Ping timeout: 258 seconds]
doodlehaus has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
timmow_ has joined #ruby
kaichanvong has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
machty has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
rickmasta has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
randym has quit [Ping timeout: 240 seconds]
alex__c2022 has joined #ruby
<machty> Hi all, I'd like to use capybara to test a folder structure that'll eventually be hosted on a simple http folder-based server. How do I do such a thing? Is there a way to spin up a server at the beginning of the test suite and then close it afterwards? Does that need to happen on a separate thread? Thanks in advance!
timmow_ has quit [Ping timeout: 252 seconds]
jeffreylevesque has joined #ruby
benwoody has joined #ruby
<jeffreylevesque> hello
NimeshNeema has quit [Ping timeout: 260 seconds]
<jeffreylevesque> I'm running ruby200, how do i change the version to ruby193?
<Hanmac1> with a time maschine? :P
<jeffreylevesque> haha, nice!
benwoody has left #ruby [#ruby]
rcsheets has quit [Disconnected by services]
foofoobar has joined #ruby
<Hanmac1> the better question is: "why" do you want to change the version back to 1.9.3?
mneorr has joined #ruby
baroquebobcat has joined #ruby
sailias has joined #ruby
<apeiros_> jeffreylevesque: rvm use 1.9.3 --default
<apeiros_> :-p
unstable has quit [Ping timeout: 245 seconds]
rippa has joined #ruby
<jeffreylevesque> i navigated to my C:\ directory and after running rvm use 1.9.3 --default
<jeffreylevesque> it says: sh.exe": rvm: command not found
pothibo has joined #ruby
<apeiros_> jeffreylevesque: rvm is a tool, you'd have to install ruby using rvm. but I don't know whether rvm runs on windows at all.
<apeiros_> http://rvm.io - you can check there. it won't help with a ruby you installed without rvm, though.
apeiros_ has quit [Remote host closed the connection]
sayan has joined #ruby
frem has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
drale2k has joined #ruby
browndawg has joined #ruby
NiteRain has joined #ruby
dkannan has joined #ruby
rasbonics has joined #ruby
huoxito has joined #ruby
rasbonics has left #ruby [#ruby]
verysoftoiletppr has quit []
dsadsdasd has quit [Quit: Leaving.]
JonnieCa1he has quit [Quit: leaving]
monkegjinni has quit [Ping timeout: 258 seconds]
adamjleonard has quit [Quit: Leaving...]
moted has joined #ruby
buibex has quit [Remote host closed the connection]
eliasp has joined #ruby
echevemaster has quit [Read error: Connection timed out]
eliasp_ has quit [Ping timeout: 258 seconds]
brendan` has joined #ruby
dayom has joined #ruby
<brendan`> morning.. im in the process of learning ruby and are attempting to write a local script to get the pids of all processes running under a particular user.. I came across the Process module, but im not sure if that's the best tool for the job
Spug is now known as tobiasvl
awkwords has joined #ruby
mikepack has joined #ruby
hogeo has joined #ruby
<awkwords> 1.9.3p385 :022 > Time.now - 24.00 => 2013-04-02 11:33:36 -0400
<awkwords> how do i subtract hours not secs?
<MrZYX> *3600
buibex has joined #ruby
drale2k has quit [Quit: Leaving...]
Ontolog has joined #ruby
mockra has joined #ruby
wolcanus has quit [Remote host closed the connection]
xjunior has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
casheew has quit [Read error: Connection reset by peer]
uris has joined #ruby
casheew has joined #ruby
geggam_wk has joined #ruby
lolmaus has quit []
casheew has quit [Read error: Connection reset by peer]
MetaCosm has quit [Excess Flood]
miso1337 has quit [Quit: afk]
MetaCosm has joined #ruby
hamakn has quit [Remote host closed the connection]
eliasp has quit [Read error: Connection reset by peer]
eliasp has joined #ruby
codezombie has quit [Quit: Linkinus - http://linkinus.com]
casheew has joined #ruby
_nitti_ has joined #ruby
_nitti has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
echevemaster has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
yashshah has quit [Read error: Connection reset by peer]
C0deMaver1ck has quit [Ping timeout: 264 seconds]
AzizLight has quit [Ping timeout: 276 seconds]
yashshah_ has quit [Read error: Connection reset by peer]
C0deMaver1ck has joined #ruby
C0deMaver1ck has quit [Changing host]
C0deMaver1ck has joined #ruby
psyprus has quit [Changing host]
psyprus has joined #ruby
chimmy has joined #ruby
sailias has joined #ruby
pygmael has joined #ruby
yashshah_ has joined #ruby
sailias has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
buscon has quit [Quit: Leaving]
<brendan`> any ideas on how to get the list of processes of a particular linux user?
Neomex has quit [Quit: Neomex]
monkegjinni has joined #ruby
yashshah_ has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
bashdy has quit []
girija has joined #ruby
<bean> brendan`: not really a ruby question lol
<bean> ps -U user
lewix has joined #ruby
apeiros_ has joined #ruby
dsadsdasd has joined #ruby
lewix_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
dr_bob1 has joined #ruby
dawkirst has quit [Ping timeout: 245 seconds]
etcetera has joined #ruby
kenichi_ has quit [Quit: ZNC - http://znc.sourceforge.net]
dr_bob1 has quit [Read error: Connection reset by peer]
dr_bob has quit [Ping timeout: 256 seconds]
jamie_ca_ has joined #ruby
ananthakumaran has joined #ruby
_nitti_ has quit [Ping timeout: 245 seconds]
stkowski has joined #ruby
cableray has joined #ruby
DrShoggoth has quit [Quit: Leaving]
dhruvasagar has joined #ruby
<brendan`> well, it is if im trying to do it in ruby bean
k610 has quit [Ping timeout: 276 seconds]
buibex has quit [Remote host closed the connection]
eliasp has quit [Read error: Connection reset by peer]
<linduxed> assuming 'green = "Green"' and 'blue = "Blue"' i've written 'puts "I like the colors %s and %s" % [green, blue]'
eliasp has joined #ruby
<linduxed> this works, but i don't want the colors capitalized
slakware has joined #ruby
lewix has quit [Ping timeout: 258 seconds]
robscomputer_ has joined #ruby
<linduxed> so i thought i'd do '[green, blue].each.downcase', but it doesn't work :-S
kenyabob has joined #ruby
<brendan`> my goal is to use a ruby script to get the PIDs for a particular linux user, check the running times, and alert if over 'x' running time via our monitoring
arya has joined #ruby
<breakingthings> brendan`: that's merely interfacing with another language, bash!
<linduxed> could someone explain what i'm doing wrong?
<breakingthings> don't be silly!
_nitti has joined #ruby
jurassic_ has joined #ruby
<bean> brendan`: https://github.com/djberg96/sys-proctable seems to be able to do that, but you'd have to know the UID, not the name.
<breakingthings> linduxed: 'downcase' returns an equivalent string, in downcase
<Rumsteak> linduxed: well, you could use [green.downcase, blue.downcase]
<breakingthings> I believe you would be intending downcase!, no?
<breakingthings> no
<breakingthings> that wouldn't..
chussenot has quit [Quit: chussenot]
<breakingthings> still because that's not a method on enum
<breakingthings> but that's maybe part of it
dsadsdasd has quit [Ping timeout: 256 seconds]
<linduxed> i get this
<linduxed> ex5.rb:11:in `<main>': undefined method `downcase' for #<Enumerator: ["Green", "Brown"]:each> (NoMethodError)
MetaCosm has quit [Excess Flood]
Squarepy has quit [Quit: Leaving]
<eval-in> bean => /tmp/execpad-8520ad24c73f/source-8520ad24c73f:2:in `eval': wrong number of arguments (0 for 1..4) (ArgumentError) ... (http://eval.in/14432)
io_syl has joined #ruby
<bean> herp derp
<bean> forgot i had >> on the front
Squarepy has joined #ruby
<breakingthings> ye, that's better.
hmarr has quit []
jurassic_ has quit [Client Quit]
<linduxed> Rumsteak: that works, but i was mostly wondering why i couldn't do it with the each
MetaCosm has joined #ruby
MetaCosm has quit [Excess Flood]
<linduxed> Rumsteak: i might have misunderstood how it all works
<breakingthings> linduxed: see bean's eval.in post
MetaCosm has joined #ruby
MetaCosm has joined #ruby
MetaCosm has quit [Changing host]
MetaCosm has quit [Excess Flood]
<breakingthings> linduxed: you were calling Enumerable#downcase
<breakingthings> which doesn't exist
<bean> linduxed: http://eval.in/14431
<Rumsteak> linduxed: I didn't see any each in your code sorry
dhruvasagar has quit [Ping timeout: 246 seconds]
wolcanus has joined #ruby
MetaCosm has joined #ruby
MetaCosm has quit [Excess Flood]
<linduxed> oooh
sailias has joined #ruby
<linduxed> i haven't yet learned about the &: things
jbueza has joined #ruby
MetaCosm has joined #ruby
MetaCosm has quit [Changing host]
MetaCosm has joined #ruby
MetaCosm has quit [Excess Flood]
Ontolog has quit [Remote host closed the connection]
MetaCosm has joined #ruby
MetaCosm has quit [Excess Flood]
<Hanmac1> linduxed: each returns self, map does return new array
banjara has joined #ruby
malcolmva has quit [Quit: Leaving]
<breakingthings> linduxed: I believe it's the same as [green,blue].each { |a| a.downcase }
jurassic_ has joined #ruby
<linduxed> ok, this looks like the stuff i'll be learning quite soon
voodoofish430 has joined #ruby
<apeiros_> [green,blue].each { |a| a.downcase } # is relatively pointless, though
* apeiros_ assumes that has been said already?
flak has joined #ruby
apok has quit [Quit: apok]
lewix_ is now known as lewix
lewix has quit [Changing host]
lewix has joined #ruby
flak is now known as Guest40383
rippa has quit [Read error: Connection reset by peer]
<breakingthings> apeiros_: as in, in comparison to (&:downcase)? If so then yeah, I was just providing an analogy because I didn't get it at first until I saw it as that.
MetaCosm has joined #ruby
<apeiros_> breakingthings: .each(&:downcase) is equivalently pointless
<apeiros_> since you throw away the result
<breakingthings> apeiros_: how so?
<breakingthings> oh
<breakingthings> it's being used in "" % []
<apeiros_> >> %w[HELLO WORLD].each(&:downcase)
<eval-in> apeiros_ => ["HELLO", "WORLD"] (http://eval.in/14433)
mneorr has quit [Remote host closed the connection]
MetaCosm has quit [Excess Flood]
<apeiros_> >> %w[HELLO WORLD].map(&:downcase)
<eval-in> apeiros_ => ["hello", "world"] (http://eval.in/14434)
<apeiros_> >> %w[HELLO WORLD].each(&:downcase!)
<eval-in> apeiros_ => ["hello", "world"] (http://eval.in/14435)
* apeiros_ prefers .map
<lewix> apeiros_: same thing for each { |a| a.downcase}
<apeiros_> lewix: yes, as said :)
<lewix> oh sorry
dawkirst has joined #ruby
<breakingthings> >>green = 'Green'; blue = 'blue'; puts "I like %s and %s" % [green,blue].each(&:downcase);
<eval-in> breakingthings => I like Green and blue ... (http://eval.in/14436)
cableray has quit [Quit: cableray]
<breakingthings> hmm
malcolmva has joined #ruby
MetaCosm has joined #ruby
MetaCosm has quit [Excess Flood]
<breakingthings> you are right
<Hanmac1> .each(&:downcase!) would work, but i would not recoment that
<breakingthings> >>green = 'Green'; blue = 'Blue'; puts "I like %s and %s" % [green,blue].map(&:downcase);
<eval-in> breakingthings => I like green and blue ... (http://eval.in/14437)
malcolmva has quit [Client Quit]
<apeiros_> @ linduxed, the difference between map with downcase and each with downcase!:
malcolmva has joined #ruby
malte_ has quit [Quit: malte_]
<apeiros_> >> a = "HELLO"; b = "WORLD"; [a,b].each(&:downcase!); [a, b]
<eval-in> apeiros_ => ["hello", "world"] (http://eval.in/14438)
mephux has quit [Excess Flood]
<apeiros_> >> a = "HELLO"; b = "WORLD"; [a,b].map(&:downcase); [a, b]
<eval-in> apeiros_ => ["HELLO", "WORLD"] (http://eval.in/14439)
binw has quit [Read error: Connection reset by peer]
<apeiros_> i.e., downcase! will mutate the object itself, it doesn't return a copy
<apeiros_> map and downcase will perform the operation on a copy
pygmael has quit [Quit: pygmael]
<linduxed> apeiros_: oh so there is a map command, i'll try that then
<linduxed> apeiros_: i'm coming off of a couple of weeks of programming in haskell
<apeiros_> method, not command (and if you were in query vs. command lingo, it'd be query anyway :-p)
<linduxed> apeiros_: this place feels alien :-S
k610 has joined #ruby
timmow_ has joined #ruby
adamjleonard has joined #ruby
MetaCosm has joined #ruby
<lewix> linduxed: welcome back to earth
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<linduxed> hahaha
DrShoggoth has joined #ruby
mephux has joined #ruby
<linduxed> lewix: i still love it and intend to code in both
mpfundstein_ has quit [Remote host closed the connection]
maletor has joined #ruby
<linduxed> but i need to get my ruby going
pydave6367 has quit [Ping timeout: 264 seconds]
k611 has joined #ruby
<linduxed> "back to earth"... haha, good one
<Rumsteak> goone one yes :D
<Rumsteak> good*
tomsthumb has joined #ruby
rickmasta has quit [Quit: Leaving...]
<linduxed> it's weird when even a high level language like ruby feel "odd" after haskell
dsadsdasd has joined #ruby
<linduxed> *feels
<brendan`> bean, ty for the gem
<bean> brendan`: np
x0F has quit [Ping timeout: 256 seconds]
<linduxed> makes me think it might be the other way around :-P
rakm_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<brendan`> ill see if the devs are ok with that being added to a production box
alexyz has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
eliasp has joined #ruby
timmow_ has quit [Ping timeout: 252 seconds]
k610 has quit [Ping timeout: 240 seconds]
MetaCosm has quit [Excess Flood]
kenichi has joined #ruby
MetaCosm has joined #ruby
BizarreCake has quit [Ping timeout: 256 seconds]
Es0teric has joined #ruby
<slakware> what orm would you guys suggest for a standalone ruby app?
Taranis has quit [Quit: leaving]
Matip has quit [Quit: Leaving]
thebastl has joined #ruby
aeontech has joined #ruby
<bean> brendan`: is this for monitoring? I use nagios for a similar thing and didn't get a whole lot of value out of that metric
dawkirst has quit [Remote host closed the connection]
jurassic_ has quit [Quit: jurassic_]
<brendan`> we use zabbix, but zabbix can't monitor how long a process has been running for
rickmasta has joined #ruby
<brendan`> the devs use delayed_jobs and sometimes those processes run for too long & are hung up.. boss wants me to check for any processes running for 4hrs+ and alert
<brendan`> trying to script using the best possible language (either bash or ruby) to do these checks
thebastl has quit [Remote host closed the connection]
hmarr has joined #ruby
<Hanmac1> hihihi 4hrs+ :P my home pc is online for more than a month :P
<brendan`> ?
tevio has quit [Remote host closed the connection]
veleno has quit [Quit: veleno]
rdev is now known as rdev5
wallclockbuilder has joined #ruby
jon_w has quit [Read error: Connection reset by peer]
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
dmiller has joined #ruby
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
angusiguess has quit [Ping timeout: 260 seconds]
mahmoudimus has joined #ruby
awc737 has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
wallcloc_ has quit [Ping timeout: 245 seconds]
wallcloc_ has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
<awc737> Can I run Capistrano and not have access to the host?
kenyabob has quit [Quit: kenyabob]
<awc737> periodically I need to pull from a production server I don't have access on
eldariof has joined #ruby
pavilionXP has quit [Write error: Connection reset by peer]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
w400z has quit []
unstable has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
cantonic is now known as cantonic|away
jon_w has joined #ruby
jon_w has quit [Max SendQ exceeded]
wallclockbuilder has quit [Ping timeout: 245 seconds]
kpshek has quit []
Davey has joined #ruby
wallclockbuilder has joined #ruby
slainer68 has quit [Remote host closed the connection]
BizarreCake has joined #ruby
wallcloc_ has quit [Ping timeout: 245 seconds]
jon_w has joined #ruby
jon_w has quit [Excess Flood]
Neomex has joined #ruby
apok has joined #ruby
chrishough has quit [Quit: chrishough]
freerobby has quit [Quit: Leaving.]
w400z has joined #ruby
mafolz has quit [Ping timeout: 260 seconds]
pothibo has quit [Quit: pothibo]
MetaCosm has quit [Excess Flood]
zeade has joined #ruby
tylersmith has joined #ruby
beneggett has joined #ruby
glosoli has joined #ruby
<glosoli> hello, anyone could recommend me some sort of advanced Ruby books ?
malcolmva has quit [Quit: Leaving]
<glosoli> tobiasvl: thanks :)
MissionCritical has quit [Ping timeout: 255 seconds]
<tobiasvl> and also http://www.amazon.com/Design-Patterns-Ruby-Russ-Olsen/dp/0321490452 (by the same author) is supposedly good, haven't read it myself though
<Hanmac1> i wountnt buy a book about design patterns in ruby ... most of the stuff is allready build in like singleton or delegator
MetaCosm has joined #ruby
jon_w has joined #ruby
adamjleonard has quit [Quit: Leaving...]
apod has quit []
<GeekOnCoffee> holy shit I know that dude
bigoldrock has joined #ruby
<glosoli> awc737: what the... ?
<apeiros_> Hanmac1: better than buying a java design patterns book and trying to apply it in ruby :D
<awc737> +4
drale2k has joined #ruby
<glosoli> awc737: I would not go to php for million dollars, sorry :)
* Hanmac1 would never buy a java book
* glosoli would never buy or use free php book..
maxmanders has joined #ruby
Tarential has quit [Excess Flood]
* apeiros_ would never buy a free book either
<awc737> not even for a million dollars?
Tarential has joined #ruby
forrest has joined #ruby
bitcycle has joined #ruby
daed has quit [Ping timeout: 248 seconds]
<glosoli> awc737: that's hyperbolism ;d
seme has joined #ruby
<bitcycle> Hey all. Can someone advise me on how to parse positional arguments (without specifying a name for the argument) to a script? For example: ruby test.rb arg1 arg2 arg3
<tobiasvl> splat operator?
sepp2k has joined #ruby
<apeiros_> bitcycle: ARGV contains all of them
<awc737> do Capistrano capfiles contain passwords?
<apeiros_> other than that - depends entirely on what you want to do with it
<apeiros_> awc737: if you write on into it…
<Hanmac1> bitcycle: you need to seperate them with "-"
* apeiros_ thinks passwords don't belong there
<awc737> do you need to?
<awc737> ok
<apeiros_> Hanmac1: wah?
<awc737> i need to figure out how to sync my dev with production, without getting prod server access
<bitcycle> Hanmac1: what?
chrishough has joined #ruby
<apeiros_> awc737: golden rule - don't put passwords into files you have in your version control
wallclockbuilder has quit [Ping timeout: 245 seconds]
<bitcycle> Hanmac1: Why would i need to separate them with a dash?
<bean> awc737: that seems unlikely, as at some point the script will have to access the prod stuff, no?
lkba has joined #ruby
<awc737> not sure why capfile needs to be versioned
glosoli has left #ruby [#ruby]
havenwood has joined #ruby
<bean> ... lol
<awc737> exactly bean, that was my confusion...
<Hanmac1> ups i was wrong
<awc737> if they set up an intermediary server to pull from prod, and I pull from the intermediate... can't I read the intermediate scripts?
bradleyprice has joined #ruby
brendan` has quit [Ping timeout: 264 seconds]
Mission-Critical has joined #ruby
banjara has quit [Quit: Leaving.]
<xll11> Howdy! Is there a website with a 'code pool' where I can see different projects for learning purposes?
dhruvasagar has joined #ruby
<havenwood> xll11: Github!
dkannan has quit [Ping timeout: 245 seconds]
<bitcycle> Can someone advise me on how to exit a ruby script with non-zero status to indicate a failure state?
internet_user has joined #ruby
<awc737> x1111 ruby tutorials for days... the internet... googles
<havenwood> bitcycle: abort
brendan-_ has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
<brendan-_> bean, are you doing something similar?
<xll11> havenwood never really udnerstood github :9(
mityaz has joined #ruby
<havenwood> xll11: Read through every Github project on my acct and then report back! https://github.com/havenwood
<xll11> maybe its time for me to make amense
<tobiasvl> havenwood: abort doesn't give a specific exit code though? just 1?
<brendan-_> if so, how did you manage to set this up
<havenwood> xll11: It has gotten easier to use as they improve it. Give it another go!
<awc737> x1111 just look at it... it's not any more complicated than that... you just look at things
<tobiasvl> bitcycle: exit(number) ?
chandankumar has joined #ruby
<awc737> you can download .zip files if you want
Guest61083 has quit [Ping timeout: 245 seconds]
<havenwood> tobiasvl: exit and abort both take optional alternative exit numbers (1 is default).
himsin has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.3.8]
<bean> brendan-_: no, i don't monitor long running processes
<havenwood> (1 is default for abort**)
<Hanmac1> havenwood: abort take exit message not exit number
<awc737> bean, does my confusion about the intermediary server make sense?
hamakn has joined #ruby
<bean> I'm unsure
freerobby has joined #ruby
JMcAfreak has joined #ruby
<xll11> havenwood what am I to look at? popular reposteries?
<havenwood> xll11: Yup.
daed has joined #ruby
brendan-__ has joined #ruby
angusiguess has joined #ruby
rupee has joined #ruby
<havenwood> Hanmac1: Good point. I usually exit with 1, didn't realize abort didn't take an optional alternative status num.
timmow has quit [Ping timeout: 252 seconds]
brendan-_ has quit [Read error: Connection reset by peer]
adkron has quit [Ping timeout: 260 seconds]
<xll11> this is chinese to me! where are the newbie projects!! :p
wallclockbuilder has joined #ruby
apeiros_ has quit [Remote host closed the connection]
eliasp has quit [Read error: Connection reset by peer]
<havenwood> tobiasvl: If you want a non-1 status, instead of abort you could do: warn "msg here"; exit 42
eliasp has joined #ruby
chandankumar is now known as chandan_kumar
nfk has quit [Quit: yawn]
<awc737> can I run Capistrano from a server, pushing actions onto another server? (backwards)?
_nitti_ has joined #ruby
breakingthings has quit []
<awc737> so run tasks as the host, onto the slaves
<havenwood> xll11: Here is an uber-simple Ruby project (check the README, then look in /lib and /test): https://github.com/havenwood/deck-of-cards
chandan_kumar is now known as chandankumar
hamakn has quit [Ping timeout: 260 seconds]
echobin33 has joined #ruby
w400z has quit [Quit: Computer has gone to sleep.]
<havenwood> xll11: Can learn a lot perusing Ruby gems on Github and exploring them with Pry.
<Xeago> anyone mind sharing their resume with me, in need of some inspiration
mneorr has joined #ruby
girija has quit [Remote host closed the connection]
jgrevich has joined #ruby
sayan has quit [Ping timeout: 248 seconds]
becom33 has joined #ruby
w400z has joined #ruby
echobin33 has quit [Remote host closed the connection]
echobinary has joined #ruby
_nitti has quit [Ping timeout: 245 seconds]
eb_dev has joined #ruby
w400z has quit [Client Quit]
<becom33> in using readline for a interactive application . i was wondering if there a way I can do somthing like a top bar something on the top of the terminal . Im not talking about ncurses . just checking if there is anything that I can use for such a thing
robbyoconnor has joined #ruby
<havenwood> Xeago: I like the Github resume generator: http://resume.github.com/
end_guy has quit [Remote host closed the connection]
pcarrier_ has joined #ruby
_nitti_ has quit [Ping timeout: 245 seconds]
Mission-Critical is now known as MissionCritical
aeontech has quit [Quit: aeontech]
foobArrr has joined #ruby
carloslopes has joined #ruby
Sidfarkus has joined #ruby
_nitti has joined #ruby
daed has quit [Ping timeout: 248 seconds]
obs has quit [Quit: Konversation terminated!]
banjara has joined #ruby
elaptics is now known as elaptics`away
rickmasta has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby
Tricon has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
<Xeago> I like that they claim I am an advised github user
ExxKA has quit [Quit: This computer has gone to sleep]
browndawg has quit [Ping timeout: 248 seconds]
dr_bob has joined #ruby
mephux has quit [Excess Flood]
eliasp_ has joined #ruby
mephux has joined #ruby
mephux has quit [Changing host]
mephux has joined #ruby
browndawg has joined #ruby
bricker`LA has quit [Ping timeout: 258 seconds]
eliasp has quit [Ping timeout: 258 seconds]
Guest61083 has joined #ruby
dmiller has quit [Ping timeout: 245 seconds]
TorpedoSkyline has quit [Quit: Computer has gone to… zzzzz...]
<havenwood> eb_dev: Will likely have better luck with Rails issues in #RubyOnRails.
<eb_dev> havenwood: thanks, I'll try there :)
alvaro_o has joined #ruby
daed has joined #ruby
dhruvasagar has quit [Ping timeout: 258 seconds]
pkrnj has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
alup has quit [Quit: Leaving]
twoism has joined #ruby
rickmasta has joined #ruby
kaichanvong has joined #ruby
eb_dev has left #ruby [#ruby]
jeffreylevesque has quit [Read error: Connection reset by peer]
timmow has joined #ruby
c0rn has joined #ruby
tenmilestereo has joined #ruby
randym has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
bean has quit [Quit: Computer has gone to sleep.]
w400z has joined #ruby
marcdel has quit []
wallclockbuilder has quit [Remote host closed the connection]
NimeshNeema has joined #ruby
timmow has quit [Ping timeout: 252 seconds]
dsadsdasd has quit [Quit: Leaving.]
TempleD has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
Squarepy has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
momomomomo has joined #ruby
dr_bob has left #ruby [#ruby]
<TempleD> Has anyone here run into LoadErrors and NameErrors after trying to run "gem install bundler"? I've installed Ruby via rbenv.
<havenwood> TempleD: Sounds like an issue with shims (just a guess). Have you tried?: rbenv rehash
<TempleD> havenwood: I have indeed.
robbyoconnor has joined #ruby
<TempleD> havenwood: The command doesn't have to be run within a specific directory, does it?
ferdev has quit [Quit: ferdev]
daed has quit [Ping timeout: 264 seconds]
freakazoid0223 has joined #ruby
NuckingFuts has joined #ruby
<TempleD> havenwood: I can paste the complete error, if you want it.
Ontolog has joined #ruby
<havenwood> TempleD: I'm not entirely sure, I'm a chruby user, so no shims for me! <3 chruby!
Ontolog_ has joined #ruby
<havenwood> TempleD: I'd suggest pasting a gist, I'm sure an rbenv user can help.
<TempleD> I'm just trying to set up octopress, damnit!
<havenwood> TempleD: I'd look into it cause I'm curious, but have to run!
havenwood has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
brianpWins has joined #ruby
<TempleD> http://www.pastebin.com/3S7XCGKg , if anyone has some rbenv experience.
echevemaster has quit [Quit: Leaving]
RottenMuffin has joined #ruby
RottenMuffin has quit [Max SendQ exceeded]
echevemaster has joined #ruby
Ontolog has quit [Ping timeout: 252 seconds]
RottenMuffin has joined #ruby
RottenMuffin has quit [Max SendQ exceeded]
daed has joined #ruby
failshel_ has joined #ruby
_nitti has quit [Ping timeout: 260 seconds]
failshell has quit [Read error: Connection reset by peer]
BBonifield_ is now known as BBonifield
eliasp has joined #ruby
TorpedoSkyline has joined #ruby
eliasp_ has quit [Ping timeout: 258 seconds]
TorpedoSkyline has quit [Client Quit]
<Hanmac1> TempleD: ruby was not build with all needed dependcies
kpshek has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
mark_locklear has joined #ruby
echobinary has joined #ruby
shock_one has joined #ruby
<TempleD> Hanmac1: What else would I need?
<Hanmac1> what kind of linux do you run?
akemrir has quit [Quit: WeeChat 0.4.0]
<TempleD> Ubuntu.
<Paradox> dae le
<Hanmac1> TempleD apt-get build-dep ruby1.9.1
kpshek has quit [Client Quit]
akashj87__ has joined #ruby
hmarr has quit [Read error: Operation timed out]
thams has quit [Ping timeout: 240 seconds]
<TempleD> Throws an error... Says it can't lock the administration directory. More of a general error, I know.
rdark has quit [Quit: leaving]
indyrl has joined #ruby
indyrl has left #ruby [#ruby]
<MrZYX> TempleD: prepend sudo
<TempleD> Wait, hang on. It's been installing some updates. I'll wait until those are finished and try again. With any luck, that might be the cause of my problem.
<TempleD> MrZYX: I did so.
<MrZYX> oh updates, alright
monkegjinni has quit [Remote host closed the connection]
generalissimo has quit [Remote host closed the connection]
akashj87 has quit [Ping timeout: 245 seconds]
emmanuelux has joined #ruby
<Hanmac1> TempleD: you need to rebuild your ruby with rbenv again to get the changes working after you install the missing dev packages
wallclockbuilder has joined #ruby
momomomomo has quit [Quit: momomomomo]
devdazed has quit [Ping timeout: 248 seconds]
mockra has quit [Ping timeout: 255 seconds]
rickmasta has quit [Quit: Leaving...]
ferdev has joined #ruby
<Paradox> intensive mccare unit
Akuma has quit [Read error: Operation timed out]
pioz has joined #ruby
<TempleD> Hanmac: rbenv rehash, right?
alvaro_o has quit [Remote host closed the connection]
adamjleonard has joined #ruby
alvaro_o has joined #ruby
nomenkun has quit [Ping timeout: 256 seconds]
devdazed has joined #ruby
<Hanmac1> i does not know
<Paradox> yes
bitcycle has quit [Ping timeout: 245 seconds]
<Paradox> that rehashes the rbenvs
<Paradox> but no
<Paradox> that doesnt reinstall ruby
<Paradox> just ruby install 2.0.0-p0
BadQuanta has joined #ruby
<Paradox> i still need to do that to set my cert flags right
<Paradox> if i want to do anything with ssl
<Paradox> fugging os x
adamjleonard has quit [Client Quit]
<TempleD> I just need it for octopress, really.
xrq` is now known as xrq
<Paradox> shudder
eliasp_ has joined #ruby
Al_ has quit [Quit: Al_]
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
eliasp has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
<TempleD> So many damn hoops. xD
alexim has joined #ruby
drale2k has quit [Quit: Leaving...]
Akuma has joined #ruby
workmad3 has joined #ruby
<Paradox> you're honestly better off making a sinatra site
<Paradox> and using sinatra-static to generate html
etcetera has quit []
<Paradox> i respect imathis
<Paradox> but octopress is way too opinionated
arietis has quit [Ping timeout: 245 seconds]
blaxter_ has quit [Quit: foo]
kzrl has quit [Ping timeout: 246 seconds]
ananthakumaran has joined #ruby
* Hanmac1 could make a website in plain C
* apeiros_ did make a website with server in C :)
<TempleD> Paradox: Has the advantage of not requiring me to learn Ruby. :p
etcetera has joined #ruby
* Paradox wrote a website in INTERCAL
<Paradox> ruby on rails is old
<Paradox> intercal on interstates is new
mercwithamouth has joined #ruby
<Paradox> TempleD, should learn ruby anyway
<Paradox> if you want something that just works and doesnt require you to learn ruby
<Paradox> i recommend wordpress
Monie has joined #ruby
<Paradox> but really, ruby rocks
<TempleD> I might look a bit into Ruby.
<shevy> TempleD you must learn ruby
<shevy> TempleD we will be your support team
<Paradox> to defeat the dark side
jerius has quit []
atno|AFK is now known as atno
<Paradox> learn ruby you must
<TempleD> What is the dark side?
<Paradox> php
<TempleD> xD
<shevy> TempleD the key is to learn only a minimal subset of what you need in ruby
<shevy> the rest may come automatically by simple usage alone (or you do what I do and just write things you need by yourself)
<TempleD> But I'm fine with Python and C#!
<shevy> ohhh
<shevy> ok
<TempleD> ...Oh god, please don't kill me.
pcarrier_ has quit [Quit: Computer has gone to sleep.]
<shevy> nah it's ok
<shevy> you are deeply into the dark side already
<Paradox> lol python
<shevy> no way out anymore :(
<shevy> at least it is not php
<Paradox> surprised you were even able to come to rubyland
<TempleD> Wait, I get a red lightsabre?
<Paradox> no
<shevy> TempleD no, pink
<Paradox> your lightsaber is actually a snake
<TempleD> Aw...
<shevy> yeah
<Paradox> and its not a cool one
<shevy> pink snake
<shevy> good luck wielding that
<Paradox> its a rubber snake
<shevy> lol
<Paradox> with no real support for clojures or lambdas or anything useful
<Hanmac1> at beginner you get only a laser screwdriver :P
<Paradox> lel
<Paradox> Hanmac1, no, you mean taser screwdriver
<shevy> an indented snake
<Paradox> it shocks you
<TempleD> I knew this would happen if I mentioned Python. xD
isaacpei has joined #ruby
<Paradox> TempleD, lels we're just joshin
<Paradox> is the natural reaction when 2 opposites meet
kzrl has joined #ruby
<Paradox> MINSWAN and GIDSWAD
<Hanmac1> Paradox: no thats the next step, and the one after that is sonic screwdriver :P
<TempleD> Paradox: Terrible times.
Zai00 has quit [Ping timeout: 245 seconds]
<Paradox> i initially got into ruby because the community is full of friendly people like Hanmac1, TheMoonMaster, and banister_
<Paradox> whereas when i went to python channels i just got "RTFM NOOB GTFO"
isaacpei has left #ruby [#ruby]
<apeiros_> GIDSWAD? God Is Dead So We Are Dead?
<Paradox> and similar shit
<Paradox> apeiros_, Guido is a douche so we are douches
<apeiros_> oh
* apeiros_ didn't know guido was a douche
randomautomator has joined #ruby
<TempleD> I've never run into too much negativity over there.
<Paradox> from the public interfaces he's cultivated he seems to be
<Paradox> now, interestingly enough
<Paradox> some of my best developer friends are pythonsters
<Hanmac1> in ruby there is the good way, the bad way, and the Hanmac way, with is more good than the good way, but looks more bad than the bad way :P
<Paradox> but they learned with shit like lisp, erlang, and good ol' c
<Paradox> so
arya has quit [Ping timeout: 248 seconds]
<Paradox> Hanmac1, you mean things like chaining 6 different enumerable functions together to make a potato cake?
<Hanmac1> yeah: like an "everything burito" :P
<Paradox> TempleD, i never enjoyed programming before ruby. I knew how, but never chose to do it
<Paradox> but with ruby
<Paradox> i chose to write little scriptlings all the time
<banister_> Hanmac1: did u see the leaked episode of adventure time? "glitch in a glitch"
<TempleD> Paradox: I feel the same way about Python. Guess it's just personal opinion. :p
<Hanmac1> banister_: yeah i liked the opening :P
<banister_> TempleD: not true, python is *objectively* boring :P
<Hanmac1> banister_: and sure that i notic about leaked episodes, i am the master of leaking, i am the Leakster :P (for memory leaks)
<yxhuvud> banister: except when it is infuriating.
<yxhuvud> so inconsistent all the time :(
<TempleD> banister_: What's different about Ruby that makes it more exciting? :p
<yxhuvud> blocks.
ToApolytoXaos has joined #ruby
d3 has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
blaxter_ has joined #ruby
k611 has quit [Ping timeout: 245 seconds]
<yxhuvud> also an object system that isn't insane.
<TempleD> Hey, well, this is interesting.
<Hanmac1> TempleD: singleton classes all the way down :P so singleton classes can have singleton classes too :P
<banister_> TempleD: blocks primarily, and executable class bodies
<TempleD> After building the dependancies on Ruby, rbenv isn't recognised anymore.
<TempleD> The folder still exists.
breakingthings has joined #ruby
<TempleD> But rbenv rehash just says "The program 'rbenv' is currently not installed".
<Hanmac1> you may need to install rbenv again
<Paradox> banister_, you mean "objectively"
<TempleD> Hanmac1: Delete folders and start anew?
<Paradox> lol python "object oriented"
arya has joined #ruby
<Paradox> its like saying hitler was a good guy except for the bad stuff
<Paradox> TempleD, i just find a lot of programming culture toxic
<Paradox> ruby seems to be insulated from most of that culture
<yxhuvud> we have drama instead :D
<Paradox> from both sides, rubyists push out and programming dorks push away
<Paradox> yxhuvud, yes, but our drama isnt as stupid as python drama
BizarreCake has quit [Ping timeout: 248 seconds]
<Paradox> see: adria richards
<TempleD> Ooh, drama sounds fun.
<Hanmac1> banister_: do you want to see an zero that is not equal to zero? :P
d3 has joined #ruby
<Paradox> Hanmac1, "0"
<TempleD> Oh god, that Adria Richards business was one hell of an explosion...
<Paradox> she just wanted to be the next rebecca black
alexyz has quit [Remote host closed the connection]
<Paradox> she was entirely in the wrong, and any "journalist" who writes otherwise doesnt live in the real world
banseljaj has joined #ruby
<Paradox> she did more to harm male-female developer relations than battallions of feminist programmers in CS classes could ever fix
<Hanmac1> Paradox:
<Hanmac1> >> ObjectSpace.each_object(Bignum).min.inspect; [otherBigZero= ObjectSpace.each_object(Bignum).min, otherBigZero.zero?]
<eval-in> Hanmac1 => [0, false] (http://eval.in/14449)
<TempleD> Paradox: Seems like it.
<Paradox> i feel sorry for some of my collegues
momomomomo has joined #ruby
sayan has joined #ruby
<Paradox> >> "0" == 0
<eval-in> Paradox => false (http://eval.in/14450)
<xrq> Paradox: a lot of the followup journalists did a lot of harm too by agreeing with her
<Paradox> mines simpler
<Paradox> xrq, yep
<Hanmac1> look what hanmac found ... an Bignum 0 :P
<Paradox> like that atrocious piece in wired that bemoaned how "mean" the males were
<Paradox> none of this shit would have happened if she had dealt with it like an adult
<Paradox> instead she thought she could get some publicity
<xrq> knee-jerk reaction is one thing, but weeks later carefully weighing what she did and saying it was ok is entirely different
<Paradox> then was surprised when there was blowback
eliasp has joined #ruby
eliasp_ has quit [Ping timeout: 245 seconds]
gyre007 has quit [Remote host closed the connection]
failshel_ is now known as failshell
<Hanmac1> Paradox: tell me that this Bignum 0 does confuse you too :P
<yxhuvud> hanmac: eh, are you claiming 0 bignum doesn't true out #zero? p_p
<Paradox> yah
nfk has joined #ruby
<Hanmac1> yxhuvud: for some reason, yes :P
Proshot has joined #ruby
<Hanmac1> but there are also bignum zeros wich are zero
<Hanmac1> >> (2**64) < 0; [bigZero = ObjectSpace.each_object(Bignum).min; bigZero.zero?]
<eval-in> Hanmac1 => /tmp/execpad-2beccf95e050/source-2beccf95e050:2: syntax error, unexpected ';', expecting ']' ... (http://eval.in/14451)
<Hanmac1> >> (2**64) < 0; [bigZero = ObjectSpace.each_object(Bignum).min, bigZero.zero?]
<eval-in> Hanmac1 => [0, true] (http://eval.in/14452)
<TempleD> Must admit, I like the fact that you guys have an eval built-in to the channel.
tspike has quit [Ping timeout: 245 seconds]
<yxhuvud> hanmac: seems to behave as expected.
<Hanmac1> yxhuvud: except that the class of this zero is bignum and not fixnum
<Hanmac1> >> ObjectSpace.each_object(Bignum).to_a
adamjleonard has joined #ruby
<eval-in> Hanmac1 => [1080005768, 1079950680, 18446744073709551615, 3, 87326857464186459027866819667742176831] (http://eval.in/14453)
hadees has quit [Quit: hadees]
foofoobar has left #ruby ["Textual IRC Client: www.textualapp.com"]
<Hanmac1> look at this output and then tell me WHY there is a 3 in there ... not a fixnum 3, its a BIGNUM 3 oO
kirun has joined #ruby
<banister_> Hanmac1: lols
decoponio has quit [Quit: Leaving...]
eliasp has quit [Quit: No Ping reply in 180 seconds.]
adkron has joined #ruby
jonahR has joined #ruby
<TempleD> Well this is interesting.
<TempleD> Installed Ruby1.9.1.
<TempleD> Reinstalled rbenv.
<TempleD> And my ruby version is 1.8.7.
<TempleD> ...
spider-mario has joined #ruby
mockra has joined #ruby
eliasp has joined #ruby
<Hanmac1> TempleD: because your default ruby is 1.8 maybe ... you maybe need to open an new console to get the effect of rbenv working
brandon|_ has quit [Remote host closed the connection]
<Rumsteak> Is there a shorter way to write this code ? [1, 2, 3].map { |n| n * 2 }
timmow has joined #ruby
bean has joined #ruby
<TempleD> New console has no effect.
<TempleD> Should I just run rbenv install 1.9.3-p0 and see what happens? :p
<bean> you dont want p0
<bean> you want p392
<Rumsteak> If I had to_s I could do [1,2,3].map(&:to_s), but I am using * here
<TempleD> 1.9.3-p392, then.
browndawg has quit [Quit: Leaving.]
wolcanus has quit [Ping timeout: 255 seconds]
<bean> Rumsteak: i wasn't in channel to see your problem, what are you doing?
<bean> TempleD: you could try :) i also dont know what your issue is
<Rumsteak> I want to know if there is a shorter way to write [1, 2, 3].map { |n| n * 2 }
cmarques has quit [Ping timeout: 256 seconds]
<Rumsteak> like aliases or something
<Hanmac1> Rumsteak: you can store { |n| n * 2 } in a proc
<Hanmac1> the only other way i image is:
<Hanmac1> >> [1, 2, 3].each.with_object(2).map(&:*)
<eval-in> Hanmac1 => [2, 4, 6] (http://eval.in/14454)
<banister_> Hanmac1: haha
shock_one has quit [Ping timeout: 276 seconds]
<Rumsteak> it is not shorter
cmarques has joined #ruby
<Rumsteak> I mean, writing |n| n feels like a repetition, writing twice n
a_a_g1 has quit [Quit: Leaving.]
<bean> n is just the variable being passed to the block
timmow has quit [Ping timeout: 252 seconds]
<bean> its not like that is even long
<bean> not sure why you're trying to write shorter.
<Hanmac1> there is no default block variable you can use
<Rumsteak> just exploring ruby, not sure myself why too
ebobby has joined #ruby
rezzack has joined #ruby
rezzack has quit [Max SendQ exceeded]
<TempleD> Oh dear.
<TempleD> This doesn't bode well.
<Rumsteak> Hanmac1: ok :(
rezzack has joined #ruby
alexyz has joined #ruby
wolcanus has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
bradleyprice has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rwilcox has joined #ruby
chandankumar has quit [Ping timeout: 258 seconds]
heliumsocket has joined #ruby
jonahR has quit [Remote host closed the connection]
<bean> TempleD: you're missing zlib... what OS
<TempleD> bean: Ubuntu.
akashj87 has joined #ruby
<TempleD> rbenv just isn't being recognised at all now...
_nitti_ has joined #ruby
<Xeago> Paradox: to continue the webserver stuff, i wrote a web server + socket handling for the HL engine (later ported to source by me as well)
echobinary has quit [Remote host closed the connection]
<Paradox> hl?
jonahR has joined #ruby
<Paradox> highline?
<Xeago> halflife
<Paradox> headlight?
<Paradox> oh
<Xeago> also wrote an irc server using that socket implementation
<Xeago> that ran on the gameserver
<bean> TempleD: you're missing zlib, re: your other paste
<BadQuanta> If someone is familiar with Clive, how to I set/change the value of a "global" option from within the action of a command?
mattbl has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
<TempleD> bean: How would I get it?
<Xeago> all I had was a gameserver and an ftp upload stuff, wanted to get as much out of it as possible :)
Mattix has joined #ruby
freerobby has joined #ruby
jdunck has joined #ruby
<Paradox> Xeago, i once wrote a basic tremulous server in EventMachine
akashj87__ has quit [Ping timeout: 246 seconds]
ryannielson has joined #ruby
_nitti has quit [Read error: No route to host]
<TempleD> Actually, no, wait, let me ask a different question.
alex__c2022 has quit [Quit: alex__c2022]
_nitti has joined #ruby
<TempleD> I've done sudo apt-get install ruby1.9.1. How do I get Ubuntu to recognise that as the Ruby version it should be using?
<bean> are you on 12.04 or 10.04
<Xeago> the days of smalltalk
<Xeago> loving em
<Hanmac1> TempleD: "update-alternatives --config ruby" & "update-alternatives --config gem"
Vainoharhainen has joined #ruby
<TempleD> bean: 12.04
<Xeago> unfortunately I then went on the evilside of half life and made several hacks..
hadees has joined #ruby
drale2k has joined #ruby
<Hanmac1> Xeago i had looser luck :P i was not the best but for some unknown reason i was difficult to hit :P
<TempleD> YES
<TempleD> FINALLY
havenwood has joined #ruby
<Xeago> ghehe, I remember the dual 56k modem days
_nitti has quit [Read error: Connection reset by peer]
<Xeago> was lucky to have it
workmad3 has quit [Ping timeout: 260 seconds]
echobinary has joined #ruby
_nitti has joined #ruby
<TempleD> We have life!
<TempleD> An error-free life!
_nitti_ has quit [Ping timeout: 264 seconds]
Vainoharhainen has quit [Read error: Connection reset by peer]
k-man has quit [Ping timeout: 256 seconds]
<Hanmac1> Xeago: the problem others shoot at me, but i may suvive with <10HP, to i still had the chance to win :P
alex__c2022 has joined #ruby
cmarques_ has joined #ruby
aces23up has joined #ruby
<TempleD> ...Aw, I spoke too soon.
<aces23up> hey guys, can someone help me with a thread safe question about hashes here? http://codepad.org/nvV2Tjvb
akashj87__ has joined #ruby
axl_ has joined #ruby
Neomex has quit [Quit: Neomex]
mrsolo has joined #ruby
<shevy> debian is pure evil
adamjleonard has quit [Quit: Leaving...]
k-man has joined #ruby
<TempleD> OK, guys, new problem.
<TempleD> Man, this isn't good...
echobinary has quit [Read error: Connection reset by peer]
<Hanmac1> shevy liar, i found more evil bugs in ruby itself :P
echobinary has joined #ruby
blaxter_ has quit [Ping timeout: 240 seconds]
bean has quit [Ping timeout: 255 seconds]
<Hanmac1> TempleD: apt-get install ruby1.9.1-full
cmarques has quit [Ping timeout: 276 seconds]
akashj87 has quit [Ping timeout: 264 seconds]
<Paradox> squid wards
beneggett has quit [Quit: Computer has gone to sleep.]
allaire has joined #ruby
allaire has quit [Excess Flood]
eliasp has quit [Quit: No Ping reply in 180 seconds.]
jgrevich has quit [Ping timeout: 258 seconds]
allaire has joined #ruby
alexsuraci_ has joined #ruby
bean has joined #ruby
akashj87__ has quit [Ping timeout: 264 seconds]
alexsuraci_ has left #ruby [#ruby]
eliasp has joined #ruby
<TempleD> Hanmac: Aha, that's worked. Cheers. I'll let you know if I get any more errors...
akashj87 has joined #ruby
madb055 has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
<allaire> Hey guys, anyway I can create an alias for a rake namespace? I'm using a gem and to run my test I need to do rake minitest:models, what I would like to do is create an alias for the minitest namespace so I can run rake test:models too, thoughts?
tspike has joined #ruby
lewix has joined #ruby
jonathanwallace has joined #ruby
jgrevich has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
<failshell> anyone has a reliable source of RPMs for RHEL6 for ruby 1.9?
robbyoconnor has quit [Ping timeout: 264 seconds]
bigkm has joined #ruby
<yxhuvud> failshell: what do you mean by reliable?
<failshell> well, something mainstream
<failshell> or at least well tested by the community
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<failshell> ive reach a point where 1.8.7 just is not up to the job on RHEL
jonahR has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
chimkan has joined #ruby
workmad3 has joined #ruby
mityaz has quit [Quit: See ya!]
lewix has quit [Ping timeout: 252 seconds]
apeiros_ is now known as apeiros
<yxhuvud> I believe they will include 1.9.3 in 6.4
akashj87__ has joined #ruby
forced_request has joined #ruby
<yxhuvud> there are some test repo available but can't find it right now.
Catbuntu has joined #ruby
<yxhuvud> anyhow, the packaging looks very similar to the one used in recent versions of fedora.
<failshell> yxhuvud: i have 6.4 and its still 1.8.7
<yxhuvud> meaning they have patched rubygems and bundler to death
<yxhuvud> :(
Catbuntu is now known as Guest23171
hmarr has joined #ruby
mockra_ has joined #ruby
pydave6367 has joined #ruby
Guest61083 has quit [Quit: WeeChat 0.4.0]
<yxhuvud> personally I looked at their packaging and took a step away. they alter too much. I just want a stable release to solve my problems
akashj87 has quit [Ping timeout: 264 seconds]
<failshell> too bad you cant install using root + RVM
<failshell> its no wonder there's no Chef cookbooks for Ruby. its a PITA to deploy
eliasp has quit [Read error: Connection reset by peer]
<shevy> real men do not need RVM
tspike has quit [Ping timeout: 260 seconds]
<unstable> Why does it take gem so long to install documentation?
<shevy> unstable I think it has to parse all .rb files and analyze them
<Hanmac1> stable releases? in some distries you will be happy if you get any releases :P
<unstable> shevy: ok, thanks for the info.
arietis has joined #ruby
<shevy> unstable I usually try to avoid ri/rdoc docu with ruby :P
<Hanmac1> unstable: and sending all code to google and apple :p
chimkan has quit [Quit: chimkan]
mockra has quit [Ping timeout: 258 seconds]
<shevy> that is the problem with distributions
<shevy> they modify things and call it an improve
tspike has joined #ruby
krawchyk_ has joined #ruby
Guest23171 has quit [Quit: Leaving]
<failshell> yeah we need a distro that leaves shit alone. i want the vanilla software.
cmarques_ is now known as cmarques
krawchyk_ has quit [Remote host closed the connection]
HelenCrowley has joined #ruby
toekutr has joined #ruby
eliasp has joined #ruby
jarred has joined #ruby
divout has quit [Remote host closed the connection]
<jarred> Assigning a block to a variable (not evaluating the block, keeping a reference to it) is just foo = block, right? It doesn't need anything special, right?
bean has quit [Ping timeout: 245 seconds]
slakware has quit [Remote host closed the connection]
<Hanmac1> jarred you need proc or lambda
<jarred> Ah I see. Is there a way to turn a block into a proc?
<yxhuvud> hanmac: I'd prefer having no 1.8.7 release at all over the present situation, because now we are stuck in packaging hell any way we do. best options seems to be to package it ourselves since noone else has managed to do it
madb055 has quit [Ping timeout: 255 seconds]
Mattix has quit [Ping timeout: 264 seconds]
<Hanmac1> jarred: no only the different way
krawchyk has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: chrishough]
etcetera has quit []
<apeiros> jarred: def foo(&block) # the & syntax tells ruby to convert the block into a proc
<apeiros> and from that moment on it's "just another object"
<jarred> oh okay that makes sense
<Hanmac1> jarred or: foo = proc {|| ... }
moted has quit [Ping timeout: 248 seconds]
<jarred> thanks for your guys' help
<TempleD> Ah, goddamnit.
<TempleD> Another problem.
<TempleD> Though it isn't ruby related this time!
<TempleD> So we're out of that minefield... xD
jeffreylevesque has joined #ruby
<jeffreylevesque> hi
<jeffreylevesque> can someone tell me how to get the build log?
bean has joined #ruby
<Hanmac1> jeffreylevesque: from that? from an installed gem?
nomenkun has joined #ruby
<jeffreylevesque> yea
Skofo has quit [Ping timeout: 248 seconds]
Es0teric has joined #ruby
heliumsocket has quit [Quit: heliumsocket]
theRoUS has quit [Ping timeout: 245 seconds]
<Xeago> would you mind giving me your opinion about my cv? Skills
joshu has joined #ruby
geggam_wk has quit [Ping timeout: 264 seconds]
<Hanmac1> jeffreylevesque: was the gem install successful or does it have failure?
<joshu> any suggestions for converting fax tiff files to pdf may be more than 1 page it depends
<wmoxam> Xeago: why post your 'civil status' in your CV?
<yxhuvud> Hmm. I like putting github at the personalia.
<TempleD> Anyone here who knows some git?
<TempleD> Well, I suppose this might be more about github.
<shevy> die git, die!
<Xeago> (file size is supposed to be 400k, didn't lower resolution on profile picture yet)
pioz has quit [Quit: This computer has gone to sleep]
HelenCrowley is now known as Catbutnu
<yxhuvud> temple: what's your problem?
Catbutnu is now known as Catbuntu
<TempleD> I keep getting a nice error.
<TempleD> One sec.
<Xeago> wmoxam: so people know I am not a basement lurker
<shevy> Xeago haha
chimkan has joined #ruby
<bean> A CV is not a one pager.
<Xeago> but might be a tiny bit social
<wmoxam> Xeago: also, why put Grocery Store experience?
<bean> thats a resume
<shevy> Xeago but perhaps you could be a pervert :)
<jeffreylevesque> Hanmac1: says 5 gems installed sucessfully, and when I do ruby --version it says I'm running ruby 1.8.7
<Xeago> fine, resume, this is only the first part..
<wmoxam> Xeago: you only put that if you want a job at another store :p
nathancahill has joined #ruby
<TempleD> Permission denied (publickey)
sayan has quit [Ping timeout: 245 seconds]
<TempleD> fatal: The remote end hung up unexpectedly
Iszak has joined #ruby
<shevy> yeah, this is git
<Hanmac1> jeffreylevesque: so does "gem list" show the gems?
<Xeago> wmoxam: mostly because it all still fit on the page :)
<shevy> cryptic errors until you will die
<wmoxam> Xeago: yeah, it's better that you don't have it
wallcloc_ has joined #ruby
<Xeago> shevy: been using git since before 1.0
<Xeago> not a flaw!
mark_locklear has quit [Remote host closed the connection]
<TempleD> Mind you... It only shows up when I run the command with sudo. When I don't, it comes up with a different error. xD
Monie has quit [Quit: This computer has gone to sleep]
<jeffreylevesque> Hanmac1: i have at least two dozen local gems
<wmoxam> Xeago: write more about what you did working on that video hosting platform
<TempleD> A permission error, funnily enough.
<yxhuvud> xeago: I'd not put credentials in the CV. I'd supply them when asked, and tell the guys before each time I do that
<Hanmac1> jeffreylevesque: so what is the problem? did you forget to require "rubygems" before?
w400z has quit []
jekotia has joined #ruby
<jeffreylevesque> i am running rake command
<yxhuvud> especially when it comes to university peaple - there are so many people that go through there
<jeffreylevesque> and it can't finish
<jeffreylevesque> so i'm trying to debug in the build log
<Xeago> write credentials on request then?
<wmoxam> Xeago: no need to put driving licence either
Nisstyre-laptop has quit [Read error: Connection reset by peer]
<wmoxam> Xeago: unless you are applying to be a pizza delivery guy
<MrZYX> TempleD: either upload your public key to your github account or do not use the ssh:// url (but the https:// or git:// one)
<yxhuvud> temple: sounds like you havn't put your public ssh key on the server
<Xeago> the shorter my personalia the smaller my profile picture :<
Nisstyre-laptop has joined #ruby
* wmoxam has read dozens and dozens of resumes
<Hanmac1> jeffreylevesque: so there is a build failiure, it should show you a path
mercwithamouth has quit [Read error: Operation timed out]
wallclockbuilder has quit [Ping timeout: 258 seconds]
<TempleD> yxhuvud: I've put A ssh key in the settings. Followed their instructions on it.
<yxhuvud> wmoxam: I disagree. drivers license should be there. he is living in a country where it cna't be assumed.
<Xeago> wmoxam: I fail to be able to elaborate more on what I did at the video hosting platform
<Xeago> I did some minor other stuff
<Hanmac1> jeffreylevesque you can try: gem contents gemname | grep mkmf.log
<Xeago> edited a hadoop job here and there, but thats it
<wmoxam> yxhuvud: he's not delivery pizzas, he wants to write code
<wmoxam> yxhuvud: it's completely irrelevant
<Xeago> yxhuvud: living in sweden, come from holland
<yxhuvud> no, since you still have to be able to reach the working place.
beneggett has joined #ruby
<yxhuvud> especially if he ends up a consult.
<wmoxam> Xeago: ok, got any side projects?
<Xeago> especially when applying to consultancy companies it was recommended
<Xeago> wmoxam: not really, my university disallowed any public work
<wmoxam> yxhuvud: that's implied
<wmoxam> Xeago: wtf
<wmoxam> that's crazy
Guest26023 is now known as bw_
<yxhuvud> why the fuck would a uni do that?
<Xeago> my scholarship with them demanded that they have at least 50% of whatever I make/produce during my time there
<Xeago> it is not a uni in the american sense..
<shevy> they wanna own Xeago
<yxhuvud> xeago: oh, where in sweden are you?
<Xeago> money, over protective legal team
<shevy> true slavism
<wmoxam> Xeago: ok, wewll write about those projects
<Xeago> åkersberga, north of stockholm
wrench has left #ruby [#ruby]
<yxhuvud> I see.
* yxhuvud central stockholm
onceler has joined #ruby
<TempleD> I don't think octopress/rake can take a https github URL.
etcetera has joined #ruby
<Xeago> so civil status, driving license, both exclude?
<yxhuvud> but hmm. you are listing the years you learned different skills, but what people really care about is the skill level.
<TempleD> 'undefined method '[]' for nil.NilClass
<jeffreylevesque> Hanmac1: when i run build_css, i get one line that says - "Compass compile error: directory css/compiled/ create css/compiled/blocks-ie.css error blocks.scss ( LIne 3 of _require.scss: File to import not found or unreadable: ..."
<yxhuvud> I'd exclude civil status but not license.
<Hanmac1> Xeago: i read that "Anti-femiism" should go illegal in nordic contries http://www.the-spearhead.com/2013/03/29/antifeminism-might-become-illegal-in-the-nordic-countries/
<Xeago> yxhuvud: skill level is so subjective 'moderate' 'good' 'average' 'great'
momomomomo has quit [Ping timeout: 252 seconds]
<Hanmac1> jeffreylevesque: this does not looks like an ruby or gem bug ... so i cant help you with that
<wmoxam> Xeago: IMO, your cover letter is far more than your CV
<wmoxam> *far more important*
<jeffreylevesque> no worries, i think i figured something small out
illsci has joined #ruby
<Xeago> wmoxam: totally, however they need to get data out of that resume, preferably after they read my cover letter
<illsci> hey what's up
<illsci> does anyone know of any ruby classes near Reston VA USA?
<illsci> anyone teaching them..
<Xeago> yxhuvud: how would you specify skill in the subjects I have listed?
<wmoxam> Xeago: sure, but the only really relevant 'data' is your phone number and email address
jonahR has joined #ruby
<wmoxam> and your home address
<Xeago> I just removed it
<yxhuvud> I'd probably write stuff that I had done with it. probably requries being a bit more selective when it comes to what skill you put forward.
<Xeago> I am currently 'couch surfing'
<Xeago> living with my girlfriend at her parents' places
<TempleD> Yep, octopress definitely doesn't seem to be able to take a https github URL.
<TempleD> Only an SSH one
tootooroo has quit [Quit: b(not so)rb]
<wmoxam> Xeago: address is just needed to ensure you're not going to need to relocate
<Xeago> I need relocation, kinda
<Xeago> or I am willing to do it on my own
<Xeago> as soon as I have a job
<wmoxam> ie: you can attend an interview at short notice, and don't need to have visa paperwork done
<Xeago> don't need any paperwork (except with them) to start working yes
xjunior has joined #ruby
<yxhuvud> temple: maybe you need to edit .git/cofig and change the url to the git: version of the url instead of the https version?
jaygen has quit [Remote host closed the connection]
_nitti_ has joined #ruby
foobArrr has quit [Ping timeout: 245 seconds]
<wmoxam> Xeago: ex: when I was hiring I got a lot of resumes from India and some from Europe, the job was in Toronto
mercwithamouth has joined #ruby
devoper has quit [Remote host closed the connection]
<wmoxam> :p
br4ndon has joined #ruby
<TempleD> yxhuvud: It seems to indicate that it's a public key problem, though.
tootooroo has joined #ruby
<TempleD> There also doesn't seem to be a .git folder. xD
<Xeago> rofl :)
<yxhuvud> wmoxam: we get that kind too :(
<TempleD> yxhuvud: Wait, don't worry.
<TempleD> Me being stupid.
<TempleD> It's a file, not a folder...
rickmasta has joined #ruby
<TempleD> Welp, the only stuff in there is my name and my email.
<TempleD> That's probably bad.
<Xeago> wmoxam: I fail to elaborate on the video hosting platform internship tho
foobArrr has joined #ruby
_nitti has quit [Ping timeout: 264 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
<yxhuvud> temple: it is in the repo you checked out.
generalissimo has joined #ruby
jpfuentes2 has joined #ruby
malte_ has joined #ruby
<TempleD> yxhuvud: Ah, my bad.
nkts has joined #ruby
drale2k has quit [Quit: Leaving...]
Nisstyre-laptop has quit [Quit: Leaving]
<wmoxam> Xeago: ok, well elaberate on any development work that you can
<wmoxam> Xeago: you are asking this in #ruby so I'm assuming you must have written *something* in ruby not related to that video project ...
jonahR has quit [Remote host closed the connection]
<Xeago> nope, work at videofyme was the first I've done in ruby
<Xeago> never got the chance to do anything (public) in ruby
drale2k has joined #ruby
<banister_> Xeago: well you could always contribute to opensource project
<banister_> projects*
timmow has joined #ruby
<Xeago> wrote some minor tokenization and httppulling stuff, but that was in 2007
<banister_> you're not stopped from doing that are you? :)
<Xeago> banister_: planning on doing that until I get a job
<Xeago> legally I am not allowed to contribute yet
<Xeago> my school hasn't published/derolled me
<Xeago> (is derolled a word?)
<TempleD> yxhuvud: I can't seem to change anything in the file, but it's pointing to what it should do, as far as I can tell.
heliumsocket has joined #ruby
<banister_> Xeago: i think you must have misread your contract, no contract would be this unreasonable
jerius has joined #ruby
<Xeago> banister_: no, it is quite reasonable in the area where I live
arietis has quit [Ping timeout: 248 seconds]
Nisstyre has quit [Ping timeout: 276 seconds]
Nisstyre-laptop has joined #ruby
<Xeago> but if I can remake the choice
<Xeago> I'd choose different
timmow has quit [Ping timeout: 252 seconds]
<Xeago> before I didn't care that much, was more of a big organization slow rolling software guy
<Xeago> and I was young and unknowing :)
Heero has joined #ruby
Heero has joined #ruby
Heero has quit [Changing host]
<bean> heh, if a company tried to get on me for writing open source shit, i'd tell them to go fuck themselve
<bean> s
<bean> i'm happy to work for a company where the CEO knows and gives us praise when we write new open source stuff.
Faris8 has joined #ruby
Hanmac1 has quit [Ping timeout: 276 seconds]
<Xeago> the thing with videofyme was, the CTO was a cowboy coder
<Xeago> runs tests on production
<Xeago> commits junk
<Xeago> publicly rebases..
<bean> ugh
<apeiros> sounds awesome
<bean> we force branches and pull requests here.
<apeiros> so you learned what and why not to do first-hand
<Xeago> and made a test suite that runs for 69 minutes
<Xeago> apeiros: exactly..
<TempleD> Maybe I will just use wordpress or something...
<bean> Tests are nice, but should be run by a CI.
<bean> TempleD: what is your problem now?
Catbuntu has quit [Quit: Leaving]
<TempleD> bean: keep getting a public key error.
<bean> TempleD: when you do what
<TempleD> bean: Even though I've set up an SSH key.
l3ck has joined #ruby
<TempleD> bean: rake deploy
timmow has joined #ruby
<tubbo> Xeago: if only videofy.me didn't have such an awful name, they *might* be a contender alongside Vine
<tubbo> ;D
<bean> so you get a pk error on the server? or locally?
ryannielson has quit [Ping timeout: 252 seconds]
<Xeago> what does ssh -T git@github.com do?
<Xeago> tubbo: they are setting up videofyme.com
mneorr has quit [Remote host closed the connection]
<Xeago> and they are too focused on fashion videos it is ridiculous
<Xeago> bean: he forces branches too, but he doesn't do it..
<TempleD> Xeago: Brings up a message saying I've successfully authenticated, but GitHub doesn't provide shell access.
<TempleD> bean: It says the remote end hung up
mneorr has joined #ruby
<yxhuvud> we force rebase unless there is a real reason to branch.
<bean> TempleD: that's normal.
<bean> what is the full output of rake deploy
<TempleD> Give me a sec.
dexec has joined #ruby
<TempleD> Running in a VM means I have to do awkward things to copy things over...
<yxhuvud> templed: does the url in .git/config start with https or git?
<TempleD> yxhuvud: git
<yxhuvud> hmm.
jonahR has joined #ruby
<TempleD> bean: rake deploy and sudo rake deploy give different errors. Do you want them both?
l3ck has quit [Client Quit]
<bean> lol sure.
<TempleD> :p
malte_ has quit [Quit: malte_]
<tubbo> Xeago: how...does that change anything?
<tubbo> "video-fy"? come on...who thought of that one, The Most Uncreative Man In The World?
jonahR has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
<tubbo> but yeah that sounds like a terrible gig
Nisstyre has joined #ruby
<bean> ok, TempleD, you have a page or pages owned by root, "chown -R dan:dan _deploy/"
echobinary has quit [Read error: Connection reset by peer]
<bean> the reason you get a different error with sudo is because that will use roots SSH key
<bean> which is not the same as your own
echobinary has joined #ruby
rickmasta has quit [Read error: Connection reset by peer]
rickmasta has joined #ruby
Czupa has quit [Read error: Connection reset by peer]
reset has joined #ruby
echobinary has quit [Client Quit]
Czupa has joined #ruby
<TempleD> bean: How would you suggest I get around this, then?
<bean> i just told you
<TempleD> Ah, my bad. Misread...
<TempleD> Run with sudo?
<bean> this will also work "chown -R dan:dan ~/.octopress"
<bean> err
<bean> this will also work "chown -R dan:dan ~/octopress"
<bean> yes, sudo
<TempleD> Which one should I run?
axl_ has quit [Quit: axl_]
<bean> the 2nd one
Morkel_ has joined #ruby
hmarr has quit []
workmad3 has quit [Ping timeout: 264 seconds]
Morkel has quit [Ping timeout: 255 seconds]
Morkel_ is now known as Morkel
adambeynon has joined #ruby
xjunior has quit [Remote host closed the connection]
<TempleD> No errors this time!
dfghjklrtyui has joined #ruby
hogeo has quit [Remote host closed the connection]
dexec_ has joined #ruby
<TempleD> And things have appeared in the repository!
huoxito has quit [Ping timeout: 245 seconds]
dexec has quit [Ping timeout: 245 seconds]
dexec_ is now known as dexec
<TempleD> And it works! Thank you to all in here that have helped.
illsci has left #ruby [#ruby]
<TempleD> I first started trying to solve this a month or two ago...
<Xeago> "Implement means of consuming a radio feed on all three platforms." help me rephrase
<Xeago> 'means' sounds aw ful
<Xeago> implement support for consuming ..?
adambeynon has quit [Quit: Computer has gone to sleep.]
<Xeago> I built apps that consumed a radio feed kinda
apod has joined #ruby
chimkan has quit [Quit: chimkan]
moted has joined #ruby
<TempleD> Anyway, I'm gonna go. See you guys around. :)
jacktrick has joined #ruby
artem has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 248 seconds]
emptymag00 has joined #ruby
<bean> later TempleD
veer has joined #ruby
<bean> Xeago: Implemented system for consuming radio feeds on windows, linux, and mac
TempleD has left #ruby [#ruby]
<Xeago> "Build mobile apps for Android and iOS with an update to their website. Implement means of consuming a radio feed on all three platforms."
<xll11> is ruby essential for ruby on rails? or one can start learning rails straightt away
<Xeago> xll11: if you want to learn rails, don't learn ruby first
<Xeago> youl'll learn the basics while learning ruby
<bean> ah, i didnt see the first bit, Xeago,
<Xeago> but leaving the rails world after will be bump you'll have to come over
Iszak has quit [Quit: Computer has gone to sleep.]
<Xeago> s/bump/a bump
mikepack has joined #ruby
arya has joined #ruby
<yxhuvud> rails tend to be much more straighforward and less magical when you understand ruby properly though.
<Xeago> "Build mobile apps for Android and iOS with an update to their website. Implemented support for consuming a radio feed on Android, iOS, HTML5, Flash and WMP."
<Xeago> does that sound okay?
jgarvey has quit [Ping timeout: 264 seconds]
<bean> " with an update to their website" with an update to who's website
<Xeago> carnaval-radio.nl
<Xeago> the one thing I did that the employer themselves opensourced
<Xeago> and therefore I can mention
<Xeago> unfortunately they host it on an awfully low bandwidth site..
mephux has quit [Excess Flood]
slainer68 has joined #ruby
<Xeago> Added stuff you told me to, mind having a look again https://www.filepicker.io/api/file/nqz0vPo4ThSKhiurtzer ?
kpshek has joined #ruby
Zai00 has joined #ruby
huoxito has joined #ruby
mephux has joined #ruby
<yxhuvud> I'd remove the line where you write that you wrote a failure :P
c0rn has quit [Quit: Computer has gone to sleep.]
dfghjklrtyui has quit []
<Xeago> where what?
etcetera_ has joined #ruby
<Xeago> in the videofyme section?
c0rn has joined #ruby
<Xeago> ah sec
<yxhuvud> yes. sense, it doesn't make
dfghjklrtyui has joined #ruby
etcetera has quit [Ping timeout: 264 seconds]
etcetera_ is now known as etcetera
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
<Xeago> what are those documents called that describe fail scenarios
<Xeago> and cover steps to take?
bigoldrock has quit [Ping timeout: 260 seconds]
kpshek has quit [Client Quit]
dfghjklrtyui has quit [Client Quit]
yannis has joined #ruby
<yxhuvud> no idea.
kofno has quit [Remote host closed the connection]
mengu has joined #ruby
<yxhuvud> you probably want to pick a tense and then stick to it. now you are mixing present tense with past tense all over the place.
Czupa has quit [Remote host closed the connection]
jaygen has joined #ruby
beneggett has joined #ruby
mercwithamouth has quit [Ping timeout: 255 seconds]
wolcanus has quit [Ping timeout: 258 seconds]
xjunior has joined #ruby
Guedes is now known as Guedes_out
wyan has quit [Quit: ZNC - http://znc.sourceforge.net]
hmarr has joined #ruby
banjara has quit [Quit: Leaving.]
mengu has quit [Read error: Connection reset by peer]
eliasp has quit [Read error: Connection reset by peer]
eliasp has joined #ruby
banjara has joined #ruby
mengu has joined #ruby
marcdel has joined #ruby
wargasm1 has joined #ruby
Proshot has quit [Quit: Leaving]
swex_ has joined #ruby
monkegjinni has joined #ruby
momomomomo has joined #ruby
hmarr has quit [Client Quit]
hmarr has joined #ruby
ToApolytoXaos has quit [Read error: Operation timed out]
Michael__ has joined #ruby
jaygen has quit [Remote host closed the connection]
swex has quit [Ping timeout: 240 seconds]
cwd1 has joined #ruby
cwd1 has quit [Remote host closed the connection]
stuartrexking has joined #ruby
cwd1 has joined #ruby
<bean> disaster recovery and business continuity plans
<bean> ?
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
cwd1 has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
cantonic has joined #ruby
Coolhand has quit [Ping timeout: 252 seconds]
k610 has joined #ruby
chrishough has joined #ruby
cantonic|away has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
bigoldrock has joined #ruby
statarb3 has joined #ruby
davetherat has quit [Read error: Connection reset by peer]
davetherat has joined #ruby
mercwithamouth has joined #ruby
statarb3 is now known as Proshot
ctult has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 246 seconds]
Guest40383 has quit [Ping timeout: 240 seconds]
whitedawg has joined #ruby
d2dchat has joined #ruby
jacobw has joined #ruby
S1kx has quit [Read error: Connection reset by peer]
S2kx has joined #ruby
dexec has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
<onceler> bean: what about them?
niklasb has quit [Ping timeout: 260 seconds]
Faris8 has quit [Quit: Faris8]
zeade has quit [Quit: Leaving.]
arietis has joined #ruby
bean has quit [Ping timeout: 246 seconds]
dexec has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
skattyadz has quit [Quit: skattyadz]
freerobby has joined #ruby
fourq_ has joined #ruby
skattyadz has joined #ruby
sguselnikov has joined #ruby
w400z has joined #ruby
machty has quit [Quit: machty]
bean has joined #ruby
arietis has quit [Ping timeout: 264 seconds]
timonv has quit [Remote host closed the connection]
Iszak has joined #ruby
bradleyprice has joined #ruby
malte_ has joined #ruby
axsuul_ has joined #ruby
carloslopes has quit [Remote host closed the connection]
chimkan_ has joined #ruby
timmow has quit [Read error: Connection reset by peer]
dexec has quit [Ping timeout: 245 seconds]
<Xeago> ty
timmow has joined #ruby
ShellFu is now known as ShellFu_AFK
internet_user has quit [Remote host closed the connection]
dexec has joined #ruby
sdavis has joined #ruby
banisterfiend has joined #ruby
banister_ has quit [Read error: Connection reset by peer]
Al__ has joined #ruby
wyan has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
ebobby has quit [Ping timeout: 252 seconds]
banister_ has joined #ruby
rickmasta has quit [Ping timeout: 245 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
jarin has joined #ruby
dexec has quit [Ping timeout: 252 seconds]
cmarques_ has joined #ruby
timonv has joined #ruby
cmarques has quit [Ping timeout: 252 seconds]
timonv has quit [Remote host closed the connection]
l3ck has joined #ruby
jurassic_ has joined #ruby
allaire has quit []
niklasb has joined #ruby
arya has quit [Ping timeout: 248 seconds]
momomomomo has joined #ruby
jon_w has quit [Quit: Tony the Tiger uses The 7 Deadly Sins. Its Grrrrrrrrreat!   [www.t7ds.com.br]]
freerobby has quit [Quit: Leaving.]
<shevy> I want a new language
<shevy> like ruby, but simpler
l3ck has quit [Quit: Bye!]
geggam_wk has joined #ruby
Morkel has quit [Quit: Morkel]
arya has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
Coolhand has joined #ruby
eliasp has joined #ruby
<Hanmac1> shevy ruby need to switch places with java :P
cmarques has joined #ruby
<shevy> hmm
<shevy> speed is the issue
gaahrdner has quit [Remote host closed the connection]
<shevy> and GUI bindings
freezey has quit [Remote host closed the connection]
jnoob22 has quit [Remote host closed the connection]
c0rn has joined #ruby
gaahrdner has joined #ruby
<Hanmac1> shevy i think the intro text about ruby is more interesting
cmarques_ has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
zeade has joined #ruby
Michael__ has quit [Remote host closed the connection]
eldariof has quit []
Sicp has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
gaahrdner has quit [Ping timeout: 258 seconds]
strg has joined #ruby
Michael__ has joined #ruby
wallcloc_ has quit [Remote host closed the connection]
glanotte has joined #ruby
wallclockbuilder has joined #ruby
wallclockbuilder has quit [Remote host closed the connection]
wallclockbuilder has joined #ruby
w400z has quit []
smigg has quit [Ping timeout: 245 seconds]
jerius has quit [Read error: Operation timed out]
strg_ has joined #ruby
pioz has joined #ruby
<Axsuul> Is there such thing as alias_method for instance methods?
<Axsuul> seems like it only works for class methods
Michael__ has quit [Ping timeout: 255 seconds]
<Xeago> shevy: gui bindings: html..
<Hanmac1> oO i think you mixed something up
<Xeago> even for a local app, I'd prefer making it in html
ebobby has joined #ruby
strg has quit [Ping timeout: 252 seconds]
geekbri has quit [Remote host closed the connection]
<banister_> Xeago: and then using ajax?
tylersmith has joined #ruby
<banister_> Xeago: or would you just write the whole thing in js
<banister_> Axsuul: alias_method works on both
<banister_> Axsuul: and all methods are instance methods :)
emptymag00 has quit [Ping timeout: 264 seconds]
emptymag00 has joined #ruby
sguselnikov has quit [Quit: Computer has gone to sleep.]
xjunior has quit [Remote host closed the connection]
Michael__ has joined #ruby
fourq_ is now known as fourq
eliasp_ has joined #ruby
eliasp has quit [Ping timeout: 258 seconds]
kofno has joined #ruby
sailias has joined #ruby
<Axsuul> banister_: How does it know when to target methods at the class level or methods at the object level?
<Axsuul> instance* level
<banister_> Axsuul: it only ever applies to instance methods
<Axsuul> banister_: This gives me an error, undefined method 'heartbeat' for class 'Server': https://gist.github.com/anonymous/a867a94e2f39f977ffa2
bean has quit [Ping timeout: 252 seconds]
<Axsuul> banister_: that means it's targeting at class level right?
brianherman has joined #ruby
axel has joined #ruby
dmiller has joined #ruby
axel is now known as mercurius3
haxrbyte_ has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 258 seconds]
haxrbyte has joined #ruby
tomsthumb has quit [Quit: Leaving.]
<banister_> Axsuul: no 'hearbeat' in your code
k610 has quit [Ping timeout: 258 seconds]
amh345 has quit [Quit: amh345]
mercurius3 has left #ruby [#ruby]
wallclockbuilder has quit [Remote host closed the connection]
bean has joined #ruby
postmodern has joined #ruby
sailias has quit [Quit: Leaving.]
<banister_> Axsuul: i think you have a rails issue, it depends on the behaviour of attr_accessible which may not actually be defining instanc emethods
<banister_> Axsuul: ask on #rubyonrails
ukd1 has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
failshell has quit [Remote host closed the connection]
xjunior has joined #ruby
ffranz has quit [Quit: Leaving]
Guedes has joined #ruby
codecop has quit [Read error: Connection reset by peer]
onceler has quit [Quit: Leaving]
interactionjaxsn has quit [Remote host closed the connection]
machty has joined #ruby
machty has quit [Client Quit]
malte_ has quit [Quit: malte_]
eliasp_ has quit [Read error: Operation timed out]
rburton- has joined #ruby
bean has quit [Quit: Textual IRC Client: www.textualapp.com]
adamjleonard has joined #ruby
eliasp has joined #ruby
ctult has quit []
zeroeth has quit [Ping timeout: 260 seconds]
Xeago_ has joined #ruby
becom33 has quit [Quit: Leaving]
apod has quit []
jpfuentes2 has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
haxrbyte has quit [Ping timeout: 248 seconds]
haxrbyte_ has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 276 seconds]
lewix has joined #ruby
eliasp_ has joined #ruby
whitedawg1 has joined #ruby
eliasp has quit [Ping timeout: 255 seconds]
elaptics`away is now known as elaptics
whitedawg has quit [Ping timeout: 252 seconds]
x0F has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
mercwithamouth has joined #ruby
jurassic_ has quit [Quit: jurassic_]
rudisimo has quit [Quit: Leaving.]
zeroeth has joined #ruby
nomenkun has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
whitedawg1 has quit [Quit: Leaving.]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
BadQuanta has quit [Quit: Leaving]
x0F has quit [Ping timeout: 264 seconds]
_nitti_ has quit [Ping timeout: 245 seconds]
adkron has quit [Ping timeout: 245 seconds]
justsee has quit [Ping timeout: 248 seconds]
tomsthumb has joined #ruby
jonathanwallace has quit [Ping timeout: 245 seconds]
bean has joined #ruby
malkomalko has joined #ruby
arya has quit [Ping timeout: 248 seconds]
SCommette has quit [Quit: SCommette]
awkwords has quit [Quit: Lost terminal]
nopolitica has joined #ruby
nathancahill has quit [Quit: nathancahill]
glanotte has quit [Quit: glanotte]
bricker has quit [Ping timeout: 246 seconds]
SCommette has joined #ruby
Tricon has joined #ruby
neku has quit [Quit: Linkinus - http://linkinus.com]
arya has joined #ruby
answer_42 has quit [Ping timeout: 276 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
bricker has joined #ruby
jacobw has quit [Quit: WeeChat 0.4.0]
megha has joined #ruby
wmoxam has quit [Ping timeout: 258 seconds]
baba has quit [Ping timeout: 260 seconds]
angusiguess has quit [Ping timeout: 255 seconds]
pitzips has joined #ruby
momomomomo has quit [Quit: momomomomo]
jtharris has quit [Quit: WeeChat 0.4.0]
danslo has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
c0rn has joined #ruby
sailias has joined #ruby
FLeiXiuS` has joined #ruby
<FLeiXiuS`> Is there a short way to remove indexes 2..5 from an array?
<shevy> FLeiXiuS` set it to nil
brian_000_ has joined #ruby
forrest has quit [Quit: Leaving]
<shevy> array = ["1", "2", "cat", "dog", "a", "a", "b", nil, nil]; array[2..5] = nil; array # => ["1", "2", "b", nil, nil]
haxrbyte has joined #ruby
<workmad3> FLeiXiuS`: ary.slice!(2,4)
<workmad3> >> a = [0,1,2,3,4,5,6]; a.slice(2,4); p a
<eval-in> workmad3 => [0, 1, 2, 3, 4, 5, 6] ... (http://eval.in/14483)
<workmad3> >> a = [0,1,2,3,4,5,6]; a.slice!(2,4); p a
<eval-in> workmad3 => [0, 1, 6] ... (http://eval.in/14484)
<workmad3> forgot my ! :)
jgarvey has joined #ruby
breakingthings has quit []
brianherman has quit [Ping timeout: 258 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
jlast has quit [Ping timeout: 260 seconds]
alanp_ has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
<workmad3> shevy: ary[2..5] = nil adds an extra nil for me
<workmad3> >> a = [0,1,2,3,4,5,6]; a[2..5] = nil; p a
<eval-in> workmad3 => [0, 1, nil, 6] ... (http://eval.in/14485)
alanp_ has joined #ruby
axsuul_ has quit [Quit: axsuul_]
<shevy> hmm
<shevy> odd
mattbl has joined #ruby
haxrbyte_ has quit [Ping timeout: 260 seconds]
<shevy> wow
<workmad3> well, it's not really an extra nil, tbh... it's what you're saying to do if you think about it
TooTubular has quit [Quit: tootubular]
<shevy> that behaviour seems to have changed :(
withnale has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0]
<shevy> in 1.8.x there is no nil
rickmasta has joined #ruby
<shevy> now one could reason how buggy 1.8.x was
tenmilestereo has quit [Quit: Leaving]
bean has quit [Quit: Computer has gone to sleep.]
motto has joined #ruby
alanp has quit [Ping timeout: 276 seconds]
geggam_wk has quit [Remote host closed the connection]
m8 has quit [Ping timeout: 248 seconds]
sambao21 has joined #ruby
kristofers has quit []
nathancahill has joined #ruby
rburton- has quit [Quit: Leaving...]
Es0teric has quit [Remote host closed the connection]
gaahrdner has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
dEPy has quit []
postmodern has quit [Quit: Leaving]
sailias has quit [Quit: Leaving.]
postmodern has joined #ruby
haxrbyte has quit [Ping timeout: 258 seconds]
monkegjinni has quit [Remote host closed the connection]
axsuul_ has joined #ruby
<unstable> What is the difference between doing bundle exec rspec my/tests, vs rspec my/tests?
<workmad3> unstable: depends on your $PATH, whether you have rubygems-bundler installed, whether you did 'bundle install --binstubs'...
Layke has quit [Ping timeout: 276 seconds]
emergion has joined #ruby
cmarques has quit [Ping timeout: 248 seconds]
mercwithamouth has quit [Ping timeout: 258 seconds]
heftig has quit [Ping timeout: 245 seconds]
rking has quit [Quit: WeeChat 0.4.0-rc1]
osvico has quit [Read error: Connection reset by peer]
gaahrdner has quit [Ping timeout: 276 seconds]
mercwithamouth has joined #ruby
<waxjar> bundle exec uses the versions defined in your Gemfile, running it without just uses the "default" version (e.g. the most recent)
dmiller has quit [Ping timeout: 264 seconds]
<waxjar> *i.e. (?)
<waxjar> i always mix those two up
Michael__ has quit [Remote host closed the connection]
hmarr has quit []
EPIK has joined #ruby
choobie has quit [Remote host closed the connection]
<workmad3> waxjar: running without the bundle exec will run the first 'rspec' executable on the $PATH
heftig has joined #ruby
rking has joined #ruby
etcetera has quit []
<waxjar> that'd be the technical explanation :P
<workmad3> waxjar: which could be in a bundler binstubs directory (and so the equivalent of bundle exec rspec), could be a plain rubygems executable (so will run the latest, irrespective of gemfile, and potentially hit an error with multiple activations) or could be a gem executable rewritten by rubygems-bundler (which would be like bundle exec again)
eliasp_ has quit [Read error: Connection reset by peer]
ariedler has quit [Remote host closed the connection]
eliasp has joined #ruby
<workmad3> installing rubygems-bundler is the default for rvm nowadays, btw, so it's not inconceivable that you'd have it installed without realising
Michael__ has joined #ruby
idkazuma has joined #ruby
etcetera has joined #ruby
<workmad3> waxjar: so it's a bit more complex than just 'the latest version', as there's tools you can end up with installed without realising that affect the behaviour :)
backjlack has quit [Read error: Connection reset by peer]
osvico has joined #ruby
blacktulip has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
choobie has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
heftig has quit [Quit: Quitting]
thomasfedb has quit [Ping timeout: 252 seconds]
heftig has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
Zai00 has quit [Quit: Zai00]
stnly has quit [Ping timeout: 245 seconds]
Layke has joined #ruby
etcetera has quit []
<choobie> What is the difference between require and include?
stnly has joined #ruby
<banister_> choobie: very different concepts :P
thomasfedb has joined #ruby
<banister_> choobie: stupidly, require is like C's #include
<banister_> choobie: but 'include' is like dynamic form of inheritance
<banister_> using 'include' you can mix 'modules' into the inheritance chain of a class
RORgasm has quit [Remote host closed the connection]
etcetera has joined #ruby
dustint has quit [Quit: Leaving]
Al__ has quit [Quit: Al__]
NuckingFuts is now known as Nuck
Nuck has quit [Changing host]
Nuck has joined #ruby
nari has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jgrevich has quit [Ping timeout: 258 seconds]
Davey has joined #ruby
freerobby has quit [Quit: Leaving.]
jgrevich has joined #ruby
elux has quit [Quit: Bye!]
eliasp_ has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
maxmanders has quit [Quit: Computer has gone to sleep.]
wyhaines has quit [Read error: Connection reset by peer]
xjunior has quit [Remote host closed the connection]
wyhaines has joined #ruby
stkowski has quit [Quit: stkowski]
mikepack has quit [Remote host closed the connection]
alanp_ is now known as alanp
eliasp has joined #ruby
thinkdevcode has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
eliasp_ has quit [Read error: Connection reset by peer]
katherinem13_ has joined #ruby
katherinem13_ has quit [Client Quit]
<unstable> What cool plugins for sublime text do people use for ruby? Are there idiom plugins?
katherinem13_ has joined #ruby
randomau_ has joined #ruby
randomau_ has quit [Read error: Connection reset by peer]
randomau_ has joined #ruby
katherinem13_ has quit [Client Quit]
katherinem13_ has joined #ruby
katherinem13_ has quit [Client Quit]
agarie has joined #ruby
rdev5 is now known as rdev5|away
randomautomator has quit [Ping timeout: 245 seconds]
frem has quit [Ping timeout: 246 seconds]
pydave6367 has quit [Ping timeout: 240 seconds]
malkomalko has quit [Remote host closed the connection]
pitzips has quit [Remote host closed the connection]
adamjleonard has quit [Quit: Leaving...]
moted has quit [Ping timeout: 260 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
TheFuzzball has joined #ruby
IceDragon has joined #ruby
ariedler has joined #ruby
sambao21 has joined #ruby
zeroeth has quit [Ping timeout: 264 seconds]
sambao21 has quit [Client Quit]
freerobby has joined #ruby
arya has quit []
elaptics is now known as elaptics`away
hadees has quit [Quit: hadees]
busybox42 has quit [Ping timeout: 264 seconds]
drim has joined #ruby
motto has quit [Quit: Sto andando via]
chichou has quit [Read error: Connection reset by peer]
huttan has quit [Read error: Connection reset by peer]
allaire has joined #ruby
huttan has joined #ruby
lewix has quit [Remote host closed the connection]
chichou has joined #ruby
Bry8Star_ has joined #ruby
lewix has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
eliasp has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
cburyta has joined #ruby
welandB has joined #ruby
shammancer_ has quit [Read error: Operation timed out]
beneggett has joined #ruby
cburyta_ has quit [Ping timeout: 256 seconds]
shammancer_ has joined #ruby
dmiller has joined #ruby
jgarvey has quit [Quit: Leaving]
Bry8Star has quit [Ping timeout: 276 seconds]
welandC has quit [Ping timeout: 256 seconds]
busybox42 has joined #ruby
fixl has joined #ruby
freerobby has quit [Quit: Leaving.]
d2dchat has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 252 seconds]
mercwithamouth has quit [Read error: Operation timed out]
sepp2k has quit [Read error: Connection reset by peer]
SlickRick has joined #ruby
nkts has quit []
TorpedoSkyline has joined #ruby
SCommette has quit [Quit: SCommette]
mellow888 has joined #ruby
moted has joined #ruby
axsuul_ has quit [Quit: axsuul_]
SlickRick has quit [Killed (idoru (Spam is off topic on freenode.))]
mengu has quit [Quit: This computer has gone to sleep]
dayom has quit [Quit: dayom]
Michael__ is now known as mhf
jhowarth has quit [Ping timeout: 240 seconds]
thejefflarson_ has quit [Ping timeout: 240 seconds]
arusso has quit [Ping timeout: 240 seconds]
faulkner has quit [Ping timeout: 240 seconds]
eliasp has quit [Read error: Connection reset by peer]
eliasp_ has joined #ruby
dovahkin has joined #ruby
chimkan_ has quit [Quit: chimkan_]
faulkner has joined #ruby
arusso has joined #ruby
generalissimo has quit [Remote host closed the connection]
rcosta has joined #ruby
felixjet has quit [Ping timeout: 252 seconds]
jimeh has quit [Quit: Computer has gone to sleep.]
mneorr has quit [Remote host closed the connection]
TorpedoSkyline has quit [Read error: Connection timed out]
TorpedoSkyline has joined #ruby
doritostains has joined #ruby
alex__c2022 has joined #ruby
alex__c2022 has quit [Client Quit]
jimeh_ has joined #ruby
etcetera has quit [Ping timeout: 264 seconds]
mtlatif has quit [Ping timeout: 240 seconds]
cam` has quit [Ping timeout: 240 seconds]
flowerhack has quit [Ping timeout: 240 seconds]
notbrent has quit [Ping timeout: 240 seconds]
im0b has quit [Ping timeout: 240 seconds]
neurone-1337 has quit [Ping timeout: 240 seconds]
fasta has joined #ruby
rawler_ has joined #ruby
fasta_ has quit [Read error: Connection reset by peer]
rawler has quit [Read error: Connection reset by peer]
neurone-1337 has joined #ruby
predator117 has quit [Ping timeout: 257 seconds]
eliasp has joined #ruby
rismoney has quit [Read error: Connection reset by peer]
eliasp_ has quit [Ping timeout: 240 seconds]
felixjet has joined #ruby
predator117 has joined #ruby
etcetera has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
ilyam has joined #ruby
mmitchell has quit [Remote host closed the connection]
sharkbyteusa has joined #ruby
hmarr has joined #ruby
dovahkin has left #ruby ["fus ro"]
piotr_ has quit [Ping timeout: 248 seconds]
BSaboia has quit [Read error: Connection reset by peer]
d2dchat has joined #ruby
justsee has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Ping timeout: 252 seconds]
mrsolo has quit [Quit: Leaving]
zeade has quit [Quit: Leaving.]
feedbackloop has quit [Read error: Connection reset by peer]
<mellow888> hi
Sicp has quit [Quit: Leaving]
X-Jester has quit [Ping timeout: 245 seconds]
andrewh has quit [Read error: Connection reset by peer]
<rcosta> hi?
chrishough has quit [Quit: chrishough]
<mellow888> I have a situation
<mellow888> there is a proxy written in ruby
<mellow888> and I would like to get the output of said proxy and run it through a protocol with a tool written in python
<mellow888> what would be the best way to go about it?
Davey has quit [Quit: Computer has gone to sleep.]
<mellow888> I thought of just using the python script to listen at a port, and tell the ruby proxy to output to the python port
<waxjar> what kind of output?
<mellow888> it would be an https proxy
<mellow888> so the output is tcp traffic
akashj87 has joined #ruby
tcopp has joined #ruby
sambio has quit []
subbyyy has joined #ruby
<waxjar> shouldn't the proxy provide a way to forward that traffic to some kind of socket?
sambio has joined #ruby
sambio has quit [Changing host]
sambio has joined #ruby
TorpedoSkyline has quit [Quit: Computer has gone to… zzzzz...]
akashj87__ has quit [Ping timeout: 264 seconds]
akashj87 has quit [Ping timeout: 264 seconds]
<mellow888> the thing is I want the proxy and the method to be separate
<mellow888> so I can add new methos without modifying the proxy
saysjonathan has joined #ruby
saysjonathan has left #ruby [#ruby]
Guest62276 is now known as ixx
chrishough has joined #ruby
mneorr has joined #ruby
emmanuelux has quit [Quit: emmanuelux]
veer has quit [Ping timeout: 264 seconds]
slainer68 has quit [Remote host closed the connection]
timmow has quit [Remote host closed the connection]
Es0teric has joined #ruby
veer has joined #ruby
NiteRain has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
tylersmith has quit [Quit: tylersmith]
<jokke> anyone know of a gem which packs a hash with all locales like this { :en => {:GB, :US ...
<jokke> or something similar
strg_ has quit [Quit: Linkinus - http://linkinus.com]
<jokke> i need to find a country code for any language
tcopp has left #ruby [#ruby]
rickmasta has quit [Quit: Leaving...]
chrishough has quit [Quit: chrishough]
mneorr has quit [Ping timeout: 258 seconds]
freerobby has joined #ruby
hmarr has quit []
Yulli has joined #ruby
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
<Yulli> Hello again! Err.. so is there any reason for me to use RVM if I'm not ever switching around between ruby versions or gemsets or anything? (Ruby newbie here.)
rburton- has joined #ruby
rburton- has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
eliasp has quit [Read error: Connection reset by peer]
rburton- has joined #ruby
eliasp has joined #ruby
mmitchell has joined #ruby