apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
apeiros has joined #ruby
<rien> is there something akin to a Array.split that takes a predicate?
Seich has quit [Client Quit]
rickruby has joined #ruby
frxx has joined #ruby
rickruby has quit [Remote host closed the connection]
retrofade has joined #ruby
totalmajor has joined #ruby
rickruby has joined #ruby
<apeiros> rien: how do you mean?
axl_ has quit [Quit: axl_]
<apeiros> btw., we use `Array#split` to denominate instance methods
<rien> I want to divide a list of numbers on every odd number and end up with clumps, say
<rien> I thought I had typed Array#split. I'm aware of the convention
<apeiros> Array#chunk might be close to what you want
<apeiros> (or actually Enumerable#chunk, not sure)
<apeiros> Array#split you'd have to implement yourself (should be quite easy)
<apeiros> at least as long as you don't try to recreate all of String#split's special cases
<rien> apeiros: that was it! thanks
<Hanmac> chunk is one of the funiest Enumerable methods ;P
<rien> why is it funny?
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
zxd has joined #ruby
<rien> Array#chunk doesn't work with .with_index :/
Bumptious has quit [Read error: Connection timed out]
<rien> there's a way around it apparently: xs.enum_for(:chunk).with_index
<rien> so messy :/
shedd has quit [Remote host closed the connection]
niklasb has joined #ruby
liamkeily has joined #ruby
cbetta is now known as cbetta_afk
Bumptious has joined #ruby
zxd has quit [Ping timeout: 252 seconds]
cj3kim has quit [Remote host closed the connection]
arSar has joined #ruby
<arSar> hi
mlpinit has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Remote host closed the connection]
mlpinit has joined #ruby
danshultz has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
cj3kim has joined #ruby
russt has quit [Ping timeout: 265 seconds]
rankine has quit [Ping timeout: 272 seconds]
RoryHughes has joined #ruby
prc has quit [Quit: Leaving.]
phipes has quit [Remote host closed the connection]
mehlah has quit [Ping timeout: 264 seconds]
RoryHughes has quit [Max SendQ exceeded]
wildroman2 has joined #ruby
russt has joined #ruby
<TTilus> hi
<TTilus> sup?
danshultz has quit [Ping timeout: 272 seconds]
rm_ has joined #ruby
<apeiros> hm, Array#split is actually longer than I expected it to become…
flame_ has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<liamkeily> is it normal for gems to take a long time to download on a local computer compared to a server. For example I'm trying to install chef and on server it took 1 min, locally its taking forever. My internet connection is not too bad.
timonv has joined #ruby
Iszak has joined #ruby
<apeiros> liamkeily: no. but it can happen at times.
<liamkeily> its downloading hundreds of gemspec.rz files and they are taking at least 5 seconds each
blandflakes has quit [Ping timeout: 272 seconds]
relix has joined #ruby
black-coffee has joined #ruby
kevind has quit [Quit: kevind]
relix has quit [Max SendQ exceeded]
<apeiros> it usually pays to use the newest rubygems as there have been releases which improved gem download.
<rien> actually Array#chunk wasn't it
phipes has joined #ruby
<apeiros> rien: yeah, Array#chunk isn't split, it's only close. I thought you might still be able to use it for what you want.
<rien> what I need (and will have to write) is a mix of inject and take_while
flame_ has joined #ruby
<Hanmac> rien give us a sample of your input and wanted output
<liamkeily> ok thanks ill try updating then, is there an easy command for that?
wildroman2 has quit [Ping timeout: 272 seconds]
<rien> input: an .rb file, output: an array of text chunks from the file, each chunk with one def
<Hanmac> no i mean real data
sharms has joined #ruby
<rien> that's the real data. any .rbfile
spider-mario has quit [Remote host closed the connection]
lmickh has quit [Remote host closed the connection]
<arSar> to see If certain string contains another string could I use a =~ b
<arSar> ?
<rien> you could
rm_ has quit [Ping timeout: 272 seconds]
<Hanmac> arSar: a[b]
<Hanmac> >> "abc"["b"] #=> "b"
<arSar> with a regex ?
<Hanmac> >> "abc"["d"] #=> nil
<Hanmac> arSar: works without regex
timonv has quit [Ping timeout: 245 seconds]
black-coffee has quit [Quit: Lost terminal]
<rien> >> "abcde"[/./]
<apeiros> rien: https://gist.github.com/apeiros/8190494 preliminary implementation of Array#split
klaut_ has quit [Remote host closed the connection]
joriso_ has quit [Remote host closed the connection]
Godd2 has quit [Quit: Page closed]
snath has quit [Ping timeout: 272 seconds]
<rien> apeiros: hmmm the thing is I'm trying to write in without state
<apeiros> rien: and hanmac means *concrete* real data.
<Hanmac> arSar: you can also use "abc".include?("bc") #=> true but imo String#[] is much more fun ;P
shime has quit [Ping timeout: 272 seconds]
<rien> Hanmac: running the program on this should return four strings in an array, each will have each def's function line and body: https://gist.github.com/peternmr/f0e8fbf498e4e8b4a6e9
<Iszak> why not regular expressions?
<apeiros> arSar: re String#[], don't listen to Hanmac in that regard. I think he's editor in chief for "ruby obscured - monthly" magazine
<arSar> Hanmac: I have a path like this d:/ab/cd/id/... and I to check if that that path starts by d:/ab/
<apeiros> rien: I think you want a parser
<Hanmac> rien line and body? uoho ... i dont think that is possible so eaily
shime has joined #ruby
<rien> apeiros: what I'm doing is too simple to require a parser
<rien> Hanmac: just body then, it's the same thing
<rien> I just want to split the file where a "def" happens
<apeiros> rien: if it's so simple - use String#scan
<rien> I don't have a regex to give it
abramovic has quit [Quit: Leaving.]
<apeiros> how do you determine the end?
<Hanmac> rien: you dont understand ... it cant get the body correctly without parsing the entire file through a Lexer
<arSar> so what I want is to know if certain path string starts by d:/ab/ (in upper or low case)
<apeiros> without a regex?
<Hanmac> arSar: why not "abc".start_with?("ab") ?
<rien> apeiros: the end is EOF or the next def
<apeiros> rien: then you have a regex
retrofade has quit [Ping timeout: 252 seconds]
<rien> Hanmac: that's fine this is heuristics, I don't want to parse, I want to split the lines where they match /^\s*def/
<Hanmac> rien: when you use EOF or next def then you have the problem that the body is not correct
<apeiros> /\bdef\b(?!\bdef\b|\z).*/ # something like that should work
abramovic has joined #ruby
<apeiros> your "parser" will fail on quite a bit of input, though.
<arSar> Hanmac: that could be
<rien> you don't understand the pain point. I want to split the lines as a string gets split in its chars.
<rien> I don't want just the lines that match
<rien> apeiros: not on any input that I care about :)
<arSar> I need a way that do no distinguis between low and upper case
<rien> convert both strings to lowercase
<arSar> that's what a I have. I wanted to know if there was another better way
<apeiros> rien: blargh, made some mistakes, here corrected and tested with your example:
<apeiros> code.scan(/\bdef\b(?:(?!\bdef\b|\z).)*/m)
<Hanmac> apeiros: did you know that Symbol has a #[] method too? ;P
<apeiros> rien: note that it fits your definition. it's incorrect though. check the last method…
<apeiros> (has an `end` too much)
<apeiros> Hanmac: yes
<apeiros> only as of 1.9 iirc
shime has quit [Ping timeout: 248 seconds]
tropicalmug has quit [Quit: Textual IRC Client: www.textualapp.com]
sharms has quit [Ping timeout: 240 seconds]
<rien> apeiros: hmm let me run it
deol is now known as michaeldeol
lewix has quit [Remote host closed the connection]
Faris has quit [Ping timeout: 245 seconds]
<rien> apeiros++ , I did not know about \z
Faris has joined #ruby
alexherb1 has quit [Quit: WeeChat 0.4.3-dev]
aspires has quit []
simplyaubs has joined #ruby
<apeiros> rien: I could have left it away I think
<apeiros> a regex ends at EOF anyway
<apeiros> yupp, works just fine without it
<rien> I guess not knowing about it at all made me not consider regexps for this
<apeiros> .scan(/\bdef\b(?:(?!\bdef\b).)*/m)
momomomomo has quit [Quit: momomomomo]
hunterr986 has quit [Quit: Leaving.]
hunterr986 has joined #ruby
<apeiros> the other regex was just literally your description
<rien> yep pretty much =)
jkary has joined #ruby
sharms has joined #ruby
aryaching_ has quit [Ping timeout: 260 seconds]
<apeiros> https://gist.github.com/apeiros/8190494 - ruby 2.0+ only now (due to kwarg)
ehaliewicz has joined #ruby
<apeiros> could make it 1.9 compatible, but why bother :)
S0da has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
jmo has joined #ruby
<mneorr> any ideas how to emulate the time of STDOUT.puts(line), but not actually print it to terminal?
ephemerian has quit [Quit: Leaving.]
BuffyNZ has left #ruby [#ruby]
<mneorr> i'm writing a performance test, and comparing that the script is 3x faster than running `cat` on the same input
mikepack has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
Jetchisel has joined #ruby
ehc has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
<mneorr> so if you just `cat log` , it's too fast. if you `cat log`.each_line { |l| STDOUT.puts l } , the timing is good, but test output becomes bloated
cbetta_afk is now known as cbetta
Baluse has quit []
elux has joined #ruby
predator217 has joined #ruby
klaut has joined #ruby
KaCzY has quit [Read error: Connection reset by peer]
nowthatsamatt has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
tylersmith has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
klaut_ has joined #ruby
klaut has quit [Read error: Connection reset by peer]
<arSar> just for curisosity. Why this does not work? var2 is in var1 var1 =~ /var2/i
predator117 has quit [Ping timeout: 248 seconds]
robustus has quit [Ping timeout: 245 seconds]
<mneorr> arSar: what are the values of var2 and var1?
<arSar> var1="abcdefg" and var2="abc"
emocakes has quit [Quit: Leaving...]
<cong> that needs to be "var2" =~ /var2acbeblahblah/
<cong> woop
<cong> that needs to be /var2acbeblahblah/ =~ /var2/
robustus has joined #ruby
klaut_ has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
<cong> if you want to check the variables: var1 =~ var2
Guest84005 has quit [Remote host closed the connection]
<arSar> cong: and the /i ?
senayar has quit [Client Quit]
<arSar> I want them to case no sensitive
<cong> oh, i thought that was unimportant
advorak has quit [Ping timeout: 252 seconds]
<cong> //#{var1}/i that should do it
<cong> /#{var1}/i that should do it
<cong> that feels really weird
<arSar> let me try
mary5030 has quit [Remote host closed the connection]
<arSar> xD
sailias has joined #ruby
fixl has joined #ruby
kofno has joined #ruby
<cong> i prefer var1/i but that's the division operator
figgleberry has joined #ruby
Jason has left #ruby [#ruby]
tgandrews has quit [Remote host closed the connection]
aryaching has joined #ruby
zetaspartan2552 has joined #ruby
zetaspartan2552 has quit [Client Quit]
moneydouble has quit [Quit: Leaving.]
AlSquire has quit [Quit: This computer has gone to sleep]
bricker`work is now known as bricker`away
Wolland has joined #ruby
matchaw has joined #ruby
totalmajor has quit [Remote host closed the connection]
michaeldeol has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
totalmajor has joined #ruby
shedd has joined #ruby
ludar has joined #ruby
rm_ has joined #ruby
dogweather has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
tahzeem has quit [Read error: Operation timed out]
lyanchih has joined #ruby
ambushsabre has quit [Quit: rip]
abramovic has quit [Quit: Leaving.]
lukec has joined #ruby
colonolGron has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
bentonrr has quit [Remote host closed the connection]
totalmajor has quit [Ping timeout: 272 seconds]
shedd has quit [Ping timeout: 246 seconds]
Necrolyte has joined #ruby
Necrolyte has quit [Client Quit]
danshultz has joined #ruby
rm_ has quit [Ping timeout: 248 seconds]
marr has quit [Ping timeout: 272 seconds]
ludar has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 248 seconds]
phipes has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
phipes has joined #ruby
othernameperson has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
jacobat has quit [Ping timeout: 260 seconds]
ambushsabre has joined #ruby
estebistec has joined #ruby
carif has joined #ruby
othernameperson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<arSar> the problem is with the scape caracteres
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sjdflksdf has joined #ruby
<sjdflksdf> Hey, does anyone in here have a job with programming?
Mars has joined #ruby
tyl has joined #ruby
falood has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
Mars is now known as Guest5758
<sjdflksdf> I really want to learn programming, but just worry about not having a degree in it.
dima has joined #ruby
<sjdflksdf> I want to ultametly get a job dealing with computers/programming/etc. but IDK. Its not just about "money", its that I really would enjoy getting good at this.
<sjdflksdf> I just wonder though if I'm wasting my time or not.
totalmajor has joined #ruby
mreiss has quit [Quit: mreiss]
<sjdflksdf> Since I don't have a CS deree.
<sjdflksdf> Anyone have any thoughts?
superscott[8] has quit [Quit: superscott[8]]
moneydouble has joined #ruby
w|t has joined #ruby
<sjdflksdf> ANyone?
<sjdflksdf> Hello?
apeiros_ has joined #ruby
benzrf has joined #ruby
maletor has joined #ruby
lewix has joined #ruby
jkary has quit [Quit: Leaving.]
apeiros__ has joined #ruby
snath has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
apeiros has quit [Ping timeout: 245 seconds]
flubba has quit [Remote host closed the connection]
estebistec has quit [Remote host closed the connection]
Guest5758 has quit [Ping timeout: 252 seconds]
cow_ has joined #ruby
wallerdev has joined #ruby
guardianx has joined #ruby
<apeiros__> sjdflksdf: a CS degree is not needed for many programming/coding gigs
liamkeily has quit [Quit: This computer has gone to sleep]
apeiros__ is now known as apeiros
liamkeily has joined #ruby
<apeiros> sjdflksdf: sorry, private messages are not welcome.
<sjdflksdf> Ok, didn't know that bothered you. Do you have a job in programming?
<benzrf> are minors allowed at rubyconf, because if so i might try to convince my parents to take me next year
<benzrf> assuming i havent decided that CL is my new favorite language by then
<apeiros> sjdflksdf: that's not really related to your question, but yes.
<apeiros> benzrf: I doubt they have a minimum age requirement
Faris has quit [Ping timeout: 240 seconds]
<apeiros> benzrf: but drop them an email?
<benzrf> ok
dima has quit [Remote host closed the connection]
<benzrf> is it usually in november or does it hop around the year ?
<apeiros> benzrf: I mean non of the content is *dangerous* to little kids :o)
Astralum has quit [Quit: Leaving]
styped has joined #ruby
styped has quit [Max SendQ exceeded]
liamkeily has quit [Client Quit]
<apeiros> no idea
Faris has joined #ruby
<benzrf> alright
styped has joined #ruby
<apeiros> (except maybe if you're in a sect which considers self-thinking dangerous)
<sjdflksdf> apeiros: Not sure how its not related, but ok. I guess I was just curious what your expereince was with getting a job. Did you have a CS degree?
<apeiros> sjdflksdf: whether I have a job in IT or not is hardly related to "is CS degree needed for IT"
nanoyak has quit [Quit: Computer has gone to sleep.]
St_Marx has joined #ruby
bentonrr has joined #ruby
robbyoconnor has joined #ruby
<arSar> how can I replace from this d:\\test\\dir the 2 slashes by just one. I'm trying with gsub() but I get no good resoult
<benzrf> arSar: why do you have 2 slashes
<apeiros> arSar: I doubt that you really have two slashes
<apeiros> I bet you're looking at an inspect and confuse the escape sequence.
<benzrf> ^
<arSar> it comes from a funcion
<apeiros> "\\" # <- this is *one* backslash
<arSar> apeiros: let me show you my problem
<apeiros> >> puts "\\"
Vivekananda has joined #ruby
liamkeily has joined #ruby
kofno has quit [Ping timeout: 248 seconds]
<apeiros> hrm, eval-in non-functional again :(
<benzrf> that feel when eval-in is down
phipes has quit [Remote host closed the connection]
klaut has joined #ruby
<apeiros> that feel when you plug in ethernet cable because you copy 250GB and now must. not. touch. laptop because the plug is moving…
<arSar> I have this: var1="a:\\dir1\\dir2" and var2="a:\\dir1" if I do this ---> var1 =~ /#{var2}/i I don't get a match
<arSar> because of the doble slash in var1
<benzrf> var1 only has 1 slash
St_Marx has quit [Ping timeout: 240 seconds]
<benzrf> "\\" is the literal for one slash
<apeiros> arSar: there are no double slashes there
butblack has joined #ruby
<arSar> I get nil
<arSar> why then ?
<apeiros> because of how you interpolate
<benzrf> \t is tab, \n is newline
phipes has joined #ruby
<apeiros> or how regex interpolates
<benzrf> arSar: what if i wanted the string \that
<benzrf> if I wrote "\that", it'd be a tab, then hat
<benzrf> so you need a double backslash for one
<apeiros> /#{var2}/ expands to /a:\dir1/
<apeiros> and that \d there is "digit"
maletor has quit [Quit: Computer has gone to sleep.]
<arSar> apeiros: I understand
<apeiros> use Regexp.escape
<apeiros> var1 =~ /#{Regexp.escape(var2)}/i
<arSar> apeiros: let me try
mlpinit has quit [Remote host closed the connection]
cbetta is now known as cbetta_afk
klaut has quit [Ping timeout: 265 seconds]
<arSar> apeiros: you are reight
<arSar> thank you so much
<arSar> :
<arSar> :)
chomskiii has joined #ruby
<apeiros> irc.putc
<apeiros> you're welcome
iliketurtles has quit [Quit: zzzzz…..]
kofno has joined #ruby
dogweather has joined #ruby
iamjarvo_ has joined #ruby
styped has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
m00nlight has joined #ruby
dodosan has joined #ruby
tylersmith has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
timonv has joined #ruby
croaky has quit [Ping timeout: 272 seconds]
MattStratton has joined #ruby
abramovic has joined #ruby
figgleberry has quit [Ping timeout: 240 seconds]
sjdflksdf has quit [Quit: Page closed]
zz_N00D is now known as CripperZ
jmo has quit [Ping timeout: 260 seconds]
sailias has quit [Quit: Leaving.]
tylersmith has quit [Ping timeout: 248 seconds]
timonv has quit [Ping timeout: 272 seconds]
danshultz has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
liamkeily1 has joined #ruby
mneorr has joined #ruby
liamkeily has quit [Ping timeout: 272 seconds]
jmo has joined #ruby
phipes has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
CripperZ is now known as N00D
maxyanelis has joined #ruby
cong has quit []
rm__ has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Ping timeout: 245 seconds]
estebistec has joined #ruby
vlad_starkov has joined #ruby
phipes has joined #ruby
rm__ has quit [Ping timeout: 260 seconds]
lnemo has joined #ruby
figgleberry has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
pskosinski has quit [Remote host closed the connection]
arSar has quit [Quit: Lost terminal]
gja has joined #ruby
rmillerx has joined #ruby
colonolGron has joined #ruby
levity_island has quit [Quit: levity_island]
maxyanelis has quit [Remote host closed the connection]
Mars has joined #ruby
roadt has joined #ruby
Mars is now known as Guest35893
heidi has quit [Quit: Leaving.]
figgleberry has quit [Ping timeout: 272 seconds]
liamkeily1 has quit [Quit: This computer has gone to sleep]
lewix has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
colonolGron has quit [Ping timeout: 246 seconds]
yacks has joined #ruby
meatherly has joined #ruby
Guest35893 has quit [Ping timeout: 252 seconds]
subbyyy has quit [Ping timeout: 252 seconds]
edwardly_ has quit [Quit: ZNC - http://znc.in]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
<shevy> benzrf, haskell eludes me
gja has quit [Quit: This computer has gone to sleep]
blackmes1 has quit [Ping timeout: 240 seconds]
DouweM has joined #ruby
dapz has joined #ruby
<benzrf> did you watch that video
flubba has joined #ruby
pskosinski has joined #ruby
rickruby has joined #ruby
<ddd> haskell video? so share
lewix has joined #ruby
<benzrf> shevy: its simple
<benzrf> you just write a bunch of functions
<benzrf> then you use the functions on data
<benzrf> sometimes the data will be other functions
dodosan has joined #ruby
<shevy> I watched the video but I was more concentrating on the pronounciation of the swedish language and the jokes he did
Brolen has joined #ruby
<shevy> I actually can not really tell you what else he spoke about :(
<benzrf> thats fine
<benzrf> one major idea in haskell is currying
<benzrf> which is the idea that if i have a function that takes 2 arguments, it's really a function that takes 1 argument and gives back another function
<ddd> bookmarked for perusal later. thanks for the share
<benzrf> so for example
kofno has quit [Ping timeout: 272 seconds]
<benzrf> shevy: look @ this haskell
<benzrf> add a b = a + b
<benzrf> that's the same as this ruby:
dodosan has quit [Client Quit]
<benzrf> add = proc {|a| proc {|b| a + b}}
<shevy> I hate procs too
<benzrf> so haskell's 'add 1 2' is like ruby's 'add.call(1).call(2)'
okinomo has joined #ruby
<shevy> add.call().call() that is so awful, I would never do that
<benzrf> well that is how multi-arg functions work in haskell
mneorr has joined #ruby
skulker_ has joined #ruby
<benzrf> the type of 'add' in that example is
<benzrf> Int -> Int -> Int
<benzrf> cuz it takes an Int and gives an Int -> Int
<shevy> add 1, 2
<shevy> now that's more like it
<benzrf> more like add 1 2
<benzrf> zip [1, 2, 3] [4, 5, 6]
skulker has quit [Ping timeout: 272 seconds]
<benzrf> => [(1, 4), (2, 5), (3, 6)]
<benzrf> zip :: [a] -> [b] -> [(a, b)]
<benzrf> expressive typing
LexicalScope has quit [Ping timeout: 252 seconds]
mneorr has quit [Ping timeout: 248 seconds]
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
DouweM has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
yacks has quit [Ping timeout: 240 seconds]
rickruby has quit [Ping timeout: 246 seconds]
rmillerx has quit [Quit: rmillerx]
Brolen has quit [Quit: Brolen]
Hanmac has joined #ruby
<mdpatrick> Anyone know if there's a good way to debug whats going on with Net:HTTP? I'm using a few libraries that rely on it: knife, knife-solo, berkshelf... all of these libraries seem to be having some kind of connection issue
klaut has joined #ruby
Yarou has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
emocakes has joined #ruby
klaut has quit [Read error: Connection reset by peer]
klaut has joined #ruby
<Iszak> mdpatrick use a proxy like charles
iliketurtles has joined #ruby
kitak has joined #ruby
iliketurtles has quit [Excess Flood]
LexicalScope has joined #ruby
iliketurtles has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
iliketurtles has quit [Excess Flood]
yshh has joined #ruby
nateberkopec has joined #ruby
dapz has quit [Ping timeout: 260 seconds]
klaut has quit [Ping timeout: 272 seconds]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
robbyoconnor has joined #ruby
lyanchih has quit [Quit: lyanchih]
yshh has quit [Ping timeout: 252 seconds]
danshultz has joined #ruby
Hanmac has joined #ruby
<jrobeson> another option is pointing at an introspected tunnel like ngrok
<jrobeson> mdpatrick, ^^
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gja has quit [Quit: This computer has gone to sleep]
skulker_ has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
butblack has left #ruby [#ruby]
dogweather has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
CaptainJet has quit []
Jake232 has joined #ruby
rm__ has joined #ruby
rickruby has joined #ruby
agjacome has quit [Quit: leaving]
bentonrr has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
jmo has quit [Ping timeout: 272 seconds]
rm__ has quit [Ping timeout: 272 seconds]
jacobat has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<mdpatrick> jrobeson, Iszak: I'll look into these options. Thanks.
yacks has joined #ruby
lukec has quit [Ping timeout: 248 seconds]
lukec_ has joined #ruby
bentonrr has joined #ruby
lethjakman has quit [Ping timeout: 248 seconds]
tyl has joined #ruby
baroquebobcat has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
lfox has quit [Quit: ZZZzzz…]
blarghmatey has quit [Ping timeout: 252 seconds]
lfox has joined #ruby
banghouse has joined #ruby
banghouse is now known as Guest69320
yshh has joined #ruby
yacks has quit [Read error: Operation timed out]
Guest69320 has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
yshh has quit [Ping timeout: 272 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Deele has quit [Ping timeout: 260 seconds]
mmitchell has joined #ruby
<ericwood> woohoo, took over the pygmentize gem!
sambao21 has joined #ruby
<ericwood> resurrected it from the dead :D
robbyoconnor has joined #ruby
<benzrf> pygmentize gem?
flame_ has quit [Remote host closed the connection]
<ericwood> yes
<benzrf> isnt pygmentize a python package?!
<ericwood> it's a vendored version with a ruby wrapper
flame_ has joined #ruby
<benzrf> what is `vendored'
<ericwood> it means take the library and stick it in your own in a nutshell
flame_ has quit [Remote host closed the connection]
<benzrf> ah
<ericwood> yup!
bentonrr has quit [Remote host closed the connection]
bentonrr has joined #ruby
dominikh has quit [Ping timeout: 245 seconds]
chihhsin has quit [Read error: Connection reset by peer]
chihhsin has joined #ruby
meatherly has quit [Remote host closed the connection]
dominikh has joined #ruby
flame_ has joined #ruby
aavt has joined #ruby
carif has quit [Ping timeout: 265 seconds]
<RubyPanther> Just finished reading the AR vs Sequel link from Ruby Weekly, I gotta say, for a pro-Sequel post I couldn't be any less interested in Sequel after reading it. Composite primary keys?! My goodness, these people know nothing of the level of legacy WTF that is out there. No, don't ask for composite primary keys. Make a db view and hide that nonsense in the db where nobody has to see it again.
rickruby has quit [Remote host closed the connection]
<benzrf> wat
<benzrf> 'make a db view'?
<benzrf> what does that mean?
rickruby has joined #ruby
<RubyPanther> There are these things. In databases. They are called a "view." It is unambiguous.
<benzrf> what do they do?
<RubyPanther> They make a query look like a table.
dseitz has joined #ruby
<benzrf> oh, those!
<benzrf> ok
<benzrf> what do you have against composite primary keys though?!
browndawg has joined #ruby
browndawg has quit [Client Quit]
<RubyPanther> It isn't that I personally have something "against" them, it is that they are generally considered harmful. Like, since the late 90s. database keys are metadata, not data; composite keys are *always* the result of using data as the key. It is bad for real, known reasons.
<benzrf> ... realy?!
<benzrf> *really
<RubyPanther> The only time you deal with it is legacy nightmares (my specialty) but the approach, for years, has been to hide that garbage behind views and provide a sane interface
<benzrf> i read like 3 articles about how you should pick meaningful primary keys and how using autoincrementing ints is bad
<RubyPanther> Is Sequel really better for writing a giant WTF, though? His article seems to make the claim, but I'm dubious.
<benzrf> wtf?
<benzrf> oh derp
<benzrf> i thought you were using it to mean something else from the context
<benzrf> <)<
rickruby has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
w|t has quit [Ping timeout: 252 seconds]
yshh has joined #ruby
<RubyPanther> benzrf: If you're serious, I suspect you should check the dates on those posts, if they were old or from April 1. There are certainly cases of "autoincrementing ints" that are bad, for example ones that don't use the database features and try to increment the number in the app layer
cow_ has quit [Remote host closed the connection]
<benzrf> im asking about it in #postgresql atm
<jrobeson> i've dealt with composite primary keys for id => language id mappings .. i don't like it
<jrobeson> it was in an existing system
radic has quit [Ping timeout: 265 seconds]
<RubyPanther> I was a dba in the bad-old-days, and yeah, we chose meaningful primary keys... because we were expecting to be massaging our live production data by hand and it is just easier from the console that way. That is literally the reason, because we were using crude tools and wanting the columns to have enough meaning to type them out like that
w|t has joined #ruby
dapz has joined #ruby
radic has joined #ruby
klaut has joined #ruby
<RubyPanther> Once you're using an ORM, you've added that capability in the app layer, and the database no longer "benefits" from conscripting data into meta-data duty. And you simply _can_not_ guarantee that data won't ever change. If it is data, it might change, just as business rules change. The meta-data doesn't need to change.
gquental has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 248 seconds]
yshh has quit [Ping timeout: 246 seconds]
<benzrf> the people in #postgresql say that youre wrong about everything
yshh has joined #ruby
<RubyPanther> What if you have a meaningful primary key, but then somebody else is doing data warehousing? Then what happens when your primary key data has to change? Sure, a database can cascade the changes, but now you can't reference historical warehoused data without a bunch of extra logic. Landmines like that are under every step when you don't follow database best practices
robbyoconnor has quit [Ping timeout: 246 seconds]
flame_ has quit [Remote host closed the connection]
<RubyPanther> I'm not in there, but I have been in the past... surely they would disagree with anything anybody said about anything
<benzrf> ha
danshultz has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
flame_ has joined #ruby
simplyaubs has quit [Quit: simplyaubs]
klaut has quit [Ping timeout: 272 seconds]
cosmicpanda has joined #ruby
<benzrf> RubyPanther: what if you want to use the data in more than one context or from more than one program?
<benzrf> isnt structured data read by a program that understands the structure > unstructured data with structure imposed on it by the reading program?
w|t has quit [Ping timeout: 272 seconds]
flame_ has quit [Remote host closed the connection]
<benzrf> like strong vs weak typing
descala has quit [Ping timeout: 252 seconds]
braincrash has joined #ruby
<RubyPanther> benzrf: I do, certainly , use data that way. That actually is an argument for keeping the data and metadata separate, so that you have proper structure
descala has joined #ruby
flame_ has joined #ruby
<benzrf> ??!?
<RubyPanther> The majority of my data is also accessed from legacy windows apps
tyl has joined #ruby
<RubyPanther> If you don't follow modern practices, you have to resort to SQL constantly, or be tweaking the ORM constantly to strongarm it into doing things the old way
w|t has joined #ruby
<benzrf> well SQL _is_ designed to do sql...
<benzrf> the db guys are always yelling @ me that orms are cute but not a good general solution for things more complicated than select this from that where theother = thing
<RubyPanther> Right, and an ORM is designed to stand in front so you don't see the SQL back there.
<benzrf> youre talking about sql like it's not a first class citizen
<benzrf> if a dsl exists to do something, why use a generic language?
<benzrf> sql is designed for querying, even more so than orms
<benzrf> i'm not a major fan of string manipulation, and i enjoy orms, but i think they have some significant points
<RubyPanther> If you don't value ORMs, then you probably have a difficult time measuring a Sequel vs AR post, it seems to me.
flame_ has quit [Remote host closed the connection]
<benzrf> i like orms
<benzrf> but i think sql has a purpose
<RubyPanther> If people wanted to write SQL, we'd still all be using RBatis
<benzrf> what is rbatis?
flame_ has joined #ruby
<RubyPanther> A thing that involves SQL that people don't want to use anymore, judging from the context
niklasb has quit [Ping timeout: 246 seconds]
flame_ has quit [Remote host closed the connection]
<benzrf> i thought a large part of orms' popularity was because of ruby/python/whatever people not wanting to learn another language to talk to their data?
w|t has quit [Ping timeout: 240 seconds]
<benzrf> not because sql was necessarily bad
flame_ has joined #ruby
<RubyPanther> Nope, it was to abstract out the implementation details of serializing the data into the database
<benzrf> huh?
<benzrf> oh i see what you're saying
<RubyPanther> So that you can present an interface that is based on your problem domain, rather than being based on the database.
<benzrf> sounds like you wouldn't like sequel then
<benzrf> it's more like sql as a ruby dsl than an ORM
<benzrf> afaict
baroquebobcat has quit [Quit: baroquebobcat]
<benzrf> i.e. it returns hashes for rows
<RubyPanther> The funny part is that I use way more RDBMS features in my Ruby apps than most people
gquental has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
w|t has joined #ruby
robbyoconnor has joined #ruby
aavt has quit [Quit: Leaving...]
wchun has quit [Quit: Leaving]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
iamjarvo_ has joined #ruby
<RubyPanther> But that doesn't mean I want to expose them to the ORM user. That stuff still has to be properly hidden. Things like composite keys, there is no way the user isn't going to be asked to be aware of it and not step in it. Data and metadata are just different. It is the same as with a Ruby object id. It is not supposed to have meaning outside of the currently running program. It is not data. New objects should not attempt to choose their
<RubyPanther> IDs. Why would a new row get to choose its ID? What if it chooses wrong? What it changes its mind?
yshh has quit [Remote host closed the connection]
brunetti has quit [Remote host closed the connection]
rm__ has joined #ruby
chrisan has quit [Ping timeout: 272 seconds]
<benzrf> ehaliewicz:
<benzrf> *eh
w|t has quit [Ping timeout: 272 seconds]
<RubyPanther> The fact that data changes over time, just that one cow pattie, destroys the whole concept of meaningful keys. They are known to be harmful, and the harm grows, like bit rot, without even touching the data. The older it gets, the more likely some of it has changed. Which is worse, not being able to cross reference archived data with live data, because some of the live data might have changed since being archived, or having the keys cla
<RubyPanther> im to have meaning, but actually they're all lies because you couldn't change the keys to match new data because you knew the archive needed to reference future archives?
hielscher has joined #ruby
<benzrf> iunno, i feel like as long as your connection api returns hi-level objects, theres nothing wrong with writing raw sql
<benzrf> what problems arise there
<benzrf> ?
w|t has joined #ruby
vlad_starkov has joined #ruby
<RubyPanther> I agree, there is nothing wrong with writing SQL. I write lots of SQL. What is wrong is writing SQL that is demonstrably harmful, and the claimed benefits are related to using only primitive tools in an unsafe way
rm__ has quit [Ping timeout: 246 seconds]
<benzrf> how is sql harmful
<benzrf> ?
<RubyPanther> It is still SQL even without composite keys ;)
vlad_starkov has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby
lethjakman has joined #ruby
mansi has joined #ruby
adamholt has quit [Quit: ZNC - http://znc.sourceforge.net]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
kitak has joined #ruby
<benzrf> yes, but composite keys prevent overlapping data
DrShoggoth has joined #ruby
<RubyPanther> Another funny thing he says is that Sequel is better, because AR users like to monkey-patch. So... if AR stayed the same, didn't change a single line of code, but I stopped monkey patching it... it would improve? I'm pretty sure that is wrong. I do at least agree that the gems that do so are mostly bad, but how can it be AR's fault? If I write a bad gem that monkey-patches Sequel, will Sequel suck more?
<benzrf> youre guaranteed not to end up with invalid overlaps if you have a uniqueness constraint on the columns that are, in fact, unique and identifying
robbyoconnor has quit [Excess Flood]
<RubyPanther> composite keys have NOTHING to do with preventing overlapping data; you can do that with a regular database constraint if you want it in the database
robbyoconnor has joined #ruby
phipes has quit [Remote host closed the connection]
<benzrf> then why have both an int primary id AND an effective key that isnt actually one>
tekacs has quit [Ping timeout: 252 seconds]
<RubyPanther> Modern theory generally says that things like if data overlaps should be worried about in the app layer, and the database should worry only about keeping the data consistent, but even if you want to do all that in the db there is no reason to deny yourself the ability to ever archive data
mary5030 has quit [Remote host closed the connection]
<RubyPanther> because a constraint isn't an "effective key" that is just not what it is
kitak has quit [Ping timeout: 245 seconds]
<RubyPanther> a key is metadata that you can use to reference other data
qz has quit [Ping timeout: 252 seconds]
JStoker has quit [Ping timeout: 252 seconds]
TwinkleH1od has quit [Ping timeout: 260 seconds]
sec^nd has quit [Ping timeout: 240 seconds]
eyckelboom has quit [Ping timeout: 252 seconds]
Drakevr has quit [Ping timeout: 260 seconds]
<RubyPanther> there are real, practical benefits of having that metadata be something that doesn't change. Actually it is a basic requirement because maybe not you, but the person coming after you, will almost certainly want to archive data. And the new boss will change the business rules, and a different set of data will be required not to overlap.
TwinkleHood has joined #ruby
qz has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Drakevr has joined #ruby
eyckelboom has joined #ruby
tekacs has joined #ruby
JStoker has joined #ruby
<benzrf> wat?
sec^nd has joined #ruby
<benzrf> everything ive ever seen says that the key is supposed to be the thing that uniquely identifies the row, that can be used to look up a specific one
<RubyPanther> "Sorry sir, the changes will cost $17m because of the cost of re-building the keys in 15 years of warehoused data, otherwise we'll break all our analytics"
okinomo has quit [Read error: Connection reset by peer]
<RubyPanther> If it is based on real data, data changes. Therefore, it cannot be used to look up a specific row of data; instead all you can do is look up whichever row has data that matches some sort of search that has been shoehorned onto the keys.
lethjakman has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Ping timeout: 246 seconds]
<RubyPanther> It needs to be both unique, and unchanging. Also, a maintenance programmer should be able to look at the database and tell what is data and what is metadata.
yacks has joined #ruby
St_Marx has joined #ruby
benzrf has left #ruby [#ruby]
Kricir has quit [Remote host closed the connection]
yshh has joined #ruby
okinomo has joined #ruby
IceDragon has quit [Quit: Space~~~]
michaeldeol has joined #ruby
f0ster has quit [Remote host closed the connection]
<RubyPanther> Also, the post claims that AR wants to do constraints in the app layer, but actually AR doesn't know, doesn't care. That should be an issue for however you create the schema.
N00D is now known as zz_N00D
mneorr has joined #ruby
rickruby has joined #ruby
<RubyPanther> He also talks about postgres support, and while I love Postgres and it is the only RDBMS I willingly choose... I can't really see how AR is getting in my way. He talks about wanting to not be afraid to use triggers, he should just be less afraid. ;)
robbyoconnor has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Riking has joined #ruby
cow_ has joined #ruby
mneorr has quit [Ping timeout: 248 seconds]
zxq9 has quit [Quit: Konversation terminated!]
psyl0n has quit [Remote host closed the connection]
flame_ has quit [Quit: Computer has gone to sleep.]
<Riking> how good is Eclipse's ruby plugin? should I search for a different IDE?
ewnd9 has joined #ruby
michaeldeol has quit [Remote host closed the connection]
michaeldeol has joined #ruby
mikepack has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
<Riking> I just found aptana, which is available as an Eclipse plugin. Trying it now
mikepack has quit [Remote host closed the connection]
kitak has joined #ruby
mlpinit has joined #ruby
Faris has quit [Ping timeout: 246 seconds]
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
robbyoconnor has joined #ruby
mikepack has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
klaut has joined #ruby
cow_ has quit [Remote host closed the connection]
mechanicles has joined #ruby
mlpinit has quit [Ping timeout: 240 seconds]
estebistec has quit [Remote host closed the connection]
totalmajor has quit [Remote host closed the connection]
St_Marx has quit [Ping timeout: 240 seconds]
gja has quit [Quit: This computer has gone to sleep]
totalmajor has joined #ruby
iamjarvo_ has quit [Ping timeout: 245 seconds]
tjbiddle has joined #ruby
klaut has quit [Ping timeout: 252 seconds]
St_Marx has joined #ruby
totalmajor has quit [Ping timeout: 252 seconds]
jmo has joined #ruby
elux has left #ruby [#ruby]
SHyx0rmZ has quit [Ping timeout: 252 seconds]
Parker0 has joined #ruby
kitak has quit [Remote host closed the connection]
decoponio has joined #ruby
benzrf has joined #ruby
<benzrf> shevy: let me pour haskelly goodness into your brain
danshultz has joined #ruby
ewnd9 has quit [Remote host closed the connection]
flubba has quit [Remote host closed the connection]
ewnd9 has joined #ruby
flubba has joined #ruby
lethjakman has joined #ruby
Nilium has quit [Ping timeout: 246 seconds]
dima has joined #ruby
gizmore has joined #ruby
<gizmore> <?= die('PHP'=='solid'); ?>
havenwood has joined #ruby
<gizmore> i quit php
brennanMKE has quit [Remote host closed the connection]
totalmajor has joined #ruby
<benzrf> gigetoo: congrats
<benzrf> were all very happy for you
brennanMKE has joined #ruby
zxq9 has joined #ruby
<gizmore> let me restart at ruby=0; # How do i install a gem locally for development (aid in enhancing the gem)
danshultz has quit [Ping timeout: 272 seconds]
<gizmore> i`d like to extend a "country" gem
<gizmore> and add preferred languages for a country
mikepack has quit [Remote host closed the connection]
<ddd> go to the homepage for it, find wher ethey keep the source and get it and extract it out
<benzrf> why not clone the repo
<gizmore> Country.find('germany').spoken_languages(use)
<ddd> probably going to be on github so clone it locally and modify to your heart's content
<RubyPanther> Riking: I think most people use emacs/vim/textmate, eclipse is generally considered usable though.
flubba has quit [Ping timeout: 272 seconds]
<benzrf> Riking: vim ftw
<gizmore> benzrf: and how do i point bundler to it?
<benzrf> Riking: didnt i used to see you when i frequented #python?
<benzrf> gizmore: what do you mean?
<Riking> RubyPanther, i'm getting "unexpected tDOT" errors that are fixed by moving dots from the start of the line to the end of the previous line
<gizmore> benzrf: i want to clone gem, then use it in my ror project
<ddd> when you're done just gem build thatgem.gemspec from the dir that contains the gemspec file
<Riking> so i'm thinking that the synax parser is a little stupid
<ddd> then gem install as usual
<gizmore> it shall bundle from my cloned gem
vlad_starkov has joined #ruby
kate_r has joined #ruby
SHyx0rmZ has joined #ruby
<ddd> then you can leave it online and use git. fork it, modify it and then gem 'thatgem', git: <your giturl>
<ddd> bundle install and it will pull from your fork instead
<RubyPanther> Riking: whitespace generally doesn't have meaning in Ruby, but that doesn't mean you can insert linebreaks anywhere ;P
<Riking> RubyPanther, the code compiles and runs fine (it's someone else's code)
<Riking> and benzrf, i was on esper
<gizmore> ddd: so with "gem" i can alias / change gem sourceorigin?
<benzrf> oohh right
<ddd> the git: entry is what matters in that respect
<benzrf> Riking: you did java then?
<benzrf> dang that was quite a while back
<ddd> for that gem you just add the git: entry in Gemfile
<Riking> yea, minecraft stuff. trying to move on now
brennanMKE has quit [Ping timeout: 272 seconds]
<ddd> gem 'country', git: https://github.com/<you>/country.git
<ddd> something like that
<benzrf> Riking: rubys the shit
Barrin6 has joined #ruby
lyanchih has joined #ruby
<ddd> see a gemfile for an example how to specify the git part. think i got it right though
<benzrf> its my favorite imperative language so far
<benzrf> although it has some major flaws
Nilium has joined #ruby
<gizmore> ddd: thank you very much... what would my localhost git repo look like? file:///DATA/ProjectRuby/countrygem ?
vlad_starkov has quit [Read error: Operation timed out]
dima has quit [Remote host closed the connection]
<ddd> then you can modify your fork all you want, and it will pull in your fork instead of the actual git for the gem,
<ddd> no
<ddd> well idk if git: will take a file:// uri
<ddd> it might, idk
dima has joined #ruby
<gizmore> yeah, that´s exatly what i want, git clone, use with bundler on my ror project, git commit && git push
michaeldeol has joined #ruby
<gizmore> in case my data could help the countrygem... of course in ruby everything is like done and standards
<ddd> just get a github account, fork the gem, use YOUR github uri for the 'git:' part of the gem line and it will ignore the real git
<gizmore> standards some people define in their gems :}
<benzrf> you hardly need a github to use git
<gizmore> yep, don´t see the point
<gizmore> i have a gitolite server anyway
<ddd> benzrf: i said i didn't know if git: portion of the git: spec in Gemfile could use file: uris
<ddd> that works too
jmo has quit [Ping timeout: 246 seconds]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dima__ has joined #ruby
<gizmore> i want that setup on my localhost desktop, for developement and
<ddd> just suggested the github. the point being I don't know if gem 'country', git: file//path/to/local/filesystem/gitrepo.git works or not in Gemfile
<ddd> thats all i was saying
gja has joined #ruby
<ddd> if it doesn't then github is easy to set up if you don't already have a git server running elsewhere
dima has quit [Read error: Connection reset by peer]
<gizmore> iirc i read something about "gemming gems"
<ddd> thats all i meant
<gizmore> and there someone explained how to setup gemdev
<gizmore> probably bundler or "gem" should do it somehow
<ddd> :shrug:
<gizmore> use gem to install a forced version of country1.0.0
<gizmore> from the gitclone.... then simply all projects use it by default
<benzrf> ddd: you could just use git://localhost/foo
<ddd> gem 'country', '1.0.0', git: file://blahblahcountry.git or something
<RubyPanther> bundler should handle it correctly with any git urio
<RubyPanther> -o
<gizmore> thanks benzrf
<ddd> so long as the version file matches what you're specifying it should work fine
mansi has quit [Remote host closed the connection]
<ddd> the gem's version.rb that is
<gizmore> so basically my old php code featured Country<=>Language ... you could query countries for their spoken languages, order by relevance
michaeldeol has quit [Ping timeout: 245 seconds]
<gizmore> it seems there is no ror/country gem that features the langmap?
mansi has joined #ruby
banghouse has joined #ruby
dima__ has quit [Remote host closed the connection]
gja has quit [Client Quit]
banghouse is now known as Guest60082
<gizmore> http://www.countrygemorganics.com/ this one? .... sry ;)
aryaching has quit [Ping timeout: 245 seconds]
<benzrf> Riking: so how ya finding ruby
aryaching has joined #ruby
<Riking> benzrf, kinda having trouble thinking of stuff to do. as I always have
<Riking> what's a non-trivial thing i could practice with
<benzrf> Riking: codewars.com is neat
<benzrf> it has challenges n shit
<Riking> OK
<benzrf> Riking: btw you can in fact write bukkit plugins in ruby via purugin, which is a jruby + bukkit api extension
<benzrf> plugin
<benzrf> i just wrote one in the last 3-4 days
mmitchell has quit [Remote host closed the connection]
<Riking> as i said, i'm trying to move away from MC
<benzrf> it was much nicer than when i used eclise & java
<benzrf> mk
kitak has joined #ruby
<benzrf> i find ruby & python to be nice for scripting, ad hoc data processing, and websites
jmo has joined #ruby
<benzrf> *by ad hoc data processing i mean things like taking a web page, scraping the links off of it, and making a nice graph of what websites it points to
<Riking> codewars.com isn't loading anything.....
<benzrf> really?
<benzrf> its up for me
<gizmore> benzrf: i feel like a new man when dropping php
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
<Riking> Uncaught ReferenceError: FAYE_URL is not defined
<Riking> in the JS console
JohnBat26 has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
<benzrf> do you have some kind of blocking thing
<Riking> adblock reports 0
<benzrf> ?!
<gizmore> Riking: $(window.FAYE_URL="http://gizmore.org&ip=4")
Guest60082 has quit [Ping timeout: 272 seconds]
<benzrf> gizmore: whats with the $()
lnemo has quit [Ping timeout: 245 seconds]
<gizmore> benzrf: typo
<benzrf> Riking: oh huh im gettin it too if i log out
<benzrf> weird shit
<gizmore> benzrf: it was the 3 spots from "find the 3 that do not belong here" :P
<Riking> tryign ffox
lukec_ has quit [Quit: lukec_]
<gizmore> http://steve.dynedge.co.uk/2011/07/25/language-list-gem-a-list-of-languages-iso-639-1-or-iso-639-3-for-ruby/ ( I wonder how many languages there are ... my php db has the 40 most common, ... data is not that bad)
<gizmore> so i maybe make a "Spoken" gem?
<gizmore> using that one country gem maybe?
<Riking> benzrf, I saved the page, inserted gizmore's js at the top, and opened, it's working
<gizmore> Riking: yw
<benzrf> gizmore: whats that
<Riking> hmm, Failed to load resource
<gizmore> Riking: also works: javascript:window.document.location.href="https://www.wechall.net";
<benzrf> Riking: probably because the website is not the codewars website, it's gizmore's
<benzrf> :P
<gizmore> shush, i am anonymous here
<Riking> and sign up there?
<gizmore> you can also signup with your google+ in any input field encountered on any website
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<benzrf> gizmore: wat
<gizmore> just enter your google+ email+password in any email field
grep_awesome is now known as grep_away
cow_ has joined #ruby
<gizmore> it will log you in with your google+ :D
<Riking> :|
<gizmore> j/k of course :(
<Riking> nope, straight to keepass
<gizmore> hehe, sit, F-
<benzrf> Riking: here is a challenge for you
<benzrf> wait 1 sec
gja has quit [Quit: This computer has gone to sleep]
<gizmore> .exec "1".to_i
<Riking> OH, there's a register with github, benzrf
phipes has joined #ruby
<Riking> "failed to connect account" :|
<gizmore> Important is you upload your private keys and salt&pepper .... this gains super cow powers
<Riking> XMLHttpRequest cannot load https://api.intercom.io/vjs/users/ping. No 'Access-Control-Allow-Origin' header
<gizmore> You need the cors
timonv has joined #ruby
gja has joined #ruby
dru has quit [Ping timeout: 245 seconds]
<gizmore> Riking: XML is deprecated, you should use json
<Riking> :|
<gizmore> you need cors header for cross origin requests?
<Riking> i'm aware of that, actually
<gizmore> Allow-Origin: *, gizmore.org
<gizmore> AllowMethod: HEAD, FINGER, GET, POST
<gizmore> so the header is probably not sent then? are you aware of the limitations?
<Riking> and how am i supposed to inject this
<benzrf> Riking: done
<benzrf> Riking: implement this -> http://bpaste.net/show/163294/
<gizmore> Riking: there is a cors gem
<benzrf> Riking: you should be able to use any tag name you want
mneorr has joined #ruby
<Riking> pry is... ruby console?
yshh has quit [Read error: Connection reset by peer]
WJW has quit [Ping timeout: 272 seconds]
yshh has joined #ruby
<Riking> "pry - an irb alternative" k
pen has quit [Remote host closed the connection]
<gizmore> Riking: my guess would be that "ruby" is the ruby console
<Riking> no, it's irb
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> gizmore: u a python person?
<gizmore> php :(
<gizmore> EX- PHP
timonv has quit [Ping timeout: 245 seconds]
<Riking> sudo update-alternatives --config ruby
<benzrf> ew
<gizmore> <?= print()[0]; # die already ?>
<Riking> set to 2.0
<Riking> <?php die("already"); > :P
<Riking> or something
<benzrf> oh shit my example was broken
<benzrf> o_o
<benzrf> w/e
<gizmore> Riking: that would not make it crash... let us just don´t talk about pee8pee again
<Riking> gem install pry will not fuinish..
<Riking> oh that's the docs
brennanMKE has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
<havenwood> Riking: make sure you've got update-alternatives configured for `gem` as well as `ruby`
cosmicpanda has left #ruby ["WeeChat 0.4.1"]
<Riking> ooh, i see what you want benzrf
<Riking> OK
mneorr has quit [Ping timeout: 272 seconds]
grep_away is now known as grep_awesome
brennanMKE has quit [Ping timeout: 246 seconds]
mikepack has quit [Ping timeout: 272 seconds]
benzrf has quit [Ping timeout: 260 seconds]
phipes has quit [Remote host closed the connection]
BrixSat_ has quit [Remote host closed the connection]
BrixSat has joined #ruby
aryaching has joined #ruby
klaut has joined #ruby
rh1n0 has joined #ruby
dogweather has joined #ruby
stryek has quit [Quit: Leaving]
flubba has joined #ruby
totalmajor has quit [Remote host closed the connection]
klaut has quit [Ping timeout: 272 seconds]
totalmajor has joined #ruby
zxd has joined #ruby
Wolland has quit [Remote host closed the connection]
wookiehangover is now known as sambreed
Kricir has joined #ruby
brandon-m-skinne has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
tylersmith has joined #ruby
zxd has quit [Ping timeout: 240 seconds]
totalmajor has quit [Ping timeout: 272 seconds]
lewix has quit [Remote host closed the connection]
dapz has quit [Ping timeout: 272 seconds]
bluOxigen has joined #ruby
weeems is now known as weems
weems has quit [Changing host]
weems has joined #ruby
<gizmore> where is the initial seed data for currencies? https://github.com/Rubymoney/money
mechanicles has quit [Quit: Computer has gone to sleep.]
<gizmore> ahh, config. nvm
lewix has joined #ruby
lewix has quit [Remote host closed the connection]
phipes has joined #ruby
<gizmore> so i make a complete own gem, but i will steal the data, making the robbed gems be a dependency, so the data can be fixed upstream?
vlad_starkov has joined #ruby
<gizmore> gem shall cover Country, Language, SpokenIn, Currency, PaidWithIn
<gizmore> Populations+
<gizmore> I18n does not seem to have a language model?
Tentra has joined #ruby
lewix has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
michaeldeol has joined #ruby
ambushsabre has quit [Quit: rip]
havenwood has joined #ruby
<pipecloud> A 'language model'?
mechanicles has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
seemant has left #ruby [#ruby]
<gizmore> yep, pipecloud. iso codes, mapped to countries (spoken_in)
<pipecloud> Ah, you can do that yourself, you know.
<gizmore> https://github.com/jim/carmen/tree/master/lib/carmen looks not too bad... also no language model
<gizmore> i know, i am evaluating how to implement it nicely
<gizmore> should probably pick the lib that is the most used, and help that gem
<gizmore> country, language, spoken_in + countrymanes,langnames,isocodes... maybe even currencies?
mechanicles has quit [Ping timeout: 260 seconds]
<gizmore> maybe just make a "spoken" gem, that relies on carmen
<gizmore> carmen as depency, add langmappings, done :)
yacks has quit [Quit: Leaving]
mansi has quit [Ping timeout: 240 seconds]
<gizmore> sadly carmen has no language model :(
SteveBenner09 has joined #ruby
<gizmore> "locale" is not correct... it really should be "language"
<gizmore> as i can be SouthPole_jp as locale :P
sayan has joined #ruby
lewix has quit [Remote host closed the connection]
grep_awesome is now known as grep_away
dima has joined #ruby
Megtastique has quit []
lewix has joined #ruby
echevemaster has quit [Quit: Leaving]
rh1n0 has quit [Quit: Textual IRC Client: www.textualapp.com]
Yarou has quit [Quit: This computer has gone to sleep]
okinomo has quit [Ping timeout: 248 seconds]
dima has quit [Ping timeout: 240 seconds]
zz_karupanerura is now known as karupanerura
okinomo has joined #ruby
<gizmore> okay, so why do those country libs do not use a db + activerecord?
dogweather has quit [Remote host closed the connection]
lethjakman has quit [Ping timeout: 246 seconds]
Tentra has quit [Ping timeout: 248 seconds]
rm__ has joined #ruby
brennanMKE has joined #ruby
tacos1de has joined #ruby
guardianx has quit [Ping timeout: 246 seconds]
guardianx has joined #ruby
rm__ has quit [Ping timeout: 252 seconds]
brennanMKE has quit [Ping timeout: 248 seconds]
jmo has quit [Ping timeout: 252 seconds]
gja has quit [Quit: This computer has gone to sleep]
Asher has quit [Quit: Leaving.]
klaut has joined #ruby
<ddd> can someone give me a concrete example of this? I don't quite understand what it means. rescue clauses can be directly placed on the outermost level of a method definition without needing to enclose the contents in a begin/end block.
<ddd> i understand begin ; method (args) ; rescue ExceptionName ; msg to send back ; end but not understanding the wording that sentence is using
Barrin6 has quit [Quit: Leaving]
Asher has joined #ruby
<ddd> rescue ExceptionName, puts "Error caught", method(args) is that what they mean?
nateberkopec has quit [Quit: Leaving...]
<pipecloud> ddd: def method_name; do_stuff; rescue ArgumentError => e; puts e.message; end
<pipecloud> ddd: It's easier on multiple lines, one sec.
<ddd> ok
<ddd> i got what you meant with the ;. I newlined it in the head
klaut has quit [Ping timeout: 246 seconds]
fire has joined #ruby
SteveBenner09 has quit [Remote host closed the connection]
SteveBenner09 has joined #ruby
<ddd> now thats inside the method itself. how would you do it outside of the method in question? or is that allowed without using begin rescue end clause?
<ddd> because the method would return the Exception if it died during it's execution, wouldn't it?
lfox has quit [Quit: ZZZzzz…]
<ddd> sec
<pipecloud> inline is what you were asking about.
<ddd> ahh ok didn't realize that was what they meant
<pipecloud> I'm not sure about the second question you asked: "now thats inside the method itself. how would you do it outside of the method in question? or is that allowed without using begin rescue end clause?"
nanoyak has joined #ruby
<ddd> yeah like could you do rescue HumanError, "this failed", huuman(@name)
gja has joined #ruby
<ddd> so that if huuman threw a HumanError, "this failed" would be output because the rescue statement caught it
<ddd> not sure if thats right syntax or even possible. thats what i *thought* they were meaning by directly placed on the outermost level
<ddd> but i guess 'definition' should have told me
fire has quit [Quit: WeeChat 0.4.1]
OdNairy has joined #ruby
okinomo has quit [Ping timeout: 252 seconds]
okinomo has joined #ruby
purpleidea has joined #ruby
Asher has quit [Quit: Leaving.]
<purpleidea> trying to get the interface name (and cidr) that an ip address is on... trying to use 'system-getifaddrs', which installs but errors when i try to 'require' it. any ideas?
LexicalScope` has joined #ruby
<purpleidea> no such file to load -- system/getifaddrs
Vivekananda has quit [Quit: Ex-Chat]
rippa has joined #ruby
roadt has quit [Ping timeout: 272 seconds]
<Riking> bsp---he's gone
<Riking> but i finished
vlad_starkov has joined #ruby
<pontiki> purpleidea: i dunno, i just installed it and i can require it. did something go wrong in the installation?
vlad_starkov has quit [Read error: Connection reset by peer]
lewix has quit [Remote host closed the connection]
<purpleidea> pontiki: i did it as root... other than that, i don't think so
<pontiki> i did not do it as root
lyanchih has quit [Quit: lyanchih]
mklappstuhl has joined #ruby
<purpleidea> pontiki: hmmm, i'll try it again :(
mengu has joined #ruby
mengu has joined #ruby
tr4656 has quit [Quit: ZNC - http://znc.in]
<SteveBenner09> Hey, is there any consensus on what the best net library is to use with ruby? for simple REST requests
michaeldeol has joined #ruby
Jetchisel has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
w|t has quit [Ping timeout: 246 seconds]
tylersmith has quit [Remote host closed the connection]
banghouse has joined #ruby
michaeldeol has quit [Ping timeout: 252 seconds]
banghouse is now known as Guest26518
<havenwood> SteveBenner09: Nope, no consensus. But there's a nice spreadsheet comparing features: https://docs.google.com/spreadsheet/pub?key=0AiZsKd8d4hSJdF9WRHVoRElnaV9paThuZ1FBSU1Ob3c&single=true&gid=4&output=html
mansi has joined #ruby
<havenwood> SteveBenner09: I like HTTPClient.
timonv has joined #ruby
<havenwood> SteveBenner09: Oh, another nice option missing from the spreadsheet is Typhoeus.
w|t has joined #ruby
<havenwood> oh, here's an updated spreadsheet with Typhoeus :D
<SteveBenner09> haha I've seen that havenwood =D
<SteveBenner09> but thanks
<SteveBenner09> yeah I am looking into that one it looks fun
<SteveBenner09> oh ty new spreadsheet
<Riking> how'd I do - deviated from the requirements a bit, formatting and not using a top-level method_missing http://bpaste.net/show/163313/
<Riking> requirements were http://bpaste.net/show/163294/
<havenwood> SteveBenner09: Well, HTTPClient in a good option (spreadsheet author's gem).
mansi has quit [Ping timeout: 248 seconds]
Guest26518 has quit [Ping timeout: 272 seconds]
<Riking> hmm
timonv has quit [Ping timeout: 240 seconds]
<havenwood> SteveBenner09: Faraday gets a lot of love.
dogweather has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<pipecloud> Faraday is super neat.
rm__ has joined #ruby
<pipecloud> I'm hoping to open source good testing tools for it soon.
tyl has quit [Ping timeout: 252 seconds]
Asher has joined #ruby
bentonrr has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
<SteveBenner09> thats the other one I'm favoring haha
tyl has joined #ruby
<SteveBenner09> its used in other tools, like 'shenzhen' in particular
h0rrorvacui has quit [Read error: Operation timed out]
Hanmac1 has joined #ruby
okinomo has quit [Ping timeout: 272 seconds]
okinomo_ has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
<SteveBenner09> thanks guys for the help
Hanmac has joined #ruby
Tearan has quit []
brennanMKE has joined #ruby
Hanmac1 has quit [Ping timeout: 265 seconds]
Tentra has joined #ruby
m00nlight has quit [Quit: Konversation terminated!]
brennanMKE has quit [Ping timeout: 245 seconds]
klaut has joined #ruby
zxd has joined #ruby
Tearan has joined #ruby
jwang has joined #ruby
levity_island has joined #ruby
aryaching has quit [Ping timeout: 252 seconds]
totalmajor has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
r0bby_ has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #ruby
totalmajor has quit [Ping timeout: 248 seconds]
aryaching has joined #ruby
Beoran_ has quit [Read error: Connection reset by peer]
Beoran_ has joined #ruby
brandon-m-skinne has quit [Quit: Konversation terminated!]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
tropicalmug has joined #ruby
cow_ has quit [Read error: Connection reset by peer]
billbyc has joined #ruby
gja has quit [Client Quit]
cow_ has joined #ruby
<billbyc> hello
billbyc has quit [Remote host closed the connection]
mechanicles has joined #ruby
teenwolf has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<ayaz> Hullo
cow_ has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
Tearan has quit []
kitak has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 272 seconds]
mechanicles has quit [Ping timeout: 252 seconds]
z has quit [Ping timeout: 246 seconds]
z has joined #ruby
mklappstuhl has joined #ruby
LostMonk- has joined #ruby
abramovic has quit [Quit: Leaving.]
klaut has quit []
<bgy> Hi
_br_ has quit [Ping timeout: 245 seconds]
germanstudent has quit [Ping timeout: 245 seconds]
BuGo_ has left #ruby [#ruby]
LostMonk has quit [Ping timeout: 260 seconds]
mansi has joined #ruby
_br_ has joined #ruby
germanstudent has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 248 seconds]
drumusician has joined #ruby
klaut has joined #ruby
timonv has joined #ruby
alex88 has joined #ruby
tylersmith has joined #ruby
jmo has joined #ruby
rickruby has quit [Remote host closed the connection]
lyanchih has joined #ruby
tylersmith has quit [Ping timeout: 248 seconds]
rickruby has joined #ruby
jmo has quit [Ping timeout: 272 seconds]
rm__ has quit [Remote host closed the connection]
rm__ has joined #ruby
olivier_bK has joined #ruby
<agent_white> Thank you for the link, havenwood
nanoyak has quit [Quit: Computer has gone to sleep.]
rickruby has quit [Ping timeout: 245 seconds]
olivier_bK has quit [Client Quit]
olivier_bK has joined #ruby
brennanMKE has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
kitak has joined #ruby
klip has joined #ruby
rm__ has quit [Ping timeout: 252 seconds]
bentonrr has joined #ruby
relix has joined #ruby
brennanMKE has quit [Ping timeout: 260 seconds]
SteveBenner09 has quit []
vlad_starkov has joined #ruby
mneorr has joined #ruby
bentonrr has quit [Ping timeout: 265 seconds]
gigetoo has quit [Remote host closed the connection]
rm__ has joined #ruby
gigetoo has joined #ruby
plotter has joined #ruby
frx has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
rickruby has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
phus1on has joined #ruby
phus1on has quit [Excess Flood]
r0bby_ has quit [Ping timeout: 246 seconds]
phus1on has joined #ruby
phus1on has quit [Excess Flood]
phus1on has joined #ruby
phus1on has quit [Excess Flood]
JohnBat26 has quit [Ping timeout: 272 seconds]
phus1on has joined #ruby
phus1on has quit [Excess Flood]
frxx has quit [Ping timeout: 272 seconds]
phus1on has joined #ruby
phus1on has quit [Excess Flood]
phus1on has joined #ruby
phus1on has quit [Excess Flood]
phus1on has joined #ruby
phus1on has quit [Excess Flood]
wildroman2 has joined #ruby
browndawg has joined #ruby
r0bby_ has joined #ruby
phus1on has joined #ruby
SteveBenner09 has joined #ruby
<SteveBenner09> I really like this post for http client comparisons:
claymore has joined #ruby
<SteveBenner09> recent + thorough + packed_with_awesome
<lewellyn> so yet more reason to avoid httparty.
roadt has joined #ruby
soba has joined #ruby
mehlah has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
soba_ has joined #ruby
soba has quit [Ping timeout: 245 seconds]
<SteveBenner09> hehe
<SteveBenner09> well so far I've only used RestClient lightly but now I'm integrating these type of tools into a serious product and toolset so... I take my time to research :)
max96at has joined #ruby
michaeldeol has joined #ruby
ewnd9 has quit [Ping timeout: 240 seconds]
marr has joined #ruby
DaniG2k has joined #ruby
ewnd9 has joined #ruby
banghouse has joined #ruby
banghouse is now known as Guest42541
ewnd9 has quit [Max SendQ exceeded]
mansi has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
ewnd9 has joined #ruby
tahzeem has joined #ruby
bricker`LA has joined #ruby
_honning_ has joined #ruby
zipper has joined #ruby
Guest42541 has quit [Ping timeout: 272 seconds]
mansi has quit [Ping timeout: 246 seconds]
mityaz has joined #ruby
stetho has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmes1 has joined #ruby
boreliash has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
rm__ has quit [Remote host closed the connection]
JPascal has joined #ruby
rm__ has joined #ruby
mojjojo has joined #ruby
gja has joined #ruby
_honning_ has quit [Ping timeout: 252 seconds]
rm__ has quit [Ping timeout: 272 seconds]
bricker`LA has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
mechanicles has joined #ruby
brennanMKE has joined #ruby
alex88 has quit [Read error: Connection reset by peer]
skaflem has joined #ruby
ripnix has joined #ruby
brennanM_ has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
ripnix_ has joined #ruby
mechanicles has quit [Ping timeout: 240 seconds]
mmitchell has joined #ruby
ripnix has quit [Client Quit]
ripnix_ has quit [Client Quit]
ripnix has joined #ruby
ripnix has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
brennanM_ has quit [Ping timeout: 245 seconds]
mneorr has joined #ruby
alex88 has joined #ruby
marcgg_ has joined #ruby
prc has joined #ruby
klaut has quit [Remote host closed the connection]
drumusician has quit [Read error: Connection reset by peer]
amundj has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
nisstyre has quit [Quit: Leaving]
marcgg has quit [Ping timeout: 246 seconds]
amundj has quit [Client Quit]
gja has quit [Quit: This computer has gone to sleep]
ozkan has joined #ruby
totalmajor has joined #ruby
cbetta_afk is now known as cbetta
gja has joined #ruby
hio1 has joined #ruby
hio1 has left #ruby [#ruby]
totalmajor has quit [Ping timeout: 246 seconds]
_br_ has quit [Ping timeout: 240 seconds]
wildroman2 has quit [Ping timeout: 246 seconds]
wildroman2 has joined #ruby
Faithmuse has quit [Ping timeout: 245 seconds]
_br_ has joined #ruby
cow_ has joined #ruby
dogweather has quit [Remote host closed the connection]
yshh has quit [Quit: Leaving...]
drumusician has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phipes has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
drago777 has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
tyl has joined #ruby
joumunji has joined #ruby
michaeldeol has joined #ruby
drumusician has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
drumusician has joined #ruby
jonathanwallace has joined #ruby
SteveBenner09 has quit [Remote host closed the connection]
SteveBenner09 has joined #ruby
workmad3 has joined #ruby
brtdv has joined #ruby
stetho has joined #ruby
mansi has joined #ruby
michaeldeol has quit [Ping timeout: 252 seconds]
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
drumusician has quit [Read error: Connection reset by peer]
lyanchih has quit [Ping timeout: 248 seconds]
drumusician has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
carraroj has joined #ruby
drumusician has quit [Read error: Connection reset by peer]
tjaco has joined #ruby
joaoh82 has quit [Remote host closed the connection]
eka has joined #ruby
jmo has joined #ruby
artmann_ has quit [Quit: No Ping reply in 180 seconds.]
germanstudent has quit [Ping timeout: 240 seconds]
Deele has joined #ruby
tjaco has quit [Read error: Connection reset by peer]
artmann_ has joined #ruby
germanstudent has joined #ruby
jmo has quit [Ping timeout: 252 seconds]
tropicalmug has quit [Quit: Textual IRC Client: www.textualapp.com]
artmann_ has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyl has quit [Quit: Textual IRC Client: www.textualapp.com]
artmann_ has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
mengu has joined #ruby
sayan_ has joined #ruby
tyl has joined #ruby
sayan has quit [Ping timeout: 252 seconds]
flubba has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
flubba has joined #ruby
awestroke has joined #ruby
popl has quit [Ping timeout: 246 seconds]
kate_r has joined #ruby
levity_island has quit [Quit: levity_island]
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
brennanMKE has joined #ruby
krz has joined #ruby
JPascal has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ozkan has quit [Ping timeout: 252 seconds]
brennanMKE has quit [Ping timeout: 246 seconds]
gasbakid has joined #ruby
St_Marx has quit [Ping timeout: 240 seconds]
okinomo_ has quit [Ping timeout: 272 seconds]
crapple has quit [Ping timeout: 245 seconds]
Czupa has joined #ruby
Czupa has quit [Client Quit]
Czupa has joined #ruby
boreliash has quit [Ping timeout: 252 seconds]
ozkan has joined #ruby
ozkan has left #ruby [#ruby]
crapple has joined #ruby
atno has joined #ruby
aryaching has quit []
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dapz has joined #ruby
falood has quit [Remote host closed the connection]
falood has joined #ruby
klaut has joined #ruby
atno has quit [Remote host closed the connection]
colonolGron has joined #ruby
okinomo has joined #ruby
wildroman2 has quit [Remote host closed the connection]
mrnugget has joined #ruby
klaut has quit [Ping timeout: 252 seconds]
falood has quit [Ping timeout: 272 seconds]
eka has quit [Quit: Computer has gone to sleep.]
phansch has joined #ruby
brtdv has quit [Ping timeout: 240 seconds]
shime has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
soobus has joined #ruby
eka has joined #ruby
danshultz has joined #ruby
MattStratton has quit [Ping timeout: 240 seconds]
max96at has quit [Ping timeout: 240 seconds]
soobus has quit [Ping timeout: 272 seconds]
mercwithamouth has joined #ruby
LexicalScope has quit [Read error: Connection reset by peer]
LexicalScope` has quit [Read error: Connection reset by peer]
moneydouble1 has joined #ruby
zipper has quit [Ping timeout: 246 seconds]
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
coda23 has joined #ruby
tedstriker has joined #ruby
mmitchel_ has joined #ruby
michaeldeol has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
adamholt has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
moneydouble has quit [Ping timeout: 272 seconds]
mmitchell has quit [Ping timeout: 265 seconds]
jonathanwallace has quit [Ping timeout: 272 seconds]
banghouse has joined #ruby
banghouse is now known as Guest97700
okinomo has quit [Ping timeout: 272 seconds]
mansi has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
SteveBenner09 has quit []
ewnd9 has quit [Ping timeout: 272 seconds]
pskosinski has quit [Remote host closed the connection]
Guest97700 has quit [Ping timeout: 248 seconds]
mansi has quit [Ping timeout: 245 seconds]
crapple has quit [Ping timeout: 246 seconds]
danshultz has quit [Remote host closed the connection]
crapple has joined #ruby
danshultz has joined #ruby
joriso has joined #ruby
mjburgess has joined #ruby
headgun has joined #ruby
crapple has quit [Excess Flood]
joaoh82 has joined #ruby
alexherb1 has joined #ruby
danshultz has quit [Ping timeout: 272 seconds]
alexherb1 has quit [Client Quit]
crapple has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
carraroj has quit [Ping timeout: 246 seconds]
wildroman2 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
mrnugget has quit [Quit: mrnugget]
mrnugget has joined #ruby
okinomo has joined #ruby
JPascal has joined #ruby
roadt has quit [Ping timeout: 246 seconds]
kewubenduben has quit [Ping timeout: 240 seconds]
crapple has quit [Ping timeout: 246 seconds]
lkba has joined #ruby
brennanMKE has joined #ruby
germanstudent has quit [Ping timeout: 246 seconds]
tejas has joined #ruby
crapple has joined #ruby
pskosinski has joined #ruby
coda23 has quit [Quit: Leaving]
nouitfvf_ has joined #ruby
germanstudent has joined #ruby
gja has quit [Ping timeout: 248 seconds]
brennanMKE has quit [Ping timeout: 252 seconds]
r0bby_ has quit [Excess Flood]
mneorr has joined #ruby
nouitfvf has quit [Ping timeout: 246 seconds]
joaoh82 has joined #ruby
karupanerura is now known as zz_karupanerura
r0bby_ has joined #ruby
tejas has quit [Quit: This computer has gone to sleep]
mneorr has quit [Ping timeout: 245 seconds]
nfk has joined #ruby
stardiviner has joined #ruby
stardiviner has quit [Changing host]
nfk has quit [Changing host]
nfk has joined #ruby
stardiviner has joined #ruby
falood has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
Wolland has joined #ruby
kirun has joined #ruby
danshult_ has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
tacos1de has joined #ruby
kewubenduben has joined #ruby
psyl0n has joined #ruby
soobus has joined #ruby
kate_r has joined #ruby
popl has quit [Read error: Operation timed out]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
roadt has joined #ruby
max96at has joined #ruby
wildroman2 has quit []
centipedefarmer has joined #ruby
ehaliewicz has quit [Ping timeout: 252 seconds]
sayan_ has quit [Ping timeout: 260 seconds]
dapz has quit [Ping timeout: 245 seconds]
wildroman2 has joined #ruby
obs has joined #ruby
rickruby has quit [Remote host closed the connection]
crapple has quit [Ping timeout: 240 seconds]
rickruby has joined #ruby
blackmes1 has joined #ruby
michaeldeol has joined #ruby
Czupa has quit [Quit: Wychodzi]
ewnd9 has joined #ruby
crapple has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
rickruby has quit [Ping timeout: 272 seconds]
sayan_ has joined #ruby
ping_pong is now known as ping-pong
mansi has joined #ruby
michaeldeol has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
aryaching has joined #ruby
havenwood has quit [Remote host closed the connection]
psyprus has quit [Ping timeout: 240 seconds]
crapple has quit [Ping timeout: 245 seconds]
relix has joined #ruby
psyprus has joined #ruby
crapple has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
liamkeily has joined #ruby
jmo has joined #ruby
S0da has quit [Read error: Connection reset by peer]
joriso has quit [Ping timeout: 240 seconds]
aryaching has quit [Ping timeout: 246 seconds]
aryaching has joined #ruby
jmo has quit [Ping timeout: 252 seconds]
drumusician has joined #ruby
drumusician has quit [Read error: Connection reset by peer]
psyl0n has quit []
psyl0n has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
rickruby has joined #ruby
gja has quit [Client Quit]
Trynemjoel has joined #ruby
drumusician has joined #ruby
ewnd9 has quit [Quit: Leaving]
kate_r has joined #ruby
krz has quit [Ping timeout: 240 seconds]
brennanMKE has joined #ruby
phutchins has joined #ruby
flubba has quit [Remote host closed the connection]
krz has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
joumunji has quit []
flubba has joined #ruby
emocakes has quit [Quit: Leaving...]
mordocai has quit [Ping timeout: 240 seconds]
mzdravkov has joined #ruby
gja has joined #ruby
prc has quit [Quit: Leaving.]
<phutchins> hi
brennanMKE has quit [Ping timeout: 240 seconds]
<phutchins> Anyone awake at this hour?
larissa has joined #ruby
<waxjar> sure
mneorr has joined #ruby
JPascal has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaoh82 has joined #ruby
flubba has quit [Ping timeout: 245 seconds]
phutchins has quit [Remote host closed the connection]
phutchins has joined #ruby
chrisan has joined #ruby
drumusician has quit [Ping timeout: 252 seconds]
tahzeem has quit []
havenwood has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
mneorr has quit [Ping timeout: 260 seconds]
hielscher has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
alexherbo2 has quit [Quit: WeeChat 0.4.2]
alexherbo2 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
Tentra has quit [Quit: Konversation terminated!]
JPascal has joined #ruby
Brolen has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrnugget has quit [Quit: mrnugget]
pskosinski has joined #ruby
postmodern has quit [Quit: Leaving]
spider-mario has joined #ruby
gja has joined #ruby
jkamenik has joined #ruby
liamkeily has quit [Quit: Leaving]
diegoviola has joined #ruby
kraljev1 has joined #ruby
shredding has joined #ruby
wchun has joined #ruby
Evgeniy has joined #ruby
matchaw has quit [Ping timeout: 260 seconds]
gasbakid has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
DrShoggoth has quit [Ping timeout: 248 seconds]
JPascal has quit [Ping timeout: 246 seconds]
Hanmac1 has joined #ruby
Astralum has joined #ruby
michaeldeol has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
sayan_ has quit [Ping timeout: 246 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
lewix has joined #ruby
bklane has joined #ruby
sayan_ has joined #ruby
mansi has joined #ruby
michaeldeol has quit [Ping timeout: 265 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #ruby
breakingthings has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
aryaching has quit [Ping timeout: 252 seconds]
<alexherbo2> is there a ruby library available that can parse on stream?
blackmes1 has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
blassing has joined #ruby
<blassing> hello
rippa has joined #ruby
<blassing> anyone around?
blassing has left #ruby [#ruby]
blassing has joined #ruby
mrnugget has joined #ruby
Evgeniy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrShoggoth has quit [Ping timeout: 246 seconds]
<blassing> can someone enlighten on a better way to arrange my methods?
apeiros has quit [Ping timeout: 272 seconds]
<blassing> right now, I have a module with a bunch of classes inside, but I want to share methods between them
JPascal has joined #ruby
mlpinit has joined #ruby
rm_ has joined #ruby
<blassing> so I placed some methods on the module, and include the module in class inside the module I need to access those methods
<bnagy> blassing: methods that are to be shared between more than one class should be in modules
<blassing> but is there a better way than "module X class Y include X" ?
byprdct has joined #ruby
<bnagy> but you're talking about two different things - modules as namespacing and modules as code containers
vpretzel has joined #ruby
<shevy> blassing you can only include modules, nothing else
<blassing> I realize they are different
<blassing> but typing "module X class Y include X" feels dumb
<bnagy> so inside your namespace, have a module with the shared code
<bnagy> ideally named something that makes sense
<blassing> ok that sounds more like it
<bnagy> you don't need to ref the toplevel either
<shevy> blassing I think auto-include can not happen. how to uninclude something again?
shime_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
<blassing> would that be a big issue?
<bnagy> so NuclearPhysics::Reactor can just include AtomicWeights or whatever
<shevy> blassing dunno, probably for large projects
<bnagy> instead of NuclearPhysics::AtomicWeights
gja has joined #ruby
<blassing> I think I'm aware of the side effects for this project (~ 10 classes)
ace_striker has joined #ruby
<shevy> consider these
renklaf has joined #ruby
<shevy> module Foo; def hi; puts 'hi'; end; class Bar; end; end; Foo::Bar.new.hi
<shevy> versus
<shevy> module Foo; def hi; puts 'hi'; end; class Bar; include Foo; end; end; Foo::Bar.new.hi
<shevy> in your auto-include proposal, variant 1 would have worked blassing
<blassing> I was hoping it would
shime has quit [Ping timeout: 245 seconds]
<bnagy> autoinclude is awful
nemesit|znc has quit [Ping timeout: 265 seconds]
<blassing> not being auto is verbose
jmo has joined #ruby
<bnagy> makes code unreadable
<bnagy> look at Fails
<blassing> Fails?
<bnagy> Ruby on Fails
<blassing> oh
bauerbob has joined #ruby
<shevy> blassing not being auto is verbose, that is a fine statement. now again, what if people don't want autoinclude?
<blassing> there is that
<shevy> I think you can not uninclude cleanly in ruby right now
Brolen has quit [Quit: Brolen]
<Hanmac1> you cant uninclude nor unextend nor unprepend ...
Hanmac1 is now known as Hanmac
<shevy> :(
<shevy> that's like loading a gun and making sure you can't get the ammo back again
AirDisa has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby
<Hanmac> shevy compare it with baking a cake ... once you added the ingredients (modules) you cant remove them anymore ;P
AirDisa has quit [Remote host closed the connection]
<shevy> except that these are bytes, not atoms!
AirDisa has joined #ruby
<waxjar> you can undefine inidividual methods, but who knows what kind of nasty business self.included / self.extended did
<bnagy> undefine doesn't undefine
<Hanmac> lets say what blassing wants is not good for ruby
<bnagy> it just 'blocks' dispatch
gasbakid has joined #ruby
<blassing> sure, I can live with that :D
<shevy> blassing see? now Hanmac realized that what you want is not good for ruby!!!
<blassing> just learning here
jegerlow has joined #ruby
<waxjar> really bnagy? :(
brennanMKE has joined #ruby
freebs has joined #ruby
grep_away is now known as grep_awesome
vlad_starkov has joined #ruby
AirDisa has quit [Remote host closed the connection]
<bnagy> waxjar: afaik yeah
<bnagy> I believe you can still step around it, even
pen has joined #ruby
AirDisa has joined #ruby
<bnagy> but I haven't fiddled with it for a while, could be wrong / out of date
<waxjar> heh, it is ruby after all :p
<bnagy> anyway gtg
pushpak has joined #ruby
blassing has left #ruby [#ruby]
nemesit|znc has joined #ruby
blassing has joined #ruby
AirDisa has quit [Read error: Connection reset by peer]
obs has quit [Ping timeout: 246 seconds]
jonathanwallace has joined #ruby
AirDisa has joined #ruby
jkamenik has quit [Quit: Leaving.]
joaoh82 has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
mneorr has joined #ruby
blassing has left #ruby [#ruby]
gasbakid has quit [Max SendQ exceeded]
aspiers has quit [Read error: Connection reset by peer]
psyl0n has quit [Remote host closed the connection]
joaoh82 has quit [Read error: Connection reset by peer]
klcant102 has joined #ruby
joaoh82 has joined #ruby
gasbakid has joined #ruby
m00nlight has joined #ruby
spyderman4g63 has joined #ruby
z has quit [Ping timeout: 246 seconds]
z has joined #ruby
jegerlow has quit [Ping timeout: 272 seconds]
SHyx0rmZ has joined #ruby
aryaching has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
AirDisa has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
joaoh82 has quit [Ping timeout: 260 seconds]
totalmajor has joined #ruby
vlad_starkov has joined #ruby
Hanmac1 has joined #ruby
blackmes1 has joined #ruby
AirDisa has joined #ruby
psyl0n has joined #ruby
agjacome has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
blarghmatey has joined #ruby
figgleberry has joined #ruby
nateberkopec has joined #ruby
totalmajor has quit [Ping timeout: 260 seconds]
gasbakid has quit [Remote host closed the connection]
kewubenduben has quit []
estebistec has joined #ruby
AirDisa has quit [Remote host closed the connection]
pskosinski has joined #ruby
DrShoggoth has joined #ruby
z has quit [Ping timeout: 246 seconds]
eka has joined #ruby
az has joined #ruby
wildroman2 has quit [Remote host closed the connection]
z has joined #ruby
lewix has quit [Remote host closed the connection]
DrShoggoth has quit [Max SendQ exceeded]
banghouse has joined #ruby
aspiers_ has joined #ruby
DrShoggoth has joined #ruby
sepp2k1 has joined #ruby
shime_ has quit [Ping timeout: 272 seconds]
AlSquire has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
z has quit [Ping timeout: 246 seconds]
rubyracer has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
sepp2k has quit [Ping timeout: 246 seconds]
jegerlow has joined #ruby
shime has joined #ruby
axl_ has joined #ruby
z has joined #ruby
psyl0n has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
bklane has quit [Remote host closed the connection]
TomRone has joined #ruby
klcant102 has quit [Quit: Leaving]
z has quit [Ping timeout: 246 seconds]
aspiers_ has quit [*.net *.split]
banghouse has quit [*.net *.split]
JStoker has quit [*.net *.split]
dayepa has quit [*.net *.split]
pipecloud has quit [*.net *.split]
lupine has quit [*.net *.split]
bgy has quit [*.net *.split]
brennanMKE has joined #ruby
Parker0 has joined #ruby
obs has joined #ruby
DrShoggoth has quit [Ping timeout: 272 seconds]
sayan_ has quit [Ping timeout: 246 seconds]
Brolen has joined #ruby
Neomex has joined #ruby
klcant102 has joined #ruby
JPascal has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
meatherly has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
brennanMKE has quit [Ping timeout: 272 seconds]
michaeldeol has joined #ruby
mechanicles has joined #ruby
aspiers_ has joined #ruby
dayepa has joined #ruby
z has joined #ruby
pipecloud has joined #ruby
JStoker has joined #ruby
bgy has joined #ruby
lupine has joined #ruby
banghouse has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
drago777 has joined #ruby
tyl has quit [Write error: Broken pipe]
meatherly has quit [Read error: Connection reset by peer]
threesome has joined #ruby
pen has quit []
meatherly has joined #ruby
DrShoggoth has joined #ruby
havenwood has joined #ruby
mansi_ has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
Megtastique has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
centipedefarmer has quit [Remote host closed the connection]
gja has joined #ruby
joriso has joined #ruby
<olivier_bK> hy all
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
mansi_ has quit [Ping timeout: 260 seconds]
DrShoggoth has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 272 seconds]
<olivier_bK> In the script A i call the script b for make a backup of database
<olivier_bK> but all the time after 5 or 10s
Kar- has joined #ruby
<olivier_bK> i get lost connection
<olivier_bK> do you know how i can tell to the script A to wait
<olivier_bK> ??
Neomex has quit [Quit: Neomex]
kewubenduben has joined #ruby
sayan has joined #ruby
<Hanmac1> olivier_bK: rails ?
<olivier_bK> ruby
<Hanmac1> no i mean what do you use for backuping the database?
Advocation has joined #ruby
joriso has quit [Read error: Connection reset by peer]
<olivier_bK> ohh
<olivier_bK> mysqldump
<olivier_bK> :)
<klcant102> olivier_bK: you can try to use sleep(num_secs) in your script
mechanicles has quit [Quit: Computer has gone to sleep.]
<olivier_bK> okai but
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<olivier_bK> all database doesn't have same size
AlSquire has quit [Ping timeout: 272 seconds]
joaosa has joined #ruby
<olivier_bK> for exemple for agfio is 100Mo but for korus is 1Go
AlSquire has joined #ruby
<Hanmac1> there is popen or Open3 ... one of them has a way to wait unitl its finish
DrShoggoth has joined #ruby
okinomo has quit [Ping timeout: 252 seconds]
<klcant102> olivier_bK: so you are actually wanting to have script A wait until script B finishes before it continues (not a timed thing ... but a trigered thing)?
Parker0 has joined #ruby
<Advocation> what am I doing wrong here? https://gist.github.com/Advocation/1e0fa395cd82f7660e81
doodlehaus has joined #ruby
IceDragon has joined #ruby
<Advocation> getting an ENOENT error, even though I'm looking at the file
<Hanmac1> Advocation: look at String#chomp
peregrine81 has joined #ruby
browndawg has left #ruby [#ruby]
centipedefarmer has joined #ruby
rubyracer has quit [Read error: Connection reset by peer]
kcombs has joined #ruby
ehc has joined #ruby
burlyscudd1 has joined #ruby
<Advocation> Hanmac1: thanks, I've put that on the file = gets.chomp, but I'm still receiving the same error..
Nilium has quit [Ping timeout: 240 seconds]
burlyscudd1 has left #ruby [#ruby]
rm_ has quit [Remote host closed the connection]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
lupine has quit [Quit: ZNC - http://znc.in]
rm_ has joined #ruby
lupine has joined #ruby
mansi_ has joined #ruby
<shevy> what is the way to check if string x = 'abc3gg' includes a (at least one) number?
<olivier_bK> klcant102, yes
<shevy> found it
samsonasu has joined #ruby
lmickh has joined #ruby
<phutchins> If i'm trying to use json in a recipe, can i just do node = { :logstash => { :server => .... ?
<olivier_bK> klcant102, do you have an idea ?
jkamenik has joined #ruby
cow_ has quit [Remote host closed the connection]
Nilium_ has joined #ruby
<phutchins> and also, can someone explain to me the difference (or point me in the right direction on how to google the answer) between doing something like bleh: "stuff" and :bleh => "stuff"
Wolland has quit [Remote host closed the connection]
<hoelzro> phutchins: they're the same
mrnugget has quit [Quit: mrnugget]
rm_ has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
DrShoggoth has quit [Ping timeout: 240 seconds]
niklasb has joined #ruby
Czupa has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
_maes_ has joined #ruby
fmcgeough has joined #ruby
snath has quit [Ping timeout: 240 seconds]
obs has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
kewubenduben has quit [Ping timeout: 240 seconds]
kewubenduben has joined #ruby
mneorr has joined #ruby
sayan has quit [Max SendQ exceeded]
nhmood_ has joined #ruby
banghouse is now known as Guest53487
z is now known as Guest54434
asteve has joined #ruby
<olivier_bK> how i can tell to my script to wait until script b finishe before to display lost connection ?
sayan has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
MindfulMonk has joined #ruby
joaoh82 has joined #ruby
bean has joined #ruby
nateberkopec has quit [Quit: Leaving...]
shime has quit [Ping timeout: 246 seconds]
Guest53487 is now known as banghouse
Guest54434 has quit [Ping timeout: 246 seconds]
z_ has joined #ruby
<hoelzro> olivier_bK: is script b running as a child process of script a?
_honning_ has joined #ruby
<olivier_bK> no
DrShoggoth has joined #ruby
<olivier_bK> hoelzro, he do ssh connection on server b for execute the script
MindfulMonk has quit [Client Quit]
mneorr has quit [Ping timeout: 245 seconds]
nhmood_ has quit []
nhmood has joined #ruby
<hoelzro> "[15:42] < olivier_bK> | In the script A i call the script b for make a backup of database"
<hoelzro> I'm confused now...
DeanH has joined #ruby
DeanH has quit [Max SendQ exceeded]
<shevy> lol
wildroman2 has joined #ruby
mzdravkov has left #ruby [#ruby]
<shevy> he just wants to backup something
joaoh82 has quit [Ping timeout: 252 seconds]
<shevy> phutchins obviously you save a character if you use the first version
<shevy> or perhaps two
mary5030 has joined #ruby
<olivier_bK> hoelzro, in the server A i have a script he try to connect in ssh to server b for execute the script b for backup database
<olivier_bK> but sometimes the size of database is different so i get lost connection
<olivier_bK> from server b
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
<hoelzro> olivier_bK: could you paste the code for script A?
alexherbo2 has joined #ruby
<olivier_bK> yes
<olivier_bK> gime me one minute
<olivier_bK> thanks
mansi_ has quit [Remote host closed the connection]
psyl0n has joined #ruby
JPascal has joined #ruby
<phutchins> hoelzro: ok cool thanks :)
<phutchins> but its ok to do node = { :blaah... ?
moneydouble1 has quit [Quit: Leaving.]
JPascal has quit [Client Quit]
Megtastique has quit []
ayaz has quit [Quit: leaving]
z_ has quit [Ping timeout: 246 seconds]
z_ has joined #ruby
<hoelzro> phutchins: what do you mean?
z_ has quit [Changing host]
z_ has joined #ruby
<shevy> phutchins well, can you show the complete syntax?
cow_ has joined #ruby
DrShoggoth has quit [Ping timeout: 246 seconds]
<hoelzro> olivier_bK: I've never used Net::SSH, but you might have to set some sort of timeout parameter
<shevy> obviously "node = { :blaah..." would not be valid
lewix has joined #ruby
kevind has joined #ruby
<hoelzro> check strace/logs for more information
Brolen has quit [Quit: Brolen]
<txdv> o ruby with its green threads
tylersmith has joined #ruby
sayan has quit [Ping timeout: 246 seconds]
<txdv> all the disatvantages of thread synchronization combined with no advantage on multi processors
drago777 has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
mordocai has joined #ruby
drago777 has joined #ruby
<phutchins> hoelzro: yeah sure. Its a bunch of json after the { but to shorten it with a complete example... maybe something like: node = { :blah => { :other_blah => [ "hi there" ] } }
mengu has quit []
<hoelzro> yeah, that looks fine
<phutchins> hoelzro: ok cool thx.
ambushsabre has joined #ruby
<phutchins> and would be thes same as node.blah = { :other_blah => [ "hi there" ] }
<phutchins> yes?
ludar has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
<olivier_bK> hoelzro, i going to see
_honning_ has quit [Ping timeout: 272 seconds]
<hoelzro> more like node[:blah] = { :other_blah => [ 'hi there' ] }
<hoelzro> node.blah = is a method call
<hoelzro> (well, so is node[:blah]...)
<phutchins> ah, i think the node object for chef allows it but that makes sense and good to know about pure ruby...
<phutchins> i know i can do node[:blaah]
<phutchins> but the node = threw me off
<hoelzro> ah
<hoelzro> well
<hoelzro> you *could* create an object that treated node.blah = as node[:blah] =
ludar is now known as ludarr
z_ has quit [Ping timeout: 246 seconds]
Advocation has quit [Quit: Advocation]
ludarr is now known as ludar
<pontiki> that might even be an OpenStruct
z_ has joined #ruby
Nuck has quit [Quit: Nuck Off]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
vlad_starkov has joined #ruby
<phutchins> hoelzro: yeah, i think thats what chef's node object does. only when accessing tho not assigning. I may have to do node.default = {
brennanMKE has joined #ruby
<hoelzro> ah
<phutchins> if you're curious...
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
tedstriker has quit [Quit: Anti-Fraping status set.]
lewix has quit [Remote host closed the connection]
tedstriker has joined #ruby
phansch has quit [Quit: Leaving]
fuhgeddaboudit has joined #ruby
z_ has quit [Ping timeout: 246 seconds]
brennanMKE has quit [Ping timeout: 252 seconds]
aqabiz has joined #ruby
michaeldeol has joined #ruby
jkary has joined #ruby
aqabiz has quit [Client Quit]
z_ has joined #ruby
awestroke has quit [Read error: Connection reset by peer]
lewix has joined #ruby
alexherbo21 has joined #ruby
alexherbo21 has quit [Client Quit]
nateberkopec has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Trynemjoel has quit [Ping timeout: 245 seconds]
arietis has joined #ruby
aqabiz has joined #ruby
aqabiz has quit [Max SendQ exceeded]
carraroj has joined #ruby
havenwood has joined #ruby
aqabiz has joined #ruby
aqabiz has quit [Max SendQ exceeded]
<shevy> why doesn't hash have .foo= setters for existing keys actually?
eka has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
<hoelzro> shevy: that would clash with other methods on Hash
gja has quit [Quit: This computer has gone to sleep]
wildroman2 has quit [Remote host closed the connection]
<hoelzro> well, maybe not the setters
gja has joined #ruby
<DouweM> would with #default_proc= :)
<hoelzro> but it's not the POLS to have setters work and getters not
<hoelzro> DouweM: good point =)
shredding has quit [Quit: shredding]
<breakingthings> #default= and #default_proc=
<DouweM> it'd also only work for symbol keys
<DouweM> or string, obviously, but only one or the other, and it wouldn't work with other objects at all
rubyracer has joined #ruby
<DouweM> and not all strings can be used as methods
<DouweM> symbols not either
moneydouble has joined #ruby
Trynemjoel has joined #ruby
havenwood has quit [Ping timeout: 260 seconds]
z_ has quit [Ping timeout: 246 seconds]
z_ has joined #ruby
<shevy> hoelzro ah right
jmo has quit [Ping timeout: 272 seconds]
abstr4ct has joined #ruby
<Hanmac1> DouweM: all strings can be used as methods with #send
LexicalScope` has quit [Ping timeout: 252 seconds]
LexicalScope has quit [Ping timeout: 252 seconds]
<DouweM> I wondered if that was so
<DouweM> Sidekiq also has a `def self.❨╯°□°❩╯︵┻━┻` method
spirts has joined #ruby
<abstr4ct> nood here... anyone have any sugestions on how to do this... https://gist.github.com/anonymous/b299d78b4adf3b0ee7b7
<abstr4ct> nood=noob
<Hanmac1> DouweM:
<Hanmac1> >> define_method("\00 \00 \1") {p "what"}; send("\x00 \x00 \x01")
carraroj has quit [Ping timeout: 272 seconds]
danshult_ has quit [Read error: Connection reset by peer]
<DouweM> what
z_ has quit [Ping timeout: 246 seconds]
danshultz has joined #ruby
z_ has joined #ruby
<Hanmac1> DouweM: as you can see you can use nearly everything as method name :P
<DouweM> there's are degrees of practicality however :)
<DouweM> *there
wallerdev has joined #ruby
<abstr4ct> ooh, seems i just figured it out... haha
rickruby has quit [Remote host closed the connection]
falood has quit [Ping timeout: 248 seconds]
kcombs has quit [Remote host closed the connection]
brennanMKE has joined #ruby
obs has joined #ruby
lurch_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> damn
<shevy> the folks in malaysia are faster than we
<shevy> they have new year very soon
<shevy> HURRY UP GUYS
cow_ has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
z_ has quit [Ping timeout: 246 seconds]
rm_ has quit [Remote host closed the connection]
r0bby_ has quit [Ping timeout: 240 seconds]
rm_ has joined #ruby
gja has joined #ruby
baroquebobcat has joined #ruby
jegerlow has quit [Quit: Leaving]
z_ has joined #ruby
jkary has quit [Ping timeout: 252 seconds]
Czupa has quit [Remote host closed the connection]
Virtualize has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
spirts has quit [K-Lined]
cow_ has joined #ruby
mechanicles has joined #ruby
baroquebobcat has quit [Client Quit]
r0bby_ has joined #ruby
r0bby_ has quit [Changing host]
r0bby_ has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
psyl0n has quit [Remote host closed the connection]
lukec has joined #ruby
z_ has quit [Ping timeout: 246 seconds]
rickruby has joined #ruby
DrShoggoth has joined #ruby
z has joined #ruby
mneorr has joined #ruby
Guest65856 has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
<abstr4ct> uhm seems it did not work
robbyoconnor has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
tommyvyo has joined #ruby
chrisan_x has joined #ruby
joaoh82 has joined #ruby
chrisan has quit [Read error: Connection reset by peer]
sambao21 has quit [Ping timeout: 240 seconds]
teenwolf has joined #ruby
<abstr4ct> trying to add lower-case function to an existing line, any ideas? https://gist.github.com/anonymous/b299d78b4adf3b0ee7b7
gja has quit [Quit: This computer has gone to sleep]
sharms has quit [Ping timeout: 240 seconds]
az has quit [Ping timeout: 240 seconds]
Dwarf has quit [Ping timeout: 240 seconds]
mordocai` has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
TomRone has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
az has joined #ruby
r0bby_ has quit [Ping timeout: 246 seconds]
crus` has joined #ruby
z has quit [Ping timeout: 245 seconds]
ereslibre_laptop has joined #ruby
ereslibre_laptop has joined #ruby
ereslibre_laptop has quit [Changing host]
mneorr has quit [Ping timeout: 252 seconds]
figgleberry has quit [Ping timeout: 272 seconds]
totalmajor has joined #ruby
lurch__ has joined #ruby
lurch__ has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
MindfulMonk has joined #ruby
joaoh82 has quit [Ping timeout: 246 seconds]
z has joined #ruby
miqsu has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
Hien_ has joined #ruby
phus1on has quit [Ping timeout: 272 seconds]
dioms_ has joined #ruby
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
jmbrown412 has joined #ruby
phus1on has joined #ruby
<jmbrown412> Is it possible to create a gem that uses another gem? I want to create a gem for talking to Equifax and would likely use some gem to do the XML messaging.
cameronbarton has joined #ruby
cow__ has joined #ruby
cgore has joined #ruby
totalmajor has quit [Ping timeout: 272 seconds]
lethjakman has joined #ruby
cow_ has quit [Read error: Connection reset by peer]
Taranis has joined #ruby
[0x1a]_ has joined #ruby
cow__ has quit [Remote host closed the connection]
geggam has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 248 seconds]
roadt has quit [Read error: Connection reset by peer]
z has quit [Ping timeout: 246 seconds]
robmozart_ has joined #ruby
rm_ has joined #ruby
z has joined #ruby
<DouweM> sure, you can specify the other gem as a dependency
havenwood has joined #ruby
rickruby has quit [Remote host closed the connection]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
rickruby has joined #ruby
frode15243_ has joined #ruby
kevind_ has joined #ruby
nhmood_ has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
adam12 is now known as adam
adam has quit [Disconnected by services]
miqsu has quit [Quit: WeeChat 0.4.2]
mordocai` has quit [Remote host closed the connection]
lurch_ has quit [Ping timeout: 240 seconds]
voodoofish has quit [Ping timeout: 240 seconds]
crus has quit [Remote host closed the connection]
DarkFoxDK has quit [Ping timeout: 240 seconds]
Meistarin has quit [Ping timeout: 240 seconds]
jokke has quit [Ping timeout: 240 seconds]
ereslibre has quit [Read error: Connection reset by peer]
TomRone has joined #ruby
dioms has quit [Ping timeout: 240 seconds]
psyprus has joined #ruby
Nightmare has quit [Ping timeout: 240 seconds]
Hien has quit [Ping timeout: 240 seconds]
Dwarf has joined #ruby
mordocai has quit [Ping timeout: 240 seconds]
larissa has quit [Quit: Leaving]
jaybe has quit [Ping timeout: 240 seconds]
kenichi has quit [Ping timeout: 240 seconds]
utkarsh has quit [Ping timeout: 240 seconds]
seich- has quit [Ping timeout: 240 seconds]
TomRone has quit [Changing host]
TomRone has joined #ruby
stardiviner has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
[0x1a] has quit [Ping timeout: 240 seconds]
aetaric has quit [Ping timeout: 240 seconds]
robmozart has quit [Ping timeout: 240 seconds]
zz_jrhorn424 has quit [Ping timeout: 240 seconds]
mordocai` has joined #ruby
Taranis_ has quit [Ping timeout: 240 seconds]
mbff_ has quit [Ping timeout: 240 seconds]
sophomorical has quit [Ping timeout: 240 seconds]
seich- has joined #ruby
flagg0204 has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
lukec has quit [Ping timeout: 240 seconds]
Paradox has quit [Ping timeout: 240 seconds]
DarkFoxDK has joined #ruby
blo has quit [Ping timeout: 240 seconds]
kenichi has joined #ruby
frode15243 has quit [Ping timeout: 240 seconds]
psyprus has joined #ruby
nhmood has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
mjmac has quit [Ping timeout: 240 seconds]
kevind has quit [Read error: Connection reset by peer]
Nightmare has joined #ruby
xiphias has joined #ruby
aetaric has joined #ruby
mjmac has joined #ruby
aetaric has quit [Excess Flood]
flagg0204 has joined #ruby
jaybe has joined #ruby
sophomorical has joined #ruby
mbff_ has joined #ruby
utkarsh has joined #ruby
aetaric has joined #ruby
zz_jrhorn424 has joined #ruby
Sthebig has quit [Ping timeout: 240 seconds]
mordocai` has quit [Remote host closed the connection]
blo has joined #ruby
Sthebig_ has joined #ruby
sharms has joined #ruby
Sthebig_ is now known as Sthebig
adam- has joined #ruby
Nightmare has quit [Changing host]
Nightmare has joined #ruby
yacks has joined #ruby
kevind_ is now known as kevind
psyl0n has joined #ruby
nhmood_ is now known as nhmood
lewix has quit [Remote host closed the connection]
jaybe has quit [Changing host]
jaybe has joined #ruby
frode15243_ is now known as frode15243
robmozart_ is now known as robmozart
xiphias has quit [Changing host]
xiphias has joined #ruby
<jmbrown412> perfect! thanks DouweM
z has quit [Ping timeout: 246 seconds]
<abstr4ct> seems nokogiri doesnt support xpath 2
<abstr4ct> hrm
psyl0n has quit [Changing host]
psyl0n has joined #ruby
lukec has joined #ruby
rickruby has quit [Ping timeout: 252 seconds]
z has joined #ruby
blo has quit [Changing host]
blo has joined #ruby
mehlah has quit [Quit: Leaving...]
rurban has quit [Read error: Connection timed out]
blandflakes has joined #ruby
voodoofish has joined #ruby
z has quit [Changing host]
z has joined #ruby
rurban has joined #ruby
teenwolf has quit [Quit: Leaving...]
Meistarin has joined #ruby
leynos has joined #ruby
teenwolf has joined #ruby
mehlah has joined #ruby
Kricir has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
baroquebobcat has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
Paradox has joined #ruby
flame_ has joined #ruby
vlad_starkov has joined #ruby
Wolland has joined #ruby
prc has joined #ruby
meatherly has quit [Read error: Connection reset by peer]
jonathanwallace_ has joined #ruby
DrShoggoth has joined #ruby
meatherly has joined #ruby
mehlah has quit [Ping timeout: 272 seconds]
tedstriker has quit [Quit: Anti-Fraping status set.]
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
contradictioned has joined #ruby
jonathanwallace has quit [Quit: WeeChat 0.4.1]
jonathanwallace_ is now known as jonathanwallace
meatherly has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
Advocation has joined #ruby
Nilium_ has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Ping timeout: 272 seconds]
DrShoggoth has quit [Ping timeout: 272 seconds]
lnemo has joined #ruby
Advocation has quit [Client Quit]
lnemo has left #ruby [#ruby]
Advocation has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
soobus has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
figgleberry has joined #ruby
leynos has quit [Quit: Off to dreams of Laserdiscs and Neo-Geos]
smathieu has joined #ruby
figgleberry has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
tylersmith has quit [Remote host closed the connection]
attomos has joined #ruby
jkamenik has quit [Quit: Leaving.]
Nilium has joined #ruby
bean has joined #ruby
meatherly has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
bean has quit [Client Quit]
mikesplain has joined #ruby
CaptainJet has joined #ruby
lukec has quit [Quit: lukec]
Megtastique has joined #ruby
snath has joined #ruby
pdtpatrick has quit [Quit: leaving]
meatherly has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
adam- is now known as adam12
<apeiros> muahaha, I'm back, finally
meatherly has joined #ruby
<apeiros> holy odyssey…
rickruby has joined #ruby
lethjakman has quit [Ping timeout: 246 seconds]
TomRone has quit [Ping timeout: 240 seconds]
bentonrr has joined #ruby
Astral_ has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
<havenwood> apeiros: w00t! :)
<apeiros> funny moment after >2h of restoring from time machine backup: no apps. whatsoever. not even System Preferences.app
fuhgeddaboudit has quit [Ping timeout: 260 seconds]
<apeiros> (I had /Applications excluded from backup… saving some 20GB of backup data…)
iamjarvo has joined #ruby
vertreko has joined #ruby
carraroj has joined #ruby
<apeiros> even more funny - if you copy System Preferences.app from another 10.9, it'll complain about the developer not being certified :D
axl_ has quit [Quit: axl_]
<Hanmac1> apeiros: and where is the channel thread update? ;P
DarkFoxDK has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
TomRone has joined #ruby
TomRone has quit [Changing host]
Dwarf has quit [Ping timeout: 240 seconds]
xiphias has joined #ruby
Paradox has quit [Ping timeout: 240 seconds]
seich- has quit [Ping timeout: 240 seconds]
mjmac has quit [Ping timeout: 240 seconds]
xiphias has quit [Changing host]
DarkFoxDK has joined #ruby
xiphias has joined #ruby
mbff_ has quit [Ping timeout: 240 seconds]
mjmac has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
seich- has joined #ruby
Dwarf has joined #ruby
p8952 has quit [Ping timeout: 240 seconds]
mbff has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
Nightmare has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
sophomorical has quit [Quit: #ircbin]
psyprus has joined #ruby
<apeiros> ain't got time for this! got to fully restore this laptop first!
Meistarin has quit [Ping timeout: 240 seconds]
sophomorical has joined #ruby
p8952 has joined #ruby
Nightmare has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
Meistarin has joined #ruby
xiphias has joined #ruby
glanotte has joined #ruby
Nightmare has quit [Changing host]
Nightmare has joined #ruby
mbff is now known as Guest50446
xiphias has quit [Changing host]
xiphias has joined #ruby
apeiros changed the topic of #ruby to: Ruby 2.1.0-p0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org|| Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<apeiros> chanserv ddosed?
<apeiros> acting quiiiite a bit slow…
Paradox has joined #ruby
zxd has quit [Ping timeout: 240 seconds]
* Hanmac1 is currently playing with ruby2.2 ;P
gquental has quit [Ping timeout: 245 seconds]
axl_ has joined #ruby
<apeiros> you're the avant garde
<mjc_> abstr4ct: can you provide a sample document?
<mjc_> or a snippet of one
<mjc_> something I can test against
psyl0n has quit [Remote host closed the connection]
ndngvr has joined #ruby
vertreko has quit [Quit: WeeChat 0.4.1]
carraroj has quit [Read error: Operation timed out]
bean has joined #ruby
<shevy> jmbrown412 in .gemspec file you can specify the dependencies via a call to .add_dependency
ndngvr` has quit [Ping timeout: 252 seconds]
Virtualize has quit [Read error: Connection reset by peer]
glanotte has quit [Remote host closed the connection]
<jmbrown412> shevy: thanks so much. I will do that.
<shevy> apeiros that teaches you to delete things on your old laptop!!!
Solnse has joined #ruby
glanotte has joined #ruby
<shevy> Hanmac1 did you know that apeiros does not use linux :(
apeiros has quit [Read error: Connection reset by peer]
skulker has joined #ruby
<Hanmac1> imo its his own fault ;P
Hanmac1 is now known as Hanmac
apeiros has joined #ruby
<shevy> yeah, he abused his laptop
<shevy> probably used it as ashtray
<shevy> and as a sleeping area for the cat
<Hanmac> hey! cats are cool ;P
Advocation has quit [Quit: Advocation]
<havenwood> cats \o/
<apeiros> on the upside, I now have a new keyboard and trackpad for free.
<shevy> cats are evil
<apeiros> (well, where "free" equates to 13 days without my laptop and an afternoon waiting for it to recover…)
soobus has joined #ruby
<shevy> did you not watch tom and jerry? tom always wanted to eat poor jerry
<shevy> strange repairs you have there
<shevy> sounds more like feature additions
<shevy> "and this new cam even spies me for free!!!"
<havenwood> apeiros: a few people mentioned a bump, but i don't even know another op on this channel?
gregoriokusowski has joined #ruby
fuhgeddaboudit has joined #ruby
<havenwood> apeiros: i think `2.1.0` is a bit better than `2.1.0-p0` since they've removed patch numbers from the name with sem ver change.
<apeiros> havenwood: /cs access #ruby list
michaeldeol has joined #ruby
anderson has quit [Excess Flood]
<apeiros> havenwood: hu? reference?
anderson has joined #ruby
glanotte has quit [Quit: glanotte]
Tearan has joined #ruby
peregrine81 has quit []
<apeiros> interesting semantics for MINOR :D
joaoh82 has joined #ruby
glanotte has joined #ruby
jkamenik has joined #ruby
lessless has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
soobus has quit [Ping timeout: 245 seconds]
Azulinho has quit [Read error: Operation timed out]
<havenwood> apeiros: caused a bit of chaos with updating the version managers because most of us read "after 2.1.0" as meaning *after* :P
<apeiros> hah
<apeiros> but it seems they still do have a patchlevel
<havenwood> apeiros: so they changed the blog post to read "starting with" instead of "after" (bit of a translation error I believe)
<lessless> is it possible to alter file path in the path = File.join(Rails.root, 'public/files', value) if 'value' is coming from user?
<apeiros> lessless: just… change it?
<havenwood> apeiros: Patch level only internally with RUBY_PATCHLEVEL, but no longer part of the release version or filename.
<apeiros> o0
coca_rails has joined #ruby
mreiss has joined #ruby
kraljev has joined #ruby
rubyracer has joined #ruby
<lessless> apeiros, except that ;)
<lessless> there is a check value.gsub!('..', '')
<lessless> but this is the only one
gquental has joined #ruby
doodlehaus has quit [Remote host closed the connection]
kraljev1 has quit [Read error: Operation timed out]
<apeiros> lessless: your question makes no sense to me.
<apeiros> you ask whether you can alter the file path - yes, you can.
rm_ has quit [Remote host closed the connection]
meatherl_ has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
<lessless> apeiros, here is full code https://gist.github.com/dirty-hippie/8199753
rm_ has joined #ruby
byprdct has joined #ruby
<lessless> is it safe?
soba_ has quit [Quit: See you...]
<havenwood> apeiros: So next Ruby release will be 2.1.1 :O
<apeiros> lessless: in what regard?
attomos has quit [Quit: leaving]
<havenwood> we've entered the modern era... :P
<apeiros> havenwood: I'll read about it next year :)
<havenwood> haha
<lessless> apeiros, can user read file outside of Rails.root
<havenwood> 2.2 next Christmas, what wonders will it bring?!
<apeiros> lessless: aha, now a question which makes some sense
<apeiros> not sure
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodlehaus has joined #ruby
meatherly has quit [Ping timeout: 248 seconds]
soobus has joined #ruby
rm_ has quit [Ping timeout: 260 seconds]
mreiss has quit [Ping timeout: 260 seconds]
<havenwood> lessless: try #rubyonrails for Rails stuffs
endash_ has joined #ruby
<lessless> havenwood, it's a plain ruby stuff dude
bean has joined #ruby
<havenwood> Rails.root #=> lies!
<shevy> Rails.root is plain ruby?
<lessless> IO.read is plain ruby
<lessless> wtf people
cameronbarton has quit [Quit: cameronbarton]
<lessless> Rails.root is a simple variable here
Lulzon has joined #ruby
lfox has joined #ruby
lethjakman has joined #ruby
byprdct has quit [Ping timeout: 272 seconds]
<shevy> <lessless> apeiros, can user read file outside of Rails.root
<shevy> on a computer, you can use File.readlines just fine on all files you have read access to
<apeiros> havenwood, shevy: replace `Rails.root` with "/some/dir"
<apeiros> tadaa, plain ruby question
moneydouble has left #ruby [#ruby]
<havenwood> Whew, back to sanity! :P
totalmajor has joined #ruby
bean has quit [Client Quit]
<Hanmac> lessless lets say, if the system is correct configured and secured you should not be able to read outside of Rails.root (otherwise it might be a security (w)hole)
<shevy> again I see Rails here
<shevy> what is going on
adambeynon has quit []
<shevy> neither Hanmac or lessless are on #rubyonrails hmmmm :)
<lessless> shevy, turn on abstract thinking buddy :)
bean has joined #ruby
<lessless> it's a variable
bean has quit [Client Quit]
flubba has joined #ruby
<shevy> sure, you can use any variable you want to for File.readlines
Kricir has joined #ruby
<lessless> are you an Hindu or something?
<shevy> no
iamjarvo has quit [Remote host closed the connection]
<shevy> are you a Railser or something?
maletor has joined #ruby
iamjarvo has joined #ruby
<lessless> Hanmac, do you mean a chroot?
<Hanmac> maybe ;P but i am not telling you that ,P
<apeiros> gawd, what's wrong with you guys?
<apeiros> are you all having a bad day or something?
rm_ has joined #ruby
Advocation has joined #ruby
meatherl_ has quit [Read error: Connection reset by peer]
colonolGron has quit [Quit: leaving]
meatherly has joined #ruby
* Hanmac thinks he eat to much "chick peas" ;P
joaoh82 has joined #ruby
bean has joined #ruby
rankine has joined #ruby
dogweather has joined #ruby
rankine has quit [Changing host]
rankine has joined #ruby
iamjarvo_ has joined #ruby
cameronbarton has joined #ruby
michaeldeol has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
iamjarvo_ has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
interactionjaxsn has joined #ruby
Advocation has quit [Quit: Advocation]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo_ has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
niklasb has quit [Ping timeout: 252 seconds]
jmo has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Virtualize has joined #ruby
flame_ has quit [Remote host closed the connection]
flame_ has joined #ruby
mikeg has joined #ruby
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby
flame_ has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
artgoeshere has joined #ruby
olivier_bK has quit [Read error: Operation timed out]
flame_ has joined #ruby
ambushsabre has quit [Quit: rip]
<artgoeshere> I'm testing for `object.name.empty?` were object.name is a string, though sometimes empty
<artgoeshere> Every once in awhile it ends up nil
<artgoeshere> And that breaks my logic 'cause nil.empty? throws an error
flame_ has quit [Remote host closed the connection]
<artgoeshere> Is there a sexy ruby way to get around there? or do I need to write the whole thing out:
<artgoeshere> if object.name && object.name.empty?
flame_ has joined #ruby
<Hanmac> object.name.to_s.empty?
jmo has quit [Ping timeout: 246 seconds]
mjburgess has quit [Ping timeout: 245 seconds]
<artgoeshere> aaaaaaah
<artgoeshere> Thank you
Linux_Extremist has joined #ruby
Linux_Extremist has quit [Max SendQ exceeded]
Linux_Extremist has joined #ruby
rankine has quit [Ping timeout: 265 seconds]
interactionjaxsn has quit [Remote host closed the connection]
ssvo has joined #ruby
RoryHughes has joined #ruby
interactionjaxsn has joined #ruby
aspires has joined #ruby
tylersmith has joined #ruby
stetho has quit [Ping timeout: 240 seconds]
figgleberry has joined #ruby
rickruby has joined #ruby
DeanH has joined #ruby
interactionjaxsn has quit [Ping timeout: 245 seconds]
croaky has joined #ruby
rickruby has quit [Remote host closed the connection]
byprdct has joined #ruby
rickruby has joined #ruby
benzrf has joined #ruby
<benzrf> hello rubyists
coca_rails has quit [Remote host closed the connection]
coca_rails has joined #ruby
coca_rails has quit [Remote host closed the connection]
glanotte has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
S0da has joined #ruby
rickruby has quit [Ping timeout: 272 seconds]
<benzrf> man why is every channel so freakin quiet
benzrf has left #ruby [#ruby]
benzrf has joined #ruby
<terrellt> New years eve?
benzrf has left #ruby [#ruby]
bean has joined #ruby
h4mz1d has joined #ruby
allsystemsarego has quit [Quit: Leaving]
kraljev1 has joined #ruby
Czupa has joined #ruby
ambushsabre has joined #ruby
mojjojo has quit [Quit: mojjojo]
<pontiki> time to party like it's 1999
kraljev has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
burlyscudd has joined #ruby
<kraljev1> Why is Ripper.tokenize more than just tokenizer
<kraljev1> Ripper.tokenize "SELECT 1+2 AS sum"
<kraljev1> => ["SELECT", " ", "1", "+", "2", " ", "AS"]
<kraljev1> it shouldn't give a damn about ruby syntax
blarghmatey has quit [Ping timeout: 251 seconds]
mojjojo has joined #ruby
cameronbarton has quit [Quit: cameronbarton]
nanoyak has joined #ruby
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
jokke has joined #ruby
Azure has joined #ruby
<dogweather> artgoeshere: object.name.try(:empty?)
jkamenik has quit [Quit: Leaving.]
<dogweather> I believe that returns nil if name is nil, which is false-ish.
jkary has joined #ruby
mklappstuhl has joined #ruby
cameronbarton has joined #ruby
_honning_ has joined #ruby
mjburgess has joined #ruby
Bumptious has quit [Remote host closed the connection]
<artgoeshere> dogweather: Looks like that works too
<artgoeshere> Danke :)
<dogweather> kein Problem
Bumptious has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
iamjarvo has joined #ruby
w|t has quit [Ping timeout: 260 seconds]
jkary has quit [Client Quit]
jkary has joined #ruby
w|t has joined #ruby
banghouse is now known as dogehouse
shedd has joined #ruby
Tearan has quit []
burlyscudd has quit [Quit: Leaving.]
flubba has quit [Remote host closed the connection]
<shevy> omg german invasion
Czupa has quit [Remote host closed the connection]
fearoffish has quit [Read error: Operation timed out]
jellow has quit [Read error: Operation timed out]
Freijo has quit [Read error: Operation timed out]
sirecote has quit [Read error: Operation timed out]
kevind has quit [Quit: kevind]
peterhel1berg has quit [Read error: Operation timed out]
peterhellberg has joined #ruby
skulker has quit [Remote host closed the connection]
jellow_ has joined #ruby
Fraeon has joined #ruby
rickruby has joined #ruby
doodlehaus has quit [Remote host closed the connection]
michaeldeol has quit [Remote host closed the connection]
sirecote has joined #ruby
fearoffish has joined #ruby
dru has joined #ruby
h0rrorvacui has joined #ruby
figgleberry has quit [Ping timeout: 252 seconds]
<Hanmac> dogweather & artgoeshere remember that #try is a Rails shit function ... you cant always rely on it
jmo has joined #ruby
dogweather has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mneorr has joined #ruby
h4mz1d has quit [Ping timeout: 272 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
doodlehaus has joined #ruby
ziikutv has joined #ruby
flubba has joined #ruby
ziikutv has left #ruby [#ruby]
ziikutv has joined #ruby
anshin has joined #ruby
DrShoggoth has joined #ruby
michaeldeol has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
kep has joined #ruby
<apeiros> Hanmac: no need for the vitriol
goganchi_ has joined #ruby
goganchi_ has quit [Client Quit]
m00nlight has quit [Read error: Connection reset by peer]
m00nlight has joined #ruby
cj3kim_ has joined #ruby
shime has joined #ruby
_honning_ has quit [Ping timeout: 245 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
bauerbob has quit [Ping timeout: 260 seconds]
rickruby has quit [Remote host closed the connection]
byprdct_ has joined #ruby
jinxD has quit [Ping timeout: 260 seconds]
rickruby has joined #ruby
jinxD has joined #ruby
jkary has quit [Quit: Leaving.]
<havenwood> could always just: require 'active_support/core_ext/object/try'
fred has quit [Read error: Operation timed out]
tempspace has quit [Read error: Operation timed out]
byprdct has quit [Ping timeout: 260 seconds]
<havenwood> but just grabbing #try wouldn't get the nil monkeypatch
Columcille has quit [Read error: Operation timed out]
siefca has quit [Read error: Operation timed out]
mojjojo has quit [Quit: mojjojo]
fcoury has quit [Read error: Operation timed out]
siefca has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
<havenwood> i wonder if many people actually use active_support via cherry picking
fcoury has joined #ruby
LexicalScope has quit [Ping timeout: 272 seconds]
dogehouse is now known as banghouse
JustinAiken has joined #ruby
tempspace has joined #ruby
LexicalScope` has quit [Ping timeout: 272 seconds]
bentonrr_ has joined #ruby
bentonrr has quit [Ping timeout: 265 seconds]
rickruby has quit [Ping timeout: 260 seconds]
* Hanmac does not cherry picking because he could get raisins ...
Columcille has joined #ruby
Linux_Extremist has quit [Quit: Leaving]
fred has joined #ruby
saarinen has joined #ruby
fred is now known as Guest39668
specious has quit [Ping timeout: 272 seconds]
alex88 has quit [Quit: Leaving...]
lewix has joined #ruby
Yarou has joined #ruby
burlyscudd has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
michaeldeol has left #ruby [#ruby]
heidi has joined #ruby
guardianx has quit [Remote host closed the connection]
dogweather has joined #ruby
glanotte has joined #ruby
figgleberry has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Client Quit]
kraljev1 has quit [Ping timeout: 272 seconds]
lukec has joined #ruby
cgore has quit [Remote host closed the connection]
mechanicles has quit [Remote host closed the connection]
subbyyy has joined #ruby
b00stfr3ak has joined #ruby
braincrash has quit [Read error: Operation timed out]
Tearan has joined #ruby
braincrash has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
burlyscudd has joined #ruby
glanotte has quit [Quit: Textual IRC Client: www.textualapp.com]
estebistec has quit [Remote host closed the connection]
mojjojo has joined #ruby
flame_ has joined #ruby
soobus has quit [Ping timeout: 272 seconds]
jkary has joined #ruby
ziikutv has quit [Quit: Leaving.]
JustinAiken has quit [Quit: Leaving.]
flame_ has quit [Remote host closed the connection]
jkary has quit [Client Quit]
jkamenik has joined #ruby
ziikutv has joined #ruby
<shevy> I think cherry picking requires a lot of knowledge
ziikutv has quit [Client Quit]
soobus has joined #ruby
CaptainJet has quit []
lfox has quit [Quit: ZZZzzz…]
flame_ has joined #ruby
CaptainJet has joined #ruby
soobus has quit [Ping timeout: 260 seconds]
Brolen has joined #ruby
estebistec has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mojjojo has quit [Quit: mojjojo]
sambao21 has joined #ruby
rhunter has joined #ruby
bogeyd6 has joined #ruby
rjhunter has quit [Ping timeout: 252 seconds]
S0da has quit [Remote host closed the connection]
mojjojo has joined #ruby
moted has joined #ruby
Mars has joined #ruby
sailias has joined #ruby
phutchins has quit [Ping timeout: 246 seconds]
Mars is now known as Guest7780
lfox has joined #ruby
rm_ has quit [Remote host closed the connection]
bean has joined #ruby
rm_ has joined #ruby
dzan has quit [Read error: Operation timed out]
fcoury has quit [Read error: Operation timed out]
mzdravkov has joined #ruby
ayaz has joined #ruby
ayaz has quit [Changing host]
ayaz has joined #ruby
fcoury has joined #ruby
anshin has quit [Quit: WeeChat 0.4.2]
subbyyy has quit [Quit: none 0.4.2]
subbyyy has joined #ruby
dzan has joined #ruby
rm_ has quit [Ping timeout: 260 seconds]
subbyyy has quit [Client Quit]
meatherly has quit [Read error: Connection reset by peer]
subbyyy has joined #ruby
meatherly has joined #ruby
ehc has quit [Quit: ehc]
Guest65856 has quit [Remote host closed the connection]
pierre1 has joined #ruby
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
CaptainJet has quit [Read error: Connection reset by peer]
mansi has joined #ruby
meatherly has quit [Read error: Connection reset by peer]
skaflem has quit [Quit: Leaving]
meatherly has joined #ruby
shedd has quit [Remote host closed the connection]
CaptainJet has joined #ruby
shedd has joined #ruby
mojjojo has quit [Quit: mojjojo]
obs has quit [Quit: Saliendo]
m00nlight_ has joined #ruby
rm_ has joined #ruby
m00nlight has quit [Ping timeout: 248 seconds]
burlyscudd has quit [Quit: Leaving.]
tt1187 has joined #ruby
shedd has quit [Ping timeout: 272 seconds]
mojjojo has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Ping timeout: 245 seconds]
gizmore has quit [Read error: Connection reset by peer]
gizmore has joined #ruby
decoponio has quit [Quit: Leaving...]
Kricir has quit [Remote host closed the connection]
totalmajor has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
totalmajor has joined #ruby
ayaz has quit [Quit: leaving]
Emmanuel_Chanel has quit [Ping timeout: 245 seconds]
bricker`away is now known as bricker
mansi has quit [Ping timeout: 260 seconds]
kate_r has joined #ruby
sailias has quit [Read error: Operation timed out]
krz has quit [Ping timeout: 252 seconds]
nanoyak has joined #ruby
krz has joined #ruby
nanoyak has quit [Client Quit]
Advocation has joined #ruby
nanoyak has joined #ruby
totalmajor has quit [Ping timeout: 245 seconds]
ehc has joined #ruby
vlad_starkov has joined #ruby
mikesplain has quit [Quit: WeeChat 0.4.2]
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
vlad_starkov has quit [Read error: Connection reset by peer]
Monie has joined #ruby
bpgoldsb has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
rubyracer has quit [Ping timeout: 248 seconds]
krz has quit [Client Quit]
bpgoldsb has joined #ruby
lewix has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
Astral_ has quit [Quit: Leaving]
cameronbarton has quit [Quit: cameronbarton]
ehc has quit [Quit: ehc]
burlyscudd has joined #ruby
mneorr_ has joined #ruby
Virtualize has quit [Quit: Leaving...]
gregoriokusowski has quit [Read error: Connection reset by peer]
bentonrr_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
psyl0n has joined #ruby
workmad3 has joined #ruby
freezey has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
CaptainJet has quit [Read error: Connection reset by peer]
rubyracer has joined #ruby
doodlehaus has quit [Remote host closed the connection]
maletor has joined #ruby
gregoriokusowski has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
EngierkO has joined #ruby
CaptainJet has joined #ruby
sambao21 has joined #ruby
shedd has joined #ruby
subbyyy has quit [Ping timeout: 246 seconds]
duracrisis has quit [Read error: No route to host]
Advocation has quit [Quit: Advocation]
Brolen has quit [Read error: Operation timed out]
agjacome has quit [Ping timeout: 246 seconds]
TheNumb has quit [Ping timeout: 245 seconds]
Guest7780 has quit [Remote host closed the connection]
mneorr_ has quit [Remote host closed the connection]
LexicalScope has joined #ruby
mneorr has joined #ruby
cj3kim_ has quit [Ping timeout: 240 seconds]
agjacome has joined #ruby
phutchins has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
cj3kim has joined #ruby
ylluminate has quit [Read error: Operation timed out]
JustinAiken has joined #ruby
ludar has quit [Ping timeout: 272 seconds]
<shevy> like knowing that these things even exist in the first place!
workmad3 has quit [Ping timeout: 272 seconds]
freezey has quit [Remote host closed the connection]
Kricir has joined #ruby
Asher has quit [Quit: Leaving.]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
plotter has quit [Remote host closed the connection]
mdel has quit [Ping timeout: 245 seconds]
jmo has quit [Ping timeout: 240 seconds]
Megtastique has quit []
mityaz has quit [Quit: See ya!]
carraroj has joined #ruby
carraroj has quit [Client Quit]
Wolland has quit []
ericthewino has joined #ruby
pierre1 has quit [Quit: Leaving]
<pontiki> cheerio!
snath has quit [Ping timeout: 246 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
shedd has quit [Remote host closed the connection]
TheNumb has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
soobus has joined #ruby
mojjojo has quit [Quit: mojjojo]
ambushsabre has quit [Quit: rip]
shedd has joined #ruby
blarghmatey has joined #ruby
pierre1 has joined #ruby
mdel has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sharms has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CaptainJet has quit [Read error: Connection reset by peer]
shedd has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
soobus has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
CaptainJet has joined #ruby
croaky has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Remote host closed the connection]
<shevy> hmmm
doodlehaus has joined #ruby
<shevy> why don't we have a rubyAdmin
tempspace has left #ruby [#ruby]
iamjarvo has joined #ruby
mneorr has quit [Remote host closed the connection]
<pontiki> there probably is one
<dogweather> because php is the best language for the job:
<JustinAiken> activeadmin is pretty close
vlad_starkov has joined #ruby
mneorr has joined #ruby
<dogweather> in this case, the job is "a shitty security-hole-riddled web app"
ace_striker has quit [Quit: Page closed]
<dogweather> did i just violate the channel's tos?
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<shevy> there are no cops here
<shevy> perhaps next year
ludar has joined #ruby
mdel has quit [Read error: No route to host]
<dogweather> :-)
vlad_starkov has quit [Remote host closed the connection]
<JustinAiken> No route matches “/phpmyadmin/index.php” with {:method=>:get} :p
<dogweather> that ought to properly return a 404
Kar- has quit [Quit: leaving]
<pontiki> no idea about it's worth
<shevy> well I used php many years ago, I kinda need to use something better
<shevy> (to fully replace it)
<pontiki> there's sequel pro for macs
<shevy> "RailsDB Admin is similar in functionality to PHPMyAdmin and other database browsing and data editing tools."
<pontiki> but it's desktop, not webapp
<dogweather> desktop = better
iamjarvo_ has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
<pontiki> i forget what the linux tool is called
<dogweather> use it tunnelled through ssh via a non-standard port
iamjarvo has quit [Read error: Connection reset by peer]
<pontiki> i think it already does that, dogweather
<dogweather> nice
chatrjr_ has joined #ruby
<pontiki> if not, you can easiliy make it
chatrjr_ has quit [Client Quit]
<dogweather> yep
JustinAiken has left #ruby [#ruby]
Mars has joined #ruby
<dogweather> my personal independence day: the day i uninstall php from my servers
bean has joined #ruby
<pontiki> i'm not sure about desktop utilities for pg
<pontiki> lol
<dogweather> pgadmin
<pontiki> YES!! I WILL CELEBRATE WITH YOU
Mars is now known as Guest54348
chatrjr has joined #ruby
echevemaster has joined #ruby
croaky has joined #ruby
toekutr has joined #ruby
<shevy> dogweather you have to use php still?
<dogweather> no actually --- i meant "the day i uninstalled php..."
<dogweather> this month i switched to running a vps-per-app.
<dogweather> and my apps are all rails or static pages.
iamjarvo_ has quit [Remote host closed the connection]
<dogweather> i host my blogs on managed wp isps
iamjarvo has joined #ruby
<shevy> guys, my brain is currently not working well
burlyscudd1 has joined #ruby
burlyscudd1 has quit [Client Quit]
<shevy> I have some different arrays. I want to get the combined size, how many members are in all arrays together
monkegjinni has joined #ruby
<shevy> right now I use ... sum = 0, and count up
<shevy> but there is a way without having to declare a local var
<shevy> and I dont remember how that was done
burlyscudd has quit [Ping timeout: 252 seconds]
burlyscudd has joined #ruby
virtual|a has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
<pontiki> my blogs are all static
<shevy> got it ... .inject(0) {|sum, element|
<pontiki> jekyll, octopress, or middleman
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chatrjr has quit [Quit: Leaving]
bogeyd6 has quit [Ping timeout: 240 seconds]
rickruby has joined #ruby
saarinen has joined #ruby
sharms has quit [Ping timeout: 240 seconds]
levity_island has joined #ruby
hexus0 has joined #ruby
toekutr has quit [Remote host closed the connection]
ehaliewicz has joined #ruby
sharms has joined #ruby
MindfulMonk has quit [Quit: Leaving]
rickruby has quit [Remote host closed the connection]
b00stfr3ak has quit [Ping timeout: 245 seconds]
rickruby has joined #ruby
Neomex has joined #ruby
Meistarin has quit [Ping timeout: 240 seconds]
blandflakes has quit [Quit: Page closed]
Asher has joined #ruby
soobus has joined #ruby
Meistarin has joined #ruby
rickruby has quit [Ping timeout: 260 seconds]
shedd has joined #ruby
timonv has quit [Remote host closed the connection]
Bosox20051 has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
SteveBenner09 has joined #ruby
ylluminate has joined #ruby
LexicalScope has quit [Ping timeout: 272 seconds]
magoo has joined #ruby
Neomex has quit [Quit: Neomex]
ehc has joined #ruby
klcant102 has quit [Quit: Leaving]
Ilmen has joined #ruby
Megtastique has joined #ruby
hololeap has joined #ruby
senj has joined #ruby
ylluminate has quit [Read error: Connection reset by peer]
ylluminate` has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
pierre1 has quit [Quit: Leaving]
jkamenik has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
<dogweather> pontiki: yeah, i like those. but i realized i needed to go to zero-administration & maintenance.
butblack has joined #ruby
<dogweather> wordpress is cheaper because i can pay a non-programmer intern to configure it.
niklasb has joined #ruby
ylluminate` has quit [Ping timeout: 248 seconds]
rippa has joined #ruby
tropicalmug has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<shevy> hehehe
<shevy> dogweather, I like that quote :)
<Ilmen> Hello; I just downloaded RubyGo (a program written in Ruby) and tried to run it via the terminal of my Ubuntu 13.10 (I have Ruby 1.9.1), and I get an "invalid multibyte char (US-ASCII)" error entailed by a "ç" character in the main ruby file
<shevy> Ilmen well encoding problems there
<shevy> Ilmen try this in that .rb file:
<shevy> # Encoding: ASCII-8BIT
<shevy> then that specific error may disappear
skulker has joined #ruby
<Ilmen> I'll try this, thanks
<shevy> but I assume that this program is ancient, so you may run into other problems
<shevy> is this written in ruby-gnome?
<Ilmen> yes, I ran in other problems too
<shevy> yeah
<shevy> I think you may have to adjust too many things to make it work :(
freerobby has joined #ruby
<Ilmen> (i made a copy of the ruby file without ç character, and got an error
<shevy> what kind of error?
dann_ has joined #ruby
<shevy> the multibyte char errors will go away when the encoding is "bit"
cj3kim has quit [Remote host closed the connection]
<Ilmen> "/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError)"
<shevy> by default, US-ASCII is assumed, and us ascii has not so many chars
<shevy> yeah, you need the tk bindings
nanoyak has quit [Quit: Computer has gone to sleep.]
<shevy> not sure how ubuntu handles it
<shevy> Hanmac, go tell him how to install tk on ubuntu
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> Ilmen I will explain the principle so you understand - tk is a toolkit. The source is at: http://sourceforge.net/projects/tcl/files/Tcl/8.6.0/
<shevy> Ilmen ruby has bindings to tk by default, matz wrote them. they can be found in directory ext/tk
<dann_> hey um how can i store a block of code in a variable
<shevy> sorry
<shevy> that was the link to tk
<shevy> dann_ use a proc?
<dann_> and then eval/run that code (using the var)
<dann_> proc?
<shevy> x = proc {|e| e * e }
<shevy> x.call 5
<dann_> ohh
<shevy> will output # => 25
<shevy> x[5] should also work
<shevy> x.class # => Proc
saarinen has quit [Quit: saarinen]
<shevy> lambda works too
lfox has joined #ruby
<shevy> x = lambda {|e| e * e };x.call 3 # => 9
<dann_> uhm, what if i don't need a |e|? can i do x = proc{ puts y}
<shevy> yeah
<shevy> well
<Ilmen> shevy: thanks for the link
<shevy> dann_, where did you define y?
<shevy> the ruby parser must know
joaoh82 has quit [Remote host closed the connection]
<shevy> otherwise it will scream at you "hey man where or what the fuck is y, I need more coffee"
nisstyre has joined #ruby
<onewheelskyward> I just got that error
<shevy> lol
<shevy> dann_ well you get the point :)
Megtastique has quit []
<shevy> Hanmac, how can dann_ make the code work without declaring a |variable|
doodlehaus has quit [Remote host closed the connection]
samsonasu has quit [Quit: samsonasu]
lkba has quit [Ping timeout: 248 seconds]
Kricir has quit [Remote host closed the connection]
joaoh82 has joined #ruby
estebistec has quit [Remote host closed the connection]
<bricker> Can someone explain this behavior to me:
<dann_> y is class instance variable
<bricker> >> 3/5
tkuchiki has joined #ruby
<bricker> okay
<dann_> and x is called within a public funtion of that class
<shevy> bricker you gave two input here, two Integers
ehaliewicz has quit [Remote host closed the connection]
<dann_> i'll just test this out on the info i got.
<bricker> (3/5) #=> 0; (-3/5) #=> -1
<shevy> bricker so the output will be in Integers too. ruby does not want to automatically make the decision for you
<dann_> thanks shevy :)
<havenwood> >> 3./(5)
<bricker> shevy: I get that, I'm wondering about the -1 bit
<shevy> hmm
<Ilmen> ./configure checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions. Use --with-tcl to specify a directory containing tclConfig.sh
<shevy> I never saw that before bricker
<Ilmen> erm, am I missing something?
Kricir has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Client Quit]
<shevy> Ilmen it is the ancient tcl/tk combination
<shevy> tk unfortunately requires tcl :(
<bricker> shevy: me neither :c
Virtualize has joined #ruby
<shevy> but ubuntu guys usually want to use apt-get :P
<shevy> bricker yeah, I am as surprised as you are right now
<shevy> 4/5 is 0
doodlehaus has joined #ruby
mengu has quit [Remote host closed the connection]
<shevy> ok
<shevy> stackoverflow to the rescue
<shevy> "Ruby rounds numbers towards negative infinity in case of negative division"
<shevy> :(
Tearan has quit []
doodlehaus has quit [Remote host closed the connection]
<bricker> shevy: ah
Monie has joined #ruby
Monie has quit [Max SendQ exceeded]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Monie has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
gregoriokusowski has quit [Quit: gregoriokusowski]
<shevy> guys, a question
<shevy> if I have a program, and run it in a loop where I fetch user input
<shevy> and then I execute another class that has "exit"
levity_island has quit [Quit: levity_island]
<dann_> is there any way of simplifying the condition " if x == y || x == w || y == z "
<shevy> is there a way to not allow that class to exit my program?
saarinen has joined #ruby
<dann_> like, x == y || w || z ?
freebs has quit [Quit: Leaving.]
<shevy> x == ( y || w || z )
<shevy> I think
freebs has joined #ruby
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
<bricker> shevy: no
<havenwood> [y, w, z].include? x
<bricker> dann_: [y, w, z].include?(x)
<bricker> sh
joaoh82 has quit [Remote host closed the connection]
<dann_> hm
mengu has joined #ruby
vlad_starkov has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
shedd has joined #ruby
bean has joined #ruby
<dann_> shevy's way; http://puu.sh/64XIq.png
<bricker> dann_: shevy's way is flat-out wrong, don't use it.
<bricker> (sorry shevy)
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
jmo has joined #ruby
<dann_> i know, i'm just leaving it here in the chat for anyone reading the logs
totalmajor has joined #ruby
<bricker> k
freebs has quit [Ping timeout: 260 seconds]
<shevy> it works if x and y are the same :>
<dann_> `_´
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
tkuchiki has quit [Remote host closed the connection]
shedd has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby
jmo has quit [Ping timeout: 260 seconds]
totalmajor has quit [Ping timeout: 272 seconds]
mreiss has joined #ruby
<Ilmen> # ./configure --with-tcl /usr/lib/tcl8.6 configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: /usr/lib/tcl8.6 checking for Tcl configuration... configure: error: yes directory doesn't contain tclConfig.sh
thumpba has quit [Ping timeout: 272 seconds]
<Ilmen> Gah, configure files are so hard to read
tkuchiki has quit [Ping timeout: 248 seconds]
hololeap has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
mreiss has quit [Ping timeout: 240 seconds]
flubba has quit [Remote host closed the connection]
banghouse has quit [Remote host closed the connection]
<rien> apeiros: ping
flubba has joined #ruby
jonahR has joined #ruby
jonahR has quit [Client Quit]
mikeg has quit [Remote host closed the connection]
meatherly has quit [Remote host closed the connection]
butblack has left #ruby [#ruby]
meatherly has joined #ruby
flubba has quit [Ping timeout: 240 seconds]
DeanH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ForceMultiplier has quit [Ping timeout: 272 seconds]
Virtualize has quit [Quit: Leaving...]
cj3kim has joined #ruby
dogweather has quit []
doodlehaus has joined #ruby
<Ilmen> I installed tk and tcl + tk8.6-dev and tcl8.6-dev packages from Ubuntu repo's.... but still getting this "in `require': cannot load such file -- tk (LoadError)" error
meatherly has quit [Ping timeout: 245 seconds]
<Ilmen> how does ruby know whether this tk module exists?
<monsieurp> Ruby knows it all.
snath has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Virtualize|away has joined #ruby
agent_white has quit [Ping timeout: 252 seconds]
<shevy> Ilmen this would require a = there
<shevy> ./configure --with-tcl=/usr/lib/tcl8.6
<Ilmen> ouch
<shevy> Ilmen ruby tries to query what exists when you compile it
<shevy> but you use ubuntu, so you are using what someone else did for you
RoryHughes has quit []
<shevy> in ubuntu and debian, they typically remove everything
<shevy> even mkmf
kep has quit [Quit: WeeChat 0.4.2]
<shevy> Ilmen in ruby source archive, there is ext/tk directory
<shevy> in that directory, ruby extconf.rb can be run
<shevy> when everything is fine, the bindings are compiled and are then available
<shevy> require 'tk' will work once these are compiled
<Ilmen> hmm
<shevy> Ilmen you made tcl and tk available, but you still lack the ruby-bindings to them
<Ilmen> I guessed so
kofno has joined #ruby
<shevy> Ilmen the problem usually is when people use binary distributions that predefine their paths
<shevy> I compile everything from source so I don't run into these problems - I do run into other problems sometimes though
<shevy> as for GUI bindings, I use ruby-gnome. tk is so ugly
Wolland has quit [Remote host closed the connection]
<shevy> libtcltk-ruby1.8 (1.8.7.249-2ubuntu0.3) [universe] [security]
<shevy> Tcl/Tk interface for Ruby 1.8
<shevy> Tcl/Tk interface for Ruby 1.9.1
<shevy> libtcltk-ruby1.9.1 (1.9.1.378-1) [universe]
cbetta is now known as cbetta_afk
<Ilmen> thanks
shime has quit [Read error: Operation timed out]
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
RoryHughes has joined #ruby
rm_ has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
pskosinski_ has joined #ruby
shedd has joined #ruby
banghouse has joined #ruby
banghouse is now known as Guest68596
mengu has quit [Remote host closed the connection]
geggam has quit [Ping timeout: 260 seconds]
<Ilmen> hmm, still not working; i now have a tk.rb but no tk.tcl
<Ilmen> and still getting the require tk error
pskosinski has quit [Disconnected by services]
pskosinski_ is now known as pskosinski
<shevy> well
psyl0n has quit [Remote host closed the connection]
<shevy> I really don't know how ubuntu does these things
<shevy> but I can tell you that when it is compiled from source, it works
Virtualize|away has quit [Quit: Leaving...]
<Ilmen> what would happen if I were to do a make install on ruby source while I already hae ruby installed?
maletor has quit [Quit: Computer has gone to sleep.]
<Ilmen> *have
shedd has quit [Ping timeout: 272 seconds]
<Ilmen> Would uninstalling ruby first be necessary?
rakm has joined #ruby
Bumptious has quit [Remote host closed the connection]
lupine has quit [Quit: ZNC - http://znc.in]
Bumptious has joined #ruby
klaut has quit [Remote host closed the connection]
<shevy> the new ruby would overwrite the existing ruby
totalmajor has joined #ruby
cj3kim has quit [Remote host closed the connection]
<shevy> there is rbenv or rvm http://rvm.io/ that should be able to help you
lupine has joined #ruby
<shevy> in the event that you are fed up with ubuntu ruby, get rid of it completely, then install i.e. rvm or just compile from source
doodlehaus has quit [Remote host closed the connection]
Landshark753 has joined #ruby
Virtualize has joined #ruby
larissa has joined #ruby
<shevy> or try to solve it how ubuntu wants you to solve it :P
<Ilmen> :)
iamjarvo has quit [Remote host closed the connection]
<Ilmen> At any rate thank you for your great support ^^
iamjarvo has joined #ruby
lupine has quit [Remote host closed the connection]
<shevy> good luck
<shevy> 30 minutes then it is 2014
maletor has joined #ruby
Wolland has joined #ruby
goleldar has joined #ruby
<shevy> Ilmen the real fun with ruby starts once you are past all these problems
Virtualize has quit [Client Quit]
<shevy> WARNING: found "/usr/lib/tkConfig.sh", but cannot find valid Tk library for the tkConfig.sh. So, ignore it.
<shevy> Search tcl.h.checking for tcl.h... yes
<shevy> Search tk.h.checking for tk.h... no
<shevy> .........Can't find "tk.h".
<shevy> that's for my system right now
subbyyy has joined #ruby
<shevy> I just compiled tcl into prefix /usr but still have not compiled tk
<shevy> now I am compiling tk
lupine has joined #ruby
geggam has joined #ruby
<shevy> tk finished compiling
<shevy> the tk bindings also finished compiling
<shevy> I run sample/tkdialog.rb
breakingthings has quit []
psyl0n has joined #ruby
iamjarvo has quit [Ping timeout: 260 seconds]
<shevy> this is how it looks: http://oi39.tinypic.com/o05npx.jpg
DeanH has joined #ruby
<dann_> how do class constants work
<Ilmen> hey, I got it working
<Ilmen> by downloading libtcltk-ruby
DeanH has quit [Client Quit]
<Ilmen> yay
skulker has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
<Ilmen> hmm another multibyte char error; gotta edit some more ruby files
<shevy> Ilmen the multibyte errors are annoying, but the shebang trick works
<shevy> Ilmen there may be a switch you could use to ruby perhaps... not sure
<shevy> I think there is a way to treat all .rb files in a specific encoding
vpretzel has quit [Quit: Adios!]
<shevy> aha
<shevy> Ilmen, stackoverflow says:
<shevy> use -E utf-8 command line argument to ruby, or
Asher has quit [Quit: Leaving.]
<shevy> or
<shevy> set your RUBYOPT environment variable to "-E utf-8"
<shevy> so you perhaps dont have to modify all .rb files
<dann_> let's hope 2014 isn't another nightly release
<shevy> dann_ what is a class constant? that is just a constant in a class right? so like a module constant
<shevy> class Foo; ABC = 5; end
<shevy> module Foo; ABC = 5; end
<shevy> both are accessed by Foo::ABC and both are constants, in their own namespace
jkary has joined #ruby
burlyscudd has quit [Ping timeout: 272 seconds]
axl_ has quit [Quit: axl_]
geggam_ has joined #ruby
skulker has joined #ruby
<dann_> shevy: oooh
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
rm_ has quit [Read error: Connection reset by peer]
geggam has quit [Ping timeout: 272 seconds]
rm_ has joined #ruby
dambler has joined #ruby
dambler has quit [Client Quit]
<Ilmen> RubyGo/lib/sgf/sgf.rb:239: formal argument cannot be an instance variable (SyntaxError)
<Ilmen> File.open(file) { |@inp| parse }
emocakes has joined #ruby
freerobby has quit [Quit: Leaving.]
flame_ has quit [Quit: Computer has gone to sleep.]
monkegjinni has joined #ruby
SteveBenner09 has quit []
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carif has joined #ruby
<Ilmen> I don't know if it's RubyGo which is old or something, but I won't seem to be able to run it :)
flame_ has joined #ruby
rm_ has quit [Remote host closed the connection]
flubba has joined #ruby
rm_ has joined #ruby
joaoh82 has joined #ruby
veterinarian has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
<Ilmen> Never mind; thanks for the help, and happy new year to everyone!
lmickh has quit [Remote host closed the connection]
freerobby has joined #ruby
Wolland has quit [Remote host closed the connection]
shedd has joined #ruby
mehlah has joined #ruby
joaoh82 has quit [Ping timeout: 245 seconds]
benweint has joined #ruby
Senjai`work has quit [Quit: WeeChat 0.3.7]
psyl0n has quit [Remote host closed the connection]
flame_ has quit [Quit: Computer has gone to sleep.]
Senjai`work has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
skulker has quit [Remote host closed the connection]
timonv has joined #ruby
jacksonn has joined #ruby
centipedefarmer has joined #ruby
shedd has joined #ruby
lfox has quit [Quit: ZZZzzz…]
jnoob22_ has quit [Remote host closed the connection]
jnoob22 has joined #ruby
jkary has quit [Quit: Leaving.]
phipes has joined #ruby
aryaching has quit [Ping timeout: 252 seconds]
Asher has joined #ruby
CaptainJet has quit []
benweint has quit [Quit: Textual IRC Client: www.textualapp.com]
nateberkopec has quit [Quit: Leaving...]
<radic> Gutes Neues Jahr | Happy new year | с Новым годом
psyl0n has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
<Ilmen> Bonne année | Bonan novan jaron | 新年おめでとうございます
danshultz has quit [Read error: Connection reset by peer]
levity_island has joined #ruby
<shevy> Ilmen that's a strange error
<shevy> Ilmen what is that line?
danshultz has joined #ruby
lkba has joined #ruby
<Ilmen> which line? the one with File.open?
klaut has joined #ruby
<Ilmen> it's the line that led to the error
timonv has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
<havenwood> @
saarinen has quit [Quit: saarinen]
<havenwood> i hope ruby loses class vars in 3.0
levity_island has quit [Quit: levity_island]
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> Ilmen ah
robbyoconnor has quit [Excess Flood]
<shevy> Ilmen yeah, the |@foo| notation is invalid
<shevy> the guy who wrote this was a noob
<Ilmen> lol
<Hanmac> shevy sorry rwx didnt managed to get as gem yet (otherwise it would be a broken gem)
<shevy> you could replace |@foo| with |foo| but I am 100% sure that there will be many more errors
<shevy> it's 2014
<shevy> no rwx :(
<Hanmac> shevy but i did manage to add commits today
<shevy> Ilmen, Hanmac here works on wxwidget bindings in ruby
<bricker> havenwood: Is there even a legitimate use-case for them that nothing else can do?
<havenwood> bricker: no
<bricker> havenwood: that's what I thought.
<havenwood> bricker: Matz said, if i recall, that if he could do over he'd never have added them.
ambushsabre has joined #ruby
<shevy> hehe
<bricker> havenwood: I wonder why he did in the first place, then.
<Ilmen> shevy: oki
<shevy> never would use what bricker?
<bricker> shevy: class variables
<Hanmac> for some stuff to be added to rwx i need to add patches to wx widgets itself first :/
<shevy> ah
robbyoconnor has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
Kricir has joined #ruby
levity_island has joined #ruby
boreliash has joined #ruby
ion- has joined #ruby
Czupa has joined #ruby
smathieu has quit [Remote host closed the connection]
<shevy> hmm I ask again
<shevy> say I have two classes
postmodern has joined #ruby
<shevy> the first one fetches user input via a loop, and also allows loading of the second class
<shevy> the second class has an "exit". is there a way to ignore that exit?
DouweM has quit [Read error: Connection reset by peer]
levity_island has quit [Client Quit]
CaptainJet has joined #ruby
smathieu has joined #ruby
psyl0n has quit [Remote host closed the connection]
DouweM has joined #ruby
nanoyak has joined #ruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
lfox has joined #ruby
aryaching has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
<havenwood> shevy: hrm, maybe wrap calling the class in a begin/rescue SystemExit?
<shevy> hmm
<shevy> problem is there could be 100eds of scripts with such
<shevy> and invoking them can be very different, so using just one part wrapped in begin/rescue would not work too well
Landshark753 has joined #ruby
<shevy> though perhaps not
<shevy> havenwood, I'll give it a try, thanks
soobus has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
mneorr has joined #ruby
smathieu has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
smathieu has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
smathieu_ has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
smathieu has quit [Read error: Connection reset by peer]
mneorr_ has joined #ruby
mneorr has quit [Read error: Connection reset by peer]
grep_awesome is now known as grep_away
Wolland has joined #ruby
dima has joined #ruby
lewix has joined #ruby
dima has quit [Remote host closed the connection]
cameronbarton has joined #ruby
smathieu_ has quit [Remote host closed the connection]
Barrin6 has joined #ruby
smathieu has joined #ruby
dima has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
Jetchisel has quit [Excess Flood]
Jetchisel has joined #ruby
nateberkopec has joined #ruby
danshultz has quit [Ping timeout: 272 seconds]
veterinarian has quit [Remote host closed the connection]
mneorr_ has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
dima has quit [Remote host closed the connection]
ehc has quit [Quit: ehc]
workmad3 has joined #ruby
kofno has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
joaoh82 has joined #ruby
Asher has quit [Quit: Leaving.]
kofno has quit [Read error: Connection reset by peer]
rakm has quit [Quit: leaving]
mneorr has quit [Ping timeout: 272 seconds]
byprdct_ has quit [Quit: Textual IRC Client: www.textualapp.com]
jmo has joined #ruby
hunterr986 has quit [Quit: Leaving.]
alexherbo2 has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
joaoh82 has quit [Ping timeout: 248 seconds]
smathieu has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
jmo has quit [Ping timeout: 272 seconds]
S0da has joined #ruby
smathieu has joined #ruby
Czupa has quit [Remote host closed the connection]
kitak has joined #ruby
ZephiroMX has joined #ruby
<ZephiroMX> hi
subbyyy has quit [Ping timeout: 272 seconds]
ssvo has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
DrShoggoth has quit [Quit: Leaving]
Ilmen has quit [Quit: fe'o]
timonv has quit [Remote host closed the connection]
<emocakes> happy new year shevy darling
cj3kim has joined #ruby
<shevy> hey emocakes
<shevy> 2014 will be the BEST YEAR
ambushsabre has quit [Quit: rip]
PLejeck has joined #ruby
<emocakes> yes
smathieu has quit [Remote host closed the connection]
<emocakes> soccer this year
<ZephiroMX> Best Year Everybody
byprdct has joined #ruby
fixl has joined #ruby
bentonrr has joined #ruby
<ZephiroMX> Can someone help me on a problem?
<bricker> ZephiroMX: can't help if you don't ask