fflush changed the topic of #ruby to: Ruby 1.9.3-p194: http://ruby-lang.org || Paste > 3 lines of text on pastebin.com
mahmoudi_ is now known as mahmoudimus
waxjar has quit [Quit: Computer has gone to sleep.]
Kabaka has joined #ruby
adamkittelson has quit [Ping timeout: 264 seconds]
adamkittelson has joined #ruby
binaryplease has quit [Ping timeout: 268 seconds]
pdtpatrick has quit [Quit: pdtpatrick]
ChadStud1uffin has joined #ruby
cbuxton has quit [Ping timeout: 246 seconds]
binaryplease has joined #ruby
sneakyness_wk has quit [Quit: bro]
rakm has quit [Ping timeout: 244 seconds]
c0rn_ has quit [Quit: Computer has gone to sleep.]
havenn has quit [Ping timeout: 240 seconds]
cbuxton has joined #ruby
Takehiro has joined #ruby
rakm has joined #ruby
philcrissman has quit [Remote host closed the connection]
dmiller has joined #ruby
Taichouchou2 has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
LouisGB has quit [Ping timeout: 264 seconds]
Takehiro has quit [Ping timeout: 244 seconds]
havenn has joined #ruby
brianpWins has quit [Quit: brianpWins]
alien_talk has joined #ruby
<alien_talk> anyone know any good places w/ ruby on rails source code examples?
bradhe has quit [Remote host closed the connection]
philcrissman has joined #ruby
vitor-br has joined #ruby
<davidcelis> the guides
freeayu has joined #ruby
<alien_talk> no like open source apps
jjang has quit [Remote host closed the connection]
Zolrath has quit [Quit: Computer has gone to sleep.]
qwerxy has quit [Quit: offski]
c0rn_ has joined #ruby
SIGILL has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
banseljaj is now known as imami|afk
deryl has quit [Quit: deryl]
mahmoudi_ has joined #ruby
cantonic has quit [Ping timeout: 240 seconds]
t8512 has quit [Remote host closed the connection]
t60034 has joined #ruby
alien_talk has quit [Quit: Leaving]
ryanallenbobcat has joined #ruby
ryanallenbobcat has left #ruby [#ruby]
mahmoudimus has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
davidcelis has quit [Quit: K-Lined.]
adamkittelson has quit [Ping timeout: 260 seconds]
saturnflyer has joined #ruby
ChadStud1uffin has quit [Ping timeout: 245 seconds]
aristidesfl has joined #ruby
aristidesfl has quit [Changing host]
aristidesfl has joined #ruby
artOfWar_ has quit [Remote host closed the connection]
jorge_ has joined #ruby
artOfWar has joined #ruby
fyolnish has joined #ruby
ChadStud1uffin has joined #ruby
philcrissman has quit [Remote host closed the connection]
minijupe has joined #ruby
cantonic has joined #ruby
binaryplease has quit [Quit: WeeChat 0.3.8]
brianpWins has joined #ruby
artOfWar has quit [Ping timeout: 244 seconds]
deryl has joined #ruby
mrsolo has quit [Quit: Leaving]
haus has joined #ruby
x77686d has quit [Ping timeout: 246 seconds]
<haus> what is the intended difference between "vendordir" and "vendorlibdir", and "sitedir" and "sitelibdir" ?
freeayu has quit [Read error: Connection reset by peer]
icy` has quit [Quit: .: adios :.]
freeayu has joined #ruby
cakehero has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
iamjarvo has joined #ruby
sailias1 has joined #ruby
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
mikepack has quit [Remote host closed the connection]
philcrissman_ has joined #ruby
chimkan has left #ruby [#ruby]
AndChat| has joined #ruby
tgriffin2081 has joined #ruby
sailias has quit [Ping timeout: 244 seconds]
kenichi has quit [Remote host closed the connection]
centipedefarmer has quit [Quit: This computer has gone to sleep]
t60034 has quit [Remote host closed the connection]
Zolrath has joined #ruby
t56223 has joined #ruby
iori has joined #ruby
Banistergalaxy has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Ping timeout: 268 seconds]
cakehero has joined #ruby
drago757 has joined #ruby
jjang has joined #ruby
ZachBeta has joined #ruby
freeayu__ has joined #ruby
mark06 has joined #ruby
seanstickle has joined #ruby
randomautomator has quit [Remote host closed the connection]
mark06 has left #ruby [#ruby]
freeayu has quit [Ping timeout: 268 seconds]
philcrissman_ has quit [Remote host closed the connection]
techsurvivor has joined #ruby
Takehiro has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
c0rn_ has quit [Quit: Computer has gone to sleep.]
awarner has joined #ruby
freeayu__ has quit [Read error: Connection reset by peer]
ZachBeta has quit [Quit: Computer has gone to sleep.]
freeayu__ has joined #ruby
centipedefarmer has joined #ruby
jjang has quit [Remote host closed the connection]
TheShadowFog has joined #ruby
TheShadowFog has quit [Read error: Connection reset by peer]
Takehiro has quit [Ping timeout: 244 seconds]
Mokiwai has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
jjbohn|afk is now known as jjbohn
Mokiwai has joined #ruby
jjbohn has quit [Quit: Linkinus - http://linkinus.com]
sailias1 has quit [Quit: Leaving.]
artOfWar has joined #ruby
freeayu__ has quit [Ping timeout: 252 seconds]
aantix has quit [Ping timeout: 246 seconds]
luist_ has joined #ruby
uris has joined #ruby
headius has quit [Quit: headius]
vulture has quit [Quit: 离开]
froy has quit [Quit: kablam!]
luist has quit [Ping timeout: 272 seconds]
luist_ is now known as luist
axl_ has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
Liothen has joined #ruby
Liothen has quit [Changing host]
Liothen has joined #ruby
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
S2kx has joined #ruby
freeayu has joined #ruby
havenn has quit [Remote host closed the connection]
froy has joined #ruby
S1kx has quit [Ping timeout: 244 seconds]
artOfWar_ has joined #ruby
pskosinski has quit [Quit: http://www.redeclipse.net -- Fast-paced online FPS]
azm has quit [Ping timeout: 264 seconds]
Mokiwai has quit [Quit: Ik ga weg]
datapolitical has quit [Quit: This computer has gone to sleep]
centipedefarmer has quit [Quit: This computer has gone to sleep]
adeponte has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
deryl has quit [Quit: deryl]
jarred has joined #ruby
ringotwo has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
artOfWar has quit [Ping timeout: 268 seconds]
butblack has quit [Quit: butblack]
jenrzzz has quit [Read error: Operation timed out]
AndChat| has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
Hanmac has quit [Read error: Operation timed out]
jenrzzz_ has quit [Ping timeout: 246 seconds]
butblack has joined #ruby
minijupe has quit [Quit: minijupe]
Zolrath has quit [Quit: Computer has gone to sleep.]
t56223 has quit [Remote host closed the connection]
t52017 has joined #ruby
apok_ has joined #ruby
sn0wb1rd has quit [Quit: sn0wb1rd]
quest88 has joined #ruby
apok has quit [Ping timeout: 256 seconds]
replore has joined #ruby
yasushi has joined #ruby
apok_ has quit [Ping timeout: 244 seconds]
fermion has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
adamkittelson has joined #ruby
yasushi has quit [Ping timeout: 245 seconds]
ghanima has quit [Ping timeout: 248 seconds]
jtgiri__ has quit [Quit: jtgiri__]
infinitiguy has joined #ruby
jgrevich_ has joined #ruby
wpaulson has joined #ruby
gfontenot has quit []
jgrevich has quit [Ping timeout: 245 seconds]
jgrevich_ is now known as jgrevich
manizzle has quit [Ping timeout: 264 seconds]
SCommette has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
ohdae has joined #ruby
mikepack has joined #ruby
nari has joined #ruby
SCommette has quit [Client Quit]
beneggett has joined #ruby
awarner has quit [Remote host closed the connection]
SCommette has joined #ruby
philcrissman has joined #ruby
knightblader has quit [Read error: Connection reset by peer]
diegoviola has quit [Ping timeout: 272 seconds]
fearoffish has quit [Quit: Computer has gone to sleep.]
sn0wb1rd has joined #ruby
recycle has quit [Remote host closed the connection]
banisterfiend has joined #ruby
gmci has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
adamkittelson has quit [Remote host closed the connection]
daniel_hinojosa has joined #ruby
adeponte has joined #ruby
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
c0rn_ has joined #ruby
freeayu__ has joined #ruby
drago757 has quit [Read error: Connection reset by peer]
freeayu has quit [Ping timeout: 260 seconds]
drago757 has joined #ruby
emmanuelux has quit [Read error: Connection reset by peer]
adamkittelson has joined #ruby
Takehiro has joined #ruby
freeayu__ has quit [Read error: Connection reset by peer]
savage- has quit [Ping timeout: 245 seconds]
freeayu has joined #ruby
ZachBeta has joined #ruby
jtgiri_ has joined #ruby
kn330 has quit [Ping timeout: 264 seconds]
Takehiro has quit [Ping timeout: 244 seconds]
Spooner has quit [Ping timeout: 265 seconds]
mikepack has quit [Remote host closed the connection]
fawningab1ot1c has quit [Quit: fawningab1ot1c]
areil has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
fiercetaste has joined #ruby
bradhe has joined #ruby
Guedes has quit [Quit: sleep...]
infinitiguy has quit [Quit: Leaving.]
mikehaas763 has left #ruby ["Leaving"]
jarred has quit [Quit: jarred]
t52017 has quit [Remote host closed the connection]
t65440 has joined #ruby
banisterfiend has quit [Ping timeout: 272 seconds]
MasterIdler__ has joined #ruby
MasterIdler__ has quit [Client Quit]
jgrevich has quit [Quit: jgrevich]
adeponte has quit [Remote host closed the connection]
mikepack has joined #ruby
tchebb has quit [Ping timeout: 246 seconds]
MasterIdler_ has quit [Read error: Operation timed out]
ZachBeta has quit [Quit: Computer has gone to sleep.]
ckrailo has quit [Quit: Computer has gone to sleep.]
BrokenCog has joined #ruby
BrokenCog has quit [Changing host]
BrokenCog has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
radic_ is now known as radic
jenrzzz has joined #ruby
adeponte has joined #ruby
dmiller has quit [Remote host closed the connection]
GoGoGarrett has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
ghanima has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
chimkan has joined #ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
beneggett has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
SCommette has quit [Quit: SCommette]
havenn has joined #ruby
freeayu__ has joined #ruby
daidoji has joined #ruby
freeayu has quit [Ping timeout: 245 seconds]
GoGoGarrett has joined #ruby
GoGoGarrett has quit [Remote host closed the connection]
vdf has joined #ruby
BrokenCog has quit [Quit: leaving]
Banistergalaxy has joined #ruby
bradhe has quit [Remote host closed the connection]
h4mz1d has joined #ruby
seanstickle has quit [Quit: seanstickle]
manizzle has joined #ruby
d3vic3 has quit [Ping timeout: 252 seconds]
havenn has quit [Remote host closed the connection]
x77686d has joined #ruby
d3vic3 has joined #ruby
vdf has quit [Quit: Leaving]
ZachBeta has joined #ruby
Takehiro has joined #ruby
drago757 has quit [Read error: Connection reset by peer]
freeayu3 has joined #ruby
drago757 has joined #ruby
ZachBeta has quit [Client Quit]
frozenskater5432 has joined #ruby
freeayu__ has quit [Ping timeout: 245 seconds]
ChadStud1uffin has quit [Quit: leaving]
sirish has joined #ruby
Takehiro has quit [Ping timeout: 244 seconds]
tchebb has joined #ruby
uris has quit [Ping timeout: 245 seconds]
c0rn_ has quit []
aristidesfl has quit []
<frozenskater5432> eek! I am trying to make a module but when I run this , http://pastie.org/4601170 , in irb (which returns true) and then I put "Basic.add(1,2)" it returns that add isn't defined.
aristidesfl has joined #ruby
abstrusenick has joined #ruby
davidcelis has joined #ruby
aristidesfl has quit [Client Quit]
bradhe has joined #ruby
h4mz1d has quit [Ping timeout: 244 seconds]
sirish has quit [Ping timeout: 272 seconds]
<[Neurotic]> Dumb question, should there be a full stop after Basic?
t65440 has quit [Remote host closed the connection]
gmci has joined #ruby
t83920 has joined #ruby
<[Neurotic]> Also, are how are you loading this file into your IRB session?
manizzle has quit [Remote host closed the connection]
<abstrusenick> any face matching lib for ruby?
freeayu3 has quit [Read error: Connection reset by peer]
<frozenskater5432> Neurotic: 'irb -I.' in terminal and "require 'bm.rb'" in irb
freeayu3 has joined #ruby
datapolitical has joined #ruby
pingfloyd has joined #ruby
BobuSumisu has quit [Ping timeout: 252 seconds]
freeayu has joined #ruby
<[Neurotic]> So if you type 'Basic.instance_methods' in the IRB, what do you get?
<[Neurotic]> you've left the line numbers in your example, so it's hard to re-run
BobuSumisu has joined #ruby
freeayu3 has quit [Ping timeout: 260 seconds]
datapolitical has quit [Quit: This computer has gone to sleep]
<frozenskater5432> Neurotic: it says :add as one of them but still returns 'NoMethodError: undefined method `add' for Basic:Module' when its called
machty has quit [Ping timeout: 244 seconds]
<bnagy> frozenskater5432: I didn't look at the code, but you need to define either self.add or use module_function :add
apok has joined #ruby
<[Neurotic]> oh yeah that is a good point
<[Neurotic]> they aren't class methods
datapolitical has joined #ruby
<bnagy> (morning, rubyoids)
* [Neurotic] facepalms
* fowl is a rubynaut
daniel_hinojosa has quit [Quit: Leaving.]
* davidcelis is a rubyista
mikepack has quit [Remote host closed the connection]
philcrissman has quit [Remote host closed the connection]
<bnagy> wouln't that be feminine?
<davidcelis> no
<bnagy> hyperforeignism?
<davidcelis> by that logic, all baristas are women
<davidcelis> which would make you a sexist, sir
<bnagy> no, by that logic male barista are misnamed
<davidcelis> baristo?
AlbireoX has quit [Remote host closed the connection]
<davidcelis> that ain't a word, dawg
<bnagy> which is still not saying I'm right
AlbireoX has joined #ruby
null- has left #ruby [#ruby]
<bnagy> lots of support for baristo, but I think it's wrong
<bnagy> like jalapeno with n~
jtgiri_ has joined #ruby
krz has quit [Quit: krz]
butblack has quit [Quit: butblack]
<davidcelis> jalapeño is wrong?
<davidcelis> oh you mean habanero
<davidcelis> because jalapeño is definitely correct
<davidcelis> (source: i'm a fucking mexican)
<bnagy> yes, habanero, thx :)
AlbireoX has quit [Ping timeout: 244 seconds]
c0rn_ has joined #ruby
ananthakumaran has joined #ruby
moshee has quit [Ping timeout: 268 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
zeromodulus has quit [Ping timeout: 245 seconds]
freeayu has quit [Read error: Connection reset by peer]
Dreamer3 has quit [Ping timeout: 245 seconds]
Dreamer3 has joined #ruby
zeromodulus has joined #ruby
freeayu has joined #ruby
itcharlie_ has joined #ruby
r0bby_ is now known as robbyoconnor
chimkan has quit [Quit: chimkan]
Buttons840 has quit [Quit: leaving]
mxweas has quit [Quit: Computer has gone to sleep.]
freeayu__ has joined #ruby
indian has quit [Read error: Operation timed out]
abstrusenick has quit [Quit: abstrusenick]
jarred has joined #ruby
ghanima has quit [Quit: Leaving.]
Progster has quit [Ping timeout: 265 seconds]
freeayu has quit [Ping timeout: 256 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
AwayLex is now known as Quadlex
jorge_ has quit [Remote host closed the connection]
elico has joined #ruby
mc0e has joined #ruby
<elico> Hey everybody.. bnagy thanks for yesterday.. the Tokyo Cabinet Rocks!!
andrewstewart has joined #ruby
<bnagy> np - yeah I use it a lot for stuff where I just want simple single thread persistence
ringotwo has joined #ruby
Takehiro has joined #ruby
<elico> now I am working on reading config files..
<bnagy> yaml, imho
drago757 has quit [Quit: drago757]
kn330 has joined #ruby
<elico> How do you use yaml? specific yaml?
<elico> gem*
<bnagy> require 'yaml'
freeayu__ has quit [Read error: Connection reset by peer]
<elico> ho
freeayu__ has joined #ruby
iamjarvo has quit [Ping timeout: 260 seconds]
<elico> if you have small example It will be very good for me to see it
haus has left #ruby ["WeeChat 0.3.8"]
<fowl> doesnt anybody google anymore
Takehiro has quit [Ping timeout: 244 seconds]
mxweas has joined #ruby
<elico> fowl: everybody googling..
<elico> show me one guy that dosnt..
Progster has joined #ruby
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
<bnagy> you?
<elico> i am googling a lot but sometimes my head is closed
<elico> and.. I like real life examples
banisterfiend has joined #ruby
h4mz1d has joined #ruby
geggam has joined #ruby
freeayu has joined #ruby
<elico> thanks
sixtycakes has joined #ruby
Progster has quit [Ping timeout: 260 seconds]
<bnagy> that options parser? gem install trollop
x77686d has quit [Quit: x77686d]
freeayu__ has quit [Ping timeout: 260 seconds]
Z_Mass has joined #ruby
charliesome has joined #ruby
burgestrand has quit [Quit: Leaving.]
freeayu has quit [Read error: Connection reset by peer]
savage- has joined #ruby
Nanuq has quit [Ping timeout: 245 seconds]
saturnflyer has quit [Quit: saturnflyer]
moshee has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
freeayu has joined #ruby
replore has quit [Remote host closed the connection]
Taichouchou2 has quit [Remote host closed the connection]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
AntiTyping has quit [Quit: AntiTyping]
Taichouchou2 has joined #ruby
EF has quit [Quit: Leaving]
joshw668 has joined #ruby
joshw668 has quit [Remote host closed the connection]
jonathanwallace has quit [Read error: Connection reset by peer]
jonathanwallace has joined #ruby
mxweas has quit [Quit: Computer has gone to sleep.]
hadees has quit [Remote host closed the connection]
d3vic3 has quit [Read error: Operation timed out]
freeayu has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
jonathanwallace has joined #ruby
datapolitical has quit [Quit: This computer has gone to sleep]
d3vic3 has joined #ruby
azm has quit [Ping timeout: 260 seconds]
josh^ has joined #ruby
hadees has joined #ruby
freeayu has joined #ruby
recycle has joined #ruby
c0rn_ has quit []
mwilson_ has joined #ruby
aderan has joined #ruby
h4mz1d has quit [Ping timeout: 260 seconds]
itcharlie_ has quit [Quit: Leaving]
freeayu__ has joined #ruby
freeayu has quit [Ping timeout: 252 seconds]
kn330 has quit [Ping timeout: 248 seconds]
freeayu__ has quit [Read error: Connection reset by peer]
freeayu__ has joined #ruby
SegFaultAX has quit [Quit: Lost terminal]
tommyvyo has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
quest88 has quit [Quit: quest88]
mxweas has joined #ruby
reset has quit [Ping timeout: 240 seconds]
sirish has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
headius has joined #ruby
sgmac has joined #ruby
sgmac has left #ruby [#ruby]
mahmoudimus has joined #ruby
Takehiro has joined #ruby
replore has joined #ruby
freeayu__ has quit [Read error: Connection reset by peer]
freeayu__ has joined #ruby
quest88 has joined #ruby
Guest5515 has joined #ruby
magnum123 has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
apok has quit [Quit: apok]
Takehiro has quit [Ping timeout: 260 seconds]
rakunHo has joined #ruby
freeayu3 has joined #ruby
datapolitical has joined #ruby
jorge has joined #ruby
quest88 has quit [Quit: quest88]
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
infinitiguy has joined #ruby
adeponte has quit [Remote host closed the connection]
freeayu__ has quit [Ping timeout: 264 seconds]
infinitiguy has quit [Client Quit]
Nanuq has joined #ruby
JohnBat26 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
freeayu3 has quit [Ping timeout: 244 seconds]
jorge has quit [Ping timeout: 246 seconds]
thomasfedb has quit [Quit: ZNC - http://znc.sourceforge.net]
thomasfedb has joined #ruby
adamkittelson has quit [Remote host closed the connection]
jtgiri_ has joined #ruby
Banistergalaxy has quit [Ping timeout: 244 seconds]
ananthakumaran has quit [Quit: Leaving.]
mahmoudimus has joined #ruby
freeayu3 has joined #ruby
Foxhoundz has joined #ruby
magnum123 has quit [Remote host closed the connection]
ringotwo has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
darren has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
a_a_g has joined #ruby
TandemAdam has quit [Read error: Connection reset by peer]
Foxhound-Z has joined #ruby
wvms has quit [Quit: wvms]
Taichouchou2 has quit [Remote host closed the connection]
situ has joined #ruby
situ has left #ruby [#ruby]
cj3kim has joined #ruby
t83920 has quit [Remote host closed the connection]
cj3kim has quit [Changing host]
cj3kim has joined #ruby
t28189 has joined #ruby
Foxhoundz has quit [Ping timeout: 260 seconds]
vectorshelve has joined #ruby
AndChat| has joined #ruby
mahmoudimus has joined #ruby
Banistergalaxy has quit [Ping timeout: 246 seconds]
headius has quit [Quit: headius]
cj3kim has quit [Quit: This computer has gone to sleep]
Taichouchou2 has joined #ruby
sepp2k has joined #ruby
adeponte has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
coyo has quit [Quit: Heaven is not a place, it's being with people who love you.]
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
lolmaus has joined #ruby
_adeponte has joined #ruby
burgestrand has joined #ruby
adeponte has quit [Ping timeout: 245 seconds]
ananthakumaran1 has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
fbernier has joined #ruby
<vectorshelve> how can I set a timer and delay @object.save ?
senny has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
graspee has joined #ruby
<a_a_g> Thread.new(object) { |obj| sleep n; object.save}
<a_a_g> 'obj.save', not object.save
noyb has joined #ruby
<a_a_g> @vectorshelve is this to be done in rails?
graspee_ has joined #ruby
freeayu3 has quit [Read error: Connection reset by peer]
chendo_ has quit [Ping timeout: 246 seconds]
sirish has quit [Ping timeout: 240 seconds]
freeayu3 has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
artOfWar_ has quit [Ping timeout: 256 seconds]
chendo_ has joined #ruby
maesbn has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
aderan has quit [Quit: Leaving]
yxhuvud has joined #ruby
hemanth has joined #ruby
Takehiro has joined #ruby
andrewstewart has quit [Quit: Linkinus - http://linkinus.com]
freeayu3 has quit [Ping timeout: 244 seconds]
Serosyn has quit [Quit: Leaving...]
aantix has joined #ruby
hemanth has quit [Quit: Leaving]
Takehiro has quit [Ping timeout: 260 seconds]
tagrudev has joined #ruby
Abbas| has quit [Ping timeout: 246 seconds]
freeayu3 has joined #ruby
Foxhound-Z has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
manolo has joined #ruby
Banistergalaxy has joined #ruby
heisenmink has joined #ruby
Tref has joined #ruby
zigomir has joined #ruby
senny has quit [Remote host closed the connection]
beneggett has joined #ruby
senny has joined #ruby
AndChat| has quit [Ping timeout: 246 seconds]
manolo has quit [Ping timeout: 260 seconds]
t28189 has quit [Remote host closed the connection]
t6632 has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
mahmoudimus has joined #ruby
freeayu__ has joined #ruby
bradhe has quit [Remote host closed the connection]
lateau has joined #ruby
freeayu3 has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
mahmoudimus has quit [Client Quit]
Hanmac1 is now known as Hanmac
Adran has quit [Read error: Operation timed out]
verto is now known as verto|off
Quadlex has quit [Read error: Operation timed out]
ph^ has quit [Remote host closed the connection]
manolo has joined #ruby
Quadlex has joined #ruby
lorn has quit [Ping timeout: 246 seconds]
aantix has quit [Quit: aantix]
Tref has quit [Quit: Tref]
cloud|droid has joined #ruby
lorn has joined #ruby
Morkel has joined #ruby
sixtycakes has quit [Remote host closed the connection]
cj3kim has quit [Quit: This computer has gone to sleep]
Adran has joined #ruby
savage- has quit [Remote host closed the connection]
Hanmac has quit [Read error: Operation timed out]
Takehiro has quit [Remote host closed the connection]
nazty has joined #ruby
answer_42 has joined #ruby
Abbas5 has joined #ruby
Abbas5 is now known as Abbas-
Abbas- has quit [Changing host]
Abbas- has joined #ruby
Abbas- is now known as Abbas5
dangerousdave has joined #ruby
burgestrand has quit [Quit: Leaving.]
naz has quit [Ping timeout: 260 seconds]
djdb has joined #ruby
phrame has quit [Ping timeout: 246 seconds]
freeayu has joined #ruby
TheLZA has joined #ruby
zommi has joined #ruby
TheLZA has quit [Client Quit]
Taichouchou2 has quit [Remote host closed the connection]
TheLZA has joined #ruby
freeayu__ has quit [Ping timeout: 248 seconds]
inimino has quit [Ping timeout: 246 seconds]
rking has quit [Ping timeout: 246 seconds]
qwerxy has joined #ruby
Abbas5 is now known as Abbas|
phrame has joined #ruby
Quatrerwin has joined #ruby
Quatrerwin has left #ruby [#ruby]
aantix has joined #ruby
Taichouchou2 has joined #ruby
t6632 has quit [Remote host closed the connection]
t77178 has joined #ruby
BobuSumisu has quit [Ping timeout: 264 seconds]
Asher has quit [Ping timeout: 244 seconds]
Takehiro has joined #ruby
Hanmac has joined #ruby
xorigin has joined #ruby
_bart has quit [Quit: _bart]
lateau has quit [Quit: Leaving.]
heisenmink has quit [Remote host closed the connection]
banisterfiend has quit [Remote host closed the connection]
rking has joined #ruby
Urtokk_ is now known as Urtokk
banisterfiend has joined #ruby
Takehiro has quit [Remote host closed the connection]
khakimov has quit [Quit: Computer has gone to sleep.]
maesbn has quit [Remote host closed the connection]
maesbn has joined #ruby
_adeponte has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
maletor has quit [Client Quit]
ph^ has joined #ruby
edwardj has joined #ruby
Abbas| has quit [Ping timeout: 246 seconds]
manolo has quit [Ping timeout: 264 seconds]
laen__ has joined #ruby
etehtsea has joined #ruby
laen_ has quit [Ping timeout: 264 seconds]
etehtsea is now known as Guest66557
madhatter has quit [Ping timeout: 264 seconds]
madhatter has joined #ruby
manolo has joined #ruby
dhruvasagar has joined #ruby
aganov has joined #ruby
aantix has quit [Quit: aantix]
apok has joined #ruby
tgriffin2081 has quit [Ping timeout: 260 seconds]
haxrbyte_ has joined #ruby
RudyValencia- is now known as RudyValencia
Guest5516 has joined #ruby
dekroning has joined #ruby
Takehiro has joined #ruby
haxrbyte has quit [Ping timeout: 246 seconds]
Guest5515 has quit [Ping timeout: 256 seconds]
cezar has joined #ruby
LouisGB has joined #ruby
Z_Mass has quit [Quit: Leaving]
cezar has quit [Client Quit]
g_rotbart has quit [Remote host closed the connection]
g_rotbart has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
d3vic3 has quit [Quit: leaving]
robustus has joined #ruby
d3vic3 has joined #ruby
mwilson_ has quit [Excess Flood]
jastix has joined #ruby
mwilson_ has joined #ruby
IPGlider has joined #ruby
matrixise has joined #ruby
g_rotbart has quit [Ping timeout: 245 seconds]
ngoldman has joined #ruby
Takehiro has quit [Remote host closed the connection]
Rusher has joined #ruby
<Rusher> hi, is there any reason to use utf-8 instead of default ASCII, if my site will be only in English?
<JonnieCache|home> you or your users will eventually want non english characters, for some reason. i garuantee it.
<JonnieCache|home> and then you will have to change everything from the database upwards, and you will be miserable
<cjk101010> yep… experience proves. You really want utf-8.
<Hanmac> Rusher: what is your site, does it has a comment function? if yes, you should prefer utf8
twosevenzero has quit [Ping timeout: 268 seconds]
cloud|droid has quit [Remote host closed the connection]
wobr has joined #ruby
Takehiro has joined #ruby
saschagehlich has joined #ruby
<Rusher> hm.. okey, isn't there any easier option to tell interpreter, or is there a version of int which set all to utf-8 by default? you know to every file I have to add a comment #coding UTF-8, a little annoying
<cjk101010> you can execute the ruby interpreter with -Ku
<cjk101010> it basically tells it to handle source code as utf-8
Banistergalaxy has joined #ruby
wobr1 has joined #ruby
<Rusher> ok but I guess there's some performance diff if I use ASCII though
wobr has quit [Ping timeout: 260 seconds]
qwerxy has quit [Quit: offski]
<cjk101010> I doubt it. But I didn't verify
nilg has joined #ruby
thone has quit [Ping timeout: 246 seconds]
<charliesome> Rusher: the only noticeable performance difference is that utf-8 strings have O(n) character indexing
<charliesome> but it's unlikely that you'll want to index characters
saschagehlich_ has joined #ruby
<charliesome> and even then, it really isn't that significant
thone has joined #ruby
<cjk101010> is the internal string representation utf-8? because when the string is transformed to code points, it can be O(1) again
eldariof has joined #ruby
saschagehlich has quit [Ping timeout: 252 seconds]
saschagehlich_ is now known as saschagehlich
<Rusher> so when to use ASCII? why does Ruby come with ASCII by default?
heisenmink has joined #ruby
t77178 has quit [Remote host closed the connection]
<Banistergalaxy> Rusher silencio
mahmoudimus has joined #ruby
t40246 has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: Leaving...]
hoelzro|away is now known as hoelzro
elaptics`away is now known as elaptics
<Rusher> I saw one video on youtube, where Matz said that UTF-8 is so large char collection "you won't like to use it" :D
sgmac has joined #ruby
sgmac has left #ruby [#ruby]
jarred has quit [Quit: jarred]
binaryplease has joined #ruby
nilg has quit [Remote host closed the connection]
Taichouchou2 has quit [Remote host closed the connection]
Musfuut has quit [Read error: Operation timed out]
G has quit [Ping timeout: 246 seconds]
Guest66557 has quit [Quit: Computer has gone to sleep.]
LorentzFactor has quit [Ping timeout: 276 seconds]
luist has quit [Quit: luist]
LorentzFactor has joined #ruby
shadoi has quit [Quit: Leaving.]
workmad3 has joined #ruby
freeayu has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
jarred has joined #ruby
Nanuq has quit [Ping timeout: 245 seconds]
jarred has quit [Client Quit]
pingfloyd has quit [Quit: pingfloyd]
Abbas5 has joined #ruby
Abbas5 is now known as Abbas-
Abbas- has quit [Changing host]
Abbas- has joined #ruby
Abbas- is now known as Abbas5
macaron has joined #ruby
h8R has quit [Ping timeout: 256 seconds]
indian has joined #ruby
just4dos_ has quit [Ping timeout: 272 seconds]
<cool> question about variable scope. what is the scope of local variables? If I define a local variable inside a function/method. that is supposed be available only inside that particular function/method & not anywhere else right?
replore has quit [Remote host closed the connection]
brianpWins has quit [Ping timeout: 244 seconds]
<tagrudev> cool, yeah that's why it is called local :)
<cool> tagrudev: Thanks :)
<Hanmac> cool be careful when you use a block with the same variable name ... on 1.9 the variable is shadowed, on 1.8 it is overwitten
_bart has joined #ruby
Abbas5 is now known as Abbas|
mklappstuhl has joined #ruby
<mklappstuhl> hey
<cool> Hanmac: variable is shadowed, what is that supposed to mean?
<cjk101010> Hanmac: hm, do you have some more info? it seems that you are wrong: https://gist.github.com/9d63813e20a60fb010d3
<mklappstuhl> I keep getting a "missing or stray quote" error when loading a csv: https://gist.github.com/ad2659a10984619b4da0
<Hanmac> >> a = 2; [1,2,3].each {|a| p a}; p a
<al2o3cr> (Fixnum) 2, Console: 1, 2, 3, 2
<mklappstuhl> I have no Idea whats wrong with the csv... could it be a problem of encoding or fileformat?
t40246 has quit [Remote host closed the connection]
t28453 has joined #ruby
Taichouchou2 has joined #ruby
<Hanmac> cjk101010 i said block, maybe i mean blockvariable?
<cjk101010> yes, I think so.
Takehiro_ has joined #ruby
<cjk101010> hamac: because: ruby -e 'a = 2; [1,2,3].each {|b| a = b }; p a' shell output: 3
mahmoudimus has quit [Remote host closed the connection]
stuartrexking has joined #ruby
<Hanmac> the blockvariable itself shadows! not some kind of assignment+
<cjk101010> yes, this makes more sense :)
<stuartrexking> Does bundle exec install gems specified in the Gemfile of the cwd, or do I need to run bundle install first?
<Hanmac> stuartrexking: try at #bundler
<stuartrexking> Oh! Sorry, thought I was there.
Takehiro_ has quit [Read error: No route to host]
Takehiro has quit [Ping timeout: 246 seconds]
Takehiro has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
<Hanmac> it may be is, but some of us dont understand bundler ... (and maybe i dont find a reason in it)
<stuartrexking> Hanmac: Consider me a noob. How else do you manage dependencies in Ruby? RVM and Gemsets?
<Hanmac> "gem install xyz" installs all gems xyz needs too
<Hanmac> it works without rvm and without gemsets
<stuartrexking> Yes, I understand transitive dependencies.
<stuartrexking> But if you need different versions of ruby and deps then there are not alot of options.
<cjk101010> well, bundler handles dependencies on a higher level. you can specify all gems you need for an application, even if they are not dependencies of each other
Takehiro has quit [Remote host closed the connection]
ly_gs has joined #ruby
Takehiro has joined #ruby
<mklappstuhl> +1 for bundler & rbenv
chussenot has joined #ruby
answer_42 has quit [Quit: WeeChat 0.3.8]
Banistergalaxy has quit [Ping timeout: 272 seconds]
<mklappstuhl> Anyone an idea regarding my csv reading problem? I'm stuck with it since yesterday afternoon :(
Banistergalaxy has joined #ruby
* Hanmac +1 for my self because i dont need different ruby versions because my system ruby version is the newest
* mklappstuhl happy Hanmac
Takehiro has quit [Remote host closed the connection]
Takehiro has joined #ruby
just4dos has joined #ruby
robotmay has joined #ruby
jprovazn_away is now known as jprovazn
phrame has quit [Ping timeout: 244 seconds]
noyb has quit [Ping timeout: 268 seconds]
lorn has quit [Ping timeout: 260 seconds]
ananthakumaran1 has quit [Quit: Leaving.]
Takehiro has quit [Ping timeout: 265 seconds]
lahwran has quit [Ping timeout: 276 seconds]
ananthakumaran has joined #ruby
Adran has quit [Ping timeout: 260 seconds]
rking has quit [Ping timeout: 245 seconds]
arquebus has joined #ruby
phrame has joined #ruby
lorn has joined #ruby
namidark has quit [Ping timeout: 276 seconds]
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
peterhellberg has joined #ruby
apok has quit [Quit: apok]
lahwran- has joined #ruby
lahwran- has quit [Excess Flood]
namidark has joined #ruby
<bnagy> mklappstuhl: reduce the line until you find the problem
lahwran- has joined #ruby
lahwran- has quit [Excess Flood]
lahwran- has joined #ruby
lahwran- has quit [Excess Flood]
pdelgallego has joined #ruby
banisterfiend has joined #ruby
Vert has joined #ruby
ly_gs has quit [Remote host closed the connection]
lahwran- has joined #ruby
ly_gs has joined #ruby
Rusher has left #ruby [#ruby]
t28453 has quit [Remote host closed the connection]
t62643 has joined #ruby
qwerxy has joined #ruby
macaron has quit [Quit: SEE YA!]
baphled has joined #ruby
Adran has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
binaryplease has quit [Quit: WeeChat 0.3.8]
freeayu__ has joined #ruby
_pdelgallego has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego is now known as pdelgallego
manolo has quit [Remote host closed the connection]
freeayu has quit [Ping timeout: 260 seconds]
vegeek-ng has joined #ruby
heisenmi_ has joined #ruby
heisenmink has quit [Disconnected by services]
tiripamwe has joined #ruby
heisenmi_ is now known as heisenmink
wangr_ has quit [Quit: No Ping reply in 180 seconds.]
hemanth has joined #ruby
wangr has joined #ruby
ngoldman has quit [Remote host closed the connection]
indian has quit [Ping timeout: 245 seconds]
inimino has joined #ruby
zigidias has joined #ruby
arkiver has joined #ruby
<arkiver> In this simple block
<arkiver> ["service_type", "destination", "days", "pickup_date", "pickup_time"].each do |o|
<arkiver> pickup_hash = pickup_hash.merge(o => pickup_attributes[o][l], :address => address_hash)
<arkiver> end
datapolitical has quit [Quit: This computer has gone to sleep]
<arkiver> the last value ie pickup_time is not getting merged into the pickup_hash
<arkiver> why would that happen ?
\n is now known as nyuszika7h
vegeek-ng has quit [Quit: Leaving]
pdelgallego has quit [Ping timeout: 272 seconds]
pdelgallego has joined #ruby
c00kiemonster has joined #ruby
chussenot_ has joined #ruby
ly_gs_ has joined #ruby
Danielpk_ has joined #ruby
haxrbyte has joined #ruby
_guns_ has joined #ruby
Liothen_ has joined #ruby
t62643 has quit [Remote host closed the connection]
reset has joined #ruby
t78476 has joined #ruby
freeayu__ has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
hadees_ has joined #ruby
arquebus_ has joined #ruby
RichieEvan has joined #ruby
mc0e has quit [Ping timeout: 272 seconds]
wangr_ has joined #ruby
<bnagy> if it raises
My_Hearing has joined #ruby
mc0e has joined #ruby
Takehiro_ has joined #ruby
stuartrexkin has joined #ruby
chriskk_ has joined #ruby
banisterfiend` has joined #ruby
arquebus_ has quit [Client Quit]
Takehiro_ has quit [Read error: Connection reset by peer]
Takehiro_ has joined #ruby
sepp2k1 has joined #ruby
areil_ has joined #ruby
BiHi has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
nari has quit [Ping timeout: 245 seconds]
macaron has joined #ruby
cache_za has joined #ruby
arkiver has quit [*.net *.split]
wangr has quit [*.net *.split]
Adran has quit [*.net *.split]
ly_gs has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
lorn has quit [*.net *.split]
arquebus has quit [*.net *.split]
phrame has quit [*.net *.split]
chussenot has quit [*.net *.split]
Banistergalaxy has quit [*.net *.split]
mklappstuhl has quit [*.net *.split]
LorentzFactor has quit [*.net *.split]
haxrbyte_ has quit [*.net *.split]
sepp2k has quit [*.net *.split]
JohnBat26 has quit [*.net *.split]
rakunHo has quit [*.net *.split]
hadees has quit [*.net *.split]
areil has quit [*.net *.split]
tchebb has quit [*.net *.split]
Liothen has quit [*.net *.split]
Aphelion has quit [*.net *.split]
Nisstyre_ has quit [*.net *.split]
stuartrexking has quit [*.net *.split]
Danielpk has quit [*.net *.split]
guns has quit [*.net *.split]
chriskk has quit [*.net *.split]
meskyanichi has quit [*.net *.split]
jbw has quit [*.net *.split]
Beoran__ has quit [*.net *.split]
codefriar has quit [*.net *.split]
saispo has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
Affix has quit [*.net *.split]
chriskk_ is now known as chriskk
Danielpk_ is now known as Danielpk
chussenot_ is now known as chussenot
hadees_ is now known as hadees
lorn_ has joined #ruby
LorentzFactor has joined #ruby
vlad_starkov has joined #ruby
arkiver has joined #ruby
tchebb has joined #ruby
Takehiro has joined #ruby
Takehiro_ has quit [Read error: Connection reset by peer]
phrame has joined #ruby
Beoran__ has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
JonnieCache|home has quit [Ping timeout: 252 seconds]
mklappstuhl has joined #ruby
pdelgallego has joined #ruby
t78476 has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
My_Hearing is now known as Mon_Ouie
t90815 has joined #ruby
LorentzFactor has quit [Read error: Connection reset by peer]
jbw has joined #ruby
LorentzFactor has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
Nisstyre_ has joined #ruby
Takehiro has joined #ruby
Aphelion has joined #ruby
nari has joined #ruby
Adran has joined #ruby
rakunHo has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
daidoji has quit [Ping timeout: 240 seconds]
JonnieCache|home has joined #ruby
Takehiro has joined #ruby
specialGuest has joined #ruby
binaryplease has joined #ruby
robotmay_ has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
rakunHo has quit [Remote host closed the connection]
pskosinski has joined #ruby
adambeynon has joined #ruby
robotmay has quit [Ping timeout: 245 seconds]
aspiers has quit [Ping timeout: 252 seconds]
<_bart> goooodmorning
edwardj has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
skogis has joined #ruby
aspiers has joined #ruby
quazimodo has joined #ruby
fyolnish has quit [Remote host closed the connection]
pdelgallego has quit [Quit: pdelgallego]
pdelgallego has joined #ruby
saispo has joined #ruby
Affix has joined #ruby
justinmcp has joined #ruby
lkba has joined #ruby
Affix has quit [Changing host]
Affix has joined #ruby
berserkr has joined #ruby
JonnieCache|home has quit [Quit: Lost terminal]
ly_gs_ has quit [Remote host closed the connection]
cache_za has quit [Ping timeout: 244 seconds]
Banistergalaxy has joined #ruby
cache_za has joined #ruby
cache_za has quit [Changing host]
cache_za has joined #ruby
binaryplease has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
jastix has quit [Ping timeout: 245 seconds]
quazimodo has quit [Ping timeout: 245 seconds]
chichou has joined #ruby
cache_za has quit [Ping timeout: 252 seconds]
cache_za has joined #ruby
cache_za has quit [Changing host]
cache_za has joined #ruby
dhruvasagar has quit [Ping timeout: 265 seconds]
dhruvasagar has joined #ruby
Taichouchou2 has quit [Remote host closed the connection]
cache_za has quit [Ping timeout: 245 seconds]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
quazimodo has joined #ruby
cache_za has joined #ruby
cache_za has quit [Changing host]
cache_za has joined #ruby
<JonnieCache> yo
<JonnieCache> oh that was half an hour ago. oh well. hi anyway
mohits has quit [Ping timeout: 245 seconds]
t90815 has quit [Remote host closed the connection]
t99156 has joined #ruby
<_bart> :)
Criztian has joined #ruby
intinig has joined #ruby
bluenemo has quit [Remote host closed the connection]
<intinig> is there some method on FileUtils I can call to run "rm -R" (notice the capital R) on a file?
_guns_ has quit [Quit: _guns_]
<bnagy> silly rabbit, -R is not for files
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
intinig has left #ruby [#ruby]
Taichouchou2 has joined #ruby
<bnagy> Dir['foo/**/**'].each {|fn| # do stuff
<_bart> Is the statement "any wireless router can be hacked" true?
<bnagy> oh sweet rm_r is actually there for directories
<bnagy> _bart: yes?
<bnagy> if you have physical access I guess :)
<JonnieCache> _bart: pretty much yes
<JonnieCache> depends on what you mean by hacked
<JonnieCache> but consumer WPA2 implementations are trivial to bruteforce
<JonnieCache> if its using a RADIUS system or whatever then its different
<bnagy> JonnieCache: link for 'wpa2 is trivial to bruteforce' please?
<JonnieCache> hold on
dkannan has joined #ruby
<JonnieCache> or you can build your own gpu cluster on ec2
<bnagy> ok you mean 'weak psks can be bruteforced'
<JonnieCache> if you have enough money to spend on gpus, they dont need to be weak any more
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<JonnieCache> they have to be really strong before it stops being economical to bruteforce them
<bnagy> uh huh
<JonnieCache> but no, im not claiming to have some special attack against wpa2
G has joined #ruby
<JonnieCache> and yes, if you use a psk with a LOT of entropy you are still theoretically safe
<bnagy> yeah I didn't _think_ #ruby would be the first place I would hear about it, but never hurts to check :)
robotmay_ has quit [Remote host closed the connection]
seanstickle has joined #ruby
specialGuest has quit [Quit: WeeChat 0.3.8]
heisenmink has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 240 seconds]
burgestrand has joined #ruby
dhruvasagar has joined #ruby
stuartrexkin has quit [Quit: Leaving...]
<banisterfiend`> bnagy: http://mlkshk.com/r/HEAK
<bnagy> ...
<bnagy> why? why do I click on banisterfiend` links?
<bnagy> I guess that's tame compared to usual
burgestrand has quit [Quit: Leaving.]
PhoSor has joined #ruby
rking has joined #ruby
Foxandxss has joined #ruby
limes has joined #ruby
limes has quit [Client Quit]
<shevy> is he still seeking attention
<_bart> hmm cool
s1n4 has joined #ruby
robotmay has joined #ruby
joephelius has quit [Quit: WeeChat 0.3.8]
philcrissman has joined #ruby
Takehiro has quit [Remote host closed the connection]
sgmac has joined #ruby
sgmac has left #ruby [#ruby]
saschagehlich has quit [Ping timeout: 240 seconds]
Musfuut has joined #ruby
freeayu has joined #ruby
Musfuut is now known as Guest65367
BiHi has quit [Quit: Computer has gone to sleep]
seanstickle has quit [Quit: seanstickle]
Nanuq has joined #ruby
saschagehlich has joined #ruby
nari has quit [Ping timeout: 245 seconds]
areil_ has quit []
areil has joined #ruby
Criztian has quit [Remote host closed the connection]
haxrbyte has quit [Remote host closed the connection]
haxrbyte_ has joined #ruby
arkiver has quit [Quit: Leaving]
arkiver has joined #ruby
Takehiro has joined #ruby
Drager has joined #ruby
<Drager> Hey guys, how can I make this regex? /^my-\d+\.site.com$/
k_89 has joined #ruby
mwilson_ has quit [Excess Flood]
mwilson_ has joined #ruby
Takehiro has quit [Remote host closed the connection]
<Hanmac> oo Drager: you allready maked it ... or what do you mean?
<Drager> Hanmac: Yeah but I need to use it to get printed
pdelgallego has quit [Read error: Connection reset by peer]
pdelgallego has joined #ruby
tiripamwe has quit [Ping timeout: 260 seconds]
<Hanmac> Drager i dont think you realy understand how regex works ... they dont print anything allone ... they are only for matching
<Hanmac> >> !!("my-3.site.com" =~ /^my-\d+\.site.com$/)
<Drager> nvm
<al2o3cr> (TrueClass) true
<Drager> Hanmac: Yeah
<Drager> Thanks
<Hanmac> or maybe for finding of things:
<Hanmac> >> "my-3.site.com".match(/^my-(\d+)\.site.com$/)[1]
<al2o3cr> (String) "3"
iamjarvo has joined #ruby
fiercetaste has quit [Quit: fiercetaste]
ninefawn has joined #ruby
<Drager> Hanmac: Thanks
<Drager> You pointed me into the right direction
t99156 has quit [Remote host closed the connection]
t62418 has joined #ruby
nickyhof has joined #ruby
nickyhof has quit [Client Quit]
paulovittor23 has joined #ruby
Drager has left #ruby [#ruby]
thunderstrike has joined #ruby
Progster has joined #ruby
ryk has joined #ruby
ryk has left #ruby [#ruby]
chussenot has quit [Quit: chussenot]
justinmcp has quit [Ping timeout: 265 seconds]
justinmcp has joined #ruby
josh^ has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 240 seconds]
edwardj has joined #ruby
dhruvasagar has joined #ruby
quazimodo has quit [Ping timeout: 256 seconds]
jorge has joined #ruby
_s1n4_ has joined #ruby
fastred has joined #ruby
Drager has joined #ruby
<Drager> What does =~ mean?
s1n4 has quit [Ping timeout: 252 seconds]
<Hanmac> =~ its an faster variant for match
jorge has quit [Remote host closed the connection]
<Drager> Alright, thank you
<shevy> autogen.sh
<shevy> configure.ac:132: error: Could not locate the pkg-config autoconf macros.
c00kiemonster has quit [Quit: Linkinus - http://linkinus.com]
<shevy> These are usually located in /usr/share/aclocal/pkg.m4.
vlad_starkov has quit [Remote host closed the connection]
<shevy> whoaaaa...
<shevy> pkg.m4 file
codefriar has joined #ruby
<shevy> this sounds scary
tiripamwe has joined #ruby
<_bart> why can't ruby handle »?
jastix has joined #ruby
<_bart> It's \U+FFC2\U+FFBB
t62418 has quit [Remote host closed the connection]
<Hanmac> _bart do you added the magic encoding comand to the file?
t37871 has joined #ruby
<_bart> Hanmac: nope?
<Hanmac> non-ascii files should have an" # encoding: utf-8" or something like that in the first or second line of the file to show that the file is in the given encoding
Takehiro has joined #ruby
<_bart> Hanmac: I found this in a Nokogiri document. But now how do I "test" for the character, like in an .include?
Takehiro_ has joined #ruby
_s1n4_ has quit [Quit: leaving]
<Hanmac> you mean in the same document or in an other?
Drager has left #ruby [#ruby]
<_bart> Hanmac: in code, if I do somevar.include?("»") in runtime it will generate: invalid multibyte char (US-ASCII)
arkiver has quit [Quit: Leaving]
Takehiro has quit [Ping timeout: 244 seconds]
<Mon_Ouie> Because it is invalid ASCII. You need to tell Ruby your source code isn't ASCII with a "# encoding: UTF-8" comment at the top of the file
timonv has quit [Remote host closed the connection]
<_bart> Ah that worked actually, I only added it in one file
<_bart> but it has to be at the top of every file using the characters
<Hanmac> yeah ...
<JonnieCache> just write a script to add it to every file
<JonnieCache> you could have it fire as a git hook
Takehiro_ has quit [Remote host closed the connection]
<JonnieCache> someone has almost certainly done that already i imagine
<shevy> where
<shevy> :D
BrokenCog has joined #ruby
BrokenCog has quit [Changing host]
BrokenCog has joined #ruby
<JonnieCache> the googles
Squarepy has joined #ruby
ryk has joined #ruby
olrrai has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
k_89 has quit [Ping timeout: 256 seconds]
BiHi has joined #ruby
fantazo has joined #ruby
edwardj has quit [Remote host closed the connection]
IPGlider has quit []
olrrai has quit [Client Quit]
niklasb has joined #ruby
reset has quit [Ping timeout: 244 seconds]
jeff_sebring has quit [Ping timeout: 244 seconds]
zigomir has quit [Remote host closed the connection]
Quadrant_ has quit [Read error: Connection reset by peer]
Quadrant_ has joined #ruby
`brendan has joined #ruby
olrrai has joined #ruby
Progster has quit [Read error: Operation timed out]
Progster has joined #ruby
philcrissman has quit [Remote host closed the connection]
olrrai has quit [Client Quit]
resure has joined #ruby
mneorr has joined #ruby
eml has joined #ruby
nwest has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
Progster has quit [Ping timeout: 250 seconds]
aristidesfl has joined #ruby
seanstickle has joined #ruby
tk___ has joined #ruby
pdelgallego has quit [Quit: pdelgallego]
fermion has joined #ruby
Spooner has joined #ruby
jeff_sebring has joined #ruby
ly_gs has joined #ruby
yasushi has joined #ruby
workmad3 has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
lahwran- is now known as lahwran
lahwran has quit [Changing host]
lahwran has joined #ruby
nanderoo has joined #ruby
zigomir has joined #ruby
pdelgallego has joined #ruby
pradeepto has quit [Quit: Coyote finally caught me]
<JonnieCache> FUCKING BOTS. if you cant obey the http spec then dont scan my site
<JonnieCache> actually just dont scan my sites at all. kthxbai
dhruvasagar has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby
<seanstickle> Liberal in what you accept, etc.
Criztian has joined #ruby
<JonnieCache> im not going to hack rails to make it accept malformed http requests just so some fuckwit crawler can function correctly
<JonnieCache> i just ignore those exceptions in my exception reporting script
<seanstickle> What kind of wacky requests is this thing making?
lahwran is now known as lahwran-
lahwran- is now known as lahwran_
saschagehlich has quit [Quit: saschagehlich]
lahwran_ is now known as lahwran
fearoffish has joined #ruby
<JonnieCache> theyre just normal get requests to image urls
pdelgallego has quit [Quit: pdelgallego]
<JonnieCache> but there is something malformed about them which is making rails freak the fuck out
<JonnieCache> im obviously not going to investigate it, because it isnt a bug
ghanima has joined #ruby
t37871 has quit [Remote host closed the connection]
Abbas| has quit [Ping timeout: 246 seconds]
t2458 has joined #ruby
Taichouchou2 has quit [Remote host closed the connection]
banisterfiend` is now known as banisterfiend
dpk has joined #ruby
Taichouchou2 has joined #ruby
<seanstickle> Maybe it is a bug.
chussenot has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
geekbri has joined #ruby
AlbireoX has joined #ruby
<JonnieCache> its not a bug because my app is not specced to accommodate random-ass crawlers (it works with google and so on) therefore it is impossible for it to be buggy in this regard
<JonnieCache> none of my rails apps make coffee correctly, thats not a bug either
* seanstickle shrugs
<JonnieCache> sorry it just really gets to me sometimes :)
infinitiguy has joined #ruby
<seanstickle> I can imagine.
<seanstickle> We used to get hit by some Texas bot that would crawl everything 6 times simultaneously.
<seanstickle> Unpleasant.
<_bart> URI.parse is unable to parse [ and ], what should I do?
<JonnieCache> my favourite is when the url in the user-agent field goes to a 500 error
<JonnieCache> i feel like running ab against it
ninefawn has quit [Read error: Connection reset by peer]
<_bart> I know it's not officially valid in URLs, but it is used
infinitiguy has quit [Client Quit]
<seanstickle> JonnieCache: don't let the hate flow through you
Phelps has quit [Read error: Connection reset by peer]
<seanstickle> JonnieCache: forever will you be consumed by it, and then you'll be hit with some sort of legal notice for "hacking"
<seanstickle> And that would be sad.
<JonnieCache> heh
jorge_ has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
jeff_sebring has quit [Quit: Leaving]
vlad_starkov has joined #ruby
justinmcp has quit [Remote host closed the connection]
Virunga has joined #ruby
kvirani has joined #ruby
joephelius has joined #ruby
pdelgallego has joined #ruby
tgriffin2081 has joined #ruby
vlad_sta_ has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
Takehiro has joined #ruby
kvirani_ has joined #ruby
kvirani has quit [Read error: Connection reset by peer]
freeayu__ has joined #ruby
Morkel has quit [Quit: Morkel]
Takehiro has quit [Remote host closed the connection]
freeayu has quit [Ping timeout: 245 seconds]
heisenmink has joined #ruby
zz_chrismcg is now known as chrismcg
Squarepy has quit [Read error: Connection reset by peer]
Phelps has joined #ruby
Squarepy has joined #ruby
t2458 has quit [Remote host closed the connection]
t10833 has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
Takehiro has joined #ruby
BrokenCo1 has joined #ruby
<shevy> hmm
mark_locklear has joined #ruby
Coolhand has joined #ruby
<mark_locklear> test
seanstickle has quit [Quit: seanstickle]
<ly_gs> pong
<mark_locklear> hey guys...I am trying to add a carrage return to line 3 here http://pastie.org/4603486
AntiTyping has joined #ruby
<mark_locklear> tried all manner of [row['first_name'], row['email']],\n
<mark_locklear> and no cigar...
<bnagy> uh
jjbohn has joined #ruby
<bnagy> ok well \n is a newline not a carriage return
<mark_locklear> I'll take either one...
<bnagy> but try .. row['email'],"\n"]
<bnagy> although if you're adding it there it sounds horrible like doing it wrong
linoj has joined #ruby
<bnagy> shouldn't that be done at wherever you do presentation?
jorge_ has quit [Remote host closed the connection]
carloslopes has joined #ruby
<JonnieCache> not if youre building a data structure with newlines as delimeters
<mark_locklear> ...its just for a logfile..
<JonnieCache> yeah exactly
v0n has joined #ruby
<mark_locklear> row['email'],"\n"] just gives me a "\n" in my log file...
<bnagy> is f a filehandle?
<shevy> row['email']+"\n
carloslopes has quit [Client Quit]
<shevy> is row['email'] == ''
<mark_locklear> hang on...I will give you the whole sha-bang...
carloslopes has joined #ruby
<shevy> my shabang swinger is larger than bnagy's swinger!
v0n has quit [Client Quit]
vivien__ has joined #ruby
<shevy> mark_locklear, btw it is http://en.wikipedia.org/wiki/Shebang_%28Unix%29
<shevy> oh is that nso.noodle
<shevy> nooooooodle
Takehiro has quit [Remote host closed the connection]
<bnagy> mark_locklear: you could have just said 'yes'
<mark_locklear> everybody is a comedian
<shevy> and what are you doing with f?
<bnagy> why not just do f.puts "#{row['email']} #{row['blah']}"
<mark_locklear> csv is he file to be processed...f is the logfile...
<shevy> hmm
<mark_locklear> bnagy, I guess I could do that...
bwlang has joined #ruby
emmanuelux has joined #ruby
swair has joined #ruby
Takehiro has joined #ruby
<bnagy> PING 96.127.138.245 (96.127.138.245): 56 data bytes
<bnagy> 64 bytes from 96.127.138.245: icmp_seq=0 ttl=51 time=444.235 ms
<bnagy> :(
<shevy> do you have crappy connection again
LorentzFactor has quit [Read error: Connection timed out]
dubios has quit [Ping timeout: 272 seconds]
<mark_locklear> uh oh...did I just do that?
kiyoura has joined #ruby
<mark_locklear> cold sweat just feel over me...
<bnagy> little bit, yeah
LorentzFactor has joined #ruby
gry has quit [Read error: Operation timed out]
<mark_locklear> well...there has to be an ip exception...
<mark_locklear> ok...cold sweat gone...
timonv has joined #ruby
JoeTheGuest has quit [Ping timeout: 256 seconds]
nateberkopec has joined #ruby
JoeTheGuest has joined #ruby
jeekl has quit [Ping timeout: 252 seconds]
jeekl has joined #ruby
cache_za has quit [Ping timeout: 264 seconds]
GoGoGarrett has joined #ruby
Takehiro has quit [Remote host closed the connection]
s1n4 has joined #ruby
dubios has joined #ruby
cache_za has joined #ruby
cache_za has quit [Changing host]
cache_za has joined #ruby
verto|off is now known as verto
t10833 has quit [Remote host closed the connection]
t72562 has joined #ruby
saschagehlich has joined #ruby
jrist-afk is now known as jrist
philcrissman has joined #ruby
davorb has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
vivien__ has quit [Ping timeout: 246 seconds]
chiel_ is now known as chiel
Takehiro has joined #ruby
tgriffin2081 has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
bwlang has left #ruby [#ruby]
jgarvey has joined #ruby
obryan has joined #ruby
nari has joined #ruby
uris has joined #ruby
gry has joined #ruby
a_a_g has quit [Quit: Leaving.]
SCommette has joined #ruby
Takehiro_ has joined #ruby
jrajav has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
BiHi has quit [Read error: Connection reset by peer]
luist has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
johnlcox has joined #ruby
miho has joined #ruby
chussenot has quit [Ping timeout: 272 seconds]
burgestrand has joined #ruby
uris has quit [Read error: Connection reset by peer]
uris has joined #ruby
vivien__ has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
mneorr has quit [Remote host closed the connection]
pradeepto has joined #ruby
BiHi has joined #ruby
mneorr has joined #ruby
infinitiguy has joined #ruby
timonv has quit [Remote host closed the connection]
luist has quit [Client Quit]
Abbas5 has joined #ruby
Abbas5 is now known as Abbas-
Abbas- has quit [Changing host]
Abbas- has joined #ruby
Abbas- is now known as Abbas5
iamjarvo has quit [Ping timeout: 272 seconds]
joppe has quit [Ping timeout: 245 seconds]
BrokenCo1 has quit [Quit: leaving]
cakehero has joined #ruby
<kapowaz> quick and easy way of parsing a string representing a number that uses commas as separators for the thousands…?
<kapowaz> "4,999".to_i => 4
nari has quit [Ping timeout: 248 seconds]
emmanuelux has quit [Read error: Connection reset by peer]
freeayu__ has quit [Quit: 离开]
<lupine_85> "4,999".gsub(",", "").to_i
<lupine_85> just don't expect it to enjoy internationalized strings - some countries use . instead of ,
<kapowaz> aha, gsub
<kapowaz> s'ok, the dataset is relatively narrowly defined
<lupine_85> (and , instead of .)
<kapowaz> yeah I'm familiar with that
<kapowaz> cheers :)
<bnagy> you can probably tr ',.', '_' too
<lupine_85> :)
<kapowaz> I was going to go with "4,999".split(",").join.to_i
<kapowaz> not sure which is more efficient…
<jrajav> The gsub for sure
awarner has joined #ruby
awarner has quit [Remote host closed the connection]
awarner has joined #ruby
t72562 has quit [Remote host closed the connection]
<lupine_85> very little point worrying about efficiency there
t44356 has joined #ruby
zigomir has quit [Remote host closed the connection]
cascalheira has joined #ruby
blischalk has joined #ruby
asteve has joined #ruby
Abbas5 is now known as Abbas|
codefriar has quit [Quit: Leaving...]
jjbohn is now known as jjbohn|afk
<jrajav> There might be if he's parsing a huge dataset
<jrajav> Though I would question his choice of Ruby in that case
<lupine_85> well, exactly ^^
<kapowaz> easier to write something quickly in a language I know than a language I don't ;)
<lupine_85> if he were processing a massive SQL database, for instance, then worrying about efficiency here, rather than getting the data entry right, or doing a one-time conversion of pre-existing data, would be nuts
<jrajav> Better in the long term to qrite quickies in several different languages to improve your overall skills and versatility
dekroning has quit [Read error: Connection reset by peer]
jclem has joined #ruby
<kapowaz> it's funny how people are obsessed with ‘the right way’, taking zero account for the specific constraints in the situation
ionte_ has joined #ruby
rippa has joined #ruby
<banisterfiend> kapowaz: the 'right way' are often general idioms/style that apply irrespective of the situation
<banisterfiend> is often*
<kapowaz> yeah
<kapowaz> but worrying about internationalisation when I know the dataset isn't internationalised…? :)
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
<banisterfiend> yeah that sounds like a waste of time
SirRamonGabriel has quit [Read error: Operation timed out]
ionte has quit [Ping timeout: 246 seconds]
Takehiro has joined #ruby
Takehiro_ has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
<lupine_85> I was mentioning it as a possible concern, not saying that the gsub way definitely wouldn't work ^^
diegoviola has joined #ruby
ph^ has quit [Remote host closed the connection]
<jrajav> It's worth worrying about internationalisation and accessibility more often than you have to
joppe has joined #ruby
uris has quit [Read error: Connection reset by peer]
uris_ has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
BrokenCog has quit [Quit: leaving]
yasushi has quit [Remote host closed the connection]
BrokenCog has joined #ruby
BrokenCog has quit [Changing host]
BrokenCog has joined #ruby
paolooo has joined #ruby
stopbit has joined #ruby
codefriar has joined #ruby
Babar has joined #ruby
jjbohn|afk is now known as jjbohn
_pdelgallego has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego is now known as pdelgallego
mmitchell has quit [Remote host closed the connection]
mmitchell has joined #ruby
mmitchel_ has joined #ruby
sailias has joined #ruby
mmitchel_ has quit [Remote host closed the connection]
mmitchel_ has joined #ruby
wvms has joined #ruby
BrokenCog has quit [Quit: leaving]
Hanmac has joined #ruby
BrokenCog has joined #ruby
BrokenCog has quit [Changing host]
BrokenCog has joined #ruby
mohits has quit [Ping timeout: 252 seconds]
diegoviola has quit [Quit: leaving]
jrajav has quit [Quit: Leaving]
mmitchell has quit [Ping timeout: 264 seconds]
yasushi has joined #ruby
iori has quit [Remote host closed the connection]
dekroning has joined #ruby
LouisGB has quit [Read error: Connection reset by peer]
LouisGB has joined #ruby
jasonkuhrt has joined #ruby
asobrasil has joined #ruby
joshman_ has joined #ruby
SCommette has quit [Quit: SCommette]
BrokenCog has quit [Quit: leaving]
Coolhand has quit [Ping timeout: 244 seconds]
PhoSor has quit [Ping timeout: 252 seconds]
pho has joined #ruby
rakunHo has joined #ruby
pho has quit [Client Quit]
berserkr has quit [Quit: Leaving.]
mwilson_ has quit [Excess Flood]
jrist is now known as jrist-afk
mwilson_ has joined #ruby
saschagehlich has joined #ruby
senny_ has joined #ruby
d3vic3 has quit [Ping timeout: 248 seconds]
s1n4 has quit [Quit: leaving]
k_89 has joined #ruby
DrShoggoth has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
Takehiro_ has joined #ruby
d3vic3 has joined #ruby
araujo has quit [Read error: Connection reset by peer]
PhoSor has joined #ruby
t44356 has quit [Remote host closed the connection]
t90491 has joined #ruby
rcassidy has quit [Quit: leaving]
Takehiro_ has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
senny has quit [Ping timeout: 268 seconds]
ryh has joined #ruby
zodiak has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
Chryson has joined #ruby
krawchyk has joined #ruby
tcopp has joined #ruby
Takehiro has quit [Remote host closed the connection]
pdelgallego has quit [Ping timeout: 264 seconds]
yasushi has quit [Remote host closed the connection]
alienaut has joined #ruby
Takehiro has joined #ruby
<alienaut> hello, i changed my home folder name now my rvm does not work
Coolhand has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<alienaut> any idea how can i load rvm back to my system?
PhoSor has quit [Ping timeout: 272 seconds]
BrokenCog has joined #ruby
BrokenCog has quit [Changing host]
BrokenCog has joined #ruby
<alienaut> i have macos 10.7.4
<Mon_Ouie> Check your configuration files for hard-coded paths (I mean ~ vs /home/your_user)
vegeek-ng has joined #ruby
<matti> Hi Mon_Ouie
<Mon_Ouie> 'alut matti ;)
workmad3 has joined #ruby
pricees has joined #ruby
blischalk has quit [Quit: blischalk]
iamjarvo has joined #ruby
pdelgallego has joined #ruby
PhoSor has joined #ruby
<alienaut> Mon_Ouie: you mean rvm/config?
tagrudev has quit [Remote host closed the connection]
johnjohnson has joined #ruby
mwilson_ has quit [Excess Flood]
mwilson_ has joined #ruby
Virunga has quit [Remote host closed the connection]
<Mon_Ouie> I mean your shell's config file for starters (where you source rvm's code)
SCommette has joined #ruby
deryl has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
aldodelgado has joined #ruby
i0n has joined #ruby
i0n has joined #ruby
i0n has quit [Changing host]
uris_ has quit [Ping timeout: 260 seconds]
Squarepy has quit [Changing host]
Squarepy has joined #ruby
vectorshelve has quit [Quit: Page closed]
<alienaut> hum you mean .bash_profile
frogprince_mac has joined #ruby
SirFunk has quit [Ping timeout: 246 seconds]
gift_ has quit [Remote host closed the connection]
yasushi has joined #ruby
Chryson has quit [Quit: Leaving]
krawchyk has quit [Remote host closed the connection]
nazty has quit [Read error: Connection reset by peer]
Takehiro has quit [Remote host closed the connection]
nazty has joined #ruby
SirFunk has joined #ruby
<Mon_Ouie> Yes, or .bashrc or whatever
senny_ has quit [Remote host closed the connection]
davorb has quit [Quit: Computer has gone to sleep.]
codefriar has quit [Quit: Leaving...]
<alienaut> only line it includes is "v[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function"
saschagehlich has quit [Quit: saschagehlich]
senny has joined #ruby
<Mon_Ouie> Then I guess some of the path within the RVM directory are fixed; you could try asking on #rvm
<Mon_Ouie> (otherwise, the "easy" way is to just reinstall everything :p)
ge0pan has joined #ruby
<alienaut> ok thanks for your help Mon_Ouie
aganov has quit [Quit: aganov]
el_nacho has joined #ruby
jrist-afk is now known as jrist
krawchyk has joined #ruby
t90491 has quit [Remote host closed the connection]
t39921 has joined #ruby
pureluck has joined #ruby
jtgiri_ has joined #ruby
pureluck has left #ruby [#ruby]
gift_ has joined #ruby
laen__ has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
machty has joined #ruby
sixtycakes has joined #ruby
mwilson_ has quit [Excess Flood]
mwilson_ has joined #ruby
theRoUS has quit [Ping timeout: 244 seconds]
jclem has quit [Ping timeout: 245 seconds]
poppiez has joined #ruby
mattsmith has joined #ruby
erichmenge has joined #ruby
<mattsmith> Hi All, I have two arrays..
<mattsmith> first array
<mattsmith> [{"itemid"=>"2002000000041518", "hostid"=>"2002000000010347"}, {"itemid"=>"2002000000042295", "hostid"=>"2002000000010354"}]
<mattsmith> second array
<mattsmith> [{"itemid"=>"2002000000041518", "clock"=>"1346165138", "value"=>"3.7873"}, {"itemid"=>"2002000000041518", "clock"=>"1346165198", "value"=>"3.6298"}]
<mattsmith> how can I join these based on itemid?
<mattsmith> it looks like i'll need to loop through the second array
<Mon_Ouie> concatenate the arrays, group by the item id, reduce using merge
Babar has left #ruby [#ruby]
uris has joined #ruby
elux has joined #ruby
tk___ has quit [Quit: ばいばい]
<mattsmith> Mon_Ouie, sounds interesting i'll give that a go
elhu has joined #ruby
ly_gs has quit [Remote host closed the connection]
tiripamwe has quit [Ping timeout: 265 seconds]
chaplain is now known as thomas
<elhu> Hi! Would anyone know how to set up mysql through active-record, in a EventMachine/Synchrony environment so I can set timeouts for read and write queries? Same thing as here, but for EM-Synchrony, in fact: http://stackoverflow.com/questions/5480780/how-do-i-set-the-activerecord-query-timeout-for-mysql
ge0pan has left #ruby [#ruby]
chussenot has joined #ruby
timonv has joined #ruby
cache_za has quit [Quit: Leaving]
laen_ has joined #ruby
wvms has left #ruby [#ruby]
<mattsmith> Mon_Ouie, would that give me
<mattsmith> {"itemid"=>"2002000000041518", "clock"=>"1346161058", "value"=>"1.4827", "hostid"=>"2002000000010347"}
<mattsmith> for each entry?
timonv has quit [Ping timeout: 248 seconds]
resure is now known as anti_flud
areil has quit [Remote host closed the connection]
Jay_Levitt has joined #ruby
anti_flud is now known as anti_fly
anti_fly is now known as protiv_fludd
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
pricees has quit [Ping timeout: 248 seconds]
burgestrand has quit [Quit: Leaving.]
maesbn has quit [Remote host closed the connection]
pricees has joined #ruby
<Hanmac> mattsmith:
<Hanmac> >> ([{"itemid"=>"2002000000041518", "hostid"=>"2002000000010347"}, {"itemid"=>"2002000000042295", "hostid"=>"2002000000010354"}] + [{"itemid"=>"2002000000041518", "clock"=>"1346165138", "value"=>"3.7873"}, {"itemid"=>"2002000000041518", "clock"=>"1346165198", "value"=>"3.6298"}]).group_by{|o|o["itemid"]}.map {|k,v| v.inject({},:merge)}
<al2o3cr> (Array) [{"itemid"=>"2002000000041518", "hostid"=>"2002000000010347", "clock"=>"1346165198", "value"=>"3.6298"}, {"itemid"=>"2002000000042295", "hostid"=>"2002000000010354"}]
maesbn has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
protiv_fludd is now known as resure
_knight has joined #ruby
_knight is now known as knajt
Takehiro has joined #ruby
t39921 has quit [Remote host closed the connection]
Takehiro has quit [Read error: Connection reset by peer]
knajt has left #ruby [#ruby]
t15189 has joined #ruby
Takehiro has joined #ruby
davidcelis has quit [Quit: K-Lined.]
<asteve> hash kick ashes
fantazo has quit [Remote host closed the connection]
vegeek-ng has quit [Remote host closed the connection]
headius has joined #ruby
<mattsmith> Hanmac,
<mattsmith> no joy with that i'm faraid
<mattsmith> afraid
<Hanmac> what is your problem with my result?
<mattsmith> ahhh, sorry my bad
<mattsmith> got the two comments jumbled
maesbn has quit [Ping timeout: 252 seconds]
dekroning has quit [Ping timeout: 264 seconds]
mmitchell has joined #ruby
quazimodo has joined #ruby
heisenmink has quit [Remote host closed the connection]
<mattsmith> Hanmac,
<mattsmith> looks to be getting closer
yasushi has quit [Remote host closed the connection]
<mattsmith> but it appears that it removes data
jprovazn is now known as jprovazn_away
_pdelgallego has joined #ruby
<mattsmith> i.e I need it to keep all itemid's
dmiller has joined #ruby
<mattsmith> newarray = (item_data + hostids).group_by{|o|o["itemid"]}.map {|k,v| v.inject({},:merge)}
pdelgallego has quit [Ping timeout: 272 seconds]
_pdelgallego is now known as pdelgallego
<mattsmith> i.e item_data has 43 entrys
<mattsmith> hostids have 9
mmitchel_ has quit [Ping timeout: 260 seconds]
abstrusenick has joined #ruby
pdelgallego has quit [Remote host closed the connection]
<banisterfiend> JonnieCache: Peter Bradshaw of The Guardian noted an unfortunate linguistic problem that reduced British viewers to "a state of nervous collapse". Colloquially, the word "bender" is slang for a homosexual male, giving an entirely different meaning to lines such as "I could tell at once that you were a bender, and that you would realise your destiny." Bradshaw commented that the response from the audience to such lines was "deafeningl
<banisterfiend> y immature" and would "inevitably be repeated in every cinema in the land showing The Last Airbender.
luist has joined #ruby
recycle has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 244 seconds]
joast has quit [Quit: Leaving.]
kvirani_ has quit [Remote host closed the connection]
alienaut has quit [Quit: Leaving.]
alvaro_o has joined #ruby
geekbri_ has joined #ruby
senny has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
joast has joined #ruby
jtgiri_ has joined #ruby
geekbri has quit [Ping timeout: 272 seconds]
frogprince_mac has quit [Quit: Leaving...]
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
eldariof has quit [Ping timeout: 245 seconds]
s1n4 has joined #ruby
swair has quit [Ping timeout: 272 seconds]
berserkr has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
und3f has joined #ruby
wobr1 has quit [Ping timeout: 260 seconds]
cj3kim has quit [Client Quit]
bradhe has joined #ruby
bradhe has quit [Remote host closed the connection]
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
bradhe has joined #ruby
revans has joined #ruby
x77686d has joined #ruby
ScottNYC has joined #ruby
jgrevich has joined #ruby
matrixise has quit [Ping timeout: 244 seconds]
t15189 has quit [Remote host closed the connection]
t93201 has joined #ruby
binaryplease has quit [Quit: WeeChat 0.3.8]
Taichouchou2 has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
Taichouchou2 has joined #ruby
bd0 has joined #ruby
yasushi has joined #ruby
pricees has quit [Ping timeout: 256 seconds]
garndt has joined #ruby
pricees has joined #ruby
ThaDick has joined #ruby
<ThaDick> I'm getting this error: ActionView::Template::Error (comparison of Date with ActiveSupport::TimeWithZone failed), from this code: start_date >= 3.days.from_now.beginning_of_day … Does anyone know why I can't compare the two dates?
randomautomator has joined #ruby
garndt_ has joined #ruby
zommi has left #ruby [#ruby]
<Hanmac> ThaDick ask the guys at #rubyonrails that are the curpits
<Mon_Ouie> The second object is not a Date object
<ThaDick> Whoops … Sorry guys, wrong channel … i thought I'd joined that … my bad
<ThaDick> Thanks for the insight though ;)
headius has quit [Ping timeout: 240 seconds]
garndt has quit [Ping timeout: 245 seconds]
carloslopes has quit [Ping timeout: 256 seconds]
<mattsmith> Hanmac, any ideas? sorry i can't see the wood through the tress :-)
rakunHo has quit [Remote host closed the connection]
Jamone has joined #ruby
mikepack has joined #ruby
garndt_ has quit [Ping timeout: 245 seconds]
Jamone has quit [Client Quit]
SegFaultAX has joined #ruby
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
<Hanmac> mattsmith:
<Hanmac> >>hosts=[{"itemid"=>"2002000000041518", "hostid"=>"2002000000010347"}, {"itemid"=>"2002000000042295", "hostid"=>"2002000000010354"}]; [{"itemid"=>"2002000000041518", "clock"=>"1346165138", "value"=>"3.7873"}, {"itemid"=>"2002000000041518", "clock"=>"1346165198", "value"=>"3.6298"}].map{|o|o.merge(hosts.find{|h|h["itemid"] == o["itemid"]})}
<al2o3cr> (Array) [{"itemid"=>"2002000000041518", "clock"=>"1346165138", "value"=>"3.7873", "hostid"=>"2002000000010347"}, {"itemid"=>"2002000000041518", "clock"=>"1346165198", "value"=>"3.6298", "hostid"=>"2002000000010347"}]
dmiller has quit [Remote host closed the connection]
jasmina87SA__ has joined #ruby
baphled has quit [Read error: Operation timed out]
jasmina87SA__ has left #ruby [#ruby]
heisenmink has joined #ruby
ry4nn has joined #ruby
adamkittelson has joined #ruby
hoelzro is now known as hoelzro|away
timonv has joined #ruby
robotmay has quit [Remote host closed the connection]
jlogsdon has joined #ruby
dmiller has joined #ruby
yasushi has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
peterhellberg has quit [Remote host closed the connection]
codefriar has joined #ruby
bluOxigen has joined #ruby
mikepack has joined #ruby
centipedefarmer has quit [Quit: Leaving]
limeds has joined #ruby
aantix has joined #ruby
aantix has quit [Read error: Connection reset by peer]
kvirani has joined #ruby
aantix has joined #ruby
<scriabin> anybody know why sh doing a sed won't preserve spaces? https://gist.github.com/3499569
<scriabin> this same thing works fine from the command line
jasonkuhrt has quit [Quit: Leaving...]
timonv has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
kiyoura has quit [Ping timeout: 245 seconds]
andrewstewart has joined #ruby
davidcelis has joined #ruby
mmitchell has joined #ruby
sebicas has joined #ruby
_bart has quit [Ping timeout: 264 seconds]
Virunga has joined #ruby
dmiller has quit [Remote host closed the connection]
eevar has joined #ruby
eevar has left #ruby [#ruby]
<shevy> I am boggling about something
<shevy> $0 or __FILE__
<shevy> python does not seem to have that
<fowl> who cares about python
<fowl> i mean really
<shevy> yeah but I am wondering. In ruby you can do puts __FILE__ in a .rb file, in python you have to do print(sys.argv[0]) if I see this right
<shevy> specifically, the .argv data in python seems to include the name of the program, whereas ARGV in ruby is strictly only the commandline arguments given to the .rb file in question
<fowl> shevy: __FILE__ is not the same as argv[0]
<fowl> $0 is argv[0]
t93201 has quit [Remote host closed the connection]
t16618 has joined #ruby
xorigin has quit [Quit: leaving]
machty has quit [Ping timeout: 272 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
machty has joined #ruby
codefriar has quit [Quit: Leaving...]
philcrissman has quit [Remote host closed the connection]
LouisGB has quit [Ping timeout: 252 seconds]
<shevy> yeah
<shevy> I wonder about the different ARGV and sys.argv
recycle has joined #ruby
<dpk> How can I find out what PIPE_BUF is with Ruby?
recycle has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
datapolitical has joined #ruby
khakimov has joined #ruby
Abbas| has quit [Ping timeout: 246 seconds]
Dreamer3 has quit [Quit: Leaving...]
<Hanmac> dpk in what context?
allyraza has joined #ruby
<mattsmith> Hanmac, Thanks thats looking better, now I just need top remove anything without a value I guess
vectorshelve has joined #ruby
dhruvasagar has joined #ruby
<ry4nn> File.read('/usr/include/sys/syslimits.h').match(/PIPE_BUF\s+(\d+)/)[1] =/ sorry.
mneorr has quit [Remote host closed the connection]
<dpk> Hanmac: I'm calling select(2) to check for writability on a pipe, and need to know how much I can write without blocking
mneorr has joined #ruby
mrsolo has joined #ruby
Spooner has quit [Ping timeout: 246 seconds]
<dpk> ry4nn: really? :-/ that sucks. I guess it gets the job done, though
<ry4nn> i was sort of joking
<ry4nn> but i don't know sorry
saschagehlich has joined #ruby
LouisGB has joined #ruby
headius_ has joined #ruby
mneorr has quit [Ping timeout: 252 seconds]
headius__ has joined #ruby
maletor has joined #ruby
ThaDick has quit [Quit: zzzZZZ ...]
sepp2k has joined #ruby
shevy has quit [Ping timeout: 246 seconds]
stkowski has joined #ruby
timonv has joined #ruby
headius_ has quit [Ping timeout: 272 seconds]
datapolitical has quit [Quit: This computer has gone to sleep]
mmitchell has joined #ruby
BrokenCog has quit [Quit: leaving]
recycle has joined #ruby
BrokenCog has joined #ruby
BrokenCog has quit [Changing host]
BrokenCog has joined #ruby
ThaDick has joined #ruby
adeponte has joined #ruby
sepp2k1 has quit [Ping timeout: 272 seconds]
recycle has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 265 seconds]
imami|afk has quit [Excess Flood]
banseljaj has joined #ruby
noam has quit [Ping timeout: 244 seconds]
pdelgallego has joined #ruby
resure is now known as resure_away
quazimodo has joined #ruby
artOfWar has joined #ruby
t16618 has quit [Remote host closed the connection]
t22873 has joined #ruby
carloslopes has joined #ruby
mahmoudimus has joined #ruby
_graham_ has quit [Quit: WeeChat 0.3.7]
quazimodo has quit [Ping timeout: 252 seconds]
banseljaj has quit [Excess Flood]
quazimodo has joined #ruby
mikepack has quit [Remote host closed the connection]
banseljaj has joined #ruby
_pdelgallego has joined #ruby
pdelgallego has quit [Read error: Connection reset by peer]
_pdelgallego is now known as pdelgallego
dmiller has joined #ruby
mneorr has joined #ruby
pdelgallego has quit [Remote host closed the connection]
<cjk101010> re.
twigmorewelsh has joined #ruby
sneakyness_wk has joined #ruby
shevy has joined #ruby
chimkan_ has joined #ruby
jcrocetta has joined #ruby
mikepack has joined #ruby
dpk has quit [Quit: Asleep at the keyboard.]
adeponte has quit [Remote host closed the connection]
jcrocetta has left #ruby [#ruby]
adeponte has joined #ruby
kvirani has quit [Remote host closed the connection]
cbuxton has quit [Ping timeout: 248 seconds]
cbuxton has joined #ruby
t22873 has quit [Remote host closed the connection]
recycle has joined #ruby
t51106 has joined #ruby
Synthead has joined #ruby
Spitfire has joined #ruby
emmanuelux has joined #ruby
hadees has quit [Quit: hadees]
JonnieCache|home has joined #ruby
cantonic has joined #ruby
limeds has quit [Quit: limeds]
mmitchell has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
apok has joined #ruby
mattsmith_ has joined #ruby
mattsmith_ has quit [Client Quit]
geekbri_ has quit [Remote host closed the connection]
Virunga_ has joined #ruby
chrismcg is now known as zz_chrismcg
geekbri has joined #ruby
elaptics is now known as elaptics`away
BiHi has quit [Quit: Computer has gone to sleep]
mattsmith has quit [Ping timeout: 245 seconds]
Dreamer3 has joined #ruby
Virunga_ has quit [Remote host closed the connection]
ringotwo has joined #ruby
pricees has quit [Ping timeout: 265 seconds]
revans has quit [Quit: Linkinus - http://linkinus.com]
burgestrand has joined #ruby
revans has joined #ruby
bier_ has quit [Ping timeout: 268 seconds]
AntiTyping has quit [Quit: AntiTyping]
recycle has quit [Remote host closed the connection]
ngoldman has joined #ruby
ryh has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 246 seconds]
revans has quit [Client Quit]
machty has quit [Quit: machty]
Squarepy has quit [Ping timeout: 244 seconds]
revans has joined #ruby
elhu has quit [Ping timeout: 245 seconds]
savage- has joined #ruby
t51106 has quit [Remote host closed the connection]
t73353 has joined #ruby
ryh has joined #ruby
apok has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
apok has joined #ruby
dmiller has joined #ruby
mohits has quit [Ping timeout: 272 seconds]
mlins has joined #ruby
LouisGB has quit [Ping timeout: 252 seconds]
shadoi has joined #ruby
brianpWins has joined #ruby
tsan has joined #ruby
recycle has joined #ruby
headius__ has quit [Quit: headius__]
hadees has joined #ruby
GeekOnCoffee_ has joined #ruby
vivien__ has quit [Ping timeout: 246 seconds]
yakko has joined #ruby
ThaDick has quit [Quit: zzzZZZ ...]
kenichi has joined #ruby
vectorshelve has quit [Quit: Page closed]
jjbohn is now known as jjbohn|afk
AntiTyping has joined #ruby
bier_ has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
celinedior has joined #ruby
adeponte has quit [Remote host closed the connection]
Eldariof-ru has joined #ruby
poppiez has quit [Quit: Linkinus - http://linkinus.com]
chimkan_ has quit [Quit: chimkan_]
Synthead has quit [Quit: p33 ba115]
Synthead has joined #ruby
GeekOnCoffee_ is now known as GeekOnCoffee
jjbohn|afk has quit [Quit: Leaving...]
ibash has joined #ruby
ibash has quit [Client Quit]
<luist> help please? ERROR: Error installing bundler: bundler requires RubyGems version >= 1.3.6
<asteve> luist: what version of rubygems do you have?
Jay_Levitt has quit [Quit: Jay_Levitt]
vivien__ has joined #ruby
yakko has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
<davidcelis> luist: apparently you need to update rubygems
mattsmith has joined #ruby
elux has joined #ruby
elux has quit [Remote host closed the connection]
<luist> asteve: how do i check
<Hanmac> luist or update your entire ruby when needed :P
t73353 has quit [Remote host closed the connection]
<luist> well i just downloaded it from ubuntu 10.04 LTS repo
<luist> so… shouldnt be that old
t35140 has joined #ruby
adeponte has joined #ruby
<Hanmac> why not using an newer ubuntu? or the ruby1.9.1 package?
qwerxy has quit [Ping timeout: 248 seconds]
<k_89> use vrvm
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Takehiro has quit [Remote host closed the connection]
<luist> Hanmac: because the gitorious configuration that works is for 10.04
Takehiro has joined #ruby
Synthead has quit [Remote host closed the connection]
Synthead has joined #ruby
dmiller has quit [Remote host closed the connection]
<luist> Hanmac: and im already bored enough doing 203948290384209384 steps to configure this ****
Jay_Levitt has joined #ruby
baphled has joined #ruby
mattsmith has left #ruby [#ruby]
<luist> these things are very non-intuitive and poorly deployable
<luist> any gem that i update will stop everything to work
Takehiro has quit [Remote host closed the connection]
<fowl> luist: do you need a shoulder to cry on? mine are particularly absorbent
<luist> fowl: no.. i just need rubygems 1.3.6
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby
Takehiro has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby
hakunin has quit [Remote host closed the connection]
RudyValencia has quit [Read error: Connection reset by peer]
RudyValencia has joined #ruby
<burgestrand> ubuntu/debian come with embarrasingly old versions of ruby :(
chussenot has quit [Quit: chussenot]
<burgestrand> and broken packages of ruby
<burgestrand> \o/
<shevy> that is debian
<shevy> the only distribution for the clueless masses to use
cakehero has quit [Quit: Computer has gone to sleep.]
<burgestrand> both
<burgestrand> ubuntu is no better, and I’m not sure there are more ubuntu users or more users having problems with ubuntu
<luist> oh god… ubuntu has 1.3.5-1ubuntu2
chichou has quit [Remote host closed the connection]
<Hanmac> burgestrand when you use an old version of ubuntu/debian why did you expect an new version of ruby?
thomas is now known as chaplain
cakehero has joined #ruby
<burgestrand> Hanmac: I don’t use debian/ubuntu anymore, and even if I did I would not expect them to break rubygems or weird out with paths to both gems and ruby binaries :/
mmitchell has joined #ruby
<burgestrand> (frankly I never used it as my main OS, always for servers)
k_89 has left #ruby ["Leaving"]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
<burgestrand> even then, the latest ubuntu still comes with 1.8.7 as default doesn’t it?
cantonic has quit [Quit: cantonic]
moshee has quit [Ping timeout: 246 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
Tearan has joined #ruby
bontaq has joined #ruby
pricees has joined #ruby
resure_away is now known as resure
krz has joined #ruby
mneorr has quit [Ping timeout: 268 seconds]
<Hanmac> burgestrand: yeah but it has an nearly recent ruby1.9.1-full package ... the next debian and the next ubuntu will have 1.9.3 as default
cantonic has joined #ruby
* workmad3 wonders when debian and ubuntu will have ruby 1.9.3 under a ruby1.9.3 package rather than a ruby1.9.1 package
kvirani has joined #ruby
_bart has joined #ruby
<Hanmac> workmad3 because ruby1.9.1 and ruby1.9.3 are api compatible ... so the ruby1.9.3 package is only an link-package
und3f has quit [Read error: Connection reset by peer]
headius has joined #ruby
Synthead has quit [Quit: p33 ba115]
und3f has joined #ruby
thunderstrike has quit [Ping timeout: 252 seconds]
Synthead has joined #ruby
<JonnieCache|home> did any of you lot do the stripe ctf?
Synthead has quit [Read error: Connection reset by peer]
* JonnieCache|home is on level 4 and feeling like a massive noob
Synthead has joined #ruby
Tearan has quit [Quit: Sleepy Badger....]
rcloak has joined #ruby
<JonnieCache|home> i shouldnt really have attempted it immediately after a 3 day weekend
Synthead has quit [Read error: Connection reset by peer]
Synthead has joined #ruby
<luist> how do i unninstall all the gems from bundler?
<workmad3> JonnieCache|home: I'll make you feel better... I'm just off a 5 day weekend :D
<celinedior> Hi everyone. Noob question. i'm using sinatra, mongoid. Want to interpolate string as argument for Model.create! but got an error "undefined method `reject' for # <String:0x007f9e33b8dc78>"
t35140 has quit [Remote host closed the connection]
t71401 has joined #ruby
Synthead has quit [Client Quit]
voodoofish430 has joined #ruby
Synthead has joined #ruby
thunderstrike has joined #ruby
skogis has quit [Ping timeout: 240 seconds]
Taichouchou2 has quit [Remote host closed the connection]
Morkel has joined #ruby
<fowl> celinedior: sup with your tabs
jrist is now known as jrist-lunch
cantelope has joined #ruby
<JonnieCache|home> workmad3: savage. and you live in the north where alcohol is cheap. you must be hanging
<workmad3> nah, I don't drink
<JonnieCache|home> :P
Taichouchou2 has joined #ruby
andrewstewart has left #ruby ["Linkinus - http://linkinus.com"]
<burgestrand> celinedior: what arguments does a model.create take?
<JonnieCache|home> i realised how presumptuous that was as i hit enter
rcloak has quit [Remote host closed the connection]
<burgestrand> celinedior: by looking at the documentation it appears to take a hash. Are you sure you want to pass a string to it?
recycle has quit [Remote host closed the connection]
DarthGandalf has quit [Quit: Bye]
datapolitical has joined #ruby
<celinedior> member:burgestrand the problem is when i copy and paste string output from teminal and replace interpolation in code everything goes smoothly
DarthGandalf has joined #ruby
mmitchell has quit [Remote host closed the connection]
<burgestrand> celinedior: show code where things go smooth, and code where things go bad
recycle has joined #ruby
Taichouchou2 has quit [Ping timeout: 244 seconds]
johnlcox_ has joined #ruby
<celinedior> one sec
SCommette has quit [Quit: SCommette]
johnlcox has quit [Ping timeout: 264 seconds]
johnlcox_ is now known as johnlcox
Goles has joined #ruby
SCommette has joined #ruby
resure is now known as resure_away
niklasb has joined #ruby
Criztian has quit [Remote host closed the connection]
<celinedior> http://pastie.org/4604989 - good
jorge_ has joined #ruby
jorge_ has quit [Remote host closed the connection]
<celinedior> http://pastie.org/4604924 -bad
<burgestrand> celinedior: in the good one you pass a hash, in the bad one you pass a string
<burgestrand> celinedior: a hash is a different kind of beast than a string, you cannot treat them the same way
havenn has joined #ruby
<burgestrand> celinedior: it is very likely (and common) that mongoid expects a hash, but when you give it a string it makes a booboo and kill the script
<burgestrand> celinedior: it’s like if you wanted a strawberry and I gave you a piece of coal
SCommette has quit [Client Quit]
Synthead has quit [Quit: p33 ba115]
codefriar has joined #ruby
Synthead has joined #ruby
<celinedior> yeah i got i) i've tried to serialize it to_json for some reason, but realised that it's a new hash syntax) i'l try to convert it to hash. thank you!
jjbohn has joined #ruby
diegoviola has joined #ruby
PhoSor has quit [Quit: PhoSor]
elhu has joined #ruby
ThaDick has joined #ruby
dpk has joined #ruby
SCommette has joined #ruby
c0rn_ has joined #ruby
elhu has quit [Client Quit]
roger765 has joined #ruby
johnjohnson has quit [Ping timeout: 260 seconds]
<roger765> hey
h4mz1d has joined #ruby
<roger765> people i am ruby newbee
<matti> Hey
<matti> I am an coffeeholic.
<roger765> i am working for cognizant for the last 6 months
jorge_ has joined #ruby
johnjohnson has joined #ruby
bluenemo has quit [Remote host closed the connection]
mmitchell has joined #ruby
<roger765> just started working after colg for
<matti> :)
<roger765> cts on ruby on rails project
<matti> Welcome to the World of Ruby then.
kirun has joined #ruby
<matti> We offer free hugs, and mental support.
<roger765> my mentor sucks he is offshore and it
<roger765> becomes real difficult to communicate
<matti> Free hungs are curtesy of shevy
<roger765> i need to know how do i go about learning ruby and rails
chrisja has joined #ruby
<matti> Feel free to ask question to your heart consent.
<matti> roger765: Rails -> #rubyonrails ;]
<roger765> yeah i went thru the text ruby by david falnagan
<roger765> but how do i improve my programming skills with
<roger765> ruby as the book has more of details on each topic than programming examples
Serosyn has joined #ruby
<shevy> matti free hugs?
* shevy hugs matti
samnang_ has joined #ruby
<roger765> anyhelp would be deeply appreciated
<roger765> :( i am frustrated
<Hanmac> shevy did you know that yorkshire has a 'pigeon Bermuda Triangle' ? :P
jenrzzz has joined #ruby
flak has joined #ruby
flak is now known as Guest57566
ckrailo has joined #ruby
joephelius has quit [Ping timeout: 244 seconds]
jgrevich_ has joined #ruby
rippa has quit [Ping timeout: 268 seconds]
r0bby has joined #ruby
pdtpatrick has joined #ruby
<workmad3> johnjohnson: there we go... I'm somehow stuck at level 2 :(
havenn has quit [Remote host closed the connection]
jgrevich has quit [Ping timeout: 264 seconds]
jgrevich_ is now known as jgrevich
roger765 has quit [Quit: irc2go]
<workmad3> oops... johnniecache has gone :/
havenn has joined #ruby
<workmad3> tab-complete fail :)
<JonnieCache|home> im here
<JonnieCache|home> which one is level 2?
r0bby has quit [Client Quit]
el_nacho has quit [Quit: Leaving]
<workmad3> the social network image upload one
ananthakumaran has quit [Quit: Leaving.]
elhu has joined #ruby
<workmad3> must have been trying to tab-complete with joh :/
<JonnieCache|home> ah that one took me ages, its actually really easy
timonv_ has joined #ruby
<workmad3> JonnieCache|home: yeah, way to make me feel better :P
<JonnieCache|home> its a really stupid solution that you might miss because its so moronic
s1n4 has quit [Quit: leaving]
<JonnieCache|home> i spent ages trying to do clever things and then i was like "oh, is that it? damn."
<johnjohnson> :o
<workmad3> heh
emmanuelux has quit [Ping timeout: 245 seconds]
<workmad3> I'm now wondering if I can make a file called '../*' :D
elhu has quit [Client Quit]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
jorge_ has quit [Remote host closed the connection]
TheLZA has quit [Ping timeout: 268 seconds]
johnlcox has quit [Quit: Computer has gone to sleep.]
sn0wb1rd has joined #ruby
jorge_ has joined #ruby
<JonnieCache|home> workmad3: ask if you want hints ;)
johnlcox has joined #ruby
mneorr has joined #ruby
h4mz1d has quit [Ping timeout: 265 seconds]
<workmad3> JonnieCache|home: haha, just got it :D
recycle has quit [Remote host closed the connection]
und3f has quit [Read error: Connection reset by peer]
havenn has quit [Remote host closed the connection]
<workmad3> now I'm looking at evil python code :(
dpk has quit [Quit: Asleep at the keyboard.]
enherit has joined #ruby
und3f has joined #ruby
joephelius has joined #ruby
<JonnieCache|home> the next one is ruby
<JonnieCache|home> and its a proper app as well, and the vuln is in the actual app code. it doesnt stick out like in 0-3
<JonnieCache|home> ive given up for now tbh
dpk has joined #ruby
ryker has joined #ruby
reset has joined #ruby
Takehiro has quit [Remote host closed the connection]
<Hanmac> code is not evil, until hanmac did wrote it :P
Asher has joined #ruby
IrishGringo has joined #ruby
sixtycakes has quit [Remote host closed the connection]
sixtycakes has joined #ruby
Takehiro has joined #ruby
<matti> shevy: ;]
jasonkuhrt has joined #ruby
<ryker> hi all. i want to write some code in ruby to monitor a Linux server process list and execute some code if it finds a particular process is running. I've been looking around and found Guard (https://github.com/guard), but I'm not sure if that's the best thing to use. Looks like I would have to write my own guard plugin to parse the /proc directory. Any suggestions?
aldodelgado has quit [Quit: aldodelgado]
dangerousdave has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
mascool has joined #ruby
answer_42 has joined #ruby
sixtycakes has quit [Ping timeout: 264 seconds]
resure_away has quit [Remote host closed the connection]
<shevy> workmad3 why do you look at python code, planning to abandon ruby like an ex-girlfriend :(
jastix has quit [Quit: Leaving]
adamkittelson has quit [Remote host closed the connection]
schaerli has joined #ruby
Goles has quit [Quit: Computer has gone to sleep.]
khakimov has joined #ruby
recycle has joined #ruby
adeponte has quit [Remote host closed the connection]
sebicas has left #ruby [#ruby]
carloslopes has quit [Ping timeout: 252 seconds]
recycle has quit [Remote host closed the connection]
binaryplease has joined #ruby
jasonkuhrt has quit [Quit: Leaving...]
carloslopes has joined #ruby
jasonkuhrt has joined #ruby
znake has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
jasonkuhrt has quit [Client Quit]
Vert has quit [Remote host closed the connection]
SQLStud has joined #ruby
<workmad3> shevy: because I'm trying to break an app on this strip-ctf thing
deryl has quit [Quit: deryl]
resure_away has joined #ruby
<JonnieCache|home> stripe-ctf. strip-ctf would be a whole different deal
Monie has quit [Ping timeout: 244 seconds]
xorigin has joined #ruby
theRoUS is now known as GenghisKen
headius_ has joined #ruby
malkomalko has joined #ruby
GenghisKen is now known as theRoUS
jenrzzz has quit [Ping timeout: 252 seconds]
michael7 has joined #ruby
Xeago_ has joined #ruby
nnv7 has joined #ruby
headius has quit [Ping timeout: 260 seconds]
headius_ is now known as headius
jenrzzz has joined #ruby
<workmad3> heh
<workmad3> JonnieCache|home: ok, is level 3 also something dumbass moronic? or is it more subtle?
<workmad3> I'm going code blind :(
timonv_ has quit [Remote host closed the connection]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
centipedefarmer has joined #ruby
michael7 has left #ruby [#ruby]
fowl has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 256 seconds]
Jay_Levitt has quit [Quit: Jay_Levitt]
Jay_Levitt has joined #ruby
deryl has joined #ruby
abstrusenick has quit [Quit: abstrusenick]
foolove has quit [Quit: Leaving]
jarred has joined #ruby
coyo has joined #ruby
coyo has quit [Changing host]
coyo has joined #ruby
recycle has joined #ruby
resure_away is now known as resure
jarred has quit [Client Quit]
Serosyn has quit [Quit: Leaving...]
jarred has joined #ruby
juarlex_ has quit [Remote host closed the connection]
mlins has quit [Quit: Leaving...]
<JonnieCache|home> level 3 isnt moronic, no
<JonnieCache|home> it should however be obvious where it lies
<JonnieCache|home> it isnt obvious how to exploit it, unless youre fairly practised at the particular technique
<JonnieCache|home> i had to do some research
<workmad3> hmm... well, the obvious attack was SQL injection but I couldn't figure out an attack
sixtycakes has joined #ruby
<JonnieCache|home> yeah it is that. its not a "my first sqli" thing though, you have to be a bit cleverer
khakimov has joined #ruby
<workmad3> bah, clever, that doesn't sound fun :P
reset has quit [Quit: Leaving...]
und3f has quit [Read error: Connection reset by peer]
<JonnieCache|home> just think about it logically, what values do i need to poison, and then how can i poison them?
Vert has joined #ruby
<JonnieCache|home> its like normal programming but backwards
cascalheira has quit [Quit: Leaving...]
und3f has joined #ruby
<workmad3> well, all my attempts to poison it told me I could only execute one statement
<workmad3> ...
<nnv7> Question
<nnv7> What are you guys working on?
ringotwo has quit [Read error: Connection reset by peer]
<nnv7> Jonnie/mad3
<workmad3> nnv7: stripe-ctf 2.0
specialGuest has joined #ruby
ringotwo has joined #ruby
specialGuest has quit [Changing host]
specialGuest has joined #ruby
recycle has quit [Remote host closed the connection]
<nnv7> i c..
ringotwo has quit [Remote host closed the connection]
<nnv7> So many things to learn..
<JonnieCache|home> workmad3: you can mutate a statement without breaking it and starting a new one
<JonnieCache|home> thats what i had to research
<workmad3> JonnieCache|home: yeah, just looking that up now
Criztian has joined #ruby
t71401 has quit [Remote host closed the connection]
Tearan has joined #ruby
t83762 has joined #ruby
adamkittelson has joined #ruby
chimkan_ has joined #ruby
timonv has joined #ruby
Guest57566 is now known as rippa
bradhe_ has joined #ruby
recycle has joined #ruby
deadSnow1an has quit [Ping timeout: 252 seconds]
ScottNYC has quit [Quit: ScottNYC]
Takehiro has quit [Remote host closed the connection]
supergiantrobot_ has joined #ruby
deadSnowman has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
bradhe has quit [Ping timeout: 248 seconds]
ringotwo has joined #ruby
darren has joined #ruby
fantazo has joined #ruby
jasonkuhrt has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
dejanr has joined #ruby
<workmad3> JonnieCache|home: got level 3... looking at level 4 now
Foxandxss has joined #ruby
znake has quit [Quit: znake]
adeponte has joined #ruby
<JonnieCache|home> thats where i stopped. ive got a couple of ideas but im gonna do it another time
<workmad3> I keep on coming back to the username being stored in the session here, but it's using session keys, not sure how to poison the session without it being invalidated
Speed has quit [Ping timeout: 252 seconds]
<JonnieCache|home> doesnt look like you can poison the session key. its the sinatra session, if it was vulnerable wed know about it
mikehaas763 has joined #ruby
sailias has quit [Quit: Leaving.]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
mneorr has quit [Ping timeout: 248 seconds]
<mikehaas763> Hi, where are gems installed to on ubuntu?
sailias has joined #ruby
sirish has joined #ruby
<JonnieCache|home> workmad3: transfers are stored according to username, not user id
bluOxigen has joined #ruby
stopbit has quit [Read error: Connection reset by peer]
<JonnieCache|home> workmad3: so if you can register a new user with the same username as KARMA_FOUNTAIN then youve won
<JonnieCache|home> workmad3: i cant see how to defeat the check for duplicate usernames though
<JonnieCache|home> workmad3: maybe i could change my own username somehow... it doesnt look like theres any mass-assignment or anything
stopbit has joined #ruby
timonv has quit [Remote host closed the connection]
jarred has quit [Quit: jarred]
<Hanmac> mikehaas763 depending on the ruby version and if thery are installed via apt
jasonkuhrt has quit [Quit: Leaving...]
headius has quit [Quit: headius]
stopbit has quit [Read error: Connection reset by peer]
revans has quit [Remote host closed the connection]
revans has joined #ruby
revans has quit [Client Quit]
stopbit has joined #ruby
sirish has quit [Ping timeout: 260 seconds]
mneorr has joined #ruby
<mikehaas763> Ok, how would I update a gem?
<shevy> mikehaas763 gem update?
dpk has quit [Ping timeout: 245 seconds]
CannedCorn has joined #ruby
RORgasm has joined #ruby
Takehiro has joined #ruby
<CannedCorn> hey guys, is there anyway to download a file in ruby with a nice wget like display and features
<CannedCorn> i realize i can shell out and do it but...
<CannedCorn> just wondering
mmitchell has quit [Remote host closed the connection]
dejanr has quit [Read error: Connection reset by peer]
<Hanmac> shevy "i am too lazy to read the help file, but i can use irc"
sepp2k has quit [Remote host closed the connection]
<shevy> CannedCorn I think I saw something
<shevy> something like ascii progress bar
<shevy> apeiros used to have one
<CannedCorn> oh nice
<CannedCorn> i guess i could just make one
<shevy> CannedCorn, how about this for ASCII hehehehe :D http://pastie.org/4605568
<shevy> but apeiros one is 1000x better
jclem has joined #ruby
<CannedCorn> yeah
<CannedCorn> cool
samnang_ has quit [Quit: Linkinus - http://linkinus.com]
Russell^^ has joined #ruby
faen has quit [Read error: Connection reset by peer]
revans has joined #ruby
JarJar has joined #ruby
chimkan_ has quit [Quit: chimkan_]
recycle has quit [Remote host closed the connection]
AntiTyping has quit [Quit: AntiTyping]
<lectrick> how can I curry a lambda? Do I have to convert it to a Proc?
<shevy> btw CannedCorn also have a look at http://0xcc.net/ruby-progressbar/index.html.en
<lectrick> Basically I want a lambda that takes 2 arguments, but I want to pass it to an .each, which only gives 1 parameter, and I want to provide the original lambda with the other parameter myself... How can I do that?
<lectrick> I think it has to do with currying but I am a currying noob
jenrzzz has quit [Ping timeout: 245 seconds]
mmitchell has joined #ruby
<matti> shevy: We should get freerubyhugs.org
<shevy> Hanmac patents are weapons for corporate networks
<shevy> matti yeah
<shevy> next to sexyrubygirls.xxx
<matti> LOL
<matti> I should see that one coming.
<Hanmac> patents are something that should be erased from history
cczona has joined #ruby
<matti> Hanmac: +1
tiripamwe has joined #ruby
cczona has left #ruby [#ruby]
malkomalko has quit [Remote host closed the connection]
<Hanmac> even my farts are more creative then most of the apple patents
recycle has joined #ruby
<matti> Hanmac: Its one big bullshit.
<CannedCorn> shevy thanks man
faen has joined #ruby
<shevy> Hanmac yes but they won't because everyone can be bought
chimkan has joined #ruby
jorge_ has quit [Remote host closed the connection]
<xyon> +1 to destroying all patents
<xyon> lots of creativity has been stifled due to them, I think..
<matti> xyon: Yeah.
<matti> xyon: Money, patents, etc; the enemy of progress.
Takehiro has quit [Remote host closed the connection]
<Hanmac> patents are like "dark age reloaded"
<xyon> matti: agreed!
mc0e has quit [Ping timeout: 245 seconds]
<xyon> agreed as well, Hanmac...
bd0 has quit [Ping timeout: 245 seconds]
seich- is now known as Seich
<matti> "My device has ON button, and yours has it too"
<matti> "I will destroy you and demand 1000 billion"
<rking> How long have you been able to attach "rescue"s to things other than "begin"s?
jrist-lunch is now known as jrist
resure has quit [Remote host closed the connection]
<lectrick> nevermind I figured out my currying problem
CannedCorn has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Xeago_ has quit [Remote host closed the connection]
resure has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
t83762 has quit [Remote host closed the connection]
reset has joined #ruby
t64735 has joined #ruby
khakimov has joined #ruby
heisenmink has quit [Remote host closed the connection]
bradhe_ has quit [Read error: Connection reset by peer]
cantelope has left #ruby [#ruby]
recycle has quit [Remote host closed the connection]
jasonkuhrt has joined #ruby
bradhe has joined #ruby
bradhe has quit [Remote host closed the connection]
limes has joined #ruby
bradhe has joined #ruby
jlogsdon has quit [Remote host closed the connection]
Eldariof59-ru has joined #ruby
resure has quit [Remote host closed the connection]
Takehiro has joined #ruby
Eldariof27-ru has joined #ruby
krawchyk has quit [Remote host closed the connection]
RichieEvan has quit [Quit: RichieEvan]
banghouse is now known as banghouseFOOD
Eldariof-ru has quit [Ping timeout: 246 seconds]
w400z has joined #ruby
mmitchell has quit [Remote host closed the connection]
Eldariof59-ru has quit [Ping timeout: 245 seconds]
codeFiend has joined #ruby
chimkan has quit [Quit: chimkan]
chimkan has joined #ruby
w400z has quit [Client Quit]
w400z has joined #ruby
scootiepuff has quit [Remote host closed the connection]
jjbohn is now known as jjbohn|afk
<gift_> I have two arrays containing 5 elements of type Fixnum each. The elements are populated from a static template with numbers from weekly reports. I'm trying to find the best way to create a new array, with 5 elements, with the difference between the respective elements in the first two arrays. whats the best way to go about that?
<matti> gift_: Can you give us an example?
<gift_> I'm capable of walking through both and comparing, and manually populating the third array, but i wodnered if there was some quicker ruby sorcery
<matti> gift_: Try inject.
<matti> gift_: Or select / reject.
<matti> gift_: Or map / merge combo.
jorge_ has joined #ruby
<gift_> alrighty, i'll look them up.
jerrad has joined #ruby
recycle has joined #ruby
recycle has quit [Remote host closed the connection]
limes has quit [Remote host closed the connection]
ThaDick has quit [Quit: zzzZZZ ...]
<gift_> matti: actually it was pretty easy without, i just wound up with something like: 0.upto(4) { |n| new_array.push( this_week[n] - last_week[n] ) }
jjbohn|afk is now known as jjbohn
havenn has joined #ruby
<matti> \o/
<matti> ;]
<gift_> i came crying for help too quickly before trying to do it :P
<sailias> (a1 - a2) + (a2 - a1)
dbe has joined #ruby
<sailias> that will give you differences and remove similarities
jasonkuhrt has quit [Quit: Leaving...]
<sailias> probably horribly inefficient
<matti> Benchmark!
<matti> ;d
<gift_> what similarities?
jbw has quit [Ping timeout: 244 seconds]
<sailias> you said the difference, so that's what it will give. Remove elements common to both arrays and give you the differences
machty has joined #ruby
<gift_> i see
burgestrand has quit [Quit: Leaving.]
bd0 has joined #ruby
gfkjunior has joined #ruby
<workmad3> sailias: or (a1 + a2) - (a1 & a2)
<sailias> workmad3: yeah that too, same idea different order of operations
<workmad3> or even (a1 | a2) - (a1 & a2)
<matti> LOL
<sailias> :)
answer_42 has quit [Remote host closed the connection]
<workmad3> difference = union - intersection :)
<sailias> been a while since i've messaged this room, thought i'd start off with an easy one
nanderoo has quit [Quit: Leaving.]
<matti> I think he is looking to get the difference without removing duplicates.
<matti> But allt these methods are cool.
suomynona has joined #ruby
<gift_> indeed, to both lines.
<Paradox> digital ears
t64735 has quit [Remote host closed the connection]
LouisGB has joined #ruby
t88611 has joined #ruby
<shevy> digital penis
LouisGB has quit [Read error: Connection reset by peer]
LouisGB has joined #ruby
robustus has quit [Ping timeout: 244 seconds]
<matti> gift_: this_week.each_with_index.map {|v, i| v - last_week[i] } -- probably can be done better.
webusnix has joined #ruby
chrisja has quit [Quit: leaving]
<matti> gift_: And if you only want the difference, then you may want to ().abs, or something.
<Paradox> shevy, atomic penis
<Paradox> do i have to repeat myself
celinedior has quit [Quit: celinedior]
<matti> Paradox: Atoimc?
<matti> Atomic*
<Paradox> yup
<matti> Paradox: That's so '70
<Paradox> a radioactive cock
<matti> Paradox: Higgs Penis
<matti> d
<matti> Graphene Penis
<matti> etc
<matti> ;d
suomynona has quit [Quit: Leaving]
mmitchell has joined #ruby
<Paradox> just like the butt ox http://i.imgur.com/8hMxM.jpg
xorigin has quit [Quit: leaving]
bawwwller has joined #ruby
recycle has joined #ruby
recycle has quit [Remote host closed the connection]
webusnix has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
jbw has joined #ruby
reset has quit [Quit: Leaving...]
Takehiro has quit [Remote host closed the connection]
sirish has joined #ruby
banghouseFOOD is now known as banghouse
Chryson has joined #ruby
Takehiro has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
SegFaultAX has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
tiripamwe has quit [Ping timeout: 252 seconds]
ry4nn has quit [Remote host closed the connection]
Eldariof27-ru has quit []
SQLStud has quit [Read error: Connection reset by peer]
SQLStud has joined #ruby
Seich is now known as seich
khakimov has quit [Quit: Computer has gone to sleep.]
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
gfontenot has joined #ruby
nnv7 has quit [Quit: nnv7]
bawwwller has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )]
jorge_ has quit [Remote host closed the connection]
bawwwller has joined #ruby
Takehiro has quit [Ping timeout: 252 seconds]
Markvilla has joined #ruby
Guest5516 has quit [Quit: Guest5516]
jimpsson has left #ruby ["WeeChat 0.3.7"]
havenn has quit [Remote host closed the connection]
reset has joined #ruby
recycle has joined #ruby
t88611 has quit [Remote host closed the connection]
t17187 has joined #ruby
graspee_ has quit [Quit: leaving]
centipedefarmer has quit [Ping timeout: 264 seconds]
<gfkjunior> hey y'all I'm new to ruby and was writing a port scanner to learn some networking, but I have no idea what I'm doing wrong. Can anyone help me out with my script?
graspee has quit [Read error: Connection reset by peer]
asteve has quit []
jorge_ has joined #ruby
<matti> gfkjunior: You may want to connect ;]
sailias has quit []
mark_locklear has quit [Remote host closed the connection]
geekbri has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 246 seconds]
Hanmac has quit [Read error: Operation timed out]
jasonkuhrt has joined #ruby
<gfkjunior> ohhh okkk! I'll look into it haha. I'm used to embedded C stuff lol.
fermion has quit [Quit: P]
sirish has quit [Read error: Operation timed out]
iamjarvo has quit [Ping timeout: 272 seconds]
yxhuvud has quit [Ping timeout: 240 seconds]
<matti> gfkjunior: :)
LorentzFactor has quit [Read error: Connection timed out]
<matti> gfkjunior: Look at Timeout::timeout too, and you could randomise ports and add floating delay, etc.
paulovittor23 has quit [Remote host closed the connection]
LorentzFactor has joined #ruby
chimkan has quit [Quit: chimkan]
bawwwller has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )]
bawwwller has joined #ruby
bawwwller has quit [Client Quit]
recycle has quit [Remote host closed the connection]
bawwwller has joined #ruby
linoj has quit [Ping timeout: 264 seconds]
sixtycakes has quit [Remote host closed the connection]
<gfkjunior> Thanks for the help, I was planning to add a delay but just couldn't get any response from the open or closed ports
<gfkjunior> I think I finally got it though! :)
ph^ has joined #ruby
<matti> :>
bawwwller has quit [Client Quit]
jjbohn is now known as jjbohn|afk
beneggett has joined #ruby
richwestcoast has joined #ruby
<matti> gfkjunior: For a real port scanner, you'd have to look at RAW sockets, and flags fiddling etc.
jasonkuhrt has quit [Quit: Leaving...]
uris has quit [Ping timeout: 248 seconds]
<elico> matti: i want to connect two client sockets to each other.. maybe you have an idea on how ot so?
<elico> to*
tiripamwe has joined #ruby
uris has joined #ruby
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
zodiak has quit [Quit: Leaving]
mikehaas763 has quit [Remote host closed the connection]
Takehiro has joined #ruby
statarb3 has quit [Quit: Leaving]
khakimov has joined #ruby
chimkan has joined #ruby
recycle has joined #ruby
recycle has quit [Remote host closed the connection]
jjbohn|afk is now known as jjbohn
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
Takehiro has quit [Ping timeout: 244 seconds]
nwest has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dhruvasagar has quit [Ping timeout: 268 seconds]
ph^ has quit [Read error: Connection reset by peer]
ph^_ has joined #ruby
AnswerGuy has quit [Quit: leaving]
banisterfiend has quit [Ping timeout: 244 seconds]
tommyvyo has joined #ruby
shinobi_one has quit [Quit: Leaving.]
Vert has quit [Read error: Connection reset by peer]
pricees has quit [Ping timeout: 252 seconds]
jjbohn is now known as jjbohn|afk
paolooo has quit [Quit: Page closed]
wpaulson has joined #ruby
jjbohn|afk has quit [Quit: Leaving...]
Danielpk_ has joined #ruby
dangerousdave has quit [Quit: Leaving...]
Danielpk has quit [Ping timeout: 244 seconds]
Danielpk_ is now known as Danielpk
Vert has joined #ruby
shadoi has quit [Quit: Leaving.]
jorge_ has quit [Remote host closed the connection]
havenn has joined #ruby
jorge_ has joined #ruby
brianpWins has quit [Quit: brianpWins]
recycle has joined #ruby
chimkan has quit [Quit: chimkan]
chimkan_ has joined #ruby
Hanmac has joined #ruby
recycle has quit [Remote host closed the connection]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
mneorr has quit [Remote host closed the connection]
AnswerGuy has joined #ruby
banghouse has quit [Remote host closed the connection]
mneorr has joined #ruby
havenn has quit [Ping timeout: 245 seconds]
recycle has joined #ruby
gaim3 has joined #ruby
schaerli has quit [Remote host closed the connection]
gaim3 has quit []
recycle has quit [Remote host closed the connection]
pricees has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
allyraza has quit [Ping timeout: 272 seconds]
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
MasterIdler has joined #ruby
mmitchell has quit [Ping timeout: 272 seconds]
Morkel has quit [Quit: Morkel]
johnlcox has quit [Ping timeout: 245 seconds]
c0rn_ has quit [Quit: Computer has gone to sleep.]
t17187 has quit [Remote host closed the connection]
t86761 has joined #ruby
carloslopes has quit [Quit: Leaving.]
dmiller has joined #ruby
GeekOnCoffee has quit [Ping timeout: 244 seconds]
johnlcox has joined #ruby
chimkan___ has joined #ruby
infinitiguy has quit [Ping timeout: 244 seconds]
chimkan_ has quit [Ping timeout: 265 seconds]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
stuartrexking has joined #ruby
jasonkuhrt has joined #ruby
mneorr has quit [Remote host closed the connection]
baphled has quit [Ping timeout: 260 seconds]
mneorr has joined #ruby
und3f has quit [Quit: Leaving.]
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
Goles has joined #ruby
eignerchris has joined #ruby
maletor has joined #ruby
mneorr has quit [Remote host closed the connection]
theRoUS has quit [Read error: Operation timed out]
GoGoGarrett has quit [Remote host closed the connection]
mneorr has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
thunderstrike has quit [Remote host closed the connection]
alanp has joined #ruby
alanp has quit [Read error: Connection reset by peer]
adamkittelson has quit [Remote host closed the connection]
alanp has joined #ruby
recycle has joined #ruby
headius has joined #ruby
recycle has quit [Remote host closed the connection]
jclem has quit [Quit: Leaving...]
nnv7 has joined #ruby
stopbit has quit [Quit: Leaving]
gfontenot has quit []
ttilley has quit [Read error: Connection reset by peer]
hadees has quit [Quit: hadees]
alanp_ has quit [Ping timeout: 264 seconds]
ttilley has joined #ruby
ttilley has quit [Changing host]
ttilley has joined #ruby
JarJar has quit [Quit: This computer has gone to sleep]
ghanima has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
RORgasm has quit [Remote host closed the connection]
<luist> can anyone help me with this? http://pastie.org/4606320 this is my gitorious production log :T
mneorr has quit [Remote host closed the connection]
<shevy> wheeeee
<shevy> you can do this:
<shevy> def end?
mneorr has joined #ruby
<shevy> Hanmac! I am learning from you!
<shevy> luist I think the rails guys are on #rubyonrails
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
recycle has joined #ruby
Spooner has joined #ruby
adamkittelson has joined #ruby
apok_ has joined #ruby
Virunga_ has joined #ruby
haxrbyte_ has quit [Ping timeout: 272 seconds]
mklappstuhl has joined #ruby
c0rn_ has joined #ruby
bd0 has quit [Quit: ...]
mneorr has quit [Remote host closed the connection]
jasonkuhrt has quit [Quit: Leaving...]
mneorr has joined #ruby
juarlex has joined #ruby
{Neur3 has joined #ruby
macmartine has joined #ruby
{Neur3 has quit [Client Quit]
Takehiro has joined #ruby
recycle has quit [Remote host closed the connection]
DrShoggoth has quit [Quit: Leaving]
ghanima has joined #ruby
stuartrexking has quit [Quit: Leaving...]
s1n4 has joined #ruby
apok has quit [Ping timeout: 252 seconds]
apok_ is now known as apok
awarner has quit [Remote host closed the connection]
w400z has quit []
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
kirun has quit [Quit: Client exiting]
Takehiro has quit [Ping timeout: 252 seconds]
_bob has joined #ruby
kenichi has quit [Remote host closed the connection]
ryker has quit [Quit: Leaving.]
w400z has joined #ruby
<davidcelis> fuck reddit
<shevy> :)
tsan has quit [Quit: tsan]
sailias has joined #ruby
joshman_ has quit [Ping timeout: 264 seconds]
machty has quit [Ping timeout: 272 seconds]
machty has joined #ruby
jorge_ has quit [Remote host closed the connection]
Virunga_ has quit [Remote host closed the connection]
stuartrexking has joined #ruby
iamjarvo has joined #ruby
yasushi has joined #ruby
miho has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
ryh has quit [Remote host closed the connection]
<Muz> davidcelis: I like to think of 4chan as 1000 monkeys, 1000 typewriters. As for reddit, 1000 monkeys, all throwing crap and jerking each other off in one big circlejerk.
ryh has joined #ruby
recycle has joined #ruby
recycle has quit [Remote host closed the connection]
s1n4 has quit [Quit: leaving]
yasushi has quit [Ping timeout: 252 seconds]
Virunga has quit [Quit: Sto andando via]
Drakx has joined #ruby
Drakx has quit [Changing host]
Drakx has joined #ruby
cascalheira has joined #ruby
cascalheira_ has joined #ruby
cascalheira has quit [Read error: Connection reset by peer]
cascalheira_ has quit [Client Quit]
obryan has quit [Ping timeout: 272 seconds]
datapolitical has quit [Read error: Connection reset by peer]
havenn has joined #ruby
albel727 has joined #ruby
dmiller has quit [Remote host closed the connection]
mklappstuhl has quit [Ping timeout: 272 seconds]
fastred has quit [Quit: fastred]
pricees has left #ruby [#ruby]
jrist is now known as jrist-afk
atmosx has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
<atmosx> aloha
<atmosx> ppl
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jgarvey has quit [Quit: Leaving]
vlad_starkov has quit [Remote host closed the connection]
<atmosx> is it faster having 2 functions: 1 to gather data (create an array/hash) and 2 put them into a database (put list to a db) OR gathering data and puting each fraction of it into the db right away?
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
belak has joined #ruby
<belak> Anyone know of a good gem to integrate with google calendar?
wpaulson has joined #ruby
<atmosx> nah but that shouldn't be too hard, google must have a fine grained api
<atmosx> 4 of them!
havenn has quit [Ping timeout: 248 seconds]
dpk has joined #ruby
wvms has joined #ruby
josh^ has joined #ruby
jorge_ has joined #ruby
victor_ has joined #ruby
<shevy> atmosx I would always use two separate methods, when what they do is logical
<shevy> I think a new method may be a little bit slower than dumping things into the same method
mmitchell has joined #ruby
SirRamonGabriel has joined #ruby
IrishGringo has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 245 seconds]
cakehero has quit [Quit: Computer has gone to sleep.]
<atmosx> shevy: so it's better to have two separate methods to do it right? 1 will create an enormous array and the other will dump it to the sqlite3
<atmosx> hmm thanks, looks much more clear approach to me, I was thinking that it might be slower
<atmosx> considerably slower
<shevy> I think it is always better to have methods when possible and logical
punkrawkR has joined #ruby
<shevy> I dont think it will be much slower for name of methods alone... perhaps when you have an object with one million methods? and twenty million method calls
<shevy> I think Benchmark module tells you how many seconds it takes for each method
g_rotbart has joined #ruby
mmitchell has quit [Ping timeout: 272 seconds]
<atmosx> yeah
chimkan___ has quit [Quit: chimkan___]
<atmosx> but I wont even benchmark it, I'll just go with it
recycle has joined #ruby
recycle has quit [Remote host closed the connection]
cczona has joined #ruby
kvirani has quit [Remote host closed the connection]
cczona has quit [Client Quit]
justinmcp has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
luist has quit [Quit: luist]
justinmcp has quit [Remote host closed the connection]
mmitchell has joined #ruby
SCommette has quit [Quit: SCommette]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
belak has quit [Quit: leaving]
lkba has quit [Ping timeout: 244 seconds]
sailias has quit [Ping timeout: 260 seconds]
mneorr has quit [Remote host closed the connection]
Bosox20051 has joined #ruby
mneorr has joined #ruby
victor_ has quit [Ping timeout: 268 seconds]
havenn has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mengu has joined #ruby
mmitchell has quit [Remote host closed the connection]
nari has joined #ruby
emmanuelux has joined #ruby
_bob has quit [Quit: Bye]
Takehiro has joined #ruby
Bosox20051 has quit [Ping timeout: 264 seconds]
berserkr has quit [Quit: Leaving.]
verto is now known as verto|off
Synthead has quit [Quit: p33 ba115]
t86761 has quit [Remote host closed the connection]
SirRamonGabriel has quit [Remote host closed the connection]
t20204 has joined #ruby
recycle has joined #ruby
recycle has quit [Remote host closed the connection]
erichmenge has quit [Quit: Linkinus - http://linkinus.com]
ryh has quit [Remote host closed the connection]
ben_alman has quit [Excess Flood]
<elico> I need some help with tcp sockets and maybe threads.. any one?
lkba has joined #ruby
Takehiro has quit [Ping timeout: 240 seconds]
<elico> i want to run two tcpservers and hook two client to each other. any ideas?
saschagehlich has joined #ruby
sailias has joined #ruby
JonnieCache has quit [Ping timeout: 246 seconds]
havenn has quit [Remote host closed the connection]
ben_alman has joined #ruby
LouisGB has quit [Ping timeout: 256 seconds]
saschagehlich has quit [Quit: saschagehlich]
codeFiend has left #ruby [#ruby]
nnv7 has quit [Quit: nnv7]
Speed has quit [Remote host closed the connection]
apok has quit [Quit: apok]
jclem has joined #ruby
<Spooner> elico: Have you considered a simpler system, such as drb? Otherwise, not sure why you need two servers to just pass messages between two clients.
apok has joined #ruby
havenn has joined #ruby
sr___ has joined #ruby
Foxandxss has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pdtpatrick has quit [Quit: pdtpatrick]
rubious has joined #ruby
<elico> Spooner: the problem is that each side is using different approach to the server.. so i need first that two of them will be connected.
<elico> if drb is good i dont car
<elico> car*
<elico> care*
jjang has joined #ruby
flyinprogramer has joined #ruby
binaryplease has quit [Ping timeout: 272 seconds]
<flyinprogramer> has anyone worked on bundler before?
<flyinprogramer> not with, but actually on source code
recycle has joined #ruby
recycle has quit [Remote host closed the connection]
<davidcelis> a little biy
binaryplease has joined #ruby
<davidcelis> bit*
<davidcelis> like, a tiny, tiny bit
<Muz> A little bit too.
<Muz> More importantly, why do you ask?
<flyinprogramer> so i downloaded it from source on github, cd'd into the directory, ran rake install, and now bundle --help shows blank man pages
chichou has joined #ruby
<flyinprogramer> and i know it's stupid, but i was trying to get them working
bontaq has quit [Remote host closed the connection]
punkrawkR has quit [Read error: Connection reset by peer]
<flyinprogramer> or at least understand why they were broken
johnlcox has quit [Quit: Computer has gone to sleep.]
<flyinprogramer> I'm on a mac, running rvm, and 1.9.3
uris has quit [Quit: leaving]
havenn_ has joined #ruby
<flyinprogramer> and installing from rubygems, the man pages show, but i'm trying to add custom rake tasks to the gem without increasing the size of my rakefile
<davidcelis> well rubygems tracks the latest stable version
<davidcelis> you probably pulled from master
<davidcelis> you're on a preview
<davidcelis> maybe they broke the man pages
<flyinprogramer> yah, but then i checked out v1.1.5, same problem
<davidcelis> hm
stkowski has quit [Quit: stkowski]
seanstickle has joined #ruby
<flyinprogramer> yah, my thoughts exactly, it seems like it's opening something, because the class "less" view is visible and i have to press the down arrow to get the [END]
<flyinprogramer> but none of the text is visible
rakm has quit [Ping timeout: 272 seconds]
<flyinprogramer> and it doesn't seem to be a system thing, man cp, show's the man page...
<flyinprogramer> $ man bundle
<flyinprogramer> No manual entry for bundle
fowl has joined #ruby
<Muz> flyinprogramer: have you generated the man pages yet?
<Muz> rake -T lists rake tasks, there's one to generate the docs iirc.
brianpWins has joined #ruby
tekacs has quit [Quit: Disappearing... *poof*]
diegoviola has joined #ruby
<flyinprogramer> all i see are, build, install, release, spec:deps, vendor:build, vendor:clean
tekacs has joined #ruby
joephelius has quit [Ping timeout: 272 seconds]
adeponte has quit [Remote host closed the connection]
t20204 has quit [Remote host closed the connection]
t97782 has joined #ruby
straind has quit [Read error: Connection reset by peer]
joephelius has joined #ruby
<flyinprogramer> Muz: i believe you, but then why isn't it listed with rake -T
Abbas5 has joined #ruby
jjbohn has joined #ruby
niklasb has quit [Ping timeout: 240 seconds]
Abbas5 is now known as Abbas-
Abbas- has quit [Changing host]
Abbas- has joined #ruby
Abbas- is now known as Abbas5
riley526 has joined #ruby
havenn_ has quit [Ping timeout: 265 seconds]
<Muz> flyinprogramer: try `rake -T man`?
<flyinprogramer> blank
<Muz> How queer.
* Muz was really trying not to have to get up to grab his laptop from across the room to test this for himself.
<flyinprogramer> lol
<flyinprogramer> i mean it's not a big deal… i was just curious
<Muz> I'm curious now too. :p
<flyinprogramer> $ gem list
<flyinprogramer> *** LOCAL GEMS ***
<flyinprogramer> rubygems-bundler (1.0.6)
<flyinprogramer> rvm (1.11.3.5)
vlad_starkov has joined #ruby
sneakyness_wk has quit [Quit: bro]
<Muz> Oh, line 28 and 30.
<Muz> It's in a begin block and relies on 'ronn' being installed.
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
* flyinprogramer runs gem install ronn
<Muz> Ad rspec whilst you're at it.
<Muz> *And
<flyinprogramer> oh wow