fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
cbz0 has joined #ruby
ryanf has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
nwest has joined #ruby
iszak has joined #ruby
Elico1 has quit [Ping timeout: 246 seconds]
stabby_lambda has joined #ruby
mmitchell has quit [Ping timeout: 276 seconds]
Elico1 has joined #ruby
cbz0 has left #ruby [#ruby]
justinmcp has joined #ruby
tehgeekmeister has quit [Remote host closed the connection]
sterex has quit [Quit: sterex]
c0rn_ has joined #ruby
stephenjudkins_ has joined #ruby
iszak has quit [Client Quit]
conor_ireland has quit [Read error: Connection reset by peer]
stephenjudkins__ has joined #ruby
conor_ireland has joined #ruby
stephenjudkins has quit [Ping timeout: 244 seconds]
stephenjudkins__ is now known as stephenjudkins
stephenjudkins__ has joined #ruby
conor_ireland has quit [Read error: Connection reset by peer]
Jake232 has quit [Quit: Computer has gone to sleep.]
nykc has joined #ruby
nykc has left #ruby [#ruby]
digitalcakestudi has quit [Ping timeout: 246 seconds]
stephenjudkins_ has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 244 seconds]
stephenjudkins has quit [Ping timeout: 252 seconds]
stephenjudkins__ is now known as stephenjudkins
mercwithamouth has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
Elico1 has quit [Ping timeout: 252 seconds]
digitalcakestudi has joined #ruby
banisterfiend has joined #ruby
billyoc has joined #ruby
Elico1 has joined #ruby
noyb has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
banisterfiend has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-dev)]
butblack has joined #ruby
wpaulson has joined #ruby
Elico1 has quit [Remote host closed the connection]
Elico1 has joined #ruby
jgrevich has quit [Quit: jgrevich]
havenn has quit [Remote host closed the connection]
mustnotfap has joined #ruby
wpaulson_ has joined #ruby
heftig has quit [Quit: leaving]
cakehero has quit [Ping timeout: 240 seconds]
raul782 has joined #ruby
c0rn_ has quit []
yasushi has joined #ruby
cakehero has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 244 seconds]
wpaulson has quit [Ping timeout: 244 seconds]
wpaulson_ is now known as wpaulson
mustnotfap has quit [Quit: Lost terminal]
gfontenot has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
RudyValencia has quit [Quit: My IRC client doesn't advertise in /quit messages.]
heftig has joined #ruby
stephenjudkins has joined #ruby
Asher has joined #ruby
freeayu has joined #ruby
zigomir has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
bananagram has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
mustnotfap has joined #ruby
pingfloyd has quit [Ping timeout: 240 seconds]
mustnotfap has quit [Client Quit]
rprime has quit [Ping timeout: 245 seconds]
yasushi has quit [Remote host closed the connection]
<karstensrage> hmm
<karstensrage> should something like 'method arg1 { :foo => 'foo', :bar => 'bar' }.merge otherhash' work?
Progster has joined #ruby
<karstensrage> or is there some way to make the { :foo => 'foo', :bar => 'bar' }.merge otherhash be arg2? without taking it out?
<karstensrage> scoping with '() ' or something?
<fowl> karstensrage: () does not open a new scope
fyolnish_ has joined #ruby
<fowl> karstensrage: when passing a literal hash you have to use () otherwise ruby thinks its a block
deryl has quit [Read error: No route to host]
deryl has joined #ruby
<fowl> what are you trying to do o_O
deryl is now known as Guest21486
pingfloyd has joined #ruby
mmitchell has joined #ruby
noyb has joined #ruby
CircleDot has quit [Read error: Connection reset by peer]
<karstensrage> ok, i think () will work
fyolnish_ has quit [Ping timeout: 244 seconds]
<karstensrage> lemme give it a try
Elico1 has quit [Ping timeout: 264 seconds]
Guest21486 has quit [Client Quit]
fantazo has joined #ruby
sailias has joined #ruby
wpaulson has joined #ruby
sailias has quit [Client Quit]
ThatDudeGuy_ has quit [Quit: ThatDudeGuy_]
dpk has quit [Quit: Asleep at the keyboard.]
Elico1 has joined #ruby
cakehero has quit [Ping timeout: 252 seconds]
gfontenot has quit []
<shevy> karstensrage you must remember that the ruby parser tries to find out what you wanna use. in ruby, a hash can be screated via {}, but {} can also be used for blocks. ruby needs to "guess" which one is the correct
<shevy> *created
<davidcelis> pretty sure ruby doesn't guess, pretty sure if a method takes a block, ruby just assumes it's a block
cakehero has joined #ruby
rednails has joined #ruby
rednails has left #ruby [#ruby]
n_blownapart has joined #ruby
n_blownapart has quit [Remote host closed the connection]
Elico1 has quit [Ping timeout: 244 seconds]
savage- has joined #ruby
<karstensrage> i gotta say, im liking ruby a lot better than python
<karstensrage> and you guys are a great help, i really appreciate that
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Elico1 has joined #ruby
<ryanf> davidcelis: every method can take a block
<Spooner> davidcelis shevy: Ruby will happily pass a block to a method that doesn't have any interest in the block. It can parse the difference between a hash and a block though. E.g. f.meth {} is a block, but f.meth({}) is a hash argument (as is the implicit f.meth(x: 12)
slyv has quit [Quit: Cya]
<ryanf> it's just a question of whether it decides to use yield
<ryanf> which can't be determined statically
<ryanf> well, I guess it could, but it's not
adamjm has joined #ruby
bananagram has quit [Ping timeout: 272 seconds]
<davidcelis> basically what i meant
<davidcelis> is that guessing is not involved
bananagram has joined #ruby
CodeFriar has quit [Quit: Leaving...]
pdtpatrick has quit [Quit: pdtpatrick]
rking has quit [Quit: Freeing up memory]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<shevy> {} means a hash, Hash.new {} to pass a block to it, {}{} however does not work
kvirani has quit [Remote host closed the connection]
adamjm has left #ruby [#ruby]
<Spooner> Yeah, not guessing. It is more that as a newbie has to guess what Ruby will what it is handed ;)
<karstensrage> it worked putting () around it so 'method arg1 ({ :foo => 'foo', :bar => 'bar' }.merge otherhash)
<fowl> >> def swallower(*) end; swallower a: 'hash', doot: 'doo' { puts 'hello' }
<al2o3cr> -e:1:in `eval': (eval):1: syntax error, unexpected '{', expecting $end (SyntaxError), ...llower a: 'hash', doot: 'doo' { puts 'hello' }, ... ^, from -e:1:in `<main>'
savage- has quit [Remote host closed the connection]
<fowl> nope.jpg
<fowl> karstensrage: what are you doing with that merged hash? you want it to be arg2 to method() ?
<karstensrage> yes
<karstensrage> yes exactly, arg2 to method
<fowl> you should be calling like
<fowl> method arg1, {:foo=>'foo'}.merge(otherhash)
<heftig> >> def swallower(*) end; swallower a: 'hash', doot: 'doo' do puts 'hello' end
<al2o3cr> (NilClass) nil
<karstensrage> hmm
<fowl> karstensrage: your way should have given you an error without the ,
<karstensrage> oh it has the ',' sorry
sepp2k1 has quit [Remote host closed the connection]
<fowl> oh ok
<karstensrage> so you can call methods either way?
<karstensrage> either no () or ()?
<fowl> well no you're good then
tommyvyo has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
<fowl> >> File.join (File.expand_path '~'), 'foo'
<al2o3cr> (String) "/home/jrajav/foo"
<karstensrage> which is preferred?
<shevy> karstensrage for most examples yeah
fixl has joined #ruby
<shevy> for blocks you tend to use: foo('bla','ble','blu') { something_here } rather than
<shevy> foo 'bla','ble','blu' { something_here }
<fowl> depends on the person, i use parens a lot to do crazy things
<shevy> lies!
<shevy> fowl is doing this a lot:
jarred has joined #ruby
<shevy> def foo arg1, arg2, arg3
<fowl> >> i = 0; (puts i; i += 2) while i < 10
<al2o3cr> (NilClass) nil, Console: 0, 2, 4, 6, 8
<fowl> i use them to abuse postfixes
<shevy> hehe
<shevy> karstensrage if you have... object.method and no argument, then most will omit the ()
<shevy> cat.meow vs cat.meow()
<shevy> if you have arguments, I think... 60% will use ()
<shevy> though in rails world possibly only 20%
<fowl> wat^
noyb has quit [Ping timeout: 240 seconds]
Hovercouch has joined #ruby
dagnachewa has quit [Quit: Leaving]
<davidcelis> what
punkrawkR has quit [Read error: Connection reset by peer]
<davidcelis> `obj.method(arg)` is one more character than `obj.method arg`
<davidcelis> y u do dat
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Hanmac has quit [Ping timeout: 246 seconds]
araujo has joined #ruby
Elico1 has quit [Ping timeout: 252 seconds]
noyb has joined #ruby
koshii has joined #ruby
<koshii> Hey do any of you guys know how to force Homebrew to use a specific branch? Every time I update it reverts to master.
mustnotfap has joined #ruby
Elico1 has joined #ruby
deryl has joined #ruby
ibash has joined #ruby
CarlB_the_great has joined #ruby
ibash has quit [Client Quit]
ibash has joined #ruby
<ibash> RUBYYYYYYYy
Elico1 has quit [Ping timeout: 248 seconds]
jarred has quit [Quit: jarred]
Elico1 has joined #ruby
Hanmac has joined #ruby
deryl has quit [Quit: Leaving.]
deryl has joined #ruby
mmitchell has quit [Remote host closed the connection]
doomMonkey has quit [Ping timeout: 255 seconds]
justinmcp has quit [Remote host closed the connection]
havenn has joined #ruby
Hovercouch has left #ruby [#ruby]
Elico1 has quit [Ping timeout: 240 seconds]
deryl has quit [Quit: Leaving.]
deryl has joined #ruby
pskosinski has quit [Ping timeout: 276 seconds]
havenn has quit [Ping timeout: 276 seconds]
CarlB_the_great has quit [Remote host closed the connection]
fyolnish has joined #ruby
yubiwasabi2 has joined #ruby
bluenemo has quit [Remote host closed the connection]
NomadJim has joined #ruby
jasonkuhrt has joined #ruby
fyolnish has quit [Ping timeout: 264 seconds]
GraemeLion has joined #ruby
NomadJim has left #ruby ["Leaving"]
gverri has joined #ruby
CarlB_the_great has joined #ruby
Elico1 has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
apok has joined #ruby
GoHuyGo has quit [Quit: Leaving]
cakehero has joined #ruby
emmanuelux has joined #ruby
cakehero has quit [Client Quit]
jimeh has joined #ruby
piotr_ has quit [Ping timeout: 276 seconds]
Progster has quit [Ping timeout: 260 seconds]
CarlB_the_great has quit [Remote host closed the connection]
horofox has quit [Quit: horofox]
rking has joined #ruby
Elico1 has quit [Ping timeout: 260 seconds]
Elico1 has joined #ruby
adeponte has quit [Remote host closed the connection]
radic has quit [Disconnected by services]
radic_ has joined #ruby
radic_ is now known as radic
yasushi has joined #ruby
tk___ has joined #ruby
BSaboia__ has quit [Quit: Fui embora]
Elico1 has quit [Ping timeout: 252 seconds]
yubiwasabi2 has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Elico1 has joined #ruby
yubiwasabi2 has joined #ruby
sonkei has joined #ruby
deryl has quit [Quit: to restart client]
deryl has joined #ruby
yasushi has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
sonkei has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
indian has joined #ruby
TheShadowFog has joined #ruby
chimay has joined #ruby
chimay has quit [Changing host]
chimay has joined #ruby
doomMonkey has joined #ruby
gverri has quit [Quit: gverri]
koshii has quit [Quit: leaving]
jenrzzz has joined #ruby
ibash has quit [Quit: ibash]
flyinprogramer has joined #ruby
<crocket> I upgraded vendor/bundle/ruby/1.9.1/bundler/gems/gitolite-client-9b715ca8bab6 by git-fetch and git-merge.
<crocket> After then, when I run gitlab, I see "Could not find gitolite-0.0.4.alpha in any of the sources".
<flyinprogramer> why isn't this returning two match groups… "$55.00 / $44.00".match /\$(\d+.\d+)/
<flyinprogramer> it only returns 55.00 and not 44.00
Elico1 has quit [Ping timeout: 252 seconds]
Elico1 has joined #ruby
cakehero has joined #ruby
<deryl> "$55.00 / $44.00".match /\$(\d+.\d+).+(.\d+.\d+)/
<deryl> 16] pry(main)> "$55.00 / $44.00".match /\$(\d+.\d+).+(.\d+.\d+)/
<deryl> => #<MatchData "$55.00 / $44.00" 1:"55.00" 2:"44.00">
mercwithamouth has quit [Ping timeout: 240 seconds]
<flyinprogramer> its not working in irb...
mercwithamouth has joined #ruby
<deryl> 1.9.3p194 :001 > "$55.00 / $44.00".match /\$(\d+.\d+).+(.\d+.\d+)/
<deryl> => #<MatchData "$55.00 / $44.00" 1:"55.00" 2:"44.00">
<deryl> 1.9.3p194 :002 >
<deryl> works here
<flyinprogramer> yah but why do you have to repeat yourself...
<flyinprogramer> i thought it would return all possible matches
<deryl> what?
<flyinprogramer> the +[copy of first]
<banisterfiend> flyinprogramer: careful i think u're about to get head stomped or made to bite the curb
<flyinprogramer> i assume banister is a bot? i'm not trying to cop an attitude...
<shadoi> Is there a better way to do this? https://gist.github.com/3682240
<flyinprogramer> you modified the reg and added: .+(.\d+.\d+)/
banisterfiend has quit [Remote host closed the connection]
afex has quit [Quit: afex]
<flyinprogramer> why do you have to add that, i was under the impression that the single matching group would catch all possible matches, not the first
<flyinprogramer> **not just the first
<deryl> yeah because you need to list each match you want. not just the first. it stops matching after the first match
<flyinprogramer> ah
<flyinprogramer> that seems silly, but i'll accept it
pdtpatrick has joined #ruby
<deryl> :shrug: i didn't write it, i just follow its rules
<crocket> I think ruby or something cached a verion of a program somewhere.
<deryl> anyways, time for bed now that the kids are down.
<crocket> How can I remove that cache
<flyinprogramer> yup, you're correct, if you use scan instead of match, you get all occurrences
cakehero has quit [Quit: Leaving...]
yoklov has joined #ruby
mmitchell has joined #ruby
Elico1 has quit [Ping timeout: 260 seconds]
horofox has joined #ruby
justinmcp has joined #ruby
Karmaon_ is now known as Karmaon
Elico1 has joined #ruby
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby
mmitchell has quit [Ping timeout: 276 seconds]
stabby_lambda is now known as rjsamson
Kilaru has joined #ruby
Kilaru has left #ruby [#ruby]
digitalcakestudi has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
mneorr has joined #ruby
Elico1 has quit [Ping timeout: 260 seconds]
Axsuul has quit [Ping timeout: 268 seconds]
fbernier has quit [Ping timeout: 276 seconds]
chimay has quit [Quit: WeeChat 0.3.9-rc1]
Axsuul has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
emmanuelux has quit [Remote host closed the connection]
niklasb_ has quit [Ping timeout: 246 seconds]
raul782 has quit [Remote host closed the connection]
Elico1 has joined #ruby
justinmcp has quit [Remote host closed the connection]
adeponte has joined #ruby
machty has quit [Quit: machty]
mikepack has joined #ruby
mmitchell has joined #ruby
mahmoudimus has joined #ruby
<Spooner> shadoi : "filename".ljust(padding, 0.chr)
<Spooner> >> "filename".ljust 12, 0.chr
<al2o3cr> (String) "filename\x00\x00\x00\x00"
adeponte has quit [Remote host closed the connection]
mneorr has quit [Quit: Leaving.]
fbernier has joined #ruby
Elico1 has quit [Ping timeout: 248 seconds]
<mercwithamouth> is there any real difference in the way you create a hash in ruby? http://i.imgur.com/4GtEq.png
<mercwithamouth> i noticed the 'colors' returned in IRB are different depending on how i create them...
AlbireoX`Laptop has quit [Remote host closed the connection]
<Spooner> mercwithamouth : The latter hash is keyed on Symbols, the former on Strings.
AlbireoX has joined #ruby
<Spooner> { symbol: 1 } is the 1.9 alternative syntax for { :symbol => 1 }, but { "string" => 1 } is not the same.
<mercwithamouth> Spooner: ahh, oops i see. are there certain times you want to use one opposed to the other?
Elico1 has joined #ruby
<mercwithamouth> ahh i see...i like the 1.9 syntax better. i'll start using that.
<mercwithamouth> ignore that last question...i see now
sonkei has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Remote host closed the connection]
<Spooner> I'd recommend you use pry (a gem) rather than the default irb, by the way. Much nicer to play around in for fiddling with code.
Elico1 has quit [Ping timeout: 244 seconds]
flyinprogramer has quit [Quit: flyinprogramer]
Elico1 has joined #ruby
AndChat- has joined #ruby
<mercwithamouth> Spooner: adding it now
Banistergalaxy has quit [Ping timeout: 244 seconds]
banisterfiend has joined #ruby
havenn has joined #ruby
Monie has quit [Ping timeout: 245 seconds]
havenn has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
havenn has joined #ruby
Monie has joined #ruby
Monie has quit [Changing host]
Monie has joined #ruby
crazed has quit [Ping timeout: 246 seconds]
Elico1 has quit [Ping timeout: 244 seconds]
Jamone has joined #ruby
Jamone has quit [Changing host]
Jamone has joined #ruby
havenn has quit [Ping timeout: 244 seconds]
Monie has quit [Ping timeout: 244 seconds]
Elico1 has joined #ruby
<Azure> I have not one idea how to make a 'live' blog feed display via command line (or pushing it some other way, like irc.)
abstrusenick has joined #ruby
<Azure> Anyone got anything that they could point me towards?
<Azure> already searched google, and well, nothing.
Spooner has quit [Read error: Connection reset by peer]
Spooner has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
fbernier has quit [Ping timeout: 240 seconds]
luxurymode has joined #ruby
mahmoudimus has joined #ruby
adeponte has joined #ruby
crazed has joined #ruby
jarred has joined #ruby
ThatDudeGuy_ has joined #ruby
Spooner has quit [Ping timeout: 246 seconds]
adeponte has quit [Remote host closed the connection]
tommyvyo has quit [Quit: Computer has gone to sleep.]
Elico1 has quit [Ping timeout: 252 seconds]
Jamone has quit [Ping timeout: 244 seconds]
mmitchell has joined #ruby
Elico1 has joined #ruby
pdtpatrick has quit [Quit: pdtpatrick]
butblack has quit [Quit: butblack]
luxurymode has quit [Quit: Computer has gone to sleep.]
asklov has quit [Ping timeout: 240 seconds]
<shadoi> Spooner thanks :)
c0rn_ has joined #ruby
jgrevich has joined #ruby
<banisterfiend> shadoi: sup doi
jasonkuhrt has quit [Quit: Leaving...]
<shadoi> yo
Elico1 has quit [Ping timeout: 255 seconds]
quest88 has joined #ruby
Elico1 has joined #ruby
spopescu has joined #ruby
fsck3r has joined #ruby
<rking> What was that one editor that Ruby people use that recently became open-source?
<seanstickle> TextMate
<seanstickle> 2
<rking> That's right. Thanks =)
Elico1 has quit [Ping timeout: 248 seconds]
<shadoi> I am developing a burning hatred for DHCP.
<rking> I heard a strong recommendation to check out Sublime. I was hoping it was the one and I was just missing the repo URL when searching. =\
nari has joined #ruby
sterex has joined #ruby
blazes816 has joined #ruby
<banisterfiend> seanstickle: sup stick
Elico1 has joined #ruby
<seanstickle> hallo
bananagram has quit [Ping timeout: 246 seconds]
jgrevich has quit [Quit: jgrevich]
digitalcakestudi has joined #ruby
horofox has quit [Quit: horofox]
<Azure> I guess that I need some sort of pubsub solution, or...?
crazed has quit [Ping timeout: 240 seconds]
Elico1 has quit [Ping timeout: 272 seconds]
rjsamson has quit [Remote host closed the connection]
sonkei has quit [Quit: Computer has gone to sleep.]
Elico1 has joined #ruby
<blazes816> Azure: missed your Q, what was it?
nwest has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
yshh has quit [Remote host closed the connection]
<Azure> [Sep09 12:43:14AM] <Azure> I have not one idea how to make a 'live' blog feed display via command line (or pushing it some other way, like irc.)
<Azure> [Sep09 12:43:34AM] <Azure> Anyone got anything that they could point me towards?
<Azure> [Sep09 12:43:45AM] <Azure> already searched google, and well, nothing.
<Azure> blazes816, ^
rippa has joined #ruby
pu22l3r has joined #ruby
<blazes816> so you want to push the new blog post notification
<blazes816> ?
<blazes816> pub/sub server is probably your best bet
Elico1 has quit [Ping timeout: 260 seconds]
machty has joined #ruby
Elico1 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
pdtpatrick has joined #ruby
mahmoudimus has joined #ruby
<crocket> What is unicorn?
coyo has joined #ruby
coyo has quit [Changing host]
coyo has joined #ruby
<davidcelis> a mythical creature, essentially a horse with a spiral horn coming out of its forehead
<davidcelis> most typically they are a pristine white
fbernier has joined #ruby
<Azure> blazes816: yeah, I thought so. I should be able to access a wordpress blog and get those notifications for when it updates?
<blazes816> unicorn is also a ruby http server
<blazes816> Azure: you'd want to write a plugin for WP so that it publishes a notification to your pub sub server
mahmoudimus has quit [Client Quit]
<Azure> I see. I would have to talk to the owners in that case. :p
<blazes816> ah, i see
<blazes816> the best you could do in that case is polling
<crocket> Why is it so slow to execute "bundle exec unicorn_rails -c config/unicorn.rb -E production -D"?
<crocket> apache httpd just starts within two seconds.
<crocket> unicorn starts after 30 sec.
<blazes816> they do very different things
<blazes816> https://github.com/blog/517-unicorn has some info
<davidcelis> why does it take so much longer to peel an orange than it does to peel a banana
<blazes816> hahaha
<davidcelis> takes like 5 seconds to peel a banana, takes close to a minute to peel an orange
<blazes816> and if that orange were to be spinning up pools of worker oranges, forget about it
<crocket> ???
<crocket> blazes816, Your analogy is confusing.
c0rn_ has quit []
<blazes816> davidcelis handled the analogy on this one
<crocket> Does it mean unicorn is bloated?
SCommette has quit [Quit: SCommette]
<blazes816> not at all
<davidcelis> is the orange bloated?
<blazes816> apache and unicorn are built for very different purposes
<blazes816> apache is more for static assets, or simple cgi scripts.
<blazes816> vs unicorn which is built to handle serving requests to the ruby vm
<crocket> anyway... gitlab only listens on :3000. How can I make it listen on another port?
nari has quit [Ping timeout: 264 seconds]
<blazes816> which can't be handled in an apache style
<crocket> blazes816, Is it CPU intensive during startup?
crazed has joined #ruby
fsck3r has quit [Quit: Leaving...]
<blazes816> not compared with during request execution
havenn has joined #ruby
<blazes816> you can probably pass "-p 8080" to it
<blazes816> or read some docs
hsbt_ has quit [Ping timeout: 252 seconds]
<crocket> blazes816, doc!!!
jimeh has quit [Ping timeout: 240 seconds]
SCommette has joined #ruby
Elico1 has quit [Ping timeout: 260 seconds]
hsbt_ has joined #ruby
<blazes816> here ya go tiger https://github.com/defunkt/unicorn
snorkdude has joined #ruby
centipedefarmer has quit [Quit: This computer has gone to sleep]
<crocket> blazes816, Does unicorn listen on 3000 by default?
<snorkdude> Can anyone here help me with Nokogiri? Everyone's idle over at #nokogiri.
<blazes816> yes
rubious has quit [Quit: Leaving...]
crazed has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 246 seconds]
<blazes816> snorkdude: perhaps, go for it
crazed has joined #ruby
<snorkdude> blazes816, I just want to know how to read the "outer element" of an HTML file if you will.
uris has joined #ruby
<blazes816> no idea what that means
<blazes816> the root node?
<snorkdude> blazes816, let me throw a gist together real quick.
<blazes816> cool
ZachBeta has quit [Quit: Computer has gone to sleep.]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
<davidcelis> snorkdude: document.root_node
Elico1 has joined #ruby
mmitchell has quit [Remote host closed the connection]
crazed has quit [Ping timeout: 246 seconds]
mmitchell has joined #ruby
<crocket> blazes816, 'bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production BACKGROUND=yes' is also slow to start.
rippa has quit [Ping timeout: 244 seconds]
<crocket> blazes816, It seems my ATOM cpu is too slow.
<blazes816> crocket: sorry? things in prod tend to be slow. you can profile if you like.
<blazes816> yeah, probably
<crocket> Is unicorn faster than apache?
mmitchell has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
Z_Mass has joined #ruby
<blazes816> are your trolling?
<crocket> blazes816, no
crazed has joined #ruby
<snorkdude> blazes816, get a chance to check it out?
<blazes816> crocket: then read the unicorn docs and decide if it's preferable to passenger
<blazes816> snorkdude: doc.xpath("//body").children.first.name, given that you have actual html. nokogiri will add <html><body></body></html> around fragments like your example
beachandbytes has joined #ruby
<snorkdude> blazes816, the gist I showed you is just an extraction from a large html file.
<blazes816> either way, if you want the root node, it will always be <html>. if you want the first child of <body>, that's how you get it
<blazes816> left a comment on the gist but the html got fucked up, but you should get the idea
crazed has quit [Ping timeout: 250 seconds]
<snorkdude> So that will work in an HTML file hundreds of lines long?
<blazes816> billions if you had enough memory
<snorkdude> Awesome, thanks
<blazes816> np
crazed has joined #ruby
SCommette has quit [Quit: SCommette]
hsbt_ has quit [Ping timeout: 264 seconds]
AlbireoX has quit [Read error: Connection reset by peer]
crazed has quit [Ping timeout: 245 seconds]
AlbireoX`Laptop has joined #ruby
crazed has joined #ruby
Jamone has joined #ruby
Jamone has quit [Changing host]
Jamone has joined #ruby
arietis has joined #ruby
pu22l3r has quit [Remote host closed the connection]
hsbt_ has joined #ruby
blazes816 has quit [Quit: blazes816]
mr-rich has quit [Ping timeout: 240 seconds]
crazed has quit [Remote host closed the connection]
crazed has joined #ruby
Elico1 has quit [Ping timeout: 272 seconds]
crazed has quit [Ping timeout: 260 seconds]
ThatDudeGuy_ has quit [Quit: ThatDudeGuy_]
Elico1 has joined #ruby
mustnotfap has quit [Quit: maintenance]
uris has quit [Quit: leaving]
crazed has joined #ruby
Elico1 has quit [Ping timeout: 244 seconds]
Elico1 has joined #ruby
<RubyPanther> How is Ruby 2 so fast?! I can hardly tell the difference between my Ruby and my C anymore.
<crocket> RubyPanther, Not when it comes to 3D games.
GraemeLion has quit [Quit: out]
Erfankam has joined #ruby
<banisterfiend> RubyPanther: why do you tell lies
<crocket> ruby can't be faster than java, either.
jenrzzz has quit [Ping timeout: 248 seconds]
bluOxigen has quit [Ping timeout: 248 seconds]
<crocket> interpreted languages are inherently slow.
crazed has quit [Ping timeout: 250 seconds]
Z_Mass has quit [Ping timeout: 240 seconds]
<RubyPanther> Why not 3D games?
<RubyPanther> The video card does the work
<crocket> RubyPanther, too much overhead
<crocket> CPU still does a lot of things.
<RubyPanther> Like everything else, if there is something with overhead issues you use the C API
<Boohbah> RubyPanther: lol
<RubyPanther> You can still put your application logic in Ruby and your object model in Ruby
<crocket> What about compatibility issues?
crazed has joined #ruby
<crocket> Ruby syntax changes.
<crocket> new interpreters wouldn't run old ruby games.
<RubyPanther> My C extensions that I develop on linux compile without tweaking on windoze using the one-click dev-kit
<RubyPanther> Ruby is very portable on the C side, and it extends right into your extensions if you use the same philosophy
<coyo> good evening :D
crazed has quit [Ping timeout: 245 seconds]
rubious has joined #ruby
rubious has quit [Ping timeout: 240 seconds]
<Hanmac> crocket liear ... i get the same FPS with Ogres SampleBrowser and my little stuff
diegoviola has quit [Ping timeout: 276 seconds]
<crocket> Hanmac, What is it?
crazed has joined #ruby
arturaz has joined #ruby
freeayu has quit [Quit: 离开]
<Hanmac> with mesa ~20FPS with fglrx >200FPS
<crocket> Hanmac, Is it written in ruby?
tk___ has quit [Ping timeout: 255 seconds]
<Hanmac> my first sample is
<banisterfiend> crocket: btw ruby is not strictly an 'interpreted' language, many of the implementations have bytecode vms
love_col_ has joined #ruby
maletor has joined #ruby
<crocket> Hanmac, Why is mesa 10 times slower than fglrx?
<Hanmac> but it uses the Ogre's Loop so it might be not fair
tommyvyo has joined #ruby
mikepack has joined #ruby
<Hanmac> crocket because the free radeon driver are slower than the proprietary driver from amd
Chryson has quit [Quit: Leaving]
<crocket> It sucks.
tk___ has joined #ruby
Elico1 has quit [Ping timeout: 260 seconds]
tommyvyo has quit [Client Quit]
yubiwasabi2 has quit [Quit: Computer has gone to sleep.]
apok has quit [Quit: apok]
drago757 has joined #ruby
sabgenton has joined #ruby
<sabgenton> why does appending '<<' somehow affect the base variable?
Elico1 has joined #ruby
arkiver has joined #ruby
<Hanmac> sabgenton because "base" an "a" reference to the same object
workmad3 has joined #ruby
<Hanmac> you need: a = base.dup
love_col_ has quit [Remote host closed the connection]
rubious has joined #ruby
<sabgenton> Hanmac: so unlike other langauges ruby kinda pointers stuff together
<sabgenton> Hanmac: how come it works with += ?
mmitchell has quit [Ping timeout: 276 seconds]
pskosinski has joined #ruby
eldariof has joined #ruby
<Hanmac> because a += "" is a = a + "" , unlike << it creates an new String wich is not affect the base string
Elico1 has quit [Ping timeout: 246 seconds]
<sabgenton> but does += replace the reference type with an normal string type
<sabgenton> I guess
beachandbytes has quit [Ping timeout: 276 seconds]
<Hanmac> yea ... with += you get 2 strings (or more)
digitalcakestudi has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
ZachBeta has joined #ruby
<sabgenton> Hanmac: ok so where I using think assignment equates to copy in ruby I think assignment equates to link
<sabgenton> usually think
Elico1 has joined #ruby
answer_42 has joined #ruby
billyoc has quit [Ping timeout: 252 seconds]
<Hanmac> >> base = "string"; a = base;[ "base object_id: #{base.object_id}","a object_id #{a.object_id}" ]
<al2o3cr> (Array) ["base object_id: 20041460", "a object_id 20041460"]
<Hanmac> >> base = "string"; a = base.dup;[ "base object_id: #{base.object_id}","a object_id #{a.object_id}" ]
<al2o3cr> (Array) ["base object_id: 19722020", "a object_id 19722000"]
knightblader has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
Elico1 has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
pskosinski has quit [Read error: Connection timed out]
Elico1 has joined #ruby
fragmachine has joined #ruby
<fragmachine> Does anyone know if there is a way to scrape sites that use javascript?
<sabgenton> Hanmac: thx
pdtpatrick has quit [Quit: pdtpatrick]
<fragmachine> I've been using mechanize but it won't work for JS sites...
fyolnish has joined #ruby
robustus has joined #ruby
AlbireoX`Laptop has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
drago757 has quit [Quit: drago757]
dimday has joined #ruby
dimday has quit [Client Quit]
dimday has joined #ruby
hsbt_ has quit [Ping timeout: 252 seconds]
knightblader has joined #ruby
dimday has quit [Remote host closed the connection]
ABK has joined #ruby
dimday has joined #ruby
ABK has quit [Read error: Connection reset by peer]
Elico1 has quit [Ping timeout: 240 seconds]
ABK has joined #ruby
dimday has quit [Remote host closed the connection]
areil has joined #ruby
Jackneill has joined #ruby
dimday has joined #ruby
Jackneill is now known as Guest81709
dimday has quit [Client Quit]
arkiver has quit [Quit: Leaving]
fragmachine has quit [Quit: leaving]
hsbt_ has joined #ruby
Elico1 has joined #ruby
jgrevich has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
stephenjudkins has quit [Quit: stephenjudkins]
sabgenton has quit [Quit: Page closed]
aces23up has joined #ruby
KuzcekPLT has joined #ruby
snorkdude has quit [Remote host closed the connection]
pskosinski has joined #ruby
Elico1 has quit [Ping timeout: 260 seconds]
Elico1 has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
rubious has quit [Quit: Leaving...]
ryanf_ has joined #ruby
thone_ has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
KuzcekPLT is now known as Catnaroek
thone has quit [Ping timeout: 264 seconds]
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
sambio has quit [Quit: Saliendo]
noyb has quit [Ping timeout: 260 seconds]
fbernier has quit [Ping timeout: 245 seconds]
Elico1 has quit [Ping timeout: 244 seconds]
banisterfiend has quit [Remote host closed the connection]
ABK has quit [Read error: Connection reset by peer]
<aces23up> can't seem to find this, but i'm downloading a large file, and want to save it append the binary file per chunk to disk what IO function do I want for this?
fbernier has joined #ruby
ABK has joined #ruby
yoklov has quit [Quit: computer sleeping]
mmitchell has joined #ruby
Elico1 has joined #ruby
justsee has quit [Quit: Leaving...]
ABK has quit [Read error: Connection reset by peer]
nucc has joined #ruby
s1n4 has joined #ruby
Catnaroek is now known as KuzcekPLT
jenrzzz has joined #ruby
mmitchell has quit [Ping timeout: 246 seconds]
arturaz has quit [Remote host closed the connection]
hsbt_ has quit [Ping timeout: 272 seconds]
nucc has quit [Read error: Operation timed out]
hsbt_ has joined #ruby
<TTilus> aces23up: net/http can do that
Bosox20051 has joined #ruby
<TTilus> frogprince: maybe the site has a backround api you can tap to instead of the js rendered front?
<TTilus> frogprince: and of course you can always run js scaper inside a real browser
seanstickle has quit [Quit: seanstickle]
jgrevich has quit [Quit: jgrevich]
<TTilus> frogprince: or take a really big gun like selenium (+capybara)
<TTilus> frogprince: look for webapp testing tools if you want to try out several
Xeago has joined #ruby
<TTilus> frogprince: there are headless "browsers" that run js
ABK has joined #ruby
burgestrand has joined #ruby
nohonor has joined #ruby
Xeago_ has joined #ruby
crocket has left #ruby ["Leaving"]
Xeago has quit [Ping timeout: 248 seconds]
Elico1 has quit [Ping timeout: 245 seconds]
Elico1 has joined #ruby
justinmcp has joined #ruby
rakunHo has joined #ruby
nucc has joined #ruby
ABK has quit [Read error: Connection reset by peer]
thaz has joined #ruby
ABK has joined #ruby
burgestrand has quit [Quit: Leaving.]
ABK has quit [Read error: Connection reset by peer]
burgestrand has joined #ruby
ABK has joined #ruby
Elico1 has quit [Ping timeout: 245 seconds]
Elico1 has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
nohonor has quit [Quit: Leaving]
piotr_ has joined #ruby
qwerxy has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
smellynoser has joined #ruby
savage- has joined #ruby
MadMark has joined #ruby
savage- has quit [Remote host closed the connection]
yasushi has joined #ruby
piotr__ has joined #ruby
piotr_ has quit [Ping timeout: 246 seconds]
Elico1 has quit [Ping timeout: 268 seconds]
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
dangerousdave has joined #ruby
Criztian has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
MadMark has left #ruby ["Leaving"]
paul_andrew has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
Elico1 has joined #ruby
ABK has quit [Read error: Connection reset by peer]
ABK has joined #ruby
ABK has quit [Read error: Connection reset by peer]
justinmcp has quit [Remote host closed the connection]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
ABK has joined #ruby
bluOxigen has joined #ruby
Elico1 has quit [Ping timeout: 240 seconds]
kryl99_ has joined #ruby
Elico1 has joined #ruby
paul_andrew has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
bughle has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
yshh has joined #ruby
yasushi has quit [Remote host closed the connection]
ABK has quit [Ping timeout: 276 seconds]
fyolnish has quit [Remote host closed the connection]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
seich has quit [Ping timeout: 248 seconds]
fyolni___ has joined #ruby
kryl99_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
jskonhovd has joined #ruby
thaz has quit [Quit: thaz]
spopescu has left #ruby ["Leaving"]
Elico1 has quit [Ping timeout: 245 seconds]
Elico1 has joined #ruby
crocket has joined #ruby
<crocket> How can I make unicorn issue a relative redirect instead of an absolute redirect?
sagax has quit [Ping timeout: 244 seconds]
jarred has quit [Quit: jarred]
banisterfiend has joined #ruby
paul_andrew has joined #ruby
banisterfiend has quit [Remote host closed the connection]
paul_andrew has quit [Read error: Connection reset by peer]
ph^ has joined #ruby
c0rn_ has joined #ruby
guns has quit [Ping timeout: 248 seconds]
hsbt_ has quit [Ping timeout: 246 seconds]
paul_andrew has joined #ruby
qwerxy has quit [Ping timeout: 246 seconds]
hsbt_ has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
br4ndon has joined #ruby
ph^ has quit [Read error: Connection reset by peer]
qwerxy has joined #ruby
ph^ has joined #ruby
seich- has joined #ruby
Guest2797 has joined #ruby
qwerxy has quit [Client Quit]
asshopo_ has quit [Read error: Operation timed out]
chussenot has joined #ruby
br4ndon has quit [Ping timeout: 245 seconds]
aibo has joined #ruby
asshopo has joined #ruby
eldar has joined #ruby
<aibo> hello, what's the easiest way to merge 2 arrays removing items which present in both arrays leaving only items which present in just one of arrays?
MrWubbles has joined #ruby
<burgestrand> No, wait, you want the other way around?
<aibo> example: 2 arrays: [1,2,33,44] and [1,2,55,66], I want to get [33,44,55,66] in the result
eldariof has quit [Ping timeout: 245 seconds]
Virunga has joined #ruby
MrWubbles has quit [Read error: Connection reset by peer]
<burgestrand> aibo: yeah, I don’t know of a single method to do that, but concatenate them and run the difference of that with their intersection
<burgestrand> aibo: a + b - (a & b)
Elico1 has quit [Ping timeout: 248 seconds]
paul_andrew has joined #ruby
br4ndon has joined #ruby
<aibo> burgestrand, yep, that works :) thank you
<burgestrand> aibo: there is also (a - b) + (b - a)
pingfloyd has quit [Quit: pingfloyd]
havenn has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
jskonhovd has quit [Read error: Connection reset by peer]
<burgestrand> … maybe :p
<aibo> :P :)
ryanf has quit [Ping timeout: 244 seconds]
ryanf_ is now known as ryanf
yshh has quit [Remote host closed the connection]
Elico1 has joined #ruby
kryl99_ has joined #ruby
jarred has joined #ruby
fyolni___ has quit [Remote host closed the connection]
fyolnish has joined #ruby
dr_bob has joined #ruby
paul_andrew has joined #ruby
jarred has quit [Ping timeout: 276 seconds]
lkba has quit [Ping timeout: 260 seconds]
dpk has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
Niamkik has joined #ruby
KuzcekPLT has quit [Quit: leaving]
elaptics`away is now known as elaptics
bughle has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
kryl99_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
paul_andrew has joined #ruby
justsee has quit [Quit: Leaving...]
nucc has quit [Ping timeout: 240 seconds]
paul_andrew has quit [Read error: Connection reset by peer]
chimay has joined #ruby
chimay has quit [Changing host]
chimay has joined #ruby
<Hanmac> aibo:
<Hanmac> >> (a = [1,2,33,44] + [1,2,55,66]).select{|i| a.count(i) == 1 }
<al2o3cr> (Array) [33, 44, 55, 66]
elico has quit [Read error: Connection reset by peer]
elico has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
elico has quit [Client Quit]
havenn has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
hsbt_ has quit [Ping timeout: 246 seconds]
Erfankam has quit [Read error: Connection reset by peer]
fantazo has quit [Remote host closed the connection]
znake has joined #ruby
<crocket> How can I make passenger to run gitlab with resque?
<crocket> resque is not launched when gitlab is run.
paul_andrew has joined #ruby
Erfankam has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
conor_ireland has joined #ruby
wobr has joined #ruby
justsee has quit [Quit: Leaving...]
havenn has joined #ruby
Elico1 has quit [Ping timeout: 244 seconds]
hsbt_ has joined #ruby
jarred has joined #ruby
elico has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
jarred has quit [Ping timeout: 240 seconds]
dpk has quit [Quit: Asleep at the keyboard.]
Virunga has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 248 seconds]
Virunga has joined #ruby
znake has quit [Ping timeout: 260 seconds]
punkrawkR has joined #ruby
znake has joined #ruby
rprime has joined #ruby
rprime has quit [Read error: Connection reset by peer]
elico has quit [Ping timeout: 264 seconds]
fyolnish has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
elico has joined #ruby
znake is now known as znake|away
havenn has quit [Remote host closed the connection]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
c0rn_ has quit []
und3f has joined #ruby
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
hsbt_ has quit [Ping timeout: 268 seconds]
hsbt_ has joined #ruby
yxhuvud has joined #ruby
beachandbytes has joined #ruby
fbernier has joined #ruby
elico has quit [Ping timeout: 252 seconds]
paul_andrew has joined #ruby
Banistergalaxy has joined #ruby
AndChat- has quit [Read error: Connection reset by peer]
paul_andrew has quit [Read error: Connection reset by peer]
elico has joined #ruby
znake|away is now known as znake
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
jimeh has joined #ruby
Banistergalaxy has quit [Ping timeout: 272 seconds]
nicoulaj has joined #ruby
Virunga has joined #ruby
ryanf_ has joined #ruby
hsbt_ has quit [Ping timeout: 246 seconds]
hsbt_ has joined #ruby
ryanf has quit [Ping timeout: 255 seconds]
ryanf_ is now known as ryanf
elico has quit [Ping timeout: 246 seconds]
Takehiro has joined #ruby
elico has joined #ruby
<aibo> who can help with datamapper question?
<burgestrand> people who know datamapper
<aibo> epic answer :)
<burgestrand> and your question
Foxandxss has joined #ruby
<burgestrand> nobody can help you with your question if they dont know it even if they know datamapper
<aibo> I am getting datamapper collection after that query: Rating.all(:fields => 'psf_id', :ts_d => Time.now), but I need array to be able to deal with it
<fowl> try #to_a
<aibo> to be able to do `(a - b) + (a&b)`
NimeshNeema has quit [Excess Flood]
AndChat- has joined #ruby
paul_andrew has joined #ruby
<aibo> fowl, that didn't help
paul_andrew has quit [Read error: Connection reset by peer]
<fowl> must be a bug
NimeshNeema has joined #ruby
havenn has joined #ruby
justsee has quit [Quit: Leaving...]
elico has quit [Ping timeout: 240 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
znake is now known as znake|away
wallerdev has quit [Quit: wallerdev]
elico has joined #ruby
jimeh has quit [Ping timeout: 244 seconds]
bapa has quit [Remote host closed the connection]
<shevy> I have a question
<shevy> using setup.rb one can install something like doing this:
<shevy> ruby setup.rb install
<shevy> is there a way to have silent output when doing that?
pskosinski has quit [Read error: Connection timed out]
pskosinski has joined #ruby
bapa has joined #ruby
ananthakumaran has quit [Ping timeout: 244 seconds]
paul_andrew has joined #ruby
Erfankam1 has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
timonv has joined #ruby
<matti> shevy: &> /dev/null
<matti> ;d
<shevy> hmmm
<shevy> that works?
wobr has quit [Ping timeout: 246 seconds]
<matti> It sends me yout CC details ;d
<shevy> :(
abstrusenick has quit [Quit: abstrusenick]
Erfankam has quit [Ping timeout: 272 seconds]
elico has quit [Ping timeout: 260 seconds]
justsee has quit [Quit: Leaving...]
elico has joined #ruby
freeayu has joined #ruby
Erfankam1 has quit [Ping timeout: 246 seconds]
rakl has quit [Quit: sleeping]
Virunga has quit [Remote host closed the connection]
Niamkik has quit [Quit: leaving]
Erfankam has joined #ruby
pen has quit [Ping timeout: 276 seconds]
Russell^^ has joined #ruby
execat has joined #ruby
paul_andrew has joined #ruby
jarred has joined #ruby
elico has quit [Ping timeout: 272 seconds]
cascalheira has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
elico has joined #ruby
vanmik has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
allsystemsarego has joined #ruby
Criztian has quit [Remote host closed the connection]
answer_42 has quit [Ping timeout: 276 seconds]
adambeynon has joined #ruby
cascalheir has joined #ruby
jarred has quit [Ping timeout: 276 seconds]
chussenot has quit [Quit: chussenot]
AndChat- has quit [Read error: Connection reset by peer]
cascalheira has quit [Read error: Connection reset by peer]
elico has quit [Ping timeout: 264 seconds]
cantonic_ has joined #ruby
paul_andrew has joined #ruby
Criztian has joined #ruby
elico has joined #ruby
Xeago has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
Elico1 has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
cantonic has quit [Ping timeout: 252 seconds]
cantonic_ is now known as cantonic
horsey has joined #ruby
<horsey> hi guys
Banistergalaxy has joined #ruby
<matti> Hi
fyolnish has joined #ruby
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
wpaulson has joined #ruby
<horsey> matti sup dogg
<matti> LOL
<matti> Now I feel like in Miami Vice.
<matti> ;d
fyolnish has quit [Ping timeout: 240 seconds]
wpaulson has quit [Client Quit]
<shevy> which one
<shevy> the dog?
Xeago has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 268 seconds]
paul_andrew has joined #ruby
Xeago has joined #ruby
shevy2 has joined #ruby
Elico1 has quit [Quit: elico1]
paul_andrew has quit [Read error: Connection reset by peer]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
havenn has quit [Remote host closed the connection]
sterex has quit [Quit: sterex]
qwerxy has joined #ruby
cascalheira has joined #ruby
cascalheira has quit [Client Quit]
cascalheir has quit [Read error: Connection reset by peer]
znake|away has quit [Remote host closed the connection]
paul_andrew has joined #ruby
pen has joined #ruby
znake has joined #ruby
yxhuvud has quit [Ping timeout: 248 seconds]
paul_andrew has quit [Read error: Connection reset by peer]
hsbt_ has quit [Ping timeout: 245 seconds]
monsieur_h has joined #ruby
monsieur_h has left #ruby [#ruby]
elico has quit [Ping timeout: 260 seconds]
hsbt_ has joined #ruby
yasushi has joined #ruby
elico has joined #ruby
answer_42 has joined #ruby
hsbt_ has quit [Ping timeout: 252 seconds]
paul_andrew has joined #ruby
nucc has joined #ruby
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
hsbt_ has joined #ruby
shevy2 is now known as shevy
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
beachandbytes has quit [Quit: Leaving]
aibo has quit [Quit: Leaving]
havenn has joined #ruby
dr_bob has quit [Read error: Connection reset by peer]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
jarred has joined #ruby
hsbt_ has quit [Ping timeout: 240 seconds]
jarred has quit [Ping timeout: 246 seconds]
havenn has quit [Remote host closed the connection]
hsbt_ has joined #ruby
havenn has joined #ruby
Criztian has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
quazimodo has quit [Remote host closed the connection]
<crocket> I installed bundler with "gem1.9.1 install bundler", but /usr/bin/bundle is not available.
thaz has joined #ruby
elico has quit [Ping timeout: 268 seconds]
paul_andrew has joined #ruby
<shevy> lucky you
eldariof has joined #ruby
thaz has quit [Client Quit]
<shevy> btw gem1.9.1 sounds like debian messing things up
eldar has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
<shevy> the normal gem binary is called "gem" without versioning. so whoever modified your system did so on his/her/their own
<shevy> you can look at the installed gems via "gem list", and output the environment variables honoured by gem via "gem env"
paul_andrew has quit [Read error: Connection reset by peer]
hsbt_ has quit [Ping timeout: 246 seconds]
<shevy> debian is known to modify the gem path which causes problems
elico has joined #ruby
hsbt_ has joined #ruby
havenn has quit [Remote host closed the connection]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
Elico1 has joined #ruby
hsbt_ has quit [Ping timeout: 240 seconds]
hsbt_ has joined #ruby
znake has quit [Remote host closed the connection]
haxrbyte has joined #ruby
znake has joined #ruby
execat has quit [Ping timeout: 246 seconds]
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
Erfankam has quit [Quit: Leaving.]
znake has quit [Ping timeout: 252 seconds]
jakob- has joined #ruby
justinmcp has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
smellynosery has joined #ruby
johnjohnson has joined #ruby
smellynoser has quit [Ping timeout: 255 seconds]
paul_andrew has joined #ruby
WhereIsMySpoon has quit [Remote host closed the connection]
paul_andrew has quit [Read error: Connection reset by peer]
hsbt_ has quit [Ping timeout: 240 seconds]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
WhereIsMySpoon has joined #ruby
eldariof has quit [Ping timeout: 246 seconds]
eldar has joined #ruby
doomMonkey has quit [Ping timeout: 246 seconds]
hsbt_ has joined #ruby
elico has quit [Ping timeout: 245 seconds]
jakob- has quit [Quit: jakob-]
execat has joined #ruby
execat has quit [Changing host]
execat has joined #ruby
elico has joined #ruby
indian has quit [Ping timeout: 246 seconds]
atmosx has joined #ruby
seanstickle has joined #ruby
adelcampo has quit [Quit: Linkinus - http://linkinus.com]
ly_gs has joined #ruby
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
fixl has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
hsbt_ has quit [Ping timeout: 252 seconds]
paul_andrew has joined #ruby
zigomir has joined #ruby
nga4 has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
emmanuelux has joined #ruby
hsbt_ has joined #ruby
nga4 has left #ruby [#ruby]
chussenot has joined #ruby
niklasb_ has joined #ruby
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
himsin has joined #ruby
dpk has joined #ruby
Liothen has joined #ruby
Liothen has quit [Changing host]
Liothen has joined #ruby
Liothen has quit [Remote host closed the connection]
freeayu has quit [Ping timeout: 268 seconds]
freeayu has joined #ruby
sagax has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
ltsstar has joined #ruby
jarred has joined #ruby
frogprince has quit [Quit: Leaving...]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
justsee has quit [Quit: Leaving...]
Banistergalaxy has quit [Read error: Connection reset by peer]
horsey has quit [Read error: Connection reset by peer]
jarred has quit [Ping timeout: 276 seconds]
nucc has quit [Ping timeout: 248 seconds]
horsey has joined #ruby
qwerxy has quit [Quit: offski]
jasonkuhrt has joined #ruby
m3pow has joined #ruby
<m3pow> hi
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
Banistergalaxy has joined #ruby
justsee has quit [Client Quit]
justinmcp has quit [Remote host closed the connection]
rakunHo has quit [Remote host closed the connection]
<matti> Hi
<m3pow> hello matti !
<m3pow> i dunno if i arrived in the right place but i need some help with some books or tutorials that might help me learn ruby, ror development
Virunga has joined #ruby
nucc has joined #ruby
yasushi has quit [Remote host closed the connection]
<execat> m3pow, whenever you have that question about ANY language refer to this: http://stackoverflow.com/questions/194812/list-of-freely-available-programming-books
doomMonkey has joined #ruby
<m3pow> thanks mate !
<execat> m3pow, and Rails guides are real quality stuff. If RoR is all you need, you can jump in there straightaway.
johnjohnson has quit []
<m3pow> i did some research and i noticed that ruby is highly appreciated as a language
<m3pow> easy to understand, learn and efficient
<Hanmac> m3pow please learn ruby before you learn RoR ...
<m3pow> understood !
<m3pow> any tip would help me a lot at this moment
Virunga is now known as LennyLinux
fbernier has quit [Ping timeout: 245 seconds]
nucc has quit [Quit: Lost terminal]
fbernier has joined #ruby
havenn has joined #ruby
<execat> Now for my question: I have some gems installed as root (in /root/.gem) and some as a normal user (~/.gem). So I have to execute sudo gem update and gem update separately for two different locations.
und3f has quit [Quit: Leaving.]
<execat> Is there a way I can shift the .gem folder at once into either of the directory?
kobac has joined #ruby
und3f has joined #ruby
<execat> Specifically, will merging /root/.gem and ~/.gem into ~/.gem (a normal move operation) help me achieve this?
und3f has quit [Client Quit]
und3f has joined #ruby
havenn has quit [Ping timeout: 246 seconds]
hoelzro|away is now known as hoelzro
yasushi has joined #ruby
cakehero has joined #ruby
parus_ has quit [Quit: leaving]
<seanstickle> Some of those books are more properly computer science than programming.
<seanstickle> But many of them are delightfully awesome
<m3pow> from stackoverflow ?
<seanstickle> Yah
parus has joined #ruby
<m3pow> noticed that !
pigggie has joined #ruby
<m3pow> and for RoR is just a single reference
<seanstickle> I dearly love, for instance Hoare's Communicating Sequential Processes, but it is a dastardly thing to try and adopt it as a programming guide.
pigggie has left #ruby [#ruby]
freeayu has quit [Ping timeout: 255 seconds]
qwerxy has joined #ruby
risico has joined #ruby
atmosx has quit [Read error: Connection reset by peer]
yshh has joined #ruby
chussenot has quit [Quit: chussenot]
pigggie has joined #ruby
freeayu has joined #ruby
pigggie has left #ruby [#ruby]
und3f has quit [Quit: Leaving.]
und3f has joined #ruby
jasonkuhrt has quit [Quit: Leaving...]
insulator has joined #ruby
hoelzro is now known as hoelzro|away
zigomir_ has joined #ruby
verto|off is now known as verto
Elico1 has quit [Quit: elico1]
zigomir has quit [Ping timeout: 276 seconds]
bluenemo has quit [Remote host closed the connection]
bluOxigen has joined #ruby
jarred has joined #ruby
freeayu has quit [Remote host closed the connection]
jasonkuhrt has joined #ruby
jasonkuhrt has quit [Client Quit]
pen has quit [Remote host closed the connection]
jasonkuhrt has joined #ruby
jarred has quit [Ping timeout: 244 seconds]
<crocket> charlock_holmes 0.6.8 and 0.6.9 are both installed
<crocket> How can I remove 0.6.9?
<Hanmac> why do you want to remove the newer version?
vaino has joined #ruby
jasonkuhrt has quit [Ping timeout: 244 seconds]
<Mon_Ouie> gem uninstall specifying the version with -v (or interactively)
<vaino> Have somone here played with sinatra + activerecord?
<matti> Funny question :)
<matti> How does one preserve FalseClass there: x = [false].shift || true
<matti> :)
NiteRain has quit [Ping timeout: 246 seconds]
<crocket> thanks
und3f has quit [Quit: Leaving.]
sonkei has joined #ruby
<seanstickle> vaino: yup
und3f has joined #ruby
und3f has quit [Client Quit]
<vaino> seanstickle: okey, i'm now to ruby so i tought sinatra was a good framework to start with.
und3f has joined #ruby
ltsstar has quit [Ping timeout: 276 seconds]
griffindy has joined #ruby
<vaino> seanstickle: But to the problem.. i have made a create_migration and setup the file. But when i i do rake db:migrate it does not create any database.
<crocket> charlock_holmes
und3f has quit [Client Quit]
<vaino> I have set :databse 'sqlite://....' in my application but dosent help
Takehiro has quit [Remote host closed the connection]
<seanstickle> vaino: do you have a rake task to do a migration in your sinatra app?
<seanstickle> vaino: it doesn't show up automatically just because you've required active_record
und3f has joined #ruby
<canton7> seanstickle, sinatra-activerecord defines a couple of tasks: https://github.com/bmizerany/sinatra-activerecord/blob/master/lib/sinatra/activerecord/rake.rb
<vaino> seanstickle: i created a rakefile then made db:create_migration and added my stuff in there. (followed a guide)
areil has quit [Remote host closed the connection]
<seanstickle> canton7: ah neat, I haven't used that plugin before
<canton7> I hadn't looked at it until just now :P
zii has quit [Read error: Connection reset by peer]
Elico1 has joined #ruby
<seanstickle> vaino: are you using this: https://github.com/janko-m/sinatra-activerecord ?
<vaino> SeanTAllen: yep.
mmitchell has joined #ruby
Takehiro has joined #ruby
<vaino> wups seanstickle *
zii has joined #ruby
saurb has joined #ruby
<vaino> seanstickle: http://p.vvt.nu/paste/id/41
crocket has quit [Quit: ZNC - http://znc.in]
<seanstickle> vaino: http://p.vvt.nu/paste/id/40
<seanstickle> vaino: that looks like your migration worked… ?
horofox has joined #ruby
<vaino> seanstickle: can't find the database file hm
<vaino> seanstickle: and when i checked a screencast the full sql was showed.
<vaino> seanstickle: do not rake put the file in the application?
horofox has quit [Client Quit]
<seanstickle> vaino: share the app.rb, or wherever you define the database connection stuff
<vaino> seanstickle: http://p.vvt.nu/paste/id/43
<vaino> seanstickle: i read somewhere about db:create but thats not working "Don't know how to build task 'db:create' "
NiteRain has joined #ruby
<seanstickle> vaino: dunno
execat has quit [Ping timeout: 240 seconds]
sonkei has quit [Quit: Computer has gone to sleep.]
butblack has joined #ruby
<vaino> seanstickle: can i trough gem see information about a gem?
<vaino> like link to github or something
yasushi has quit [Remote host closed the connection]
qwerxy has quit [Quit: offski]
Banistergalaxy has quit [Read error: Connection reset by peer]
horsey has quit [Read error: Connection reset by peer]
bananagram has joined #ruby
horsey has joined #ruby
horofox has joined #ruby
yasushi has joined #ruby
Banistergalaxy has joined #ruby
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
guns has joined #ruby
yasushi has quit [Ping timeout: 246 seconds]
crocket has joined #ruby
<crocket> I installed charlock_holmes 0.6.8, and gitlab still generates encoding errors.
asklov has joined #ruby
booginga has joined #ruby
execat has joined #ruby
execat has quit [Changing host]
execat has joined #ruby
griffindy has quit [Quit: leaving]
dpk has quit [Quit: Asleep at the keyboard.]
rippa has joined #ruby
kobac has quit [Remote host closed the connection]
amit has joined #ruby
fyolnish_ has joined #ruby
amit has quit [Client Quit]
mmitchell has quit [Remote host closed the connection]
pyreal has quit [Ping timeout: 245 seconds]
insulator has quit [Ping timeout: 276 seconds]
eldariof has joined #ruby
nucc has joined #ruby
fyolnish_ has quit [Ping timeout: 272 seconds]
Spooner has joined #ruby
dpk has joined #ruby
Xeago_ has joined #ruby
devnull_ has joined #ruby
eldar has quit [Ping timeout: 244 seconds]
<devnull_> hello :) any help to fix this https://gist.github.com/3684801 is highly appreciated :)
haxrbyte has quit [Ping timeout: 246 seconds]
<matti> Rails?
<shevy> render :e404
<shevy> YES
<shevy> Defend!
<shevy> redirect to #rubyonrails!
<Spooner> devnull_ : I don't know the system, but you need something like '(/(\w+))+' to match both paths
SCommette has joined #ruby
SCommette has quit [Client Quit]
<matti> shevy: ?
Xeago has quit [Ping timeout: 264 seconds]
<shevy> matti DEFEND
* matti stabs shevy
<matti> There.
<shevy> ack
<Spooner> shevy It is just a regexp question, not a Rails one. Just poorly presented to #ruby :)
qwerxy has joined #ruby
<devnull_> Spooner: thanks but that returns wrong number of arguments (2 for 1) :( the version on the pastie works but only for /notfound not for /not/found
<Spooner> devnull_ : You maybe want '(/(?:\w+))+' then, so it only captures the whole path.
resure has joined #ruby
<Spooner> devnull_ : But, really, I don't know the Rails system. I'm fixing your regexp problem, not managing the oddities of Rails when you use the "correct" regexp.
nucc_ has joined #ruby
<Spooner> The problem will be that you'll get "/mynonexistinpage" when you match the root page, not "mynonexistinpage" as you get now, but I'm sure you can manage that!
jarred has joined #ruby
nucc_ has left #ruby [#ruby]
nucc_ has joined #ruby
saurb has quit [Ping timeout: 252 seconds]
<shevy> Spooner I swear I never saw class Page < R '/(\w+)' before
nucc has quit [Quit: nucc]
nucc_ is now known as nucc
nucc has left #ruby [#ruby]
nucc has joined #ruby
deryl has left #ruby [#ruby]
<Spooner> shevy Neither did I, but then again, you never see most things that people post before, since they use their own classes or whatnot in it. Just looks exactly like Sinatra routing to me, which made it all make perfect sense.
<shevy> Sinatra uses such crazy syntax things too?
deryl has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
<Spooner> Sintra does it more simply, but yeah.
<shevy> :(
<shevy> what will the world become ...
jarred has quit [Ping timeout: 256 seconds]
<Spooner> shevy : Sinatra is cleaner and simpler.
joast has quit [Quit: Leaving.]
xyon has quit [Quit: WeeChat 0.3.8]
CarlB_the_great has joined #ruby
horofox has quit [Ping timeout: 246 seconds]
<devnull_> Spooner: right this is exactly what hapend :) this is camping BTW
Elico1 has quit [Quit: elico1]
<devnull_> shevy: camping.io :)
<shevy> hmm
yeltzooo7 has quit [Ping timeout: 252 seconds]
execat has quit [Read error: Connection reset by peer]
xyon has joined #ruby
yeltzooo has joined #ruby
<devnull_> shevy: is like to define a route for the pages but if the page is not found shows camping error! which has some issues
s1n4 has quit [Quit: peace out]
digitalcakestudi has joined #ruby
mneorr has joined #ruby
horofox has joined #ruby
<devnull_> Spooner: what you did works but doens't let me load the legitimate /admin/page that I define after
ananthakumaran has joined #ruby
<allsystemsarego> how can I map a separately defined function over an array of objects
katherinem13 has quit [Quit: katherinem13]
<shevy> array.map {|x| your_method_name_here(x) }
<Hanmac> allsystemsarego: array.each(&:sym) ... or array.map(&:sym)
<allsystemsarego> thanks, I'll try these solution
<allsystemsarego> solutions
asiaticax has joined #ruby
horofox has quit [Quit: horofox]
atmosx has joined #ruby
<allsystemsarego> ok, it's complaining that my function isn't a method in that class
<allsystemsarego> I have a function that is external (not a method) to that class
ltsstar has joined #ruby
<Hanmac> allsystemsarego than try shevy 's solution
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
fyolnish has joined #ruby
<allsystemsarego> ok, thanks, I thought I was missing out on an elegant solution
<shevy> allsystemsarego all functions in ruby are methods in some ways
katherinem13 has joined #ruby
horofox has joined #ruby
joephelius has joined #ruby
execat has joined #ruby
execat has quit [Changing host]
execat has joined #ruby
drago757 has joined #ruby
SCommette has joined #ruby
joast has joined #ruby
deryl has quit [Quit: Leaving.]
deryl has joined #ruby
havenn has joined #ruby
qwerxy has quit [Quit: offski]
chimay has quit [Quit: WeeChat 0.3.9-rc1]
asiaticax has quit [Read error: Connection reset by peer]
nucc has quit [Quit: nucc]
jorum has joined #ruby
Jake232 has joined #ruby
mmitchell has joined #ruby
tk___ has quit [Quit: ばいばい]
butblack has left #ruby [#ruby]
asiaticaXXX has joined #ruby
execat has quit [Ping timeout: 246 seconds]
uris has joined #ruby
CarlB_the_great has quit [Remote host closed the connection]
centipedefarmer has joined #ruby
sonkei has joined #ruby
fyolnish has quit [Remote host closed the connection]
<RubyPanther> I get married in 2.5 hours, I need a little snippet of Ruby to pin inside my jacket for good luck
Guest17362 has quit [Ping timeout: 240 seconds]
mmitchell has quit [Remote host closed the connection]
<horsey> RubyPanther: binding.pry
<TTilus> RubyPanther: writing it yourself would bring bad luck?
mneorr has quit [Ping timeout: 246 seconds]
mneorr has joined #ruby
<Spooner> devnull_ : I explained that it would return "/frog", rather than "frog" for the base pages. If you need the latter, then you need to fix that yourself (it isn't rocket science :D).
iszak has joined #ruby
snorkdude has joined #ruby
<devnull_> Spooner: yes thank you :)
<Mon_Ouie> assert(I.love? you and you.love? me) while I.alive? and you.alive?
chimay has joined #ruby
chimay has quit [Changing host]
chimay has joined #ruby
<horsey> Mon_Ouie is so romantic
Speed has quit [Ping timeout: 252 seconds]
asiaticaXXX has quit [Read error: Connection reset by peer]
<Spooner> devnull_ : You should probably match '/(\w+)' (root page) and '.*' (404) separately though. Makes more sense really and separates out the two, quite different, routes.
<RubyPanther> TTilus: I'm gonna write it myself, I just wanted some input other than from the butterflies :)
Poapfel has quit [Remote host closed the connection]
<TTilus> RubyPanther: class << self; self; end
Poapfel has joined #ruby
<TTilus> RubyPanther: metaclasses always bring good luck
<RubyPanther> Mon_Ouie: Thanks, great ideas there, I probably won't with the test but I like while alive?
<devnull_> Spooner: ok so based on my sample which works fine for root how would you create a smilar one with the .* bit ? :X
<RubyPanther> TTilus: if metaclasses can get me through Dwemthy's Array alive, they can get me through today! :) :) :)
<TTilus> exactly
<TTilus> RubyPanther: but it is really not _that_ hard place to be
<TTilus> (been there)
luxurymode has joined #ruby
<allsystemsarego> RubyPanther.relationship_status ||= "married" unless RubyPanther.scared_of_commitment?
moshee has quit []
<Spooner> devnull_ : Match '/', '/(\w+)' and '(.*)' in separate classes. Just make sure you create the matcher for the 404 AFTER the first two, so that it checks that last!
mwilson` has quit [Excess Flood]
<RubyPanther> ||= lol
<Spooner> That is, most likely, how you'd do it in Sinatra, at least.
mwilson` has joined #ruby
moshee has joined #ruby
<RubyPanther> def method_missing *args; spouse.love! end
yshh has quit [Remote host closed the connection]
<atmosx> as a good ruby newbe I shall get fresh bread, coke and nutella from the super market
* atmosx markes on it's to-buy list
<atmosx> this freebsd machine took all the stamine in me
yoklov has joined #ruby
<RubyPanther> caffeine, nutella, and Ruby, that's enough to build an app right there
<Spooner> There is a caffeine gem, but no Nutella one. We are slacking...
<RubyPanther> Nobody wanted to share
* atmosx struggles to learn sinatra to write a web interface for his app
<Spooner> atmosx : Just think "I could be having to do this with Rails instead" every time you work with Sinatra, and it will seem like a dream ;)
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
AlbireoX has joined #ruby
<atmosx> The thing with HTML/CSS/XHTML JavaScript and frameworks like Sinatra (or RoR) for that matter is that when you start reading one subect they 'assume' somehow that you know everything about everything else
horofox has quit [Quit: horofox]
<atmosx> so you read the preface of a book about sinatra which says that you must be familiar with HTML/CSS *at least*
<atmosx> you read CSS and sasys you shuold be familiar with HTML, you read HTML and says you should be familiar with CSS
<atmosx> … it's like *wtf*
<Spooner> There isn't a lot of point in writing a HTML tutorial in Sinatra, Rails and every other framework in every other language though.
<canton7> well yeah. html doesn't rely on a programming framework. and html and css go hand in hand
<atmosx> canton7: I know
ltsstar has quit [Ping timeout: 240 seconds]
<atmosx> I know some basic HTML, and CSS … it's easy to understand actually. I edited my wordpress theme too many times… even the erb files, I've saw one yesterday for the time and was easy to debug
<atmosx> Although this HAML thing looks much more easy and ruby-ish
cakehero has quit [Quit: Leaving...]
<Spooner> atmosx : Try slim too. Both very similar so it is down to personal preference.
<RubyPanther> Yeah, you have to read it all through the first time with no clue what it means, then the second pass the parts make sense
<canton7> heh, someone who says css is 'easy' doesn't know enough css :P
<atmosx> what is slim about? I enconuter the word somwhere
jarred has joined #ruby
<Spooner> slim is pretty much the same as HAML, but slightly different.
<atmosx> aha
<atmosx> nah, I'll stick with erb since my book has 'erb's all over the place
<atmosx> and then see what happens
<Spooner> Erb is horrible (relatively).
<Spooner> But then again, many people say HAML/slim is horrible ;)
<atmosx> yeah but give me a break :-p reading the examples and makes trials/error in a code which I have to translate from first-time-seen-erb_to-first-time-seen-haml/slim is a tedious task
<Mon_Ouie> ERB can be used for any kind of templates, it's not bound to outputting HTML/XML
<Spooner> Well, OK, that is true.
<atmosx> okay, I'll be going to the nutella/coke thing now, cya later
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mosheee has joined #ruby
mosheee has quit [Changing host]
mosheee has joined #ruby
Niamkik has joined #ruby
moshee has quit [Ping timeout: 244 seconds]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
jarred has quit [Ping timeout: 240 seconds]
Marwan_ has joined #ruby
larissa has joined #ruby
<Marwan_> hi guys, anyone know how can i sort like in this page http://www.nanotch.com/servibell/products/ , and filter them by their categories and make some emotion while filtering - just like in the mentioned page
larissa has quit [Client Quit]
larissa has joined #ruby
<Marwan_> oh - i am stupid - i forgot to change the channel to wordpress - sorry
Marwan_ has left #ruby [#ruby]
seanstickle has quit [Quit: seanstickle]
larissa has quit [Client Quit]
ZachBeta has joined #ruby
larissa has joined #ruby
larissa has quit [Remote host closed the connection]
larissa has joined #ruby
horsey has quit [Read error: Connection reset by peer]
Banistergalaxy has quit [Read error: Connection reset by peer]
sebastorama has joined #ruby
larissa has quit [Ping timeout: 264 seconds]
horsey has joined #ruby
luxurymode has quit [Quit: Computer has gone to sleep.]
larissa has joined #ruby
<matti> LOL
larissa has left #ruby [#ruby]
gverri has joined #ruby
pskosinski has quit [Remote host closed the connection]
Auraelius has joined #ruby
savage- has joined #ruby
pskosinski has joined #ruby
burgestrand has quit [Quit: Leaving.]
shevy has quit [Ping timeout: 276 seconds]
rburton- has joined #ruby
timonv has joined #ruby
Banistergalaxy has joined #ruby
chrishunt has quit [Quit: Linkinus - http://linkinus.com]
chrishunt has joined #ruby
RudyValencia has joined #ruby
atmosx has joined #ruby
cantonic_ has joined #ruby
cantonic_ has quit [Client Quit]
* atmosx is listening to Diomidis Spinellis - Open Source and Professional Advancement, from the album IEEE Software's "Tools of the Trade" with Diomidis Spinellis [10:45 mins] [128 kbps MPEG audio file] [9,86 MB] [played 0 times]
eldar has joined #ruby
ly_gs has quit [Remote host closed the connection]
<matti> ?
Auraelius has quit [Quit: Auraelius]
mva3212 has joined #ruby
<canton7> I don't know why people feel the need to do that...
sepp2k has quit [Read error: Connection reset by peer]
<mva3212> #join #rails
<matti> NEVER
guarrillaAsiatic has joined #ruby
<matti> atmosx: Stop spamming please.
<atmosx> matti: never
<matti> Bastard.
<matti> ;/
* matti cries
chrishunt has quit [Quit: WeeChat 0.3.8]
<deryl> why not let him? you just know we all care what everyone else in the world is listening to!
<matti> OK, dinner time.
* deryl runs
eldariof has quit [Ping timeout: 240 seconds]
cantonic has quit [Ping timeout: 268 seconds]
chrishunt has joined #ruby
fyolnish has joined #ruby
* matti stabs deryl just before he makes to the nearest exit
shevy has joined #ruby
<deryl> damn you and your rubber knives!
<matti> deryl: Rubber chicken.
<matti> It was.
<deryl> hahah!
<deryl> dinner!
ianbrandt has joined #ruby
ianbrandt has quit [Excess Flood]
andrew__ has joined #ruby
andrew__ is now known as andrewhl
<deryl> <song> Hey I just met you, and I have alzheimers. Hey I just met you!</song>
horsey has quit [Ping timeout: 260 seconds]
Banistergalaxy has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
ryanf has quit [Quit: broken pipes |||]
<atmosx> I have nutella!
* atmosx fear
<atmosx> matti: you jelous chick
<andrewhl> I'm parsing some web pages, and I want my parser to skip rows that contain invalid content. Currently my parse_row method raises an error when it finds invalid content, but I want it to just skip the current row and return to the parent method. How can I do this? https://gist.github.com/3685505
fyolnish has quit [Ping timeout: 246 seconds]
jgrevich has joined #ruby
havenn has quit [Remote host closed the connection]
kidoz has joined #ruby
sagax has quit [Ping timeout: 260 seconds]
fyolnish has joined #ruby
mmitchell has quit [Ping timeout: 246 seconds]
havenn has joined #ruby
elaptics is now known as elaptics`away
mmitchell has joined #ruby
fyolnish has quit [Ping timeout: 246 seconds]
guarrillaAsiatic has quit [Read error: Connection reset by peer]
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sonkei has quit [Quit: Computer has gone to sleep.]
sepp2k has joined #ruby
seanyo has joined #ruby
mmitchell has quit [Ping timeout: 246 seconds]
sagax has joined #ruby
br4ndon has quit [Ping timeout: 244 seconds]
Banistergalaxy has joined #ruby
Banistergalaxy has quit [Read error: Connection reset by peer]
jarred has joined #ruby
havenn has quit [Remote host closed the connection]
bradyl0ve has joined #ruby
sebastorama has quit [Quit: Computer has gone to sleep.]
seanyo_ has joined #ruby
<Spooner> andrewhl : You mean skip that row?
Banistergalaxy has joined #ruby
<Spooner> Since you are using map, you can't really skip it directly. You could either return nil and use #compact on the resultant row or build the array and not add a nil returned to the array.
deryl has left #ruby [#ruby]
jarred has quit [Ping timeout: 276 seconds]
SCommette has quit [Quit: SCommette]
ly_gs has joined #ruby
larissa has joined #ruby
deryl has joined #ruby
chinitacaliente has joined #ruby
seanyo has quit [Ping timeout: 276 seconds]
<andrewhl> Spooner: cool, thanks
<Spooner> andrewhl : I'd do it this way, I think: https://gist.github.com/3685673
fsck3r has joined #ruby
<andrewhl> Spooner: or maybe call compact on end
pdtpatrick has joined #ruby
koshii has joined #ruby
Catnaroek has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
CoverSlide has quit [Read error: No route to host]
chinitacaliente has quit [Read error: Connection reset by peer]
mneorr has quit [Quit: Leaving.]
nucc has joined #ruby
sebastorama has joined #ruby
mneorr has joined #ruby
Catnaroek has quit [Quit: brb]
thaz has joined #ruby
Catnaroek has joined #ruby
resure is now known as resure|inquisiti
resure|inquisiti is now known as inquisitioning
inquisitioning is now known as resure
timonv has quit [Remote host closed the connection]
snorkdude has quit [Remote host closed the connection]
resure has quit [Remote host closed the connection]
dpk has quit [Quit: Asleep at the keyboard.]
rubious has joined #ruby
ly_gs has quit [Remote host closed the connection]
jobicoppola has joined #ruby
Morkel has joined #ruby
ltsstar has joined #ruby
und3f has quit [Quit: Leaving.]
dr_bob has joined #ruby
austinbv has joined #ruby
larissa has quit [Quit: Leaving]
SegFaultAX has quit [Quit: Lost terminal]
ngoldman has joined #ruby
iszak has quit [Quit: User has gone to work.]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ZachBeta has quit [Quit: Computer has gone to sleep.]
rippa has joined #ruby
<austinbv> anyone know why I cannot require an unbuilt gem in irb https://gist.github.com/3685992
<nucc> try require_relative
<austinbv> irb cannot figure out the base path for require relative
<austinbv> same thing with File.expand_path(path_to_gem, __FILE__)
havenn has joined #ruby
jarred has joined #ruby
mmitchell has joined #ruby
bluenemo has quit [Remote host closed the connection]
iszak has joined #ruby
<austinbv> same thing with File.expand_path(path_to_gem, __FILE__)
<austinbv> whoops
<Spooner> austinbv : Yeah, irb doesn't have a file to be relative to. However, the require that is failing is in super_gem. That sort of require will only work if you have added the lib directory to the path (as is done automatically for gems when run properly).
<Spooner> austinbv start IRB with: irb -Ilib
havenn_ has joined #ruby
pricees has joined #ruby
<austinbv> it works when I just include it in a test.rb and then run that
<austinbv> and include it in my spec_helper
<austinbv> so I am good :)
<austinbv> it's hard to test EM code in irb anyway
mmitchell has quit [Ping timeout: 246 seconds]
jaylevitt has joined #ruby
<Spooner> OK.
Jay_Levitt has quit [Ping timeout: 240 seconds]
Jake232 has quit [Quit: Computer has gone to sleep.]
fsck3r has quit [Quit: Leaving...]
ZachBeta has joined #ruby
booginga has quit [Quit: This computer has gone to sleep]
havenn_ has quit [Ping timeout: 268 seconds]
pricees has quit [Ping timeout: 264 seconds]
savage- has quit [Remote host closed the connection]
ZachBeta has quit [Client Quit]
jaylevitt has quit [Ping timeout: 244 seconds]
sebastorama has quit [Quit: Computer has gone to sleep.]
gogiel has quit [Ping timeout: 276 seconds]
seanyo_ has quit [Ping timeout: 255 seconds]
jimeh has joined #ruby
chrishunt has quit [Read error: Connection reset by peer]
fantazo has joined #ruby
chrishunt has joined #ruby
dpk has joined #ruby
LennyLinux has quit [Remote host closed the connection]
larissa has joined #ruby
fowl has quit [Ping timeout: 245 seconds]
tr4656 has quit [Ping timeout: 246 seconds]
<vaino> Building a pastebin site with sinatra+data_mapper. But when i output the source it commet out my php <!--?php ... http://vvt.nu/id/13 (check source)
koshii has quit [Read error: Operation timed out]
larissa has quit [Ping timeout: 264 seconds]
tr4656 has joined #ruby
maletor has joined #ruby
rubious has quit [Quit: Linkinus - http://linkinus.com]
<vaino> Checked the databases and the text is ok there.
<vaino> <%=@pastebin.response%> just doing like this
GoHuyGo has joined #ruby
havenn has quit [Remote host closed the connection]
koshii has joined #ruby
otters has quit [Ping timeout: 244 seconds]
ananthakumaran has quit [Quit: Leaving.]
<canton7> vaino, still a probem?
<vaino> canton7: yep
<canton7> the source doesn't show any <!--?php for me
tr4656 has quit [Ping timeout: 246 seconds]
<vaino> hmm
<vaino> I just checked trought inspector
<vaino> should kill my javascript
Progster has joined #ruby
<canton7> you probs want to escape the <'s (etc) in your output :P
<vaino> canton7: i removed my javascript thats handle "syntaxcolor"
<vaino> but same problem wierd :S
tr4656 has joined #ruby
<canton7> what?
rburton- has quit [Quit: Linkinus - http://linkinus.com]
<vaino> canton7: no idea where the problem is.
<canton7> I'm still not understanding the problem I'm afraid
<vaino> canton7: output php syntax :/
<canton7> if I view the source of that page, I get this: http://pastie.org/4691419
<canton7> no <!--?php. only unescaped php tags
<vaino> canton7: yeh same here thats wierd.
<vaino> canton7: if u take the webkit inspector and check
<vaino> it gets comment out.
<vaino> :S
<canton7> use CGI::escapeHTML() on the string before inserting it into the page
<Spooner> vaino : Why you'd want to generate PHP in Ruby, when Ruby has ERB is beyond me.
<canton7> I bet the browsers are doing some sanity operations on it, since you're not escaping your tags correctly
<canton7> Spooner, it's a pastebin. with PHP code in the pastie
booginga has joined #ruby
<Spooner> Oh, I see. I'd just try a different pastebin, like gist, for example.
richwestcoast has joined #ruby
<canton7> he's writing his own as an exercise
havenn has joined #ruby
jorum has quit [Quit: Linkinus - http://linkinus.com]
<Spooner> Oh, I thought that was it, but then pasting it to pastie.org confused me :)
gmci has quit [Quit: Computer has gone to sleep.]
<vaino> canton7: is CGI::escapeHTML in ruby core?
<canton7> require 'cgi'
<canton7> it's in stdlib yeah
chimay has quit [Quit: WeeChat 0.3.9-rc1]
SCommette has joined #ruby
<vaino> canton7: <3 :)
reisl has joined #ruby
<canton7> that worked? coolies
<canton7> told you so :)
reisl has quit [Client Quit]
gogiel has joined #ruby
larissa has joined #ruby
<vaino> canton7: intressting when i test to make a XSS "attack" on my one sites in input field.
<vaino> it redirects me to about:blank
<vaino> is it some built in feature?
<canton7> maybe?
<canton7> there is attack-proctection stuff built in, but I don't know the details
<vaino> cool.
<vaino> Okey ruby was a intressting lang
fowl has joined #ruby
fowl has quit [Changing host]
fowl has joined #ruby
Catnaroek has quit [Quit: laaag]
<vaino> canton7: thanks for all help today :) now should i read some basics about ruby before i continue :) http://vvt.nu/id/30
larissa has quit [Ping timeout: 245 seconds]
<canton7> heh coolies, no worries
Banistergalaxy has quit [Read error: Connection reset by peer]
<canton7> vaino, http://vvt.nu/id/31
otters has joined #ruby
<vaino> canton7: cool should check
Banistergalaxy has joined #ruby
<vaino> canton7: about "Do the escaping in the model" u want me to do a function that escapes all fields? Or have datamapper function there i can pass it?
<vaino> canton7: yeh i had it before but i thought it saved the first char ^^ unused to sqlite it saves booleans with t/f :P
<canton7> in your datamapper model, define a method (e.g. paste_escaped or something) which returns the escaped value of paste? Actually no I've changed my mind. Do the escaping in the view
<canton7> vaino, nah still 0/1 iirc. But datamapper's prolly smart enough to convert it to boolean
<Mon_Ouie> I don't think exiting early is better than using if … else (plus it's not obvious to someone not familiar with Sinatra that calling redirect will exit)
beachandbytes has joined #ruby
<vaino> canton7: yeh but i did a select directly with sqlite3 and it gave me T/F so i got confused :P
<canton7> aha, fair enough. My memory's failing me in that case
ZachBeta has joined #ruby
<vaino> canton7: okey u mean <%=CGI::escape...%> ?
<canton7> yeah
pricees has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<vaino> canton7: sure but is it possible to make a alias of that function namne to some smaller :)?
<vaino> u never know when its ruby ;D
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<canton7> sure. in your routes: http://pastie.org/4691510
<vaino> Ah okey.
wallerdev has joined #ruby
<Mon_Ouie> Using CGI.escape_html would fit the conventions better
fyolnish has joined #ruby
bluenemo has quit [Remote host closed the connection]
conor_ireland has quit [Quit: conor_ireland]
machty has quit [Quit: machty]
conor_ireland has joined #ruby
lesce has joined #ruby
<canton7> oops true. didn't spot that one
centipedefarmer has quit [Quit: This computer has gone to sleep]
mmitchell has joined #ruby
<Spooner> You could 'include CGI', then you'd just need escape_html
<canton7> then you'd have the rest of CGI included as well :P
<Spooner> It doesn't cost anything, you know :) I'm very surprised that Sinatra doesn't have any way to escape HTML though.
savage- has joined #ruby
quest88 has quit [Quit: quest88]
fyolnish has quit [Ping timeout: 246 seconds]
<Spooner> Ah, there you go (though I suppose that is just the same as an earlier answer to make a #h): http://www.sinatrarb.com/faq.html#escape_html
paul_andrew has joined #ruby
Takehiro has quit [Remote host closed the connection]
paul_andrew has quit [Read error: Connection reset by peer]
mmitchell has quit [Ping timeout: 276 seconds]
austinbv has quit [Ping timeout: 245 seconds]
Takehiro has joined #ruby
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
<vaino> Spooner: cool
<vaino> alias_method me like :)
jgrevich_ has joined #ruby
austinbv has joined #ruby
jgrevich has quit [Ping timeout: 240 seconds]
jgrevich_ is now known as jgrevich
Takehiro has quit [Remote host closed the connection]
RegEchse has joined #ruby
moted has quit [Quit: Leaving]
LennyLinux has joined #ruby
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
linoj has joined #ruby
SCommette has quit [Quit: SCommette]
booginga has left #ruby ["Leaving"]
pettsson_ has joined #ruby
Tref_ has joined #ruby
elaptics`away is now known as elaptics
Tref has quit [Ping timeout: 272 seconds]
Tref_ is now known as Tref
linoj has quit [Client Quit]
iszak has quit [Quit: Computer has gone to sleep.]
Foxandxss has joined #ruby
indian has joined #ruby
indian has quit [Changing host]
indian has joined #ruby
paul_andrew has joined #ruby
hoelzro|away is now known as hoelzro
hoelzro is now known as hoelzro|away
paul_andrew has quit [Read error: Connection reset by peer]
TheShadowFog has quit [Ping timeout: 276 seconds]
love_col_ has joined #ruby
havenn_ has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
paul_andrew has joined #ruby
nohonor has joined #ruby
<nohonor> hey folks, another recomm request
yxhuvud has joined #ruby
<matti> Hi nohonor
<nohonor> if i could read only 1 book on vanilla ruby, which one should i pick?
<matti> Frire awawy
<matti> Hm
<matti> nohonor: Ruby language?
<matti> nohonor: I guess.
<matti> nohonor: I recommend Eloquent Ruby too.
<matti> nohonor: And do all the Ruby koans
<yxhuvud> nohonor: how much experience with other programming languages do you have?
<matti> konas?
<nohonor> matti, extensive
paul_andrew has quit [Read error: Connection reset by peer]
<matti> nohonor: Its a good book.
<matti> nohonor: But if you know other languages, then start with ER first.
<nohonor> i like deep, thorough explanations
<matti> nohonor: There is no point to teach you want an integer is.
<nohonor> matti, hah :-D
<nohonor> i should think so
<matti> :>
<matti> Unless you are coming from PHP world.
havenn_ has quit [Ping timeout: 264 seconds]
<matti> They you need exorcism.
<yxhuvud> or javascript ..
<matti> And then a book.
<matti> yxhuvud: ;]
rakl has joined #ruby
<nohonor> thankfully, that's not the case
<matti> Yay
hadees has quit [Quit: hadees]
<nohonor> then again, what's a good language to start out with?
<nohonor> other than python i guess
<matti> THey P. language
<matti> He said the P. language name
<nohonor> even if they're not as deformed as js and php
paul_andrew has joined #ruby
<matti> Oh noess
<matti> nohonor: Any I guess.
<nohonor> python is simpler and more readable than ruby
<arubin> Perl, clearly.
<nohonor> so far as i can tell
<matti> arubin: Oh hold on a minute.
<matti> arubin: Hooold on a minite...
<matti> ;p
<matti> nohonor: Ruby is super-readable.
<matti> nohonor: Depends how you write it.
paul_andrew has quit [Read error: Connection reset by peer]
TheShadowFog has joined #ruby
<nohonor> matti, if you have some experience i guess
<nohonor> but py is closer to my idea of executable pseudocode
<matti> nohonor: I did a lot of PY too.
<matti> nohonor: And then fall in love with Ruby.
<nohonor> yeah, i can imagine
<matti> nohonor: And if one day I fine a girl whose name is also Ruby
<yxhuvud> matti: ruby can be pretty hard to read depending on how much experience you have with it and your other experience.
<matti> nohonor: Thats like win-win
<matti> yxhuvud: Yeah
<nohonor> it's powerful and elegant but i still don't think it's the best for a complete beginner
<matti> I am just a little bit silly.
<matti> ;]
<matti> nohonor: Its like with C code.
<nohonor> anyway, about the books
<yxhuvud> code without parenthesises + code execution in class scope is a sure way to confuse newbies :)
<matti> nohonor: Nice C code is nice.
<nohonor> 'eloquent ruby' looks good
<nohonor> the problem is there are so many
<nohonor> how do i choose... i'm really tempted to read 'programming ruby' and 'the ruby way' but i'd end up with four books that repeat the same things
Takehiro has joined #ruby
Agis__ has joined #ruby
Guest81709 has quit [Ping timeout: 264 seconds]
sebastorama has joined #ruby
<GoHuyGo> programming ruby is probably sufficient
kidoz has quit [Quit: Ухожу я от вас]
paul_andrew has joined #ruby
yxhvuud has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
Criztian has joined #ruby
nohonor has quit [Quit: Leaving]
yxhuvud has quit [Ping timeout: 260 seconds]
fyolnish_ has joined #ruby
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
richardcreme has quit [Remote host closed the connection]
mmitchell has joined #ruby
RudyValencia has quit [Quit: My IRC client doesn't advertise in /quit messages.]
fyolnish_ has quit [Ping timeout: 240 seconds]
centipedefarmer has joined #ruby
<karstensrage> is the Devise::Strategies solely concerned with authentication?
SirFunk has quit [Ping timeout: 245 seconds]
<karstensrage> package? module space? namespace?
drago757 has quit [Quit: drago757]
mmitchell has quit [Ping timeout: 276 seconds]
k_89 has joined #ruby
SirFunk has joined #ruby
dnyy__ has quit [Quit: Connection closed for inactivity]
pdtpatrick has quit [Quit: pdtpatrick]
subdigital has joined #ruby
gmci has joined #ruby
devnull_ has quit [Remote host closed the connection]
paul_andrew has joined #ruby
Solnse has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
iszak has joined #ruby
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
paul_andrew has joined #ruby
paul_andrew has quit [Read error: Connection reset by peer]
subdigital has left #ruby [#ruby]
jeff_sebring has joined #ruby
jeff_sebring has quit [Client Quit]
guns has quit [Ping timeout: 255 seconds]
eldar has quit []
mneorr has quit [Quit: Leaving.]
Takehiro has quit [Remote host closed the connection]
GraemeLion has joined #ruby
Z_Mass has joined #ruby
centipedefarmer has quit [Quit: Leaving]
Z_Mass has quit [Client Quit]
Takehiro has joined #ruby
beachandbytes has quit [Quit: Leaving]
GoGoGarrett has joined #ruby
sterex has joined #ruby
thunderstrike has joined #ruby
Jamone has quit [Read error: Connection reset by peer]
digitalcakestudi has quit [Quit: Leaving.]
digitalcakestudi has joined #ruby
<Azure> I know that there's a term for this type of programming, but I cannot remember what it's called.
digitalcakestudi has quit [Read error: Connection reset by peer]
digitalcakestudi has joined #ruby
<Azure> It's when you use returns/raises etc. at the top of methods in conjunction with conditionals
<matti> Early return?
<Azure> like `return if !user.authed?`
<matti> I know this by early return.
<Azure> Maybe
nucc has quit [Quit: Leaving...]
wargasm has joined #ruby
<matti> Azure: http://en.wikipedia.org/wiki/Return_statement -- Criticism section
<matti> I am glad they don't mention throw-catch next to GOTO ;p
<Azure> :p
SCommette has joined #ruby
mneorr has joined #ruby
linoj has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Takehiro has quit [Remote host closed the connection]
jbw has quit [Ping timeout: 246 seconds]
Takehiro has joined #ruby
mneorr has quit [Client Quit]
<Hanmac> matti ruby can GOTO too if you enable the Joke's :P
Takehiro has quit [Read error: Connection reset by peer]
boboy77b has joined #ruby
boboy77b has quit [Killed (idoru (Spam is off topic on freenode.))]
Takehiro has joined #ruby
digitalcakestudi has quit [Quit: Leaving.]
maletor has quit [Quit: Computer has gone to sleep.]
digitalcakestudi has joined #ruby
<matti> WOT
<shevy> I wanna learn new ruby tricks
digitalcakestudi has quit [Client Quit]
digitalcakestudi has joined #ruby
paul_and1ew has joined #ruby
paul_and1ew has quit [Client Quit]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
adeponte has joined #ruby
tommyvyo has joined #ruby
tommyvyo has joined #ruby
Takehiro_ has joined #ruby
guns has joined #ruby
wpaulson has joined #ruby
guns is now known as Guest92999
Guest92999 has quit [Client Quit]
<shevy> matti teach me!
jarred has quit [Quit: jarred]
<matti> shevy: I dont know any
<shevy> :<
atmosx has joined #ruby
linoj has quit [Quit: linoj]
<matti> shevy: Write a DSL for fun.
ph^ has quit [Remote host closed the connection]
<atmosx> and profit
<shevy> hmm
<shevy> how
<shevy> atmosx, teach me how
<atmosx> A friend of mine wrote one
Takehiro has quit [Ping timeout: 264 seconds]
qwerxy has joined #ruby
<matti> shevy: Google: ruby block instance_eval dsl
dr_bob has quit [Read error: Connection reset by peer]
<shevy> ok
* Azure wrote a DSL just the other day.
<Azure> My first one, too.
<shevy> eval :(
<shevy> Azure you published it somewhere?
jbw has joined #ruby
vespakoen has joined #ruby
<vespakoen> though i'd share this with you guys =P http://www.youtube.com/watch?v=l-oK1elkqhE
mwilson` has quit [Excess Flood]
mwilson` has joined #ruby
ZachBeta has joined #ruby
aquaranto has quit [Quit: Connection closed for inactivity]
<himsin> hi, what does -> do in this statement:- I = ->{gets.split.map(&:to_i)}
<Azure> It is the shorthand for writing lambdas, introduced in 1.9.3 I believe.
ZachBeta has quit [Client Quit]
<Mon_Ouie> Just in 1.9
<Azure> yeah
fantazo has quit [Remote host closed the connection]
answer_42 has quit [Quit: WeeChat 0.3.8]
fyolnish_ has joined #ruby
baroquebobcat has joined #ruby
und3f has joined #ruby
hadees has joined #ruby
<austinbv> anyone work with rubyserialport before?
vespakoen has quit [Quit: Leaving]
Takehiro_ has quit [Ping timeout: 240 seconds]
cableray has joined #ruby
mwilson` has quit [Excess Flood]
mmitchell has joined #ruby
mwilson` has joined #ruby
mwilson` has quit [Excess Flood]
snorkdude has joined #ruby
mwilson` has joined #ruby
snorkdude has quit [Remote host closed the connection]
mneorr has joined #ruby
fyolnish_ has quit [Ping timeout: 244 seconds]
chussenot has joined #ruby
love_col_ has quit [Remote host closed the connection]
pricees has quit [Ping timeout: 252 seconds]
iszak has quit [Quit: User has gone to work.]
jrajav has joined #ruby
mwilson` has quit [Excess Flood]
mwilson` has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
mmitchell has quit [Ping timeout: 276 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
adeponte has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
SphericalCow has joined #ruby
mwilson` has quit [Excess Flood]
mwilson` has joined #ruby
mwilson` has quit [Excess Flood]
mwilson` has joined #ruby
indian has quit [Read error: Connection reset by peer]
ngoldman has quit [Remote host closed the connection]
dev_ryan70 has joined #ruby
<shevy> himsin lambda operator in 1.9.x
<shevy> it's also ugly and everyone sane in mind hates it
GoGoGarrett has quit [Remote host closed the connection]
<himsin> okay, thanks
<Hanmac> shevy thats not true! i am not sane in mind and i still hate it
<shevy> haha
<shevy> you are right :-)
<shevy> your ruby code looks very much like ->{} already even without using ->
<shevy> Hanmac why don't you like -> ?
<canton7> it's like C#, but backwards
adeponte has joined #ruby
<jrajav> But lambdas make everything sexy
<jrajav> That's practically their definition
<jrajav> ;)
timonv has joined #ruby
<Hanmac> jrajav i dont hate procs or lambdas ... i only hate the "->"
<davidcelis> y
<shevy> whyyyyyy
<shevy> perl uses ->
<shevy> $hi->yippie();
dangerousdave has quit [Quit: Leaving...]
<Hanmac> canton7 what i really hate at C# is #region ... i mean something that looks important like #include but only for markup?
Bosma has joined #ruby
<canton7> you can see where they're coming from, but seriously? It's just inviting people to put way too much code into a single file, too
timonv has quit [Remote host closed the connection]
<canton7> LINQ on the other hand... feels like I'm writing ruby sometimes. except they named the methods all wrong :P
<Hanmac> i mean they could do the functionaly of #region with some kind of comment // :region: or something like that ...
ZachBeta has joined #ruby
havenn has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
qwerxy has quit [Quit: offski]
nicoulaj has quit [Remote host closed the connection]
vitoravelino is now known as vitoravelino`afk
<fowl> i'm Hanmac and if there's one thing about a language i hate, then i hate that language
tommyvyo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<atmosx> I need to learn how to pass data from one method to another...
<atmosx> the way I do it sucks big time.
<jrajav> s/Hanmac/anyone ever/
<canton7> atmosx, explain?
<atmosx> canton7: sure let me gist my code
<fowl> atmosx: the same way my parents communicate, with arguments ;_;
vitoravelino`afk is now known as vitoravelino
<atmosx> canton7: https://gist.github.com/3687406 this is the method. I'm trying to display the data on sinatra, but I get nothing on sinatra while I get everything on the terminal...
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<canton7> that's because sinatra renders the return value from the block
<canton7> while anything printed to stdout/stderr gets put on the console
timonv has joined #ruby
krnlsndrs has quit [Quit: Leaving]
<atmosx> I need to create some sort of list or something … an array maybe or a hash and return it when the method is called with :options like arra_of_tweets {|tweet| tweet[:username] ...}
<canton7> I'm guessing that's a helper? You want to be returning a value from that helper, and using the returned value to write something to a view
ZachBeta has quit [Quit: Computer has gone to sleep.]
<canton7> you're slowly stumbling onto what a model is
<atmosx> yes, although I don't clearly undersgtand your terminology (I'm playing with sinatra for a couple of days and as you can see I'm not good with ruby either
<atmosx> anyway I was just trying to get ahead of my readings, I'll keep reading the book and I'm sure it will explain how to do it… but I need also to learn how to write methods that can pass data more naturally not just spit it out… (stdout)
<canton7> yeah, your book will teach you that in short order ;)
<atmosx> k
<atmosx> fowl: ? wha arguments?
adeponte has quit [Remote host closed the connection]
<atmosx> fowl: listen to your parents
<atmosx> they either wrong or right, but if you don't what they'll tell you, you'll go to hell anyway
<atmosx> scary place, no internet connection
ZachBeta has joined #ruby
<fowl> atmosx: how to pass data; with arguments.. bad joke
<atmosx> aah sorry didn't get it :-P
<atmosx> I've seen a .push method somewhere hmm
<fowl> #push is on Array
Danielpk_ has joined #ruby
<canton7> not relevant here
<shevy> #push is on your momma
<canton7> just read your book haha
<shevy> atmosx, << is so much nicer than #push
awarner has joined #ruby
ltsstar has quit [Quit: ltsstar]
<shevy> whoever came up with #push was an evil evil man
<atmosx> I never use push but I like push more
<shevy> why!
<shevy> it's longer!
jimeh has quit [Ping timeout: 244 seconds]
<atmosx> however that's no thwat I wnated although I stumbled in this nice post
<shevy> << is like a flying spacecraft
<Hanmac> shevy no <=> is the spacecraft
Danielpk has quit [Ping timeout: 260 seconds]
Danielpk_ is now known as Danielpk
<shevy> that is an UFO
<shevy> btw Hanmac do you remember that tv series UFO?
burgestrand has joined #ruby
olrrai has joined #ruby
olrrai has quit [Client Quit]
<Hanmac> shevy no i am to young
<shevy> http://www.youtube.com/watch?v=rB1k02yh43A hehe too bad... look at what they were wearing... sexy outfits... now I still wonder what it has to do with aliens to wear sexy outfits...
<Hanmac> its because they can :P
<atmosx> I need to deine my method like that? my_method( width: 400, height: 50, show_border: false )
<atmosx> hmm
<shevy> why
<shevy> one hash?
SCommette has quit [Quit: SCommette]
<shevy> def my_method( :width => 400, :height => 50, :show_border => false ) # the ruby 1.8 way!
<shevy> ugh
<shevy> I already forgot how to use 1.8
wpaulson has joined #ruby
Agis__ has quit [Quit: Agis__]
ZachBeta has quit [Quit: Computer has gone to sleep.]
ZachBeta has joined #ruby
fyolnish has joined #ruby
LouisGB has joined #ruby
fyolnish has quit [Ping timeout: 240 seconds]
awarner has quit [Remote host closed the connection]
SphericalCow has quit [Ping timeout: 245 seconds]
drago757 has joined #ruby
mmitchell has joined #ruby
love_col_ has joined #ruby
techsurvivor has joined #ruby
justinmcp has joined #ruby
<atmosx> shit, I did it!
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
ZachBeta has quit [Quit: Computer has gone to sleep.]
ZachBeta has joined #ruby
<atmosx> shevy: ruby 1.8 is pretty much dead
mmitchell has quit [Ping timeout: 276 seconds]
alanp has joined #ruby
alanp has quit [Read error: Connection reset by peer]
alanp_ has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
alanp has joined #ruby
ZachBeta has quit [Client Quit]
beachandbytes has joined #ruby
maletor has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
<atmosx> there are severely stupid web 2.0 services out there. I wonder if they make any revenue or just 'exist'
Averna has quit [Read error: Connection reset by peer]
<GoHuyGo> exist
<atmosx> yeah, cool.
<GoHuyGo> hahaha
Xeago has joined #ruby
<GoHuyGo> I made one as my first project
<GoHuyGo> worst idea ever
<atmosx> If they can live with a heroku worker that's cool, if not it's stupid
<GoHuyGo> community building = difficult
<atmosx> GoHuyGo: explain further
S1kx has quit [Remote host closed the connection]
fbernier has joined #ruby
<GoHuyGo> not much to really explain
sterex has quit [Quit: sterex]
<GoHuyGo> I'm new to rails (6 months in)
<atmosx> nah, if you ask people about if something can or cannot b edone, they will alwyas say to you that it cannot. Then next guy arrives and does it (correctly).
<GoHuyGo> followed hartl's tutorial
<GoHuyGo> tried making a travel social site
robustus has quit [Quit: ZNC - http://znc.in]
<GoHuyGo> (where users collaborate to plan a trip)
<GoHuyGo> now I just use it as a playground
<atmosx> I heard about an idea about a project like 4square on a Greek podcast in 2004 buy cosmix. Skilled guy, really skilled. But out of resources do it. Even if he had done something like this, I'm not sure it could 'fly' like 4sqr did
<GoHuyGo> atmosx: are you learning or do you work?
<GoHuyGo> yeah
jrist has joined #ruby
Averna has joined #ruby
<GoHuyGo> with web 2.0, you never really know
<GoHuyGo> look at twitter
<GoHuyGo> if someone tried to pitch it to you
love_col_ has quit [Remote host closed the connection]
<GoHuyGo> you'd probably think it's stupid
chussenot has quit [Quit: chussenot]
jimeh has joined #ruby
<jrajav> Not really.. Twitter's not the only microblogging platform that has any traction
<jrajav> It's just the only real player in America
atmosx_noauth has joined #ruby
<GoHuyGo> really?
<atmosx_noauth> I study pharmacy because my parents have one and in my country things are going as worst as it gets…
conor_ireland has quit [Quit: conor_ireland]
<GoHuyGo> if somoene had pitched me a microblog that only allows you to send out 180char
<GoHuyGo> I would have thought they were joking
<GoHuyGo> (pre-twitter, of course)
<atmosx_noauth> I think the 140 were a brilliant idea.
<GoHuyGo> porwhy?
<atmosx_noauth> You can't write too much shit on it
<GoHuyGo> yeah
<GoHuyGo> turned out to be a good thing
<atmosx_noauth> well the follow-follow_me thing is good
workmad3 has joined #ruby
<atmosx_noauth> I started following everyone who is following me, like follow back and I ended up with a busy/lame timeline
und3f has quit [Quit: Leaving.]
<atmosx_noauth> Now I just follow people that "do something". It's incredible how stupid (especially girls) a user can be. I mean, wtf do I care about your feelings and status 24/7? ...
<atmosx_noauth> the follow/follow me was the big idea.
atmosx has quit [Ping timeout: 245 seconds]
atmosx_noauth is now known as atmosx
<GoHuyGo> mhm
<atmosx> GoHuyGo: Anywya, I don't think the idea or 'an idea' alone is worthy. Ideas are cheap implementation costs and it's what counts...
<atmosx> tweets at least procudes revenuew, facebook imho will never do that
<atmosx> I was laughing a couple of years ago when they were comparing facebook to google… Facebook had a turnover of less then 1 bil while google had 50...
<atmosx> FB was evaluated for something like 50 bl in the stock market though, pre-ipo
<atmosx> years
<atmosx> bubbles
<atmosx> GoHuyGo: where r u from?
zigomir_ has quit [Ping timeout: 246 seconds]
<GoHuyGo> California
<GoHuyGo> SJ
<GoHuyGo> agreed on implementation part
<GoHuyGo> when I was working on the app
<GoHuyGo> I saw many like it
<GoHuyGo> but each was uniqu (some were obv better than others)
<GoHuyGo> atmos: where are you from?
Norrin has quit [Quit: ""]
<cool> Looking this snippet: https://gist.github.com/179e6463456fc9218341 is there any way to puts teams_of_3.next in an loop which only stop when it gets StopIteration?
coderguy has joined #ruby
coderguy has quit [Client Quit]
coderguy has joined #ruby
coderguy has quit [Client Quit]
coderguy has joined #ruby
coderguy has quit [Client Quit]
pingfloyd has joined #ruby
justinmcp has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
Norrin has joined #ruby
Norrin has quit [Changing host]
Norrin has joined #ruby
jwang has quit [Quit: Leaving]
ryanf has joined #ruby
<canton7> cool, what are yu trying to achieve?
Dreamer3 has joined #ruby
Norrin has quit [Client Quit]
[Neurotic] has joined #ruby
awarner has joined #ruby
pdtpatrick has joined #ruby
love_col_ has joined #ruby
pdtpatrick has quit [Client Quit]
Norrin has joined #ruby
Monie has joined #ruby
justinmcp has joined #ruby
joephelius has quit [Quit: WeeChat 0.3.8]
Norrin has quit [Client Quit]
larissa has joined #ruby
Norrin has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
pdtpatrick has joined #ruby
<atmosx> GoHuyGo: Greece/Italy but now I'm in Czech Rep. I live in Greece though, northern Greece. Not the part you see often on TV.
<GoHuyGo> ahh
<GoHuyGo> I went to Italy a few months ago
<GoHuyGo> Venice is beautiful
<GoHuyGo> Wasn't a big fan of Rome
AlbireoX has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
Monie has quit [Quit: Quit]
bier has quit [Ping timeout: 240 seconds]
Guedes has quit [Ping timeout: 255 seconds]
pettsson_ has quit [Remote host closed the connection]
richwestcoast has quit [Read error: Connection reset by peer]
larissa has joined #ruby
AlbireoX has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
CarlB_the_great has joined #ruby
allsystemsarego has quit [Quit: Leaving]
mneorr has quit [Quit: Leaving.]
larissa has quit [Ping timeout: 252 seconds]
fyolnish_ has joined #ruby
awarner has quit [Remote host closed the connection]
larissa has joined #ruby
jimeh has quit [Ping timeout: 252 seconds]
larissa has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
Progster has quit [Ping timeout: 252 seconds]
<atmosx> GoHuyGo: Yeah, venice, florence and verona are awesome
<atmosx> I liked rome but its huge and you need like 6 months to see what's there
Synthead has quit [Remote host closed the connection]
<GoHuyGo> really?
<GoHuyGo> we spent 4 days there
<GoHuyGo> and I was done with Rome
<GoHuyGo> way too hot for me
Synthead has joined #ruby
fyolnish_ has quit [Ping timeout: 268 seconds]
Bosma has quit [Quit: leaving]
bier has joined #ruby
mmitchell has joined #ruby
gverri has quit [Quit: gverri]
<atmosx> yeah, you went wrong time of season
<atmosx> it's imposible on summer
<atmosx> I'll never go again on August
<GoHuyGo> yeah, and you guys all had holiday :P
<atmosx> haha
gverri has joined #ruby
doomMonkey has quit [Ping timeout: 246 seconds]
adeponte has joined #ruby
adeponte has quit [Remote host closed the connection]
Synthead has quit [Read error: Connection reset by peer]
LouisGB has quit [Ping timeout: 240 seconds]
khakimov has quit [Quit: Computer has gone to sleep.]
Norrin has quit [Quit: ""]
wataken44 has quit [Remote host closed the connection]
Norrin has joined #ruby
otters has quit [Ping timeout: 244 seconds]
wataken44 has joined #ruby
larissa has joined #ruby
jgrevich has quit [Quit: jgrevich]
love_col_ has quit [Remote host closed the connection]
larissa has quit [Ping timeout: 245 seconds]
larissa has joined #ruby
cantonic has joined #ruby
piotr__ has quit [Ping timeout: 276 seconds]
lesce has quit [Quit: Leaving]
g_rotbart has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
gmci has quit [Quit: Computer has gone to sleep.]
wargasm has quit [Read error: Connection reset by peer]
wargasm has joined #ruby
GoHuyGo has quit [Quit: Leaving]
<shevy> atmosx I will keep ruby 1.8 alive single handedly
skyjumper has left #ruby [#ruby]
cakehero has joined #ruby
yxhvuud has quit [Ping timeout: 252 seconds]
larissa has quit [*.net *.split]
Foxandxss has quit [*.net *.split]
Niamkik has quit [*.net *.split]
Bosox20051 has quit [*.net *.split]
araujo has quit [*.net *.split]
Hanmac has quit [*.net *.split]
philips_ has quit [*.net *.split]
alup has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
carrythezero has quit [*.net *.split]
tobyo has quit [*.net *.split]
tomku has quit [*.net *.split]
oddraisin has quit [*.net *.split]
ged has quit [*.net *.split]
idoru has quit [*.net *.split]
mahlon has quit [*.net *.split]
Niamkik has joined #ruby
philips_ has joined #ruby
tomku has joined #ruby
ged has joined #ruby
Foxandxss has joined #ruby
larissa has joined #ruby
Hanmac has joined #ruby
Bosox20051 has joined #ruby
idoru has joined #ruby
araujo has joined #ruby
alup has joined #ruby
RubyPanther has joined #ruby
tobyo has joined #ruby
carrythezero has joined #ruby
oddraisin has joined #ruby
mahlon has joined #ruby
Bosox20051 has quit [Max SendQ exceeded]
nari has joined #ruby
ged is now known as Guest81416
Bosox20051 has joined #ruby
<matti> shevy: Hehe
g_rotbart has quit [Remote host closed the connection]
thaz has quit [Quit: thaz]
g_rotbart has joined #ruby
Beoran_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
Norrin has quit [Quit: ""]
<voodoofish> anyone here ever use aswiki? ruby based wiki.
Beoran__ has quit [Ping timeout: 252 seconds]
Norrin has joined #ruby
mercwithamouth has joined #ruby
LennyLinux has quit [Remote host closed the connection]
awarner has joined #ruby
risico has quit [Ping timeout: 246 seconds]
awarner has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
larissa has quit [Read error: Connection timed out]
ZachBeta has joined #ruby
khakimov has joined #ruby
larissa has joined #ruby
Solnse has quit [Ping timeout: 252 seconds]
lkba has joined #ruby
billyoc has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pu22l3r has joined #ruby
jenrzzz has joined #ruby
jjang has joined #ruby
c0rn_ has joined #ruby
noyb has joined #ruby
khakimov has quit [Ping timeout: 246 seconds]
asklov has quit [Quit: leaving]
pu22l3r has quit [Remote host closed the connection]
khakimov has joined #ruby
sdwrage has joined #ruby
CarlB_the_great has quit [Remote host closed the connection]
horsey has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
uhsf has joined #ruby
drago757 has quit [Quit: drago757]
uhsf has left #ruby [#ruby]
banisterfiend has joined #ruby
uhsf has joined #ruby
<banisterfiend> ÅÅÅÍÅÍÅÍ ‰´ÎÅÍÎÏÅÍÎÏ ‰´ ASASDBBBABABSDFABCDEFGHIJKLMNOP
<banisterfiend> |
<banisterfiend> SSDEFGJIHELLO BAB HOW YOUARE YOU?
araujo has quit [Ping timeout: 240 seconds]
<banisterfiend> TODAY IS THE BEST DAY OF TOBINA
<banisterfiend> THE LOVE AND LUST I FEEL
<banisterfiend> DSFSADF
<banisterfiend> JKJKJ
banisterfiend has quit [Remote host closed the connection]
billyoc has quit [Ping timeout: 252 seconds]
c0rn_ has quit [Ping timeout: 260 seconds]
<uhsf> it's great to see ruby-doc.org website refresh, I haven't been there for a while, it's much more pleasant to browse
freeayu has joined #ruby
c0rn_ has joined #ruby
doomMonkey has joined #ruby
butblack has joined #ruby
larissa has quit [Read error: Connection timed out]
araujo has joined #ruby
noyb has quit [Ping timeout: 260 seconds]
<uhsf> is it possible to pass multiple file paths to CVS.foreach("file1.cvs","file2.cvs")?
love_col_ has joined #ruby
fyolnish_ has joined #ruby
chendo_ is now known as chendo
doomMonkey has quit [Ping timeout: 276 seconds]
love_col_ has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
love_col_ has joined #ruby
<ryanf> how's the keyboard Banistergalaxy
punkrawkR has quit [Read error: Connection reset by peer]
<horsey> ryanf: i can type capitals now, and kind of press enter
<horsey> but it wont let me do lowercase, and the mouse is kind of screwed
<horsey> ill levae it another day, maybe it'll improve further
<horsey> but it's semi-usable now i guess
c0rn_ has quit [Ping timeout: 268 seconds]
<ryanf> hahaha
<horsey> this comp is an old windows laptop :P
<ryanf> programming might be tough if you can only type caps?
<horsey> it's a piece of shit
<ryanf> if you have to buy a new laptop, what kind would you get
c0rn_ has joined #ruby
<horsey> same one, but with 4 gigawatsits of ram
<horsey> and a slightly larger hard drive
fyolnish_ has quit [Ping timeout: 244 seconds]
<horsey> mba 11"
<ryanf> cool
<ryanf> so you don't want to go any bigger?
<horsey> no, i love the 11"
pskosinski has quit [Quit: http://www.redeclipse.net -- Fast-paced online FPS]
<horsey> i think ill get this one fixed anyway
<horsey> it's just the keyboard, shouldnt be that expensive to fix i hope
noyb has joined #ruby
<ryanf> yeah as long as you didn't get beer on anything more important I guess
CodeFriar has joined #ruby
dpk has quit [Quit: Asleep at the keyboard.]
vanmik_ has joined #ruby