apeiros_ changed the topic of #ruby-lang to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
omosoj has quit [Ping timeout: 252 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
D9 has quit [Quit: Leaving]
datanoise has quit [Ping timeout: 265 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 245 seconds]
ddv has quit [Ping timeout: 245 seconds]
miwood has joined #ruby-lang
cored has joined #ruby-lang
marr has quit [Ping timeout: 258 seconds]
miwood has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby-lang
ddv has joined #ruby-lang
ascarter has quit [Client Quit]
ddux has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
seako has joined #ruby-lang
sleepy_keita has joined #ruby-lang
seako has left #ruby-lang [#ruby-lang]
seako has joined #ruby-lang
crudson has quit [Quit: Leaving.]
ascarter has joined #ruby-lang
danguita has quit [Ping timeout: 272 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
danguita has joined #ruby-lang
hahuang61 has joined #ruby-lang
thomasxie has joined #ruby-lang
datanoise has joined #ruby-lang
GrooveStomp has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby-lang
alexju has quit [Remote host closed the connection]
dik_dak has joined #ruby-lang
shashin has quit [Quit: shashin]
amclain has joined #ruby-lang
pixelhandler has quit [Quit: pixelhandler]
Barrin6 has joined #ruby-lang
Nexus_x1 has joined #ruby-lang
seako1 has joined #ruby-lang
seako has quit [Ping timeout: 240 seconds]
thomasxie has quit [Quit: Leaving.]
lsegal has joined #ruby-lang
yatish27 has joined #ruby-lang
jeer has quit []
cnivolle_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
t4nk824 has joined #ruby-lang
ur5us has joined #ruby-lang
yock has joined #ruby-lang
ur5us has quit [Ping timeout: 264 seconds]
ddux has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
crudson has joined #ruby-lang
lsegal has joined #ruby-lang
ascarter has joined #ruby-lang
mistym has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 240 seconds]
t4nk824 has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
ddux has joined #ruby-lang
mistym has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
ddux has quit [Client Quit]
sleepy_keita has quit [Quit: sleepy_keita]
wallerdev has quit [Quit: wallerdev]
sleepy_keita has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nexus_x1 has quit [Quit: Computer has gone to sleep.]
cored has quit [Ping timeout: 255 seconds]
datanoise has quit [Quit: leaving]
datanoise has joined #ruby-lang
charliesome has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
omosoj has joined #ruby-lang
omosoj has quit [Client Quit]
omosoj has joined #ruby-lang
nertzy3 has quit [Ping timeout: 252 seconds]
rizidoro has joined #ruby-lang
yock has quit [Ping timeout: 276 seconds]
franzip has quit [Quit: ...]
nertzy has joined #ruby-lang
seako1 has quit [Quit: Leaving.]
bahar has joined #ruby-lang
Barrin6 has quit [Quit: Leaving]
derek has joined #ruby-lang
diegoviola has joined #ruby-lang
bahar has quit [Client Quit]
CodeBunny has joined #ruby-lang
nathanstitt has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
agarie has joined #ruby-lang
marcdel has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
marcdel_ has joined #ruby-lang
marcdel has quit [Ping timeout: 240 seconds]
Asher has quit [Quit: Leaving.]
sindork has quit [Changing host]
sindork has joined #ruby-lang
Xzyx987X has joined #ruby-lang
diegoviola has joined #ruby-lang
Xzyx987X_ has quit [Ping timeout: 240 seconds]
nightshadow has joined #ruby-lang
rizidoro has quit [Remote host closed the connection]
nightshadow_ has joined #ruby-lang
nightshadow has quit [Quit: Leaving...]
nightshadow_ is now known as nightshadow
nightshadow has quit [Client Quit]
anibara has joined #ruby-lang
<anibara> Hello all…My first time trying IRC…
<havenwood> anibara: hi
<anibara> Hey
<anibara> what do I expect here…totally clueless
<anibara> started learning Ruby since this morning and site said I should frequent IRC
<havenwood> anibara: nice, well welcome!
patrick has joined #ruby-lang
<anibara> Thanks
patrick is now known as Guest40897
<havenwood> anibara: if you have any questions, feel free to ask them
<havenwood> anibara: there's sometimes more chatter going on in #ruby by the way, and #rubyonrails or #sinatra if you're interested in those too
mistym has joined #ruby-lang
<anibara> sure. Thanks for pointing them
danguita has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
<centrx> anibara, Or #teamdoge !
sleepy_keita has quit [Quit: sleepy_keita]
Nexus_x1 has joined #ruby-lang
havenn has joined #ruby-lang
havenwood has quit [Quit: Leaving...]
danguita has joined #ruby-lang
Nexus_x1 has quit [Client Quit]
havenn is now known as havenwood
marcdel_ has quit []
Xzyx987X_ has joined #ruby-lang
Xzyx987X has quit [Ping timeout: 258 seconds]
nathanstitt has quit [Quit: I growing sleepy]
fragamus has joined #ruby-lang
fragamus has quit [Remote host closed the connection]
fragamus has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
fragamus has quit [Ping timeout: 276 seconds]
historypeats has joined #ruby-lang
<historypeats> Heyy
<historypeats> I had a question hopefully someone can help me answer
<historypeats> How come in rails, I don't need to require certain modules? For example, SecureRandom and Base64
<centrx> historypeats, Rails uses them or requires them for you
<historypeats> centrx: Ah, thanks. I was very confused as to why I didn't need to require it
<historypeats> Does it cause a problem if I require it again?
<centrx> historypeats, nope
<historypeats> centrx: Perfect! Thanks!
stardiviner has quit [Ping timeout: 252 seconds]
araujo has quit [Quit: Leaving]
mistym has quit [Remote host closed the connection]
phansch has joined #ruby-lang
rickyrickyrice has joined #ruby-lang
rickyrickyrice has joined #ruby-lang
Xzyx987X_ has quit [Read error: Connection reset by peer]
Xzyx987X_ has joined #ruby-lang
sferik has joined #ruby-lang
historypeats has quit [Quit: Leaving.]
kitak_ has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
omosoj has quit [Quit: Leaving]
marcdel has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby-lang
phansch_ has joined #ruby-lang
phansch has quit [Ping timeout: 240 seconds]
phansch^ has joined #ruby-lang
Miphix has quit [Ping timeout: 245 seconds]
alexju has joined #ruby-lang
datanoise has quit [Ping timeout: 255 seconds]
phansch has joined #ruby-lang
miwood has joined #ruby-lang
phansch_ has quit [Ping timeout: 240 seconds]
Miphix has joined #ruby-lang
fragamus has joined #ruby-lang
marcdel has quit []
rickyrickyrice has quit []
phansch^ has quit [Ping timeout: 265 seconds]
tbuehlmann has joined #ruby-lang
wallerdev has joined #ruby-lang
Asher has joined #ruby-lang
saarinen has joined #ruby-lang
wallerdev has quit [Client Quit]
saarinen has quit [Quit: saarinen]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saarinen has joined #ruby-lang
toastynerd has joined #ruby-lang
retro|simi has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
datanoise has joined #ruby-lang
saarinen has quit [Quit: saarinen]
solars has joined #ruby-lang
_ht has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
stardiviner has joined #ruby-lang
LlamaLad has joined #ruby-lang
jeer has joined #ruby-lang
symm- has joined #ruby-lang
<LlamaLad> o.o
[spoiler] has joined #ruby-lang
mykoweb has joined #ruby-lang
miwood has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
miwood has joined #ruby-lang
amclain has quit [Quit: Leaving]
dik_dak has quit [Quit: Leaving]
LlamaLad has quit [Quit: Ex-Chat]
relix has joined #ruby-lang
miwood has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
jaimef has quit [Ping timeout: 258 seconds]
marcdel has joined #ruby-lang
lolmaus has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
GBrawl has joined #ruby-lang
kitak has quit [Remote host closed the connection]
jaimef has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
symm- has quit [Quit: Leaving...]
datanoise has joined #ruby-lang
memorozovm has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
supergeek has joined #ruby-lang
matp has quit [Ping timeout: 255 seconds]
cstrahan has quit [Ping timeout: 252 seconds]
matp has joined #ruby-lang
jimbauds has joined #ruby-lang
supergeek has quit [Quit: Goodbye, cruel world.]
GBrawl_ has joined #ruby-lang
GBrawl has quit [Ping timeout: 265 seconds]
sarkyniin has joined #ruby-lang
memorozovm has quit [Remote host closed the connection]
GBrawl_ has quit [Quit: Lingo - http://lingoirc.com]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
memorozovm has joined #ruby-lang
mr-foobar has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
marr has joined #ruby-lang
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
arBmind has joined #ruby-lang
cnivolle has joined #ruby-lang
marcdel has quit []
arBmind1 has joined #ruby-lang
havenwood has quit []
arBmind has quit [Ping timeout: 276 seconds]
arBmind1 has quit [Ping timeout: 252 seconds]
datanoise has joined #ruby-lang
arBmind has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
arBmind1 has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
arBmind has quit [Ping timeout: 255 seconds]
jhass|off is now known as jhass
arBmind has joined #ruby-lang
arBmind1 has quit [Ping timeout: 240 seconds]
cnivolle has quit [Ping timeout: 265 seconds]
jeer has quit []
memorozovm has quit [Remote host closed the connection]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 265 seconds]
arBmind has joined #ruby-lang
arBmind1 has quit [Ping timeout: 240 seconds]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 240 seconds]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
GBrawl_ has joined #ruby-lang
memorozovm has joined #ruby-lang
diegovio1 has joined #ruby-lang
diegoviola is now known as Guest81153
diegovio1 is now known as diegoviola
Guest81153 has quit [Ping timeout: 252 seconds]
stamina has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kitak has joined #ruby-lang
memorozovm has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitak has quit [Ping timeout: 240 seconds]
junkmechanic_ has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
<junkmechanic_> hi all..new to ruby here...
<junkmechanic_> been working on parsing an xml
<jhass> hey
<junkmechanic_> hi jhass
<junkmechanic_> want to iterate over specific elements
<junkmechanic_> for example i need elements that are either <abc> or <xyz>...
<jhass> what do you use? nokogiri?
<junkmechanic_> and these have to be in the same order as they appear..
<junkmechanic_> rexml is what i have been using
<junkmechanic_> hadnt thought of nokogiri...
<zenspider> you shouldn't use rexml. esp if the files are of any significant size
<zenspider> nokogiri is a much better choice
<jhass> junkmechanic_: make a gist with what you have so far and if possible some example input and output
<junkmechanic_> hmm..just started looking into after jhass mentioned...
<junkmechanic_> jhass, well the thing is i was plan to grab all the elements in an xml that are either abc or xyz and then feed the list to a generator for futher processing..
<jhass> and where are you stuck?
jimbauds has quit [Remote host closed the connection]
<junkmechanic_> to give you a better idea, i would have used iterdescendents from lxml in python and then move on ...
<junkmechanic_> but with the method elements, one can only specify a particular xpath
<jhass> and xpath is powerful enough for that ;)
<jhass> //abc | //xyz
<junkmechanic_> damn...
<junkmechanic_> thanks jhass
<junkmechanic_> onwards to nokogiri...
shinnya has quit [Ping timeout: 240 seconds]
<junkmechanic_> 24 hrs into ruby and i already know who zenspider is ...cant ignore his suggestion...
charliesome has joined #ruby-lang
<chris2> TIL ruby 1.8 had instance variables for each fixnum... anyone know where they are stored?
<jhass> junkmechanic_: also have a look at http://pryrepl.org/, it's a great tool for experimenting and browsing around, add pry-doc to have docs for everything at hand
torrieri has joined #ruby-lang
<junkmechanic_> jhass, thanks....i did come across this...infact i have been using this along with pry-debugger to make sense of the api i have to work with
<jhass> you want pry-byebug on a recent ruby though ;)
<jhass> and when it comes to debugging pry-stack_explorer is incredibly useful
<junkmechanic_> hah...pry-stack-explorer is quite a thang...
Squarepy has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
VTLob has joined #ruby-lang
kiddorails has joined #ruby-lang
yatish27 has quit [Read error: Connection reset by peer]
yatish27 has joined #ruby-lang
<junkmechanic_> jhass, you mentioned recent ruby...how recent is recent :D
<jhass> >= 2.0
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
jamo_ has joined #ruby-lang
<junkmechanic_> ah...no wonder it couldnt find generator
<jhass> 1.9 is transitioning into the security maintenance phase already, you really should start with 2.1 if you're new to the language
<jhass> apeiros: btw 1.9.3-p547 @/topic
sarkyniin has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
yatish27 has quit [Ping timeout: 240 seconds]
<junkmechanic_> alright from 2.0 to 2.1 now...had to fetch it from testing though...
luiz_ has quit [Ping timeout: 240 seconds]
<junkmechanic_> wow...so 2.1 doesnt have getopt..
<jhass> but optparse
rizidoro has joined #ruby-lang
jeer has joined #ruby-lang
datanoise has joined #ruby-lang
luiz_ has joined #ruby-lang
rizidoro has quit [Ping timeout: 255 seconds]
<junkmechanic_> i know this is too early for me to ask, but shouldnt they have left certain modules while moving to higher versions...like getopt seems like a quick perl-type parser.....
<junkmechanic_> i agree optparse is more comprehensive...but isnt it better to just leave it as an option rahter than removing it altogether..
datanoise has quit [Ping timeout: 264 seconds]
ironhide_604 has joined #ruby-lang
<junkmechanic_> found the method in optparse getopts()
yfeldblum has quit [Remote host closed the connection]
<junkmechanic_> of course they are more considerate than i thought and am...
kiddorails has quit [Quit: Leaving.]
Squarepy has quit [Quit: Leaving]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
<junkmechanic_> jhass, the problem is that even with the 'or' condition in xpath, i get the result with the tags grouped by name...
<junkmechanic_> not in chronological order..
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
<jhass> there's really no other property you can sort them by?
<junkmechanic_> the inefficient solution that i can think of is to iterate over all tags and filter wgile processing...
<jhass> I'm not even sure if order is a property XML (or any generator/parser) really guarantees
diegoviola has quit [Quit: WeeChat 0.4.3]
<junkmechanic_> woah...really..lemme check if that makes my work more difficult..
<jhass> stackoverflow says I'm wrong and it should be preserved
<junkmechanic_> yeah...just ran it over my data...
<junkmechanic_> but it is not preserved when i put an 'or' in the xpath....they get accumulated
<jhass> why do you need the order? because each consecutive ones are related?
<junkmechanic_> yes...
<jhass> And I guess you have no control over the generation/schema?
<junkmechanic_> depends on what precedes what
<junkmechanic_> yeah...thats not possible..
<jhass> because a sane schema for such a thing would be making the related elements childs
<apeiros> siblings of a common parent
<apeiros> if you need order, you probably have to traverse manually
<[spoiler]> can siblings have an uncommon parent even?
<[spoiler]> in XML i mean, not in real life
<apeiros> [spoiler]: I was more trying to imply that only those which belong together should be siblings
<[spoiler]> Oh
<apeiros> but phrasing wasn't good :)
<[spoiler]> It's alright, I was mind blown for a second though, almost googled "xml step-parent"
* [spoiler] is ashamed.
<junkmechanic_> hmm...thats something i can suggest to the maintainers of the library that generates the xml....
<apeiros> <luke>what is it that you have to tell me?</luke><darth-vader>I'm your father, luke</darth-vader><!-- Star Wars XML -->
<junkmechanic_> hmm...manual traversal then...thanks a lot guys...
<apeiros> <darth-vader><luke /><leia /></darth-vader><!-- Star Wars XML revelations… -->
<jhass> junkmechanic_: can you share some example data? I've the feeling there's some xpath magic that might make that work
<apeiros> there are sibling selectors, at least in css. pretty sure in xpath too
<apeiros> i.e. maybe you can get the belonging tags together
<jhass> yep, following-sibling for example
<junkmechanic_> alright...
<jhass> sadly only ancestor-or-self and descendant-or-self but no following-or-self
<apeiros> you can register custom selectors in nokogiri
memorozovm has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
<junkmechanic_> jhass, http://pastebin.com/GqWiH4ZG
<junkmechanic_> i have pasted the intial few lines...
<jhass> which doesn't allow me to copy paste into nokogiri...
<junkmechanic_> this goes on....i need sectionHeader and bodyText tags
alexju has quit [Remote host closed the connection]
<junkmechanic_> do you see what i mean jhass
<jhass> let me at least indent that stuff first...
<junkmechanic_> a powerful text editor to the rescue...vim id suggest..
<jhass> sublime does it too
memorozovm has quit [Ping timeout: 276 seconds]
futilegames has joined #ruby-lang
sferik has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
jamo_ has quit [Quit: Lost terminal]
sheperson has joined #ruby-lang
stayarrr has joined #ruby-lang
sheperson_ has joined #ruby-lang
sheperson has quit [Client Quit]
sheperson_ is now known as sheperson
datanoise has joined #ruby-lang
<jhass> alright, gonna hate me
<jhass> doc.xpath('//variant/*[self::sectionHeader|self::bodyText]').map(&:name).each_slice(2).to_a
<jhass> junkmechanic_: ^
<junkmechanic_> haha...wtf is that...
<jhass> all direct childs of variant, filtered by ([] is a predicate) element name (self is an axis, axis::tagName filters it by element)
<sheperson> Hi
<sheperson> I am new here!
datanoise has quit [Ping timeout: 264 seconds]
<jhass> hey
<junkmechanic_> this gives me nothing....
yatish27 has joined #ruby-lang
<junkmechanic_> jhass, do you get the desired output?
<jhass> http://cloud.aeshna.de/u/mrzyx/screenshots/screenshot_20140517_134841.png Nokogiri with the XML snippet you gave transformed to a valid document
stamina has quit [Ping timeout: 264 seconds]
<jhass> (yes, I get that with | instead of or too)
<junkmechanic_> whats map doing here...
<jhass> just truncating output
<jhass> .map {|element| element.name }
yatish27 has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
mujtabahussain has joined #ruby-lang
yatish27_ has joined #ruby-lang
<junkmechanic_> jhass, could you explain the axis part again...the use of self
Jamo has quit [Remote host closed the connection]
cored has quit [Ping timeout: 258 seconds]
<jhass> junkmechanic_: xpath knows so called axis to reference elements in relation to the current element, so /foo/following_siblings for example selects all siblings that follow foo
<jhass> junkmechanic_: you can restrict the match certain elements: /foo/following-siblings::onlyThese
<jhass> self simply is such an axis referring to the current element
<jhass> so these work in predicates too, /foo/*[self::bar] is a complicated way to write /foo/bar
<jhass> but that syntax allows to make use of the or operator that is allowed in predicates
<jhass> also apparently xpath 2.0 would allow //variant/(sectionHead|bodyText)
mbj has joined #ruby-lang
rizidoro has joined #ruby-lang
rizidoro has quit [Client Quit]
franzip has joined #ruby-lang
GBrawl_ has quit [Quit: Computer has gone to sleep.]
mujtabahussain has quit [Quit: leaving]
danijoo has quit [Quit: Leaving...]
simono has joined #ruby-lang
mbj has quit [Ping timeout: 264 seconds]
sferik has quit [Quit: Textual IRC Client: www.textualapp.com]
shemerey has joined #ruby-lang
shemerey has quit [Client Quit]
GBrawl_ has joined #ruby-lang
jeer has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
historypeats has joined #ruby-lang
memorozovm has joined #ruby-lang
memorozovm has quit [Remote host closed the connection]
yatish27_ has quit [Ping timeout: 252 seconds]
jhass is now known as jhass|off
Thanatermesis has joined #ruby-lang
Thanatermesis has joined #ruby-lang
yatish27 has joined #ruby-lang
memorozovm has joined #ruby-lang
jhass|off is now known as jhass
postmodern has quit [Quit: Leaving]
datanoise has joined #ruby-lang
charliesome has quit [Ping timeout: 276 seconds]
BucOder has joined #ruby-lang
datanoise has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
danijoo has joined #ruby-lang
bahar has joined #ruby-lang
bahar has quit [Remote host closed the connection]
memorozovm has quit [Read error: Connection reset by peer]
memorozovm has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
matp has quit [Ping timeout: 240 seconds]
kiddorails has joined #ruby-lang
<junkmechanic_> thanks again jhass for the explanation...
Cakey has joined #ruby-lang
GBrawl_ has quit [Quit: Computer has gone to sleep.]
datanoise has joined #ruby-lang
yatish27 has quit [Ping timeout: 240 seconds]
GBrawl_ has joined #ruby-lang
bahar has joined #ruby-lang
bahar has quit [Client Quit]
bahar has joined #ruby-lang
bahar has quit [Client Quit]
bahar has joined #ruby-lang
BucOder has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bahar has quit [Changing host]
bahar has joined #ruby-lang
VTLob has quit [Quit: VTLob]
historypeats has quit [Quit: Leaving.]
shashin has joined #ruby-lang
shashin has quit [Changing host]
shashin has joined #ruby-lang
datanoise has quit [Ping timeout: 240 seconds]
danijoo has quit [Quit: Leaving...]
shashin has quit [Ping timeout: 265 seconds]
BucOder has joined #ruby-lang
datanoise has joined #ruby-lang
nathanstitt has joined #ruby-lang
patcarolan has joined #ruby-lang
GBrawl__ has joined #ruby-lang
GBrawl_ has quit [Ping timeout: 265 seconds]
datanoise has quit [Ping timeout: 252 seconds]
patcarolan is now known as patc
patc is now known as patcarolan
toastynerd has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 265 seconds]
patcarolan has left #ruby-lang [#ruby-lang]
datanoise has joined #ruby-lang
shemerey has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
mbj has joined #ruby-lang
havenwood has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
Cakey has quit [Ping timeout: 240 seconds]
BucOder has quit [Quit: Computer has gone to sleep.]
simono has joined #ruby-lang
rsl has joined #ruby-lang
smapdi has joined #ruby-lang
GBrawl___ has joined #ruby-lang
GBrawl__ has quit [Ping timeout: 265 seconds]
<sheperson> I have been doing Ruby for about a year (with Rails)
<sheperson> Now, I want to move to the next level
<sheperson> what resources do you recommend?
relix has joined #ruby-lang
<havenwood> sheperson: Read a lot of code. Take a look at some gems and learn to cut your own. If you haven't read it, The Ruby Programming Language is a good book.
<sheperson> The one by Dave?
<havenwood> sheperson: yup, "the Sparrow"
<sheperson> Thanks
apeiros has quit [Remote host closed the connection]
<havenwood> sheperson: Any particular areas you're interested in?
apeiros has joined #ruby-lang
<sheperson> havenwood: As I said, I have been doing RoR for a year now. Now I want to move to the next level both in Ruby itself and also in Rails.
<sheperson> havenwood: I am trying to boost y knowledge in order to be able to find a job, specifically in Europe.
historypeats has joined #ruby-lang
<havenwood> sheperson: One thing that might be interesting is looking at other Rack frameworks in addition to Rails, just for some diversity of ideas. Maybe take a look at Sinatra, NYNY, Hobbit, Cuba, Ramaze, Camping, Scorched, Lotus and friends on the Githubs.
<chris2> what's the recommended markdown formatter nowadays?
<manveru> i think bluecloth
<chris2> manveru: welcome to 2004
<manveru> havenwood just summoned us with all the keywords
<manveru> :)
<havenwood> manveru: hahah! :)
apeiros has quit [Ping timeout: 240 seconds]
<sheperson> havenwood: Nice idea
<manveru> redcarpet?
<manveru> looks like that's what we use in production
mehlah has joined #ruby-lang
GBrawl___ has quit [Quit: Computer has gone to sleep.]
mbj_ has joined #ruby-lang
* chris2 realizes he wants to hack in some extensions
datanoise has quit [Ping timeout: 276 seconds]
<chris2> red carpet seems best supported
stayarrr has quit [Quit: Leaving...]
mbj has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
alexju has joined #ruby-lang
memorozovm has quit []
<chris2> *gnar*
yfeldblum has quit [Ping timeout: 265 seconds]
Xzyx987X has joined #ruby-lang
historypeats has quit [Quit: Leaving.]
mbj_ has quit [Ping timeout: 264 seconds]
Xzyx987X_ has quit [Ping timeout: 258 seconds]
shinnya has joined #ruby-lang
datanoise has joined #ruby-lang
bahar has quit [Ping timeout: 240 seconds]
bahar has joined #ruby-lang
GBrawl___ has joined #ruby-lang
marcdel has joined #ruby-lang
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Miphix has quit [Quit: Leaving]
Miphix has joined #ruby-lang
anibara has quit [Quit: anibara]
marcdel_ has joined #ruby-lang
GBrawl___ has quit [Ping timeout: 265 seconds]
marcdel has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby-lang
stardiviner has quit [Ping timeout: 255 seconds]
Thanatermesis has left #ruby-lang ["ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ"]
chouhoulis has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
knightwrestle has joined #ruby-lang
canton7 has quit [Remote host closed the connection]
ascarter has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
canton7 has joined #ruby-lang
<chris2> i think i prefer kramdown
stardiviner has joined #ruby-lang
x0f has joined #ruby-lang
arooni-mobile has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
x0f_ has quit [Ping timeout: 258 seconds]
jimbauds has joined #ruby-lang
rippa has joined #ruby-lang
BucOder has joined #ruby-lang
datanoise has joined #ruby-lang
eam has quit [Ping timeout: 252 seconds]
VTLob has joined #ruby-lang
eam has joined #ruby-lang
ayonkhan has joined #ruby-lang
ayonkhan has quit [Remote host closed the connection]
ayonkhan has joined #ruby-lang
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BucOder has quit [Quit: Computer has gone to sleep.]
GBrawl___ has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<whitequark> kramdown is probably the best
stayarrr has joined #ruby-lang
GBrawl___ has quit [Ping timeout: 265 seconds]
<jtoy> can someone help me with this simple regex? http://rubular.com/r/8CBc5ukkCk i am trying to match the word "repeat" in there
<jtoy> havenwood: i see, thanks, missing the ()s
fenicks has joined #ruby-lang
derek has quit [Remote host closed the connection]
derek has joined #ruby-lang
atmosx has joined #ruby-lang
ayonkhan has quit [Quit: Lingo - http://lingoirc.com]
Burgestrand has quit [Quit: Burgestrand]
stardiviner has quit [Read error: Connection reset by peer]
derek has quit [Ping timeout: 240 seconds]
stayarrr has quit [Quit: Leaving...]
alexju has quit [Remote host closed the connection]
centrx has joined #ruby-lang
smapdi has quit [Remote host closed the connection]
ascarter has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jamo has joined #ruby-lang
imperator has joined #ruby-lang
xcesariox has joined #ruby-lang
xcesariox has quit [Max SendQ exceeded]
ptahdunbar has joined #ruby-lang
xcesariox has joined #ruby-lang
stardiviner has joined #ruby-lang
jamo_ has joined #ruby-lang
atmosx has left #ruby-lang ["Lost in trance"]
mehlah has quit [Quit: Leaving...]
amclain has joined #ruby-lang
GBrawl___ has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 276 seconds]
arooni-mobile has quit [Ping timeout: 276 seconds]
marcdel_ has quit []
GBrawl___ has quit [Ping timeout: 265 seconds]
phansch has quit [Quit: WeeChat 0.4.3]
phansch has joined #ruby-lang
ptahdunbar has quit [Remote host closed the connection]
sheperson has quit [Quit: sheperson]
tbuehlmann has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.3]
phansch has joined #ruby-lang
marr has quit [Ping timeout: 258 seconds]
toastynerd has joined #ruby-lang
bahar has quit [Ping timeout: 240 seconds]
bahar has joined #ruby-lang
maoko has joined #ruby-lang
araujo has joined #ruby-lang
t4nk994 has joined #ruby-lang
<t4nk994> Hey, guys. Can anyone help a bit with MRuby?
<imperator> we can try
<havenwood> t4nk994: Having trouble?
<t4nk994> Yes, I have a bit of trouble with mrb_get_args.
<t4nk994> The problem is that I'm trying to get them to work with varible number of arguments.
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
futilegames has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.3]
mbj has joined #ruby-lang
phansch has joined #ruby-lang
deepwater has joined #ruby-lang
marcdel has joined #ruby-lang
marcdel_ has joined #ruby-lang
phansch has quit [Ping timeout: 265 seconds]
marcdel has quit [Ping timeout: 255 seconds]
mbj has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby-lang
stamina has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
bahar has quit [Ping timeout: 265 seconds]
bahar has joined #ruby-lang
symm- has joined #ruby-lang
<t4nk994> Any ieads?
<t4nk994> ideas*
yfeldblum has joined #ruby-lang
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Ping timeout: 252 seconds]
deepwater has quit [Quit: Textual IRC Client: www.textualapp.com]
<imperator> i'm not familiar with mrb_get_args, and I'm having trouble finding the actual docs for it
cstrahan has joined #ruby-lang
<imperator> if it works like rb_scan_args, use '*'
mistym has joined #ruby-lang
Barrin6 has joined #ruby-lang
relix has joined #ruby-lang
<t4nk994> Dude. You're a genius!!!
<t4nk994> Thanks a lot.
<imperator> did it work? that's a guess based on standard MRI extensions
seako has joined #ruby-lang
kiddorails has quit [Quit: Leaving.]
marr has joined #ruby-lang
Barrin6 has quit [Quit: Leaving]
<t4nk994> It doesn't want to work, yet.
ascarter has joined #ruby-lang
futilegames has quit [Quit: futilegames]
BucOder has joined #ruby-lang
<t4nk994> I solved the problem.
<t4nk994> We're good.
<t4nk994> You were of SUCH great help.
<t4nk994> Thanks a lot, imperator.
workmad3 has joined #ruby-lang
simono has joined #ruby-lang
nofxx has joined #ruby-lang
_ht has quit [Remote host closed the connection]
mbj has joined #ruby-lang
solars has joined #ruby-lang
<imperator> you're welcome, glad you got it working
<imperator> what was the solution ultimately?
mykoweb has joined #ruby-lang
BucOder has quit [Quit: Lingo - http://lingoirc.com]
symm- has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 252 seconds]
symm- has joined #ruby-lang
memorozovm has joined #ruby-lang
BucOder has joined #ruby-lang
dorei has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
datanoise has quit [Ping timeout: 240 seconds]
phansch has joined #ruby-lang
futilegames has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
Pat__ has joined #ruby-lang
memorozovm has quit []
mbj has quit [Quit: leaving]
bahar has quit [Ping timeout: 258 seconds]
bahar has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
amerine_ has joined #ruby-lang
amerine has quit [Ping timeout: 240 seconds]
BucOder has quit [Quit: Computer has gone to sleep.]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
BucOder has joined #ruby-lang
BucOder has quit [Client Quit]
tbuehlmann has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
BucOder has joined #ruby-lang
franzip has quit [Quit: ...]
mykoweb has quit [Remote host closed the connection]
nofxx has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
<t4nk994> I was giving it a function pointer instead of the address of that pointer. But now it works wonders.
Silex has quit [Quit: WeeChat 0.4.3]
mykoweb has quit [Ping timeout: 258 seconds]
simoz115 has joined #ruby-lang
stamina has quit [Remote host closed the connection]
cstrahan has quit [Ping timeout: 255 seconds]
BucOder has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
futilegames has quit [Quit: futilegames]
BucOder has joined #ruby-lang
VTLob has quit [Quit: VTLob]
phansch has quit [Quit: WeeChat 0.4.3]
bahar has quit [Ping timeout: 240 seconds]
phansch has joined #ruby-lang
bahar has joined #ruby-lang
cstrahan has joined #ruby-lang
stayarrr has joined #ruby-lang
ur5us has joined #ruby-lang
ironhide_604 has joined #ruby-lang
Burgestrand has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
devgiant has joined #ruby-lang
stayarrr has quit [Quit: Linkinus - http://linkinus.com]
ironhide_604 has quit [Ping timeout: 240 seconds]
mykoweb has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 240 seconds]
bahar has joined #ruby-lang
t4nk994 has quit [Ping timeout: 240 seconds]
retro|simi has quit [Ping timeout: 265 seconds]
Burgestrand has quit [Quit: Burgestrand]
lsegal has joined #ruby-lang
mykoweb has joined #ruby-lang
Pat__ has quit [Remote host closed the connection]
<zenspider> chris2: look at generic_ivar_set and st_init_numtable in variable.c
<zenspider> and st.c
phansch has quit [Ping timeout: 240 seconds]
<chris2> ah yes. thanks
<zenspider> (via object.c's rb_obj_ivar_set -> rb_ivar_set)
shinnya has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
BucOder has quit [Quit: Computer has gone to sleep.]
postmodern has joined #ruby-lang
workmad3 has joined #ruby-lang
simoz115 has quit [Ping timeout: 258 seconds]
simoz115 has joined #ruby-lang
simoz116 has joined #ruby-lang
marcdel_ has quit [Ping timeout: 240 seconds]
elia has joined #ruby-lang
jhass is now known as jhass|off
GBrawl___ has joined #ruby-lang
simoz115 has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby-lang
marcdel_ has joined #ruby-lang
marcdel has quit [Ping timeout: 258 seconds]
dmitrykorotkov has joined #ruby-lang
imperator has quit [Quit: Leaving]
mykoweb has quit [Read error: Connection reset by peer]
mykoweb has joined #ruby-lang
historypeats has joined #ruby-lang
historypeats has quit [Changing host]
historypeats has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
mykoweb has quit [Ping timeout: 252 seconds]
nofxx has joined #ruby-lang
workmad3 has quit [Ping timeout: 265 seconds]
mykoweb has joined #ruby-lang
WishBoy- has joined #ruby-lang
WishBoy has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
mykoweb has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby-lang
derek has joined #ruby-lang
WishBoy- has quit [Remote host closed the connection]
WishBoy has joined #ruby-lang
derek has quit [Remote host closed the connection]
derek has joined #ruby-lang
derek has quit [Ping timeout: 258 seconds]
fowl has joined #ruby-lang
<fowl> hi does know how to search a list in o(-n) time?
<apeiros> -n? :)
<fowl> er
<apeiros> 1. build a time machine, 2. ???, 3. profit
<fowl> need an algorithm that gets faster the more data you have
<apeiros> you mean grows slower than linearly?
GBrawl___ has quit [Quit: Computer has gone to sleep.]
<apeiros> bsearch can do that
<apeiros> bsearch is O(log(n))
<apeiros> requires your list to be sorted
<apeiros> all sub O(n) algorithms require your data-to-search to be prepared in some way
ur5us has quit [Remote host closed the connection]
<fowl> oh
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danguita has quit [Quit: WeeChat 0.3.8]
<apeiros> fowl: did that help you?
wallerdev has joined #ruby-lang
MindfulMonk has quit [Ping timeout: 276 seconds]
<fowl> no
<fowl> im just gonna give up and go be homeless
<apeiros> o0
<fowl> im bad at programming and i feel bad about it
<apeiros> are you fowlduck on twitter?
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
MindfulMonk has joined #ruby-lang
<fowl> no
<fowl> i would hopefully not be so obviously redundant
<wallerdev> lol
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
<apeiros> hrm, rare that my machine crashes :(
<apeiros> hm, k, can't help with "I'm bad at programming"
<Senjai> lol
<wallerdev> wow
<apeiros> the part about openssl
<wallerdev> havent seen slashdot in forever
<apeiros> the part about libressl is nice and encouraging :)
simoz116 has quit [Ping timeout: 255 seconds]
solars has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
cstrahan has quit [Ping timeout: 240 seconds]
dmitrykorotkov has quit [Quit: Ex-Chat]
dmitrykorotkov has joined #ruby-lang
rh1n0 has joined #ruby-lang
dmitrykorotkov has quit [Read error: Connection reset by peer]
devgiant has quit [Quit: Leaving]
dmitrykorotkov has joined #ruby-lang
saarinen has quit [Client Quit]
elia has quit [Quit: Computer has gone to sleep.]
WishBoy has quit [Ping timeout: 276 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
WishBoy has joined #ruby-lang
mykoweb has joined #ruby-lang
centrx has joined #ruby-lang
dik_dak has joined #ruby-lang
rh1n0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simoz116 has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
froginapot has joined #ruby-lang
simoz117 has joined #ruby-lang
ironhide_604 has joined #ruby-lang
WishBoy has quit [Remote host closed the connection]
WishBoy has joined #ruby-lang
simoz116 has quit [Ping timeout: 264 seconds]
jeer has joined #ruby-lang
kitak has joined #ruby-lang
simoz118 has joined #ruby-lang
simoz119 has joined #ruby-lang
DevDoo has joined #ruby-lang
simoz117 has quit [Ping timeout: 240 seconds]
simoz1110 has joined #ruby-lang
simoz118 has quit [Ping timeout: 252 seconds]
simoz119 has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-lang
dorei has quit []