apeiros_ changed the topic of #ruby to: Ruby 1.9.3-p327: http://ruby-lang.org (ruby-2.0.0-preview2) || Paste >3 lines of text on http://gist.github.com
<alexspeller> havenn: awesome!
<alexspeller> never seen bigdecimal/util before
nazty has joined #ruby
<havenn> alexspeller: Yeah, i just learned about #to_d, nice and short. :)
<swarley> i need a coding idea
slash_nick has joined #ruby
<oqa> you should implement IntegerMoney class if dealing with currency and money values
<oqa> floats and money -> rounding issues
<xnm> shouldn't ruby's round function use bigdecimal. I mean, it's promising rounded values, but doesn't always return expected values?
v0n has quit [Ping timeout: 250 seconds]
nemesit has quit [Quit: Leaving...]
<swarley> well the solution to that is
<swarley> don't program for money
<swarley> errrr
<swarley> Don't make programs dealing with currency
<oqa> when doing any kind of math operations with money they usually need to use only cents
atadesk has joined #ruby
<oqa> and rounding has usually very specific rules with different operations that cause fractions
<reactormonk> oqa, I can't take anyone serious that uses floating points for money ;-)
malte_ has joined #ruby
reppard has joined #ruby
<oqa> reactormonk: that excludes a lot of people unfortunately
<alexspeller> >> p 0.1 + 0.2
<oqa> ;(
<eval-in> alexspeller: Output: "0.30000000000000004\n" (http://eval.in/5026)
_nitti has joined #ruby
<swarley> >> $$
<eval-in> swarley: Output: "" (http://eval.in/5027)
<swarley> err
<swarley> >> p `whoami`
<eval-in> swarley: Output: "" (http://eval.in/5028)
<swarley> :(
nari_ has quit [Ping timeout: 264 seconds]
<swarley> Worth a try
<reactormonk> oqa, that's almost as bad as storing phone numbers as ints ;-)
<oqa> lol
fgro has joined #ruby
<oqa> I was actually bitten bug a bug with ints this week, in java. apparently microseconds and days don't mix well with ints.
<shevy> hmm
<shevy> a bug in java
<oqa> nope, works as designed. ints are 32 bits signed
<oqa> ruby's default of automatically converting to a better class is of course better
atadesk has left #ruby [#ruby]
_nitti has quit [Ping timeout: 256 seconds]
<shevy> hmmm
sn0wb1rd has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby
phelps has joined #ruby
<shevy> "On 14 March 1994, Linux 1.0.0 was released, with 176,250 lines of code."
<shevy> "In March 1995, Linux 1.2.0 was released (310,950 lines of code)."
zastern_ has quit [Remote host closed the connection]
bradyl0ve has quit [Quit: Leaving...]
fumduq has joined #ruby
bigmcq77 has joined #ruby
nazty has quit [Read error: Connection reset by peer]
jonnn has quit [Quit: Textual IRC Client: www.textualapp.com]
jsilver has quit [Read error: Operation timed out]
marienz has quit [Read error: Operation timed out]
maletor has quit [Quit: Computer has gone to sleep.]
sepp2k has quit [Remote host closed the connection]
shac0 has quit [Quit: shac0]
maletor has joined #ruby
Banistergalaxy has joined #ruby
bradyl0ve has joined #ruby
<xnm> well if I represent my prices as integers and then calculate sales tax and round that to the nearest cent, am I still going to run into issues?
ttt has joined #ruby
<xnm> (should i be using BigDecimal in this case?)
<alexspeller> xnm: use this gem https://github.com/RubyMoney/money
verto is now known as verto|off
<alexspeller> it avoids rounding errors and gives you some nice other features
reppard has quit [Ping timeout: 245 seconds]
nipara has quit [Ping timeout: 244 seconds]
chord has joined #ruby
nazty has joined #ruby
Virunga has quit [Remote host closed the connection]
<xnm> alexspeller: thanks
ttt has quit [Ping timeout: 276 seconds]
nazty is now known as lordnaz
reppard has joined #ruby
art_man1 has quit [Quit: art_man1]
bradyl0ve has quit [Quit: Leaving...]
DanBoy_ has quit [Quit: Leaving]
karupanerura has quit [Excess Flood]
ephemerian has left #ruby [#ruby]
karupanerura has joined #ruby
verto|off is now known as verto
atadesk has joined #ruby
elico has quit [Quit: elico]
Russell^^ has quit [Quit: Russell^^]
elico has joined #ruby
lenovodroid has quit [Ping timeout: 250 seconds]
banister_ has quit [Ping timeout: 248 seconds]
lordnaz has quit [Read error: Connection reset by peer]
NiteRain has joined #ruby
havenn has quit [Remote host closed the connection]
rvmeier has joined #ruby
dankest is now known as dankest|away
banisterfiend has joined #ruby
lejonet has quit [Ping timeout: 260 seconds]
stuartrexking has joined #ruby
pac1 has joined #ruby
wicked_shell has joined #ruby
jjang has quit [Remote host closed the connection]
r0bby has quit [Ping timeout: 252 seconds]
xnm has quit [Read error: Connection reset by peer]
freeayu has joined #ruby
dankest|away is now known as dankest
alexspeller has quit [Remote host closed the connection]
chord has quit [Ping timeout: 245 seconds]
stuartrexking has quit [Quit: Leaving...]
Guest90418 has quit [Ping timeout: 252 seconds]
Gooder has joined #ruby
ltsstar has quit [Quit: ltsstar]
lenovodroid has joined #ruby
nipar has joined #ruby
<nipar> Mission "Steal 500 euro without spouse noticing" is a success. (Update for the few ppl giving suggestions)
Drager has quit [Remote host closed the connection]
woolite64 has quit []
Guest90418 has joined #ruby
Drager has joined #ruby
slainer68 has joined #ruby
jfl0wers has joined #ruby
jjbohn has joined #ruby
omg765 has joined #ruby
icole has quit [Remote host closed the connection]
daniel_- has quit [Quit: WeeChat 0.3.9.2]
nateberkopec has quit [Quit: Leaving...]
danneu has quit [Ping timeout: 248 seconds]
friskd has quit [Read error: Operation timed out]
Drager has quit [Ping timeout: 246 seconds]
slainer68 has quit [Ping timeout: 265 seconds]
atadesk has left #ruby [#ruby]
Dario_ has quit [Ping timeout: 260 seconds]
taoru has joined #ruby
cloud|nix__ has joined #ruby
ixxxxi is now known as ixx
dawkirst_ has quit [Quit: Nettalk6 - www.ntalk.de]
marr has quit [Ping timeout: 256 seconds]
emmanuel__ has joined #ruby
breakingthings has joined #ruby
reppard has quit [Ping timeout: 244 seconds]
Guest90418 has quit [Ping timeout: 265 seconds]
cloud|nix_ has quit [Ping timeout: 265 seconds]
Drager has joined #ruby
emmanuelux has quit [Ping timeout: 244 seconds]
piotr__ has quit [Ping timeout: 248 seconds]
elico has quit [Quit: Elico]
banisterfiend has quit [Ping timeout: 248 seconds]
emmanuel__ has quit [Read error: Connection reset by peer]
rezzack has quit [Quit: Leaving.]
ttt has joined #ruby
wicked_shell has quit [Ping timeout: 276 seconds]
samphippen has quit [Quit: Computer has gone to sleep.]
<shevy> I hate rewrites...
elaptics is now known as elaptics`away
<swarley> :(
ermines is now known as otters
reppard has joined #ruby
ttt has quit [Ping timeout: 245 seconds]
rvmeier has quit [Ping timeout: 248 seconds]
xbayrockx has quit [Ping timeout: 265 seconds]
rvmeier has joined #ruby
<shevy> swarley I have a class here, 300 lines of code, rewriting it right now. the thing is, there seem to be so many useless variables... and it seems easier to start from scratch, than scanning through and getting rid of what is unnecessary
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
<shevy> it's like a 5 years old .rb file
<swarley> yeesh
<swarley> What's the class for?
fred909 has quit [Ping timeout: 265 seconds]
io_syl has joined #ruby
yshh has joined #ruby
<shevy> It does not do much, just creates a directory structure for standalone programs ( bin/ lib/ sbin/ etc..), including some sanitizing
maletor has quit [Quit: Computer has gone to sleep.]
<shevy> hmm and some more things, which I will try to find out slowly, as I dissect this shit ...
<shevy> apparently it has a debug mode. and a simulation mode (tells the user what it would do, without performing it)
<shevy> also sets a symlink and removes wrong symlinks
Guest90418 has joined #ruby
pabloh has quit [Read error: Connection reset by peer]
alex__c2022 has joined #ruby
swex_ has joined #ruby
<shevy> hmm if you have an array ["foo"]
mahmoudimus has quit [Read error: Connection reset by peer]
<shevy> do you say, this array has one member, or do you say, this array has one element?
<swarley> I would say element
omg765 has quit [Read error: Operation timed out]
<swarley> I almost never refer to it as member
<shevy> ok
mahmoudimus has joined #ruby
freakazoid0223 has joined #ruby
fgro has quit [Ping timeout: 265 seconds]
swex has quit [Ping timeout: 264 seconds]
alex__c2022 has quit [Ping timeout: 248 seconds]
Guest90418 has quit [Read error: Connection reset by peer]
squidBits has quit [Quit: whoops]
benlieb has joined #ruby
horofox has quit [Quit: horofox]
Proshot has quit [Quit: Leaving]
sn0wb1rd has quit [Quit: sn0wb1rd]
malte_ has quit [Quit: malte_]
<ryanf> I think member is pretty common too
jjbohn has quit [Read error: Connection reset by peer]
cloud|nix__ has quit [Quit: Ex-Chat]
maletor has joined #ruby
<shevy> is there a technically correct form?
GlenK has left #ruby [#ruby]
<ryanf> of course not, this is ruby
<ryanf> they can't even decide what an eigenclass is called
zommi has joined #ruby
Goles has quit [Read error: Operation timed out]
lenovodroid has quit [Ping timeout: 252 seconds]
dankest has quit [Quit: Leaving...]
adkron has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
kenneth has quit [Quit: kenneth]
jkarayusuf has joined #ruby
nari_ has joined #ruby
sn0wb1rd has joined #ruby
verto is now known as verto|off
ttt has joined #ruby
alexim has quit [Quit: sleep]
jimeh has quit [Remote host closed the connection]
eka has quit [Remote host closed the connection]
guns has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
alexspeller has joined #ruby
brendan_ has quit [Remote host closed the connection]
jgrevich has quit [Quit: jgrevich]
jgrevich has joined #ruby
Dario_ has joined #ruby
ricburton has joined #ruby
<ricburton> hey
aapzak has quit [Ping timeout: 265 seconds]
<ricburton> could anyone help with a '[BUG] cross-thread violation on rb_gc()' issue?
<ricburton> SO is not proving fruitful
ricburton has quit [Client Quit]
aces1up has joined #ruby
aapzak has joined #ruby
<aces1up> hey all is there a gem that makes it easy to create a console output like when using top in linux?
<aces1up> top command?
thams has quit [Quit: thams]
alexspeller has quit [Ping timeout: 252 seconds]
<slash_nick> like tailing a log file?
<slash_nick> tail -fn100 log/development.log
greenarrow has quit [Quit: IRC is just multiplayer notepad]
jkarayusuf has quit [Remote host closed the connection]
<slash_nick> like tailing a log file?
<slash_nick> tail -fn500 log/development.log
omg765 has joined #ruby
aaronmacy has quit [Quit: Leaving.]
Dario_ has quit [Ping timeout: 248 seconds]
<aces1up> slash_nick never used that command, i'm a bit new to linux but basically want a static console page that doesn't scroll that i can have like a table like when doing top command that auto updates.
<aces1up> on different events
twoism has quit [Remote host closed the connection]
<slash_nick> ah, that command would show the most 500 recent lines of log file as they're written... So, aces1up what would be in the table?
<aces1up> mostly kinda like a real time dbase hook.
<slash_nick> ah... well I don't know of anything like that
<aces1up> i have hooked Active record to call my table console handler whatever that would be on an update.
<aces1up> ok
MissionCritical has quit [Ping timeout: 246 seconds]
Dario_ has joined #ruby
stkowski has joined #ruby
reppard has quit [Ping timeout: 265 seconds]
Goles has joined #ruby
xbayrockx has joined #ruby
xbayrockx has quit [Client Quit]
Guest9041 has joined #ruby
omg765 has quit [Quit: Computer has gone to sleep.]
Dario_ has quit [Ping timeout: 252 seconds]
xbayrockx has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
ananthakumaran has joined #ruby
wf2f has quit [Ping timeout: 250 seconds]
jslowe has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
reppard has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
BeLucid_ has quit [Ping timeout: 264 seconds]
Guest9041 has quit [Ping timeout: 260 seconds]
nga4 has quit [Ping timeout: 260 seconds]
havenn has joined #ruby
slash_nick has quit [Ping timeout: 246 seconds]
elico has joined #ruby
pac1 has quit [Quit: I got it one line of code at a time]
MissionCritical has joined #ruby
drPoggs has quit [Quit: Goodbye]
c0rn has quit [Quit: Computer has gone to sleep.]
benlieb has quit [Quit: benlieb]
drPoggs has joined #ruby
tommyvyo_ has joined #ruby
emmanuelux has joined #ruby
pcarrier has quit []
Guest9041 has joined #ruby
phipes has joined #ruby
williamherry has joined #ruby
<williamherry> how to wrap a method that it's arguemnt is a hash?
<swarley> what?
<williamherry> I want write a method that will call update_attribute method
<williamherry> how to handle the argument
<williamherry> swarley: *args not work
<swarley> oh, when an argument is a hash, treat it like a normal variable
emmanuelux has quit [Read error: Operation timed out]
elliomax has joined #ruby
nouh has quit [Remote host closed the connection]
<williamherry> def my_method(args) \n some code \n update_attribute(args)\n end?
jgrevich_ has joined #ruby
nouh has joined #ruby
elliomax has quit [Remote host closed the connection]
elliomax has joined #ruby
elliomax has left #ruby [#ruby]
jgrevich has quit [Ping timeout: 265 seconds]
jgrevich_ is now known as jgrevich
<swarley> yes
<swarley> >> def method_with_a_hash_argument(h); p h; end; method_with_a_hash_argument(:hello => "world", :foo => "bar")
<eval-in> swarley: Output: "{:hello=>\"world\", :foo=>\"bar\"}\n" (http://eval.in/5075)
<williamherry> swarley: thanks
<swarley> np
Guest9041 has quit [Ping timeout: 255 seconds]
_br_ has quit [Excess Flood]
frem has joined #ruby
The_8473 has joined #ruby
_br_ has joined #ruby
The_8472 has quit [Ping timeout: 248 seconds]
Goles has quit [Quit: Computer has gone to sleep.]
_br_ has quit [Excess Flood]
_br_ has joined #ruby
_br_ has quit [Excess Flood]
_br_ has joined #ruby
mackintosh has joined #ruby
<shevy> hmmm the ways to RubyOS ...
<shevy> will initially need one way to do GUIs, one shell, one way to compile or otherwise install... hmm what else
<swarley> No GUI
<reppard> i would think GUI would be much later in the process
<swarley> GUI is a secondary need
<reppard> just get it installed and a shell =)
<swarley> xorg took something like 11 years to get to where it is
<shevy> :(
<swarley> GUIs are overrated
hashpuppy has quit [Quit: hashpuppy]
<reppard> i'd be happy with a rubyos that could run vim and tmux
hashpuppy has joined #ruby
<swarley> plus a RubyOS would be immediately filed under a "proof of concept"
<reppard> and start an httpd
nouh has quit [Ping timeout: 265 seconds]
hashpuppy has quit [Client Quit]
nouh has joined #ruby
Guest9041 has joined #ruby
<wmoxam> why on earth would you want to write all the software in Ruby?
<wmoxam> are there any mono-language OSes out there?
phipes has quit [Ping timeout: 246 seconds]
<swarley> Yes
<swarley> there is a C# OS
<shevy> wmoxam as far as I know the only reason against it are speed concerns
<wmoxam> "Please note COSMOS is a fraction of a modern OS"
<wmoxam> shevy: there are no ruby interpreters written entirely in ruby :p
cj3kim has joined #ruby
<swarley> shevy; but if the kernel itself was a RubyVM speed wouldn't be an issue
Godd2 has joined #ruby
<shevy> ok the linux kernel uses assembler too, so we can cheat and use assembler as well
<swarley> that's not cheating :p
<shevy> hmm we could postpone these problems into the future
<swarley> You NEED asm to actually boot
nouh_ has joined #ruby
<shevy> it's like, we build a ferrari, but we can leave out the engine :D
phipes has joined #ruby
<swarley> :p
<wmoxam> and to run the interpreter
<wmoxam> :p
<shevy> eh running the interpreter is fine, just look at the bootscripts of linux... shell scripts!
<wmoxam> not sure what you mean
cakehero has joined #ruby
<wmoxam> shevy: Ruby relies on c std lib
<shevy> and bash does not?
<wmoxam> You seem to be completely misunderstanding me
<shevy> that's you swarley!
phipes has quit [Client Quit]
<swarley> LOLOL I forgot that I set it to do (return 0xDEADBABE;) so I could tell if it exited correctly
<shevy> "authored 4 months ago"
<shevy> what did you do, abandon it? :P
<reppard> why does eval pitch a fit if you pass it regex with escapes?
<wmoxam> you want to build a RubyOS? Do it the GNU way. Run on an existing Unix, and implement the userland. Then figure out the kernel later (or not)
<swarley> I had a friend helping me and he stopped
<reppard> its perfectly valid code
<swarley> Also, shevy as you may notice
<shevy> a tiny kernel with mruby would be nice
freakazoid0223 has quit [Quit: Leaving]
<swarley> I gave up on the actual OS code and pretty much just recoded the cstdlib
<wmoxam> not sure why you want to write a kernel
Dario_ has joined #ruby
<shevy> reppard do you have a small example?
<wmoxam> it's the least interesting part
nouh has quit [Ping timeout: 248 seconds]
<wmoxam> device drivers are just messy
<swarley> wmoxam; frustrating*
razibog has quit [Quit: Leaving.]
<wmoxam> swarley: most frustrating? yes
<swarley> The worst thing is the emulators
<shevy> man, if only to say "hey, this is how far we got... we actually do not need the linux kernel"
<swarley> Because at the stage of enabling the A20 line, qemu crashed for me
<swarley> and I couldn't tell on my test bed if it enabled
mackintosh has left #ruby [#ruby]
<shevy> hehe
<reppard> >> a = eval("/12/\12/\12/")
<eval-in> reppard: Output: "" (http://eval.in/5076)
<reppard> >> a = eval("/12/\12/\12/"); p a
<eval-in> reppard: Output: "/\n/\n" (http://eval.in/5077)
<shevy> I use qemu to look into haiku, it's nice... but as long as I never install it on a real machine, it feels like a toy OS :(
<wmoxam> I would actually like to rewrite unix userland, maybe in Ruby or Go
<shevy> hmm reppard that is strange there
<wmoxam> and seperate data from presentation
<shevy> this is not a string? "/12/\12/\12/" # => "/12/\n/\n/"
<shevy> wmoxam in Go?
<reppard> in irb i get something like Invalid char `\x13' in expression
rvmeier has quit [Ping timeout: 248 seconds]
Guest9041 has quit [Ping timeout: 245 seconds]
<wmoxam> shevy: Go is a good choice for these things
<shevy> wmoxam rewriting unix userland tools is a lot of work, there are so many options available to these tools
<reppard> i just want it to evaluate to the pure regex
<wmoxam> shevy: you could stick with BSD userland to start, which has much less options
<reppard> so i an do a.match("12/12/12")
<shevy> hehe
<wmoxam> GNU userland is somewhat bloated IMO
<shevy> they had more fun adding to commandline, rather than build proper GUIs ;)
<wmoxam> shevy: nah, they forgot how to use pipes
<wmoxam> or aliases
<wmoxam> :p
<shevy> reppard I think eval is out of my head right now, my brain is only about 3% active... I am still rewriting that old boring class...
<reppard> shevy: haha thank for entertaining the idea
stuartrexking has joined #ruby
Dario_ has quit [Ping timeout: 244 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<reppard> i am writing a program to help me better my regex skills...the problem is it requires some regex skills apparently
<shevy> I find regex always hard
<shevy> especially the longer it gets
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<reppard> so if you do something like Regexp.new(eval("/12/")) it will return a proper regex object
<reppard> but if you try to add special characters and escape them it freaks
<swarley> errm sorry i forgot to add a readme
mahmoudimus has joined #ruby
<swarley> But the spec/spec.rb says enough
<reppard> swarley: nice spec file. i seem to always screw up the "it" grammar
<swarley> I don't usually make specs as nice as that one
rvmeier has joined #ruby
emergion has joined #ruby
aaronmacy has joined #ruby
<shevy> hehehe
<shevy> swarley you are a funny guy
<swarley> hm?
Guest9041 has joined #ruby
<shevy> reppard you tried to write a grammer with it?
<shevy> *grammar
<shevy> let me look at that spec.rb ...
<shevy> is minitest easy?
<swarley> It's as easy as my spec looks
rvmeier has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
gyre007 has quit [Remote host closed the connection]
jonnnn has joined #ruby
squidBits has joined #ruby
yacks has quit [Ping timeout: 265 seconds]
jekotia has joined #ruby
tjbiddle has quit [Ping timeout: 245 seconds]
flip_digits has joined #ruby
<swarley> but yeah, if any of you guys find any of that interesting. If no one is going to use it I'm not going to keep working on it, but I will if anyone finds use in it
<shevy> swarley are you on rubygems.org btw?
<reppard> so yeah my bad...apparently you dont have to escape forward slashes
jonnnn has left #ruby ["Textual IRC Client: www.textualapp.com"]
<reppard> fail
<shevy> seems like a simple fix
squidBits has quit [Ping timeout: 255 seconds]
<shevy> I have an aliase for that called "regex?" in bash
<shevy> prints out: . * + ? ^ $ { } [ ] ( ) \ |
<reppard> nice
<reppard> i wish os x would use a .aliase file
<reppard> you have to cram your aliases in your bashrc
Guest9041 has quit [Ping timeout: 245 seconds]
turtlehat has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<shevy> hmm yeah
<shevy> I have my aliases in yaml files, let ruby generate these files
Divinite_ has joined #ruby
<shevy> and use some of these aliases to call methods in specific .rb files doing stuff
<swarley> shevy; yes I am, I don't have most of my projects up as gems though
<shevy> aha
Guest9041 has joined #ruby
<reppard> ill fry my brain with this stuff tomorrow
<reppard> nite everyone
thams has joined #ruby
squidBits has joined #ruby
tommyvyo_ has joined #ruby
Godd2 has quit [Quit: Page closed]
stuartrexking has quit [Quit: Leaving...]
zeade has quit [Quit: Leaving.]
Guest9041 has quit [Read error: Connection reset by peer]
reppard has quit [Quit: leaving]
jenrzzz has joined #ruby
Guest9041 has joined #ruby
lenovodroid has joined #ruby
daniel_hinojosa has quit [Ping timeout: 250 seconds]
ananthakumaran1 has joined #ruby
banseljaj has quit [Ping timeout: 255 seconds]
ananthakumaran has quit [Ping timeout: 252 seconds]
banseljaj has joined #ruby
popl has joined #ruby
eka has joined #ruby
seejohnrun has joined #ruby
shiin has quit [Quit: Computer has gone to sleep.]
carlyle has joined #ruby
benlieb has quit [Quit: benlieb]
radic has joined #ruby
pupuserf7f7a2 has joined #ruby
eka has quit [Ping timeout: 255 seconds]
carlyle has quit [Remote host closed the connection]
chord has joined #ruby
<chord> why did ruby take off but tcl not?
pupuserf7f7a2 has quit [Read error: Connection reset by peer]
breakingthings has quit []
<swarley> because tcl is a flaming bag of dog shit
kenneth has joined #ruby
<chord> swarley: can be you concrete with examples for someone familiar with ruby but not tcl
twoism has joined #ruby
radic_ has quit [Ping timeout: 264 seconds]
<swarley> Well, TCL syntax just feels flat out silly
daniel_hinojosa has joined #ruby
emergion has quit [Ping timeout: 264 seconds]
cr3 has joined #ruby
<chord> swarley: such as
<cr3> is there a way to get documentation or help about a module or a class from within irb?
ryanf_ has joined #ruby
bluebie has joined #ruby
bluebie has quit [Changing host]
bluebie has joined #ruby
<bluebie> Heya!
<swarley> puts Hello
<bluebie> I'm looking for info on what methods I need to implement to make my own IO
<swarley> # Hello
<havenn> cr3: Use Pry, that and lots more: http://pryrepl.org/
sandGorgon1 has joined #ruby
Guest9041 has quit [Read error: Connection reset by peer]
sandGorgon has joined #ruby
<bluebie> I have a little USB gadget which makes a fake serial port using some weird hacks, and I'd like to abstract it in ruby so it works like any other IO
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<swarley> cr3; within pry, do show-doc Module
<cr3> havenn: ah, I believe you mentionned pryrepl yesterday too. I was under the impression it was just for debugging though
Juul has joined #ruby
<swarley> No, it is a complete irb replacement
Guest9041 has joined #ruby
<havenn> cr3: It is an irb replacement. A very good one at that!
<popl> What's wrong with irb?
<cr3> popl: I'm wondering the same thing, but that's mostly because I'm just starting with ruby
<bluebie> popl: irb is alright, pry is much better
<bluebie> I could never remember to use it though, so I aliased irb to pry on my computers!
frem has quit [Quit: Computer has gone to sleep.]
<bluebie> nobody knows stuff about IO?
<popl> Nobody. Ever.
<bluebie> dang
benlieb has joined #ruby
Muz has quit [Read error: Operation timed out]
sepuku has quit [Read error: Operation timed out]
notbrent has quit [Read error: Operation timed out]
fatninja has quit [Read error: Operation timed out]
iaj has quit [Read error: Operation timed out]
zaiste has quit [Write error: Broken pipe]
rapha has quit [Write error: Broken pipe]
<havenn> popl: syntax highlighting, auto-indentation, omgwtfbbqwin, type `help` in Pry for good list of additional commands available in Pry.
<bluebie> I was really hoping it'd be a bit like enumerable, where you just implement a couple of methods and the rest work through those
tommyvyo_ has joined #ruby
karnowski has quit [Read error: Operation timed out]
<popl> syntax highlighting is overrated. :)
tessi has quit [Ping timeout: 248 seconds]
malcolmva has joined #ruby
emergion has joined #ruby
Bish has quit [Ping timeout: 260 seconds]
Sigma00 has quit [Ping timeout: 248 seconds]
msch has quit [Ping timeout: 246 seconds]
rcj_ has quit [Ping timeout: 255 seconds]
<chord> swarley what do you think about the statement: Python > Ruby
<havenn> popl: Maybe just synesthesia, but text colors matter to me. :P
plu has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
sonne has quit [Ping timeout: 264 seconds]
z has quit [Ping timeout: 252 seconds]
wedgeV has quit [Ping timeout: 252 seconds]
parus has quit [Ping timeout: 244 seconds]
raddazong has quit [Ping timeout: 248 seconds]
aef has quit [Ping timeout: 264 seconds]
drizz_ has quit [Ping timeout: 255 seconds]
xAndy has quit [Ping timeout: 255 seconds]
Dario_ has joined #ruby
im0b has quit [Ping timeout: 252 seconds]
cam` has quit [Ping timeout: 246 seconds]
swi7ch has quit [Ping timeout: 245 seconds]
dreamfall has quit [Ping timeout: 245 seconds]
telling has quit [Ping timeout: 245 seconds]
wereHamster has quit [Ping timeout: 260 seconds]
<popl> havenn: to each their own
_br_ has quit [Ping timeout: 255 seconds]
ccooke has quit [Ping timeout: 264 seconds]
failingkid has quit [Ping timeout: 244 seconds]
caveat- has quit [Ping timeout: 252 seconds]
randym has quit [Ping timeout: 260 seconds]
eval-in has quit [Ping timeout: 260 seconds]
SeanTAllen has quit [Ping timeout: 276 seconds]
KRF has quit [Ping timeout: 265 seconds]
[0x1a] has quit [Ping timeout: 260 seconds]
<swarley> irb is painfully hard to use compared to pry
<cr3> how can I list all the classes in a module?
<popl> I haven't used pry. It might be great.
<swarley> chord; I think it depends
<havenn> chord: Stop attempting to troll. You should actually learn Ruby or Python then you'll be much more successful at trolling.
<bluebie> popl: I'll check that out, perhaps it's implementation can give me some clues ^_^
<swarley> I much prefer ruby syntax
dbrgn has quit [Ping timeout: 260 seconds]
<swarley> But python is used in more places
<popl> all the h4x0rs use ruby :P
xbayrockx has quit [Read error: Connection reset by peer]
wf2f has joined #ruby
<bluebie> I like ruby :)
tommyvyo has quit [Quit: http://thomasvendetta.com]
tommyvyo_ is now known as tommyvyo
aaronmacy has quit [Quit: Leaving.]
<popl> ruby is OK
KRF has joined #ruby
plu has joined #ruby
thejefflarson_ has joined #ruby
z has joined #ruby
im0b has joined #ruby
z is now known as Guest48481
<bluebie> popl: what's good?
Dario_ has quit [Ping timeout: 252 seconds]
fatninja has joined #ruby
zaiste has joined #ruby
<popl> bluebie: What are you asking?
<bluebie> if ruby's okay, I wonder if there's anything you think is good?
<swarley> brainfuck
eval-in has joined #ruby
<popl> I really like Haskell.
xAndy has joined #ruby
iaj has joined #ruby
aef has joined #ruby
Weazy has quit [Ping timeout: 255 seconds]
WhereIsMySpoon has quit [Ping timeout: 264 seconds]
<popl> I use Perl an awful lot.
<bluebie> I've never gotten around to learning haskell but some of my compsci friends love it :)
Sigma00 has joined #ruby
rcj_ has joined #ruby
<bluebie> are you doing uni stuff?
[0x1a] has joined #ruby
williamherry has quit [Ping timeout: 252 seconds]
<popl> I was. I am currently not attending.
patricksroberts_ has joined #ruby
parus has joined #ruby
Weazy has joined #ruby
<bluebie> neat ^_^
randym has joined #ruby
<swarley> Haskell is really interesting
<bluebie> I learnt C by crashing uni lectures
<havenn> Perl 6 reminds me of Ruby.
tessi has joined #ruby
<popl> In UNI I used a lot of differentl anguages.
rcsheets_ has joined #ruby
madhatter has joined #ruby
dkannan_ has joined #ruby
<swarley> but difficult to learn if you have programming experience
<cr3> I can't imagine deeply knowing a few languages and being really adamant about any one language, does it really make that big a difference as long as you use the right language for the right job?
<bluebie> perl and ruby are friends :)
<popl> Perl6 is pretty.
NimeshNeema_ has joined #ruby
sepuku has joined #ruby
Bish has joined #ruby
sonne has joined #ruby
Guest9041 has quit [Ping timeout: 260 seconds]
octarine_ has joined #ruby
drizz has joined #ruby
dbrgn has joined #ruby
wereHamster has joined #ruby
<swarley> it's also destined to be slow
telling has joined #ruby
<popl> cr3: No. You will probably have favorites because well, you're human.
rapha has joined #ruby
rapha has joined #ruby
rapha has quit [Changing host]
ccooke has joined #ruby
<popl> slow?
emergion has quit [Quit: Computer has gone to sleep.]
caveat- has joined #ruby
<swarley> Interpreted P6 is going to be slow
<swarley> Until processors catch up
<cr3> popl: so, it's likely to be your first programming language for nostalgic reasons or your last one for familiarity reasons :)
Guest9041 has joined #ruby
_br_ has joined #ruby
<popl> possibly
<popl> but never Java
<popl> :P
<cr3> popl: agreed :)
rcsheets has quit [Disconnected by services]
rcsheets_ is now known as rcsheets
<swarley> Since the P6 standard is built on the principal of using the parrotVM
<cr3> it's really hard to be passionate about java
ryanf_ has quit [Quit: broken pipes |||]
<swarley> and parrot is nothing near fast
spanx___ has joined #ruby
MissionCritical has quit [Ping timeout: 264 seconds]
bluehavana_ has joined #ruby
<chord> swarley: Java > Ruby
dreamfall has joined #ruby
cyong has joined #ruby
<popl> flamebait
tommyvyo[cloud]_ has joined #ruby
kapowaz_ has joined #ruby
<swarley> chord; performance wise yes, syntactically no
<swarley> Java is line noise
lectrick____ has joined #ruby
<bluebie> JRuby
pvh___ has joined #ruby
wedgeV has joined #ruby
<popl> cr3: I had to implement AES in Java and it sucked.
kaichanvong___ has joined #ruby
pkondzior__ has joined #ruby
<swarley> helloThereIMakeMyMethodNamesReallyDescriptiveBecauseImAJavaProgrammerAndIDontWantToForgetWhatItDoes(String x)
<popl> Well. Let me rephrase that.
jhowarth__ has joined #ruby
<popl> Using Java was the crap part. The math was cool.
<popl> swarley: You can have long identifiers with most languages.
lucaspiller___ has joined #ruby
<chord> what about Scala
<swarley> yes, but java programmers tend to do it more than most
<swarley> C# programmers do it too
<bluebie> popl: why did you need to implement it in java? surely someone else has before?
cam` has joined #ruby
<popl> bluebie: It was for a cryptography class.
<bluebie> ah
karnowski has joined #ruby
<popl> bluebie: I also implemented RSA (which was a lot more fun in Java, actually).
<bluebie> cocoa ._.
<shevy> man
<bluebie> they finally got themselves a dictionary literal syntax..
<shevy> coding zombies
<bluebie> so I can stop gouging my eyes out every time I find the need to write some
cj3kim has quit [Quit: This computer has gone to sleep]
_br_ has quit [Excess Flood]
failingkid has joined #ruby
squidBits has quit [Quit: squidBits]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
<popl> swarley: Parrot isn't finished yet.
<swarley> popl; no it's not. But it's a high level language in itself
SeanTAllen has joined #ruby
WhereIsMySpoon has joined #ruby
<popl> How does that imply it's going to be slow?
shiroginne_ has joined #ruby
_br_ has joined #ruby
dekz__ has joined #ruby
xerxas_ has joined #ruby
TheDeadSerious_ has joined #ruby
fcoury_ has joined #ruby
yeban_ has joined #ruby
davidboy___ has joined #ruby
cr3 has quit [Quit: leaving]
<chord> so whats going to be the next big language
<chord> besides Go
_br_ has quit [Excess Flood]
percival__ has joined #ruby
Mission-Critical has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
<swarley> not Go
Muz has joined #ruby
<chord> swarley how you know that
emergion has joined #ruby
<swarley> because it's another one of those "Oh this is neat!... I don't know what I'm supposed to do with this"
NimeshNeema_ has quit [Excess Flood]
kiyoura has quit [Quit: Leaving]
axl_ has joined #ruby
_br_ has joined #ruby
<popl> Piet
<chord> swarley what do you mean they explicitly said its a systems language
<popl> Let's all switch to Piet
<swarley> I mean, it's a neat little tool, but there is just no reason for it to be the next big thing
swi7ch has joined #ruby
<chord> swarley you need to write backend systems software what you gonna use? Java?
<havenn> Ruby <3
<swarley> I'm not sure, but Go wouldn't be the option I jump at lol
williamherry has joined #ruby
NimeshNeema_ has joined #ruby
<chord> swarley: so in other words you're saying Go
jxriddle has quit [Quit: jxriddle]
gordon1775 has joined #ruby
<swarley> No? I'm saying I'm not sure what languages are suited for the job
dougireton has joined #ruby
yacks has joined #ruby
<chord> not sure basically means default Go
<swarley> No..
cj3kim has left #ruby ["Leaving"]
<chord> you keep saying no for the sake of no but you know i'm right
crackfu has joined #ruby
<swarley> Honestly, If I was targeting a compiled, C like language. I would use D before I would use Go
Mission-Critical is now known as MissionCritical
brendan_ has joined #ruby
rondale_sc has joined #ruby
<chord> wow you would use both Ruby and D where D is the language that is 10000x more complicated in Ruby, talk about cognitive dissonance
joofsh has quit [Remote host closed the connection]
gyre007 has joined #ruby
guns has quit [Quit: guns]
<popl> Man. I sense some serious unrequited bromance.
moshee has quit [Ping timeout: 260 seconds]
notbrent has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
seejohnrun has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
sayan has joined #ruby
<swarley> o-O
<swarley> Something tells me that you're just here because you got a boner setting up your GO_PATH
brendan_ has quit [Ping timeout: 264 seconds]
keyvan is now known as love_color_text_
gyre007 has quit [Ping timeout: 256 seconds]
mahmoudimus has joined #ruby
stuartrexking has joined #ruby
a_a_g has joined #ruby
rondale_sc has quit [Ping timeout: 255 seconds]
elliottcable is now known as elliottcable___
Divinite_ is now known as Divinite
ryanf_ has joined #ruby
Divinite has quit [Quit: Divinite has left :(]
benlieb has quit [Quit: benlieb]
axl_ has quit [Quit: axl_]
browndawg has joined #ruby
mhi^ has quit [Ping timeout: 240 seconds]
<chord> swarley: so you betting on D over Go?
stuartrexking has quit [Ping timeout: 252 seconds]
<swarley> Betting? No, jesus
<swarley> Alright, this is going no where, swarley out
lenovodroid has quit [Ping timeout: 255 seconds]
ryanf__ has joined #ruby
<popl> chord: troll level increased
ryanf__ has quit [Client Quit]
<popl> chord: new wart achieved
elliottcable___ is now known as elliottcable
<popl> chord: hump on your back increases in diameter by 6 cm
JohnBat26 has joined #ruby
JohnBat26 has quit [Client Quit]
nateberkopec has joined #ruby
JohnBat26 has joined #ruby
ryanf_ has quit [Ping timeout: 264 seconds]
tommyvyo has quit [Quit: Computer has gone to sleep.]
atal421 has joined #ruby
jsilver has joined #ruby
<popl> chord: I have +g set.
<popl> chord: You shouldn't /msg people anyways, not without asking first. :P
<atal421> hey folks, quick question
<atal421> when submitting a form
<atal421> what do you do to clean up the incoming data?
squidBits has joined #ruby
<atal421> like, converting incoming 1 to true
<chord> popl: you know I'm right about go
ryanlecompte has joined #ruby
<popl> chord: I don't care.
stuartrexking has joined #ruby
stuartrexking has quit [Client Quit]
chaosis has quit [Remote host closed the connection]
ckrailo has joined #ruby
<chord> popl what do you use for systems programming then?
cj3kim has joined #ruby
Coolhand_ has joined #ruby
<popl> Indians
<chord> popl enable private chat
<popl> No. I don't like talking to you.
<popl> :P
IrishGringo has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]]
<chord> WTF
<popl> chord: You smell like a troll.
<chord> popl why you so suspicious
Coolhand__ has joined #ruby
<moshee> don't even try it popl
<moshee> spend any amount of time in here or #ruby and you'll come to know the guy
<moshee> he's always like that
Coolhand has quit [Ping timeout: 248 seconds]
<chord> moshee is just mad because I proved him wrong in the past
<moshee> strange, I thought I was in #go-nuts
<moshee> well, I meant here and #go-nuts
<popl> there are puns to be had there
burgestrand has quit [Quit: Leaving.]
<popl> #go-nads
haylon has joined #ruby
<popl> #haskell is tired of the gonad joke
<moshee> I'm pretty sure the go language authors had all of the puns in mind already
<chord> haskell is going to die
<chord> haskell will fade away
<chord> its not the functional language of the future
Coolhand_ has quit [Ping timeout: 248 seconds]
gordon1775 has quit [Read error: Connection reset by peer]
<haylon> I am trying to perform array function, and I'm not sure whether I'm doing this correctly. I want to fill an array, go through the indexes and look for a certain element, being LJ or BJ. Then i want to return the element, then return the index of the element. https://gist.github.com/4350856
wargasm1 has joined #ruby
jxriddle has joined #ruby
<swarley> array.each_with_index do |object,index|
io_syl has joined #ruby
a_a_g has quit [Quit: Leaving.]
wargasm has quit [Ping timeout: 260 seconds]
<haylon> swarley: that will return both? or will it just go through each index and display the element?
<swarley> you want the element and the index?
<swarley> uh, you can do var = [] outside of the block and then add in arrays
uris has quit [Quit: Leaving]
williamherry has quit [Ping timeout: 260 seconds]
nick_h has quit [Ping timeout: 265 seconds]
<haylon> ok, i'll think on it
<haylon> thank you
tommyvyo has joined #ruby
nick_h has joined #ruby
stevechiagozie has joined #ruby
rondale_sc has joined #ruby
jekotia has quit [Quit: ChatZilla 0.9.89-rdmsoft [XULRunner 1.9.0.17/2009122204]]
ananthakumaran1 has quit [Ping timeout: 255 seconds]
zommi has quit [Quit: Leaving.]
browndawg has quit [Ping timeout: 245 seconds]
fir_ed has quit [Ping timeout: 248 seconds]
Coolhand has joined #ruby
ukd1 has joined #ruby
aharris6 has joined #ruby
fir_ed has joined #ruby
Coolhand__ has quit [Ping timeout: 250 seconds]
dmerrick has joined #ruby
turtlehat has quit [Quit: quitquit]
cakehero has quit [Quit: Computer has gone to sleep.]
woolite64 has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
rondale_sc has quit [Ping timeout: 252 seconds]
twoism has quit [Remote host closed the connection]
williamherry has joined #ruby
twoism has joined #ruby
iamjarvo has quit [Quit: Leaving.]
ner0x has quit [Quit: Leaving]
twoism has quit [Ping timeout: 244 seconds]
ukd1_ has joined #ruby
Gooder has quit [Remote host closed the connection]
Coolhand_ has joined #ruby
dougireton has quit [Quit: Leaving.]
wargasm has joined #ruby
wargasm1 has quit [Ping timeout: 255 seconds]
dougireton has joined #ruby
chussenot has joined #ruby
fir_ed has quit [Ping timeout: 248 seconds]
dougireton has quit [Client Quit]
Coolhand has quit [Ping timeout: 248 seconds]
ananthakumaran has joined #ruby
LazyNoop has joined #ruby
flip_digits has quit [Read error: Connection reset by peer]
sandGorgon has quit [Read error: Connection reset by peer]
sandGorgon1 has quit [Read error: Connection reset by peer]
emergion has quit [Quit: Computer has gone to sleep.]
Shadow_S has joined #ruby
zeade has joined #ruby
ukd1_ has quit [Quit: Lost terminal]
haylon has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby
chussenot has quit [Client Quit]
jblack has quit [Read error: Operation timed out]
nomenkun has joined #ruby
sn0wb1rd has quit [Quit: I will be right back]
ryanlecompte has joined #ruby
nomenkun has quit [Remote host closed the connection]
ukd1 has quit [Quit: leaving]
nomenkun has joined #ruby
nomenkun has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
sn0wb1rd has joined #ruby
rakl has joined #ruby
sjuxax has joined #ruby
<sjuxax> Hello. I have a file whose MD5 I am trying to compare in the script before it is written. I am using Digest::MD5.hexdigest() to calculate the hash. This returns a different hash than md5sum on my machine. After I write the file and load it into irb, I get the same MD5 as md5sum. Does file.write() modify the data stream, and if so, how can I prevent this?
<sjuxax> I have tried to work around this by writing the file in /dev/shm, reading the contents out, and then reading that, but these still give me the bad MD5
<Hanmac1> sjuxax show me your code, do you use File.read?
Hanmac1 is now known as Hanmac
<Hanmac> sjuxax use File.read(path,:mode => "rb")
<sjuxax> Yes. pasting now...
Juul has quit [Ping timeout: 248 seconds]
<sjuxax> Hanmac: ^
jxriddle has quit [Quit: jxriddle]
<Hanmac> sjuxax try open(url,"rb")
jblack has joined #ruby
elico has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 265 seconds]
elico has joined #ruby
NimeshNeema_ has quit []
burgestrand has joined #ruby
<sjuxax> Hanmac: no change.
<sjuxax> if that was the issue, why wouldn't writing/reading from shm solve it?
twoism has joined #ruby
djdb has joined #ruby
wereHamster has quit [Changing host]
wereHamster has joined #ruby
ryanlecompte has quit [Remote host closed the connection]
aharris6 has quit [Remote host closed the connection]
yacks has joined #ruby
browndawg has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
qwerxy has joined #ruby
yacks has joined #ruby
aharris6 has joined #ruby
qwerxy has quit [Client Quit]
nilg has quit [Read error: Connection reset by peer]
lenovodroid has joined #ruby
stkowski has quit [Quit: stkowski]
nilg has joined #ruby
apeiros_ has quit [Remote host closed the connection]
joekoocc1_ has joined #ruby
samuel02 has joined #ruby
crackfu has quit [Remote host closed the connection]
Juul has joined #ruby
gordon1775 has joined #ruby
x82_nicole has quit [Ping timeout: 260 seconds]
jxriddle has joined #ruby
tommyvyo has quit [Quit: Computer has gone to sleep.]
x82_nicole has joined #ruby
elsifaka has joined #ruby
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
tagrudev has joined #ruby
rippa has joined #ruby
Guest25886 has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
twoism has quit [Ping timeout: 256 seconds]
shemerey has joined #ruby
lele has quit [Ping timeout: 246 seconds]
tonini has joined #ruby
aharris6 has quit [Remote host closed the connection]
qwerxy has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
lele has joined #ruby
Asher has quit [Quit: Leaving.]
x82_nicole has quit [Read error: Connection reset by peer]
zeade has quit [Quit: Leaving.]
aganov has joined #ruby
nomenkun has joined #ruby
browndawg has quit [Quit: Leaving.]
atal421 has quit [Quit: atal421]
Morkel has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
Elhu has joined #ruby
x82_nicole has joined #ruby
tPl0ch has joined #ruby
eldariof has joined #ruby
cyong has quit [Quit: Leaving.]
lenovodroid has quit [Read error: Connection reset by peer]
lenovodroid has joined #ruby
maesbn has joined #ruby
charliesome has joined #ruby
joekoocc1_ has quit [Quit: Ex-Chat]
axl_ has joined #ruby
elsifaka has quit [Quit: Veloma e!]
weasels has joined #ruby
unsymbol has left #ruby [#ruby]
otters has quit [Ping timeout: 252 seconds]
weasels is now known as otters
clocKwize has joined #ruby
stevechiagozie has quit [Ping timeout: 265 seconds]
nerd has joined #ruby
ryanlecompte has joined #ruby
matip_ has joined #ruby
Shadow_S has quit [Quit: Computer has gone to sleep.]
Juul has quit [Ping timeout: 260 seconds]
aharris6 has joined #ruby
axl_ has quit [Quit: axl_]
matip__ has quit [Ping timeout: 260 seconds]
twoism has joined #ruby
sayan has quit [Read error: Connection reset by peer]
browndawg has joined #ruby
ryanlecompte has quit [Ping timeout: 250 seconds]
dr_bob has joined #ruby
sqbell has joined #ruby
Nisstyre-laptop has joined #ruby
gregorg has quit [Quit: Quitte]
<shevy> hmm someone here was using minitest
<shevy> and it looked quite nice. now I want to try it with a small game written in ruby
<shevy> waste of effort and time to try so?
yxhuvud2 has joined #ruby
yxhuvud has quit [Ping timeout: 276 seconds]
dmerrick has quit [Quit: dmerrick]
SwooshyCueb has quit [Ping timeout: 264 seconds]
pencilcheck has quit [Remote host closed the connection]
bluOxigen has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
sandGorgon has joined #ruby
elico has quit [Quit: Elico]
rippa has quit [Ping timeout: 256 seconds]
qwerxy has quit [Quit: offski]
sandGorgon1 has joined #ruby
shemerey has quit [Quit: Linkinus - http://linkinus.com]
Mon_Ouie has joined #ruby
_cheney has quit [Quit: Nettalk6 - www.ntalk.de]
rismoney has quit []
slainer68 has joined #ruby
pavilionXP has joined #ruby
regedarek has quit [Ping timeout: 264 seconds]
raz has quit [Ping timeout: 264 seconds]
love_color_text has quit [Remote host closed the connection]
mybrainis404 has quit [Ping timeout: 265 seconds]
raz has joined #ruby
brendan_ has joined #ruby
apeiros_ has joined #ruby
brendan_ has quit [Read error: Operation timed out]
matrixise has quit [Ping timeout: 265 seconds]
pavilionXP has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
pavilionXP has joined #ruby
k610 has joined #ruby
lenovodroid has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
elsifaka has joined #ruby
nari_ has quit [Ping timeout: 250 seconds]
chord has quit [Quit: Page closed]
raz has quit [Changing host]
raz has joined #ruby
x82_nicole has quit [Ping timeout: 260 seconds]
wreckimnaked has joined #ruby
love_color_text has joined #ruby
axl_ has joined #ruby
aharris6 has quit [Remote host closed the connection]
x82_nicole has joined #ruby
m3pow has joined #ruby
g_bleezy has joined #ruby
sayan has joined #ruby
Takehiro has joined #ruby
regedarek has joined #ruby
clooth has joined #ruby
malte_ has joined #ruby
tvw has joined #ruby
elliomax has joined #ruby
a_a_g has joined #ruby
<witchdoc> hi all
g_bleezy has quit [Ping timeout: 255 seconds]
mpfundstein has joined #ruby
pavilionXP has quit [Ping timeout: 264 seconds]
elliomax has quit [Ping timeout: 252 seconds]
williamherry has quit [Ping timeout: 265 seconds]
gregorg has joined #ruby
axl_ has quit [Quit: axl_]
bluehavana_ has quit [*.net *.split]
wargasm has quit [*.net *.split]
nick_h has quit [*.net *.split]
shiroginne_ has quit [*.net *.split]
Bish has quit [*.net *.split]
dkannan_ has quit [*.net *.split]
sonne has quit [*.net *.split]
Weazy has quit [*.net *.split]
wf2f has quit [*.net *.split]
ingvarha has quit [*.net *.split]
mockra has quit [*.net *.split]
blazes816 has quit [*.net *.split]
fflush has quit [*.net *.split]
nuba_ has quit [*.net *.split]
nmeum has quit [*.net *.split]
ozzloy has quit [*.net *.split]
CamonZ has quit [*.net *.split]
lobak_ has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
xargoon has quit [*.net *.split]
patronus1 has quit [*.net *.split]
wchun has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
croz has quit [*.net *.split]
mage_ has quit [*.net *.split]
jesse has quit [*.net *.split]
diegok has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
new299 has quit [*.net *.split]
preller has quit [*.net *.split]
Guest84141 has quit [*.net *.split]
estan has quit [*.net *.split]
Kovensky has quit [*.net *.split]
Niamkik has quit [*.net *.split]
Derander has quit [*.net *.split]
zigidias has quit [*.net *.split]
sayan has quit [Read error: Connection reset by peer]
pen has joined #ruby
nuba has joined #ruby
darthdeus has joined #ruby
wargasm has joined #ruby
ingvarha has joined #ruby
Guest84141 has joined #ruby
shiroginne_ has joined #ruby
nmeum has joined #ruby
mage_ has joined #ruby
wchun has joined #ruby
croz has joined #ruby
blazes816 has joined #ruby
wf2f has joined #ruby
fflush has joined #ruby
Weazy has joined #ruby
patronus1 has joined #ruby
bluehavana_ has joined #ruby
xargoon has joined #ruby
Bish has joined #ruby
lobak_ has joined #ruby
Skelz0r has joined #ruby
dkannan_ has joined #ruby
ozzloy has joined #ruby
mockra has joined #ruby
tommylommykins has joined #ruby
diegok has joined #ruby
CamonZ has joined #ruby
sonne has joined #ruby
nick_h has joined #ruby
jesse has joined #ruby
new299 has joined #ruby
jmeeuwen has joined #ruby
Kovensky has joined #ruby
Derander has joined #ruby
preller has joined #ruby
Niamkik has joined #ruby
estan has joined #ruby
zigidias has joined #ruby
[Neurotic] has quit [Excess Flood]
jamesaxl_ has quit [Excess Flood]
aef has quit [Excess Flood]
aef has joined #ruby
jblack has quit [Read error: Operation timed out]
[Neurotic] has joined #ruby
jamesaxl has joined #ruby
jgrevich has quit [Quit: jgrevich]
jblack has joined #ruby
rellin has quit [Ping timeout: 255 seconds]
marr has joined #ruby
koshii has joined #ruby
williamherry has joined #ruby
timonv has quit [Remote host closed the connection]
passbe has quit [Ping timeout: 264 seconds]
sqbell has quit [Ping timeout: 260 seconds]
piotr_ has joined #ruby
sayan has joined #ruby
brad_smith_inc has joined #ruby
pen has quit [Remote host closed the connection]
Elhu has joined #ruby
Guest25886 has quit [Quit: Guest25886]
lolcathost has quit [Ping timeout: 255 seconds]
Siphonblast has joined #ruby
zigomir has joined #ruby
twoism has quit [Remote host closed the connection]
hoelzro|away is now known as hoelzro
twoism has joined #ruby
solidresolve has joined #ruby
jimeh has joined #ruby
solidresolve has quit [Client Quit]
solidresolve has joined #ruby
ephemerian has joined #ruby
jblack_ has joined #ruby
jblack has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby
twoism has quit [Ping timeout: 244 seconds]
Jackneill has joined #ruby
gordon1775 has quit [Read error: Connection reset by peer]
gordon1775 has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
lolcathost has joined #ruby
nomenkun has joined #ruby
vlad_starkov has joined #ruby
bapa has quit [Quit: No Ping reply in 180 seconds.]
solidresolve has quit [Quit: Leaving]
bapa has joined #ruby
solidresolve has joined #ruby
jblack_ has quit [Ping timeout: 244 seconds]
jblack has joined #ruby
solidresolve has quit [Client Quit]
solidresolve has joined #ruby
lolcathost has quit [Ping timeout: 260 seconds]
lolcathost has joined #ruby
qwerxy has joined #ruby
sayan has quit [Read error: Connection reset by peer]
danneu has joined #ruby
luckyruby has quit [Remote host closed the connection]
blacktulip has joined #ruby
wolflee has joined #ruby
Virunga has joined #ruby
sqbell has joined #ruby
squidBits has quit [Quit: squidBits]
BeLucid has joined #ruby
bapa has quit [Ping timeout: 246 seconds]
slainer68 has quit [Remote host closed the connection]
sepp2k has joined #ruby
kentaru has joined #ruby
bapa has joined #ruby
brad_smith_inc has quit [Quit: brad_smith_inc]
Vainoharhainen has joined #ruby
Jackneill has quit [Remote host closed the connection]
berserkr has joined #ruby
rdark has joined #ruby
koshii has quit [Quit: leaving]
_64k has joined #ruby
Jackneill has joined #ruby
Jackneill has quit [Changing host]
Jackneill has joined #ruby
elaptics`away is now known as elaptics
cdt has joined #ruby
woolite64 has quit []
sayan has joined #ruby
kentaru_ has joined #ruby
elico has joined #ruby
wolflee has quit [Quit: wolflee]
bapa has quit [Read error: Connection reset by peer]
elico has quit [Remote host closed the connection]
bapa has joined #ruby
kentaru_ has left #ruby [#ruby]
taoru has quit [Ping timeout: 265 seconds]
wreckimnaked has quit [Read error: Operation timed out]
atmosx has joined #ruby
<atmosx> hello
<atmosx> is there a fast way to define Time.now.utc + 2?
slainer68 has joined #ruby
bluOxigen has quit []
bluehavana has quit [Remote host closed the connection]
TheDeadSerious has quit [Remote host closed the connection]
tommyvyo[cloud] has quit [Remote host closed the connection]
octarine has quit [Remote host closed the connection]
dkannan has quit [Remote host closed the connection]
fcoury has quit [Remote host closed the connection]
spanx__ has quit [Remote host closed the connection]
xerxas has quit [Remote host closed the connection]
lectrick__ has quit [Remote host closed the connection]
yeban has quit [Remote host closed the connection]
percival_ has quit [Remote host closed the connection]
pkondzior_ has quit [Remote host closed the connection]
dekz_ has quit [Remote host closed the connection]
davidboy has quit [Remote host closed the connection]
pvh__ has quit [Remote host closed the connection]
Spaceghost|cloud has quit [Remote host closed the connection]
shiroginne has quit [Write error: Broken pipe]
lucaspiller__ has quit [Write error: Broken pipe]
NimeshNeema has quit [Write error: Broken pipe]
kapowaz has quit [Write error: Broken pipe]
patricksroberts has quit [Write error: Broken pipe]
thejefflarson has quit [Write error: Broken pipe]
jhowarth_ has quit [Write error: Broken pipe]
kaichanvong__ has quit [Write error: Broken pipe]
Phoop has joined #ruby
<atmosx> I've found tzinfo gem
<atmosx> nice!
<Muz> t = Time.now; t.localtime("+02:00")
qwerxy has quit [Quit: Computer has gone to sleep.]
dkannan_ has quit [Remote host closed the connection]
thejefflarson_ has quit [Remote host closed the connection]
lucaspiller___ has quit [Remote host closed the connection]
dekz__ has quit [Remote host closed the connection]
percival__ has quit [Remote host closed the connection]
davidboy___ has quit [Remote host closed the connection]
TheDeadSerious_ has quit [Remote host closed the connection]
xerxas_ has quit [Remote host closed the connection]
yeban_ has quit [Remote host closed the connection]
shiroginne_ has quit [Read error: Connection reset by peer]
bluehavana_ has quit [Read error: Connection reset by peer]
patricksroberts_ has quit [Remote host closed the connection]
kapowaz_ has quit [Remote host closed the connection]
tommyvyo[cloud]_ has quit [Remote host closed the connection]
lectrick____ has quit [Remote host closed the connection]
fcoury_ has quit [Remote host closed the connection]
rcsheets has quit [Remote host closed the connection]
kaichanvong___ has quit [Remote host closed the connection]
octarine_ has quit [Remote host closed the connection]
spanx___ has quit [Remote host closed the connection]
jhowarth__ has quit [Write error: Broken pipe]
pvh___ has quit [Write error: Broken pipe]
pkondzior__ has quit [Write error: Broken pipe]
rakuN has joined #ruby
lenovodroid has joined #ruby
tk__ has joined #ruby
matrixise has joined #ruby
williamherry has quit [Quit: WeeChat 0.3.7]
francisfish has joined #ruby
ebouchut has joined #ruby
yshh has quit [Read error: Connection reset by peer]
yshh has joined #ruby
bluOxigen has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
fgro has joined #ruby
percival__ has joined #ruby
jamesaxl has quit [Read error: Operation timed out]
Xeago has joined #ruby
Proshot has joined #ruby
dkannan_ has joined #ruby
kapowaz_ has joined #ruby
pvh___ has joined #ruby
brendan_ has joined #ruby
qwerxy has joined #ruby
pkondzior__ has joined #ruby
dekz__ has joined #ruby
spanx___ has joined #ruby
fgro has quit [Ping timeout: 265 seconds]
lucaspiller___ has joined #ruby
TheDeadSerious_ has joined #ruby
gyre007 has joined #ruby
gordon1775 has quit [Ping timeout: 255 seconds]
fcoury_ has joined #ruby
kaichanvong___ has joined #ruby
bluehavana_ has joined #ruby
brendan_ has quit [Ping timeout: 264 seconds]
rcsheets has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
patricksroberts_ has joined #ruby
octarine_ has joined #ruby
davidboy___ has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ebouchut has joined #ruby
brianpWins has quit [Quit: brianpWins]
horofox has joined #ruby
xerxas_ has joined #ruby
lectrick____ has joined #ruby
fgro has joined #ruby
thejefflarson_ has joined #ruby
sepuku has quit [Quit: leaving]
tommyvyo[cloud]_ has joined #ruby
Spaceghost|cloud has joined #ruby
beiter has joined #ruby
daniel_hinojosa has quit [Quit: Leaving.]
thone_ has joined #ruby
thone has quit [Read error: Operation timed out]
jhowarth__ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
kentaru has quit [Quit: Page closed]
shemerey has joined #ruby
yeban_ has joined #ruby
<atmosx> i did ittt
tommyvyo has joined #ruby
<atmosx> hypiyaaaa
cristian1 has joined #ruby
timonv has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
lenovodroid has joined #ruby
ltsstar has joined #ruby
aapzak has quit [Ping timeout: 245 seconds]
lenodroid has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
hotovson has joined #ruby
aapzak has joined #ruby
kjetilho has joined #ruby
shiroginne_ has joined #ruby
arturaz has joined #ruby
<kjetilho> hey! how can I make a sequence like (1..3, 10..15) iterable with a minimum of fuss?
<kjetilho> [1..3, 10..15].flatten doesn't flatten anything
ttt has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 260 seconds]
popl has quit [Quit: Goodbye.]
browndawg has joined #ruby
<kjetilho> iterating over the elements with .entries doesn't work, since Fixnum doesn't know .entries
<kjetilho> (I want to support 1, (1..3) and [1..3, 10..15] equally)
ikaros has joined #ruby
wallerdev has quit [Quit: wallerdev]
<elaptics> kjetilho: you'd probably have to do something like [(1..3).to_a, (10..15).to_a].flatten
<elaptics> kjetilho: ranges don't get converted to arrays automatically
aapzak has quit [Ping timeout: 260 seconds]
<kjetilho> ok, thanks. I'll live with a little ugliness :)
<hoelzro> [(1..3), (10..15)].map(&:to_a).flatten
vlad_starkov has joined #ruby
aapzak has joined #ruby
<kjetilho> hoelzro: ok, but it doesn't work for val = 1
jblack_ has joined #ruby
<kjetilho> NoMethodError: undefined method `map' for 1:Fixnum
alexspeller has joined #ruby
<kjetilho> and not for [1] either
<hoelzro> kjetilho: I thought your value as [(1..3), (10..15)]?
koshii has joined #ruby
<kjetilho> hoelzro: no; I want the code to handle both ranges, fixnum and array of ranges
greenarrow has joined #ruby
<hoelzro> oh, I see
<kjetilho> usually I've used to idiom foo.to_a or [foo].flatten
koshii has quit [Client Quit]
jblack has quit [Ping timeout: 244 seconds]
<kjetilho> so I hoped there was a flatten which also looked at ranges
koshii has joined #ruby
lkba has joined #ruby
<elaptics> kjetilho: you can coerce everything into an array by wrapping it with Array()
<elaptics> kjetilho: e.g. Array(1), Array([2,3]), Array(1..5)
ebouchut has quit [Quit: This computer has gone to sleep]
razibog1 has joined #ruby
alexspeller has quit [Ping timeout: 252 seconds]
<kjetilho> elaptics: ah, nice. that works with 1, too
<elaptics> kjetilho: yep
alexspeller has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
wreckimnaked has joined #ruby
Averna has joined #ruby
nouh_ has quit [Remote host closed the connection]
snuglepuss has joined #ruby
tonini has quit [Remote host closed the connection]
sonne has quit [Quit: ZNC - http://znc.in]
dawaan_n has joined #ruby
sonne has joined #ruby
dawaan_n has quit [Client Quit]
dawaan_n has joined #ruby
dawaan_n has quit [Client Quit]
lolcathost has quit [Quit: leaving]
grzywacz has joined #ruby
sayan has quit [Ping timeout: 248 seconds]
<snuglepuss> Seems that I can improve the playerMove and humanTurn functions in my code. Can anyone give me some advice? https://gist.github.com/4352111
gordon1775 has joined #ruby
sqbell has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
Mon_Ouie has joined #ruby
qwerxy has quit [Quit: Computer has gone to sleep.]
lenodroid has quit [Read error: Connection reset by peer]
nimred_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
gordon1775 has quit [Ping timeout: 244 seconds]
lenodroid has joined #ruby
includex has joined #ruby
cousine has joined #ruby
clooth has quit [Quit: clooth]
neurotech has quit [Remote host closed the connection]
nimred has joined #ruby
nimred has quit [Changing host]
nimred has joined #ruby
lenodroid has quit [Read error: Connection reset by peer]
regedarek has quit [Read error: Operation timed out]
browndawg has quit [Quit: Leaving.]
shtirlic_ has joined #ruby
clooth has joined #ruby
ebouchut has joined #ruby
regedarek has joined #ruby
verto|off is now known as verto
horofox has quit [Quit: horofox]
koshii has quit [Quit: leaving]
emergion has joined #ruby
lenodroid has joined #ruby
lenodroid has quit [Read error: Connection reset by peer]
larissa has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mockra has quit [Remote host closed the connection]
Phoop has quit [Quit: Phoop]
Slivka has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
sayan has joined #ruby
piotr__ has joined #ruby
piotr_ has quit [Ping timeout: 248 seconds]
binaryplease has joined #ruby
emergion has joined #ruby
cloud|nix has joined #ruby
lolcathost has joined #ruby
nouh has joined #ruby
nemesit has joined #ruby
beiter has quit [Ping timeout: 260 seconds]
LazyNoop has left #ruby [#ruby]
cloud|nix has quit [Client Quit]
nouh has quit [Ping timeout: 255 seconds]
wreckimnaked has quit [Read error: Operation timed out]
nateberkopec has joined #ruby
alexspeller has quit [Ping timeout: 252 seconds]
alexspeller has joined #ruby
nateberkopec has quit [Client Quit]
main has joined #ruby
Xeago has quit [Remote host closed the connection]
browndawg has joined #ruby
Xeago has joined #ruby
Drager has quit [Changing host]
Drager has joined #ruby
piotr__ has quit [Ping timeout: 252 seconds]
Mon_Ouie has quit [Ping timeout: 248 seconds]
lolcathost has quit [Quit: leaving]
niklasb has joined #ruby
eka has joined #ruby
lenodroid has joined #ruby
shtirlic_ has quit [Remote host closed the connection]
Takehiro has quit [Remote host closed the connection]
sandGorgon has quit [Ping timeout: 248 seconds]
main has quit [Remote host closed the connection]
sandGorgon1 has quit [Ping timeout: 265 seconds]
kn330 has joined #ruby
pen has joined #ruby
wermel has joined #ruby
brendan_ has joined #ruby
banisterfiend has joined #ruby
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
cousine has quit [Remote host closed the connection]
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
brendan_ has quit [Ping timeout: 264 seconds]
twoism has joined #ruby
aapzak has quit [Read error: Operation timed out]
emergion has quit [Quit: Computer has gone to sleep.]
aapzak has joined #ruby
twoism has quit [Ping timeout: 252 seconds]
pen has quit [Read error: Connection reset by peer]
Nisstyre-laptop has quit [Ping timeout: 248 seconds]
alexspeller has quit [Remote host closed the connection]
pen has joined #ruby
Yarou has quit [Ping timeout: 244 seconds]
kn330 has quit [Ping timeout: 246 seconds]
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
a_a_g has quit [Read error: Connection reset by peer]
yeban_ is now known as yeban
kn330 has joined #ruby
lolcathost has joined #ruby
pen has quit [Read error: Connection reset by peer]
a_a_g has joined #ruby
pen has joined #ruby
beiter has joined #ruby
slainer68 has quit [Remote host closed the connection]
mockra has joined #ruby
shemerey has quit [Remote host closed the connection]
shemerey has joined #ruby
zlude has joined #ruby
pcarrier has joined #ruby
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
mockra has quit [Ping timeout: 246 seconds]
<zlude> hello! someone can help me how to convert it to ruby? http://pastebin.com/rMbmrLv2
banisterfiend has quit [Remote host closed the connection]
<mpfundstein> zlude: its actually just comparing $argv[1] to "keytrue"
[Neurotic] has quit [Remote host closed the connection]
<mpfundstein> zlude: not entirely true sorry
<mpfundstein> zlude: the for loop, decrements each char by one. so t becomes s etc..
<apeiros_> zlude: we gladly help, but we don't do it for you. so I suggest you start trying yourself and show us your effort.
zlude has quit [Read error: No route to host]
<mpfundstein> zlude: its also not valid C code. the printf %s will not compile
<mpfundstein> zlude: starting point: aString.each_byte { |c| # do something with c }
rapper has joined #ruby
lenodroid has quit [Read error: Connection reset by peer]
rapper has quit [Client Quit]
<mpfundstein> suglepuss: i would move all the commands between the big if statements into a more compact function. for example p "You cant go back"; return playerMove is duplicated a lot.
alexspeller has joined #ruby
browndawg has quit [Ping timeout: 255 seconds]
pencilcheck has joined #ruby
Bedry has joined #ruby
Bedry has left #ruby [#ruby]
rapper has joined #ruby
yacks has quit [Quit: Leaving]
yacks has joined #ruby
pen has quit [Ping timeout: 260 seconds]
<rapper> hello ..how are u doing people\
sayan has quit [Ping timeout: 248 seconds]
<mpfundstein> good, and you?
<rapper> well.
sayan has joined #ruby
kjetilho has left #ruby [#ruby]
gmci has joined #ruby
gmci is now known as Guest94028
<mpfundstein> also waiting for the end?
yshh has quit [Read error: No route to host]
<rapper> :))))))) there is no end
yshh has joined #ruby
pencilcheck has quit [Remote host closed the connection]
rakuN has quit [Remote host closed the connection]
banisterfiend has joined #ruby
caveat- has quit [Ping timeout: 265 seconds]
eldariof has quit [Ping timeout: 255 seconds]
rapper has left #ruby [#ruby]
Goles has joined #ruby
jessta has joined #ruby
browndawg has joined #ruby
binarypl1 has joined #ruby
sqbell has joined #ruby
jblack_ has quit [Ping timeout: 245 seconds]
emocakes has joined #ruby
Jasko has quit [Ping timeout: 250 seconds]
<emocakes> morning everyone
<emocakes> turns out the world hasnt ended
sayan has quit [Read error: Connection reset by peer]
<emocakes> in ruby, is it possible to create a variable based on the value of a string?
<emocakes> say i have a string "satan"
<emocakes> could I make a variable called @satan?
binaryplease has quit [Ping timeout: 265 seconds]
<banisterfiend> emocakes: you can
<emocakes> how would I go about doing this?
<banisterfiend> emocakes: instance_variable_set("@{var}", "value you want")
<emocakes> ahh :)
<banisterfiend> no
<banisterfiend> emocakes: instance_variable_set("@#{var}", "value you want")
<Xeago> instance_variable_set uses isntance exec right?
<emocakes> awesome, thanksyou banisterfiend
<emocakes> :)
<banisterfiend> Xeago: no
<Xeago> does it do c stuff?
timonv has quit [Remote host closed the connection]
<banisterfiend> Xeago: it's a ruby core function, of course it does :)
<banisterfiend> Xeago: all of ruby core (at least on MRI) is C afaik
timonv has joined #ruby
caveat- has joined #ruby
leon19790 has joined #ruby
<leon19790> hi
beiter has quit [Quit: beiter]
ananthakumaran has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
Jasko has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sayan has joined #ruby
pcarrier has quit []
hipstar has joined #ruby
<hipstar> seasons greetings
wreckimnaked has joined #ruby
banisterfiend has joined #ruby
shemerey has quit [Quit: Leaving...]
crackfu has joined #ruby
brendan_ has joined #ruby
lenodroid has joined #ruby
Divinite has joined #ruby
maesbn has quit [Remote host closed the connection]
pcarrier has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
Slivka has quit [Remote host closed the connection]
maesbn has joined #ruby
adkron has quit [Ping timeout: 245 seconds]
mockra has joined #ruby
sailias has joined #ruby
Slivka has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
leon19790 has left #ruby [#ruby]
x0F_ is now known as x0F
lenodroid has quit [Read error: Connection reset by peer]
yshh has quit [Remote host closed the connection]
mark_locklear has joined #ruby
S0da has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
Slivka has quit [Remote host closed the connection]
lenodroid has joined #ruby
willob has joined #ruby
blaxter has joined #ruby
geekbri has joined #ruby
mikecmpbll has joined #ruby
tagrudev has quit [Remote host closed the connection]
deadalus has quit [Ping timeout: 272 seconds]
cakehero has joined #ruby
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pcarrier has quit []
samphippen has joined #ruby
Dario_ has joined #ruby
qwerxy has joined #ruby
deadalus has joined #ruby
p2w has joined #ruby
berserkr has quit [Quit: Leaving.]
Elhu has joined #ruby
S0da has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
lenodroid has quit [Read error: Connection reset by peer]
xAndy is now known as xandy
Vert has quit [Remote host closed the connection]
Divinite has quit [Remote host closed the connection]
Divinite has joined #ruby
breakingthings has joined #ruby
Dario_ has quit [Ping timeout: 246 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
jamesaxl has joined #ruby
shemerey has joined #ruby
jtharris has joined #ruby
acrocity has quit [Read error: Connection reset by peer]
lenodroid has joined #ruby
tommyvyo_ has joined #ruby
pen has joined #ruby
Takehiro has joined #ruby
G________ has joined #ruby
acrocity has joined #ruby
NiteRain has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
Takehiro_ has joined #ruby
lenodroid has quit [Read error: Connection reset by peer]
sayan has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
sayan has joined #ruby
Vert has joined #ruby
krawchyk has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
aganov has quit [Remote host closed the connection]
deadalus has quit [Changing host]
deadalus has joined #ruby
mikecmpbll has quit [Quit: Computer has gone to sleep.]
pcarrier has joined #ruby
PERIKA has joined #ruby
kn330 has quit [Ping timeout: 256 seconds]
alexspeller has quit [Remote host closed the connection]
cascalheira has joined #ruby
PERIKA has left #ruby [#ruby]
alexspeller has joined #ruby
PERIKA has joined #ruby
rondale_sc has joined #ruby
_bart has joined #ruby
moshee has quit [Ping timeout: 252 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
pen has quit [Remote host closed the connection]
a_a_g has quit [Quit: Leaving.]
alexspeller has quit [Ping timeout: 252 seconds]
lkba has quit [Ping timeout: 264 seconds]
timonv has quit [Read error: Connection reset by peer]
pcarrier has quit []
timonv has joined #ruby
kn330 has joined #ruby
mikecmpbll has joined #ruby
clooth has quit [Quit: clooth]
jeffreybaird has joined #ruby
cascalheira has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
alexspeller has joined #ruby
<_bart> Is it possible to decrypt javascript using a ruby gem?
<_bart> Like this website does: http://jsbeautifier.org/
jamesaxl has quit [Remote host closed the connection]
snuglepuss has quit [Quit: Page closed]
Ch4rAss has joined #ruby
hotovson has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 252 seconds]
pen has joined #ruby
goraxe has quit [Ping timeout: 265 seconds]
Ch4rAss has left #ruby [#ruby]
cakehero has joined #ruby
<emocakes> ok another question
qwerxy has quit [Quit: Computer has gone to sleep.]
Takehiro_ has quit [Remote host closed the connection]
Banistergalaxy has quit [Read error: Connection reset by peer]
<emocakes> say im iterating over an array
bwlang has joined #ruby
msch has joined #ruby
<shevy> you naughty boy
<emocakes> in the block i would to change the variable i pass in to the block without changing the global var
<emocakes> :$
gordon1775 has joined #ruby
<emocakes> something like with php
<shevy> well global vars always have a $
GoGoGarrett has joined #ruby
<shevy> and variables in a block usually never have a $
<hoelzro> in fact, in 1.9 they may not.
<emocakes> ok, how about a COnstant
<emocakes> let me show you a example
<shevy> you should not reassign constants :D
<shevy> though it is kind of silly that you can in ruby... so perhaps you should
jrajav has joined #ruby
<emocakes> i dont want to reassign a constant
<emocakes> i want to iterate over the values in an array
<emocakes> and do something with the name
<hoelzro> emocakes: so far your example looks fine
<emocakes> ok
<emocakes> because at the end of it
<emocakes> its changed
<hoelzro> it should be
mockra has joined #ruby
<emocakes> i dont want to change it
* hoelzro thought that's what he was doing
<emocakes> i understand the ! changed the variable
sqbell has quit [Read error: Connection reset by peer]
<hoelzro> no, it changes the object
ffranz has joined #ruby
<shevy> the .freeze seems useless
<hoelzro> methods don't operate on variables
<shevy> and you can use .downcase!
<hoelzro> they operate on objects
<hoelzro> if you don't want to change the original, don't
<emocakes> but the object statistic is not local to the block?
<hoelzro> do statistic = statistic.downcase
<shevy> statistic is the array that you used
<hoelzro> statistic isn't an object
<emocakes> statistic is a value in the array?
<hoelzro> it's a variable pointing to an object
<shevy> statistic is one element
ffranz has quit [Remote host closed the connection]
<hoelzro> which is one of the same objects that are in the array
<emocakes> but its a pointer and not a new string?
<hoelzro> it's a reference
<hoelzro> variables in Ruby are references
<hoelzro> consider this:
<emocakes> ok, is there a way to stop it being a reference? within the block?
<hoelzro> no
<hoelzro> create a new object
<hoelzro> statistic = statistic.downbase
<hoelzro> *downcase
<shevy> hehe downbase
maesbn has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
mockra has quit [Ping timeout: 246 seconds]
ananthakumaran1 has joined #ruby
<emocakes> sorry im pretty nooby in ruby :(
Divinite is now known as Divinite-ShouldB
sailias has joined #ruby
<emocakes> upgrading my old screenscraper
banisterfiend has quit [Ping timeout: 252 seconds]
joofsh has joined #ruby
Divinite-ShouldB is now known as Divinite-needsle
ananthakumaran has quit [Ping timeout: 252 seconds]
Divinite-needsle is now known as Divinite-needbed
banisterfiend has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<hoelzro> emocakes: that looks fine; your regex on line 3 is interesting...
<hoelzro> what are you trying to parse with that?
<emocakes> :p
<emocakes> it parses fine
<hoelzro> I would probably not use '.' on either side of '\/
philcrissman has joined #ruby
<hoelzro> I mean, it works
<hoelzro> but I would probably use \s* instead
cakehero has quit [Quit: Computer has gone to sleep.]
fgro has quit [Ping timeout: 245 seconds]
<emocakes> and how would i do the rest to avoid the array being modified
<hoelzro> emocakes: does that code modify the array?
<emocakes> RuntimeError: can't modify frozen Object
<emocakes> from (irb):342:in `instance_variable_set'
<emocakes> so its happening there
<emocakes> but I dont get it :(
WanderingGlitch has quit [Ping timeout: 264 seconds]
WanderingGlitch has joined #ruby
<hoelzro> emocakes: could you paste all of the code?
cakehero has joined #ruby
Divinite-needbed has left #ruby [#ruby]
mjolk has joined #ruby
Guest94028 has quit [Ping timeout: 252 seconds]
mjolk is now known as Guest74591
sayan_ has joined #ruby
sayan has quit [Read error: Connection reset by peer]
gmci has joined #ruby
gmci has quit [Client Quit]
sayan_ is now known as sayan
sayan has quit [Changing host]
sayan has joined #ruby
clooth has joined #ruby
ananthakumaran1 has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
nateberkopec has joined #ruby
sayan has quit [Read error: Connection reset by peer]
<emocakes> i feel so stupid with ruby at the moment
<emocakes> like I have some big training wheels
<apeiros_> training wheels are awesome
<apeiros_> means you can go as fast as you want without getting hurt :=
<apeiros_> :-)
cakehero has quit [Quit: Computer has gone to sleep.]
cascalheira has joined #ruby
ownclo has joined #ruby
ownclo has quit [Client Quit]
gordon1775 has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
pcarrier has joined #ruby
Takehiro has joined #ruby
qwerxy has joined #ruby
timonv has quit [Remote host closed the connection]
Takehiro_ has joined #ruby
Guest48481 has quit [Changing host]
Guest48481 has joined #ruby
stevechiagozie has joined #ruby
Guest48481 is now known as z
beiter has joined #ruby
postmodern has quit [Quit: Leaving]
k610 has quit [Ping timeout: 264 seconds]
cantonic has quit [Quit: cantonic]
includex has quit [Quit: Leaving...]
geekbri has quit [Remote host closed the connection]
geekbri has joined #ruby
includex has joined #ruby
stopbit has joined #ruby
Takehiro has quit [Ping timeout: 260 seconds]
fgro has joined #ruby
<emocakes> i must say it really helps to use a good IDE at the start
<emocakes> its tells you wher eyou are wrong
cantonic has joined #ruby
theRoUS has joined #ruby
crackfu has quit [Remote host closed the connection]
timonv has joined #ruby
adamnbowen has joined #ruby
<jrajav> An IDE with Ruby?
<jrajav> o_O
<oz> like vim?
<jrajav> TIL people actually use and recommend IDEs with Ruby
Armon has joined #ruby
<Armon> Hello, i'm trying to send a POST request from within rails controller. The server will happily accept a json string from PHP script, but refuses to see Ruby data outright. (requests go through, just no data)
gordon1775 has joined #ruby
<Armon> I have tried RestClent, Net::HTTP methods
pcarrier has quit []
<Armon> weirder still, If i relay the same json string via a php script (no processing, parsing etc). then the server can see it
C0deMaver1ck has joined #ruby
<Armon> header/network analysis of requests shows them to be visualy identical
includex has quit [Quit: Leaving...]
elsifaka has quit [Quit: Veloma e!]
maesbn has joined #ruby
<shevy> you may find more rails users on #rubyonrails - I for example don't use rails so could not help
<emocakes> ruby withouts rails? :o
<emocakes> jrajav RubyMine
<emocakes> sublime text is nice as well
<shevy> when I started with ruby, rails did not exist yet :(
<emocakes> once you know what you are doing
<shevy> jrajav there is a bot here, eval-in
<emocakes> but for now, when I am learning, rubymine shall guide me with corect syntax
<jrajav> :O
<banisterfiend> shevy: if you've been using ruby so long how come u're still a noob
dr_bob has quit [Quit: Leaving.]
<banisterfiend> :P :D
<jrajav> >> puts "oi"
<eval-in> jrajav: Output: "oi\n" (http://eval.in/5109)
<Armon> Well, it looks more like ruby problem than rails
_alejandro has joined #ruby
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
apeiros_ has quit [Remote host closed the connection]
<jrajav> What dark magic is this
<Armon> It's as if it always sends an array through, even when given a json string
<jrajav> Who is responsible
moos3 has quit [Quit: Off to blow shit up!]
<shevy> jrajav it's odd right? it even adds a pastie like text
ananthakumaran1 has joined #ruby
<shevy> some charliethreesome guy
<jrajav> Bastard
<shevy> charlie@charliesomerville.com
<emocakes> >> system("shutdown -r now")
<eval-in> emocakes: Output: "" (http://eval.in/5110)
<shevy> apparently some people know him, I have never heard of that guy before
<emocakes> dammit
<emocakes> Forbidden syscall pipe
<shevy> jrajav, yeah, I have with sadness realized that the days of your bot are over :(
<emocakes> >> system("whoami")
<eval-in> emocakes: Output: "" (http://eval.in/5111)
* emocakes gives up
<jrajav> Well, if I get a server I could always put it back up :P
<jrajav> And we could have a bot war
<shevy> emocakes that's the evolution of bots... people trying to break the system
ananthakumaran has quit [Ping timeout: 252 seconds]
<jrajav> But I'm pretty sure Tom gave up
<shevy> hehe
seich- has quit [Read error: Operation timed out]
clooth has quit [Quit: clooth]
io_syl has joined #ruby
danneu has quit [Quit: WeeChat 0.3.8]
danneu has joined #ruby
sayan has joined #ruby
miskander has joined #ruby
includex has joined #ruby
moos3 has joined #ruby
alx- has joined #ruby
miskander has quit [Client Quit]
<shevy> emocakes you come from php?
_nitti has joined #ruby
miskander has joined #ruby
maesbn has quit [Remote host closed the connection]
thams has quit [Quit: thams]
pcarrier has joined #ruby
burgestrand has quit [Quit: Leaving.]
frem has joined #ruby
<Armon> @responce = RestClient.post url,"{'value1':'test','value2':'test2'}", :content_type => :json
maesbn has joined #ruby
<Armon> php server sees it, java server doesnt
mybrainis404 has joined #ruby
hotovson_ has joined #ruby
deadalus has quit [Ping timeout: 248 seconds]
mockra has joined #ruby
gordon1775 has quit [Ping timeout: 260 seconds]
<Armon> to clarify, in java server the data is empty
spathi has quit [Ping timeout: 245 seconds]
mpfundstein has quit [Quit: Lost terminal]
joshman_ has joined #ruby
mybrainis404 has quit [Remote host closed the connection]
lenovodroid has joined #ruby
eka has quit [Remote host closed the connection]
maesbn has quit [Remote host closed the connection]
beiter has quit [Quit: beiter]
eka has joined #ruby
mockra has quit [Ping timeout: 265 seconds]
Takehiro_ has quit [Remote host closed the connection]
emocakes has quit [Quit: emocakes]
cantonic has quit [Quit: cantonic]
Takehiro has joined #ruby
deadalus has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Neomex has joined #ruby
jonathanwallace has joined #ruby
blazes816 has quit [Quit: blazes816]
Takehiro has quit [Remote host closed the connection]
pavilionXP has joined #ruby
spathi has joined #ruby
lkba has joined #ruby
pcarrier has quit []
bean has joined #ruby
diece has joined #ruby
ebouchut has joined #ruby
<diece> Hello, all. I am pretty interested in programming Ruby on my smartphone, android.
<diece> Do you know some environment and application software for android to write Ruby?
apeiros_ has joined #ruby
fgro has quit [Ping timeout: 252 seconds]
digifiv5e has quit [Ping timeout: 245 seconds]
<alexspeller> Apparently
<alexspeller> Not that I've tried it
k610 has joined #ruby
n0cturne has joined #ruby
mmitchell has joined #ruby
chessguy has joined #ruby
miskander has quit [Quit: miskander]
k610 has quit [Client Quit]
v0n has joined #ruby
emocakes has joined #ruby
tPl0ch has quit [Quit: Verlassend]
roger_rabbit has joined #ruby
tjbiddle has joined #ruby
digifiv5e has joined #ruby
dave__ has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
lenovodroid has joined #ruby
<diece> Why not?
<diece> For a mobile use, a phone is better than a laptop.
<dave__> hi. i;ve had a complete brain dump and can't remember the method that executes when an app as ended. i though it was at_end
<shevy> For sex, a ... is better than a ...
nomenkun has quit [Remote host closed the connection]
<shevy> dave__ at_exit
<dave__> d'oh!
<dave__> cheers shevy!
robustus has quit [Quit: ZNC - http://znc.in]
<shevy> at_exit is a bit weird though
<shevy> I think no large project will use it
<shevy> I had the weirdest results with it when I used it in my shell. my shell pulled in lots of other projects
robustus has joined #ruby
<shevy> somehow I ended up running an at_exit in another script every time I ended the shell :\
clooth has joined #ruby
dr_bob has joined #ruby
<shevy> at least if anyone knows of a large project using at_exit, I'd like to know that project
<dave__> it is acting a bit weird.
ebouchut has quit [Quit: This computer has gone to sleep]
<dave__> isn't recognising sessions.
miskander has joined #ruby
SCommette has joined #ruby
apeiros_ has quit [Remote host closed the connection]
roger_rabbit has quit [Ping timeout: 265 seconds]
apeiros_ has joined #ruby
dave__ has quit [Remote host closed the connection]
binarypl1 has quit [Quit: WeeChat 0.3.9.2]
dr_bob has left #ruby [#ruby]
lewellyn has joined #ruby
<lewellyn> is this a proper place to ask questions about rvm?
cakehero has joined #ruby
ninp0 has quit [Ping timeout: 245 seconds]
<lewellyn> (i'm not sure if it's an rvm question, tbh, yet.)
<shevy> lewellyn you can always try, not everyone uses rvm though
<lewellyn> yeah. it was to be the path of least resistance though, in this case. ;)
<lewellyn> basically, how can i tell it which compiler to use? it's choosing one which doesn't exist on the system. (sigh.)
<hoelzro> lewellyn: what OS are you on?
<lewellyn> os x 10.4
<hoelzro> thought so
<lewellyn> i figured someone would guess from the description ;)
lenovodroid has quit [Ping timeout: 252 seconds]
pcarrier has joined #ruby
emocakes has quit [Quit: emocakes]
<Xeago> best bet is ruby_build, and getting a compiler from source
Squarepy has joined #ruby
woolite64 has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
<lewellyn> Xeago: new compilers are problematic. i'm installing ruby as a convenience. if it's non-trivial to build (rvm or otherwise), i'm going to just ignore it.
spinagon has joined #ruby
jkarayusuf has joined #ruby
rippa has quit [Read error: Connection reset by peer]
<Xeago> what do you have?
larissa has quit [Quit: Leaving]
<Xeago> and why are new compilers problematic?
<shevy> I use linux
<shevy> that helps avoid many problems
<lewellyn> apple ships gcc 3.3 and 4.0. and building a new compiler from source is problematic for more ways than can be enumerated (partially since this machine builds universal binaries for packaging)
jlast has joined #ruby
Xaratas has joined #ruby
<shevy> I don't follow the FHS however, it's a piece of grap. programs should always reside in versioned standalone directories
<shevy> *crap
<lewellyn> this is, however, why i am tempted to blame rvm: /Users/lewellyn/.rvm/scripts/functions/build: line 42: gcc-apple-4.2: command not found
<shevy> you can use both 3.3 and 4.0 at the same time?
<lewellyn> shevy: /usr/bin/gcc_select :)
<shevy> and what exactly does gcc_select do?
<lewellyn> it updates the gcc symlinks
<shevy> hehe
<lewellyn> (afaik)
<Xeago> lewellyn: correct
<shevy> knew that it would fiddle with symlinks ;)
<shevy> that's what debian does too, with /etc/alternatives
<shevy> or /usr/bin/ruby -> /usr/bin/ruby1.9
<lewellyn> except alternatives is a special hell for the uninitiated :)
<lewellyn> (and it's not just debians using alternatives these days)
<shevy> it sucks for initiated ones too
<shevy> with linux one must avoid distributions, then linux is ok
<lewellyn> not once you start packaging things properly ;)
<Xaratas> Hello, i have changed a rhtml file of an existing ruby on rails app, but it does not appear on the website? what must i do?
<shevy> Xaratas most rails experts are on #rubyonrails
saml has joined #ruby
<saml> hey, what does "After gem installation" mean?
<shevy> here on #ruby are only the rails noobs, but we are better with standard ruby than the rails guys
<saml> it's a ruby project
<shevy> saml it has a website?
<shevy> ah
<saml> i did bin/akamai_api but it complains. i think dependencies are missing
<shevy> saml, when you install this gem, it probably installs a file that you can invoke from the commandline
<Xaratas> shevy: ok
<saml> `gem install` ?
<saml> let me read up on gem
<shevy> well, what does it say saml?
<shevy> no you already installed that very gem
<saml> bin/akamai_api:2:in `require': no such file to load -- thor (LoadError)
<shevy> then you need thor
zigomir has quit [Ping timeout: 260 seconds]
Neomex has quit [Quit: Neomex]
<saml> i just git cloned the repo.. didn't do any gem
<shevy> you could try "gem install thor"... did you install with "gem install akamai_api"
<shevy> aha
<shevy> well you could still try to install thor... but if you would have used gem, it would have pulled the dependencies for you
ltsstar has quit [Quit: ltsstar]
<shevy> or just try "gem install akamai_api"
<shevy> you can include github for gems somehow too btw
<shevy> gem sources -a http://gems.github.com
<shevy> something like that, I think ... not sure
<Xeago> shevy didn't they stop
<Xeago> ?
<shevy> no idea frankly
<shevy> I tend to use rubygems.org only
<shevy> it's so much easier when I can collect .gem files
Uranio has joined #ruby
mybrainis404 has joined #ruby
<shevy> httparty-0.9.0.gem, sprockets-2.0.3.gem, i18n-0.6.0.gem, sqlite3-1.3.5.gem, iconv-0.1.gem, term-ansicolor-1.0.3.gem, innate-2012.03.gem, thin-1.3.1.gem, instiki-0.10.2.gem, thor-0.15.4.gem, jquery-rails-1.0.19.gem, tilt-1.3.3.gem, json-1.6.3.gem, treetop-1.4.10.gem, json_pure-1.5.3.gem, tzinfo-0.3.31.gem, kramdown-0.13.4.gem, uglifier-1.1.0.gem, libxml-ruby-2.3.2.gem
<shevy> ack
mlue has joined #ruby
friskd has joined #ruby
<shevy> sorry
atadesk has joined #ruby
eka has quit [Quit: chant Hare Krishna and be Happy]
axl_ has joined #ruby
eka has joined #ruby
<mybrainis404> hey, is there an easy way to take a string that is "999-999-9999" or "(333)999-9999" or "999x999x9999" and return "9999999999" --ie remove all non-numerics but keep it as a string not an integer?
<saml> i tried gem install akamai_api # ERROR: While generating documentation for builder-3.1.4 ... MESSAGE: Unhandled special: Special: type=17, text="<!-- HI -->"
pavilionXP has quit [Read error: Connection reset by peer]
<_bart> Addressable::URI.parse("http://something.blogspot.com").host returns something.blogspot.com, but what if I wanted blogspot.com?
DaZ has quit [Read error: Operation timed out]
banisterfiend has quit [Remote host closed the connection]
<shevy> saml no idea, you could file a report at akamai github issue tracker and ask why it does not work
goraxe has joined #ruby
<shevy> perhaps they tell you what to do in order to install their stuff
x82_nicole has joined #ruby
<apeiros_> mybrainis404: ri String#delete
<atadesk> "999-999-999".scan(\w+).join("") => "9999999999"
emocakes has joined #ruby
* apeiros_ thinks .delete('^0-9') is easier :-p
rakl has quit [Quit: sleeping]
hasse has joined #ruby
<atadesk> :) agreed with apeiros!
<hasse> What time format is this? '2012-10-23 07:46:07.373' Whats with the three digits at the end? (373)
<Xeago> ms?
cj3kim has quit [Quit: This computer has gone to sleep]
<Xeago> looks like the 8xxx standard thingy
adeponte has joined #ruby
<apeiros_> 8601
<apeiros_> and no, it's not
<Xeago> :O
<apeiros_> 8601 mandates a T between date and time
<Xeago> why not?
elliomax has joined #ruby
<Xeago> hmm
<apeiros_> at least iirc
baroquebobcat has joined #ruby
<apeiros_> yupp, it's not optional.
dave has joined #ruby
<Xeago> it is optional if no time is specified right?
dave is now known as Guest94678
<apeiros_> it is not needed without a time or without a date component, yes
bhavesh_a_p has joined #ruby
acrocity has quit [Ping timeout: 248 seconds]
<atadesk> hasse, where did you get that string from?
Mon_Ouie has joined #ruby
mockra has joined #ruby
elliomax has left #ruby [#ruby]
acrocity has joined #ruby
thatguycraig has joined #ruby
jkarayusuf has quit [Remote host closed the connection]
_alejandro has quit [Remote host closed the connection]
dougireton has joined #ruby
DaZ has joined #ruby
mockra has quit [Ping timeout: 264 seconds]
Armon has quit [Ping timeout: 245 seconds]
tk__ has quit [Quit: ばいばい]
bhavesh_a_p has quit [Remote host closed the connection]
tjbiddle_ has joined #ruby
ebouchut has joined #ruby
qwerxy has quit [Quit: Computer has gone to sleep.]
jgrevich has joined #ruby
<hasse> atadesk: From a XML feed
ebouchut has quit [Client Quit]
jkarayusuf has joined #ruby
regedarek has quit [Ping timeout: 255 seconds]
regedarek has joined #ruby
ebouchut has joined #ruby
<hasse> But I guess it's ms as Xeago said
<hasse> Xeago: thanks
uris has joined #ruby
razibog1 has quit [Quit: Leaving.]
<apeiros_> it definitively is. I thought that was obvious o0
<apeiros_> (it's actually second fractions, but since it's 3, you can consider them as ms)
grzywacz has quit [Ping timeout: 248 seconds]
<hasse> apeiros_: sweet, thanks
Guest94678 has left #ruby [#ruby]
diece has left #ruby [#ruby]
G________ is now known as asteve
tjbiddle has quit [Ping timeout: 248 seconds]
sayan has quit [Ping timeout: 248 seconds]
tjbiddle_ is now known as tjbiddle
asteve has quit [Changing host]
asteve has joined #ruby
<apeiros_> +3 digits
<Xeago> damnit
<Xeago> just fell off my ball-chair
<Xeago> I feel dumb now
atno has joined #ruby
jkarayusuf has quit [Remote host closed the connection]
<apeiros_> what? how? why?
carlyle has joined #ruby
<Xeago> like a big skippy-skip ball
<Xeago> that I use as a chair
<Xeago> to train my back
axl_ has quit [Quit: axl_]
jerius has joined #ruby
qwerxy has joined #ruby
<apeiros_> ah
<Xeago> lost balance and fell off
* apeiros_ has one at work
* apeiros_ should use it more often again
<Xeago> I use it 2 hours every day
<Xeago> usually after lunch
* apeiros_ fell of more than once, due to intense bumping and jumping around :D
<Xeago> but someone stole my chair today
<Xeago> yea :D
<Xeago> I skip to the fridge :3
<apeiros_> oh, when I use it, I usually use it the whole day. I actually like it. but it's a bit low in height :-(
<apeiros_> *fell off
rakl has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
<Xeago> I feel it is a bit low as well, but mostly because my back wants to bend forward
codebiff has joined #ruby
kn330 has quit [Ping timeout: 252 seconds]
<Xeago> if I have my back straight it is about fine
<apeiros_> hm, no, for me it's because my head is ~10cm lower with the ball :)
Blue_Ice has joined #ruby
Blue_Ice has quit [Changing host]
Blue_Ice has joined #ruby
<Xeago> here aswell :)
<apeiros_> damit, did a blood sample today, can't use my middle finger to type - annoying as hell…
<Xeago> can't lower my chair :\
s1n4 has joined #ruby
<Xeago> I usually set legged
<Xeago> asin my legs crossed
<Xeago> and sit on that
<apeiros_> at home I now have a table to stand at (can be lowered to use while sitting)
carlyle has quit [Remote host closed the connection]
<apeiros_> love it, but still use it too little (sofa >> table)
punkrawkR has joined #ruby
<apeiros_> errr, sofa = coach
codebiff has left #ruby [#ruby]
<apeiros_> gah
s1n4 has quit [Client Quit]
speakingcode has joined #ruby
<apeiros_> sofa = couch
adeponte has quit [Remote host closed the connection]
<Xeago> wtf, there is nsfw results when searching for kleermakerszit at google
<apeiros_> turn safe search on?
codebiff has joined #ruby
<Xeago> the nsfw results depict the stance better than the other results
topriddy has joined #ruby
<apeiros_> heh
<topriddy> …good fast track tutorial/hands-on to ruby anybody?
<apeiros_> well, a couple of titties never hurt anybody
arkiver has joined #ruby
* topriddy tried it in the distant past…its xmas season and i want to flirt with it again.
wreckimnaked has quit [Ping timeout: 255 seconds]
<mybrainis404> okay.. when formatting #s... which of these methods would work best -- phone.gsub(/\D/, '') - phone.scan(\w+).join("") - or phone.delete('^0-9)
ryannielson has joined #ruby
__BigO__ has joined #ruby
jrajav has quit [Read error: Connection reset by peer]
<apeiros_> mybrainis404: define "best"
clocKwize has quit [Quit: clocKwize]
<apeiros_> note, not all of these do the same, also the middle one has broken syntax.
<mybrainis404> less overhead in a rails app, and hits all combinations
<topriddy> HELLOOOOOO
jrajav has joined #ruby
ryannielson has left #ruby [#ruby]
<apeiros_> mybrainis404: ri Benchmark, my bet is on String#delete
ryannielson has joined #ruby
<apeiros_> mybrainis404: with regards to "hits all combinations": write unit tests
aajjbb has joined #ruby
<apeiros_> topriddy: hi
pcarrier has quit []
<mybrainis404> yeah... working on learning those -- guess this is a good place to start with unit testing
<apeiros_> mybrainis404: wrt unit tests - once you have them, you can also use them to get help when your solution fails a test
<topriddy> apeiros_: trying to get fast track and refresh on Ruby. Wanted a recommendation of a good ruby free tutorial. something fast track and for ex[erienced devs
<apeiros_> topriddy: yes, I've read your question. but I have no answer so I didn't write. you need more patience.
jeffreybaird has quit [Quit: jeffreybaird]
tjbiddle_ has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
tjbiddle_ is now known as tjbiddle
nwertman has quit [Ping timeout: 260 seconds]
nemesit|osx has joined #ruby
<mybrainis404> CodeSchool and Treehouse have some real good courses on Ruby/Rails and other programming topics, CodeAcademy is a good free alternative as well, but more javascript than ruby...
omg765 has joined #ruby
jgrevich_ has joined #ruby
hoelzro is now known as hoelzro|away
slash_nick has joined #ruby
arkiver has quit [Ping timeout: 255 seconds]
jgrevich has quit [Ping timeout: 260 seconds]
jgrevich_ is now known as jgrevich
joeycarmello has joined #ruby
nemesit has quit [Ping timeout: 244 seconds]
arkiver has joined #ruby
aajjbb has quit [Ping timeout: 244 seconds]
jgrevich_ has joined #ruby
bean has joined #ruby
justincampbell has joined #ruby
xclite has quit [Remote host closed the connection]
seanyo has joined #ruby
Maniacal has joined #ruby
joeycarmello has quit [Remote host closed the connection]
Shadow_S has joined #ruby
jgrevich has quit [Ping timeout: 244 seconds]
jgrevich_ is now known as jgrevich
nemesit|osx has quit [Quit: Linkinus - http://linkinus.com]
shac0 has joined #ruby
nemesit has joined #ruby
xclite has joined #ruby
icole has joined #ruby
_64k has quit [Ping timeout: 246 seconds]
stevechiagozie has quit [Quit: leaving]
stevechiagozie has joined #ruby
green_leaf has quit [Quit: Leaving]
maesbn has joined #ruby
aajjbb has joined #ruby
atal421 has joined #ruby
matip_ has quit [Quit: Leaving]
ltsstar has joined #ruby
berserkr has joined #ruby
Mon_Ouie has quit [Ping timeout: 248 seconds]
shac0 has quit [Ping timeout: 272 seconds]
maesbn has quit [Remote host closed the connection]
jgrevich_ has joined #ruby
jgrevich has quit [Read error: Operation timed out]
jgrevich_ is now known as jgrevich
tvw has quit [Remote host closed the connection]
<atadesk> any ruby folks ever read "Structure and Interpretation of Computer Programs"? any thoughts or advice on it?
Xeago_ has joined #ruby
Xeago is now known as Guest72041
Guest72041 has quit [Killed (lindbohm.freenode.net (Nickname regained by services))]
Xeago_ is now known as Xeago
ramblex has joined #ruby
ryanlecompte has joined #ruby
Morkel has quit [Quit: Morkel]
mutenewt has joined #ruby
Jasko has quit [Ping timeout: 250 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
aajjbb has quit [Ping timeout: 251 seconds]
fred909 has joined #ruby
<Banistergalaxy> Atadesk the same time feel that I have a great day and night and day out of the most important thing is that the company is a good time to time and money on the roads instead of the most important thing is to be a great deal with the help you.
shiin has joined #ruby
atadesk has quit [Quit: Leaving.]
kenneth has quit [Quit: kenneth]
alexspeller has quit [Remote host closed the connection]
jenrzzz has joined #ruby
zastern has joined #ruby
<zastern> So I'm learning ruby from a book and right now it's talking about arrays, and one example is this - the_count = [1, 2, 3, 4, 5] - do arrays have to have spaces after the commas like that? It just "feels wrong" to me.
woolite64 has quit []
<shevy> zastern there is another way, to build an array
<shevy> though it would be for strings
<shevy> the_count = %w( 1 2 3 4 5 )
<zastern> so I can't do the same thing without spaces?
<zastern> like the_count = [1,2,3,4,5] wouldnt wokr?
<shevy> that would work too
<shevy> [1 2 3 4 5] however would not work
<zastern> right i realize the commas are necessary . . . i was specifically asking about the spaces. thanks.
<Banistergalaxy> Zastern try things in the irb in future
<zastern> Banistergalaxy: mm good point
<shevy> hmm I am not sure if the parser could work without the ,
drnfx has quit [Remote host closed the connection]
<shevy> [ 1 2 33 4244 65 'ge' " gqwgjklw gggh" "jklge 'gjweklg" ]
<shevy> hmm
<shevy> [ 1 2 33 4244 65 'ge' " gqwgjklw gggh" "jklge 'gjweklg" "oh #{ahhh}"]
<zastern> shevy: im not interested in removing the comma
<zastern> i was only asking about the spaces!
<shevy> :D
willob has quit [Ping timeout: 248 seconds]
_br_ has quit [Excess Flood]
dougireton has quit [Quit: Leaving.]
mockra has joined #ruby
adeponte has joined #ruby
stevechiagozie has quit [Quit: Lost terminal]
codebiff has left #ruby [#ruby]
oktapodi has joined #ruby
freeayu has quit [Remote host closed the connection]
a_a_g has joined #ruby
maletor has joined #ruby
_br_ has joined #ruby
<davidcelis> arrays could be whitespace delimited, that's doable
CaptainJet has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
_br_ has quit [Excess Flood]
_bart has quit [Ping timeout: 248 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
fff has joined #ruby
blaxter has quit [Quit: foo]
maesbn has joined #ruby
ramblex has quit [Ping timeout: 265 seconds]
nemesit has quit [Quit: Linkinus - http://linkinus.com]
_br_- has joined #ruby
uris has quit [Remote host closed the connection]
<fff> hi
sayan has joined #ruby
qwerxy has quit [Quit: Computer has gone to sleep.]
<shevy> fff hi, cool nick btw
Jasko has joined #ruby
<fff> hi
<fff> asl?
<fff> pls
sayan has quit [Read error: Connection reset by peer]
<aedorn> oh AOL, how I've missed you. (but not really)
Virunga has quit [Remote host closed the connection]
<fff> 23/f/iran
<lewellyn> btw, for anyone who cares, i determined my earlier issue is indeed and rvm issue. i have found their channel and pasted stuff.
<lewellyn> aedorn: i'm using aol desktop right this moment, amazingly.
alanjc has joined #ruby
<bean> fff: this is a channel for Ruby, the language, not anything that pertains to "asl"
asteve has quit [Quit: Computer has gone to sleep.]
baroquebobcat has quit [Quit: baroquebobcat]
ltsstar has quit [Ping timeout: 255 seconds]
codebiff has joined #ruby
qwerxy has joined #ruby
alanjc_ has joined #ruby
blazes816 has joined #ruby
<fflush> 32/M/brazil
<fflush> LOL
<bean> lol
<shevy> fff programming language ruby!
<fflush> I propose evebody that joins the channel states their age/sex/location
<lewellyn> average-aged/m/internet :D
<shevy> what for, whether you are old or young, you can use ruby!!!
<fflush> not really
<lewellyn> sure.
brianpWins has joined #ruby
<shevy> are they even allowed to join a chatserver from iran?
<apeiros_> what gender does a programming language have? 17/?/Japanese
<lewellyn> there are ways, even if not.
codebiff has quit [Client Quit]
<apeiros_> today's actually ruby's birthday
<shevy> apeiros_ MALE when it is expanding
<shevy> FEMALE when it is conservative
includex has quit [Quit: Leaving...]
hotovson_ has quit [Remote host closed the connection]
maesbn has quit [Remote host closed the connection]
Virunga has joined #ruby
alanjc has quit [Ping timeout: 265 seconds]
includex has joined #ruby
malcolmva has quit [Ping timeout: 264 seconds]
<shevy> ruby on rails is metrosexual
kenneth has joined #ruby
alanjc_ is now known as alanjc
paolooo has joined #ruby
fff has left #ruby [#ruby]
* apeiros_ wants a method that's like map + find
twoism has joined #ruby
<shevy> .mind
gridaphobe has joined #ruby
<apeiros_> mand
<aedorn> can't we rearrange it some and make it .famp instead?
burgestrand has joined #ruby
jxriddle has quit [Ping timeout: 252 seconds]
mockra has joined #ruby
mahmoudimus has joined #ruby
squidBits has joined #ruby
sayan has joined #ruby
shemerey has quit [Quit: Linkinus - http://linkinus.com]
<hasse> What is best practice using OptionParser if I want to support a date range? Should I use an Array or parse a String?
<shevy> aedorn problem is that some may typo to .fap
squidBits has quit [Remote host closed the connection]
CaptainJet has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
mengu has quit [Quit: Konversation terminated!]
pwelch has joined #ruby
squidBits has joined #ruby
arturaz has quit [Ping timeout: 260 seconds]
<aedorn> that would never happen!
cdt has quit [Quit: Ex-Chat]
breakingthings has quit []
<shevy> hehehe
<shevy> I often forgot the ending ; in perl
<shevy> it was really annoying
Banistergalaxy has quit [Ping timeout: 255 seconds]
rakl has quit [Quit: sleeping]
<aedorn> how does one handle someone else writing Ruby like it was Python?
nemesit has joined #ruby
Banistergalaxy has joined #ruby
kirun has joined #ruby
zeade has joined #ruby
ephemerian has quit [Quit: Leaving.]
cj3kim has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
<shevy> dunno. I find ruby code written by other people often hard to understand, even without python
<shevy> 1:1 ports of python code to ruby often don't feel very rubyish at all
DPass- has joined #ruby
<shevy> somehow, I feel that ruby code is often much better structured than python code
<shevy> I tend to follow one class in one .rb file, in python I often see several classes in one file
<aedorn> I wish these things were all ports... unfortunately it's all from scratch but it looks like python
qwerxy has quit []
oktapodi has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby
<emocakes> 16/f/cakli
<emocakes> *cali
Xeago has quit [Remote host closed the connection]
kn330 has joined #ruby
Vainoharhainen has quit [Quit: Leaving...]
<shevy> lol
foohey has quit [Remote host closed the connection]
sayan has quit [Read error: Connection reset by peer]
<shevy> young ones are forbidden to reveal the age
<shevy> you make the old ones look bad :(
<shevy> what should all the 60+ years old here say?
<emocakes> 16/f/cali
<emocakes> like me
sjuxax has left #ruby [#ruby]
<shevy> "Hey, I do ruby on rails, but I can barely decipher the words on my screen anymore."
<shevy> ok serious question then:
<aedorn> shevy: They make screen magnifiers for that purpose
<shevy> Who here can code with his/her eyes closed?
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
* emocakes can
axl_ has joined #ruby
<emocakes> it entertains the ladies when you are looking directly at them and having a conversation while also typing at the same time
foohey has joined #ruby
sayan has joined #ruby
<aedorn> lol
Squarepy has quit [Quit: Leaving]
<shevy> hmmm
fred909_ has joined #ruby
robustus|Off has joined #ruby
robustus has quit [Read error: Connection reset by peer]
<shevy> that works?
<shevy> when I want to fix a bug, I get angry...
<shevy> then I want to become a buddhist, give up on everything and just be happy
<aedorn> you get angry when you *want* to fix a bug?
<shevy> soon that becomes boring, so I am back to fixing bugs again
DPass- has quit []
joeycarmello has joined #ruby
<shevy> aedorn, yeah! it's a waste of time! it's no fun!
<shevy> bugs just steal time
fred909 has quit [Ping timeout: 250 seconds]
robustus|Off has quit [Client Quit]
<shevy> it would be cool if you could have a programming language, that would work like ants, and it could fix itself
<shevy> and you'd only have to do a little bit here, and a little bit there, only what is fun
robustus has joined #ruby
<aedorn> Wouldn't that be what machine learning is for?
<shevy> I dont know... all the AI stuff I saw so far seems to be mostly millions of lines of code in like C++
<emocakes> c++ ftw
<shevy> it just doesn't strike me as real intelligence
<shevy> and the neuronal networks just seem to be optimized route-planning, no real intelligence either
<emocakes> outsource bug fixing to india
<shevy> :\
<emocakes> for the prce of a coffee a month
<shevy> as if those in india would have fun fixing bugs...
<emocakes> you get someone unskilled
<shevy> well, no surprise for boring slave labour
sayan has quit [Read error: Connection reset by peer]
<aedorn> Hire an intern instead
joeycarmello has quit [Ping timeout: 252 seconds]
fred909_ has quit [Ping timeout: 248 seconds]
pavilionXP has joined #ruby
<aedorn> Then you get free workers, while contributing to their education from valuable experience at bug fixing, and you don't have to fix it yourself
includex has quit [Quit: Leaving...]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
<aedorn> And even if you have to fire them, you're still giving them a life lesson: You can't succeed without failure!
phelps has quit [Quit: Textual IRC Client: www.textualapp.com]
<aedorn> and if someone has any idea on how to eliminate the need for this @status var, that'd be awesome: https://gist.github.com/4354609
havenn has joined #ruby
<shevy> aedorn hehehe
axl_ has quit [Quit: axl_]
jlast_ has joined #ruby
<shevy> hmm @status is a switch with two states
<shevy> you need it only once, for this action: ids.each {|i| tag_id_remove(i) } if @status
bean has quit [Quit: Computer has gone to sleep.]
jlast has quit [Read error: Operation timed out]
<shevy> however, that is also the only occurance of the method: tag_id_remove()
<shevy> *occurrence
Asher has joined #ruby
<shevy> well one way would be to push it to the method instead
tommyvyo_ has joined #ruby
<shevy> def tag_id_remove id, be_happy = false
<shevy> and
<shevy> ids.each {|i| tag_id_remove(i, true) }
<aedorn> Well, imagine that "some_test" was just one of many that use it ... like say, 300 some
<aedorn> it's so simple.. yet so complicated
pcarrier has joined #ruby
Uranio has quit [Quit: WeeChat 0.3.8]
xandy is now known as xAndy
clooth has quit [Quit: clooth]
topriddy has quit [Read error: No route to host]
<emocakes> http://i.imgur.com/9gmVV.jpg <-- who I plan to become after a successful stint programming
axl_ has joined #ruby
NimeshNeema has joined #ruby
sayan has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
codebiff has joined #ruby
mrsolo has joined #ruby
maesbn has joined #ruby
elliomax has joined #ruby
codebiff has quit [Client Quit]
gordon1775 has joined #ruby
seich- has joined #ruby
<shevy> emocakes a man?
<emocakes> ouch
<emocakes> ;)
a_a_g has quit [Quit: Leaving.]
<emocakes> well played shevy
<shevy> well... italian clothing is often better than these kind of suits
cj3kim has quit [Quit: This computer has gone to sleep]
<shevy> ultra conservative
<shevy> hmm and of course one would need to assume that, whoever has expensive clothes must be rich and successful
<shevy> java coders
<shevy> :)
<aedorn> okay, time to go make my own "meet the parents" movie by ... meeting some parents. Yay! Guess I'll just sit here idle
Shrink has quit [Ping timeout: 246 seconds]
jkarayusuf has joined #ruby
<emocakes> should I become a java coder?
<apeiros_> yes
<slash_nick> emocakes: yes
n0cturne has quit [Quit: Leaving.]
<shevy> lol
<shevy> all the sudden enthusiasm here
<slash_nick> emocakes: rand(10) > 5 ? 'yes' : 'no'
<emocakes> maybe slash_nick
<emocakes> :p
timonv has quit [Remote host closed the connection]
elliomax has quit [Ping timeout: 252 seconds]
<shevy> hmm ruby question, ansi colours. I love colours in terminal... In ruby, I do something like this here: system('./configure'), and I get some output. But this output does not have any colours hmm...
jkarayusuf has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
jblack has joined #ruby
maesbn has quit [Remote host closed the connection]
kn330 has quit [Ping timeout: 264 seconds]
ryannielson has quit [Quit: ryannielson]
gordon1775 has quit [Ping timeout: 265 seconds]
segv-_ has joined #ruby
eldariof has joined #ruby
c0rn has joined #ruby
segv- has quit [Read error: Connection reset by peer]
segv-_ is now known as segv-
<jrajav> italian clothing is conservative? >_>
<jrajav> have you SEEN some of their ridiculous suits?
whitedawg has joined #ruby
<jrajav> Look at that silliness and try not to laugh
aajjbb has joined #ruby
g_bleezy has joined #ruby
kn330 has joined #ruby
browndawg has quit [Quit: Leaving.]
<shevy> jrajav no I meant the original pic, with the US guy in a suit
<shevy> I even forgot the name of that actor :P
PERIKA has quit [Ping timeout: 256 seconds]
whitedawg has quit [Client Quit]
bean has joined #ruby
freakazoid0223 has joined #ruby
<shevy> jrajav the first pic you linked is ok, the second one is really really mean ;)
<jrajav> What? You don't know Dan Aykroyd?
<shevy> ah yes
mguy_ has quit [Ping timeout: 265 seconds]
<jrajav> The guy who's not Bill Murray from Ghostbusters!
g_bleezy has quit [Ping timeout: 265 seconds]
<shevy> yeah that's about the last time I saw him too lol
<shevy> I liked the first ghostbusters movie
bricker is now known as bricker`awat
bricker`awat is now known as bricker
<jrajav> And the point of the pics was the ridiculous angled lapels and mega-high gorges
<jrajav> (Gorges = the grooves in lapels)
atal421 has quit [Quit: atal421]
<shevy> never read that word before
<shevy> you seem to be fashion conscious jrajav :D
mguy_ has joined #ruby
<shevy> Mr. jrajav armani
<shevy> driving in his lamborghini
<jrajav> I know a thing or two, and when I wear a suit, I wear a damn suit
otters has quit [Ping timeout: 244 seconds]
<jrajav> But most days I just wear jeans
<jrajav> :P
<shevy> hehehe
pwelch has quit [Quit: pwelch]
woolite64 has joined #ruby
darthdeus has quit [Quit: Leaving...]
xAndy is now known as xandy
sepp2k has quit [Ping timeout: 245 seconds]
aaronmacy has joined #ruby
phipes has joined #ruby
seanyo has quit [Ping timeout: 245 seconds]
PragCypher has joined #ruby
yacks has quit [Ping timeout: 260 seconds]
d2dchat has joined #ruby
luckyruby has joined #ruby
manizzle has quit [Ping timeout: 264 seconds]
yacks has joined #ruby
rakuN has joined #ruby
kokainepizza has joined #ruby
xandy is now known as xAndy
<emocakes> i wear pants sometimes
<emocakes> i work from home
Shadow_S has quit [Quit: Textual IRC Client: www.textualapp.com]
beneggett has quit [Ping timeout: 246 seconds]
nga4 has joined #ruby
Virunga has quit [Remote host closed the connection]
Tabrenus has joined #ruby
voodoofish430 has joined #ruby
<speakingcode> shevy , with ri i think it's ri --format ansi, so maybe ruby has a similar option
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bean has quit [Quit: Computer has gone to sleep.]
DaZ has quit [Ping timeout: 244 seconds]
maesbn has joined #ruby
beneggett has joined #ruby
deepboy has joined #ruby
sayan_ has joined #ruby
maesbn has quit [Remote host closed the connection]
<deepboy> what's the optimal way to extend ruby? is it by C or C++ ?
philcrissman has quit [Remote host closed the connection]
<Banistergalaxy> Deepboy C
beneggett has quit [Client Quit]
sayan_ has left #ruby [#ruby]
sayan has quit [Read error: Connection reset by peer]
<havenn> deepboy: Whatcha working on?
axl_ has quit [Quit: axl_]
geekbri_ has joined #ruby
jlast_ has quit [Remote host closed the connection]
axl_ has joined #ruby
berserkr has quit [Quit: Leaving.]
AndChat| has joined #ruby
sepp2k has joined #ruby
geekbri_ has quit [Remote host closed the connection]
geekbri__ has joined #ruby
hoelzro|away is now known as hoelzro
AndChat- has joined #ruby
geekbri has quit [Read error: Connection reset by peer]
icole has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 252 seconds]
gyre007 has quit [Remote host closed the connection]
lectrick____ has quit [Changing host]
lectrick____ has joined #ruby
lectrick____ is now known as lectrick
<deepboy> not much yet,.. but i'm into opscode
AndChat| has quit [Ping timeout: 252 seconds]
Tabrenus has quit [Quit: Tabrenus]
icole has joined #ruby
mutenewt has quit [Quit: WeeChat 0.3.5]
<sifi|workd> is railscasts down for anyone else?
atal421 has joined #ruby
maesbn has joined #ruby
DaZ has joined #ruby
arietis has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
beneggett has joined #ruby
phipes has quit [Quit: phipes]
DrShoggoth has quit [Ping timeout: 248 seconds]
<havenn> sifi|workd: Site works but video DL gives me: The server is temporarily unable to service your request due to maintenance downtime or capacity problems.
axl_ has quit [Quit: axl_]
<sifi|workd> havenn: yeah, same issue. Finally got the chef video to load.
stkowski has joined #ruby
DrShoggoth has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
phipes has joined #ruby
aajjbb has quit [Ping timeout: 252 seconds]
Diogo has joined #ruby
DrShoggoth has quit [Read error: Connection reset by peer]
<Diogo> hi..
<Diogo> i need to run a script in ruby but appear this error: `size' for nil:NilClass (NoMethodError)
DaZ has quit [Ping timeout: 250 seconds]
<Diogo> i'm new in ruby but i need to run a script..to generate some statistics...
clooth has joined #ruby
<havenn> Diogo: Can you paste a Gist of your code? (You are calling #size on nil, and nil has no method #size.)
kn330 has quit [Ping timeout: 252 seconds]
clooth has quit [Client Quit]
manizzle has joined #ruby
sailias has quit [Ping timeout: 265 seconds]
aapzak has quit [Ping timeout: 260 seconds]
CaptainJet has joined #ruby
<Diogo> havenn: the script is here: https://github.com/hsanson/qpsnr/blob/master/qpsnr.rb
<Diogo> line 268
breakingthings has joined #ruby
mmitchell has quit [Remote host closed the connection]
<sifi|workd> I don't think you define the data variable until line 273
<sifi|workd> actually that is false
Kuifje has joined #ruby
Kuifje has quit [Changing host]
Kuifje has joined #ruby
DaZ has joined #ruby
elliomax has joined #ruby
foohey has quit [Remote host closed the connection]
philcrissman has joined #ruby
philcrissman has quit [Remote host closed the connection]
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
foohey has joined #ruby
frogstarr78 has quit [Remote host closed the connection]
<Diogo> line 245 data = []
manizzle has quit [Ping timeout: 252 seconds]
philcrissman has joined #ruby
<havenn> Diogo: Can you add the error output to the Gist? Looks like lines 258 and 268 have #size, which is blowing up?
cascalheira has quit [Quit: Leaving...]
<havenn> Diogo: data = []; data[0] #=> nil
<havenn> Diogo: nil.size #=> NoMethodError
elliomax has quit [Ping timeout: 246 seconds]
kn330 has joined #ruby
pwelch has joined #ruby
aajjbb has joined #ruby
Eiam has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
wermel has quit [Remote host closed the connection]
Maniacal has quit [Quit: Leaving]
bondar has joined #ruby
bondar has quit [Client Quit]
c0rn has quit [Quit: Computer has gone to sleep.]
kn330 has quit [Ping timeout: 255 seconds]
emmanuelux has joined #ruby
Virunga has joined #ruby
zeade1 has joined #ruby
dougireton has joined #ruby
maesbn has quit [Remote host closed the connection]
kn330 has joined #ruby
zeade has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
bean has joined #ruby
CaptainJet has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
ffranz has joined #ruby
hasse has quit [Quit: Page closed]
philcrissman has quit [Remote host closed the connection]
gordon1775 has joined #ruby
nat2610 has joined #ruby
thorncp_ is now known as thorncp
nat2610 has quit [Client Quit]
tenmilestereo has joined #ruby
thatguycraig has quit [Quit: Leaving.]
kiyoura has joined #ruby
<Diogo> thnaks..
<Diogo> haveen
DaZ has quit [Ping timeout: 245 seconds]
PragCypher has quit [Ping timeout: 250 seconds]
bean has quit [Quit: Computer has gone to sleep.]
c0rn has joined #ruby
Diogo has quit [Quit: Leaving]
_nitti has quit [Remote host closed the connection]
thams has joined #ruby
philcrissman has joined #ruby
DatumDrop has joined #ruby
p2w has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
PragCypher has joined #ruby
phipes has quit [Quit: phipes]
paolooo has quit [Ping timeout: 245 seconds]
jlast has quit [Remote host closed the connection]
eldariof has quit []
nerd has quit [Read error: Operation timed out]
_nitti has joined #ruby
DaZ has joined #ruby
<oxman> there is only 3 orm for ruby ? Sequel, ActiveRecord, Datamapper ?
aapzak has joined #ruby
lewellyn has left #ruby ["too many channels, sorry."]
spage has joined #ruby
spage has left #ruby [#ruby]
crackfu has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
atadesk has joined #ruby
atadesk has left #ruby [#ruby]
phelps has joined #ruby
timonv has joined #ruby
ebouchut has joined #ruby
spinagon has quit [Ping timeout: 248 seconds]
Eiam has joined #ruby
malcolmva has joined #ruby
<davidcelis> no?
<davidcelis> there are tons of ORMs
<oxman> could you give me links ?
<oxman> cause Sequel is bad with legacy schema, ActiveRecord and Datamapper aren't very good with very complex query
Jasko has quit [Ping timeout: 248 seconds]
<davidcelis> for relational databases?
<oxman> yes
<davidcelis> mysql?
<oxman> yes
aajjbb has quit [Ping timeout: 265 seconds]
<davidcelis> i thought you meant ORMs in general; sorry
<davidcelis> yeah ActiveRecord, Sequel, and DataMapper are the main MySQL compatible ORMs
<oxman> no other choice ?
PragCypher has quit [Ping timeout: 252 seconds]
<davidcelis> I dont know, I've never needed another choice
<yfeldblum> oxman, you can write one :D
<oxman> it's lot of work
<oxman> i already wrote one for php
<oxman> :D
<yfeldblum> oxman, what a waste!!!
jrajav has joined #ruby
<oxman> no :)
tchebb has quit [Quit: ZNC - http://znc.in]
<yfeldblum> oxman, did you try jruby + hibernate?
<ryanf> oxman: why is sequel bad for legacy schema? I didn't think it was very opinionated
<ryanf> definitely less opinionated than activerecord
soulcake has quit [Quit: ZNC - http://znc.in]
<oxman> no
PragCypher has joined #ruby
<oxman> because my colum are like that usr_id, usr_firstname, usr_lastname
<oxman> and i want alias them to id, firstname, lastname
<oxman> but it's not possible in Sequel
soulcake has joined #ruby
atal421 has quit [Ping timeout: 244 seconds]
nerd has joined #ruby
elico has joined #ruby
niklasb has quit [Ping timeout: 244 seconds]
__BigO__ has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
atal421 has joined #ruby
manizzle has joined #ruby
alx- has quit [Quit: alx-]
emmanuelux has quit [Ping timeout: 255 seconds]
danneu has quit [Quit: WeeChat 0.3.8]
v0n has quit [Quit: WeeChat 0.3.9.2]
shevy has quit [Ping timeout: 265 seconds]
bluOxigen has joined #ruby
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
mr-rich has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
v0n has joined #ruby
guns has joined #ruby
kirun_ has joined #ruby
nwertman has joined #ruby
bent has joined #ruby
kirun has quit [Ping timeout: 244 seconds]
AndChat- has quit [Ping timeout: 252 seconds]
mark_locklear has quit [Remote host closed the connection]
lolcathost has quit [Quit: brb peepls!!1]
elliomax has joined #ruby
lolcathost has joined #ruby
_nitti has quit [Remote host closed the connection]
h4mz1d has joined #ruby
bean has joined #ruby
sheerun has quit [Ping timeout: 240 seconds]
elliomax has quit [Ping timeout: 255 seconds]
_bart has joined #ruby
tpe11etier_ has joined #ruby
<_bart> Hi
shevy has joined #ruby
Vainoharhainen has joined #ruby
xclite has quit [Remote host closed the connection]
<_bart> Let's say I made a scraper, that scrapes 10 websites, 5 of them contain the word 'apple', and 5 of them contain 'banana'. A resque/sidekiq worker is responsible of scraping the contents, and stores the value. Now how do I group all the apples and bananas into a model called Case? So that Case 1 contains all the apples and Case 2 contains all the bananas?
Banistergalaxy has joined #ruby
sheerun has joined #ruby
<_bart> I could that using a cronjob, passing all the data and storing the findings into a case_website relationship table.
<_bart> I could do*
<_bart> But that feels weird.
<swarley> that sounds like a rails problem
dp has joined #ruby
JoeHazzers has quit [Quit: JoeHazzers]
<dp> is this the right channge for questions about a specific gem, or only ruby?
<havenn> dp: Either, long as it isn't Rails! :P
<swarley> ^
<dp> heh. trying to find out if maruku has the ability to specify CSS classes on an image
<havenn> _bart: God is really nice alternative to cron jobs, I think.
woolite64 has quit []
<havenn> Heh, had a project the other day called angel and ended up with an angel.god file. >.>
<swarley> Whatever you're doing, it seems like there are easier ways to do it than cron jobs
<havenn> _bart: http://godrb.com/
<_bart> havenn: yes I'm just checking into god, looks great
kn330 has quit [Ping timeout: 265 seconds]
<havenn> _bart: Works really well with Sidekiq/Celluloid.
crackfu has quit [Remote host closed the connection]
Guest has joined #ruby
_nitti has joined #ruby
emmanuelux has joined #ruby
<jrajav> "God" for managing daemons?
Banistergalaxy has quit [Ping timeout: 255 seconds]
dougireton has quit [Quit: Leaving.]
<jrajav> Cute :P
<havenn> dp: Dunno if maruku itself can do that, but maruku uses nokogiri internally and easy with nokogiri.
Beoran_ has quit [Read error: Connection reset by peer]
Guest has left #ruby [#ruby]
Beoran_ has joined #ruby
<_bart> havenn: I'm a little scared to use Sidekiq, because of I'm unsure wether my code is thread safe
kn330 has joined #ruby
otters has joined #ruby
mguy_ has quit [Ping timeout: 276 seconds]
aajjbb has joined #ruby
Vainoharhainen has quit [Quit: Leaving...]
<swarley> What's the fastest way to remove a section of a string out of a string?
mguy_ has joined #ruby
<swarley> something like str.gsub!(/^.{13}/, ''). But not that lame
<hoelzro> swarley: I'm guessing you want something flashy like str[/^.{13}/] = ''
<swarley> well, if that will work a better answer is probably str[0..13] = ''
aajjbb has quit [Ping timeout: 244 seconds]
<apeiros_> str[0,13] != str[0..13]
<apeiros_> first one is 13 chars
<apeiros_> second one is 14 chars
<hoelzro> you could probably trim or something
<_bart> Hmm I have another question. Let's say I have a model named Post, and that has a column called 'category'. Now if the category is ID 0, there is also another 'type' required (maybe call it a subcategory), but how do I store that properly? My first thought was that I should subclass Post into all the 6 types of Posts there are.. but that's not the way I think.
<_bart> ehh, 'into the 6 categories of Posts there are'*
<havenn> str[13..-1] or str.slice!(0..12) maybe?
track7 has quit [Read error: Connection reset by peer]
shemerey has joined #ruby
track7 has joined #ruby
iamjarvo has joined #ruby
track7 has quit [Read error: Connection reset by peer]
matrixise has quit [Ping timeout: 248 seconds]
snearch has joined #ruby
_adeponte has joined #ruby
adeponte has quit [Ping timeout: 252 seconds]
track7 has joined #ruby
matrixise has joined #ruby
phelps has quit [Quit: Textual IRC Client: www.textualapp.com]
<maetthew> Hmm I have maybe a small project in mind. But I'm not really sure how to do it. I want to copy my bank statement in to CSV
timonv has quit [Ping timeout: 264 seconds]
<maetthew> anyone got ideas on how I should pursue, gems etc?
<maetthew> i see there are CSV built into Ruby
<maetthew> but there are also gems
<havenn> maetthew: What was the FasterCSV gem is now the stdlib CSV in Ruby 1.9 if I recall correctly. I'd suggest a modern Ruby and just use CSV.
<maetthew> ah yeah 1.9.3-p327
<maetthew> :p
<maetthew> that will help, thanks havenn
jfl0wers has joined #ruby
elliomax has joined #ruby
Morkel has joined #ruby
Banistergalaxy has joined #ruby
<tjbiddle> anyone mind taking a look at a small snippet? haven't touched rspec in a while (and when i did the past not even sure if i was doing it correctly) and I'm completely blanking on what's wrong.
<havenn> tjbiddle: Gist eet!
<tjbiddle> woot! sec
eka has quit [Remote host closed the connection]
eka has joined #ruby
foohey has quit [Remote host closed the connection]
beneggett has quit [Quit: Computer has gone to sleep.]
foohey has joined #ruby
_nitti has quit [Remote host closed the connection]
<tjbiddle> can't even test the first 4 lines of a method, so bit frustrated already, ha. i know it has to be something simple
miskander has quit [Quit: miskander]
_nitti has joined #ruby
eka has quit [Client Quit]
<tjbiddle> well, one problem: get :build should be at the bottom - ha.
eka has joined #ruby
DatumDrop has quit [Remote host closed the connection]
arkiver has quit [Quit: Leaving]
daed has joined #ruby
<swarley> tjbiddle; We also need the error gisted
<tjbiddle> doh!
<tjbiddle> swarley & havenn: https://gist.github.com/4355858
cj3kim has joined #ruby
<swarley> this uhm..
<swarley> tjbiddle; get :build is still supposed to be at the bottom isn't it?
<tjbiddle> yeah - mentioned that above. same error regardless. i'm sure that would have caused another error down the road though. already moved it
<swarley> also that spec lib looks like garbage. It didn't even give a traceback
* tjbiddle shrugs
<tjbiddle> didn't give me anything else to work with
tyfighter has joined #ruby
atal421 has quit [Ping timeout: 245 seconds]
<aedorn> why would it give a trace? It's not an error
deepboy has quit [Ping timeout: 252 seconds]
<swarley> Ah, you're right. I was looking at it like there was one
<swarley> My bad
<shevy> oh
workmad3 has joined #ruby
<shevy> when I have a method: "def foo; puts 'test'; end", is there a simple way, from the bash commandline, to ask the content of this method?
<shevy> introspection
<shevy> it would be in some file, let's say foo.rb
<shevy> hmm actually, from within a .rb file too, that could be useful
<swarley> pry -e"load foo.rb\nshow-source foo"
<swarley> pry -e"load 'foo.rb'\nshow-source foo"
<swarley> or not
krawchyk has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 260 seconds]
atal421 has joined #ruby
Jackneill has quit [Remote host closed the connection]
<ryanf> no, -e won't work with commands
<ryanf> maybe echo "show-source foo" | pry -r./foo ?
<ryanf> I have no idea if that would work though
<aedorn> shevy: is using awk allowed? heh
<ryanf> swarley: yeah, that works
<ryanf> or more concisely
<swarley> pry -r./foo.rb -e"show-source foo"
<swarley> it works
<ryanf> echo '$ foo' | pry -r./foo
<swarley> but it starts the pry instance
<ryanf> yeah one advantage of the echo version is that it EOFs properly
<swarley> ^
havenn has quit [Read error: No route to host]
havenn has joined #ruby
patrick99e99 has joined #ruby
awarner has quit [Remote host closed the connection]
<patrick99e99> Hey everyone.. I am a little confused on how to use Dir.glob... I basically want to get a list of all .html files within a directory
<patrick99e99> but I don't see how to specify what directory... ?
<patrick99e99> oh wait
<patrick99e99> I see chdir
<oxman> sorry to ask again, but there is only 3 orm for ruby ? Sequel, ActiveRecord, Datamapper ? for mysql
sifi|workd has quit [Remote host closed the connection]
lolcathost has quit [Quit: leaving]
tchebb has joined #ruby
<aedorn> patrick99e99: Dir["dir/path/*.html"]
vlad_starkov has joined #ruby
<aedorn> which is the same as calling Dir.glob("dir/path/*.html")
gordon1775 has quit [Read error: Connection reset by peer]
ryanf_ has joined #ruby
ryanf has quit [Quit: leaving]
zigomir has joined #ruby
evilsushi has joined #ruby
evilsushi has joined #ruby
evilsushi has quit [Changing host]
bean has quit [Quit: Computer has gone to sleep.]
adamnbowen has quit [Quit: Textual IRC Client: www.textualapp.com]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
elaptics is now known as elaptics`away
chessguy has quit [Remote host closed the connection]
wallerdev has joined #ruby
alexspeller has joined #ruby
The_8473 is now known as The_8472
joshman_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Tabrenus has joined #ruby
davidboy___ is now known as davidboy
bean has joined #ruby
ryanf_ has quit [Quit: broken pipes |||]
joshman_ has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
Banistergalaxy has quit [Ping timeout: 255 seconds]
vlad_starkov has quit [Remote host closed the connection]
wargasm has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
blacktulip has quit [Remote host closed the connection]
bent is now known as blakeeb
geekbri__ has quit [Remote host closed the connection]
burgestrand1 has joined #ruby
crackfu has joined #ruby
kokainepizza has quit [Quit: My pooter is sleep.]
burgestrand has quit [Ping timeout: 244 seconds]
burgestrand1 has quit [Client Quit]
kirun_ has quit [Quit: Client exiting]
menace has joined #ruby
mattsgarrison has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
philcrissman has quit [Remote host closed the connection]
<oxman> hum.. :)
jerius has quit [Read error: Operation timed out]
_nitti has quit [Remote host closed the connection]
ebouchut has quit [Quit: This computer has gone to sleep]
pwelch_ has joined #ruby
evilsushi has quit [Quit: Lost terminal]
pwelch_ has quit [Remote host closed the connection]
pwelch has quit [Read error: Connection reset by peer]
pwelch_ has joined #ruby
lolcathost has joined #ruby
<aedorn> Wonder if there would be any demand for a BSD system that uses Ruby to configure itself (like pfsense does with php)
<TTilus> oxman: those three are the big ones
d34th4ck3r has joined #ruby
<oxman> a little on is not a probleme for me :)
tommyvyo_ has quit [Ping timeout: 248 seconds]
Tabrenus has quit [Quit: Tabrenus]
<TTilus> oxman: do those not do what you need or?
cakehero has quit [Quit: Computer has gone to sleep.]
<oxman> i need an orm with legacy support (i mean alias column/table) and can make very complexe request
pwelch_ has quit [Ping timeout: 265 seconds]
Xaratas has quit []
freakazoid0223 has quit [Read error: Connection reset by peer]
lapinferoce has joined #ruby
<TTilus> oxman: ar can do those afaik
_nitti has joined #ruby
<oxman> no, ar can't do very complexe request
<oxman> sequel can
<TTilus> does not arel implement a complete relational algebra?
<oxman> no
menace has left #ruby [#ruby]
<TTilus> and for some reason sequel doesnt work for you?
lolcathost has quit [Quit: leaving]
x82_nicole has quit [Ping timeout: 248 seconds]
<oxman> it can't do legacy support
<oxman> alias column
<TTilus> isnt column aliasing implementable just by aliasing accessor methods?
<oxman> not really
<oxman> the dataset is not ok
rondale_sc has quit [Quit: rondale_sc]
rakl has joined #ruby
atal421 has quit [Ping timeout: 265 seconds]
theRoUS has quit [Ping timeout: 260 seconds]
rondale_sc has joined #ruby
atal421 has joined #ruby
nga4 has quit [Ping timeout: 245 seconds]
rondale_sc has left #ruby [#ruby]
tvw has joined #ruby
aedorn has quit [Quit: Leaving]
Poapfel has quit [Quit: WeeChat 0.3.7]
Morkel has quit [Quit: Morkel]
emergion has joined #ruby
timonv has joined #ruby
tommyvyo_ has joined #ruby
d2dchat has quit [Remote host closed the connection]
atadesk has joined #ruby
atadesk has quit [Client Quit]
c0rn has joined #ruby
n0cturne has joined #ruby
v0n has quit [Quit: WeeChat 0.3.9.2]
v0n has joined #ruby
zeade1 has quit [Quit: Leaving.]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
zeade has joined #ruby
zeade has quit [Client Quit]
hoelzro is now known as hoelzro|away
mockra has quit [Remote host closed the connection]
atno has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
Banistergalaxy has quit [Ping timeout: 245 seconds]
pock-a-lips is now known as Lemtzas
Banistergalaxy has joined #ruby
v0n has quit [Read error: Operation timed out]
_nitti has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
tyfighter has joined #ruby
warb0 has quit [Quit: Textual IRC Client: www.textualapp.com]
marek`` has joined #ruby
philcrissman has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
frogstarr78 has joined #ruby
philcrissman has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
nga4 has joined #ruby
<JohnTeddy> How can I feed a block to a class/function in irb?
atno has joined #ruby
tpe11etier_ has quit [Quit: tpe11etier_]
snearch has quit [Quit: Verlassend]
tenmilestereo has quit [Quit: Leaving]
<davidcelis> feed?
<eka> JohnTeddy: as you would do in normal code
ryanf has joined #ruby
<eka> JohnTeddy: btw use pry… is better
guns has quit [Quit: guns]
PragCypher has quit [Ping timeout: 265 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
AndChat| has joined #ruby
Siphonblast has quit [Read error: Connection reset by peer]
Hannes3 has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
<apeiros_> JohnTeddy: irb works (almost) exactly the same as ruby
PragCypher has joined #ruby
emergion has joined #ruby
Banistergalaxy has quit [Ping timeout: 252 seconds]
ffranz has quit [Ping timeout: 244 seconds]
aaronmacy has quit [Quit: Leaving.]
Goles has quit [Quit: Computer has gone to sleep.]
atmosx has joined #ruby
<slash_nick> sudo reboot!
<slash_nick> !!
slash_nick has quit [Quit: Lost terminal]
alanjc has quit [Quit: alanjc]
judd7_ has joined #ruby
judd7_ has quit [Client Quit]
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby
tommyvyo has quit [Quit: http://thomasvendetta.com]
breakingthings has quit []
nemesit has quit [Quit: Leaving...]
tommyvyo has joined #ruby
vlad_starkov has joined #ruby
tommyvyo has quit [Client Quit]
ltsstar has joined #ruby
alanp_ has joined #ruby
bwlang has left #ruby [#ruby]
daniel_hinojosa has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
eka has quit [Quit: chant Hare Krishna and be Happy]
alanp has quit [Ping timeout: 248 seconds]
<Hannes3> hf
speakingcode has quit [Ping timeout: 246 seconds]
rakl has quit [Quit: sleeping]
joshman_ has quit [Ping timeout: 246 seconds]
lolcathost has joined #ruby
rakuN has quit [Remote host closed the connection]
alanp_ is now known as alanp
atal421 has quit [Ping timeout: 265 seconds]
stkowski has quit [Quit: stkowski]
marek`` has quit [Remote host closed the connection]
C0deMaver1ck has quit [Remote host closed the connection]
tjbiddle_ has joined #ruby
dp has left #ruby [#ruby]
atal421 has joined #ruby
ltsstar has quit [Quit: ltsstar]
ryannielson has joined #ruby
tjbiddle has quit [Ping timeout: 248 seconds]
zastern has quit [Remote host closed the connection]
SCommette has quit [Quit: SCommette]
tjbiddle_ has quit [Ping timeout: 252 seconds]
saml has quit [Quit: Leaving]
stopbit has quit [Quit: Leaving]
Guest74591 has quit [Quit: This computer has gone to sleep]
emergion has quit [Quit: Computer has gone to sleep.]
aharris6 has joined #ruby
AndChat| has quit [Ping timeout: 252 seconds]
SeySayux has quit [Ping timeout: 260 seconds]
Kuifje has quit [Ping timeout: 265 seconds]
ffranz has joined #ruby
Villadelfia has quit [Ping timeout: 245 seconds]
ffranz has quit [Remote host closed the connection]
ryannielson has left #ruby [#ruby]
Squarepy has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jrajav has quit [Quit: I tend to be neutral about apples]
Iuz has quit [Remote host closed the connection]
Squarepy has quit [Changing host]
Squarepy has joined #ruby
Villadelfia has joined #ruby
SeySayux has joined #ruby
pyx has joined #ruby
elico has quit [Remote host closed the connection]
fasta_ has quit [Ping timeout: 250 seconds]
banisterfiend has quit [Remote host closed the connection]
segv- has quit [Ping timeout: 255 seconds]
fasta has joined #ruby
Teddy2steper has joined #ruby
n0cturne has left #ruby [#ruby]
axl_ has joined #ruby
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
fgro has joined #ruby
cantonic has joined #ruby
jonathanwallace1 has joined #ruby
nick_h has quit [Read error: Operation timed out]
elliomax has quit [Remote host closed the connection]
pyx has quit [Quit: WeeChat 0.3.9.2]
Virunga has quit [Ping timeout: 252 seconds]
jonathanwallace has quit [Ping timeout: 260 seconds]
atal421 has quit [Quit: atal421]
Virunga has joined #ruby
aharris6 has quit [Remote host closed the connection]
rellin has joined #ruby
matrixise has quit [Ping timeout: 255 seconds]
huoxito has quit [Quit: Leaving]
voodoofish430 has quit [Quit: Leaving.]