ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
<rking> seoaqua: If you're starting from scratch youll definitely want to use the latest stuff. E.g. RSPec, probably Guard, etc.
<erikh> zzak: neat
postmodern has joined #ruby-lang
brunocoelho has joined #ruby-lang
<seoaqua> rking, ok i'll look into them
<erikh> seoaqua: yes, that'll take you right to the source code
<erikh> you can read it.
<erikh> mechanize probably uses hoe anyhow
<erikh> given the author(s)
<seoaqua> erikh, got it:)
woollyam_ has quit [Quit: Computer has gone to sleep.]
Z33K|Lux has joined #ruby-lang
woollyams has joined #ruby-lang
<seoaqua> rking, is RSPec better than minitest?
<rking> seoaqua: Hrm.
<erikh> it's a preference thing.
<erikh> minitest is quite a bit faster but if you like how rspec works that's no reason to choose one over the other.
<rking> Yeah, I mean it depends on your values.
<rking> I like for things to be specified once and only once while being maximally simple, and RSpec is the most direct way to do that AFAIK.
<seoaqua> ok :)
<seoaqua> and what does Guard do? i'm confused by the official description
<rking> It watches your files for changes then automatically runs the tests.
postmodern has quit [Quit: Leaving]
<rking> I uses inotify so it's instantaneous, plus it's smart. E.g. you set a mapping, "files of this name belong to that test", and then if either the code or the test changes, the corresponding test is run.
<rking> Then if it passes it goes ahead and runs the whole test suite.
S2kx has joined #ruby-lang
<seoaqua> rking, its an alternative to rspec?
<rking> No, it works with RSPec or whatever other testing tools you have.
<rking> It's basically a "when this file changes do that".
<seoaqua> cool
<rking> And you can define the "this file" and the "that" to be anything.
<rking> Actually if you install the inotify tools you can do your own stuff with inotifywait and inotifywatch. Its very simple.
postmodern has joined #ruby-lang
S1kx has quit [Ping timeout: 252 seconds]
<seoaqua> these stuff blow my mind
A124 has quit [Read error: No route to host]
<seoaqua> maybe not the right word
A124 has joined #ruby-lang
<seoaqua> so interesting
<rking> seoaqua: Oh, actually - MiniTest now has minitest/spec, which looks to do most of what I liked from RSpec.
Hakon|mbp has joined #ruby-lang
ryanf has joined #ruby-lang
Hakon|mbp has quit [Client Quit]
knu has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
brushbox has joined #ruby-lang
cvans has quit [Ping timeout: 252 seconds]
<crankharder> "test/unit supports parallel testing"
<erikh> test/unit is more or less minitest these days
brunocoelho has quit [Remote host closed the connection]
<petercooper> spawns off multiple processes that communicate through pipes
<petercooper> I didn't have much luck in getting it working at the time
<petercooper> but it's used on MRI itself with much success, supposedly
<rking> Oh, that sounds most radical.
* rking cheers.
<sora_h> hi
krohrbaugh has quit [Quit: Leaving.]
postmodern has quit [Quit: Leaving]
dasibre has joined #ruby-lang
postmodern has joined #ruby-lang
fayimora_ has joined #ruby-lang
fayimora has quit [Ping timeout: 264 seconds]
fayimora_ is now known as fayimora
wallerdev has joined #ruby-lang
naz has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
igotnolegs has joined #ruby-lang
fayimora has quit [Quit: Be back in a gifii]
<crankharder> petercooper: ty
brushbox has quit [Quit: Leaving.]
zachs has quit []
zeba has quit [Remote host closed the connection]
brunocoelho has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
perryh_away is now known as perryh
shevy has quit [Ping timeout: 244 seconds]
replore has joined #ruby-lang
postmodern has quit [Quit: Leaving]
jperry2 has quit [Quit: Leaving.]
shevy has joined #ruby-lang
brushbox has joined #ruby-lang
dfr|mac has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dfr|mac has quit [Ping timeout: 245 seconds]
andrewhl has joined #ruby-lang
naz has quit [Ping timeout: 248 seconds]
n01z has joined #ruby-lang
brushbox has quit [Read error: Connection reset by peer]
brushbox has joined #ruby-lang
n01z has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
shtirlic_ has joined #ruby-lang
tdmackey has quit [Ping timeout: 245 seconds]
shtirlic has quit [Ping timeout: 244 seconds]
yannis has joined #ruby-lang
naz has joined #ruby-lang
tonesfrommars has joined #ruby-lang
ryez has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
wasnotrice is now known as zz_wasnotrice
Okasu has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
Facefox has quit [Ping timeout: 240 seconds]
bglusman has quit [Ping timeout: 245 seconds]
chessguy has joined #ruby-lang
ryanf has quit [Quit: leaving]
bglusman has joined #ruby-lang
Facefox has joined #ruby-lang
ryanf has joined #ruby-lang
ryanf has quit [Remote host closed the connection]
srbartlett has quit [Remote host closed the connection]
major_majors has quit [Read error: Operation timed out]
srbartlett has joined #ruby-lang
<crankharder> i gave POW a shot today, decided to uninstall it, and now i'm pretty sure it's still conflicting with localhost:80 somehow. anyone know what server, or thing it installs and binds 80? i dont see thin/nginx/apache running on the syste
nazty has joined #ruby-lang
WillMarshall has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
brushbox has joined #ruby-lang
WillMarshall has quit [Quit: Computer has gone to sleep.]
major_majors has joined #ruby-lang
brushbox has quit [Client Quit]
akira989 has joined #ruby-lang
dasibre has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
yannis has quit [Read error: Connection timed out]
yannis has joined #ruby-lang
TheHunter_1039 has quit [Quit: TheHunter_1039]
Karmaon has joined #ruby-lang
postmodern has quit [Quit: Leaving]
postmodern has joined #ruby-lang
savage- has joined #ruby-lang
brushbox has joined #ruby-lang
zeba has joined #ruby-lang
macmartine has quit [Quit: macmartine]
Karmaon has left #ruby-lang ["WeeChat 0.3.8-rc2"]
yannis has quit [Read error: Connection timed out]
yannis has joined #ruby-lang
Jade has quit [Read error: Connection reset by peer]
zz_wasnotrice is now known as wasnotrice
ryanf has joined #ruby-lang
countdigi has joined #ruby-lang
brunocoelho has quit [Remote host closed the connection]
yannis has quit [Read error: Connection timed out]
jtoy has joined #ruby-lang
somethinYellow has quit [Quit: Computer has gone to sleep]
macmartine has joined #ruby-lang
jtoy has quit [Client Quit]
macmartine has quit [Client Quit]
<yfeldblum> crankharder, pow is a nodejs app written in coffeescript, and has an internal http server that proxies to your rack apps and an internal dns server, and does not need apache/nginx/etc
jtoy has joined #ruby-lang
macmartine has joined #ruby-lang
jtoy has quit [Quit: jtoy]
bglusman has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
bglusman has quit [Read error: Connection reset by peer]
bglusman has joined #ruby-lang
ramonmaruko has quit [Read error: Connection reset by peer]
deryl has quit [Quit: Time To Go, So Sad!]
ramonmaruko has joined #ruby-lang
deryldoucette has joined #ruby-lang
deryldoucette has quit [Client Quit]
deryldoucette has joined #ruby-lang
deryldoucette is now known as deryl
uc has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
rippa has joined #ruby-lang
ramonmaruko has quit [Remote host closed the connection]
macmartine has quit [Quit: macmartine]
Sinestro has joined #ruby-lang
arooni-mobile has joined #ruby-lang
tonesfrommars has quit [Quit: KVIrc 4.0.1 Insomnia http://www.kvirc.net/]
petercooper has quit [Remote host closed the connection]
tomzx has quit [Ping timeout: 245 seconds]
jtoy has joined #ruby-lang
uc has quit [Ping timeout: 252 seconds]
wasnotrice is now known as zz_wasnotrice
dalekurt has quit [Quit: Zzz...]
tRAS has joined #ruby-lang
Karmaon has joined #ruby-lang
Karmaon has left #ruby-lang [#ruby-lang]
brianpWins has joined #ruby-lang
jtoy has quit [Quit: jtoy]
uc has joined #ruby-lang
ramonmaruko has joined #ruby-lang
Boohbah has quit [Ping timeout: 276 seconds]
dalekurt has joined #ruby-lang
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
neoesque has joined #ruby-lang
JohnBat26 has joined #ruby-lang
tRAS has quit [Ping timeout: 244 seconds]
arooni-mobile has quit [Ping timeout: 250 seconds]
tRAS has joined #ruby-lang
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
dtang has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
tjadc has quit [Read error: Connection reset by peer]
geekfactor has quit [Remote host closed the connection]
Guest36938 has quit [Remote host closed the connection]
geekfactor has joined #ruby-lang
gokul has joined #ruby-lang
brushbox has joined #ruby-lang
yxhuvud has joined #ruby-lang
kalleth has quit [Ping timeout: 244 seconds]
akira989 has quit [Remote host closed the connection]
gsav has quit [Read error: Connection reset by peer]
Sinestro has quit [Quit: Sinestro]
ezkl has joined #ruby-lang
mytrile has joined #ruby-lang
woollyams has quit [Read error: Connection reset by peer]
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
woollyams has joined #ruby-lang
yannis has joined #ruby-lang
nazty has quit [Quit: WeeChat 0.3.7]
dc5ala has joined #ruby-lang
kitallis has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
dalekurt has quit [Quit: Zzz...]
kalleth has joined #ruby-lang
lele has joined #ruby-lang
nazty has joined #ruby-lang
rippa has quit [Ping timeout: 260 seconds]
brushbox has joined #ruby-lang
seoaqua has quit [Quit: Leaving]
kaiwren has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
ramonmaruko has quit [Remote host closed the connection]
seoaqua has joined #ruby-lang
ramonmaruko has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
igotnolegs has quit [Quit: Computer has gone to sleep.]
gsav has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
ruby-lang690 has joined #ruby-lang
kinesis has left #ruby-lang [#ruby-lang]
<seoaqua> erikh, hi, how does Mechanize auto include , like @agent = Mechanize::HTTP::Agent.new https://github.com/tenderlove/mechanize/blob/master/lib/mechanize.rb
gsav has quit [Read error: Connection reset by peer]
mytrile_ has joined #ruby-lang
<ezkl> Short answer, it doesn't.
solars has joined #ruby-lang
ruby-lang690 has quit [Ping timeout: 245 seconds]
mytrile_ has quit [Remote host closed the connection]
mytrile has quit [Ping timeout: 245 seconds]
mytrile has joined #ruby-lang
heftig has quit [Quit: leaving]
gokul has quit [Quit: Leaving]
banisterfiend has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
<seoaqua> thanks, i was afw
<seoaqua> ezkl, thanks, i was afw
fserb has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
vmoravec has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
S2kx has quit [Quit: Leaving]
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
JohnBat26 has joined #ruby-lang
nazty has quit [Ping timeout: 265 seconds]
naz has quit [Ping timeout: 245 seconds]
rolfb has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
fserb has quit [Quit: ttyl]
heftig has joined #ruby-lang
sepp2k has joined #ruby-lang
ryanf has quit [Quit: leaving]
Fullmoon has quit [Quit: Fullmoon]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
brianpWins has quit [Quit: brianpWins]
gnufied has joined #ruby-lang
woollyams has quit [Ping timeout: 265 seconds]
d3vic3 has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
cdt has quit [Quit: Ex-Chat]
gsav has joined #ruby-lang
sora_h is now known as s0ra_h
Z33K|Lux has quit []
gsav has quit [Read error: Connection reset by peer]
srbartlett has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
srbartlett has quit [Remote host closed the connection]
Criztian has joined #ruby-lang
seoaqua has quit [Quit: Leaving]
kyrylo has quit [Ping timeout: 245 seconds]
gsav has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
perryh is now known as perryh_away
dtang has quit [Quit: dtang]
Fullmoon has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
stardiviner has joined #ruby-lang
naz has joined #ruby-lang
savage- has quit [Remote host closed the connection]
naz has quit [Ping timeout: 244 seconds]
Criztian has quit [Remote host closed the connection]
rt456tgurt has joined #ruby-lang
tomb_ has joined #ruby-lang
gsav has joined #ruby-lang
zmack has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
rt456tgurt has left #ruby-lang [#ruby-lang]
tomb_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
gnufied has quit [Read error: Connection reset by peer]
<bnagy> would it be possible to modify an xml doc with nokogiri, if it's large? I'm using the stream parser at the moment...
<bnagy> And I'd like to delete nodes
charliesome has joined #ruby-lang
<rue> Well, you need to write the doc back
Mchl has quit [Ping timeout: 252 seconds]
<bnagy> does that mean I need to put all those stupid whitespace nodes back? :<
<rue> Not if they’re not significant
woollyams has joined #ruby-lang
gsav has joined #ruby-lang
<bnagy> they appear to be TYPE_SIGNIFICANT_WHITESPACE :/
DMKE has joined #ruby-lang
DMKE has quit [Changing host]
DMKE has joined #ruby-lang
jxie has joined #ruby-lang
<bnagy> so I basically need to write an xml emitter?
Mchl has joined #ruby-lang
replore has quit [Remote host closed the connection]
<heftig> bnagy: "If a DTD or Schema declares an element to contain only child element nodes and not text nodes, then a validating XML parser can safely throw away the white space between elements."
<heftig> so if you use a dtd or schema, maybe your parser will be smart enough to ignore the whitespace
<bnagy> heftig: ok, that's one bit of good news
<heftig> (as it will make those nodes insignificant)
<shevy> mhmmm
<shevy> XML
<bnagy> yeah, it's horrible
<bnagy> parsing it was going to be super easy - then I found some text nodes that got split across two nodes, for no apparent reason
<bnagy> so a <value> element would contain 2 text nodes then a </value>
<bnagy> sorry <string> nodes, not text nodes
<bnagy> xml jargon :S
postmodern has quit [Quit: Leaving]
toretore has joined #ruby-lang
Guest85656 has joined #ruby-lang
neoesque has quit [Quit: Bye!]
tRAS has quit [Ping timeout: 244 seconds]
kaiwren has quit [Ping timeout: 245 seconds]
srbartlett has joined #ruby-lang
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
kaiwren has joined #ruby-lang
cantonic_ has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
cantonic has quit [Ping timeout: 252 seconds]
cantonic_ is now known as cantonic
TheHunter_1039 has joined #ruby-lang
woollyams has quit [Ping timeout: 256 seconds]
tRAS has joined #ruby-lang
tjadc has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
Defusal has quit [Read error: Connection reset by peer]
tomb_ has joined #ruby-lang
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
Facefox has quit [Ping timeout: 244 seconds]
ttilley has quit [Read error: Connection reset by peer]
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
Facefox has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
dRbiG has quit [Ping timeout: 260 seconds]
uc has quit [Remote host closed the connection]
zmack has quit [Remote host closed the connection]
cantonic has quit [Remote host closed the connection]
tomzx has joined #ruby-lang
cantonic has joined #ruby-lang
ttilley has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 240 seconds]
tomzx has quit [Ping timeout: 260 seconds]
dc5ala has quit [Quit: Ex-Chat]
geekfactor has quit [Remote host closed the connection]
geekfactor has joined #ruby-lang
dRbiG has joined #ruby-lang
woollyams has quit [Ping timeout: 260 seconds]
woollyams has joined #ruby-lang
joshcheek has joined #ruby-lang
<rue> Yay XML
dasibre has joined #ruby-lang
Criztian has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.3.8]
relix has joined #ruby-lang
<relix> Hey guys
<relix> I have this code: http://pastie.org/4024583
<relix> how can I get to the class "Test" inside the method "acts_as_test" ?
<relix> if I try "self", it returns ActsAsTest::ClassMethods
<bnagy> (if you're gonna crosspost, please mention that you're doing it)
<relix> crossposting from #ruby
gix has quit [Ping timeout: 248 seconds]
<relix> negate that question, I *am* getting the right class if I just use non-AR classes
jbsan has joined #ruby-lang
dv310p3r has quit [Ping timeout: 245 seconds]
<relix> sorry guys!
cantonic_ has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
cantonic_ is now known as cantonic
heftig has quit [Ping timeout: 245 seconds]
dejongge has joined #ruby-lang
woollyams has quit [Ping timeout: 265 seconds]
gix has joined #ruby-lang
ezkl has quit [Quit: QUIT!]
woollyams has joined #ruby-lang
Integralist has joined #ruby-lang
s0ra_h is now known as sora_h
Integralist has quit [Client Quit]
woollyams has quit [Quit: Computer has gone to sleep.]
zahraa has joined #ruby-lang
|Vargas| has quit [Quit: ...]
chessguy has quit [Read error: Connection reset by peer]
chessguy has joined #ruby-lang
knu has joined #ruby-lang
<rue> Then you probably want #ror
schroedinbug has quit [Ping timeout: 248 seconds]
woollyams has joined #ruby-lang
mark_locklear has joined #ruby-lang
<chris2> is there a #rol too? :)
Guest85656 has quit [Ping timeout: 250 seconds]
<shevy> it is forbidden to lol on #ror
QaDeS has joined #ruby-lang
<rue> #lolr
knu has quit [Read error: Connection reset by peer]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
gouthamvel has joined #ruby-lang
zmack has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
schroedinbug has joined #ruby-lang
ryez has joined #ruby-lang
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
heftig has joined #ruby-lang
jxie has joined #ruby-lang
mistym has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
ryez has joined #ruby-lang
b1rkh0ff has quit [Ping timeout: 260 seconds]
knu has joined #ruby-lang
bglusman has quit [Ping timeout: 245 seconds]
ttilley has joined #ruby-lang
jperry2 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
zahraa has quit []
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
jxie has quit [Ping timeout: 245 seconds]
Kellin has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
dv310p3r has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
jxie has joined #ruby-lang
M4g1c5t0rM has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<zzak> good morning!
mortice has quit [Quit: leaving]
mortice has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
dejongge has quit [Quit: Leaving.]
<erikh> yo
ttilley has quit [Remote host closed the connection]
Fullmoon has quit [Ping timeout: 245 seconds]
dalekurt has joined #ruby-lang
<shevy> hmm I am playing with threads
<shevy> right now I store the threads in an array
<shevy> then, via pp, the output is like so:
carloslopes has joined #ruby-lang
<shevy> [#<Thread:0x7f8ef6f29b80 dead>]
<shevy> or, if it seems to be inactive:
<shevy> [#<Thread:0x7f8ef6f29b80 sleep>]
<shevy> is there any other state that a thread could have? reason I ask is that I want to store the threads in some yaml file or somewhere else
<shevy> and then restore them
<shevy> (but only those that are sleeping, not the dead ones)
<matti> Hi shevy
<shevy> hi matti
<matti> shevy: I am certain you cannot serialise threads.
<shevy> hmm damn :(
M4g1c5t0rM has joined #ruby-lang
hynkle has joined #ruby-lang
imajes has quit [Excess Flood]
wallerdev has joined #ruby-lang
imajes has joined #ruby-lang
Zenigor has joined #ruby-lang
Axsuul has quit [Ping timeout: 244 seconds]
joshcheek has quit [Quit: joshcheek]
jbsan has quit [Quit: jbsan]
elux has joined #ruby-lang
gregf has joined #ruby-lang
Jake232 has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
any-key has joined #ruby-lang
gsav has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
<rue> Correct
wasnotrice is now known as zz_wasnotrice
<shevy> hmm hmm hmm
<shevy> what if I have ... a code block
<shevy> { sleep 20; puts 'This is a test.' }
<shevy> perhaps in a yaml file
<shevy> I could capture that, and put it inside a Thread.new ?
<bnagy> yeah, but you'll need to have your proc as a string and eval it
<bnagy> procs don't serialize either
<shevy> oh dear
<shevy> eval gives me nightmares :(
setmeaway has quit [Read error: Connection reset by peer]
setmeaway has joined #ruby-lang
<zzak> why do you want to store them?
<lianj> just monday insanity
krohrbaugh has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
ttilley has joined #ruby-lang
ttilley has joined #ruby-lang
bglusman has joined #ruby-lang
<shevy> zzak so that a reboot doesnt kill them for example
<zzak> i would suggest a job queue then, like resque
Aphelion has joined #ruby-lang
ttilley has quit [Read error: Connection reset by peer]
Aphelion has joined #ruby-lang
Aphelion has quit [Changing host]
jumpei_i has joined #ruby-lang
mistym_ has joined #ruby-lang
bryancp has joined #ruby-lang
setmeaway has quit [Read error: Connection reset by peer]
<kalleth> shevy: eval gives everyone nightmares
JohnBat26 has quit [Ping timeout: 252 seconds]
tubbo`wknd has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
Aphelion is now known as ttilley
jumpei_i has quit [Ping timeout: 252 seconds]
kaiwren_ has joined #ruby-lang
kaiwren has quit [Ping timeout: 248 seconds]
kaiwren_ is now known as kaiwren
mytrile has quit [Remote host closed the connection]
tRAS has quit [Ping timeout: 265 seconds]
akira989 has joined #ruby-lang
Zenigor has left #ruby-lang [#ruby-lang]
Raduwen has joined #ruby-lang
setmeaway has joined #ruby-lang
arooni-mobile has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.3.8]
tubbo has joined #ruby-lang
mistym has quit [Remote host closed the connection]
savage- has joined #ruby-lang
Jake232 has quit [Quit: Computer has gone to sleep.]
krohrbaugh1 has quit [Read error: Connection reset by peer]
mistym_ has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
tRAS has joined #ruby-lang
joast has quit [Quit: Leaving.]
vaelen has joined #ruby-lang
krohrbaugh has joined #ruby-lang
jxie has quit [Ping timeout: 244 seconds]
M4g1c5t0rM has quit [Read error: Connection reset by peer]
imajes has quit [Excess Flood]
wallerdev has quit [Quit: wallerdev]
imajes has joined #ruby-lang
rippa has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
beiter has joined #ruby-lang
<rue> It’s probably better to have a queue with some type of a confirmation that a job’s been finished
kaiwren has quit [Quit: kaiwren]
quatauta has joined #ruby-lang
tcopp has joined #ruby-lang
M4g1c5t0rM has quit [Read error: Connection reset by peer]
outoftime has joined #ruby-lang
schroedinbug has quit [Read error: Operation timed out]
quatauta_ has joined #ruby-lang
quatauta has quit [Client Quit]
quatauta_ has quit [Read error: Connection reset by peer]
mikkelb has joined #ruby-lang
<mikkelb> Hey!
M4g1c5t0rM has joined #ruby-lang
<mikkelb> I just did gem install nokogiri and it seemed to install just fine. Yet I'm getting in `require': no such file to load -- nokogiri (LoadError), what's up with that?
krohrbaugh has quit [Read error: Connection reset by peer]
krohrbaugh has joined #ruby-lang
kitallis has quit [Ping timeout: 245 seconds]
kitallis has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
<darix> mikkelb: require 'rubybems'; require 'nokogiri'
<darix> mikkelb: require 'rubygems'; require 'nokogiri'
jtoy has joined #ruby-lang
M4g1c5t0rM has quit [Read error: Connection reset by peer]
M4g1c5t0rM has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
lele|2 has quit [Ping timeout: 272 seconds]
kaiwren has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
savage- has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
kaiwren has quit [Client Quit]
M4g1c5t0rM has quit [Read error: Connection reset by peer]
vmoravec has quit [Quit: Leaving]
ryez has quit [Ping timeout: 245 seconds]
kitallis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
krohrbaugh has quit [Read error: Connection reset by peer]
joast has joined #ruby-lang
Tref has joined #ruby-lang
<rue> Make sure to do it twice!
<darix> naw just fixed my typo :p
lele|2 has joined #ruby-lang
fgomez has quit [Quit: leaving]
fgomez has joined #ruby-lang
qwerxy has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
lopac1029 has joined #ruby-lang
<mikkelb> darix: 2 sec
yannis has quit [Quit: yannis]
<mikkelb> yeah!
<mikkelb> ill be damned
sora_h is now known as s0ra_h
<mikkelb> thanks darix
mark_locklear has quit [Remote host closed the connection]
<darix> welcome
thone_ has joined #ruby-lang
chimkan has joined #ruby-lang
thone has quit [Ping timeout: 244 seconds]
levifig has quit [Ping timeout: 244 seconds]
M4g1c5t0rM has quit [Write error: Connection reset by peer]
M4g1c5t0rM has joined #ruby-lang
arooni-mobile has quit [Quit: Leaving]
arooni-mobile has joined #ruby-lang
levifig has joined #ruby-lang
Skif has quit [Ping timeout: 240 seconds]
Skif has joined #ruby-lang
qwerxy has quit [Ping timeout: 244 seconds]
any-key has quit [Ping timeout: 240 seconds]
chendo has quit [Ping timeout: 240 seconds]
ttilley has quit [Remote host closed the connection]
dasibre_ has joined #ruby-lang
EvilJStoker has quit [Ping timeout: 244 seconds]
rking has quit [Ping timeout: 244 seconds]
solars has quit [Read error: Operation timed out]
dasibre has quit [Ping timeout: 240 seconds]
Aphelion has joined #ruby-lang
Aphelion has quit [Changing host]
Aphelion has joined #ruby-lang
rking has joined #ruby-lang
zerokarm1left has joined #ruby-lang
arooni-mobile has quit [Quit: Leaving]
savage- has joined #ruby-lang
Skif has quit [*.net *.split]
akira989 has quit [*.net *.split]
carloslopes has quit [*.net *.split]
tyman has quit [*.net *.split]
alexkane has quit [*.net *.split]
freedrull has quit [*.net *.split]
alindeman has quit [*.net *.split]
yellow5 has quit [*.net *.split]
corsican has quit [*.net *.split]
cronin101 has quit [*.net *.split]
thorncp has quit [*.net *.split]
dabradley has quit [*.net *.split]
ltd- has quit [*.net *.split]
mahlon has quit [*.net *.split]
jstemmer has quit [*.net *.split]
ruskie has quit [*.net *.split]
robbyrussell has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
M4g1c5t0rM has quit [*.net *.split]
chimkan has quit [*.net *.split]
outoftime has quit [*.net *.split]
tcopp has quit [*.net *.split]
dalekurt has quit [*.net *.split]
DMKE has quit [*.net *.split]
mikkelb has quit [*.net *.split]
unsymbol has quit [*.net *.split]
Weems has quit [*.net *.split]
dmwuw has quit [*.net *.split]
xsdg has quit [*.net *.split]
rue has quit [*.net *.split]
sei has quit [*.net *.split]
jorgenpt has quit [*.net *.split]
ged has quit [*.net *.split]
vesan has quit [*.net *.split]
Stereokitsune has quit [*.net *.split]
Taranis has quit [*.net *.split]
DefV has quit [*.net *.split]
tubbo has quit [*.net *.split]
gsav has quit [*.net *.split]
countdigi has quit [*.net *.split]
adambeynon has quit [*.net *.split]
tr-808 has quit [*.net *.split]
Guedes has quit [*.net *.split]
FiXato has quit [*.net *.split]
Gabriel_Moreira has quit [*.net *.split]
cid404 has quit [*.net *.split]
akahn has quit [*.net *.split]
meise has quit [*.net *.split]
ahf has quit [*.net *.split]
soahccc` has quit [*.net *.split]
llakey has quit [*.net *.split]
L0rdShrek has quit [*.net *.split]
akamike has quit [*.net *.split]
naquad has quit [*.net *.split]
gentz has quit [*.net *.split]
hachiya has quit [*.net *.split]
agib has quit [*.net *.split]
cschneid has quit [*.net *.split]
dylst has quit [*.net *.split]
spectra has quit [*.net *.split]
lupine_85 has quit [*.net *.split]
rking has quit [*.net *.split]
levifig has quit [*.net *.split]
fgomez has quit [*.net *.split]
heftig has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
wilkie has quit [*.net *.split]
ando has quit [*.net *.split]
JackNorris has quit [*.net *.split]
drbrain has quit [*.net *.split]
relix has quit [*.net *.split]
bmaland has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
tallship has quit [*.net *.split]
pcboy_ has quit [*.net *.split]
benteaa has quit [*.net *.split]
UNIXgod has quit [*.net *.split]
yugui has quit [*.net *.split]
Gekz has quit [*.net *.split]
tsou has quit [*.net *.split]
jordan` has quit [*.net *.split]
anekos has quit [*.net *.split]
ViperMaul has quit [*.net *.split]
tpope has quit [*.net *.split]
jmcphers has quit [*.net *.split]
fahadsadah has quit [*.net *.split]
hibariya has quit [*.net *.split]
theoros has quit [*.net *.split]
hagabaka has quit [*.net *.split]
dagobah has quit [*.net *.split]
jaska has quit [*.net *.split]
kke has quit [*.net *.split]
pabs has quit [*.net *.split]
FastJack has quit [*.net *.split]
lucas has quit [*.net *.split]
dju has quit [*.net *.split]
rippa has quit [*.net *.split]
vaelen has quit [*.net *.split]
elux has quit [*.net *.split]
bryanl has quit [*.net *.split]
corundum has quit [*.net *.split]
snk has quit [*.net *.split]
musl has quit [*.net *.split]
znz_jp has quit [*.net *.split]
yibe_ has quit [*.net *.split]
pkondzior has quit [*.net *.split]
wycats has quit [*.net *.split]
lake has quit [*.net *.split]
dphase has quit [*.net *.split]
lianj has quit [*.net *.split]
ozzloy has quit [*.net *.split]
Aphelion has quit [*.net *.split]
thone_ has quit [*.net *.split]
hynkle has quit [*.net *.split]
dRbiG has quit [*.net *.split]
kalleth has quit [*.net *.split]
A124 has quit [*.net *.split]
stamina has quit [*.net *.split]
_br_ has quit [*.net *.split]
threedaymonk has quit [*.net *.split]
cynosure has quit [*.net *.split]
steez has quit [*.net *.split]
adgar has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
yeltzooo7 has quit [*.net *.split]
Utkarsh has quit [*.net *.split]
kaz____ has quit [*.net *.split]
nisstyre has quit [*.net *.split]
dbussink has quit [*.net *.split]
Caius has quit [*.net *.split]
mitchty has quit [*.net *.split]
manveru has quit [*.net *.split]
zz_chrismcg has quit [*.net *.split]
brownies has quit [*.net *.split]
TheDracle has quit [*.net *.split]
acyed has quit [*.net *.split]
jarib has quit [*.net *.split]
anildigital_work has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
amerine has quit [*.net *.split]
VGoff has quit [*.net *.split]
Bwild has quit [*.net *.split]
znz_v has quit [*.net *.split]
ryland has quit [*.net *.split]
_tca has quit [*.net *.split]
lele|2 has quit [*.net *.split]
lele has quit [*.net *.split]
slaytanic has quit [*.net *.split]
whitequark has quit [*.net *.split]
Tick-Tock has quit [*.net *.split]
nibbo has quit [*.net *.split]
lzhz has quit [*.net *.split]
shyouhei has quit [*.net *.split]
shajith has quit [*.net *.split]
msch has quit [*.net *.split]
vbatts has quit [*.net *.split]
rhizmoe has quit [*.net *.split]
babinho has quit [*.net *.split]
epitron__ has quit [*.net *.split]
rails has quit [*.net *.split]
canton7 has quit [*.net *.split]
fireglow has quit [*.net *.split]
joschi has quit [*.net *.split]
gianlucadv has quit [*.net *.split]
derpemily has quit [*.net *.split]
toretore has quit [*.net *.split]
d3vic3 has quit [*.net *.split]
retro|cz has quit [*.net *.split]
fukushima has quit [*.net *.split]
epitron has quit [*.net *.split]
erikh has quit [*.net *.split]
Kero_ has quit [*.net *.split]
Natch| has quit [*.net *.split]
a3li has quit [*.net *.split]
felipe has quit [*.net *.split]
t0h has quit [*.net *.split]
KillerFox has quit [*.net *.split]
setmeaway has quit [*.net *.split]
mortice has quit [*.net *.split]
Defusal has quit [*.net *.split]
tomb_ has quit [*.net *.split]
x0F has quit [*.net *.split]
agarie has quit [*.net *.split]
kvs_ has quit [*.net *.split]
spuk has quit [*.net *.split]
s0ber has quit [*.net *.split]
ammar has quit [*.net *.split]
oddmunds has quit [*.net *.split]
denysonique has quit [*.net *.split]
segy has quit [*.net *.split]
mrb_bk has quit [*.net *.split]
telemachus has quit [*.net *.split]
hackeron has quit [*.net *.split]
stderr_ has quit [*.net *.split]
chris2 has quit [*.net *.split]
matti has quit [*.net *.split]
Guest74504 has quit [*.net *.split]
tylergillies has quit [*.net *.split]
Harzilein has quit [*.net *.split]
jaimef has quit [*.net *.split]
zigidias has quit [*.net *.split]
ixx has quit [*.net *.split]
bougyman has quit [*.net *.split]
Silex has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
_ko1 has quit [*.net *.split]
znouza_ has quit [*.net *.split]
MrWGW has quit [*.net *.split]
lantins has quit [*.net *.split]
SpitfireWP has quit [*.net *.split]
horus_plex has quit [*.net *.split]
abuiles has quit [*.net *.split]
tris has quit [*.net *.split]
mephux has quit [*.net *.split]
jwollert has quit [*.net *.split]
neurodamage has quit [*.net *.split]
[dmp] has quit [*.net *.split]
nuclearsandwich has quit [*.net *.split]
jayne has quit [*.net *.split]
jammi has quit [*.net *.split]
khaase has quit [*.net *.split]
ange has quit [*.net *.split]
lopac1029 has quit [*.net *.split]
joast has quit [*.net *.split]
imajes has quit [*.net *.split]
cantonic has quit [*.net *.split]
geekfactor has quit [*.net *.split]
deryl has quit [*.net *.split]
major_majors has quit [*.net *.split]
crankharder has quit [*.net *.split]
Asher has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
Xzyx987X has quit [*.net *.split]
zzak has quit [*.net *.split]
corecode has quit [*.net *.split]
jasiek has quit [*.net *.split]
rtl has quit [*.net *.split]
iosctr has quit [*.net *.split]
zz_wasnotrice has quit [*.net *.split]
Tasser has quit [*.net *.split]
TDJACR has quit [*.net *.split]
ybit2 has quit [*.net *.split]
awwaiid has quit [*.net *.split]
jperry2 has quit [*.net *.split]
dvorak has quit [*.net *.split]
kith has quit [*.net *.split]
ioga_wrk has quit [*.net *.split]
shaman42 has quit [*.net *.split]
blowmage has quit [*.net *.split]
levicole has quit [*.net *.split]
pbjorklund has quit [*.net *.split]
s0ra_h has quit [*.net *.split]
mihar_ has quit [*.net *.split]
cout has quit [*.net *.split]
gate has quit [*.net *.split]
zerokarmaleft has quit [*.net *.split]
ohsix has quit [*.net *.split]
andrewvos has quit [*.net *.split]
jtoy has quit [*.net *.split]
mistym has quit [*.net *.split]
andrewhl has quit [*.net *.split]
tonni has quit [*.net *.split]
knu has quit [*.net *.split]
zmack has quit [*.net *.split]
Hakon|mbp has quit [*.net *.split]
Facefox has quit [*.net *.split]
ramonmaruko has quit [*.net *.split]
shevy has quit [*.net *.split]
jimrollenhagen has quit [*.net *.split]
DEac- has quit [*.net *.split]
melter has quit [*.net *.split]
jds has quit [*.net *.split]
darix has quit [*.net *.split]
cyndis has quit [*.net *.split]
youngin has quit [*.net *.split]
stepnem has quit [*.net *.split]
singpolyma has quit [*.net *.split]
flebel has quit [*.net *.split]
conceal_rs_ has quit [*.net *.split]
zenspider has quit [*.net *.split]
Mikoangelo has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
Muz has quit [*.net *.split]
mtkd_ has quit [*.net *.split]
flori has quit [*.net *.split]
mccraig has quit [*.net *.split]
matled has quit [*.net *.split]
bnagy has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
aef_ has quit [*.net *.split]
tommyblue has quit [*.net *.split]
dumfries_ has quit [*.net *.split]
gate has joined #ruby-lang
dvorak has joined #ruby-lang
hynkle has joined #ruby-lang
somethinYellow has joined #ruby-lang
d3vic3 has joined #ruby-lang
qwerxy has joined #ruby-lang
EvilJStoker has joined #ruby-lang
eban has joined #ruby-lang
tyman_ has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
tbuehlmann has joined #ruby-lang
imajes has joined #ruby-lang
rking has joined #ruby-lang
ttilley has joined #ruby-lang
Skif has joined #ruby-lang
levifig has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
thone_ has joined #ruby-lang
lopac1029 has joined #ruby-lang
fgomez has joined #ruby-lang
jtoy has joined #ruby-lang
mikkelb has joined #ruby-lang
outoftime has joined #ruby-lang
rippa has joined #ruby-lang
mistym has joined #ruby-lang
vaelen has joined #ruby-lang
tcopp has joined #ruby-lang
tubbo has joined #ruby-lang
setmeaway has joined #ruby-lang
akira989 has joined #ruby-lang
andrewhl has joined #ruby-lang
gsav has joined #ruby-lang
elux has joined #ruby-lang
dalekurt has joined #ruby-lang
mortice has joined #ruby-lang
tonni has joined #ruby-lang
jperry2 has joined #ruby-lang
knu has joined #ruby-lang
heftig has joined #ruby-lang
zmack has joined #ruby-lang
cantonic has joined #ruby-lang
dRbiG has joined #ruby-lang
relix has joined #ruby-lang
geekfactor has joined #ruby-lang
tomb_ has joined #ruby-lang
Facefox has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
toretore has joined #ruby-lang
DMKE has joined #ruby-lang
ramonmaruko has joined #ruby-lang
Defusal has joined #ruby-lang
lele has joined #ruby-lang
kalleth has joined #ruby-lang
yxhuvud has joined #ruby-lang
deryl has joined #ruby-lang
countdigi has joined #ruby-lang
major_majors has joined #ruby-lang
x0F has joined #ruby-lang
shevy has joined #ruby-lang
A124 has joined #ruby-lang
bryanl has joined #ruby-lang
agarie has joined #ruby-lang
unsymbol has joined #ruby-lang
kvs_ has joined #ruby-lang
crankharder has joined #ruby-lang
stamina has joined #ruby-lang
retro|cz has joined #ruby-lang
dphase has joined #ruby-lang
Weems has joined #ruby-lang
jstemmer has joined #ruby-lang
vesan has joined #ruby-lang
slaytanic has joined #ruby-lang
adambeynon has joined #ruby-lang
_br_ has joined #ruby-lang
wilkie has joined #ruby-lang
Asher has joined #ruby-lang
spuk has joined #ruby-lang
robbyoconnor has joined #ruby-lang
fukushima has joined #ruby-lang
jimrollenhagen has joined #ruby-lang
DEac- has joined #ruby-lang
TheMoonMaster has joined #ruby-lang
ruskie has joined #ruby-lang
samuelkadolph has joined #ruby-lang
robbyrussell has joined #ruby-lang
Xzyx987X has joined #ruby-lang
Stereokitsune has joined #ruby-lang
s0ber has joined #ruby-lang
tr-808 has joined #ruby-lang
alexkane has joined #ruby-lang
Guedes has joined #ruby-lang
ando has joined #ruby-lang
melter has joined #ruby-lang
zzak has joined #ruby-lang
threedaymonk has joined #ruby-lang
corecode has joined #ruby-lang
jasiek has joined #ruby-lang
kith has joined #ruby-lang
ioga_wrk has joined #ruby-lang
rtl has joined #ruby-lang
cynosure has joined #ruby-lang
FiXato has joined #ruby-lang
Taranis has joined #ruby-lang
JackNorris has joined #ruby-lang
jds has joined #ruby-lang
drbrain has joined #ruby-lang
bmaland has joined #ruby-lang
ammar has joined #ruby-lang
zz_chrismcg has joined #ruby-lang
SpitfireWP has joined #ruby-lang
brownies has joined #ruby-lang
corundum has joined #ruby-lang
darix has joined #ruby-lang
snk has joined #ruby-lang
shaman42 has joined #ruby-lang
cyndis has joined #ruby-lang
Gabriel_Moreira has joined #ruby-lang
oddmunds has joined #ruby-lang
cid404 has joined #ruby-lang
youngin has joined #ruby-lang
stepnem has joined #ruby-lang
alindeman has joined #ruby-lang
denysonique has joined #ruby-lang
Muz has joined #ruby-lang
freedrull has joined #ruby-lang
steez has joined #ruby-lang
akahn has joined #ruby-lang
TheDracle has joined #ruby-lang
spectra has joined #ruby-lang
singpolyma has joined #ruby-lang
yellow5 has joined #ruby-lang
blowmage has joined #ruby-lang
levicole has joined #ruby-lang
segy has joined #ruby-lang
iosctr has joined #ruby-lang
flebel has joined #ruby-lang
adgar has joined #ruby-lang
musl has joined #ruby-lang
Kuukunen has joined #ruby-lang
jarib has joined #ruby-lang
dmwuw has joined #ruby-lang
acyed has joined #ruby-lang
whitequark has joined #ruby-lang
awwaiid has joined #ruby-lang
conceal_rs_ has joined #ruby-lang
soahccc` has joined #ruby-lang
tallship has joined #ruby-lang
erikh has joined #ruby-lang
pcboy_ has joined #ruby-lang
ltd- has joined #ruby-lang
mahlon has joined #ruby-lang
thorncp has joined #ruby-lang
corsican has joined #ruby-lang
cronin101 has joined #ruby-lang
epitron has joined #ruby-lang
meise has joined #ruby-lang
jenrzzz has joined #ruby-lang
zenspider has joined #ruby-lang
anildigital_work has joined #ruby-lang
mrb_bk has joined #ruby-lang
UNIXgod has joined #ruby-lang
ahf has joined #ruby-lang
benteaa has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
xsdg has joined #ruby-lang
Mikoangelo has joined #ruby-lang
telemachus has joined #ruby-lang
Kero_ has joined #ruby-lang
yugui has joined #ruby-lang
jmeeuwen has joined #ruby-lang
llakey has joined #ruby-lang
rails has joined #ruby-lang
lupine_85 has joined #ruby-lang
amerine has joined #ruby-lang
rue has joined #ruby-lang
L0rdShrek has joined #ruby-lang
hackeron has joined #ruby-lang
Gekz has joined #ruby-lang
VGoff has joined #ruby-lang
Bwild has joined #ruby-lang
sei has joined #ruby-lang
pbjorklund has joined #ruby-lang
Natch| has joined #ruby-lang
znz_jp has joined #ruby-lang
Tick-Tock has joined #ruby-lang
znz_v has joined #ruby-lang
nibbo has joined #ruby-lang
a3li has joined #ruby-lang
felipe has joined #ruby-lang
jorgenpt has joined #ruby-lang
akamike has joined #ruby-lang
lantins has joined #ruby-lang
derpemily has joined #ruby-lang
MrWGW has joined #ruby-lang
znouza_ has joined #ruby-lang
FastJack has joined #ruby-lang
lucas has joined #ruby-lang
manveru has joined #ruby-lang
dju has joined #ruby-lang
_tca has joined #ruby-lang
_ko1 has joined #ruby-lang
pabs has joined #ruby-lang
gianlucadv has joined #ruby-lang
joschi has joined #ruby-lang
ddfreyne has joined #ruby-lang
bougyman has joined #ruby-lang
Silex has joined #ruby-lang
fireglow has joined #ruby-lang
canton7 has joined #ruby-lang
ozzloy has joined #ruby-lang
ixx has joined #ruby-lang
zigidias has joined #ruby-lang
epitron__ has joined #ruby-lang
mitchty has joined #ruby-lang
dagobah has joined #ruby-lang
jaska has joined #ruby-lang
rhizmoe has joined #ruby-lang
dylst has joined #ruby-lang
kke has joined #ruby-lang
babinho has joined #ruby-lang
hagabaka has joined #ruby-lang
theoros has joined #ruby-lang
Caius has joined #ruby-lang
jaimef has joined #ruby-lang
vbatts has joined #ruby-lang
hibariya has joined #ruby-lang
msch has joined #ruby-lang
DefV has joined #ruby-lang
fahadsadah has joined #ruby-lang
Harzilein has joined #ruby-lang
shajith has joined #ruby-lang
lianj has joined #ruby-lang
dbussink has joined #ruby-lang
shyouhei has joined #ruby-lang
Guest74504 has joined #ruby-lang
tylergillies has joined #ruby-lang
jmcphers has joined #ruby-lang
nisstyre has joined #ruby-lang
ryland has joined #ruby-lang
lake has joined #ruby-lang
tpope has joined #ruby-lang
cschneid has joined #ruby-lang
agib has joined #ruby-lang
wycats has joined #ruby-lang
hachiya has joined #ruby-lang
ViperMaul has joined #ruby-lang
matti has joined #ruby-lang
pkondzior has joined #ruby-lang
kaz____ has joined #ruby-lang
gentz has joined #ruby-lang
jordan` has joined #ruby-lang
anekos has joined #ruby-lang
naquad has joined #ruby-lang
chris2 has joined #ruby-lang
stderr_ has joined #ruby-lang
KillerFox has joined #ruby-lang
t0h has joined #ruby-lang
tsou has joined #ruby-lang
yibe_ has joined #ruby-lang
Utkarsh has joined #ruby-lang
yeltzooo7 has joined #ruby-lang
lzhz has joined #ruby-lang
ged has joined #ruby-lang
s0ra_h has joined #ruby-lang
mtkd_ has joined #ruby-lang
mihar_ has joined #ruby-lang
cout has joined #ruby-lang
zz_wasnotrice has joined #ruby-lang
abuiles has joined #ruby-lang
flori has joined #ruby-lang
horus_plex has joined #ruby-lang
mccraig has joined #ruby-lang
tris has joined #ruby-lang
Tasser has joined #ruby-lang
matled has joined #ruby-lang
bnagy has joined #ruby-lang
ohsix has joined #ruby-lang
ybit2 has joined #ruby-lang
TDJACR has joined #ruby-lang
yorickpeterse has joined #ruby-lang
ange has joined #ruby-lang
tommyblue has joined #ruby-lang
aef_ has joined #ruby-lang
khaase has joined #ruby-lang
jammi has joined #ruby-lang
jayne has joined #ruby-lang
nuclearsandwich has joined #ruby-lang
[dmp] has joined #ruby-lang
neurodamage has joined #ruby-lang
mephux has joined #ruby-lang
jwollert has joined #ruby-lang
dumfries_ has joined #ruby-lang
andrewvos has joined #ruby-lang
CodeBlock has quit [Excess Flood]
jxie has joined #ruby-lang
ioga_wrk has quit [Ping timeout: 244 seconds]
ioga_wrk has joined #ruby-lang
somethinYellow has quit [Ping timeout: 248 seconds]
DMKE has quit [Quit: Pingpong.]
somethinYellow has joined #ruby-lang
arooni-mobile__ has left #ruby-lang [#ruby-lang]
CodeBlock__ has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
savage- has quit [Write error: Connection reset by peer]
CodeBlock__ has left #ruby-lang [#ruby-lang]
savage- has joined #ruby-lang
CodeBlock has joined #ruby-lang
lsegal has joined #ruby-lang
lele|w has joined #ruby-lang
zeba_ has joined #ruby-lang
jxie has quit [Quit: leaving]
wallerdev has joined #ruby-lang
joast has joined #ruby-lang
joast has quit [Client Quit]
zeba has quit [Ping timeout: 245 seconds]
mrsolo has joined #ruby-lang
joast has joined #ruby-lang
Codif has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
<shevy> Thread.new { ["sleep 5", "puts 'hi'"].each {|y| eval y} }
<shevy> that works
<shevy> but it has eval!
<shevy> :(
butchanton has joined #ruby-lang
Codif has quit [Remote host closed the connection]
dr_bob has joined #ruby-lang
<Defusal> shevy, that doesnt look very nice, maybe if you explain exactly what you'd like to do someone can give you a better solution
zmack has quit [Remote host closed the connection]
Lee_A has joined #ruby-lang
<shevy> Defusal given a piece of ruby code inside {} like 'sleep 5;puts "hi"', stored in yaml, then loaded and given to Thread.new
<Defusal> does anyone know of a better way of settings the arity of a proc other than using eval to dynamically create a proxy proc that has n arguments?
<Defusal> setting*
<Defusal> shevy, code should not be stored in yaml
<Defusal> rather store configuration and have the code use it
<shevy> ok so there is no way without eval in this situation
tRAS has joined #ruby-lang
bfreeman has joined #ruby-lang
<shevy> hmm actually
kristofferrr has joined #ruby-lang
<Defusal> shevy, there is... don't store code in config files
butchanton has quit [Quit: Leaving.]
<shevy> yeah, you have no solution to the problem at hand, I already understood that
<Defusal> using eval is the only way to evaluate text as code
<Defusal> i already gave you a solution
<shevy> well, I could wrap it into a method
<shevy> you said "dont do that"
<Defusal> store the configuration you need, not the code
<shevy> that is not a solution, that is a workaround over a "it is not possible"
<Defusal> ok, i give up.
<shevy> yup. you made it clear - it is not possible to store code, and have it run again, without eval. We agree on that already.
joshcheek has joined #ruby-lang
<Defusal> if someone feels up to talking some sense into this guy, feel free, but clearly whatever i say goes in one ear and out the other
<Defusal> lunch time
butchanton has joined #ruby-lang
carloslopes has joined #ruby-lang
qwerxy has quit [Quit: Computer has gone to sleep.]
flak has joined #ruby-lang
flak is now known as Guest44443
<shevy> Defusal since you think you have a solution - the problem case is to start a ruby program, load code that gets passed into several Thread.new.
joshcheek has quit [Client Quit]
rippa has quit [Ping timeout: 260 seconds]
<Defusal> shevy, that is a terribly generic description. i have already given you the solution. if you need a detailed solution, you need to provide a detailed question
<shevy> your solution was "dont do this"
<shevy> the eval solution, as horrible as it is, works, rather than your "solution"
tomb_ has quit [Quit: Computer has gone to sleep.]
<Defusal> my solution was use a configuration file for configuration, and a rb file for code, not the other way around
<shevy> ok so I use a .rb file now
<shevy> happy? ;)
<Defusal> no, because clearly you are still missing the point
<shevy> ok so you never wanted to help
naz has joined #ruby-lang
cirwin has joined #ruby-lang
<Defusal> wow, now i regret ever trying. it is clear you dont want to be helped
<shevy> Indeed. I don't want to be helped by "Don't do that." No alternative was given either.
<manveru> i have no idea what the topic is, but a good answer to shevy is always "don't do that"
<yxhuvud> *giggle*
<Defusal> manveru, is shevy mentally handicapped or something? :(
<Defusal> now i feel bad
<shevy> Now I am being ganged up.
<manveru> Defusal: he's probably using ruby longer than me...
* cirwin tells shevy to do it like that
<manveru> yet every time it ends like this
<Defusal> ouch...
nazty has joined #ruby-lang
<zzak> get it over with and use resque already
<singpolyma> shevy: if you want to eval a string of ruby code, you must use eval
<singpolyma> obviously
* Defusal fetches the popcorn
VGoff is now known as VGoff_afk
<shevy> singpolyma yeah but eval is too terrible to use
<singpolyma> shevy: anything else you use will be exactly the same
<singpolyma> if you want to eval a string, then you use eval
<yxhuvud> shevy: it is not if used in the right context. Storing code in yaml is not that.
naz has quit [Ping timeout: 250 seconds]
<Defusal> yxhuvud, seriously don't bother, i already told him that
<manveru> shevy: you're the only one using those yaml files anyway
scampbell has joined #ruby-lang
<Defusal> shevy: try #ror
<shevy> manveru: why do you talk to me? 10.09.2007: <manveru> shevy: lerns selber, ich bring dir nix mehr bei
solars has joined #ruby-lang
<manveru> damn
<Defusal> 2007, wow
<manveru> i almost forgot about that
banisterfiend has joined #ruby-lang
<shevy> Defusal, why do you recommend #ror ?
<Defusal> because its full of people asking stupid questions and refusing to accept valid answers
<shevy> Defusal but so is #php :(
<Defusal> so why arnt you asking there?
<shevy> because it won't solve the problem at hand?
<singpolyma> shevy: use eval
<shevy> singpolyma there must be a better way
<Defusal> neither will refusing to accept the solutions provided
<singpolyma> I mean, I agree you should not want eval, but clearly you do
<shevy> I'll look at resque
<singpolyma> shevy: how would there be a better way to eval code, than using eval?
<Defusal> ^
<cirwin> as long as you set __FILE__ and __LINE__ correctly, using eval is just fine
dankest has joined #ruby-lang
jtoy has quit [Quit: jtoy]
<Defusal> of all the lost causes i've ever come across, this guy has me absolutely flabbergasted
tRAS has quit [Quit: Mother, did it need to be so high?]
<lopac1029> I've got a ruby question/problem that I'll gladly take any and all advice to figure out, because I'm really new to ruby.
ttilley has quit [Read error: Connection reset by peer]
Aphelion has joined #ruby-lang
Aphelion has quit [Changing host]
Aphelion has joined #ruby-lang
Aphelion is now known as ttilley
<lopac1029> I can't figure out why a method I created will not output what I expect it to.
<shevy> lopac1029 the simplest way is to paste the code that does not work on a site like http://pastie.org/ and then paste the URL you get from there, on this channel here
rolfb has joined #ruby-lang
<lopac1029> Im trying to build a very simple email/file parser, http://pastebin.com/xa6gNbD8
<lopac1029> and a sample email at http://pastebin.com/suda6iTb
<shevy> ok so the method you said that does not work, seems to be "def parse_head (object, section)" right?
Lee_A has left #ruby-lang [#ruby-lang]
<lopac1029> shevy: yes
<cirwin> lopac1029: the mail gem is a not-simple, but very good email parser (if you get bored of writing your own)
<singpolyma> +1 mail gem
<lopac1029> can't use a gem, I need to write it on my own :(
<singpolyma> sure
<singpolyma> that's fine
fserb has joined #ruby-lang
<lopac1029> I just can't understand why my puts is coming up blank, when I know that object, section, and regex all have something in them
Aphelion has joined #ruby-lang
Aphelion has quit [Changing host]
Aphelion has joined #ruby-lang
ttilley has quit [Read error: Connection reset by peer]
<Mon_Ouie> Are you sure the new line is a "\n" and not a "\r\n"?
<shevy> lopac1029, well when I run your code, on that email text file, I get output:
<shevy> Date: Mon, 4 Jun 2012 13:23:33 -0400
<shevy> dunno if that is the right output or not
Carnage\ has joined #ruby-lang
<shevy> but my puts is showing something
chimkan has joined #ruby-lang
<shevy> something was strange with that pastebin, some lines were duplicated when I pasted, and extra newlines were in that email file
<lopac1029> line 25 is what I'm trying to get out of the method (without the method)
mikkelb has quit [Quit: Lost terminal]
<lopac1029> if that made sense :/
jxie has joined #ruby-lang
<Mon_Ouie> '/(^' + object.capitalize + ': )(.+)(\n)/' -> this is not a regular expression
<Mon_Ouie> It's a string
<lopac1029> Mon)Quie: I'm pretty sure its just \n. I've run .inspect on all of it numerous times. Would \r have showed up on a .inspect?
tRAS has joined #ruby-lang
<lopac1029> So scan isn't seeing that string as the reg express?
tRAS has quit [Client Quit]
Aphelion is now known as ttilley
<shevy> lopac1029 what should the method output again?
<mistym> Yeah. You can save a regexp object to a variable, so no need for a regexp-inna-string. Regexps support string interpolation, btw.
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
<lopac1029> shevy: I'm expecting that the output should be Date: Mon, 4 Jun 2012 13:23:33 -0400
<shevy> hmm but this is what I got
<lopac1029> mistym: so should I be eliminating the / 's from my string?
<shevy> I dunno if I changed much... I had to somehow remove the duplicate lines I got from pastebin. here on pastie your code http://pastie.org/4026663 here the email I used http://pastie.org/pastes/4026666/text
<shevy> lopac1029 how do you invoke your .rb script? "ruby foo.rb the_email_here" ?
<Mon_Ouie> You shouldn't be using a string in the first place
<mistym> lopac1029: Almost. String interpolation in ruby works via #{var}, so aside from using a regexp literal, you'll need to change the interpolation to add in your variable.
M4g1c5t0rM1 has joined #ruby-lang
<mistym> E.g. var = "variable"; "This is a #{var}" => "This is a variable"
tRAS has joined #ruby-lang
tomb_ has joined #ruby-lang
M4g1c5t0rM has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby-lang
<Defusal> ok shevy, i am going to take pity on you and give you an example of how to not put code in your config files and not use eval
<shevy> Defusal \o/
<lopac1029> Ok, so I shouldn't use a string in .scan, and I should use interpolation
<shevy> well you can use interpolations in a regex too ... x = 'world'; your_regex = /hi #{x}/ ... should match to "hi world"
<mistym> Yeah. .scan accepts strings, but that's when you're searching for a string literal instead of a pattern. 'foobarfoo'.scan('foo') => ['foo', 'foo']
kristofferrr has quit [Quit: ❤]
<mistym> Yeah, what shevy said!
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
macmartine has joined #ruby-lang
d3vic3 has quit [Ping timeout: 260 seconds]
<lopac1029> Awesome. I haven't figured out HOW to make it work, but you all definately helped me figure out what I wasn't seeing that was broken. Thanks!
zz_wasnotrice is now known as wasnotrice
<shevy> it works now?
<shevy> oh
<mistym> lopac1029: Knowing what's broken is the first step to success!
<shevy> windows!
<shevy> it's broken
<Defusal> shevy: http://pastie.org/4026764
<Defusal> that is a very generic example, mapping config directly to methods
<shevy> Defusal thanks
d3vic3 has joined #ruby-lang
zmack has joined #ruby-lang
<lopac1029> oh lordy! shevy, mistym, Mon_Ouie: Thanks for your help. Got it
<mistym> lopac1029: Nice!
sepp2k has joined #ruby-lang
<Defusal> shevy, don't waste it. learn from it, and mold it into something that suites your specific use case well
<shevy> Defusal, I'll credit it to you once I have solved it completely :)
<Defusal> no need, just solve it *properly*
joshcheek has joined #ruby-lang
Carnage\ has quit []
gregmoreno has joined #ruby-lang
jtoy has joined #ruby-lang
Defusal has quit [Ping timeout: 248 seconds]
gearaholic has joined #ruby-lang
dabradley has joined #ruby-lang
joshcheek has quit [Quit: joshcheek]
M4g1c5t0rM1 has quit [Read error: Connection reset by peer]
M4g1c5t0rM has joined #ruby-lang
akira989 has quit [Remote host closed the connection]
slaytanic has quit [Ping timeout: 272 seconds]
slyphon is now known as slyphon_away
wmoxam has joined #ruby-lang
jtoy has quit [Quit: jtoy]
benanne has joined #ruby-lang
akira989 has joined #ruby-lang
qpingu has joined #ruby-lang
qpingu has quit [Client Quit]
JohnBat26 has joined #ruby-lang
qpingu has joined #ruby-lang
krohrbaugh has joined #ruby-lang
slyphon_away is now known as slyphon
somethin1ellow has joined #ruby-lang
sonicpond has joined #ruby-lang
whatasunnyday has joined #ruby-lang
somethinYellow has quit [Ping timeout: 252 seconds]
Gabriel_Moreira has quit [Read error: No route to host]
zmack has quit [Remote host closed the connection]
ttilley has quit [Remote host closed the connection]
tesseract has joined #ruby-lang
qpingu has left #ruby-lang [#ruby-lang]
andrewhl has quit [Remote host closed the connection]
Defusal has joined #ruby-lang
ridders24 has joined #ruby-lang
<ridders24> hey guys
<sonicpond> hay pal
tesseract has quit [Quit: tesseract]
<ridders24> how do I read bytes from a file? but a cetain vaule for example FFD8 to the next FFD9
soahccc` is now known as soahccc
<pbjorklund> Sigh, I give up. How can I use grep to find either 3..5 or /[35]/ in the same statement? Ie I want to do like [1,"2",3].grep((3..5 || /[35]/)
qwerxy has joined #ruby-lang
<Defusal> pbjorklund, [35] is only 35
<manveru> pbjorklund: by not using grep?
<Defusal> [35] doesnt even make sense
<manveru> [35] is 3 or 5
dr_bob has quit [Ping timeout: 248 seconds]
gouthamvel has joined #ruby-lang
<Defusal> yes, but then why is he trying 3..5 seperately
dr_bob has joined #ruby-lang
<Defusal> [3-5] would cover both
<Defusal> so would [345]
<manveru> >> [1,"2",3].select{|e| (3..5) === e || /[35]/ === e }
<manveru> => [3]
<Defusal> [1,"2",3].select {|e| e.to_s =~ /[3-5]/ }
<manveru> >> g = lambda{|e| (3..5) === e || /[35]/ === e }; def g.=~(e) call(e) end; [1,"2",3].grep(g)
<manveru> => [3]
<pbjorklund> Guess I messed up the array a bit when copying. Say given ["1",2,"3",4,5] I want to grep with the result of "1",2,"3",4
<pbjorklund> Ie grep for numbers in a string or numbers that are Integers
<manveru> and 5?
gearaholic has quit [Remote host closed the connection]
<manveru> also what about 0xff?
<Defusal> pbjorklund, convert them to string before comparing with regex?
<Defusal> like my example
<Defusal> else
<pbjorklund> It's one of those "koan puzzles".
<manveru> i'd just make select with case
Carnage\ has joined #ruby-lang
<manveru> well, for koans, see my solution for grep above :)
<pbjorklund> Perhaps im looking at the problem wrong.. http://rubeque.com/problems/select-map/solutions there it is anyways.
<pbjorklund> Hmm, perhaps it's cheating asking for such blatant help btw
<Defusal> [1,"2",3].select {|e| e === case e; when Integer then 3..5; when String then /[3-5]/ end }
<manveru> pretty much, yeah
<Defusal> that would be efficient
<manveru> Defusal: no need for e ===
<Defusal> manveru, err
<pbjorklund> Sorry, just so depressing seeing 4 pages of purple links when googling :)
<Defusal> how do you rate that?
<manveru> case e; when 3..5; true; when /[3-5]/; true; end
<Defusal> oh right, i guess that could work
jmcphers has quit [Ping timeout: 245 seconds]
<manveru> maybe regex first, so it doesn't iterate the range first
<Defusal> just a little less efficient
<Defusal> but hardly i guess
rhodee has joined #ruby-lang
<manveru> Integer#=~ just returns false
<Defusal> right, in that case its perfect
<manveru> anw, back to work
<Defusal> :)
<manveru> haven't written ruby in weeks...
<manveru> everything is Go these days
scampbell has quit [Remote host closed the connection]
<Defusal> ouch, Go isnt quite as fun
wasnotrice is now known as zz_wasnotrice
<pbjorklund> Bah, you can pass a proc to grep. That solves it. Thanks for the help
<manveru> lol
<manveru> that would do it, yeah
<manveru> Defusal: it's alright
<manveru> mongodb not so much :(
<Defusal> i like mongo
jmcphers has joined #ruby-lang
<Defusal> if only there was a decent and efficient ruby wrapper for it
Lee_A has joined #ruby-lang
fserb has quit [Quit: ttyl]
hynkle has quit [Read error: No route to host]
hynkle has joined #ruby-lang
eschwartz has joined #ruby-lang
Axsuul has joined #ruby-lang
Skif has quit [Ping timeout: 240 seconds]
qwerxy has quit [Quit: Computer has gone to sleep.]
<Defusal> does anyone know of a better way of settings the arity of a proc other than using eval to dynamically create a proxy proc that has n arguments?
Guest44443 has quit [Ping timeout: 265 seconds]
<Defusal> setting the arity*
virunga has joined #ruby-lang
<pbjorklund> Ok next stupid question. Why is Proc.new { |n| n.odd? } === 3 => false and Proc.new { |n|.odd? }.call 3 => true ?
_darkside_ has joined #ruby-lang
<pbjorklund> Am I reading "Invokes the block with obj as the proc's parameter like #call." the wrong way?
vaelen has quit [Remote host closed the connection]
dalekurt has quit [Ping timeout: 256 seconds]
virunga has quit [Client Quit]
<pbjorklund> Oh, was running rubinius.
krohrbaugh has quit [Read error: Connection reset by peer]
scampbell has joined #ruby-lang
qwerxy has joined #ruby-lang
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
dalekurt has joined #ruby-lang
fserb has joined #ruby-lang
gouthamvel has quit [Ping timeout: 248 seconds]
jtoy has joined #ruby-lang
M4g1c5t0rM has quit [Read error: Connection reset by peer]
andrewhl has joined #ruby-lang
hynkle_ has joined #ruby-lang
hynkle has quit [Read error: No route to host]
hynkle_ is now known as hynkle
M4g1c5t0rM has joined #ruby-lang
dax has joined #ruby-lang
<ridders24> how can I read out hex from a .dd file?
cldwalker has joined #ruby-lang
lsegal has joined #ruby-lang
zmack has joined #ruby-lang
jtoy has quit [Ping timeout: 244 seconds]
tyman_ has quit [Quit: tyman_]
mortice has quit [Ping timeout: 248 seconds]
jtoy has joined #ruby-lang
tjadc has quit [Read error: Connection reset by peer]
s0ber has quit [Read error: Connection reset by peer]
s0ber has joined #ruby-lang
fserb has quit [Quit: ttyl]
Tref has quit [Quit: Tref]
jtoy has quit [Ping timeout: 248 seconds]
ttilley is now known as Aphelion
tbuehlmann has quit []
brianpWins has quit [Quit: brianpWins]
<TTilus> ridders24: #read and #unpack
<TTilus> ridders24: i think
M4g1c5t0rM has quit [Read error: Connection reset by peer]
asahi has joined #ruby-lang
<asahi> I have a Nokogiri::HTML doc and I'm wondering if there's a way to see if the text 'foobar' appears anywhere
<asahi> *anywhere in the source
M4g1c5t0rM has joined #ruby-lang
jtoy has joined #ruby-lang
brianpWins has joined #ruby-lang
sepp2k1 has joined #ruby-lang
<ridders24> TTilis, I have made a .dd file containing a disk image. I have found some code on the internet but not sure if i can use it, here it is: http://pastebin.com/ywabtwiF
fserb has joined #ruby-lang
sepp2k has quit [Ping timeout: 245 seconds]
<asahi> actually, nevermind. figured it out
fserb has quit [Client Quit]
fserb has joined #ruby-lang
<lianj> ridders24: what do you want todo?
krohrbaugh has joined #ruby-lang
<drbrain> asahi: doc.to_s =~ /foobar/ ?
joshcheek has joined #ruby-lang
<lianj> ridders24: "foo".unpack("H*")[0] # "666f6f" or ["666f6f"].pack("H*") # "foo"
joshcheek has quit [Client Quit]
Lee_A has quit [Remote host closed the connection]
<ridders24> lianj: what is the ("H*")[0] # "666f6f" in that example?
fserb has quit [Client Quit]
joshcheek has joined #ruby-lang
<lianj> asahi: Nokogiri::HTML('<a><b>foo</b></a><li>foo</li>').xpath('//*[contains(text(), "foo")]') ?
<lianj> ridders24: "foo" is "66 6f 6f" in hex
JohnBat26 has quit [Ping timeout: 245 seconds]
carloslopes has quit [Quit: Leaving]
<lianj> ridders24: your dd file is in hex and you want the binary from it or the reverse?
<ridders24> lianj: the dd file is an image of a hdd. I want to scan the dd file and file the file signatures for images starting with FFD8 and ending with FFD9, then export each found image out
yxhuvud has quit [Ping timeout: 245 seconds]
<drbrain> lianj: I'm wondering if asahi is looking for text anywhere in the source (element names, attributes, namespaces), or anywhere in the text
<drbrain> … nodes
<lianj> drbrain: true
tonesfrommars has joined #ruby-lang
hynkle has quit [Read error: No route to host]
DRCALKIN has joined #ruby-lang
hynkle has joined #ruby-lang
mts7 has joined #ruby-lang
Raduwen has quit [Quit: Leaving...]
<erikh> ridders24: how big is the image?
bryancp has quit [Remote host closed the connection]
tRAS has quit [Quit: Mother, did it need to be so high?]
mts7 has quit [Remote host closed the connection]
qwerxy has quit [Quit: Computer has gone to sleep.]
elux has quit [Quit: Bye!]
<asahi> drbrain: thanks. yeah I realized that doc.text.include?("foobar") did the trick
vaelen has joined #ruby-lang
<ridders24> erikh: in this example its only 4GB, but i intend to scan large drives like 500GB
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
hynkle has quit [Read error: No route to host]
hynkle has joined #ruby-lang
<erikh> you'll probably want to use a read buffer and a mini-tokenizer then
hynkle has quit [Read error: No route to host]
<erikh> probably not the best application for ruby if I may be so honest. you're going to hit the garbage collector a lot.
<erikh> C would scream at something like this though.
gregf has joined #ruby-lang
hynkle has joined #ruby-lang
<erikh> (and be a fairly trivial program)
qwerxy has joined #ruby-lang
jperry2 has quit [Ping timeout: 244 seconds]
stamina has quit [Quit: Lost terminal]
M4g1c5t0rM has quit [Read error: Connection reset by peer]
<zzak> id go with pascal on this one
<manveru> grep :)
scampbell has quit [Remote host closed the connection]
qwerxy has quit [Quit: Computer has gone to sleep.]
M4g1c5t0rM has joined #ruby-lang
hynkle has quit [Quit: hynkle]
somethin1ellow has quit [Quit: Computer has gone to sleep]
ttilley has joined #ruby-lang
ttilley has quit [Quit: ZNC - http://znc.in]
ttilley_off has joined #ruby-lang
ttilley_off has quit [Changing host]
ttilley_off has joined #ruby-lang
ttilley_off is now known as ttilley
qwerxy has joined #ruby-lang
DRCALKIN has quit [Quit: Leaving]
beiter has quit [Quit: beiter]
zeba_ has quit [Ping timeout: 245 seconds]
chessguy has quit [Remote host closed the connection]
Aphelion has quit []
ridders24 has quit [Ping timeout: 244 seconds]
nisstyre has quit [Changing host]
nisstyre has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
akira989_ has joined #ruby-lang
akira989 has quit [Ping timeout: 252 seconds]
<lopac1029> I'd like to share my finished product, for those that helped me earlier. It came out better than expected (at least for me). Thanks again to those that lent me a hand with my silly questions. https://github.com/lopac1029/ruby_parser
Tref has joined #ruby-lang
acyed has quit [Remote host closed the connection]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
somethinYellow has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
dr_bob has quit [Read error: Connection reset by peer]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
akira989_ has quit [Read error: Connection reset by peer]
akira989 has joined #ruby-lang
s0ra_h is now known as sora_h
jperry2 has joined #ruby-lang
ridders24 has joined #ruby-lang
ridders24 has quit [Client Quit]
bglusman has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
Tref has quit [Quit: Tref]
bglusman has quit [Read error: Connection reset by peer]
bglusman has joined #ruby-lang
somethin1ellow has joined #ruby-lang
somethinYellow has quit [Read error: Operation timed out]
lopac1029 has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
rhodee has left #ruby-lang [#ruby-lang]
drollwit has joined #ruby-lang
joshcheek has joined #ruby-lang
sora_h is now known as s0ra_h
wallerdev has joined #ruby-lang
fserb has joined #ruby-lang
vaelen has quit [Remote host closed the connection]
Kellin has joined #ruby-lang
Kellin has quit [Changing host]
Kellin has joined #ruby-lang
qwerxy has quit [Quit: Computer has gone to sleep.]
shtirlic_ has quit [Read error: Connection reset by peer]
joshcheek has quit [Quit: joshcheek]
shtirlic has joined #ruby-lang
dv310p3r has quit [Ping timeout: 245 seconds]
jperry2 has quit [Quit: Leaving.]
solars has quit [Ping timeout: 248 seconds]
fserb has quit [Quit: ttyl]
bglusman has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
petercooper has joined #ruby-lang
bglusman has quit [Ping timeout: 245 seconds]
sepp2k1 has quit [Remote host closed the connection]
somethin1ellow has quit [Quit: Computer has gone to sleep]
TheDracle has left #ruby-lang [#ruby-lang]
tonesfrommars has quit [Quit: KVIrc 4.0.1 Insomnia http://www.kvirc.net/]
Lee_A has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
scampbell has joined #ruby-lang
fserb has joined #ruby-lang
solars has joined #ruby-lang
fserb has quit [Client Quit]
krohrbaugh has joined #ruby-lang
cesario has quit [Quit: Connection closed for inactivity]
Lee_A has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
bryancp has joined #ruby-lang
tcopp has quit [Quit: Lost terminal]
Hakon|mbp has quit [Quit: Leaving...]
joshcheek has joined #ruby-lang
joshcheek has quit [Client Quit]
chimkan___ has joined #ruby-lang
solars has quit [Ping timeout: 265 seconds]
Criztian has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
chimkan has quit [Ping timeout: 244 seconds]
chimkan___ is now known as chimkan
heftig has quit [Quit: leaving]
bryancp has quit [Remote host closed the connection]
zmack has quit [Remote host closed the connection]
heftig has joined #ruby-lang
fserb has joined #ruby-lang
outoftime has quit [Quit: Leaving]
bryancp has joined #ruby-lang
macmartine has quit [Quit: macmartine]
andrewhl has quit [Remote host closed the connection]
brushbox has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
chimkan_ has joined #ruby-lang
chimkan has quit [Read error: Connection reset by peer]
chimkan_ is now known as chimkan
ryez has joined #ruby-lang
imajes has quit [Excess Flood]
akira989 has quit [Remote host closed the connection]
imajes has joined #ruby-lang
eschwartz has quit [Remote host closed the connection]
Skif has joined #ruby-lang
lsegal has joined #ruby-lang
akira989 has joined #ruby-lang
srbartlett has joined #ruby-lang
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
S1kx has joined #ruby-lang
ttilley is now known as ttilley_off
drollwit has quit [Remote host closed the connection]
digman543 has joined #ruby-lang
Carnage\ has quit []
Okasu has joined #ruby-lang
<Okasu> hello
fserb has quit [Quit: ttyl]
<Okasu> can you recommend me some practice to convert such string("bla bla #{cmd}") to yaml and substitute code piece in strig when yaml loading into progamm
bryancp has quit [Remote host closed the connection]
<Okasu> interpolation
<Okasu> thing
<samuelkadolph> Okasu: That's not going to be possible. It's going to interpolate it before it gets passed into any method
<drbrain> you could make your own format
<Okasu> meh
<drbrain> [[:string, "bla blah "], [:interpolate, "cmd"]]
<samuelkadolph> You could go for %{}
<Defusal> Okasu, i use a simple effective templating system
jperry2 has joined #ruby-lang
<Okasu> erb within yaml maybe
yannis has joined #ruby-lang
<drbrain> oh, yeah, here's one: "bla bla %s"
seanstickle has joined #ruby-lang
<samuelkadolph> I like %{foo}, too bad jruby doesn't support it (last I knew)
wmoxam has quit [Ping timeout: 244 seconds]
digman543 has quit [Quit: leaving]
<rue> You can use %s yes
s0ra_h is now known as sora_h
jperry2 has quit [Client Quit]
<rue> str = "Hello %s"; dumpload; loaded_string % data
<drbrain> I think there's a way to use named sprintf arguments in 1.9
<Defusal> Okasu, this is what i use for my irc bot templating, http://pastie.org/4028513
<Defusal> i wrote that quite a long time ago, but it does the job
<samuelkadolph> "%{foo}" % { foo: "abc" }
<drbrain> samuelkadolph: how would you do "%0.1f" % Math::PI
<drbrain> that's the part I don't remember
<Okasu> yeah, %s noce one
<Okasu> works fine, thanks
<Defusal> Okasu, for the above method, the yaml has variables defined as $foo and is used with send_message :category, :name, foo: 'value'
redgetan has joined #ruby-lang
<Defusal> that is actually an older version of the method i use these days, which is more simple
<Okasu> Defusal: thanks :)
<Defusal> i added some plural support, shortcuts for irc and better variable parsing
<samuelkadolph> drbrain: "%<pi>0.1f" % { pi: Math::PI } # => "3.1"
<Defusal> ill paste you the new version now Okasu, it has example usage too
<drbrain> samuelkadolph: thanks!
<samuelkadolph> I never even knew sprintf could do that
<Defusal> Okasu: here you go, http://pastie.org/4028541
<Okasu> whoa
<rue> samuelkadolph: Much better to use the %<> form eberybhere
<Defusal> the pluralization support is pretty useful
<Defusal> theres more i plan on adding in the future
<Defusal> but that works pretty well
tonni has quit [Remote host closed the connection]
<rue> As opposed to %{}, which I didn’t know about…
<samuelkadolph> rue: Why's that?
<rue> Less syntax to keep track of
<samuelkadolph> Pft
<rue> Defusal: HOLY NEEDS SPACING BATMAN
<Defusal> sorry, it wasnt written for others to read
DWoodiwiss has joined #ruby-lang
<rue> samuelkadolph: “Why is it %{} here, but %<> here, what’s the difference?” etc.
<Defusal> works well though, so feel free to use it :)
<samuelkadolph> rue: That's like comparing symbols vs strings :P
<rue> “Is one #to_s and the other is #inspect?”
<samuelkadolph> One just does more than the other
<Defusal> oh i forgot to mention, that second version depends on ActiveSupport for pluralization support Okasu
<jaimef> how does one generate an array of sequentail numbers of say 1..100? [ 1...100 ]?
scampbell has quit [Quit: Ex-Chat]
<samuelkadolph> jaimef: (1..100).to_a
<jaimef> ahh thanks
<samuelkadolph> Or [*1..100] I believe
DWoodiwiss has quit [Client Quit]
DWoodiwiss has joined #ruby-lang
Kuukunen has quit [Ping timeout: 245 seconds]
DWoodiwiss has quit [Client Quit]
DWoodiwiss has joined #ruby-lang
woollyams has joined #ruby-lang
postmodern has joined #ruby-lang
Kuukunen has joined #ruby-lang
butchanton has quit [Quit: Leaving.]