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
KA_ has joined #ruby-lang
justinmcp has joined #ruby-lang
coryf has quit [Remote host closed the connection]
jperry2_ has joined #ruby-lang
hhatch has quit [Ping timeout: 245 seconds]
KA_ has quit [Client Quit]
drollwit has quit [Remote host closed the connection]
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
KA_ has joined #ruby-lang
jperry2_ has quit [Client Quit]
tallship has quit [Remote host closed the connection]
ruby-wwoodrum has joined #ruby-lang
ruby-wwoodrum has quit [Client Quit]
ruby-lang355 has joined #ruby-lang
ruby-lang355 has quit [Client Quit]
naz has left #ruby-lang [#ruby-lang]
Madis__ has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0/20120830123745]]
nazty has joined #ruby-lang
gsav has joined #ruby-lang
jperry2_ has joined #ruby-lang
JustinCampbell has joined #ruby-lang
JustinCampbell has quit [Read error: Connection reset by peer]
elux has quit [Quit: Bye!]
JustinCampbell has joined #ruby-lang
gsav_ has joined #ruby-lang
KA_ has quit [Quit: KA_]
znz_v has quit [Quit: kill -QUIT $$]
KA_ has joined #ruby-lang
znz_v has joined #ruby-lang
brianpWins has joined #ruby-lang
gsav_ has quit [Quit: Lost terminal]
My_Hearing has quit [Ping timeout: 246 seconds]
My_Hearing has joined #ruby-lang
KA_ has quit [Quit: KA_]
KA_ has joined #ruby-lang
kain has quit [Ping timeout: 256 seconds]
spectra has quit [Read error: Operation timed out]
KA_ has quit [Client Quit]
<steveklabnik> andrewvos: yep you do
Bosox20051 has joined #ruby-lang
<steveklabnik> listrophy: just use rvm
KA_ has joined #ruby-lang
spectra has joined #ruby-lang
KA_ has quit [Client Quit]
enebo has joined #ruby-lang
VegetableSpoon has quit [Quit: Leaving]
Bosox20051 has quit [Quit: Leaving]
tenderlove has quit [Remote host closed the connection]
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
woollyams has quit [Quit: Computer has gone to sleep.]
enebo has quit [Quit: enebo]
woollyams has joined #ruby-lang
alexkira has quit [Remote host closed the connection]
JustinCampbell has quit [Remote host closed the connection]
swarley has joined #ruby-lang
swarley_ has joined #ruby-lang
swarley has quit [Ping timeout: 244 seconds]
YayMe has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
mrsolo has quit [Quit: Leaving]
kjr has quit [Quit: kjr]
datanoise has joined #ruby-lang
m3nd3s_ has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
<chris2> >> ("\177"*16).unpack("Q*")
<chris2> => [9187201950435737471, 9187201950435737471]
<chris2> duh
<chris2> nvm
WillMarshall has joined #ruby-lang
swarley_ has left #ruby-lang [#ruby-lang]
swarles has joined #ruby-lang
<swarles> * swarles #ruby-lang :Cannot change nickname while banned on channel <- annoying
<swarles> i cant register because of that, and i have to leave channel to do it
kjr has joined #ruby-lang
<ryanf> yeah, super annoying
brianpWins has quit [Ping timeout: 246 seconds]
sent-hil has joined #ruby-lang
heftig has quit [Quit: leaving]
lsegal` has joined #ruby-lang
_Mon_Ouie_ has joined #ruby-lang
heftig has joined #ruby-lang
My_Hearing has quit [Ping timeout: 260 seconds]
stardiviner has joined #ruby-lang
heftig has quit [Quit: Lost terminal]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
heftig has joined #ruby-lang
tenderlove has joined #ruby-lang
rfay has joined #ruby-lang
<rfay> Hmm. Probably time to change the channel announce as Ruby 1.9.3 is out
tenderlo_ has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
sent-hil has quit [Remote host closed the connection]
bryno has quit [Ping timeout: 245 seconds]
sent-hil has joined #ruby-lang
datanoise has quit [Ping timeout: 260 seconds]
ryanf has quit [Ping timeout: 260 seconds]
kain has joined #ruby-lang
tenderlo_ has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
tenderlove has quit [Ping timeout: 260 seconds]
kain has quit [Ping timeout: 240 seconds]
savage- has quit [Remote host closed the connection]
sent-hil has quit [Ping timeout: 240 seconds]
mpan has quit [Quit: Leaving]
achiu has quit [Quit: WeeChat 0.3.7]
tRAS has joined #ruby-lang
kjr has quit [Ping timeout: 246 seconds]
jtoy has joined #ruby-lang
gmci has quit [Quit: Computer has gone to sleep.]
gmci has joined #ruby-lang
datanoise has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
macmartine has joined #ruby-lang
achiu has joined #ruby-lang
wyhaines has joined #ruby-lang
xyzodiac has joined #ruby-lang
datanoise has quit [Ping timeout: 255 seconds]
jperry2_ has quit [Quit: jperry2_]
josh^ has joined #ruby-lang
jtoy has quit [Quit: jtoy]
jtoy has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
kain has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
tRAS has quit [Quit: Mother, did it need to be so high?]
laszlokorte_ has quit [Quit: laszlokorte_]
kain has quit [Ping timeout: 248 seconds]
lsegal` has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
lsegal has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
enebo has joined #ruby-lang
ramonmaruko has quit [Remote host closed the connection]
xyzodiac has joined #ruby-lang
ramonmaruko has joined #ruby-lang
VGoff_afk is now known as VGoff
_Mon_Ouie_ has quit [Ping timeout: 246 seconds]
_Mon_Ouie_ has joined #ruby-lang
xyzodiac has quit [Client Quit]
tRAS has joined #ruby-lang
ryanf has joined #ruby-lang
ryanf has quit [Ping timeout: 255 seconds]
swarles has quit [Ping timeout: 248 seconds]
justinmcp has joined #ruby-lang
sailias has joined #ruby-lang
tenderlove has joined #ruby-lang
nignaztic has joined #ruby-lang
bryno has joined #ruby-lang
rippa has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
nignaztic is now known as nemonic
nemonic is now known as nignaztic
tenderlove has quit [Ping timeout: 248 seconds]
krohrbaugh has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
woollyams has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
krohrbaugh has quit [Ping timeout: 240 seconds]
rippa has joined #ruby-lang
<zenspider> HOLY FUCK!!!! Heckle 2.0.0.b1 released!
piyush has joined #ruby-lang
drbrain has quit [Ping timeout: 240 seconds]
fletch_ has quit []
gsav has quit [Read error: Connection reset by peer]
drbrain has joined #ruby-lang
sailias has quit [Quit: Leaving.]
sailias has joined #ruby-lang
gmci has quit [Ping timeout: 246 seconds]
sailias has quit [Client Quit]
gmci has joined #ruby-lang
ryanf has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
justinmcp has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
BMF has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
<rking> zenspider: "Homepage" link from https://rubygems.org/gems/heckle == 404
justinmcp has joined #ruby-lang
YayMe has quit [Ping timeout: 256 seconds]
thatdutchguy has quit [Remote host closed the connection]
macmartine has quit [Read error: Connection reset by peer]
<zenspider> damnit... I hate apache
<zenspider> rking: fixed. thanks for the heads up. all my domains were borked. yay for revision control
<rking> zenspider: No links to github repo anywhere. ☹
<zenspider> *shrug* everything is under github.com/seattlerb
<zenspider> and last time it was released... was pre-github
<zenspider> (and it isn't my primary dev env)
<zenspider> ok. gotta run.
burgestrand has quit [Ping timeout: 246 seconds]
<rking> zenspider: Cool. I'll try heckle out. I've never actually used a tool like it.
nariyal has joined #ruby-lang
piyush has quit [Read error: Operation timed out]
macmartine has joined #ruby-lang
nariyal has quit [Client Quit]
rfay has quit [Quit: This computer has gone to sleep]
nariyal has joined #ruby-lang
nariyal has quit [Client Quit]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
eydaimon has joined #ruby-lang
eydaimon has quit [Changing host]
eydaimon has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
<eydaimon> is there a way to reliably get the name of the current method? __method__ doesn't work with alias, and caller doesn't work same with tools like pry.
datanoise has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
tenderlove has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 245 seconds]
anannie has joined #ruby-lang
bradleyprice has joined #ruby-lang
tRAS has joined #ruby-lang
spuk has joined #ruby-lang
nariyal has joined #ruby-lang
nariyal has quit [Client Quit]
ryanlecompte has joined #ruby-lang
sduckett has quit [Ping timeout: 245 seconds]
burgestrand has joined #ruby-lang
_Mon_Ouie_ has left #ruby-lang [#ruby-lang]
Mon_Ouie has joined #ruby-lang
Antiarc has quit [Quit: Instantbird 1.2 -- http://www.instantbird.com]
dc5ala has joined #ruby-lang
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
bradleyprice has quit [Remote host closed the connection]
<dkannan> eydaimon: checking if caller would help
chendo_ has quit [Ping timeout: 240 seconds]
kain has joined #ruby-lang
kain has quit [Remote host closed the connection]
kain_ has joined #ruby-lang
chendo_ has joined #ruby-lang
<eydaimon> this is what I tried: caller[0] =~ /`([^']*)'/ and $1
<dkannan> cool
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
<dkannan> how do i use regex named group. for eg in the regex eydaimon posted
<dkannan> caller[0] =~ /`([^']*)'/
<dkannan> to get the method_name via a named group
<dkannan> eydaimon: can also check http://www.ruby-forum.com/topic/75258
hakunin has quit [Ping timeout: 260 seconds]
rippa has quit [Ping timeout: 248 seconds]
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
gaveen has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
<burgestrand> Uh, meant to link to this: http://www.ruby-doc.org/core-1.9.3/Regexp.html
kain_ has quit [Quit: exit]
WillMarshall has quit [Quit: Computer has gone to sleep.]
ryanlecompte has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
charliesome has joined #ruby-lang
Asher has quit [Ping timeout: 256 seconds]
WillMarshall has joined #ruby-lang
datanoise has joined #ruby-lang
concernedcitizen has joined #ruby-lang
concernedcitizen has quit [Changing host]
concernedcitizen has joined #ruby-lang
anannie has quit [Remote host closed the connection]
WillMarshall has quit [Client Quit]
datanoise has quit [Ping timeout: 245 seconds]
replore_ has joined #ruby-lang
<dkannan> thanks burgestrand
<dkannan> used named group at https://gist.github.com/3825476
<dkannan> how does it work with multiple groups
<dkannan> eh. will come back with a better example :-P
facest has quit [Ping timeout: 260 seconds]
runeb has joined #ruby-lang
facest has joined #ruby-lang
tRAS has quit [Ping timeout: 255 seconds]
drbrain has quit [Ping timeout: 268 seconds]
tRAS has joined #ruby-lang
solars has joined #ruby-lang
<dkannan> this is for migrating data from mysql to postgres
dhruvasagar has joined #ruby-lang
yats has joined #ruby-lang
tRAS has quit [Ping timeout: 256 seconds]
zz_chrismcg is now known as chrismcg
drbrain has joined #ruby-lang
tooky has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
rue|w has joined #ruby-lang
KA_ has joined #ruby-lang
chrismcg is now known as zz_chrismcg
ananna has joined #ruby-lang
piyush has joined #ruby-lang
ananna has quit [Client Quit]
WillMarshall has joined #ruby-lang
ryanlecompte has joined #ruby-lang
WillMarshall has quit [Client Quit]
justinmcp has quit [Remote host closed the connection]
cdt has joined #ruby-lang
WillMarshall has joined #ruby-lang
chendo_ has quit [Ping timeout: 240 seconds]
KA_ has quit [Quit: KA_]
<dkannan> am checking https://github.com/ajokela/mysqltopostgres. It seems to be better mantained
chendo_ has joined #ruby-lang
probst has joined #ruby-lang
gnufied has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
facest has quit [Read error: Connection reset by peer]
facest has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ryanlecompte has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 248 seconds]
Madis_ has joined #ruby-lang
<eydaimon> dkannan: /`(?<method>[^']*)'/ (didn't test)
Mon_Ouie has quit [Ping timeout: 246 seconds]
Carnage\ has joined #ruby-lang
workmad3 has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Criztian has joined #ruby-lang
sepp2k has joined #ruby-lang
piyush has quit [Ping timeout: 255 seconds]
tonni_ has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
probst has quit [Quit: probst]
tooky has joined #ruby-lang
vlad_starkov has joined #ruby-lang
probst has joined #ruby-lang
<dkannan> eydaimon: that is what i did at https://gist.github.com/3825476
<dkannan> eydaimon: was wondering what if i can match a sequence of regex. am not sure if i am making sense
jarib has quit [Excess Flood]
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby-lang
<dkannan> question is named matches capture any regex inside round braces ie. ( some regexes )
GarethAdams has joined #ruby-lang
jarib has joined #ruby-lang
naz has joined #ruby-lang
Madis_ has quit [Remote host closed the connection]
nazty has quit [Ping timeout: 246 seconds]
<dkannan> eydaimon: but thanks :-)
faces has joined #ruby-lang
facest has quit [Ping timeout: 255 seconds]
wallerdev has quit [Quit: wallerdev]
chendo_ has quit [Ping timeout: 240 seconds]
chendo_ has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
solars has quit [Read error: Operation timed out]
piyush has joined #ruby-lang
justinmcp has joined #ruby-lang
mars777 has quit [Quit: mars777]
jimq has joined #ruby-lang
solars has joined #ruby-lang
lzhz_ has quit [Quit: leaving]
lzhz has joined #ruby-lang
Hakon has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
Carnage\ has quit []
kain has joined #ruby-lang
jimq has left #ruby-lang [#ruby-lang]
<masterkorp> RUBIIESSS
<masterkorp> sorry forgot to take my meds
krisjk has joined #ruby-lang
Hakon has joined #ruby-lang
<krisjk> Im using gem mysql2 to connect to a MySQL database in my ruby code, but the reconnect method does not work. It says 'undefined method `reconnect' for #<Mysql2::Client:0x8e8da0c> (NoMethodError)'
<krisjk> so when the mysql server goes down, inspite of me having a loop which waits for some time and then tries to reconnect, the application crashes with the above error
<krisjk> Im using bundler and my machine is running ubuntu 12.04 any way to fix the reconnect issue with the mysql2 gem ?
postmodern has quit [Quit: Leaving]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
Hakon has quit [Quit: Leaving...]
Hakon has joined #ruby-lang
Hakon has quit [Read error: Connection reset by peer]
NOKAH has joined #ruby-lang
sush24 has joined #ruby-lang
<darix> krisjk: check the api docs of mysql2?
<krisjk> darix: ur right, the reconnect method is not there
<krisjk> so is there any way to try a reconnect if the connection is not available ?
sush24 has quit [Ping timeout: 248 seconds]
<darix> untested pseudo code. but you should get the idea
NOKAH has quit [Quit: Leaving...]
Hakon has joined #ruby-lang
Hakon has quit [Client Quit]
replore__ has joined #ruby-lang
sush24 has joined #ruby-lang
replore_ has quit [Ping timeout: 255 seconds]
replore__ has quit [Remote host closed the connection]
concernedcitizen has quit [Remote host closed the connection]
replore has joined #ruby-lang
sush24_ has joined #ruby-lang
sush24_ has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
sush24_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sush24 has quit [Ping timeout: 240 seconds]
bmaland has joined #ruby-lang
sush24_ has quit [Ping timeout: 260 seconds]
Hakon has joined #ruby-lang
OrganicCat has joined #ruby-lang
runeb- has joined #ruby-lang
runeb has quit [Read error: Connection reset by peer]
runeb- is now known as runeb
<krisjk> @darix: thanks
<krisjk> can u plz explain @mysql_connection ||= Mysql2::Client.new(:host => "localhost", :username => "root")
<krisjk> its working with this but what does @mysqlconnection ||= .. do
<krisjk> i understand the MySql2::Client part
wyhaines has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
Hakon has joined #ruby-lang
Hakon has quit [Client Quit]
OrganicCat has left #ruby-lang [#ruby-lang]
OrganicCat has joined #ruby-lang
OrganicCat has quit []
xyzodiac has joined #ruby-lang
yours_truly has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
xyzodiac has quit [Client Quit]
mwjcomputing has joined #ruby-lang
Nisstyre has quit [Ping timeout: 255 seconds]
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
mwjcomputing has quit [Client Quit]
yats has quit [Quit: Leaving]
<darix> krisjk: ||= only sets the variable if it isnt nil
<FiXato> or false
stardiviner has joined #ruby-lang
<FiXato> actually, don't you mean if it *is* nil or false?
<darix> sorry yes.
thisirs has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
Nisstyre has joined #ruby-lang
dc5ala has quit [Quit: laters]
ramonmaruko has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
ramonmaruko has joined #ruby-lang
Hakon has joined #ruby-lang
justinmcp has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
retro|cz has quit [Ping timeout: 265 seconds]
probst has quit [Quit: probst]
lonelydimple has joined #ruby-lang
GarethAdams|Work has joined #ruby-lang
GarethAdams has quit [Ping timeout: 240 seconds]
retro|cz has joined #ruby-lang
Hakon has joined #ruby-lang
jperry2_ has joined #ruby-lang
josh^ has quit [Ping timeout: 256 seconds]
josh^ has joined #ruby-lang
Wazm has joined #ruby-lang
Wazm has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 244 seconds]
xyzodiac has joined #ruby-lang
probst has joined #ruby-lang
mwjcomputing has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
d3vic3 has joined #ruby-lang
probst has quit [Quit: probst]
probst has joined #ruby-lang
conorreedy has quit [Remote host closed the connection]
conorreedy has joined #ruby-lang
JustinCampbell has joined #ruby-lang
jbwiv has quit [Remote host closed the connection]
guns has joined #ruby-lang
CoverSlide has quit [Ping timeout: 245 seconds]
lonelydimple has quit [Ping timeout: 256 seconds]
guns has quit [Quit: guns]
probst has quit [Quit: probst]
<kith> hmm no "Dir.rm -rf" :S
sduckett has joined #ruby-lang
<kith> how do i remove a directory when its not empty?
CoverSlide has joined #ruby-lang
<andrewvos> FileUtils.rm_rf
<andrewvos> kith: ^
A124 has quit [Quit: Leaving.]
<andrewvos> (require "fileutils")
A124 has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
piyush has quit [Ping timeout: 255 seconds]
probst has joined #ruby-lang
justinmcp has joined #ruby-lang
kain has quit [Remote host closed the connection]
kain has joined #ruby-lang
Criztian_ has joined #ruby-lang
Criztian has quit [Read error: Connection reset by peer]
probst has quit [Quit: probst]
chendo__ has joined #ruby-lang
Jake232 has joined #ruby-lang
<andrewvos> OMG I started syncing gmail with offlineimap, saw the amount that offlineimap said, went to gmail/all mail and saw it was a quarter. Thought offlineimap was deleting all my emails :(
sailias has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
stiang has joined #ruby-lang
sailias has quit [Ping timeout: 256 seconds]
carloslopes has joined #ruby-lang
<andrewvos> Wow it's really weird looking at old emails. Especially when they're from dead people!
xyzodiac has joined #ruby-lang
<ddfreyne> why ar eyou using offlineimap? how are you using it?
<andrewvos> ddfreyne: Cause I've always wanted all my gmail messages in my dropbox folder
<andrewvos> And this gave me the idea http://stevelosh.com/blog/2012/10/the-homely-mutt/
<andrewvos> And that's how I'm using it, with some tweaks
Hakon has joined #ruby-lang
<ddfreyne> I don't think I'd be able to use mutt (I like the gmail interface)
<ddfreyne> I dislike putting all my mails in the hands of google but I prefer ease of use over privacy in this case
<ddfreyne> horrible, is it not? :>
<andrewvos> ddfreyne: Mutt is actually quite nice when you get used to it.
chimkan_ has joined #ruby-lang
<andrewvos> ddfreyne: A huge part of it for me is using vim when writing email.
<ddfreyne> hehe :)
<ddfreyne> I am starting to catch vimitis as well
<andrewvos> ddfreyne: Hmm, I've probably being using it for two years now. I still suck at vim though.
<andrewvos> Like, I really suck
<andrewvos> I use the arrow keys often
krisjk has quit [Remote host closed the connection]
xyzodiac has quit [Client Quit]
tooky has quit [Remote host closed the connection]
probst has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
<andrewvos> Wonder why offlineimap is showing 70,000 mails and gmail is showing 25,000
<zzak> threads?
<andrewvos> OHHHH
<andrewvos> zzak: You're a genius
sush24 has joined #ruby-lang
<zzak> i did the same thing
<andrewvos> zzak: Did you get the fear?
<zzak> no but i had trouble finding the setting
<zzak> in tbird its a little icon at the top of the grid, not in prefs
<ddfreyne> zzak: mutt as well?
<zzak> ddfreyne: i just setup thunderbird, because i needed to use a pgp key for commit bit
<zzak> i tried vmail once, that was interesting
voker57 has quit [Read error: Connection reset by peer]
<andrewvos> heh
<andrewvos> that's a vim plugin right?
<andrewvos> I wouldn't even install that.
lcdhoffman has joined #ruby-lang
chimkan_ has quit [Ping timeout: 260 seconds]
conorreedy_ has joined #ruby-lang
nXqd has joined #ruby-lang
jtoy has joined #ruby-lang
mars777 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<zzak> i tried it when it was first released, but ive got no gripes with gmails interface, just wish there was a good way to sign pgp in gmail
Hakon has quit [Quit: Leaving...]
<zzak> if it aint broke.. so tbird for pgp and gmail for everything else
<andrewvos> Fucking hate thunderbird though :(
<andrewvos> Like, it used to give me so much pain
<corsican> andrewvos: me too
conorreedy has quit [Ping timeout: 246 seconds]
<corsican> it's probably fine if you don't have that much email
Hakon has joined #ruby-lang
<andrewvos> Makes me feel woozy thinking about it
<corsican> but I was trying to use it at work
<corsican> and it would just grind
<corsican> and grind
<andrewvos> Yeah at work it's horriffic
<corsican> and grind
sailias has joined #ruby-lang
<corsican> and grind
<andrewvos> Especially in big companies with stupid email setup
<corsican> luckily we use google/gmail
<corsican> so I could easily just switch back to web
<andrewvos> Sweet
<andrewvos> Having your mail in Maildir format for work is great though. So quick to search.
<andrewvos> And Gmail isn't fast anymore. It was cool when it was, but that time has passed.
<corsican> hmm I haven't heard of Maildir
outoftime has joined #ruby-lang
<andrewvos> corsican: It's just a way to store emails
<corsican> ah okay
<andrewvos> corsican: But they're all in plaintext
<corsican> so it's sort of like the old mbox format?
<andrewvos> corsican: Yeah as far as I know.
tRAS has quit [Quit: Mother, did it need to be so high?]
mistym has joined #ruby-lang
<zzak> in the era of web notifications, my inbox is mostly just pings and mailinglists
<zzak> maybe skype should get a maildir
<zzak> searching convoe's on skype is next to impossible
CarlB_the_great has joined #ruby-lang
tooky has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
elux has joined #ruby-lang
runeb has quit [Remote host closed the connection]
runeb has joined #ruby-lang
runeb has quit [Remote host closed the connection]
nyuszika7h has joined #ruby-lang
gsav has joined #ruby-lang
gsav has quit [Client Quit]
chendo__ has quit [Quit: Computer has gone to sleep.]
xyzodiac has joined #ruby-lang
kjr has joined #ruby-lang
datanoise has joined #ruby-lang
tooky has quit [Ping timeout: 246 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
xyzodiac has joined #ruby-lang
rfay has joined #ruby-lang
chimkan has joined #ruby-lang
gsav has joined #ruby-lang
chimkan has quit [Client Quit]
sent-hil has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
tRAS has joined #ruby-lang
burgestrand has quit [Quit: Leaving.]
stiang has quit [Quit: stiang]
chimkan_ has joined #ruby-lang
tjadc has joined #ruby-lang
dc5ala has joined #ruby-lang
|Vargas| has quit [Quit: ...]
jtoy_ has joined #ruby-lang
DEac- has quit [Read error: No route to host]
dhruvasagar has quit [Ping timeout: 252 seconds]
DEac- has joined #ruby-lang
dhruvasagar has joined #ruby-lang
jtoy has quit [Ping timeout: 260 seconds]
jtoy_ is now known as jtoy
dc5ala has quit [Quit: Ex-Chat]
krohrbaugh1 has quit [Ping timeout: 240 seconds]
Hakon has joined #ruby-lang
Hakon has quit [Client Quit]
urbanmonk has joined #ruby-lang
Hakon has joined #ruby-lang
Hakon has quit [Client Quit]
sush24 has quit [Quit: This computer has gone to sleep]
thisirs has quit [Remote host closed the connection]
Hakon has joined #ruby-lang
yours_truly has quit [Ping timeout: 240 seconds]
sush24 has joined #ruby-lang
solars has quit [Ping timeout: 244 seconds]
bradleyprice has joined #ruby-lang
Axsuul has quit [Ping timeout: 256 seconds]
xyzodiac has quit [Quit: Computer has gone to sleep.]
Jake232 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
rfay has quit [Quit: This computer has gone to sleep]
Hakon has quit [Quit: Leaving...]
hakunin has joined #ruby-lang
replore has quit [Remote host closed the connection]
rippa has joined #ruby-lang
rfay has joined #ruby-lang
dreamhawk has quit [Ping timeout: 268 seconds]
runeb has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
dreamhawk has joined #ruby-lang
JustinCa_ has joined #ruby-lang
anannie has joined #ruby-lang
JustinCampbell has quit [Ping timeout: 260 seconds]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
runeb has quit [Ping timeout: 248 seconds]
urbanmonk has quit [Ping timeout: 246 seconds]
gnufied has joined #ruby-lang
d3vic3 has quit [Quit: leaving]
JustinCampbell has joined #ruby-lang
JustinCa_ has quit [Ping timeout: 245 seconds]
tjadc has quit [Read error: Connection reset by peer]
vesan has quit [Ping timeout: 260 seconds]
vesan has joined #ruby-lang
kjr has left #ruby-lang [#ruby-lang]
kjr has joined #ruby-lang
carloslopes has quit [Quit: Leaving.]
nXqd has quit [Ping timeout: 260 seconds]
<zzak> wish there was a way to hide files from a diff in github
gsav_ has joined #ruby-lang
gsav has quit [Ping timeout: 255 seconds]
tRAS has quit [Quit: Mother, did it need to be so high?]
enebo has joined #ruby-lang
KA_ has joined #ruby-lang
alexkira has joined #ruby-lang
KA_ has quit [Client Quit]
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
<Spaceghostc2c> steveklabnik: Now I'm all sad. :(
nariyal has joined #ruby-lang
runeb has joined #ruby-lang
<crankharder> is there any tool that's basically mechanize/selenium w/o the browser? I'm trying to scrape a service behind a post request, and for whatever reason can't get the params/cookies/headers right in a command line tool. I'd really like to be able to do this from the command line w/o a browser. Thoughts?
macmartine has joined #ruby-lang
imajes has quit [Excess Flood]
jarib has quit [Excess Flood]
<zzak> crankharder: you mean a headless browser? whats wrong with mechanize?
imajes has joined #ruby-lang
jarib has joined #ruby-lang
<crankharder> i can't get the headers/cookies right
<crankharder> the request comes back w/ an error
<crankharder> in chrome/inspector i dont see anything changing, although there are some wack/really-long/hashy-looking params.
<crankharder> *changing from request to request, like a auth token or some such
<steveklabnik> Spaceghostc2c: what?
xyzodiac has joined #ruby-lang
rmcauley has joined #ruby-lang
krohrbaugh has joined #ruby-lang
gsav has joined #ruby-lang
<zzak> can you be more specific? someone in here should be able to help
rmcauley has quit [Quit: Leaving.]
Liquidrain has joined #ruby-lang
<Liquidrain> blah = "hello"; (40 - blah.length) * " "; results in "string cannot be coerced into Fixnum" when what I really want is 35 spaces. how do I get around this?
gaveen has quit [Ping timeout: 245 seconds]
<Liquidrain> (this is a problem that is *impossible* to google)
<crankharder> " " * (40 - blah.length)
<lianj> " " * 40
urbanmonk has joined #ruby-lang
<lianj> Liquidrain: "hello".rjust(40, " ")
sush24 has quit [Ping timeout: 256 seconds]
<Liquidrain> lianj: that's a much better solution. crankharder: that works too.
<Liquidrain> I find it unintuitive that order would make a difference in this case.
runeb has quit [Ping timeout: 246 seconds]
<crankharder> zzak: you referring to my question?
GarethAdams|Work has quit [Quit: Linkinus - http://linkinus.com]
GarethAdams has joined #ruby-lang
<Spaceghostc2c> I wanted to talk about the merits and uses of factory patterns and just plain objects.
<Spaceghostc2c> steveklabnik: ^
enebo has quit [Quit: enebo]
Liquidrain has left #ruby-lang ["Leaving."]
<zzak> crankharder: yessir
<crankharder> go here https://www.bikereg.com/Net/12000, click the big "Continue" button in the middle of the page. see more data come back (also see network tab in chrome inspector) -- for all my trying i cannot mimick that post request using mechanize
<crankharder> meh
rfay has quit [Quit: This computer has gone to sleep]
solars has joined #ruby-lang
kuja has quit [Ping timeout: 245 seconds]
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
gaveen has joined #ruby-lang
kuja has joined #ruby-lang
imajes has quit [Excess Flood]
aharris_ has joined #ruby-lang
imajes has joined #ruby-lang
ryanlecompte has joined #ruby-lang
<zzak> crankharder: you might be able to click the button with mechanize and simulate the JS, otherwise maybe capybara-webkit would do the trick
<steveklabnik> Spaceghostc2c: so talk abou tthem.
<Spaceghostc2c> steveklabnik: Well jeeze, boss. I prefer using the objects directly in my unit tests.
<Spaceghostc2c> It seems to help me 'hear' the pains in my code more when I'm actually using them as opposed to factories or fixtures.
<Spaceghostc2c> Something that bothers me right now is having to update all my specs because I add a new attr_accessor that has a presence validation or something like that.
<Spaceghostc2c> Stubbing would still require maintenance across my test suite.
GarethAdams has quit [Quit: Leaving...]
CarlB_the_great has quit [Remote host closed the connection]
alvaro_o has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<zzak> wouldn't that be the point of using a factory?
nyuszika7h has quit [Read error: Connection reset by peer]
CarlB_the_great has joined #ruby-lang
<zzak> you don't have to maintain valid_attributes{}
<Spaceghostc2c> Yeah, but then you have to build out this mountain of factories and variations.
nyuszika7h has joined #ruby-lang
sent-hil has quit [Read error: Connection reset by peer]
nyuszika7h has quit [Client Quit]
sent-hil has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
<zzak> factory weighs about as much as valid_attributes
<zzak> variations?
__butch__ has joined #ruby-lang
<zzak> you mean like sequence?
javilm has joined #ruby-lang
sent-hil has quit [Remote host closed the connection]
nyuszika7h has joined #ruby-lang
sent-hil has joined #ruby-lang
runeb has joined #ruby-lang
<Spaceghostc2c> zzak: No, like traits, other factories like :user_with_valid_inventory, etc.
sent-hil_ has joined #ruby-lang
<Spaceghostc2c> It seems like a noisy abstraction except for the one pain I have in using the objects directly.
<Spaceghostc2c> I'll use factories in functional tests, but not unit or integration.
sent-hil has quit [Read error: Connection reset by peer]
chimkan_ has quit [Quit: chimkan_]
cantonic_ has joined #ruby-lang
<zzak> well i guess thats your preference and youre welcome to have your own opinions
enebo has joined #ruby-lang
coryf has joined #ruby-lang
<crankharder> zzak: hmm, so w/ capybara, on the Capybara::Node::Element#click, I get "undefined|0|ReferenceError: Can't find variable: __doPostBack" -- where I know __doPostBack is a JS function loaded in a referenced file on the page (I know this cause i've been digging around a lot) -- so capybara isn't loading the referenced javascript?
cantonic has quit [Ping timeout: 255 seconds]
cantonic_ is now known as cantonic
<steveklabnik> Spaceghostc2c: the point is that you're not doing unit tests
<steveklabnik> if you're not doing factories
solars has quit [Ping timeout: 246 seconds]
<steveklabnik> you add new behavior? you need to add a new test
<Spaceghostc2c> steveklabnik: Well duh.
<steveklabnik> the pain means you're doing it wrong
<steveklabnik> that's the point
<steveklabnik> it causes pain, so you can refactor your code
<crankharder> rgah
<Spaceghostc2c> steveklabnik: And what I'm saying is that I realize it, and how does one relieve themselves of that pain?
<steveklabnik> so saying "i use my factories in my unit tests" is a non-sequetor
tRAS has joined #ruby-lang
carloslopes has joined #ruby-lang
<Spaceghostc2c> I get the philosophical point.
chimkan_ has joined #ruby-lang
cdt has quit [Quit: Ex-Chat]
rfay has joined #ruby-lang
<Spaceghostc2c> I just build objects in my unit tests, but as my objects become more complex, the previous tests start failing because they weren't aware of that complexity even though it isn't under test.
xyzodiac has joined #ruby-lang
<steveklabnik> well i cant tell you without some code
<steveklabnik> honestly
<steveklabnik> this is like 'how do you fix the economy?' 'which one?' all of them
<Spaceghostc2c> Nevermind then. :)
runeb has quit [Ping timeout: 246 seconds]
<steveklabnik> i wrote about this a bunch on my blog with examples, check out the 'rstatus refactoring' series
rfay has quit [Client Quit]
<steveklabnik> which uses Real Code (tm)
* Spaceghostc2c hands steveklabnik a ™
BryanWB has joined #ruby-lang
coryf has quit [Read error: Connection reset by peer]
coryf has joined #ruby-lang
enebo has quit [Quit: enebo]
CarlB_the_great has quit [Remote host closed the connection]
<Spaceghostc2c> steveklabnik: I'm a bit dismayed. I can't see how protected/private s a smell.
<Spaceghostc2c> is*
CarlB_the_great has joined #ruby-lang
<Spaceghostc2c> It might just be something I'll be okay with disagreeing on though.
CarlB_the_great has quit [Remote host closed the connection]
_Amen_Makveli_ has joined #ruby-lang
probst has quit [Quit: probst]
_Amen_Makveli_ has quit [Client Quit]
_Amen_Makveli_ has joined #ruby-lang
_Amen_Makveli_ has quit [Remote host closed the connection]
<Spaceghostc2c> steveklabnik: Your blog has a redirect loop. http://blog.steveklabnik.com/posts/2010-09-17-trouble-with-diaspora on the "my follow up post" link. http://blog.steveklabnik.com/this-is-why-new-media-hates-old-media
enebo has joined #ruby-lang
_Amen_Makaveli_ has joined #ruby-lang
burgestrand has joined #ruby-lang
solars has joined #ruby-lang
justinseiter has joined #ruby-lang
<steveklabnik> whoops.
<steveklabnik> thanks.
bfreeman has joined #ruby-lang
piyush has joined #ruby-lang
sent-hil_ has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
xyzodiac has quit [Ping timeout: 240 seconds]
solars has quit [Ping timeout: 246 seconds]
Carnage\ has joined #ruby-lang
runeb has joined #ruby-lang
rwilcox has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
fletch_ has joined #ruby-lang
_nitti has joined #ruby-lang
javilm has quit [Quit: http://www.lavandeira.net]
Carnage\ has quit []
JustinCa_ has joined #ruby-lang
bfreeman has joined #ruby-lang
JustinCampbell has quit [Read error: No route to host]
mrsolo has joined #ruby-lang
xyzodiac has joined #ruby-lang
nariyal has quit [Quit: Computer has gone to sleep.]
runeb has quit [Ping timeout: 246 seconds]
benanne has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
coryf has quit [Ping timeout: 260 seconds]
solars has joined #ruby-lang
workmad3 has quit [Ping timeout: 255 seconds]
mk03 has joined #ruby-lang
tooky has joined #ruby-lang
enebo has quit [Quit: enebo]
mk03 has quit [Remote host closed the connection]
solars has quit [Ping timeout: 260 seconds]
sent-hil has joined #ruby-lang
nariyal has joined #ruby-lang
tooky has quit [Ping timeout: 260 seconds]
sent-hil has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
coryf has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 246 seconds]
xyzodiac has quit [Quit: Textual IRC Client: www.textualapp.com]
_nitti has quit [Remote host closed the connection]
nitti has joined #ruby-lang
Tearan has joined #ruby-lang
rfay has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
sent-hil has joined #ruby-lang
runeb has joined #ruby-lang
thatdutchguy has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.7]
__butch__ has quit [Ping timeout: 256 seconds]
yats has joined #ruby-lang
achiu has joined #ruby-lang
runeb has quit [Ping timeout: 260 seconds]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
__butch__ has joined #ruby-lang
macmartine has joined #ruby-lang
Asher has joined #ruby-lang
nariyal has quit [Quit: Computer has gone to sleep.]
Asher has quit [Read error: Connection reset by peer]
nariyal has joined #ruby-lang
Asher has joined #ruby-lang
qpingu has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
coryf has quit [Read error: Connection reset by peer]
coryf has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
imajes has quit [Excess Flood]
BryanWB has quit [Quit: Ex-Chat]
imajes has joined #ruby-lang
runeb has joined #ruby-lang
gsav__ has joined #ruby-lang
nXqd has joined #ruby-lang
JustinCampbell has joined #ruby-lang
alexkira has quit [Read error: Connection reset by peer]
JustinCa_ has quit [Ping timeout: 246 seconds]
Hakon has joined #ruby-lang
macmartine has joined #ruby-lang
banaan has joined #ruby-lang
runeb has quit [Ping timeout: 260 seconds]
benanne has quit [Ping timeout: 265 seconds]
tenderlove has joined #ruby-lang
nariyal has quit [Quit: Computer has gone to sleep.]
tRAS has quit [Ping timeout: 248 seconds]
jtoy has joined #ruby-lang
Carnage\ has joined #ruby-lang
nitti has quit [Remote host closed the connection]
steez has quit [Ping timeout: 256 seconds]
steez has joined #ruby-lang
steez is now known as Guest55137
gaveen has quit [Remote host closed the connection]
Tearan has quit [Ping timeout: 248 seconds]
thatdutchguy has quit [Remote host closed the connection]
nariyal has joined #ruby-lang
eydaimon has quit [Quit: WeeChat 0.3.7]
lcdhoffman has quit [Quit: lcdhoffman]
vlad_starkov has quit [Remote host closed the connection]
runeb has joined #ruby-lang
tooky has joined #ruby-lang
jperry2__ has joined #ruby-lang
jperry2__ has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
robgleeson has joined #ruby-lang
jperry2__ has joined #ruby-lang
jperry2_ has quit [Ping timeout: 260 seconds]
RomyRomy has joined #ruby-lang
gsav_ has quit [Quit: Lost terminal]
gsav__ has quit [Quit: Lost terminal]
runeb has quit [Ping timeout: 260 seconds]
tooky has quit [Remote host closed the connection]
bfreeman has quit [Quit: bfreeman]
solars has joined #ruby-lang
imajes has quit [Excess Flood]
lcdhoffman has joined #ruby-lang
yats has quit [Ping timeout: 248 seconds]
postmodern has joined #ruby-lang
<andrewvos> USE IT FOR THINGS
imajes has joined #ruby-lang
nitti has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
<freedrull> what it do
urbanmonk has quit [Quit: Bye!]
nitti has quit [Ping timeout: 244 seconds]
<andrewvos> It's for functional testing Android apps on devices.
retro|cz has quit [Ping timeout: 265 seconds]
<andrewvos> Using it at Sky for testing writing Cucumber tests for their apps.
<andrewvos> Well, not using it yet. Starting like Friday or something.
<freedrull> niiiiiiiiiice
<andrewvos> Yup! First week on the job and they let me write a gem!
<Spaceghostc2c> andrewvos: Sweet! :D
<Spaceghostc2c> andrewvos: Does it use regex for pattern matching?
<Spaceghostc2c> In the stories.
<andrewvos> Spaceghostc2c: I don't think it has any regex in it.
<andrewvos> Spaceghostc2c: It's just an API that you use inside Cucumber steps, or anywhere really.
<andrewvos> Spaceghostc2c: But in this case I'm writing it in Cucumber.
<Spaceghostc2c> I hate that people call those cukes, because there's a name for that format.
<Spaceghostc2c> andrewvos: So it's not really BDD, it's more of RDD. Regex Driven Development.
<Spaceghostc2c> andrewvos: But that is cool! Could I use it with rspec without even requiring Englishes?
<andrewvos> Yeah sure
<Spaceghostc2c> :DDDD <3
<Spaceghostc2c> andrewvos: How does one pronounce this gemthing?
<andrewvos> There's only Cucumber instructions for it because that's what we're using. Feel free to add instructions for running elsewhere :)
<andrewvos> Spaceghostc2c: I have no idea.
<Spaceghostc2c> andrewvos: Also, docs plz when you has a chance, dear sir.
<andrewvos> I'm thinking acootshee
piyush has quit [Ping timeout: 246 seconds]
<Spaceghostc2c> A coot shee. Hm. A couchy?
ttilley has quit [Quit: ttilley]
<andrewvos> There are some. The /example directory is what you're after for now.
<Spaceghostc2c> I love couchies.
cardoni has joined #ruby-lang
<Spaceghostc2c> andrewvos: Set the home page in your gem's gemspec.
nitti has joined #ruby-lang
<andrewvos> But docs on the methods should be there.
wyhaines has quit [Remote host closed the connection]
<andrewvos> Ok done.
rwilcox has quit [Ping timeout: 246 seconds]
<Spaceghostc2c> <3
runeb has joined #ruby-lang
runeb has quit [Ping timeout: 260 seconds]
nitti has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
<wallerdev> hey
<CoverSlide> is for horses
nitti_ has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
mars777 has quit [Quit: mars777]
thatdutc_ has joined #ruby-lang
nariyal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cantonic has quit [Quit: cantonic]
thillux has joined #ruby-lang
KA_ has joined #ruby-lang
thillux_ has quit [Ping timeout: 248 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
imajes has quit [Excess Flood]
mrsolo has joined #ruby-lang
vlad_starkov has joined #ruby-lang
imajes has joined #ruby-lang
KA_ has quit [Ping timeout: 256 seconds]
jperry2__ has quit [Quit: jperry2__]
bfreeman has joined #ruby-lang
jperry2_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
runeb has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
cardoni has quit [Quit: Leaving...]
cardoni has joined #ruby-lang
<rue> Not
workmad3 has joined #ruby-lang
anannie has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 240 seconds]
runeb has quit [Ping timeout: 260 seconds]
ivanoats has joined #ruby-lang
rolfb has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
Tearan has joined #ruby-lang
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
macmartine has joined #ruby-lang
banaan has quit [Quit: kbai]
robgleeson has quit [Ping timeout: 246 seconds]
rfay has quit [Quit: This computer has gone to sleep]
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
Criztian_ has quit [Remote host closed the connection]
KA_ has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
KA_ has quit [Client Quit]
KA_ has joined #ruby-lang
ivanoats has quit [Read error: Connection timed out]
robgleeson has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
cantonic has joined #ruby-lang
runeb has joined #ruby-lang
jperry2_ has quit [Quit: jperry2_]
thatdutc_ has quit [Remote host closed the connection]
thatdutchguy has joined #ruby-lang
tenderlove has joined #ruby-lang
KA_ has quit [Quit: KA_]
runeb has quit [Ping timeout: 256 seconds]
KA_ has joined #ruby-lang
JustinCampbell has quit [Remote host closed the connection]
heftig has quit [Quit: leaving]
ivanoats has quit [Read error: Connection timed out]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
imajes has quit [Excess Flood]
sepp2k1 has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
imajes has joined #ruby-lang
lcdhoffman has joined #ruby-lang
ryanf has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
My_Hearing has joined #ruby-lang
imajes has quit [Excess Flood]
Mon_Ouie has quit [Ping timeout: 246 seconds]
wyhaines has joined #ruby-lang
imajes has joined #ruby-lang
alexkira has joined #ruby-lang
carloslopes has quit [Quit: Leaving.]
Guest55137 has left #ruby-lang [#ruby-lang]
steez has joined #ruby-lang
Tearan has quit [Quit: Sleepy Badger....]
dmwuw has joined #ruby-lang
runeb has joined #ruby-lang
toretore has quit [Quit: Leaving]
KA_ has quit [Quit: KA_]
KA__ has joined #ruby-lang
KA__ has quit [Client Quit]
KA_ has joined #ruby-lang
bradleyprice has quit [Remote host closed the connection]
ivanoats has quit [Read error: Connection timed out]
KA_ has quit [Client Quit]
workmad3 has quit [Ping timeout: 255 seconds]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
runeb has quit [Ping timeout: 260 seconds]
KA_ has joined #ruby-lang
heftig has joined #ruby-lang
elux has quit [Quit: Leaving...]
zeba has joined #ruby-lang
KA_ has quit [Client Quit]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
rfay has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
alvaro_o has quit [Read error: Connection reset by peer]
JustinCampbell has joined #ruby-lang
alvaro_o has joined #ruby-lang
nitti_ has quit [Remote host closed the connection]
thone_ has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
RomyRomy has quit [Ping timeout: 252 seconds]
thone has quit [Ping timeout: 256 seconds]
wyhaines_ has joined #ruby-lang
RomyRomy has joined #ruby-lang
cardoni has quit [Quit: Leaving...]
wyhaines has quit [Ping timeout: 256 seconds]
coryf has quit [Remote host closed the connection]
gsav has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
nXqd has quit [Quit: Lost terminal]
runeb has joined #ruby-lang
kjr has quit [Quit: kjr]
imajes has quit [Excess Flood]
mistym has quit [Remote host closed the connection]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
imajes has joined #ruby-lang
sailias has joined #ruby-lang
sailias has quit [Client Quit]
RomyRomy has quit [Ping timeout: 252 seconds]
runeb has quit [Ping timeout: 256 seconds]
coryf has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
RomyRomy has joined #ruby-lang
Hakon has quit [Read error: Connection reset by peer]
_Amen_Makaveli_ has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
zeba has quit [Remote host closed the connection]
rolfb has quit [Quit: Leaving...]
solars has quit [Ping timeout: 240 seconds]
ivanoats has quit [Ping timeout: 256 seconds]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
macmartine has joined #ruby-lang
runeb has joined #ruby-lang
outoftime has quit [Quit: Leaving]
hppj has joined #ruby-lang
aharris_ has quit [Quit: aharris_]
<hppj> how do i create a literal raw byte string? i.e. "\x10\x42"
<drbrain> yes
<hppj> i tried a = "\x10\x42", but it keeps giving me "\u" values
coryf has quit [Remote host closed the connection]
<drbrain> hppj: .force_encoding Encoding::BINARY
<drbrain> it's just a display issue
sent-hil has quit [Remote host closed the connection]
<hppj> drbrain: k thanks
<drbrain> well, kinda
<drbrain> the bytes are correct, but some operations on the string could complain (like combining it with another non-binary string)
runeb has quit [Ping timeout: 260 seconds]
<hppj> and what's the practical difference between force_encoding and encode! ?
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
<drbrain> encode! can alter the bytes in the string by changing one code point for another
<drbrain> force_encoding just updates what the encoding is without editing the bytes
<hppj> ah i see
<drbrain> or, force_encoding updates the encoding "tag" on the string
<erikh> encode will toss an exception if it can't transliterate as well, IIRC
<drbrain> and encode! transcodes and updates the "tag"
<erikh> (as opposed to tools like iconv which will just omit the character or stop when the first error is encountered)
S3kx has quit [Read error: Connection reset by peer]
<drbrain> String#encode can also omit invalid characters
<erikh> can, but raises by default IIRC
<erikh> I guess I should just check
<drbrain> s.encode target_encoding, invalid: :replace, replace: ''
esad has joined #ruby-lang
_nitti has joined #ruby-lang
<drbrain> (IIRC)
S3kx has joined #ruby-lang
<hppj> cheers
tenderlove has quit [Read error: Connection reset by peer]
<erikh> woohoo, ri to the rescue
<erikh> zzak: <3
tenderlove has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
chimkan_ has quit [Quit: chimkan_]
RomyRomy has quit [Quit: RomyRomy]
_nitti has quit [Ping timeout: 256 seconds]
RomyRomy has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlo_ has joined #ruby-lang
RomyRomy has quit [Client Quit]
RomyRomy has joined #ruby-lang
enebo has joined #ruby-lang
tenderlo_ has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
gsav has joined #ruby-lang
jtoy has quit [Quit: jtoy]
RomyRomy has quit [Client Quit]
rwilcox has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
thatdutchguy has quit [Ping timeout: 260 seconds]
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
runeb has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
Tearan has joined #ruby-lang
<zzak> ?
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
<zzak> erikh: what happened?
<erikh> just thanking you for awesome rdoc hotness
jbsan has quit [Quit: jbsan]
swarles has joined #ruby-lang
jbsan has joined #ruby-lang
<zzak> I dont think I can take credit for String#encode :)
wyhaines_ has quit [Remote host closed the connection]
<erikh> ah
<erikh> well, I'm giving you a compliment anyway
<erikh> shut up and take it
runeb has quit [Ping timeout: 244 seconds]
<zzak> haha
<Harzilein> what's the ... uhm ... canonical way to get localized strftime in 1.9?
<Harzilein> #ruby-de was already suggesting FFI + libc ;)
<erikh> well I think ruby can leverage your LC_* stuff
<erikh> unless you're talking about feeding it locale data dynamically.
<erikh> (then I don't know)
robgleeson has quit [Ping timeout: 240 seconds]
<Harzilein> erikh: no, i don't want to provide own localization, just the one from the system. the thing is the docs for Time#strftime say 1.9 stopped localizing strftime but there is no hint at what to use instead
JustinCampbell has quit [Remote host closed the connection]
<erikh> oh, hm.
<zzak> :)
<drbrain> Harzilein: o_O - http://paste.segment7.net/za.html
<erikh> lord, a lot of people have been in that rdoc
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
<Harzilein> drbrain: yes, that's the doc part i was referring to
<Harzilein> drbrain: it really should contain pointers at what to use instead for localized date/time
<drbrain> Harzilein: I read that as "Time#strftime is strftime(3)"
<Harzilein> (and i'd prefer to use strftime escapes instead of something ruby specific)
<drbrain> oh, I did not read close enough, sorry, you're right
<Harzilein> drbrain: "locale independent" -> ignores LC_*
<zenspider> patches welcome! have at it
<Harzilein> zenspider: i'd have to know about such a pointer
<Harzilein> zenspider: currently i don't, that's why we were joking if we are expected to use libc via FFI in #ruby-de
justinmcp has quit [Ping timeout: 256 seconds]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
justinmcp has joined #ruby-lang
thatdutchguy has joined #ruby-lang
<zenspider> fair
<erikh> I imagine it gets really fun between libc's too
<erikh> and then there's the OS that shall not be named
Carnage\ has quit []
hppj has left #ruby-lang ["WeeChat 0.3.8"]
<swarles> i'm trying to get the nightly snapshot to compile
Hakon has joined #ruby-lang
<swarles> not.. going well
jperry2_ has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
runeb has joined #ruby-lang
Hakon has quit [Ping timeout: 246 seconds]
<drbrain> Harzilein: using DL instead of FFI, so no extra gems: http://paste.segment7.net/zb.html
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
Axsuul has joined #ruby-lang
stiang has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
stiang has quit [Client Quit]
_nitti has joined #ruby-lang
runeb has quit [Ping timeout: 246 seconds]
jperry2_ has quit [Quit: jperry2_]