apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
thyagobr has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
jkhwan_ has quit [Ping timeout: 272 seconds]
_Bravado has joined #ruby
mantas322 has joined #ruby
<mantas322> Hi guys
<mantas322> How can I do the opposite direction of this?
<mantas322> brandDict = departmentDict.sort_by {|_key, value| value}
jonathanwallace has joined #ruby
<mantas322> instead of sorting least to greatest i want it to sort most to least
<volty> reverse
kvirani has joined #ruby
Mon_Ouie has joined #ruby
ukd1_ has joined #ruby
<mantas322> instead of sort_by ???
juarlex has joined #ruby
<mantas322> sry im a ruby nub
aantix has quit [Quit: aantix]
lukec has joined #ruby
mixel has quit [Ping timeout: 260 seconds]
<mantas322> oh I did it
<mantas322> thank you!
<mantas322> I mean u did it
* mantas322 gives volty a box with a blue ribbon on it
* mantas322 "don't open that volty"
_Bravado has quit [Quit: _Bravado]
mantas322 has quit []
bline79_ has joined #ruby
ukd1 has quit [Ping timeout: 272 seconds]
pwh has joined #ruby
mixel has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
Biohazard has quit [Ping timeout: 245 seconds]
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
lmickh has joined #ruby
ravster has quit [Quit: Leaving.]
bio has joined #ruby
havenwood has quit [Remote host closed the connection]
<shevy> lol
carif has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
k610 has quit [Quit: Leaving]
zewelor has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
Aryasam has quit [Ping timeout: 265 seconds]
frem has quit [Ping timeout: 252 seconds]
Aryasam has joined #ruby
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
tvw has quit []
frem has joined #ruby
raul782_ has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
raul782_ has joined #ruby
jrhorn424 is now known as zz_jrhorn424
nonamehero has quit [Ping timeout: 245 seconds]
<zewelor> hi, im trying to make some methods defined based on conditions but I cant get it to work as expected. http://pastebin.com/AgqRhq5M in that case i don't want to class B have that method hello. How can i get it to work ?
Hanmac has quit [Ping timeout: 268 seconds]
<volty> undef_method
Spami has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
<zewelor> volty: but i would need to place it in the B class ?
jonr22 has quit [Ping timeout: 253 seconds]
<volty> of course
<zewelor> i would preffer some solution that would work inside A class, so i dont have to alter all classes that inherits after A
<volty> undef_method(:hello) if method_defined?(:hello)
nari has joined #ruby
<zewelor> i was thinking maybe there is some callback that gets executed later inside A ?
AlSquirrel has joined #ruby
AlSquirrel has quit [Client Quit]
<zewelor> inherited callback gets executed too soon
thepumpkin has joined #ruby
lewis_ has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
|jemc| has quit [Ping timeout: 272 seconds]
<andrewvos> What is [[ ! -r in bash?
Ripp__ has joined #ruby
lewis_ has joined #ruby
raul782_ has quit [Ping timeout: 272 seconds]
<andrewvos> I mean, what is -r in particular
<zewelor> True if file exists and is readable.
<volty> #bash
robscomputer has quit [Ping timeout: 268 seconds]
<volty> zewelor: move that code in A
<volty> def self.undef_hello(); undef_method(:hello) if method_defined?(:hello); end
dayepa has quit [Quit: dayepa]
danshult_ has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
danshultz has quit [Quit: Coyote finally caught me]
Jabberish has joined #ruby
thepumpkin has quit [Ping timeout: 252 seconds]
dayepa has joined #ruby
nari has quit [Ping timeout: 272 seconds]
jrhe has quit [Quit: jrhe]
lewis_ has quit [Ping timeout: 240 seconds]
danshult_ is now known as danshultz
pel_daniel has left #ruby [#ruby]
VTLob has quit [Quit: VTLob]
Deele has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Ping timeout: 265 seconds]
<atlantaman> have a validation question using ActiveModel::Validations without rails, i have validates_presence_of :from in my class, i instantiate the class without defining :from, and i expect that object.valid? would return false, but it returns true. Code here https://gist.github.com/anonymous/7259192
<volty> #rubyonrails
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
rraya has quit [Quit: Leaving.]
robscomputer has joined #ruby
<atlantaman> i am not using rails
<zewelor> volty: i should define that undef_hello method in A ?
MisutoWolf has joined #ruby
endash has quit [Ping timeout: 272 seconds]
<MisutoWolf> Hm.
<MisutoWolf> I dunno if I like mate, at least on my laptop.
<MisutoWolf> I should look for themes or something.
zz_karupanerura is now known as karupanerura
shevy has joined #ruby
<volty> zewelor: wherever you want A, B, C // i do not know what you want and what you'll do with your classes
kvirani has left #ruby [#ruby]
<volty> atlantaman: ActiveModel is in domain of rails' knowledge
lmickh has quit [Quit: lmickh]
<atlantaman> ok, thanks
<MisutoWolf> ooh, this isn't bad
Targen has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
ryanRT_ has quit [Quit: Ex-Chat]
hogeo has joined #ruby
tonni has joined #ruby
Guest27067 has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
flagg0204 has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
linguini has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
|jemc| has joined #ruby
theoretick has quit [Quit: Textual IRC Client: www.textualapp.com]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
goleldar has quit []
ukd1_ has quit [Quit: Leaving...]
vlad_starkov has joined #ruby
adeponte has quit [Remote host closed the connection]
tonni has quit [Ping timeout: 252 seconds]
adeponte has joined #ruby
ehc has quit [Quit: ehc]
|jemc| has quit [Quit: WeeChat 0.4.1]
|jemc| has joined #ruby
adeponte has quit [Ping timeout: 264 seconds]
m8 has quit [Quit: Sto andando via]
jkline has joined #ruby
bricker`LA has quit [Quit: leaving]
jonathanwallace has joined #ruby
atlantaman has left #ruby [#ruby]
atlantaman_ has joined #ruby
raul782_ has joined #ruby
freerobby has quit [Quit: Leaving.]
endash has joined #ruby
fijimunkii has quit [Ping timeout: 272 seconds]
codeFiend has joined #ruby
heidi has quit [Quit: Leaving.]
predator217 has joined #ruby
nonamehero has joined #ruby
bugsinlights has joined #ruby
baroquebobcat has joined #ruby
timonv has joined #ruby
tkuchiki has joined #ruby
io_syl has quit [Ping timeout: 272 seconds]
MrPoT4tO has joined #ruby
jkline has quit [Quit: jkline]
mrpot4to_ has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
Foredoomed has joined #ruby
smathieu has quit [Remote host closed the connection]
<DanBoy> Radar, you around?
<DanBoy> woops
smathieu has joined #ruby
ephemerian has quit [Quit: Leaving.]
maletor has quit [Quit: Computer has gone to sleep.]
lmickh has joined #ruby
rraya has joined #ruby
MrPoT4tO has quit [Read error: Connection reset by peer]
mrpot4to_ has quit [Read error: Connection reset by peer]
soheil has quit [Remote host closed the connection]
MrPoT4tO has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
danshultz has quit [Remote host closed the connection]
rraya1 has joined #ruby
rraya has quit [Read error: Connection reset by peer]
mrpot4to_ has joined #ruby
zarubin has quit [Ping timeout: 272 seconds]
raphaelivan has quit [Quit: Leaving.]
sdavis has joined #ruby
larissa has joined #ruby
smathieu has quit [Ping timeout: 260 seconds]
sevenseacat has joined #ruby
k610 has joined #ruby
sdavis has quit [Client Quit]
brtdv has quit []
robscomputer has quit [Ping timeout: 268 seconds]
<shevy> volty are you on rubygems.org ?
jonr22 has joined #ruby
<volty> no
<shevy> :(
<volty> whY?
ulik has joined #ruby
allaire has quit []
atlantaman_ has quit [Ping timeout: 268 seconds]
atlantaman_ has joined #ruby
RORgasm has joined #ruby
MisutoWolf has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
jonr22 has quit [Ping timeout: 252 seconds]
CaptainJet has quit []
Heero has joined #ruby
falood has joined #ruby
yano has joined #ruby
falood has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
lmickh has quit [Quit: lmickh]
mrsolo has quit [Quit: Leaving]
falood has joined #ruby
<volty> damn new world! with white and gray characters on black background !
yfeldblum has quit [Remote host closed the connection]
mrsolo has joined #ruby
TheMoonMaster has quit [Excess Flood]
atlantaman_ has left #ruby [#ruby]
brianpWins has quit [Quit: brianpWins]
RORgasm has quit [Ping timeout: 272 seconds]
mois3x_ has joined #ruby
aspiers has quit [Ping timeout: 246 seconds]
TheMoonMaster has joined #ruby
Liquid-- has quit [Quit: Computer has gone to sleep.]
salt_ has joined #ruby
end_guy has quit [Remote host closed the connection]
danman has joined #ruby
atlantaman_ has joined #ruby
mois3x_ has left #ruby [#ruby]
end_guy has joined #ruby
<salt_> I want to create a follow button on a user index
<salt_> but i need to find a way to render my partials with an iteration of params
<volty> #rubyonrails
xk_id has quit [Quit:
<salt_> ha thanks
danman has quit [Client Quit]
Aryasam has quit [Quit: Bye]
nucatus has joined #ruby
Zerg_Rush_ has quit [Quit: Page closed]
juarlex has quit [Remote host closed the connection]
flayer has quit []
kevinykchan has quit [Quit: Computer has gone to sleep.]
jaimef has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
nucatus has quit [Ping timeout: 246 seconds]
Vendethi_ has joined #ruby
Gooder` has quit [Remote host closed the connection]
near89 has joined #ruby
<near89> hi
<near89> im not sure what im doing wrong
<near89> but Im trying to create a new thread in ruby
<near89> t1=Thread.new{uploadtoes(events)} t1.join
soheil has joined #ruby
<near89> but after i do that
<near89> the program keeps waiting for the thread to finish
<near89> it should continue , and the thread work on its own, right?
k610 has quit [Quit: Leaving]
<volty> keeps waiting where?
psyprus has quit [Read error: Connection reset by peer]
Vendethi_ has quit [Ping timeout: 252 seconds]
psyprus has joined #ruby
earthquake has joined #ruby
soheil has quit [Ping timeout: 265 seconds]
<near89> i mean
<near89> the rest of the code keeps waiting for the function to start
<near89> i mean finish
<near89> when it should just create a new separate thread
<near89> and continue without taking much time
tonni has joined #ruby
<volty> post the code
funburn has joined #ruby
<volty> paste it somewhere
jaimef has quit [Excess Flood]
jaimef has joined #ruby
mmitchell has quit [Remote host closed the connection]
mois3x has joined #ruby
<mois3x> hi
BlackPanx_ has joined #ruby
<bnagy> near89: that what #join _does_ - it waits for a given thread to finish
Bry8Star{T2 has joined #ruby
mrsolo has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
mrsolo has joined #ruby
<near89> oh so if i want it to work on its own
<near89> i just remove the join?
<bnagy> as long as you don't smack into the end of your main thread, yeah
tonni has quit [Ping timeout: 252 seconds]
<volty> but it gets killed if not finished and your program exits
<bnagy> a common mistake is to spin a thread and then the main thread just exits
<near89> I have a while(1) so it wouldnt matter
lukec has quit [Quit: lukec]
<BlackPanx_> hello everyone. i have currently running application in ruby, and currently there are 3 of them running on my server. i'm not really familiar with mongrel_rails but, is this like a standalone app you can start as many times as you want ?
sepp2k has quit [Quit: Leaving.]
<bnagy> don't use while(1) it's ugly
<bnagy> use loop do
<near89> what should i use?
<sevenseacat> why use a separate thread then, if youre just going to wait in the first one
<near89> oh jhha
<near89> because its too slow
<near89> im using elasticsearch
<near89> doing a bulk update
frem has quit [Ping timeout: 272 seconds]
<BlackPanx_> http://pastebin.com/ys9s05am this is my current server process list and apache configuration
<BlackPanx_> currently it's being used only on 3 processors... i wonder if i spawn more of these rails processes, it will distribute to more processors ?
vlad_starkov has joined #ruby
drag00n has joined #ruby
aspiers has joined #ruby
<bnagy> BlackPanx_: you're probably better off in #rubyonrails
<BlackPanx_> oh okay
coca_rails has joined #ruby
jeffboek has joined #ruby
terrellt has quit [Ping timeout: 245 seconds]
zz_tsykoduk is now known as tsykoduk
salt_ has quit [Quit: salt_]
endash has quit [Ping timeout: 246 seconds]
atlantaman_ has left #ruby [#ruby]
funburn has quit [Quit: funburn]
rraya1 has left #ruby [#ruby]
yfeldblum has quit [Remote host closed the connection]
lmickh has joined #ruby
jeffboek has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lmickh has quit [Client Quit]
bugsinlights has quit [Remote host closed the connection]
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
yfeldblum has joined #ruby
lstefani has quit [Read error: Connection reset by peer]
jonr22 has quit [Ping timeout: 272 seconds]
splittingred has joined #ruby
lstefani has joined #ruby
Hanmac has joined #ruby
pwh has quit [Ping timeout: 268 seconds]
whunt has quit [Quit: Computer has gone to sleep.]
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
near89 has quit [Quit: Page closed]
Hanmac1 has quit [Ping timeout: 272 seconds]
alvaro_o has quit [Quit: Ex-Chat]
lukec has joined #ruby
navyant24 has joined #ruby
mixel has quit [Quit: mixel]
volty has quit [Quit: Konversation terminated!]
sriehl has joined #ruby
yfeldblum has quit [Remote host closed the connection]
petey_ has quit [Ping timeout: 246 seconds]
codeFiend has quit [Quit: codeFiend]
whunt has joined #ruby
frem has joined #ruby
navyant24 has quit [Quit: navyant24]
thepumpkin has joined #ruby
jibi has quit [Quit: .]
kirun has quit [Quit: Client exiting]
s3itz has joined #ruby
tonni has joined #ruby
coderhs has quit [Ping timeout: 252 seconds]
_maes_ has joined #ruby
splittingred has quit [Quit: splittingred]
thepumpkin has quit [Ping timeout: 264 seconds]
digital-ghost has quit [Remote host closed the connection]
nucatus has joined #ruby
burlyscudd has joined #ruby
_Bravado has joined #ruby
tonni has quit [Ping timeout: 252 seconds]
kenneth has quit [Quit: kenneth]
nucatus has quit [Ping timeout: 253 seconds]
pwh has joined #ruby
tjbarber has joined #ruby
pwh has quit [Max SendQ exceeded]
Targen has quit [Ping timeout: 246 seconds]
soheil_ has joined #ruby
io_syl has joined #ruby
pwh has joined #ruby
fijimunkii has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
decoponio has joined #ruby
sriehl has quit []
burlyscudd has quit [Quit: Leaving.]
soheil_ has quit [Ping timeout: 240 seconds]
tonni has joined #ruby
simoz has quit [Ping timeout: 272 seconds]
pwh has quit [Ping timeout: 240 seconds]
ananthakumaran has joined #ruby
Gooder has joined #ruby
IceDragon has quit [Quit: Space~~~]
pwh has joined #ruby
simoz has joined #ruby
fridim_ has joined #ruby
fijimunkii has quit [Ping timeout: 240 seconds]
BlackPanx_ has quit [Quit: Page closed]
Asher1 has joined #ruby
tsykoduk is now known as zz_tsykoduk
Asher has quit [Ping timeout: 240 seconds]
tonni has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
coderhs has joined #ruby
pwh has quit [Ping timeout: 265 seconds]
felkel has joined #ruby
mrpot4to_ has quit [Read error: Connection reset by peer]
MrPoT4tO has quit [Read error: Connection reset by peer]
MrPoT4tO has joined #ruby
coderhs has quit [Client Quit]
pwh has joined #ruby
bline79__ has joined #ruby
bline79_ has quit [Ping timeout: 246 seconds]
lstefani has quit [Ping timeout: 245 seconds]
vlad_sta_ has joined #ruby
splittingred has joined #ruby
mrpot4to_ has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
lstefani has joined #ruby
pwh has quit [Max SendQ exceeded]
jkhwan has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
vlad_starkov has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
jkhwan has joined #ruby
mlpinit has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
mlpinit has quit [Ping timeout: 252 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
tjbarber has quit [Quit: Textual IRC Client: www.textualapp.com]
tjad has joined #ruby
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby
jonr22 has joined #ruby
funburn has joined #ruby
funburn has quit [Client Quit]
jonr22 has quit [Ping timeout: 268 seconds]
pwh has quit [Ping timeout: 265 seconds]
polaco is now known as polaco_zZz
sadleb has quit [Ping timeout: 272 seconds]
<coca_rails> Hello room.
tomas has joined #ruby
<coca_rails> Any newbies feel like pairing up on a project with a fellow newbie on a rails project I just started?
freerobby has quit [Quit: Leaving.]
<tomas> hi, I've got a ruby script that I run via cron, and I get an Fatal: undefined method `empty?' for #<Encoding::UndefinedConversionError:0x000000028f7148> error, script works fine if I call it from within console
aspiers has quit [Ping timeout: 245 seconds]
<tomas> do I need to set encoding in my cron job or something like that?
ace_striker has quit [Ping timeout: 250 seconds]
robscomputer has joined #ruby
pr0ggie has quit [Ping timeout: 256 seconds]
pdimitrov has quit [Ping timeout: 272 seconds]
r0bby_ has joined #ruby
allaire has joined #ruby
simoz has quit [Ping timeout: 265 seconds]
RORgasm has joined #ruby
zz_tsykoduk is now known as tsykoduk
nwertman has joined #ruby
rurufufuss has joined #ruby
<bnagy> make sure cron is running the same ruby version as your user account
Lewix has quit [Remote host closed the connection]
RORgasm has quit [Ping timeout: 246 seconds]
pwh has joined #ruby
nwertman has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
drag00n has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby
r0bby_ has quit [Ping timeout: 265 seconds]
yacks has joined #ruby
justsee has joined #ruby
<tomas> bnagy: thanks, there's only 1 version on the system
<tomas> (I don't use rvm)
<tomas> there are multiple files that script is processing, and it works on all but one, if I run it manually it works on all
nucatus has joined #ruby
pr0ggie has joined #ruby
<tomas> I'll try encoding the files to ascii
pdimitrov has joined #ruby
mrsolo has joined #ruby
<bnagy> weird
<bnagy> I would dump RbConfig::CONFIG to a file from both invocations and diff them
<tomas> bnagy: can I run this via command line like: ruby -c "dump RbConfig::CONFIG" ?
<bnagy> yeah, ruby -e
Shidash has joined #ruby
<bnagy> yeah, ruby -e 'puts 'RbConfig::CONFIG.to_a' should do it
<tomas> sorry, ruby -e "dump RbConfig::CONFIG" gives: -e:1:in `<main>': undefined method `dump' for main:Object (NoMethodError)
<bnagy> ugly output, but good enough for government work
s3itz has quit [Quit: Textual IRC Client: www.textualapp.com]
nucatus has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
<tomas> ruby -e "puts RbConfig::CONFIG.to_a" works
soheil_ has joined #ruby
<tomas> thanks for the help bnagy will wait for the next cron.hourly (:
yfeldblum has joined #ruby
sparq_ has quit [Ping timeout: 245 seconds]
vlad_sta_ has quit [Ping timeout: 272 seconds]
earthquake has quit [Quit: earthquake]
tonni has joined #ruby
arietis has joined #ruby
soheil_ has quit [Ping timeout: 251 seconds]
yfeldblum has quit [Remote host closed the connection]
i8igmac has quit [Ping timeout: 268 seconds]
robscomputer has quit [Remote host closed the connection]
yfeldblum has joined #ruby
frem has quit [Ping timeout: 252 seconds]
robscomputer has joined #ruby
<tomas> aaaah found it
<tomas> “UpdateForExtraDevWeeks”
<tomas> my terminal doesn't understand the ”
<bnagy> oh curly quotes
radic has quit [Disconnected by services]
radic_ has joined #ruby
mois3x has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Max SendQ exceeded]
tonni has quit [Ping timeout: 252 seconds]
CreativeEmbassy has joined #ruby
TheMoonMaster has quit [Excess Flood]
robbyoconnor has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
robscomputer has quit [Ping timeout: 272 seconds]
coca_rails has quit [Remote host closed the connection]
<tomas> if you ever run into this
coca_rails has joined #ruby
<tomas> thanks and have a nice day
tomas has left #ruby [#ruby]
TheMoonMaster has joined #ruby
DAYSofVICE has joined #ruby
Hanmac1 has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
pwh has quit [Ping timeout: 240 seconds]
vlad_sta_ has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
jonahR has joined #ruby
vlad_starkov has quit [Ping timeout: 268 seconds]
platypine has quit [Ping timeout: 272 seconds]
baroquebobcat has joined #ruby
yacks has quit [Quit: Leaving]
RichardBaker has joined #ruby
mrpot4to_ has quit [Remote host closed the connection]
MrPoT4tO has quit [Read error: Connection reset by peer]
hiyosi has quit [Ping timeout: 268 seconds]
osvico has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
mlpinit has joined #ruby
mrsolo has joined #ruby
coca_rails has joined #ruby
candlej4ck has joined #ruby
candlej4ck has quit [Client Quit]
mlpinit has quit [Ping timeout: 260 seconds]
derebos has quit [Quit: Leaving]
jonahR has quit [Quit: jonahR]
taternuts has quit [Ping timeout: 268 seconds]
prophile has quit [Changing host]
prophile has joined #ruby
lukec has quit [Quit: lukec]
OdNairy has joined #ruby
splittingred has quit [Quit: splittingred]
SilverKey has quit [Remote host closed the connection]
sayan has joined #ruby
astrobunny has joined #ruby
Lewix has joined #ruby
astrobun_ has quit [Ping timeout: 245 seconds]
Foredoomed has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jonahR has joined #ruby
thepumpkin has joined #ruby
DrCode has joined #ruby
hiyosi has joined #ruby
vlad_starkov has joined #ruby
sayan has quit [Ping timeout: 264 seconds]
yfeldblu_ has joined #ruby
thepumpkin has quit [Ping timeout: 265 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
jlast has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
zz_jrhorn424 is now known as jrhorn424
hiyosi has quit [Ping timeout: 268 seconds]
axl_ has quit [Quit: axl_]
pdimitrov has quit [Ping timeout: 260 seconds]
pr0ggie has quit [Ping timeout: 260 seconds]
jrhorn424 is now known as zz_jrhorn424
cfi30 has joined #ruby
jlast has quit [Ping timeout: 260 seconds]
timonv has joined #ruby
soheil_ has joined #ruby
Foredoomed has joined #ruby
brianpWins has joined #ruby
jeffboek has joined #ruby
tonni has joined #ruby
raul782_ has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 264 seconds]
raul782_ has joined #ruby
soheil_ has quit [Ping timeout: 272 seconds]
raul782_ has quit [Read error: Connection reset by peer]
raul782_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Foredoomed has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
Hanmac has joined #ruby
judd7_ has joined #ruby
mrsolo has joined #ruby
nfk has quit [Quit: yawn]
lukec has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
tonni has quit [Ping timeout: 252 seconds]
larissa has quit [Quit: Leaving]
pr0ggie has joined #ruby
pdimitrov has joined #ruby
mac_ has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
pu22l3r has joined #ruby
banghouse2 has quit [Ping timeout: 265 seconds]
mac_ has quit [Client Quit]
navyant24 has joined #ruby
jonr22 has joined #ruby
judd7_ has quit [Quit: judd7_]
sophomorical has quit [Ping timeout: 240 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pwh has joined #ruby
pu22l3r has quit [Ping timeout: 268 seconds]
allaire has quit []
Hien_ has quit [Read error: Connection reset by peer]
Hien has joined #ruby
jonr22 has quit [Ping timeout: 240 seconds]
tsykoduk is now known as zz_tsykoduk
sophomorical has joined #ruby
navyant24 has left #ruby [#ruby]
havenwood has joined #ruby
judd7_ has joined #ruby
aantix has joined #ruby
mgorbach has quit [Ping timeout: 245 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
Foredoomed has joined #ruby
jonahR has quit [Quit: jonahR]
jlast has joined #ruby
mrsolo has joined #ruby
raul782_ has quit [Remote host closed the connection]
raul782_ has joined #ruby
tomzx_mac has quit [Ping timeout: 272 seconds]
yfeldblu_ has quit [Remote host closed the connection]
w4pm has joined #ruby
raul782_ has quit [Ping timeout: 260 seconds]
Gooder has quit [Read error: Connection reset by peer]
Ripp__ has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
n_blownapart has joined #ruby
n_blownapart is now known as crucify_me
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
karls0n has joined #ruby
codeFiend has joined #ruby
Hanmac1 has joined #ruby
mhodgson has quit [Read error: Connection reset by peer]
mhodgson has joined #ruby
kebomix has joined #ruby
<kebomix> hello, is there a gem to generate sdf files for cloudsearch from active record results ?
vlad_sta_ has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
OdNairy has joined #ruby
adeponte has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
<sevenseacat> sounds awfully specific
osvico has quit [Ping timeout: 264 seconds]
<kebomix> sevenseacat: well lets say generating sdf only :D, i'm just explaining the purpose :)
coca_rails has quit [Remote host closed the connection]
jkhwan has joined #ruby
coca_rails has joined #ruby
io_syl has quit []
judd7_ is now known as judd7
io_syl has joined #ruby
<shevy> hmm https://rubygems.org/search?utf8=%E2%9C%93&query=sdf only shows asdf results
coca_rails has quit [Ping timeout: 265 seconds]
DonRichie has joined #ruby
soba has joined #ruby
hiyosi has joined #ruby
tharindu has joined #ruby
w4pm has quit [Ping timeout: 272 seconds]
nucatus has joined #ruby
bluOxigen has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
dhilipsiva has joined #ruby
smathieu has joined #ruby
dhilipsiva has quit [Remote host closed the connection]
nucatus has quit [Ping timeout: 260 seconds]
dhilipsiva has joined #ruby
soheil_ has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
soheil_ has quit [Read error: Connection reset by peer]
soheil_ has joined #ruby
tonni has joined #ruby
jkhwan has quit [Remote host closed the connection]
jeffboek has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BizarreCake has joined #ruby
jkhwan has joined #ruby
Sauvin has joined #ruby
Sauvin has quit [Max SendQ exceeded]
judd7 has quit [Quit: judd7]
[Rickmasta] has joined #ruby
soheil_ has quit [Ping timeout: 260 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
rickmasta has quit [Ping timeout: 246 seconds]
tonni has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
deegen has quit [Ping timeout: 272 seconds]
kebomix has quit [Ping timeout: 250 seconds]
deegen has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
bio is now known as Biohazard
robscomputer has joined #ruby
sayan has joined #ruby
DonRichie has quit [Quit: Verlassend]
maletor has joined #ruby
jonahR has joined #ruby
h_kon has joined #ruby
banghouse2 has joined #ruby
codeFiend has quit [Quit: codeFiend]
pwh has quit [Ping timeout: 272 seconds]
BizarreCake has quit [Ping timeout: 260 seconds]
sayan has quit [Ping timeout: 252 seconds]
kreeves has quit [Ping timeout: 245 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobunny has quit [Ping timeout: 265 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
adeponte has quit [Remote host closed the connection]
epichero has joined #ruby
adeponte has joined #ruby
intiepgarienk has joined #ruby
astrobunny has joined #ruby
intiepgarienk has left #ruby [#ruby]
vlad_starkov has joined #ruby
crucify_me has quit [Remote host closed the connection]
crucify_me has joined #ruby
adeponte has quit [Ping timeout: 246 seconds]
mikeg has joined #ruby
crucify_me has quit [Remote host closed the connection]
sayan has joined #ruby
vlad_sta_ has quit [Ping timeout: 240 seconds]
WillAmes has quit [Remote host closed the connection]
WillAmes has joined #ruby
felkel has quit [Remote host closed the connection]
petalcu has joined #ruby
coca_rails has joined #ruby
JohnBat26 has joined #ruby
timonv has joined #ruby
thepumpkin has joined #ruby
noop has joined #ruby
noop has quit [Remote host closed the connection]
noop has joined #ruby
epichero has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
coca_rails has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
mengu has joined #ruby
smathieu has quit [Remote host closed the connection]
hiyosi has joined #ruby
smathieu has joined #ruby
ecksit has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 252 seconds]
Zeeraw has quit [Quit: Computer has gone to sleep.]
thepumpkin has quit [Ping timeout: 272 seconds]
nucatus has joined #ruby
brain_shim has quit [Quit: Leaving]
Hanmac has joined #ruby
brisbin has quit [Read error: Operation timed out]
smathieu has quit [Ping timeout: 240 seconds]
Scient has quit [Read error: Operation timed out]
gwb3 has quit [Ping timeout: 245 seconds]
hiyosi has quit [Ping timeout: 264 seconds]
slash_nick has quit [Ping timeout: 246 seconds]
gwb3 has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
brisbin has joined #ruby
Scient has joined #ruby
slash_nick has joined #ruby
mercwithamouth has joined #ruby
nucatus has quit [Ping timeout: 272 seconds]
heidi has joined #ruby
jonr22 has joined #ruby
tonni has joined #ruby
soheil_ has joined #ruby
kizzx2 has joined #ruby
sayan has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
Deele has joined #ruby
kizzx2 has joined #ruby
sayan has quit [Read error: Connection reset by peer]
soheil_ has quit [Ping timeout: 240 seconds]
jonr22 has quit [Ping timeout: 240 seconds]
brisbin has quit [Read error: Operation timed out]
tonni has quit [Ping timeout: 252 seconds]
Scient has quit [Ping timeout: 252 seconds]
gwb3 has quit [Ping timeout: 245 seconds]
brisbin has joined #ruby
t_p has joined #ruby
Lewix has quit [Remote host closed the connection]
<ecksit> is anyone using chruby with auto switching?
gwb3 has joined #ruby
<sevenseacat> <--
Scient has joined #ruby
jprovazn has joined #ruby
<ecksit> i have the two source file commands in my zshrc but it doesn't seem to be picking it up because it rolls back to the system version.
tjad has quit [Ping timeout: 252 seconds]
<ecksit> have you seen anything like it before?
mikeg has quit [Remote host closed the connection]
kiri has quit [Remote host closed the connection]
bluOxigen has quit []
Scient has quit [Read error: Operation timed out]
<ecksit> (even though my .ruby-version file contains the version in it)
codeFiend has joined #ruby
kiri has joined #ruby
<sevenseacat> nope
Zeeraw has joined #ruby
brisbin has quit [Ping timeout: 246 seconds]
gwb3 has quit [Ping timeout: 245 seconds]
<ecksit> could you show me what you are using in your zshrc/bashrc? and what an example ruby-version file please?
vlad_sta_ has joined #ruby
slash_nick has quit [Ping timeout: 272 seconds]
<sevenseacat> just what chruby has in the docs
<sevenseacat> the two source lines in my .zshrc
epichero has joined #ruby
<sevenseacat> and a .ruby-version line like '2.0.0-p247'
<ecksit> hmm, same here. :(
sayan has joined #ruby
gwb3 has joined #ruby
ocfx_ has joined #ruby
robscomputer has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
Scient has joined #ruby
Hanmac1 has joined #ruby
brisbin has joined #ruby
havenwood has joined #ruby
robscomputer has joined #ruby
<ecksit> sevenseacat, and your ruby version automatically changes?
vlad_starkov has quit [Ping timeout: 264 seconds]
<sevenseacat> yep
cfi30 has quit [Quit: WeeChat 0.4.2]
Hanmac has quit [Ping timeout: 272 seconds]
heidi has quit [Quit: Leaving.]
kitak__ has joined #ruby
ocfx_work has quit [Ping timeout: 248 seconds]
<ecksit> it appears as if using the custom RUBIES path afterwards breaks it.
jlebrech has joined #ruby
kitak_ has quit [Ping timeout: 246 seconds]
zewelor has left #ruby ["-!- May the force be with You -!-"]
<ecksit> moved it above the source commands and it now works.
havenwood has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
coca_rails has joined #ruby
MaXtER has joined #ruby
<sevenseacat> good stuff
kobain has quit []
mrsolo has quit [Quit: This computer has gone to sleep]
khebbie has joined #ruby
petalcu has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 265 seconds]
freilino has joined #ruby
brisbin has quit [Read error: Operation timed out]
mikeg has joined #ruby
zz_michael_mbp is now known as michael_mbp
araujo has quit [Ping timeout: 272 seconds]
sayan has quit [Ping timeout: 265 seconds]
aantix has quit [Quit: aantix]
skaflem has joined #ruby
tjad has joined #ruby
heftig has quit [Quit: Quitting]
h_kon has quit [Remote host closed the connection]
h_kon has joined #ruby
tharindu has quit [Quit: Leaving...]
mengu has quit [Remote host closed the connection]
RORgasm has joined #ruby
mengu has joined #ruby
freilino has quit [Remote host closed the connection]
MaXtER has left #ruby [#ruby]
heftig has joined #ruby
brtdv has joined #ruby
adeponte has joined #ruby
dayepa has quit [Ping timeout: 252 seconds]
RichardBaker has quit [Quit: RichardBaker]
masher has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
slash_nick has joined #ruby
mengu has quit [Ping timeout: 272 seconds]
RORgasm has quit [Ping timeout: 272 seconds]
OdNairy has joined #ruby
adeponte has quit [Ping timeout: 252 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
mengu has joined #ruby
jprovazn has quit [Ping timeout: 260 seconds]
brisbin has joined #ruby
Hanmac1 has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
robscomputer has quit [Ping timeout: 264 seconds]
hiyosi has joined #ruby
stkowski has quit [Quit: stkowski]
DAYSofVICE has quit [Read error: Connection reset by peer]
zarubin has joined #ruby
tharindu has joined #ruby
nucatus has joined #ruby
vlad_sta_ has joined #ruby
tagrudev has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
Olipro has quit [Ping timeout: 246 seconds]
brisbin has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 260 seconds]
Vivekananda_ has joined #ruby
nucatus has quit [Ping timeout: 246 seconds]
pushpak has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
tonni has joined #ruby
pwh has joined #ruby
coca_rails has quit [Ping timeout: 272 seconds]
deegen has quit [Ping timeout: 272 seconds]
soheil_ has joined #ruby
ecksit has quit [Quit: Computer has gone to sleep.]
deegen has joined #ruby
Hanmac has joined #ruby
lsmola has joined #ruby
pwh has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 272 seconds]
threesome has joined #ruby
soheil_ has quit [Ping timeout: 265 seconds]
tonni has quit [Ping timeout: 252 seconds]
brisbin has joined #ruby
sayan has joined #ruby
pwh has joined #ruby
justsee has quit [Ping timeout: 268 seconds]
tharindu has quit [Quit: Leaving...]
kitak__ has quit [Read error: Connection reset by peer]
ahawkins has joined #ruby
pwh has quit [Ping timeout: 272 seconds]
gasbakid has joined #ruby
burgess|vayo has joined #ruby
epichero has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
spookymist is now known as mist
Olipro has joined #ruby
mary5030 has quit [Remote host closed the connection]
kitak_ has joined #ruby
brtdv has quit []
Olipro has quit [Ping timeout: 260 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tonni has joined #ruby
relix has joined #ruby
io_syl has quit []
mikeg has quit [Remote host closed the connection]
tharindu has joined #ruby
timonv has joined #ruby
Notte has joined #ruby
timonv has quit [Read error: Operation timed out]
Guest31158 has quit [Ping timeout: 264 seconds]
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
tharindu has quit [Quit: Linkinus - http://linkinus.com]
tharindu has joined #ruby
Kneferilis has quit [Quit: Leaving]
pdimitrov has quit [Ping timeout: 252 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
pdimitrov has joined #ruby
echevemaster has quit [Quit: Leaving]
pr0ggie has quit [Ping timeout: 272 seconds]
pr0ggie has joined #ruby
Kneferilis has joined #ruby
Hanmac has joined #ruby
khebbie has quit [Ping timeout: 272 seconds]
gyzmodo has joined #ruby
monkegjinni has joined #ruby
einarj has joined #ruby
drumusician has joined #ruby
thepumpkin has joined #ruby
jonahR has quit [Quit: jonahR]
passbe has joined #ruby
nkts has quit [Quit: xy]
Xeago has joined #ruby
Hanmac has quit [Ping timeout: 268 seconds]
<passbe> guys im doing a map like such > map{|p| { id:p.id, field:p.extra.field } }, how can i do a map that uses the p.id as the key to the returning hash, so instead of this [{id, field}, {id, field}] i get [id => [field, field], id => [field, field]]
jonr22 has joined #ruby
sevenseacat has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
havenwood has joined #ruby
DanBoy has quit [Remote host closed the connection]
markus- has joined #ruby
DanBoy has joined #ruby
hiyosi has joined #ruby
thepumpkin has quit [Ping timeout: 272 seconds]
cina has joined #ruby
<Sp4rKy> passbe: why two "field" in the list ?
jhaals has joined #ruby
DanKnox is now known as DanKnox_away
diegoviola has joined #ruby
noname001 has joined #ruby
markus- has quit [Client Quit]
jonr22 has quit [Ping timeout: 268 seconds]
<passbe> Sp4rKy: because i need to do some calculations on it like that ? :S
<bnagy> passbe: check out Enumerable#group_by
<passbe> bnagy: checking...
michael_mbp is now known as zz_michael_mbp
nucatus has joined #ruby
<apeiros> passbe: Sp4rKy asks because your question makes no sense like this. in your first example there's only one `field`, in your second it's suddenly two.
hiyosi has quit [Read error: Operation timed out]
<apeiros> and it's entirely not clear how you go from one to two.
Hanmac has joined #ruby
<apeiros> example in-/output would go a long way…
<Sp4rKy> :)
jalcine has quit [Excess Flood]
coca_rails has joined #ruby
jhaals has quit [Ping timeout: 272 seconds]
Heero has quit [Ping timeout: 260 seconds]
<passbe> ok sorry, i have this input (id|field) 253623299|9999 253623299|20 370453947|2 370453947|28
<passbe> and id like to get to here: {253623299 => [9999, 20], 370453947 => [2, 28]}
<passbe> group_by is very close but im coming from an object, so i need to pluck the attribute out
jhaals has joined #ruby
Xeago_ has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
<bnagy> huild h = Hash.new {|h,k| h[k] = []} then just turn that into an array of [id,thing] and each {|id,f| hsh[id] << f}
<bnagy> *build
nucatus has quit [Ping timeout: 272 seconds]
nomenkun has joined #ruby
<passbe> hmm ok was hoping I could do it inside a single map but that'll should work, lets see
coca_rails has quit [Ping timeout: 272 seconds]
soheil_ has joined #ruby
emdub has quit [Remote host closed the connection]
<bnagy> >> "253623299|9999 253623299|20 370453947|2 370453947|28".split.map {|s| s.split('|')}.each_with_object(Hash.new {|h,k| h[k]=[]}) {|(id,v),h| h[id] << v}
<eval-in> bnagy => {"253623299"=>["9999", "20"], "370453947"=>["2", "28"]} (https://eval.in/59377)
emdub has joined #ruby
<bnagy> probably better to break it up a bit for prod
<bnagy> add to_i to taste
dangerousdave has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
soheil_ has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
<Hanmac> instead of split i would use scan(/(\d+)\|(\d+)/)
<passbe> Thanks guys, im not actually splitting it, it was just the way i was displaying it in chat
<passbe> bnagy: i have broken it up with comments so should be easier to read
<passbe> thanks for all the help guys!
camilasan has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
Fuzai has quit [Remote host closed the connection]
zer0px has joined #ruby
TheNumb_ has joined #ruby
diego_k has joined #ruby
joschi_ has joined #ruby
dzan_ has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
b1nd_ has joined #ruby
mick_lap2op has joined #ruby
zaargy_ has joined #ruby
jabular_ has joined #ruby
Fuzai has joined #ruby
xsdg_ has joined #ruby
cub1c__ has joined #ruby
Anarch_ has joined #ruby
ocfx__ has joined #ruby
DanKnox_away is now known as DanKnox
ihme-TTilus has joined #ruby
z_ has joined #ruby
shredding has joined #ruby
troessner has joined #ruby
chihhsin has joined #ruby
dzan has quit [*.net *.split]
TheNumb has quit [*.net *.split]
Anarch has quit [*.net *.split]
ocfx has quit [*.net *.split]
zeropx has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
TTilus has quit [*.net *.split]
jwang has quit [*.net *.split]
linduxed has quit [*.net *.split]
the_mentat has quit [*.net *.split]
z has quit [*.net *.split]
waxjar has quit [*.net *.split]
mick_laptop has quit [*.net *.split]
billiam has quit [*.net *.split]
zaargy has quit [*.net *.split]
bw_ has quit [*.net *.split]
joschi has quit [*.net *.split]
cub1c has quit [*.net *.split]
xsdg has quit [*.net *.split]
diegok has quit [*.net *.split]
jabular has quit [*.net *.split]
zer0px is now known as zeropx
havenwood has joined #ruby
jalcine has joined #ruby
DarthGandalf has joined #ruby
LarsSmit has joined #ruby
waxjar has joined #ruby
cina has quit [Ping timeout: 272 seconds]
the_mentat has joined #ruby
maasha has joined #ruby
<maasha> møjn
cina has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Ping timeout: 272 seconds]
banghouse2 has quit [Remote host closed the connection]
gasbakid has quit [Read error: Connection reset by peer]
DanKnox is now known as DanKnox_away
jprovazn has joined #ruby
jprovazn has quit [Remote host closed the connection]
jprovazn has joined #ruby
jwang has joined #ruby
barratt has joined #ruby
nari has joined #ruby
wallerdev has quit [Quit: wallerdev]
Anarch_ is now known as Anarch
shredding_ has joined #ruby
billiam has joined #ruby
billiam has joined #ruby
billiam has quit [Changing host]
linduxed has joined #ruby
<Hanmac> maasha: i am more interested how it calculates if its friday or not ... does it ask the bowser for its timezone?
shredding has quit [Ping timeout: 264 seconds]
shredding_ is now known as shredding
<maasha> Hanmac: no idea - but here it IS Friday!
<maasha> and the tour de office is on today.
<maasha> theme driven pissup party
carraroj has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
ehaliewicz has quit [Ping timeout: 265 seconds]
elaptics`away is now known as elaptics
brtdv has joined #ruby
pyrac has joined #ruby
notjohn has joined #ruby
Vivekananda_ has quit [Ping timeout: 265 seconds]
zarubin has quit [Ping timeout: 265 seconds]
thomasss has joined #ruby
<thomasss> hey
<thomasss> any SEO person here ?
nari has quit [Ping timeout: 272 seconds]
cina has quit [Read error: Connection reset by peer]
<thomasss> ??
diegoviola has quit [Ping timeout: 265 seconds]
<phrozen77> don't ask to ask, just ask
RORgasm has joined #ruby
<thomasss> I have SEO question
<thomasss> my website doesn't appear anywhere near the top og Google
<thomasss> I have onsite SEO etc..
<thomasss> could be the case that I use heroku? which is free just now ?
Soda has quit [Remote host closed the connection]
Liothen has quit [Quit: System of a down……]
thomasss has left #ruby [#ruby]
<canton7> what you're hosted on shouldn't affect anything
thomasss has joined #ruby
g0bl1n has joined #ruby
adambeynon has joined #ruby
cina has joined #ruby
RORgasm has quit [Ping timeout: 272 seconds]
cina has quit [Client Quit]
diegoviola has joined #ruby
cina has joined #ruby
brtdv has quit []
b1nd_ has quit [Quit: Leaving]
thomasss has left #ruby [#ruby]
aganov has joined #ruby
Xeago has quit [Remote host closed the connection]
lkba has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
Xeago_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Guest44777 has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
tatsuya_o has joined #ruby
tkuchiki has quit [Remote host closed the connection]
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
tkuchiki has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
Boohbah has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
tatsuya_o has quit [Read error: Connection reset by peer]
tatsuya_o has joined #ruby
ghr has joined #ruby
nucatus has joined #ruby
pyrac has quit [Quit: pyrac]
Notte has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 272 seconds]
camilasan has quit [Remote host closed the connection]
Notte has joined #ruby
jbpros has joined #ruby
<maasha> I have a crappy home brewed testing suite, which is basically a bash hack, for testing ruby scripts live. The tests looks like this: https://code.google.com/p/biopieces/source/browse/trunk/bp_test/test/test_analyze_vals - do there exists any proper Ruby frame work I could use instead?
camilasan has joined #ruby
camilasan has quit [Remote host closed the connection]
coca_rails has joined #ruby
camilasa_ has joined #ruby
Notte has quit [Remote host closed the connection]
mick_lap2op is now known as mick_laptop
tkuchiki has quit [Ping timeout: 268 seconds]
dagobah has joined #ruby
mick_laptop has quit [Changing host]
mick_laptop has joined #ruby
Notte has joined #ruby
braincrash has joined #ruby
cina has quit [Read error: No route to host]
einarj has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
Notte_ has joined #ruby
Notte_ has quit [Remote host closed the connection]
Notte has joined #ruby
nucatus has quit [Ping timeout: 260 seconds]
deegen has quit [Ping timeout: 268 seconds]
cina has joined #ruby
workmad3 has joined #ruby
deegen has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
soheil has joined #ruby
Notte has quit [Ping timeout: 272 seconds]
jibi has joined #ruby
raar has joined #ruby
passbe has left #ruby ["WeeChat 0.4.1"]
raar is now known as Guest87056
soheil has quit [Ping timeout: 252 seconds]
g0bl1n has quit [Quit: g0bl1n]
OdNairy has joined #ruby
pyrac has joined #ruby
carraroj has quit [Read error: Operation timed out]
zarul has quit [Ping timeout: 272 seconds]
t_p has quit [Quit: Computer has gone to sleep.]
burgess|vayo has quit [Quit: ^zzz]
hackeron_ has joined #ruby
Czupa has joined #ruby
pyrac has quit [Quit: pyrac]
jbpros has quit [Quit: jbpros]
platypine has joined #ruby
platypine has joined #ruby
platypine has quit [Changing host]
hackeron has quit [Ping timeout: 272 seconds]
alup has joined #ruby
shaunbaker has joined #ruby
einarj has joined #ruby
syamajala has joined #ruby
havenwood has joined #ruby
cina has quit [Read error: Connection reset by peer]
Blue_Ice_ is now known as Blue_Ice
platypine has quit [Ping timeout: 240 seconds]
jlebrech has joined #ruby
DouweM has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
cina has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
neonlex has joined #ruby
Xeago has joined #ruby
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
tonni has quit [Read error: Connection reset by peer]
tonni has joined #ruby
parzo has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
gyre007 has joined #ruby
gyre007 has quit [Remote host closed the connection]
gyre007 has joined #ruby
gyre007 has quit [Read error: Connection reset by peer]
gyre007 has joined #ruby
dayepa has joined #ruby
Desert_eagle has joined #ruby
jonr22 has joined #ruby
barratt has quit [Ping timeout: 272 seconds]
TheNumb_ is now known as TheNumb
TheNumb has quit [Changing host]
TheNumb has joined #ruby
jbpros has joined #ruby
cina has quit [Read error: No route to host]
Foredoomed has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jonr22 has quit [Ping timeout: 272 seconds]
DouweM has joined #ruby
cina has joined #ruby
bassclef has joined #ruby
bassclef is now known as Guest9448
mengu has quit [Remote host closed the connection]
shaunbaker has quit [Remote host closed the connection]
shaunbaker has joined #ruby
vlad_sta_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
thepumpkin has joined #ruby
shaunbaker has quit [Read error: Operation timed out]
vlad_starkov has quit [Ping timeout: 240 seconds]
Notte has joined #ruby
kitak_ has quit [Remote host closed the connection]
jibi has quit [Quit: .]
kung has joined #ruby
chinkung has joined #ruby
kitak_ has joined #ruby
havenwood has joined #ruby
thepumpkin has quit [Read error: Operation timed out]
SteveBenner9 has joined #ruby
chinkung has quit [Client Quit]
hiyosi has joined #ruby
fgo has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
shaunbaker has joined #ruby
syamajala has quit [Quit: leaving]
wald0_ has joined #ruby
coca_rails has joined #ruby
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
jrhe has joined #ruby
jbpros has quit [Quit: jbpros]
sayan has quit [Ping timeout: 246 seconds]
D4T has joined #ruby
cina has quit [Ping timeout: 240 seconds]
parzo has quit [Remote host closed the connection]
soheil has joined #ruby
parzo has joined #ruby
jbpros has joined #ruby
Notte has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
cina has joined #ruby
zz_michael_mbp is now known as michael_mbp
soheil has quit [Ping timeout: 246 seconds]
MrZYX|off is now known as MrZYX
<wald0_> how to know the name of the second-parent class of an object ? and how to know how to know these things when i need them ? :)
<hoelzro> second parent class?
<hoelzro> you mean the grandparent class?
<wald0_> for example, puts foo.class prints the class name, but it is a class created from another one
<tobiasvl> super.super ?
<wald0_> lets say Snake < Pet
<wald0_> mmh, super doesn't seems ot print anything
<MrZYX> >> class Pet; end; class Snake < Pet; end; Snake.superclass
<eval-in> MrZYX => Pet (https://eval.in/59403)
nfk has joined #ruby
Scient has quit [Ping timeout: 272 seconds]
Notte has joined #ruby
Kneferilis has quit [Ping timeout: 252 seconds]
includex has joined #ruby
jbpros has quit [Quit: jbpros]
predator217 has quit [Ping timeout: 264 seconds]
<wald0_> >> class Pet; end; class Snake < Pet; end; foo = Snake.new ; foo.superclass
<eval-in> wald0_ => undefined method `superclass' for #<Snake:0x40f38f8c> (NoMethodError) ... (https://eval.in/59413)
ph8 has quit [Read error: Operation timed out]
<Mon_Ouie> You're calling superclass on the instance, not on a class
predator117 has joined #ruby
<Mon_Ouie> Classes have superclasses, regular objects don't
<MrZYX> >> class Pet; end; class Snake < Pet; end; Snake.new.class.superclass
<eval-in> MrZYX => Pet (https://eval.in/59415)
<MrZYX> >> class Pet; end; class Snake < Pet; end; Snake.new.is_a? Pet
<eval-in> MrZYX => true (https://eval.in/59417)
h_kon has quit [Remote host closed the connection]
jbpros has joined #ruby
h_kon has joined #ruby
<wald0_> so i cannot get the parent class from an object itself?
<MrZYX> didn't I just show you how?
sepp2k has joined #ruby
<MrZYX> btw. what are you really trying to solve here? what's your underlying problem?
Scient has joined #ruby
<wald0_> no problem, just learning ruby
<wald0_> objects are nice but i find it a bit confusing :), i assume that is just lack of practice/assimilation
<wald0_> OO, i mean
<wald0_> ah, class.superclass, right, thx
<wald0_> and if i want the parent of the parent? class.superclass.superclass?
<MrZYX> yup
cina has quit [Read error: No route to host]
<MrZYX> also check .ancestors
neonlex has quit []
h_kon has quit [Ping timeout: 272 seconds]
Xeago has quit [Remote host closed the connection]
h_kon has joined #ruby
ldnunes has joined #ruby
cina has joined #ruby
kitak_ has quit [Remote host closed the connection]
Bry8Star{T2 has joined #ruby
m8 has joined #ruby
ph8 has joined #ruby
<Hanmac> and maybe also check: object.singleton_class.ancestors
<dominikh> and check clean designs in which you don't need to know your grandfather :P
jbpros has quit [Quit: jbpros]
timonv has joined #ruby
deegen has quit [Ping timeout: 252 seconds]
deegen has joined #ruby
noop has quit [Ping timeout: 246 seconds]
<wald0_> arf, this is frustrating, 10 years making anything in bash and im unable to do a simple "if" or to get a value from user input in ruby just because i have not asimilated/remember the code
coca_rails has quit [Ping timeout: 260 seconds]
<wald0_> i should write more and read less :/
mojjojo has joined #ruby
neonlex has joined #ruby
<joonty> there's no such thing as simple in bash
cina has quit [Quit: Reconnecting]
picca has joined #ruby
cina has joined #ruby
picca has left #ruby [#ruby]
RORgasm has joined #ruby
mlpinit has joined #ruby
<wald0_> joonty: sorry, not gotcha, you mean that bash is very simple?
<wald0_> mmh, im a bit confused, if i define "bark" inside a Dog class, i directly can use bark without call the object, what if my snakes can bark too? what "bark" will trigger?
cina has quit [Remote host closed the connection]
<joonty> wald0_: imo bash takes simple concepts and makes them annoyingly convoluted
DouweM has quit [Quit: Leaving...]
cina has joined #ruby
mengu has joined #ruby
<tobiasvl> wald0_: what do you mean you can "use bark without call the object"? and if your snakes can bark too, that doesn't interfere with the dogs' bark, because they don't inherit from each other
<joonty> is my variable set? I don't know, unless i do `if [ -n "$var" ]` or something :|
noop has joined #ruby
jonr22 has joined #ruby
<wald0_> joonty: i think that this is good and bad at the same time
salt_ has joined #ruby
RORgasm has quit [Ping timeout: 272 seconds]
braincrash has quit [Ping timeout: 252 seconds]
salt_ has quit [Client Quit]
<Hanmac> wald0_ if your snakes does bark something is very wrong! ;P
<tobiasvl> Hanmac: hey, he probably didn't decide the business model ;)
pdimitrov has quit [Ping timeout: 252 seconds]
pr0ggie has quit [Ping timeout: 272 seconds]
lucazi has joined #ruby
camilasa_ has quit [Remote host closed the connection]
pr0ggie has joined #ruby
camilasan has joined #ruby
pdimitrov has joined #ruby
krz has joined #ruby
salt_ has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
hiyosi has joined #ruby
atmosx has joined #ruby
<atmosx> Hello
<atmosx> when you give value to an array, like Array.new(2) you are creating an array with 2 spots on it?
havenwood has joined #ruby
<hoelzro> I believe that's what it does
blackmesa has quit [Ping timeout: 240 seconds]
<hoelzro> >> Array.new(2)
<eval-in> hoelzro => [nil, nil] (https://eval.in/59462)
<tobiasvl> yes
<atmosx> hoelzro: what is the usage?
<atmosx> you later assign values to these two spots?
<atmosx> but you can add more to it..
<tobiasvl> you do exactly what you want :)
<atmosx> hm, okay. I thought it was some sort of lockout like "this array will not exceed 2 elements"
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atmosx> anywya
<atmosx> k
karupanerura is now known as zz_karupanerura
falood has quit [Remote host closed the connection]
falood has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
OdNairy has joined #ruby
postmodern has quit [Quit: Leaving]
krz has quit [Ping timeout: 240 seconds]
jenskarlsen has quit [Quit: jenskarlsen]
falood has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
hiall has joined #ruby
krz has joined #ruby
deegen has quit [Ping timeout: 272 seconds]
deegen has joined #ruby
ldnunes has joined #ruby
blackmesa has joined #ruby
skaflem has quit [Quit: This computer has gone to sleep]
soheil has joined #ruby
<wald0_> how i can do this? puts "Im a dog and i can " + lassie.bark + " loud"
<MrZYX> you're already doing it?
jbpros has joined #ruby
chinychinchin has joined #ruby
<wald0_> mmh, it says that i can't convert nil to a string
<MrZYX> well then your method bark returns nil
<wald0_> its defined to puts "woof!"
camilasan has quit [Remote host closed the connection]
camilasa_ has joined #ruby
<MrZYX> and puts returns nil, puts being the last expression in your method, it's return value is your methods return value
ArchBeOS has joined #ruby
soheil has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
<MrZYX> *its
<wald0_> hum, i see
<Cork> def column(arr, &block) end <-- how would one do if i wanted it to allow an call with array like: column(value, value) {} ?
<Cork> (meaning implicit array)
<MrZYX> *arr
<Cork> thx
Hanmac1 has joined #ruby
deegen has quit [Read error: Connection reset by peer]
deegen has joined #ruby
krz has quit [Ping timeout: 264 seconds]
danshultz has joined #ruby
noop has quit [Ping timeout: 260 seconds]
jbpros has quit [Quit: jbpros]
lstefani has quit [Ping timeout: 245 seconds]
<wald0_> now i can use it also as "text #{lassie.bark} foo bar", what's the difference between this way and the previous said with the + ?
Hanmac has quit [Ping timeout: 252 seconds]
parzo_ has joined #ruby
<MrZYX> #{} calls to_s on the expression inside it and also creates less string objects
<wald0_> this one acts like a call instead of a variable call, mmmh, all these things looks very nice, i think that im very familiarized with C where everything is much more "stricted"
ctp_ has quit [Quit: Leaving...]
Banistergalaxy has joined #ruby
deegen has quit [Read error: Connection reset by peer]
parzo has quit [Ping timeout: 265 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
deegen has joined #ruby
joonty_ has joined #ruby
popl has quit [Ping timeout: 240 seconds]
tewmten has quit [Ping timeout: 264 seconds]
ulik has quit [Ping timeout: 257 seconds]
lstefani has joined #ruby
joonty has quit [Ping timeout: 272 seconds]
geekbri has joined #ruby
thyagobr has joined #ruby
thecopy has joined #ruby
deegen has quit [Ping timeout: 241 seconds]
thecopy has quit [Quit: thecopy]
thecopy has joined #ruby
tvw has joined #ruby
mist has quit [Quit: Reconnecting]
jbpros has joined #ruby
mrmist has joined #ruby
mrmist has quit [Quit: leaving]
brtdv has joined #ruby
jbpros has quit [Client Quit]
mrmist has joined #ruby
mrmist is now known as mist
coderhs has joined #ruby
pu22l3r has joined #ruby
ctp_ has joined #ruby
nateberkopec has joined #ruby
coca_rails has joined #ruby
deegen has joined #ruby
AndChat| has joined #ruby
RubNoob has joined #ruby
parzo has joined #ruby
<RubNoob> good morning - cany anyone provide me with a good tutorial on how to handle monthly-on-anniversary-date recurring tasks?
neonlex has quit []
<RubNoob> for instance, if I want to bill a user monthly on their anniversary date, and I have the anniversary_date available to me, how can I perform a check as to whether they should be billed if I have a task that runs daily?
coca_rails has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
<thyagobr> You
<RubNoob> specifically, the issue I'm running into is how to handle a situation like if the user signs up on day 31 of one month - in those months that do not have 31 days, if I strictly relied on the day, I would miss billing them on those months
lkba has quit [Ping timeout: 265 seconds]
<thyagobr> could try Sidekiq gem
thecopy_ has joined #ruby
<RubNoob> thyagobr the issue is not how to run the biling task every day - the issue I'm having is how to handle determining whether the user should be billed or not based on a date provided by "anniversary_date"
sixteneighty has quit [Ping timeout: 245 seconds]
parzo_ has quit [Ping timeout: 272 seconds]
thecopy has quit [Ping timeout: 260 seconds]
thecopy_ is now known as thecopy
salt_ has quit [Quit: salt_]
Czupa has quit [Remote host closed the connection]
vpretzel has joined #ruby
ArchBeOS has quit [Remote host closed the connection]
brtdv has quit []
raphaelivan has joined #ruby
ArchBeOS has joined #ruby
tharindu has quit [Quit: Leaving...]
pdimitrov has quit [Ping timeout: 272 seconds]
pr0ggie has quit [Ping timeout: 272 seconds]
pdimitrov has joined #ruby
pr0ggie has joined #ruby
Xeago has quit [Ping timeout: 265 seconds]
jonr22 has quit [Remote host closed the connection]
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jonr22 has joined #ruby
breakingthings has joined #ruby
jamblack has joined #ruby
tharindu has joined #ruby
jonahR has joined #ruby
<thyagobr> I dont understand. Are you having trouble compairing the date on a database with, say Time.now or something like that?
<MrZYX> he left
joonty_ is now known as joonty
BizarreCake has joined #ruby
<thyagobr> ouch - distracted with work :P
sixteneighty has joined #ruby
dr_bob has joined #ruby
dr_bob has left #ruby [#ruby]
jonr22 has quit [Ping timeout: 260 seconds]
lucazi has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
colonolGron has joined #ruby
soba has quit [Ping timeout: 246 seconds]
thepumpkin has joined #ruby
Xeago has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
bal1 has joined #ruby
bal1 has left #ruby [#ruby]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
deegen has quit [Ping timeout: 240 seconds]
juo_ is now known as juo
deegen has joined #ruby
jamblack has quit [Quit: jamblack]
havenwood has joined #ruby
shredding has quit [Quit: shredding]
Clooth has joined #ruby
thepumpkin has quit [Ping timeout: 264 seconds]
shredding has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
pyrac has joined #ruby
stringoO has joined #ruby
ehc has joined #ruby
ffranz has joined #ruby
michael_mbp is now known as zz_michael_mbp
jcromartie has joined #ruby
kaldrenon has joined #ruby
Mitchellvanw has joined #ruby
mark_locklear has joined #ruby
Hanmac has joined #ruby
DanBoy has quit [Remote host closed the connection]
DanBoy has joined #ruby
soheil has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
gasbakid has joined #ruby
jkamenik has joined #ruby
sailias has joined #ruby
Mitchellvanw has quit [Read error: Connection reset by peer]
gasbakid has quit [Max SendQ exceeded]
soheil has quit [Ping timeout: 259 seconds]
fgo has quit [Remote host closed the connection]
gtkkkk has joined #ruby
timonv has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
pu22l3r has joined #ruby
larissa has joined #ruby
Mitchellvanw has joined #ruby
Clooth has quit [Quit: Leaving...]
wchun has quit [Quit: Leaving]
jrhe has quit [Quit: jrhe]
gtkkkk has left #ruby ["Leaving"]
<atmosx> I have a list of hashes like this: {0=>{:card=>"2 Diamonds", :value=>2}, 1=>{:card=>"J Hearts", :value=>10}, 2=>{:card=>"0 Spades", :value=>0}} ... with a[0][:value].class = fixnum. How can I create a sum automatically? I know I can iterate through and add the values. But is there any way to do it in 1 line?
jamblack has joined #ruby
Clooth has joined #ruby
nari has joined #ruby
hiyosi has quit [Quit: WeeChat 0.4.1]
krawchyk has joined #ruby
Mitchellvanw has quit [Quit: Dozing off...]
allaire has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
<MrZYX> hmm hash.values.map {|card| card[:value] }.inject(:+) I guess
jlebrech has joined #ruby
oponder has joined #ruby
pyrac has quit [Ping timeout: 240 seconds]
splittingred has joined #ruby
splittingred has quit [Client Quit]
mmitchell has joined #ruby
skaflem has joined #ruby
jeffboek has joined #ruby
pdimitrov has quit [Read error: Operation timed out]
<atmosx> didn't knew you can access values in a hash like that, interesting.
<atmosx> seems like ruby is infinite
<atmosx> thanks MrZYX
pdimitrov has joined #ruby
coca_rails has joined #ruby
jlast has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
fgo has joined #ruby
masher has quit [Remote host closed the connection]
pr0ggie has quit [Ping timeout: 272 seconds]
ctp_ has quit [Quit: Leaving...]
pr0ggie has joined #ruby
ananthakumaran1 has joined #ruby
ananthakumaran has quit [Ping timeout: 260 seconds]
<SteveBenner9> the performancew will be higher than way FYI
justsee has joined #ruby
<SteveBenner9> atmosx: if you didn't know, the argument given to inject is basically running 'to_proc' on the plus symbol, calling that as a method each iteration, as opposed to the alternative of passing a block to inject
justsee has quit [Changing host]
justsee has joined #ruby
Hanmac1 has joined #ruby
mengu has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
<atmosx> yeah I actually create a method to handle special cases also, but nope I didn't knew.
mengu has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
nonamehero has quit [Ping timeout: 245 seconds]
<SteveBenner9> ruby is awesome :)
cody-- has joined #ruby
<atmosx> SteveBenner9: these concepts are hard for me to grasp.
<atmosx> but I'm working on it heh
Hanmac has quit [Ping timeout: 265 seconds]
jerius has joined #ruby
pskosinski has joined #ruby
niklasb has joined #ruby
wchun has joined #ruby
allsystemsarego has joined #ruby
ananthakumaran1 has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
mengu has quit [Ping timeout: 260 seconds]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
brtdv has joined #ruby
ananthakumaran has joined #ruby
juo is now known as juo_
juo_ is now known as juo__
nonamehero has joined #ruby
nonamehero has joined #ruby
nonamehero has quit [Changing host]
RORgasm has joined #ruby
juo__ is now known as juo___
juo___ is now known as juo
hamed_r has joined #ruby
jonr22 has quit [Ping timeout: 240 seconds]
nucatus has joined #ruby
RORgasm has quit [Ping timeout: 272 seconds]
jonr22 has joined #ruby
colonolGron has quit [Quit: Lost terminal]
mengu has joined #ruby
nateberkopec has quit [Quit: Leaving...]
jeffboek has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snuffeluffegus has joined #ruby
snuffeluffegus has quit [Remote host closed the connection]
snuffeluffegus has joined #ruby
xk_id has joined #ruby
carif has quit [Quit: Ex-Chat]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
karls0n has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
Fuzai has quit [Quit: No Ping reply in 180 seconds.]
jbpros has joined #ruby
Fuzai has joined #ruby
angusiguess has joined #ruby
raphaelivan has quit [Quit: Leaving.]
aapzak has quit [Ping timeout: 272 seconds]
deegen has quit [Ping timeout: 264 seconds]
deegen has joined #ruby
aapzak has joined #ruby
bline79__ has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 246 seconds]
Al_ has joined #ruby
Bofu2U has joined #ruby
vlad_sta_ has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
freerobby has quit [Client Quit]
jonathanwallace has quit [Ping timeout: 268 seconds]
ctp_ has joined #ruby
jlebrech has quit [Read error: Connection reset by peer]
jamblack has quit [Quit: jamblack]
jlebrech has joined #ruby
jrhe has joined #ruby
freerobby has joined #ruby
freakazoid0223 has quit [Ping timeout: 253 seconds]
nisstyre has quit [Ping timeout: 240 seconds]
soheil has joined #ruby
ctp_ has quit [Ping timeout: 240 seconds]
maasha has quit [Ping timeout: 250 seconds]
allaire has quit []
dbRenaud is now known as dbrenaud
pwh has joined #ruby
d45h has joined #ruby
sambao21 has joined #ruby
simoz has joined #ruby
Apocalypse has quit [Ping timeout: 245 seconds]
platzhirsch has joined #ruby
soheil has quit [Ping timeout: 240 seconds]
<platzhirsch> How common is the delimiter notation 1_000_000 in Ruby? 1. Very common 2. Uncommon 3. Yes 4. No 5. I am afraid
allaire has joined #ruby
jamblack has joined #ruby
polaco_zZz is now known as polaco
barratt has joined #ruby
drag00n has joined #ruby
* hoelzro <3 that notation
pushpak has quit [Quit: Linkinus - http://linkinus.com]
atmosx has quit [Quit: Lost in trance]
pyrac has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
araujo_ has joined #ruby
mlpinit has quit [Remote host closed the connection]
pdimitrov has quit [Ping timeout: 246 seconds]
pr0ggie has quit [Ping timeout: 272 seconds]
mlpinit has joined #ruby
lmickh has joined #ruby
<shevy> platzhirsch I use it a lot
<platzhirsch> ok, I am bought
<shevy> in fact I think I use it always
<shevy> but I dont often have big numbers
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
<Xeago> same here
<shaileshg_> Hi, can anyone suggest good ruby library / gem for signing XML?
<Xeago> always use it as a delimiter
<shevy> :)
<Xeago> shaileshg_: what do you mean by signing xml?
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran1 has joined #ruby
justsee has quit [Ping timeout: 240 seconds]
ananthakumaran1 has quit [Max SendQ exceeded]
ananthakumaran has quit [Ping timeout: 246 seconds]
ananthakumaran1 has joined #ruby
<Xeago> shaileshg_: xml is just a markup language, it has no notion of signing/signatures
araujo_ has quit [Read error: Connection reset by peer]
pyrac has quit [Ping timeout: 260 seconds]
<shaileshg_> Xeago: I have a xml document to be signed using my private key for sending it over to recipient.. let me give u a gist for the same
cody-- has quit [Quit: derp]
h_kon has quit [Remote host closed the connection]
krz has joined #ruby
<shaileshg_> Xeago: here is the link to my gist.. https://gist.github.com/shaileshgupta/bd3d15f50fb6f13f87d8
<shaileshg_> it contains xml document with signature template.. i have to sign it using
<oponder> daylight savings screwed me :(
<oponder> just want to vent
<oponder> thx
thecopy has quit [Read error: Connection reset by peer]
germanstudent has joined #ruby
araujo_ has joined #ruby
araujo_ has quit [Client Quit]
<shaileshg_> Xeago: this https://github.com/benoist/xmldsig solves it to some extent
jonr22 has quit [Remote host closed the connection]
taternuts has joined #ruby
<shaileshg_> but then I don't want ds: everywhere
deegen has quit [Ping timeout: 265 seconds]
jonr22 has joined #ruby
deegen has joined #ruby
<Xeago> shaileshg_: you should seriously rephrase your question and ask if anyone has implemented http://www.w3.org/TR/xmldsig-core/
<shaileshg_> Xeago: Hmm. right
Clooth has quit [Quit: Leaving...]
<shaileshg_> Xeago: you know of any library which has implemented it
<shaileshg_> ?
<Xeago> nope, doesn't seem too hard to implement regardless
havenwood has joined #ruby
<Xeago> some xml nodes with some values in them, where the values are cryptographically derived, meaning you shouldn't do much
jrhe has quit [Quit: jrhe]
psyl0n has joined #ruby
nisstyre has joined #ruby
interactionjaxsn has joined #ruby
jrhe has joined #ruby
araujo_ has joined #ruby
jonr22 has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
vlad_sta_ has quit [Ping timeout: 264 seconds]
<shaileshg_> Xeago: digest calculation is okay.. but when it comes to Calculate and insert signature value, sometimes it doest work
jibi has joined #ruby
<shaileshg_> I was thinking of any off the shelf available gem..
<shaileshg_> Let me try..
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
temwten has joined #ruby
temwten has quit [Client Quit]
salt_ has joined #ruby
bean__ has joined #ruby
tewmten has joined #ruby
deegen has quit [Ping timeout: 264 seconds]
D4T has quit [Ping timeout: 264 seconds]
deegen has joined #ruby
coca_rails has joined #ruby
alse has joined #ruby
D4T has joined #ruby
D4T has quit [Max SendQ exceeded]
cpruitt has joined #ruby
D4T has joined #ruby
nateberkopec has joined #ruby
ctp_ has joined #ruby
tomzx_mac has quit [Ping timeout: 272 seconds]
oponder has quit [Remote host closed the connection]
jonr22 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mrsolo has joined #ruby
pwh has quit []
klaut has joined #ruby
Guest9448 has quit [Ping timeout: 240 seconds]
ctp_ has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
freakazoid0223 has joined #ruby
sambao21 has quit [Client Quit]
jonathanwallace has joined #ruby
vinnyOcean has joined #ruby
momomomomo has joined #ruby
jonathanwallace has quit [Client Quit]
robscomputer has joined #ruby
xk_id has quit [Quit:
zarubin has joined #ruby
OdNairy has joined #ruby
jonathanwallace has joined #ruby
CreativeEmbassy has joined #ruby
terrellt has joined #ruby
duggiefresh has joined #ruby
<platzhirsch> It is not possible to define for a let helper method in RSpec additional parameters, is it?
dhilipsiva has quit [Remote host closed the connection]
araujo_ is now known as araujo
<platzhirsch> let(:method) { |a,b,c| ... }
jamblack has quit [Quit: jamblack]
araujo is now known as Guest54701
Guest54701 is now known as araujo
<platzhirsch> I guess in this case you simply define a method, although I don't quite see the difference to let then
araujo has quit [Changing host]
araujo has joined #ruby
bugsinlights has joined #ruby
sambao21 has joined #ruby
mgorbach has joined #ruby
mhodgson has quit [Ping timeout: 240 seconds]
thyagobr has quit [Ping timeout: 272 seconds]
duggiefresh has quit [Remote host closed the connection]
duggiefresh has joined #ruby
thepumpkin has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
theRoUS has joined #ruby
jamblack has joined #ruby
aspires has joined #ruby
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
juan__ has joined #ruby
noname001 has quit [Remote host closed the connection]
juan_ has quit [Read error: Connection reset by peer]
ryanRT has joined #ruby
thepumpkin has quit [Ping timeout: 272 seconds]
Kamuela has joined #ruby
<Kamuela> best tutorial to learn ruby? i'm looking at learn ruby the hard way. i'd love somthing similar to learn python the hard way in terms of short examples and typing a lot
hogeo has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
e-dard has joined #ruby
<e-dard> Hi, does anyone in here know how to get PG gem to use protocol-level prepared statements?
noname001 has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
jonr22 has joined #ruby
tharindu has quit [Quit: Leaving...]
mrsolo has joined #ruby
io_syl has joined #ruby
timonv has joined #ruby
kreeves has joined #ruby
hogeo has quit [Ping timeout: 264 seconds]
notjohn has quit [Quit: notjohn]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
notjohn has joined #ruby
jonr22 has quit [Remote host closed the connection]
xk_id has joined #ruby
ctp_ has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
ctp- has joined #ruby
ctp_ has quit [Read error: Connection reset by peer]
svankie has joined #ruby
svankie has left #ruby [#ruby]
timonv has quit [Ping timeout: 272 seconds]
freezey has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
Dave is now known as Guest62242
johnnyfuchs has joined #ruby
hamakn has quit [Ping timeout: 272 seconds]
DanBoy has quit [Ping timeout: 240 seconds]
soheil has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
DanBoy has joined #ruby
Zeeraw has joined #ruby
codezomb has joined #ruby
|jemc| has quit [Read error: Operation timed out]
soheil has quit [Ping timeout: 246 seconds]
cody-- has joined #ruby
Zeeraw has quit [Client Quit]
gazarsgo has joined #ruby
phantasm66 has joined #ruby
<gazarsgo> i'm trying to sudo gem install mysql and i get a ascii 8bit can't be converted to UTF-8 error, am i using a deprecated gem ?
coca_rails has joined #ruby
Stygia has joined #ruby
deegen has quit [Ping timeout: 240 seconds]
pyrac has joined #ruby
allaire has quit []
deegen has joined #ruby
mengu has quit [Remote host closed the connection]
elux has joined #ruby
Czupa has joined #ruby
zeade has quit [Quit: Leaving.]
coca_rails has quit [Read error: Operation timed out]
enebo has joined #ruby
<terrellt> gazarsgo: I'm not sure that's why you're getting the error, but yes. Try mysql2.
wallerdev has joined #ruby
<gazarsgo> got the same error w/ mysql2 :(
<gazarsgo> i have to tell the gem where my mysql lib (to link against) is ?
mary5030 has joined #ruby
<MrZYX> maybe, try without first
ner0x has joined #ruby
parzo_ has joined #ruby
<gazarsgo> trying with bundler now because i suck at ruby
parzo has quit [Read error: Connection reset by peer]
noname001 has quit [Remote host closed the connection]
ananthakumaran1 has quit [Quit: Leaving.]
momomomomo has quit [Quit: momomomomo]
mengu has joined #ruby
aef has joined #ruby
<gazarsgo> looks like i'm going now, thanks
jeffboek has joined #ruby
stkowski has joined #ruby
noname001 has joined #ruby
aef has quit [Remote host closed the connection]
Hanmac has joined #ruby
aef has joined #ruby
mahlon has quit [Quit: nine foot long outhouse ladle]
Hanmac1 has quit [Ping timeout: 272 seconds]
Aryasam has joined #ruby
momomomomo has joined #ruby
leonidlm has joined #ruby
iamjarvo_ has joined #ruby
baroquebobcat has joined #ruby
tagrudev has quit [Remote host closed the connection]
bugsinlights has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
|jemc| has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
ged has quit [Quit: WeeChat 0.4.1]
chineduu has joined #ruby
OdNairy has joined #ruby
axl_ has joined #ruby
pyrac has quit [Quit: pyrac]
stkowski is now known as perlphil
yvemath has joined #ruby
RORgasm has joined #ruby
lsmola has quit [Ping timeout: 264 seconds]
ocfx__ has quit [Quit: Lost terminal]
chinychinchin has quit [Ping timeout: 246 seconds]
iaj has quit [Ping timeout: 264 seconds]
Aryasam has quit [Quit: Bye]
blackmesa has joined #ruby
chineduu_ has joined #ruby
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
iaj has joined #ruby
chineduu has quit [Ping timeout: 264 seconds]
vpretzel has quit [Ping timeout: 246 seconds]
benwoody has joined #ruby
_maes_ has joined #ruby
<shevy> ack
salt_ has left #ruby [#ruby]
<shevy> Hanmac, look! bundler solved a problem! ^^^
<Hanmac> huch? how did that happen? ;D
<shevy> Kamuela this one -> http://pine.fm/LearnToProgram/?Chapter=00 afterwards you must answer the question "How and why is yield used in Ruby?", all who worked through the tutorial can answer that
<shevy> Hanmac sheer luck :D
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
maletor has joined #ruby
mrsolo has joined #ruby
yvemath has quit [Quit: It only takes a moment to hate someone, but it takes forever to love. :dropping_tears :: Gimme a tissue paper or a hand ?]
pyrac has joined #ruby
freezey has quit [Remote host closed the connection]
g0bl1n has joined #ruby
freezey has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
arietis has quit [Quit: Computer has gone to sleep.]
relix has quit [Read error: Connection reset by peer]
IceDragon has joined #ruby
yfeldblum has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
relix has joined #ruby
mercwithamouth has quit [Ping timeout: 268 seconds]
<IceDragon> morning
mikecmpbll has joined #ruby
wildroma_ has joined #ruby
mikeg has joined #ruby
freezey has quit [Ping timeout: 272 seconds]
Nickwiz has quit [Quit: leaving]
includex has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
icebal has joined #ruby
theRoUS has quit [Read error: Operation timed out]
pr0ggie has joined #ruby
pdimitrov has joined #ruby
io_syl has quit []
tjbarber has joined #ruby
coderhs has quit [Quit: Leaving]
jbpros has quit [Quit: jbpros]
sambao21 has joined #ruby
TMM has quit [Quit: Ex-Chat]
TMM has joined #ruby
chineduu__ has joined #ruby
claymore has joined #ruby
RichardBaker has joined #ruby
chineduu_ has quit [Ping timeout: 264 seconds]
RichardBaker has quit [Client Quit]
arietis has joined #ruby
mlpinit_ has joined #ruby
znode_ has joined #ruby
mikeg has quit [Remote host closed the connection]
chinychinchin has joined #ruby
shivamib has joined #ruby
RichardBaker has joined #ruby
lfox has joined #ruby
freezey has joined #ruby
rurufufuss is now known as rurufufuss-away
mlpinit has quit [Ping timeout: 265 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
rurufufuss-away is now known as rurufufuss
lfox has quit [Client Quit]
mrsolo has quit [Quit: This computer has gone to sleep]
havenwood has quit [Remote host closed the connection]
lfox has joined #ruby
chineduu__ has quit [Ping timeout: 246 seconds]
rurufufuss is now known as rurufufuss-away
havenwood has joined #ruby
tjad has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby
notjohn has quit [Quit: notjohn]
rurufufuss-away is now known as rurufufuss
notjohn has joined #ruby
rurufufuss is now known as rurufufuss-away
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vpretzel has joined #ruby
abunashir has joined #ruby
baroquebobcat has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
soheil has joined #ruby
mercwithamouth has joined #ruby
vlad_starkov has joined #ruby
failshell has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
abunashir has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 272 seconds]
notjohn has quit [Client Quit]
kevind has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
tjbarber has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Hanmac1 has joined #ruby
havenwood has joined #ruby
wildroma_ has quit []
hogeo has quit [Remote host closed the connection]
wildroma_ has joined #ruby
hamakn has joined #ruby
iamjarvo has joined #ruby
soheil has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 260 seconds]
pyrac has quit [Quit: pyrac]
brianpWins has quit [Quit: brianpWins]
randomnick_ has joined #ruby
justsee has quit [Ping timeout: 272 seconds]
vinnyOcean has quit [Quit: Textual IRC Client: www.textualapp.com]
DonRichie has joined #ruby
timonv has quit [Remote host closed the connection]
ocfx_ has quit [Quit: Leaving]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
lsmola has joined #ruby
iamjarvo_ has quit [Ping timeout: 260 seconds]
g0bl1n has quit [Quit: g0bl1n]
mlpinit_ has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 241 seconds]
axl_ has quit [Quit: axl_]
tjbarber has quit [Ping timeout: 240 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
jeffboek has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby
k0m has joined #ruby
jkhwan has joined #ruby
tjbarber has joined #ruby
axl_ has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
forced_request has joined #ruby
znode_ has quit [Quit: Lingo - http://www.lingoirc.com]
znode has joined #ruby
freerobby has quit [Quit: Leaving.]
snuffeluffegus has quit [Remote host closed the connection]
znode has quit [Client Quit]
zz_tsykoduk is now known as tsykoduk
znode has joined #ruby
freerobby has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
coderhs has joined #ruby
coderhs has quit [Client Quit]
aryaching_ has joined #ruby
Czupa has quit [Read error: Connection reset by peer]
adjo has joined #ruby
tharindu has joined #ruby
mengu has quit []
adjo has quit [Client Quit]
icebal has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
adjo has joined #ruby
Vivekananda_ has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
TheMoonMaster has quit [Excess Flood]
eregon has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
mrsolo has joined #ruby
TheMoonMaster has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
zarul has joined #ruby
nari has quit [Ping timeout: 270 seconds]
ner0x has quit [Remote host closed the connection]
znode has quit [Remote host closed the connection]
ahawkins has quit [Ping timeout: 268 seconds]
znode has joined #ruby
sergicles has joined #ruby
hiroyuki has joined #ruby
Xeago has quit [Remote host closed the connection]
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
znode has quit [Read error: Connection reset by peer]
ner0x has joined #ruby
axl_ has quit [Quit: axl_]
sergicles has left #ruby [#ruby]
sergicles has joined #ruby
axl_ has joined #ruby
znode has joined #ruby
efrainolivares has joined #ruby
sergicles has quit [Client Quit]
zz_jrhorn424 is now known as jrhorn424
znode has quit [Read error: Connection reset by peer]
lstefani has quit [Ping timeout: 245 seconds]
hiroyuki has quit [Read error: Connection reset by peer]
znode has joined #ruby
platzhirsch has left #ruby [#ruby]
Zai00 has joined #ruby
z_ is now known as z
sumark has quit [Remote host closed the connection]
kevind_ has joined #ruby
kobain has joined #ruby
znode has quit [Client Quit]
sumark has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
ravster has joined #ruby
shredding has quit [Quit: shredding]
theoretick has joined #ruby
Liquid-- has joined #ruby
kevind has quit [Ping timeout: 272 seconds]
kevind_ is now known as kevind
hamakn has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
duggiefresh has quit [Remote host closed the connection]
<gazarsgo> shevy: better lucky than good ;)
aantix has joined #ruby
astrobun_ has joined #ruby
tjbarber has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
hiroyuki has joined #ruby
swingha has joined #ruby
mac__ has joined #ruby
DanKnox_away is now known as DanKnox
kevinykchan has joined #ruby
mac__ has quit [Client Quit]
iamjarvo has quit [Remote host closed the connection]
mac__ has joined #ruby
astrobunny has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
timonv has joined #ruby
bigkevmcd has joined #ruby
mac__ has quit [Client Quit]
mac__ has joined #ruby
nomenkun has quit [Ping timeout: 272 seconds]
mac__ has quit [Client Quit]
wildroma_ has quit [Remote host closed the connection]
jibi has quit [Quit: .]
allaire has joined #ruby
macmartine has joined #ruby
jibi has joined #ruby
zeade has joined #ruby
Czupa has joined #ruby
shaunbaker has quit [Remote host closed the connection]
cpruitt has quit [Read error: Connection reset by peer]
pel_daniel has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
shaunbaker has joined #ruby
LarsSmit has quit [Quit: Leaving.]
thepumpkin has joined #ruby
k0m has quit [Quit: Textual IRC Client: www.textualapp.com]
k0m has joined #ruby
wildroma_ has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
zastern_ has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
pwh has joined #ruby
axl_ has quit [Quit: axl_]
zarubin has quit [Ping timeout: 240 seconds]
Guest49052 has joined #ruby
terrellt has quit [Ping timeout: 264 seconds]
axl_ has joined #ruby
shaunbaker has quit [Ping timeout: 245 seconds]
shaunbaker has joined #ruby
zastern has quit [Ping timeout: 268 seconds]
thepumpkin has quit [Ping timeout: 272 seconds]
echevemaster has joined #ruby
echevemaster has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
ybart has joined #ruby
shaunbak_ has joined #ruby
ybart has quit [Client Quit]
chrisja has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
kevinykchan has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Methylated has joined #ruby
Alina-malina has quit [Ping timeout: 248 seconds]
camilasa_ has quit [Remote host closed the connection]
Alina-malina has joined #ruby
leonidlm has quit [Ping timeout: 260 seconds]
shaunbaker has quit [Ping timeout: 245 seconds]
camilasan has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
whunt has quit [Quit: Computer has gone to sleep.]
notjohn has joined #ruby
saarinen has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
shaunbaker has joined #ruby
_maes_ has joined #ruby
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
Fire-Dragon-DoL has joined #ruby
chinychinchin has quit [Read error: Operation timed out]
brianpWins has joined #ruby
saarinen has joined #ruby
keen_____ has joined #ruby
shaunbaker has quit [Ping timeout: 240 seconds]
keen____ has quit [Ping timeout: 240 seconds]
virtual|home has joined #ruby
<havenwood> I really like methods returning a Symbol in 2.1, I don't use it for anything but for some reason find it pleasant
chinychinchin has joined #ruby
znode has joined #ruby
mojjojo has quit [Read error: Operation timed out]
DaniG2k has joined #ruby
soheil has joined #ruby
<DaniG2k> whats up peeps
anderson has quit [Quit: Leaving]
mojjojo has joined #ruby
wallerdev has joined #ruby
mercwithamouth has joined #ruby
anderson has joined #ruby
jkhwan has joined #ruby
<havenwood> FRIDAY \o/
Davey has joined #ruby
<DaniG2k> havenwood: WOHOO!!!
yfeldblu_ has joined #ruby
terrellt has joined #ruby
duggiefresh has joined #ruby
Liquid-- has quit [Quit: Computer has gone to sleep.]
larissa has quit [Ping timeout: 272 seconds]
whunt has joined #ruby
aryaching_ has quit [Ping timeout: 261 seconds]
znode has quit [Ping timeout: 240 seconds]
rurufufuss-away has quit [Ping timeout: 245 seconds]
freezey has quit [Remote host closed the connection]
maletor has joined #ruby
soheil has quit [Ping timeout: 240 seconds]
io_syl has joined #ruby
sayan has quit [Ping timeout: 272 seconds]
yekta has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wca has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
digital-ghost has joined #ruby
<wca> hi. is there a good way to tune GC behavior? I have a FFI::MemoryPointer that appears to be getting GC'd (C function returns EFAULT when using it, after several uses), despite being in active use. :-/
smathieu has joined #ruby
Targen has joined #ruby
m0no has quit [Quit: leaving]
sambao21 has joined #ruby
noname001 has quit [Read error: Operation timed out]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nilium has quit [Ping timeout: 246 seconds]
jbpros has joined #ruby
lukec has quit [Quit: lukec]
thecopy has joined #ruby
efrainolivares has joined #ruby
freezey has joined #ruby
znode has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lmickh has quit [Quit: lmickh]
jbpros has quit [Client Quit]
sarlalian has quit [Quit: WeeChat 0.4.0]
tiglog has joined #ruby
duggiefresh has quit [Ping timeout: 272 seconds]
Nilium has joined #ruby
znode_ has joined #ruby
banghouse2 has joined #ruby
freerobby has quit [Quit: Leaving.]
Tarential has quit [Excess Flood]
Tarential has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
znode__ has joined #ruby
existensil has joined #ruby
znode has quit [Ping timeout: 272 seconds]
postmodern has joined #ruby
wildroma_ has quit [Remote host closed the connection]
znode_ has quit [Ping timeout: 290 seconds]
DaniG2k has quit [Quit: leaving]
znode__ has quit [Quit: Lingo - http://www.lingoirc.com]
Fire-Dragon-DoL1 has joined #ruby
wca has left #ruby [#ruby]
iamjarvo has joined #ruby
jrhorn424 is now known as zz_jrhorn424
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 246 seconds]
thecopy_ has joined #ruby
freerobby has joined #ruby
utkarsh has joined #ruby
lukec has joined #ruby
<shevy> so I set out to want to rewrite a big project
<shevy> and now... I dont want to :(
dagobah has quit [Remote host closed the connection]
thecopy has quit [Ping timeout: 240 seconds]
thecopy_ is now known as thecopy
keen_____ has quit [Ping timeout: 240 seconds]
notjohn has quit [Quit: notjohn]
notjohn has joined #ruby
<andrewvos> You are an inspiration
flops has joined #ruby
<workmad3> shevy: you give hope to slackers and procrastinators everywhere!
jrhe has quit [Quit: jrhe]
<shevy> :(
adeponte has joined #ruby
jkhwan has quit [Remote host closed the connection]
<andrewvos> WILL YOU BE OUR NEW GOD
tylersmith has joined #ruby
jkhwan has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Liquid-- has joined #ruby
DrShoggoth has joined #ruby
duggiefresh has joined #ruby
momomomomo has quit [Quit: momomomomo]
tylersmith has quit [Remote host closed the connection]
jrhe has joined #ruby
bean__ has joined #ruby
frem has joined #ruby
zz_michael_mbp is now known as michael_mbp
notjohn has quit [Client Quit]
krz has quit [Quit: krz]
tylersmith has joined #ruby
<D4T> hi all, I'm trying to figure the best of running 3-5 subprocesses then outputting all of the stdouts to well, stdout
CaptainJet has joined #ruby
tvw has quit []
<D4T> any pointers anyone?
mrsolo has quit [Quit: This computer has gone to sleep]
zoo-zed has joined #ruby
wildroma_ has joined #ruby
zoo-zed has quit [Client Quit]
jkhwan has quit [Ping timeout: 272 seconds]
chaitu87 has joined #ruby
<havenwood> D4T: Serialize and pass over Redis or Unix Socket. Take a look at XPool maybe: https://github.com/robgleeson/xpool#readme
chaitu87 has quit [Client Quit]
<havenwood> D4T: Or ifuture: https://github.com/havenwood/ifuture#readme
<D4T> ok cool i'll check them out. thanks
MrPoT4tO has joined #ruby
mrpot4to_ has joined #ruby
heidi has joined #ruby
zastern_ has quit [Remote host closed the connection]
jkhwan has joined #ruby
zoo-zed has joined #ruby
zastern has joined #ruby
e-dard has left #ruby [#ruby]
Heero has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
<havenwood> D4T: Both of those use ichannel, which actually is prolly the one i shoulda pointed you to :), oh well in any case: https://github.com/robgleeson/ichannel#readme
zoo-zed has quit [Remote host closed the connection]
zoo-zed has joined #ruby
<D4T> havenwood: ok thanks :)
TMM has quit [Quit: Ex-Chat]
IcyDragon has joined #ruby
<shevy> hmm guys
timonv has quit [Write error: Broken pipe]
<shevy> is it possible to require a project, a module called Foo, like: require 'foo', but to also automatically do include Foo, based on the require line alone?
mrsolo has joined #ruby
bigkevmcd has quit [Quit: outta here]
IceDragon has quit [Ping timeout: 246 seconds]
camilasa_ has quit []
vpretzel has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 252 seconds]
jkhwan has quit [Remote host closed the connection]
vpretzel has joined #ruby
zoo-zed has quit [Client Quit]
<existensil> that's kind of how autoload works, no?
jkhwan has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<existensil> nvm. i guess that's not actually including the module, just nesting
zoo-zed has joined #ruby
keen_____ has joined #ruby
johnnyfuchs has quit [Quit: Leaving.]
zoo-zed has quit [Client Quit]
Voodoofish430 has joined #ruby
einarj has quit [Remote host closed the connection]
jamblack has quit [Quit: jamblack]
bean__ has joined #ruby
habanany has joined #ruby
habanany has quit [Client Quit]
heidi has quit [Quit: Leaving.]
ghr has quit [Quit: Computer has gone to sleep.]
jonathanwallace has quit [Ping timeout: 246 seconds]
vpretzel has quit [Ping timeout: 272 seconds]
<havenwood> shevy: def require_and_include this; require this.to_s; begin; include Module.const_get this.to_s.capitalize; rescue NameError; include Module.const_get this.to_s.upcase end end; require_and_include 'json'; dump 'test'
jkhwan has quit [Ping timeout: 272 seconds]
<havenwood> shevy: :P
saarinen has quit [Read error: Connection reset by peer]
<havenwood> >> def require_and_include this; require this.to_s; begin; include Module.const_get this.to_s.capitalize; rescue NameError; include Module.const_get this.to_s.upcase end end; require_and_include 'json'; dump 'test'
<eval-in> havenwood => (https://eval.in/59594)
jerius has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby
<havenwood> Oh, right, forbidden access to filesystem.
<havenwood> Then you need a proper Camelize and ScreamingSnakeCasealize, etc etc.
lnormous has joined #ruby
jibi has quit [Read error: Operation timed out]
<havenwood> shevy: Nope, don't know of any such thing.
jerius has joined #ruby
brtdv has quit []
jibi has joined #ruby
yvemath has joined #ruby
jerius has quit [Client Quit]
chrishough has joined #ruby
elux has joined #ruby
barratt has quit [Ping timeout: 272 seconds]
jkhwan has joined #ruby
bricker_ is now known as bricker
Guest49052 has left #ruby [#ruby]
Guest49052 has joined #ruby
sarlalian has joined #ruby
mva3212 has quit [Remote host closed the connection]
jkhwan has quit [Remote host closed the connection]
heidi has joined #ruby
jkhwan has joined #ruby
brtdv has joined #ruby
Liothen has joined #ruby
simoz has quit [Ping timeout: 272 seconds]
johnnyfuchs has joined #ruby
chinychinchin has quit [Read error: Connection reset by peer]
jerius has joined #ruby
chinychinchin has joined #ruby
chinychinchin has quit [Read error: Connection reset by peer]
chinychinchin has joined #ruby
soheil_ has joined #ruby
freezey has quit [Remote host closed the connection]
jkhwan has quit [Ping timeout: 272 seconds]
freezey has joined #ruby
Lewix has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
inad922 has joined #ruby
<inad922> hello
freezey has quit [Ping timeout: 240 seconds]
<inad922> If I installed a batch of packages with bundle in a directory how can I force irb to use them?
<MrZYX> bundle exec irb
hiall has quit [Quit: hiall]
klaut has quit []
jrhe has quit [Quit: jrhe]
chrishough has quit [Quit: chrishough]
b00stfr3ak has joined #ruby
timonv has joined #ruby
<MrZYX> if you want to load them all, run Bundler.require(:default) then
jerius has quit []
chinychinchin has quit [Ping timeout: 260 seconds]
lmickh has joined #ruby
rumi has joined #ruby
freezey has joined #ruby
rumi has quit [Client Quit]
near89 has joined #ruby
<inad922> MrZYX: Thanks you.
<near89> hi
<near89> im trying to install a gem called tire in jruby
<near89> can anyone help me?
tatsuya_o has quit [Remote host closed the connection]
<havenwood> shevy: here's a stab at it just for fun: https://gist.github.com/havenwood/f020567d680449d347a2
ReachingFarr has joined #ruby
<havenwood> shevy: (tries to include all modules that came into the object space with the gem, could pair it down to just modules that downcased match the gem name, if that is preferred.
monkegjinni has joined #ruby
vpretzel has joined #ruby
<havenwood> )
iamjarvo has quit [Remote host closed the connection]
Kamuela has quit [Read error: Connection reset by peer]
ehc has quit [Quit: ehc]
iamjarvo has joined #ruby
<havenwood> >.>
<inad922> Could someone tell me how should I set the headers with a request with RestClient from the rest-client package?
c0rn has joined #ruby
vlad_starkov has joined #ruby
<havenwood> near89: gem install tire
jkhwan has joined #ruby
jonathanwallace has joined #ruby
tvw has joined #ruby
cina has quit [Quit: leaving]
<havenwood> near89: find to ask here, but just a heads-up there is #jruby too
<near89> oh thanks!
<havenwood> near89: Assuming `gem install tire` didn't work somehow?
iamjarvo_ has joined #ruby
rezzack has joined #ruby
<near89> no, its actually jruby -S gem install tire
iamjarvo has quit [Remote host closed the connection]
<near89> im trying to use jruby because ruby is too slow
<near89> and i don't want to change the language :S
aganov has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
zeade has quit [Quit: Leaving.]
<near89> is there some way to do this? or to speed up ruby?
<near89> its reading a large file and parsing data
timonv has quit [Remote host closed the connection]
<near89> and then using the gem to upload the data to elasticsearch a search engine
sambao21 has quit [Quit: Computer has gone to sleep.]
adeponte has joined #ruby
timonv has joined #ruby
thepumpkin has joined #ruby
werdnativ has joined #ruby
lsmola has quit [Ping timeout: 264 seconds]
interactionjaxsn has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
zeade has joined #ruby
<shevy> havenwood, a moment, just was eating downstairs in the kitchen, need to get my brain back into activity mode
larissa has joined #ruby
interactionjaxsn has joined #ruby
Akuma has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
freezey has quit [Remote host closed the connection]
freezey has joined #ruby
sambao21 has joined #ruby
moted has quit [Quit: moted]
iliketurtles has joined #ruby
timonv has quit [Ping timeout: 241 seconds]
moted has joined #ruby
lfox has quit [Quit: ZZZzzz…]
iamjarvo_ has quit [Read error: Connection reset by peer]
fgo has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<near89> is there an alternative to jruby?
<near89> that is fast and can use gems?
interactionjaxsn has quit [Ping timeout: 245 seconds]
<terrellt> Rubinius 2 is supposed to be pretty good, but last time I tried it was a hassle getting it to work with rbenv.
interactionjaxsn has joined #ruby
Hanmac has joined #ruby
i_s has joined #ruby
monkegjinni has quit [Ping timeout: 253 seconds]
iamjarvo_ has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
Desert_eagle has quit [Quit: Leaving]
freezey has quit [Ping timeout: 272 seconds]
Hanmac1 has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Remote host closed the connection]
sayan has joined #ruby
iamjarvo_ has quit [Read error: Connection reset by peer]
nwertman has joined #ruby
iamjarvo has joined #ruby
x1337807x has joined #ruby
jerius has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
troessner has quit [Quit: Leaving]
anderse has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
<havenwood> near89: What kinda data parsing? Any code you can show?
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
nwertman has quit [Ping timeout: 272 seconds]
optikal has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo_ has joined #ruby
<terrellt> And how much data? It would take a lot for ruby's speed to be important
CreativeEmbassy has joined #ruby
anderse has quit [Client Quit]
CreativeEmbassy has quit [Max SendQ exceeded]
lstefani has joined #ruby
Leandro__ has joined #ruby
Leandro__ has quit [Max SendQ exceeded]
CreativeEmbassy has joined #ruby
hamed_r has quit [Quit: Ex-Chat]
shredding has joined #ruby
Stygia has quit [Remote host closed the connection]
CreativeEmbassy has quit [Max SendQ exceeded]
Leandro__ has joined #ruby
jkhwan has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
zz_jrhorn424 is now known as jrhorn424
CreativeEmbassy has joined #ruby
jkhwan has joined #ruby
ArchBeOS has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]]
wallerdev has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
lstefani has quit [Max SendQ exceeded]
rdnsget has joined #ruby
rdnsget has left #ruby [#ruby]
vlad_starkov has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
thecopy has quit [Read error: Connection reset by peer]
iamjarvo has quit [Read error: Connection reset by peer]
lstefani has joined #ruby
iamjarvo has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
OdNairy has quit []
mrpot4to_ has quit [Remote host closed the connection]
MrPoT4tO has quit [Read error: Connection reset by peer]
breakingthings has quit []
krawchyk_ has joined #ruby
inad922 has quit [Quit: Page closed]
Davey has quit [Quit: Computer has gone to sleep.]
breakingthings has joined #ruby
lfox has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
krawchyk has quit [Read error: Operation timed out]
vpretzel has quit [Ping timeout: 246 seconds]
<shevy> is there a way to find out which modules are included?
OdNairy has joined #ruby
lstefani has quit [Max SendQ exceeded]
daga has joined #ruby
tharindu has quit [Quit: Leaving...]
<daga> can a ruby shell 'speak to' a python one?
<daga> if i produce some output in ruby but want to continue in another language can i just switch ?
lstefani has joined #ruby
threesome has quit [Ping timeout: 268 seconds]
<jkamenik> dump the output to a file
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
_whitelogger has joined #ruby
Akuma has joined #ruby
<havenwood> shevy: Yeah, the return value is an Array of those that were included.
CreativeEmbassy has joined #ruby
allsystemsarego_ has joined #ruby
jkhwan has joined #ruby
VTLob has joined #ruby
ctp- has quit [Quit: Leaving...]
JeanMertz has joined #ruby
daga has quit [Quit: Page closed]
allsystemsarego has quit [Ping timeout: 240 seconds]
AndChat| has quit [Quit: Bye]
lkba has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<banisterfiend> anyone here speak dutch?
relix has joined #ruby
Senjai has joined #ruby
Senjai has joined #ruby
<banisterfiend> maloik ping
Boohbah has joined #ruby
ged has joined #ruby
monkegjinni has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
ctp_ has joined #ruby
<havenwood> shevy: oops, i was checking `#is_a? Module` when I meant `#class == Module`
jkhwan has quit [Remote host closed the connection]
<shevy> hmm
<havenwood> banisterfiend: Just enough to order a hot chocolate and some apple pie!
<shevy> I think I ate too much, now there is no blood in the brain, I cant think well at all
jkhwan has joined #ruby
CreativeEmbassy has joined #ruby
Senjai has quit [Read error: Connection reset by peer]
Senjai has joined #ruby
Senjai has joined #ruby
<sam113101> I can't think straight either but I don't know why
elux has quit [Quit: Leaving...]
<sam113101> I can't concentrate
k0m has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
Kabaka has quit [Remote host closed the connection]
swingha has quit [Quit: WeeChat 0.4.2]
ebetancourt has joined #ruby
elux has joined #ruby
ebetancourt has quit [Max SendQ exceeded]
<havenwood> uh oh... we should notify medical and report to the ship infirmary
k0m has joined #ruby
jprovazn has quit [Quit: Odcházím]
carraroj has joined #ruby
k0m has quit [Client Quit]
jkhwan has quit [Ping timeout: 272 seconds]
Al_ has quit [Quit: Al_]
jonahR has quit [Quit: jonahR]
zigomir has joined #ruby
shivamib has quit [Remote host closed the connection]
Davey has joined #ruby
<Hanmac> shevy are you looking for #included_modules ?
<havenwood> Hanmac: he wants to auto-include modules just required
<shevy> Hanmac where is included_modules?
kraljev2 has joined #ruby
<Hanmac> defined in Module
<shevy> oh
<shevy> cool
chrisja has quit [Quit: leaving]
tatsuya_o has joined #ruby
<kraljev2> hey guys, please help me out
<havenwood> now where's #not_included_modules :P
<kraljev2> i have two pieces of code that should perform the same
<kraljev2> they don't
<kraljev2> any idea?
jkline has joined #ruby
coderhs has joined #ruby
g0bl1n has joined #ruby
vpretzel has joined #ruby
<kraljev2> anyone?
sambao21 has quit [Quit: Computer has gone to sleep.]
<gazarsgo> the two pieces of code differ, make them the same! then they will perform the same.
<kraljev2> i think those two pieces of code are identical
<kraljev2> so they don't differ
jkline has quit [Client Quit]
<kraljev2> dare to elaborate?
<kraljev2> they should have the same effect
timonv has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
benwoody has quit [Quit: benwoody]
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cads has joined #ruby
vpretzel has quit [Ping timeout: 245 seconds]
<gazarsgo> it doesn't matter what you think, either your methodology for measuring performance is wrong, or your evaluation that the code is the same is wrong, so revisit your assumptions
benwoody has joined #ruby
vlad_starkov has joined #ruby
<kraljev2> who is talking about performance
<kraljev2> i'm talking about effect
<Hanmac> kraljev2: hm show more of your code with a working sample, maybe with that we can find why it is different
kenneth has joined #ruby
yekta has quit [Quit: yekta]
<havenwood> kraljev2: What is the difference? What error do you get with the latter? Gist?
verto has joined #ruby
workmad3 has joined #ruby
<kraljev2> i don't know yet
<kraljev2> but the code didn't work, so i put arguments to immediate variable
vpretzel has joined #ruby
existensil has quit [Ping timeout: 246 seconds]
<kraljev2> then it started working
iamjarvo has quit [Remote host closed the connection]
<kraljev2> i did so I could print them out
allsystemsarego_ has quit [Quit: Leaving]
iamjarvo has joined #ruby
<gazarsgo> You are in a maze of twisty little passages, all alike.
<MrZYX> kraljev2: if I recreate that minimal example to something I can run, they're equivalent
axl_ has quit [Quit: axl_]
<kraljev2> sure, that surpries me too
jkline has joined #ruby
jkhwan has joined #ruby
<kraljev2> but I can't think of any possible example where these two pieces of code would differ
workmad3 has quit [Read error: Operation timed out]
<gazarsgo> the minimal example should be self contained (all vars assigned values)
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> kraljev2: You're in Ruby 1.9.2+, right?
saarinen has quit [Quit: saarinen]
Senjai_ has joined #ruby
<kraljev2> yep, 2.0
Senjai has quit [Ping timeout: 272 seconds]
iamjarvo has quit [Ping timeout: 260 seconds]
tjbarber has joined #ruby
<havenwood> kraljev2: I don't see a difference in what gisted. Would have to see the code I guess or have a test case to reproduce.
<havenwood> what you gisted*
sadleb has joined #ruby
parzo_ has quit []
a1ph4g33k has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<havenwood> kraljev2: Double check it isn't getting run with 1.8 for some reason, then i'd expect the difference. ;P
<havenwood> 18>> args = *[]
<eval-in> havenwood => nil (https://eval.in/59620)
freezey has joined #ruby
<havenwood> >> args = *[]
<eval-in> havenwood => [] (https://eval.in/59621)
<kraljev2> hmm, that is interesting
Tritania has joined #ruby
Liquid-- has quit [Ping timeout: 260 seconds]
grenierm5 has joined #ruby
Davey has quit [Ping timeout: 245 seconds]
g0bl1n has quit [Quit: g0bl1n]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
larissa has quit [Quit: Leaving]
c0rn has joined #ruby
<coderhs> hi was trying out more ruby code.
<coderhs> and was learning pack command in arrays
jhaals has joined #ruby
<coderhs> i saw this reaction when i unpack an encoded array http://csnipp.com/s/51
kirun has joined #ruby
Davey has joined #ruby
<coderhs> array of two element, when decoded became one element
smathieu has quit [Remote host closed the connection]
ReachingFarr has quit [Ping timeout: 272 seconds]
smathieu has joined #ruby
alvaro_o has joined #ruby
freezey has quit [Ping timeout: 272 seconds]
lnormous has quit [Ping timeout: 245 seconds]
endash has joined #ruby
Davey has quit [Read error: Connection reset by peer]
smathieu has quit [Ping timeout: 245 seconds]
existensil has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
jkhwan has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
jkhwan has joined #ruby
havenwood has joined #ruby
decoponio has quit [Quit: Leaving...]
bassclef has joined #ruby
rickruby has joined #ruby
bassclef is now known as Guest86644
havenn has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
tatsuya_o has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
ssvo has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
near89 has left #ruby [#ruby]
Astralum has joined #ruby
Davey has joined #ruby
Zai00 has quit [Quit: Zai00]
vlad_sta_ has joined #ruby
tatsuya_o has quit [Ping timeout: 272 seconds]
jkline has quit [Quit: jkline]
joshua_Bishop has joined #ruby
joshua_Bishop has left #ruby [#ruby]
nucatus has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nucatus has joined #ruby
zaargy_ is now known as zaargy
vlad_starkov has quit [Ping timeout: 272 seconds]
tonni has quit [Remote host closed the connection]
dsferreira has joined #ruby
adjo has quit [Ping timeout: 272 seconds]
sambao21 has joined #ruby
nucatus has quit [Ping timeout: 245 seconds]
axl_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
gyre007 has quit [Read error: Operation timed out]
benwoody has quit [Quit: benwoody]
tylersmith has joined #ruby
nucatus has joined #ruby
wildroma_ has quit [Remote host closed the connection]
Zai00 has joined #ruby
thyagobr has joined #ruby
benwoody has joined #ruby
Zai00 has quit [Client Quit]
freezey has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
echevemaster is now known as echevemaster_afk
anderse has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
sarlalian has quit [Quit: WeeChat 0.4.0]
mlpinit has quit [Remote host closed the connection]
sarlalian has joined #ruby
jrhe has joined #ruby
ahawkins has joined #ruby
Guest62242 has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tiglog has quit [Quit: Leaving]
robustus has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
DanKnox is now known as DanKnox_away
Dreamer3 has joined #ruby
anderse has quit [Quit: anderse]
end_guy has quit [Remote host closed the connection]
robustus has joined #ruby
smathieu has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
rickruby has quit [Ping timeout: 246 seconds]
fedalto has joined #ruby
allaire has quit []
benwoody has quit [Quit: benwoody]
vpretzel_ has joined #ruby
fmcgeough has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
vpretzel has quit [Ping timeout: 240 seconds]
mlpinit has joined #ruby
iliketurtles has joined #ruby
aspires has joined #ruby
skaflem has quit [Quit: Leaving]
jrhe has quit [Ping timeout: 245 seconds]
lstefani has quit [Ping timeout: 245 seconds]
capicue has joined #ruby
soulcake has quit [Ping timeout: 260 seconds]
cody-- has quit [Quit: derp]
kenneth has quit [Quit: kenneth]
<kraljev2> For anybody wondering about my previous question, about two seemingly identical snippets
soulcake has joined #ruby
<kraljev2> they were not, because #id redefined storage
elux has quit [Quit: Bye!]
soulcake has quit [Read error: Connection reset by peer]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bigoldrock has joined #ruby
coderhs has quit [Ping timeout: 260 seconds]
mark_locklear has quit [Quit: Leaving]
pwh has quit []
lstefani has joined #ruby
apeiros has quit [Remote host closed the connection]
soulcake has joined #ruby
Xeago has joined #ruby
monkegjinni has joined #ruby
ldnunes has quit [Quit: Leaving]
kobain_ has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<madb055> hello people
<madb055> is there a specific rails channel?
<MrZYX> yes, #rubyonrails
kobain has quit [Ping timeout: 260 seconds]
lnormous has joined #ruby
<madb055> merci
mlpinit has quit [Remote host closed the connection]
lstefani has quit [Max SendQ exceeded]
c0rn has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
ahawkins has quit [Read error: Connection reset by peer]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soulcake has joined #ruby
lstefani has joined #ruby
saarinen has joined #ruby
robaman has quit [Ping timeout: 240 seconds]
robaman has joined #ruby
ShellFu has joined #ruby
pskosinski has joined #ruby
lstefani has quit [Max SendQ exceeded]
ntzrmtthihu777 has joined #ruby
smathieu has joined #ruby
x1337807x has joined #ruby
<ShellFu> hey guys. When using something like slop for CLI arg parsing would be it proper to put the Slop do block into initialize in a class? Right now its just sitting in an rb file like a shell script, but am curious what is the preferred/proper place
<ntzrmtthihu777> hey. is there some universal method like to_s that can make irb print out the contents of a ruby class?
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<ShellFu> then call class.opts or similar?
lstefani has joined #ruby
theoretick has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
kenneth has joined #ruby
tatsuya_o has joined #ruby
<unholycrab> is there a way to tell if i am at the last item from within a hash.each_pair { |k,v| [...] } loop?
<unholycrab> ie: check to see if this is the last key/value pair that i will be iterating through?
robaman has quit [Ping timeout: 245 seconds]
coderhs has joined #ruby
<ntzrmtthihu777> unholycrab: check for an index of -1?
<MrZYX> ntzrmtthihu777: do you mean .inspect?
robaman has joined #ruby
<ntzrmtthihu777> MrZYX: maybe... lemme check
dsferreira has quit [Quit: Leaving]
mudmaster has quit [Ping timeout: 245 seconds]
<MrZYX> unholycrab: do you need to take a whole different action on the last pair or just an additional one?
fmcgeough has quit [Quit: fmcgeough]
brtdv has quit []
<unholycrab> more like, i need to take an action if it is not the last item
<ntzrmtthihu777> MrZYX: nah, that checks the Object a class defines, yeah? I'm asking because I'm writing a java extension/jem for jruby, but I'm having issue running Class.new; I think its using the constructor instead of the initialize method I setup :/
tatsuya_o has quit [Ping timeout: 245 seconds]
<MrZYX> unholycrab: okay, so an additional action? there's still a common action for all elements?
<unholycrab> MrZYX: yes
aspires has quit [Quit: sudo making a sandwich]
jkhwan has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
Shidash has quit [Quit: Leaving.]
<MrZYX> hmm, maybe do .reverse.with_index, i == 0; but I guess I'd rather extract both actions into methods and do something like hash.to_a[0..-2].each do |k, v| common(k, v); other(k, v); end; common(*hash.to_a.last) if that makes sense
Shidash has joined #ruby
mudmaster has joined #ruby
soulcake has joined #ruby
grenierm5 has quit [Ping timeout: 250 seconds]
shadoi has joined #ruby
Nogbit has left #ruby [#ruby]
soulcake has quit [Read error: Connection reset by peer]
mudmaste_ has joined #ruby
<unholycrab> no that doesn't make sense
smoothbutta has joined #ruby
<unholycrab> meaning, i dont understand
soulcake has joined #ruby
krawchyk_ has quit []
tjad has joined #ruby
<unholycrab> ruby 1.8.7 by the way
<MrZYX> uh, oh
<MrZYX> you know that's out of support?
colonolGron has joined #ruby
wildroma_ has joined #ruby
<MrZYX> also describe your underlying problem, maybe there's elegant solution other than determining in what iteration you are
geekbri has quit []
mudmaste_ has quit [Client Quit]
BizarreCake has quit [Ping timeout: 256 seconds]
<havenn> unholycrab: Ruby 2.0.0 ftw. 1.8.7 is way too old, past end of life.
soulcake has quit [Read error: Connection reset by peer]
<ntzrmtthihu777> havenn: what say you on 2.0? stable enough for common use?
<havenn> ntzrmtthihu777: yeah, totally
Es0teric has quit [Quit: Computer has gone to sleep.]
maletor has quit [Quit: Computer has gone to sleep.]
<ntzrmtthihu777> havenn: I use jruby, so I have 1.8, 1.9, and 2.0 all at my disposal :P
mercwithamouth has joined #ruby
soulcake has joined #ruby
mudmaster has quit [Ping timeout: 245 seconds]
<havenn> ntzrmtthihu777: isn't JRuby 9000 already on 2.1 compatibility mode?
capicue has quit [Ping timeout: 240 seconds]
<ntzrmtthihu777> havenn: jruby 9000?
michael_mbp is now known as zz_michael_mbp
sepp2k has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
soulcake has joined #ruby
<ntzrmtthihu777> havenn: ah. did not know it was called that :P
axl_ has quit [Quit: axl_]
anderse has joined #ruby
marius has joined #ruby
marius has quit [Max SendQ exceeded]
saarinen has quit [Quit: saarinen]
soulcake has quit [Read error: Connection reset by peer]
SloggerKhan has joined #ruby
marius has joined #ruby
marius has quit [Max SendQ exceeded]
soulcake has joined #ruby
allaire has joined #ruby
joshua_Bishop has joined #ruby
RichardBaker has joined #ruby
joshua_Bishop has left #ruby [#ruby]
soulcake has quit [Read error: Connection reset by peer]
adjo has joined #ruby
soulcake has joined #ruby
jibi has quit [Quit: Lost terminal]
jibi has joined #ruby
ffranz has quit [Quit: Leaving]
blackmesa has joined #ruby
macmartine has quit []
phantasm66 has quit [Quit: *sleeeep….]
soulcake has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
soulcake has joined #ruby
rickruby has joined #ruby
anderse has quit [Quit: anderse]
dangerousdave has quit [Read error: Connection reset by peer]
<kraljev2> Why didn't this get into 2.0?
saarinen has joined #ruby
dangerousdave has joined #ruby
axl_ has joined #ruby
tsykoduk is now known as zz_tsykoduk
soulcake has quit [Read error: Connection reset by peer]
soulcake has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
soulcake has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
soulcake has joined #ruby
thyagobr has quit [Quit: thyagobr has no reason]
justsee has joined #ruby
capicue has joined #ruby
kraljev2 has quit [Ping timeout: 272 seconds]
cody-- has joined #ruby
capicue has quit [Client Quit]
malkomalko has joined #ruby
kraljev2 has joined #ruby
jkline has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
nwertman has joined #ruby
soulcake has joined #ruby
saarinen has quit [Quit: saarinen]
Tearan has joined #ruby
agjacome has joined #ruby
brtdv has joined #ruby
kraljev2 has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
kraljev2 has joined #ruby
sambao21 has joined #ruby
mercwithamouth has quit [Ping timeout: 266 seconds]
sambao21 has quit [Client Quit]
<unholycrab> havenn: ruby 2 would be really nice :C
<havenn> unholycrab: Why 1.8?
havenn is now known as havenwood
<havenwood> unholycrab: crazy old legacy project that nobody has been maintaining? or just haven't installed 2.0? :P
angusiguess has quit [Ping timeout: 245 seconds]
jkamenik has quit [Quit: Leaving.]
kaldrenon has quit [Remote host closed the connection]
Czupa has quit [Ping timeout: 263 seconds]
kaldrenon has joined #ruby
ner0x has quit [Quit: Leaving]
Authenticator has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
soulcake has joined #ruby
agjacome_ has joined #ruby
agjacome_ has quit [Client Quit]
sambao21 has joined #ruby
colonolGron has quit [Ping timeout: 260 seconds]
elaptics is now known as elaptics`away
<Authenticator> Is there a way to run a subprocess in another thread, AND read its stdout/stderr in realtime? I'm using popen3 (non-block form) to run something and process its output. The new thing takes about 1h to run, and 1h to process, but most of this could overlap ...
D4T has quit [Quit: Textual IRC Client: www.textualapp.com]
<unholycrab> the former, havenwood
kaldrenon has quit [Ping timeout: 240 seconds]
agjacome has quit [Ping timeout: 240 seconds]
<Authenticator> I've managed to return the filehandles and task before it's done, but doing the task.wait in a thread, but when I try to read the stdout filehandle it still blocks until the process it done.
dma has joined #ruby
stringoO has quit [Quit: stringoO]
interactionjaxsn has quit [Remote host closed the connection]
dma is now known as Guest17979
interactionjaxsn has joined #ruby
stringoO has joined #ruby
Notte has quit [Remote host closed the connection]
colonolGron has joined #ruby
mojjojo has quit [Quit: Leaving]
soulcake has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
danshultz has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
zz_tsykoduk is now known as tsykoduk
soulcake has joined #ruby
danshultz has joined #ruby
breakingthings has quit []
pu22l3r has joined #ruby
axl_ has quit [Quit: axl_]
vlad_starkov has quit [Remote host closed the connection]
SilverKey has joined #ruby
SilverKey has quit [Max SendQ exceeded]
pskosinski_ has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
interactionjaxsn has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
soulcake has joined #ruby
<havenwood> Authenticator: You want the job done in another process or another thread in the same process? You want to it be like a future or promise? Can you elaborate or do you have any code to Gist?
jerius has quit []
kenneth has quit [Ping timeout: 246 seconds]
stringoO has quit [Ping timeout: 272 seconds]
Czupa has joined #ruby
pskosinski has quit [Ping timeout: 245 seconds]
Czupa has quit [Remote host closed the connection]
<havenwood> unholycrab: uhg, that is tough
pu22l3r has quit [Ping timeout: 268 seconds]
danshultz has quit [Ping timeout: 272 seconds]
tatsuya_o has joined #ruby
malkomalko has quit [Remote host closed the connection]
gazarsgo has quit [Quit: gazarsgo]
aspires has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
sailias has quit [Quit: Leaving.]
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
predator117 has quit [Ping timeout: 272 seconds]
lukec has quit [Quit: lukec]
soulcake has joined #ruby
freezey has quit [Remote host closed the connection]
freezey has joined #ruby
tatsuya_o has quit [Ping timeout: 260 seconds]
felixjet has quit [Read error: Connection reset by peer]
ahawkins has joined #ruby
einarj has joined #ruby
jbpros has joined #ruby
<Authenticator> havenwood: No preference, as long as it runs without blocking - such that I can process the early input before the later. Nothing to gist yet, maybe in a minute.
maletor has joined #ruby
pskosinski_ is now known as pskosinski
jbpros has quit [Client Quit]
misutowolf has joined #ruby
axl_ has joined #ruby
<misutowolf> 'ello, folks.
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
zz_jrhorn424 is now known as jrhorn424
freezey has quit [Ping timeout: 272 seconds]
<misutowolf> So, random question. If I'm going to be getting into serious Ruby development (namely, Rails)...I've been told by a friend that I should -always- use RVM to manage my Ruby install.
DanKnox_away is now known as DanKnox
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 272 seconds]
ehc has joined #ruby
lstefani has quit [Ping timeout: 245 seconds]
soulcake has quit [Read error: Connection reset by peer]
<havenwood> misutowolf: You want to know if that is sage advice?
felixjet has joined #ruby
soulcake has joined #ruby
failshel_ has joined #ruby
<misutowolf> Well, I dunno. I guess I'm just wanting to do things right. That, and I guess I should be using it anyway, since I want to use Rails 4, and Ubuntu's repository ruby version is 1.9.3.
verto has quit [Ping timeout: 245 seconds]
felixjet has quit [Client Quit]
felixjet has joined #ruby
<havenwood> misutowolf: It is fine to use RVM, chruby/ruby-install, rbenv/ruby-build or other ways.
timonv has quit [Remote host closed the connection]
<misutowolf> Cool. :)
<havenwood> misutowolf: RVM may be the path of least resistance if you don't want to learn many things. I like ruby-install with chruby personally. :)
timonv has joined #ruby
freezey has joined #ruby
ahawkins has quit [Quit: leaving]
aBound has joined #ruby
lstefani has joined #ruby
<aBound> Howdy all, am new to Ruby figures I am looking for a good GUI library any recommendations?!?
duggiefresh has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 272 seconds]
<havenwood> aBound: figures?
<aBound> havenwood, Yes a bit off on the grammar. :)
lfox has quit [Quit: ZZZzzz…]
<havenwood> aBound: oh, just wondered if it was a term of art or something or if you just mean gui bindings
predator117 has joined #ruby
failshel_ has quit [Ping timeout: 272 seconds]
cody-- has quit [Quit: derp]
Jabberish has quit [Remote host closed the connection]
felixjet has quit [Read error: Connection reset by peer]
Jabberish has joined #ruby
honey has joined #ruby
ehc has quit [Quit: ehc]
<misutowolf> I take it if I'm going to want a user signup/login/logout system for my app, that Devise is definitely worth looking into?
<honey> hello
timonv has quit [Ping timeout: 245 seconds]
kraljev2 has left #ruby [#ruby]
nateberkopec has quit [Quit: Leaving...]
<havenwood> aBound: JRuby has Swig and Shoes4 looks neat. Hard to choose which binding lib to use for Ruby.
<havenwood> honey: hey
soulcake has quit [Read error: Connection reset by peer]
<honey> hey havenwood
<havenwood> misutowolf: Yeah, worth either using or just looking at how it does it.
felixjet has joined #ruby
soulcake has joined #ruby
<aBound> I seen one by the name of FXRuby can't say if it's any good.
<misutowolf> havenwood, thanks
vpretzel_ has quit [Remote host closed the connection]
vpretzel has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
right1 has left #ruby ["Leaving"]
<havenwood> misutowolf: Good trivia why this method is redundant and actually not needed: https://github.com/plataformatec/devise/blob/master/lib/devise.rb#L470-479
ntzrmtthihu777 has quit [Quit: leaving]
duggiefresh has joined #ruby
duggiefresh has quit [Client Quit]
volty has joined #ruby
tomzx_mac has joined #ruby
monkegjinni has quit [Remote host closed the connection]
<misutowolf> Hm?
mary5030 has quit [Remote host closed the connection]
monkegjinni has joined #ruby
pyrac has joined #ruby
<havenwood> misutowolf: oh, if you decide you want to extract devise auth (have done in the past), you run into that ^, which they do to avoid timing attacks but it isn't actually needed with bcrypt, which they're using here. anyways, nv
<havenwood> nvm**
tjbarber has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<misutowolf> Neat.
capicue has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
<misutowolf> I think I'll probably use devise in my app
RichardBaker has quit [Quit: RichardBaker]
honey has left #ruby ["K Bai!"]
<havenwood> misutowolf: It is a good example of using a constant time algorithm to avoid timing attacks though
aBound has left #ruby ["Leaving"]
<misutowolf> I'm essentially reinventing the wheel for my first Ruby project, but...oh well. It's a good way to learn Ruby and Rails, while doing something I'll feel is at least useful.
vlad_starkov has joined #ruby
justsee has quit [Ping timeout: 260 seconds]
vpretzel has joined #ruby
lstefani has quit [Ping timeout: 245 seconds]
<misutowolf> :)
<misutowolf> Holy crap, I'm looking at this RailsCast about Devise, it looks STUPID easy to get going.
petey_ has joined #ruby
pothibo has joined #ruby
pothibo has quit [Client Quit]
<misutowolf> Mmmm
blackratdog has joined #ruby
monkegjinni has quit [Ping timeout: 272 seconds]
<misutowolf> I'm so glad I installed Xubuntu. It's so clean feeling.
zachrab has joined #ruby
frem has quit [Ping timeout: 240 seconds]
<misutowolf> Though I forgot how abysmally slow my mother's internet is
<misutowolf> COmpared to mine
<misutowolf> 15M vs. 3
westoque has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
bigoldrock has quit [Ping timeout: 272 seconds]
soulcake has quit [Read error: Connection reset by peer]
RichardBaker has joined #ruby
tatsuya_o has joined #ruby
soulcake has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
tjbarber has joined #ruby
derebos has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
lstefani has joined #ruby
soulcake has joined #ruby
Xeago has joined #ruby
<Authenticator> havenwood: I current have i,o,e,t = popen3(...); t.wait ... I want to switch to something like i,o,e,t = nil ; Thread.new popen3(...) {|i,o,e,t| ... } ; return [i,o,e,t]
tatsuya_o has quit [Ping timeout: 272 seconds]
<Authenticator> havenwood: The last one (roughly) works, but when I try to read one of the filehandles it blocks until the process is fully finished anyways, even if i don't read that far.
westoque has quit [Quit: westoque]
Guest17979 has quit [Remote host closed the connection]
pyrac has quit [Quit: pyrac]
volty has quit [Quit: Konversation terminated!]
Banistergalaxy has quit [Ping timeout: 272 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
TheMoonMaster has quit [Excess Flood]
adambeynon has joined #ruby
petey_ has quit [Ping timeout: 245 seconds]
Xeago has quit [Ping timeout: 272 seconds]
TheMoonMaster has joined #ruby
drag00n has quit [Ping timeout: 240 seconds]
jkhwan has quit [Remote host closed the connection]
cads has quit [Ping timeout: 272 seconds]
soulcake has quit [Read error: Connection reset by peer]
jkhwan has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
right1 has joined #ruby
gyzmodo has quit []
c0rn has quit [Quit: Computer has gone to sleep.]
wildroma_ has quit [Remote host closed the connection]
soulcake has joined #ruby
mengu has joined #ruby
wildroma_ has joined #ruby
c0rn has joined #ruby
mlpinit has quit [Remote host closed the connection]
bean__ has joined #ruby
freerobby has quit [Quit: Leaving.]
smathieu has quit [Remote host closed the connection]
Shidash has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
Shidash has joined #ruby
bean__ has quit [Client Quit]
freezey has quit [Remote host closed the connection]
wildroma_ has quit [Ping timeout: 246 seconds]
freezey has joined #ruby
Leandro__ has quit [Quit: Saliendo]
<robonerd> who is the guy who loved padrino apps because you can componetize resources?
<robonerd> i was wonder if you could do the same thing directly into web machine
<robonerd> make a main Application which uses modules for sinatra instances, say
Morrolan has quit [Ping timeout: 245 seconds]
jkhwan has quit [Remote host closed the connection]
vpretzel has joined #ruby
jkhwan has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
mixel has joined #ruby
dma_ has joined #ruby
wildroma_ has joined #ruby
Speed has joined #ruby
colonolGron has quit [Quit: leaving]
enebo has quit [Quit: enebo]
freezey has quit [Ping timeout: 272 seconds]
pwh has joined #ruby
<robonerd> lighttpd seems to be the best C lib for super fast web serving. is there a way to get webmachine to use it?
jkhwan has quit [Ping timeout: 272 seconds]
JeanMertz has quit []
mmitchell has quit [Remote host closed the connection]
dma_ has quit [Remote host closed the connection]
<robonerd> any personal recommendations for handling http in a C library? lighttp vs nginx vs other?
dma_ has joined #ruby
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
vpretzel has quit [Remote host closed the connection]
lukec has joined #ruby
vpretzel has joined #ruby
smathieu has joined #ruby
mrsolo has joined #ruby
pothibo has joined #ruby
jkline has quit [Quit: jkline]
maycon has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
dma_ has quit [Ping timeout: 245 seconds]
MrZYX is now known as MrZYX|off
tjad has quit [Ping timeout: 260 seconds]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
frem has joined #ruby
goleldar has joined #ruby
Morrolan has joined #ruby
jonahR has joined #ruby
axl_ has quit [Quit: axl_]
jkhwan has joined #ruby
jonahR has quit [Client Quit]
k610 has joined #ruby
fedalto has quit [Quit: Leaving]
danshultz has joined #ruby
Hanmac1 has joined #ruby
Speed has quit [Read error: No route to host]
speed2 has joined #ruby
timtch1 has joined #ruby
claymore has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 246 seconds]
frustrum has quit [Quit: WeeChat 0.4.2]
ulik has joined #ruby
frustrum has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
<wald0_> what is for %q{foo} ? is the same as "foo" ?
baroquebobcat has quit [Quit: baroquebobcat]
havenwood has quit []
RORgasm has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
baroquebobcat has quit [Client Quit]
baroquebobcat has joined #ruby
Vivekananda_ has quit [Read error: Connection reset by peer]
Zeeraw has joined #ruby
johnnyfuchs has quit [Quit: Leaving.]
pwh has quit []
speed2 is now known as Speed
brtdv has quit []
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
atmosx has joined #ruby
d45h has quit []
<atmosx> aloha
wildroma_ has quit [Remote host closed the connection]
brtdv has joined #ruby
aspiers has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
vpretzel has quit [Ping timeout: 260 seconds]
bline79_ has joined #ruby
bline79_ has quit [Client Quit]
zachrab has quit [Remote host closed the connection]
drumusician has quit [Ping timeout: 246 seconds]
zachrab has joined #ruby
brtdv has quit [Ping timeout: 260 seconds]
jkline has joined #ruby
<popl> Is there official documentation about quote-like operators in ruby?
<popl> The only thing I've found thusfar is that article at the Ruby Programming wiki.
lmickh has quit [Quit: lmickh]
<popl> wald0_: in any case, if you do perldoc perlop and search for "Quote and Quote-like Operators" you'll find that they map pretty well to Ruby's.
<popl> afaict
zachrab has quit [Ping timeout: 272 seconds]
horofox has joined #ruby
mmcdaris has joined #ruby
<wald0_> oh well, they are just for avoid the problems of having extra " & ' in the sentence, i see
tatsuya_o has joined #ruby
atmosx has quit [Quit: Lost in trance]
lnemo has joined #ruby
blackmesa has joined #ruby
tonni has joined #ruby
<popl> >> ret = %x{date}; puts ret
<eval-in> popl => (https://eval.in/59691)
<popl> haha
tatsuya_o has quit [Ping timeout: 272 seconds]
<popl> wald0_: if we could access the date program then ret would contain whatever date printed to stdout
bigoldrock has joined #ruby
jibi has quit [Quit: .]
Sinco has joined #ruby
osvico has joined #ruby
devdazed has quit [Quit: Bye]
tonni_ has joined #ruby
volty has joined #ruby
vlad_sta_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
tonni_ has quit [Remote host closed the connection]
misutowolf has quit [Ping timeout: 240 seconds]
vlad_sta_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
tonni has quit [Ping timeout: 245 seconds]
tonni has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
zachrab has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
<wald0_> is there any book more like for advanced users? less bla bla and more like a direct reference, "x is for foo, its used on that way because of bar and wombat; next"
speakingcode-wor has joined #ruby
zachrab has quit [Client Quit]
platypine has joined #ruby
<Sinco> I've given up on books for learning IT related stuff a long time ago, so can't really help :)
<popl> Sinco: Then your comment isn't very useful, is it? :P
<Sinco> Nope, but it's so quiet in here i just wanted to say something :P
tsykoduk is now known as zz_tsykoduk
vpretzel has joined #ruby
DonRichie has quit [Quit: Verlassend]
zeropx has quit [Ping timeout: 246 seconds]
kevind has quit [Quit: kevind]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
sambao21 has quit [Quit: Computer has gone to sleep.]
rickruby has quit [Remote host closed the connection]
iliketurtles has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
werdnativ_ has joined #ruby
rickruby has joined #ruby
rickruby has quit [Remote host closed the connection]
<volty> no book for advanced users --- such a book is would be too short for publishing, and too demanding to write for free \
alse has quit [Quit: Leaving...]
werdnativ has quit [Ping timeout: 245 seconds]
werdnativ_ is now known as werdnativ
cadabra has joined #ruby
<cadabra> Is it possible to implement a function P such that P(expr) will print "expr: #{expr}"? I.e. stringify the expression?
<volty> with eval
<cadabra> So you'd have to invoke it like P("expr")?
baroquebobcat has quit [Quit: baroquebobcat]
<volty> def p(expr); r = eval(expr); "#{expr}: #{r}"; end
<cadabra> Yeah, but then client code has to write p("expr") and forgo syntax coloring and all that...
<bricker> >> def showexpr(expr); r = eval(expr); "#{expr}: #{r}"; end; showexpr(1+2)
<eval-in> bricker => no implicit conversion of Fixnum into String (TypeError) ... (https://eval.in/59705)
<bricker> d'oh
timonv has joined #ruby
<volty> ruby does not have macros
blackratdog has quit [Quit: Leaving]
<volty> bricker: never mind
mengu has quit [Remote host closed the connection]
<bricker> >> def showexpr(expr); r = eval(expr); "#{expr}: #{r}"; end; showexpr("1+2")
<eval-in> bricker => "1+2: 3" (https://eval.in/59706)
flops has quit [Quit: leaving]
<volty> ops
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has quit [Read error: Connection reset by peer]
ShellFu has quit [Quit: Leaving]
aspires has quit [Quit: sudo making a sandwich]
jrhorn424 is now known as zz_jrhorn424
bugsinlights has joined #ruby
wald0_ has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 248 seconds]
<volty> another way could be that of self-reading the calling line (using caller)
thesheff17 has quit [Quit: Leaving]
thesheff17 has joined #ruby
<volty> tricky and probably not worth
duncanm has left #ruby [#ruby]
nfk has quit [Write error: Connection reset by peer]
iliketurtles has quit [Quit: zzzzz…..]
|jemc| has quit [Ping timeout: 272 seconds]
allaire has quit []
jkline has quit [Quit: jkline]
yfeldblum has quit [Remote host closed the connection]
Dreamer3 has quit [Quit: Leaving...]
wald0_ has joined #ruby
SteveBenner9 has quit [Quit: Leaving]
nfk has joined #ruby
lewis has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
jkhwan has quit [Remote host closed the connection]
<wald0_> seriously? there's not a book with less baby-blabla and more direct, for ppl that already knows programming?
jkhwan has joined #ruby
allaire has joined #ruby
jkline has joined #ruby
jeffdb has joined #ruby
<volty> as I said: it would be too short, you cannot have a 20 page book
<volty> try googling
unstable has joined #ruby
cadabra has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
<unstable> I'm looking for a very simple log file rotation script.. access.log becomes access.log.1, then on the second time it's run, access.log.1 becomes access.log.2, and access.log becomes access.log.1
<unstable> After access.log.9 it gets deleted.
cadabra has joined #ruby
<unstable> I want something simple nad less than a page, not some robust library.
vpretzel has quit [Read error: Connection reset by peer]
frem has quit [Ping timeout: 245 seconds]
<popl> unstable: have you considered logrotate(8)?
<cadabra> Say I have two files a.rb and b.rb. How should I put some constants and helper functions int util.rb? If I say 'x=3' in util.rb and then require util.rb from the others, they don't have access to x. Do I need to make it a module and then include the module?
<bricker> unstable: that's built into most Linux distros
vpretzel has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
einarj has joined #ruby
<bricker> cadabra: `require` doesn't transfer over local vars. `load` might but I don't recommend that. Use constants.
jkhwan has joined #ruby
timtch1 has quit [Quit: Leaving.]
<unstable> I wanted something that uses ruby.
<volty> write it
<bricker> unstable: constants are ruby
osvico has quit [Ping timeout: 260 seconds]
<bricker> Also, just checked, `load` also doesn't load the local vars.
aantix has quit [Quit: aantix]
agjacome has joined #ruby
<bricker> unstable: oops
<bricker> unstable: got you mixed up, ignore my last message
<bricker> unstable: `logrotate` :)
<bricker> unstable: %x{logrotate} :)
vpretzel has quit [Ping timeout: 240 seconds]
bean__ has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
ssvo has quit [Ping timeout: 246 seconds]
bean has quit [Ping timeout: 246 seconds]
CreativeEmbassy has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
frem has joined #ruby
wildroma_ has joined #ruby
nisstyre has quit [Quit: Leaving]
CaptainJet has quit [Ping timeout: 240 seconds]
tatsuya_o has joined #ruby
Shidash has quit [Ping timeout: 260 seconds]