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
<matti> How do you guys read ruby-{dev,core}?
<matti> http://blade.nagaokaut.ac.jp/ is annoying.
stardiviner has joined #ruby-lang
workmad3 has quit [Ping timeout: 272 seconds]
rmascarenhas has joined #ruby-lang
<zenspider> matti: they're mailing lists...
alvaro_o_ has joined #ruby-lang
alvaro_o has quit [Read error: Connection reset by peer]
<matti> zenspider: I know. But sometimes they have decent archive / web UI -- you never know unless you ask ;]
<matti> ;]
<erikh> err, presuming it's still up
irleif has joined #ruby-lang
jamjam has quit [Ping timeout: 240 seconds]
Bosox20051 has joined #ruby-lang
justinmc_ has joined #ruby-lang
justinmcp has quit [Ping timeout: 260 seconds]
klaut has quit [Remote host closed the connection]
irleif has quit [Quit: Computer has gone to sleep.]
<zenspider> ARGH I fucking ___hate___ ruby 1.9 encoding
<zenspider> I want to stab it's strings in the face
<zenspider> its
<zenspider> fuck
<matti> ;/
<matti> zenspider: Any experience in Win32 API programming?
fbernier has quit [Quit: ZNC - http://znc.in]
<zenspider> my experience says "don't do it"
kurko__ has quit [Quit: Computer has gone to sleep.]
<matti> Haha
<zenspider> I haven't coded on windoze since 1998 and since then I explicitly add it to my contract that I won't work on windoze systems. It isn't worth the time or the headache. It's a horrible platform for developing on...
<matti> OK, NetBSD, PC BSD / FreeBSD and OpenBSD installed as VMs.
usoluyun has joined #ruby-lang
<matti> I can now install compilers and git and try to build Ruby 2.0
<matti> Where the hell I get Windows legally.
<matti> :<
kurko__ has joined #ruby-lang
<matti> zenspider: There is a small change to win32/win32.c I've done that I want to test / or get somebody to review.
<matti> zenspider: Care to have a look?
swarley_ has joined #ruby-lang
usoluyun has quit [Quit: leaving]
<zzak> try usaku-san, maintainer of mswin32 platform
irleif has joined #ruby-lang
<matti> re-oahi zzak
ryanf has quit [Quit: leaving]
swarley_ has left #ruby-lang [#ruby-lang]
<zenspider> matti: I thought I was pretty clear about my opinion on windows programming...
<zenspider> usa would be a much better choice
<matti> zzak: Thanks.
<zenspider> headius isn't here... anyone here do jruby a lot?
brianpWins has quit [Quit: brianpWins]
swarley has joined #ruby-lang
savage- has quit [Remote host closed the connection]
chendo__ has joined #ruby-lang
<zenspider> does jruby ship with the racc runtime?
irleif has quit [Client Quit]
woollyams has quit [Quit: Computer has gone to sleep.]
m3nd3s has joined #ruby-lang
methods has joined #ruby-lang
woollyams has joined #ruby-lang
<zzak> zenspider: how many gems have you released again?
<zzak> total
<swarley> more than you can count with your clothes off
<zzak> you mean more than i have appendages?
<zenspider> zzak: releases? or gems?
<zzak> gems
<swarley> No, i mean at least over 21
<zenspider> 91 gems, 630 releases
<zzak> boom
<matti> +1
<zenspider> that's only seattlerb stuff... not other groups I work with
<swarley> OH YEAH WELL
<swarley> I'VE DONE LIKE, NOTHING PRODUCTIVE EVER
<swarley> SO TAKE THAT
<matti> swarley: Haha
<swarley> I believe i won that battle of wits
<zzak> zenspiders got a jump on the game
<matti> swarley: You have to do a mind-meld with zenspider ;]
<zzak> zenspider: what was your first gem / release?
<swarley> hopefully once i get this gem out there i'll have a single thing that a single person uses..
<matti> swarley: I can use it ;]
<swarley> omgrly
<matti> swarley: Where is it? ;]
<swarley> I have to finish it
<swarley> :p
<matti> :p
<matti> Go finishing then!
<swarley> I'm still writing the lex parser
<matti> swarley: This quote... "Stop starting, start finishing" :)
rolfb has joined #ruby-lang
<swarley> lol
<swarley> I'm in the middle of writting the test case for the parser
<swarley> I'm doing it as a C extension, so i'm taking extra precaution to test everything possible
dpatel has quit [Quit: dpatel]
<matti> swarley: valgrind and gdb the living crap out of it ;]
<swarley> wait, the #import directive still exists doesnt it?
<matti> swarley: If you make my beautiful Ruby VM leaking memory.
<zzak> swarley: ofcourse
<matti> :)
<swarley> Weird, my vim isnt catching it as a preprocessor directive
<swarley> vim hilighting
rolfb has quit [Ping timeout: 260 seconds]
<zzak> swarley: sorry, i think you mean #include not #import?
<swarley> No, there should also be an #import
<swarley> objc likes to use it
<matti> #import is also valid.
<matti> But not as common as #include.
<swarley> it wraps the header in the #ifndef __HEADER__
<swarley> because i'm too lazy to do it
<matti> swarley: I would not use it, to be honest.
<matti> swarley: It may break on different CC.
<matti> I mean, in C I've seen it maybe three times in my life ;]
<swarley> Ah
<swarley> I guess that means I cant be lazy
<matti> ObjC is different.
<swarley> Yeah i know
<swarley> i was just excited about the preprocessor
<matti> Haha
<swarley> because i hate the wrapping
<matti> swarley: You get used to it ;d
<swarley> yeah i know
<swarley> I still do it
<matti> :>
<swarley> i just wanted to try something different on this project
<swarley> but i guess not
ryanf has joined #ruby-lang
<zzak> zenspider: really, only 2005?
<swarley> oh boy here we go
<swarley> the moment when malloc enters the playing field
<zenspider> that was my first gem, I guess... dunno what my first release was anymore
<swarley> my first gem was a markov generator
<zenspider> we've pulled our stuff out of rubyforge, so *shrug*
<zzak> cant p4 tell you?
<matti> Perforce...
<matti> Blast from the past for me..
woollyams has quit [Quit: Computer has gone to sleep.]
<methods> swarley: you might want to check out llvm safecode while debugging the c module..
<swarley> ?
<swarley> oh neat
<methods> it's wicked fast compared to something like valgrind
chendo__ has quit [Quit: Computer has gone to sleep.]
<methods> and it's better than valgrind because it can detect when you buffer overflow into your own address space and stuff.. so it knows if you go over one of your own arrays for instance
<methods> afaik valgrind couldn't detect that
woollyams has joined #ruby-lang
mmb has quit [Quit: WeeChat 0.3.8]
<methods> swarley: so what's your gem going to do ?
woollyams has quit [Client Quit]
<kith> is var = nil bad style?
<swarley> methods; I'm creating an XML library (i know there are plenty already) but it's a sort of revival of hpricot but with a more ruby esque feel to it. Sec, let me give an example from the spec
<kalleth> kith: generally, yes
<kith> :(
chendo__ has joined #ruby-lang
<kalleth> generally you can just do if var2
<kalleth> if you're branching on t
<kalleth> nope
<kalleth> i'm wrong
<kalleth> fuck it
<kalleth> does it work? ? ship it : ship it anyway
krohrbaugh1 has quit [Quit: Leaving.]
<swarley> methods; here is a really simplistic example
<swarley> must "offer ranged value filtering" do
<swarley> xml = Suwarui::XML::Document.new(open "foo.xml"); assert_equal("AE52F", xml/[:user, :id => /[A-F]{2}\d{2}\w+/])
<swarley> end
<swarley> the / just makes the search go into lower level nesting
<swarley> without it, it only searches the top level of tags
<swarley> based on the current node
<swarley> in theory you don't need the [].. but you would have to enclose it all in parens and it would get messy.. etc
kurko__ has quit [Ping timeout: 246 seconds]
gix has quit [Ping timeout: 260 seconds]
kurko__ has joined #ruby-lang
<methods> cool
Bosox20051 has quit [Remote host closed the connection]
gix has joined #ruby-lang
<swarley> Yeah, I'm hoping to make it near usable as nokogiri
<swarley> that way a more object oriented approach would be available
<swarley> plus, I love hpricot, i just wished it wasnt so hard to make the xpaths some times
<swarley> Well, since calling [] on the document returns an enumerator that can have [] called on it, you can just stack calls
<swarley> It'll probably be more wordy, but in my opinion it would also be easier to catch errors.. And it would open up doors for more convenience functions
HikkiJP has joined #ruby-lang
methods has quit [Quit: Leaving.]
roadt has joined #ruby-lang
methods has joined #ruby-lang
<matti> methods: I need to look at llvm too.
<matti> methods: Thanks for the link ;]
sn0wb1rd has quit [Quit: sn0wb1rd]
<methods> matti: yea it's seriously great...
<matti> methods: gcc 4.6 was recently making me age quicker.
<methods> he's also working on a protected mode for kernels
<matti> methods: Lot of folks recommended llvm.
<methods> you know they are going c++ right ?
<methods> at that point i was like .. what's stopping me from llvm ?
<matti> ;]
<matti> clang seems nice, indeed.
<methods> I particularly don't understand this one, "C++ never requires uglier code."
banisterfiend has joined #ruby-lang
<banisterfiend> hi
<matti> methods: Haha
<matti> methods: No clue.
<matti> banisterfiend: ;]
<banisterfiend> yo
<methods> well what's really great about llvm is it's modular design is allowing an explosion of tools like 'safecode'
<zzak> EXPLOSION
<zzak> TOOLS
<methods> :] boom !
<zzak> sorry
<matti> Haha
<matti> Night folks :)
<methods> cya
dous has quit [Remote host closed the connection]
<vbatts> methods: that shouldn't be hard to follow. the code will not become more obscure, purely by virtue of using c++ instead of C
phongnh has joined #ruby-lang
<methods> reallyyy ?
<matti> vbatts: I disagree. Well written C code is simply pure thing of beauty ;]
<methods> :]
chendo__ has quit [Quit: Computer has gone to sleep.]
<matti> vbatts: Thereas people loading stdio.h and/or abusing STL so badly...
<matti> vbatts: Makes C++ hard to follow.
<matti> vbatts: Especially vector abuse from STL makes me cringe.
<vbatts> ...
<matti> Or Boost.
<methods> yes which is why if you read the link one of the classic things they talk about is "the allowed subset of c++"
phongnh has quit [Client Quit]
<vbatts> these are stylistic opinions
<matti> vbatts: Yeah, I know :)
<methods> yep all opinions
<methods> or preferences
<vbatts> "well written C" sometimes is uneccesarily more obscure than it ought to be, out of neccesity
<methods> but every single c++ shop has to have an allowed subset ?? hm..
<matti> vbatts: Sadly true ;/ Macro abuse is one thing I am guilty of.
<vbatts> ohman
<matti> OK, I need sleep!
<vbatts> macros!
<matti> Yeah.
<vbatts> later
<matti> vbatts: Thanks dude :) Have a good one ;]
<vbatts> :-)
runeb has joined #ruby-lang
chimkan has joined #ruby-lang
chimkan has quit [Client Quit]
<banisterfiend> get fucked
runeb has quit [Ping timeout: 260 seconds]
<zzak> banisterfiend: language dude
methods has quit [Quit: Leaving.]
banisterfiend has quit [Read error: Connection reset by peer]
<kith> groarrr
chimkan_ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
tenderlove has joined #ruby-lang
ryanf has quit [Ping timeout: 255 seconds]
kurko__ has quit [Ping timeout: 255 seconds]
kurko__ has joined #ruby-lang
woollyams has joined #ruby-lang
banisterfiend has joined #ruby-lang
<banisterfiend> whitequark: maybe you have something to say on this: http://www.ruby-forum.com/topic/4406887#1080362
heftig has quit [Quit: leaving]
sush24 has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
sush24 has quit [Client Quit]
sn0wb1rd_ has joined #ruby-lang
heftig has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 244 seconds]
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
methods has joined #ruby-lang
esad has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
Sambalero has quit [Remote host closed the connection]
sn0wb1rd_ has quit [Ping timeout: 256 seconds]
sn0wb1rd has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby-lang
sn0wb1rd has quit [Remote host closed the connection]
kurko__ has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby-lang
erichmenge has quit [Quit: Be back later]
eban has quit [Quit: WeeChat 0.3.7]
eban has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
swarley has quit [Read error: Operation timed out]
ryanf has quit [Quit: leaving]
kurko__ has joined #ruby-lang
kurko__ has quit [Ping timeout: 260 seconds]
krz has joined #ruby-lang
kurko__ has joined #ruby-lang
maddog has joined #ruby-lang
kurko__ has quit [Ping timeout: 245 seconds]
esad has quit [Quit: Computer has gone to sleep.]
justinmc_ has quit [Ping timeout: 276 seconds]
kurko__ has joined #ruby-lang
justinmcp has joined #ruby-lang
kurko__ has quit [Ping timeout: 244 seconds]
maddog has left #ruby-lang [#ruby-lang]
ryanlecompte has joined #ruby-lang
kurko__ has joined #ruby-lang
brianpWins has joined #ruby-lang
methods has quit [Quit: Leaving.]
kurko__ has quit [Ping timeout: 245 seconds]
CrazyHorse181 has quit [Ping timeout: 246 seconds]
CrazyHorse18 has joined #ruby-lang
kurko__ has joined #ruby-lang
wmoxam has joined #ruby-lang
banisterfiend has joined #ruby-lang
kurko__ has quit [Quit: Computer has gone to sleep.]
HikkiJP has quit [Ping timeout: 252 seconds]
chimkan__ has joined #ruby-lang
chimkan_ has quit [Ping timeout: 265 seconds]
macmartine has joined #ruby-lang
CrazyHorse18 has quit [Ping timeout: 245 seconds]
CrazyHorse18 has joined #ruby-lang
cosah has joined #ruby-lang
epitron_ is now known as epitron
kurko__ has joined #ruby-lang
WillMarshall has quit [Read error: Connection reset by peer]
WillMarshall has joined #ruby-lang
kurko__ has quit [Ping timeout: 246 seconds]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kurko__ has joined #ruby-lang
burgestrand has joined #ruby-lang
<xuser> has the languge syntax change between the 1.9.x versions?
kurko__ has quit [Client Quit]
<Spaceghostc2c> xuser: No.
virtualpain has joined #ruby-lang
<xuser> Spaceghostc2c: what changes are there between this versions? besides cruby improvements and fixing bugs, new libs?
<drbrain> no new libs, updates to libs
siyusong has joined #ruby-lang
<xuser> ok
<Spaceghostc2c> drbrain: Do you know how much ruby adheres to semver?
<drbrain> roughly, you can chop off the top version number
<drbrain> and treat the patch level as a bugfix
slyphon has quit [Ping timeout: 245 seconds]
ramonmaruko has quit [Remote host closed the connection]
<banisterfiend> drbrain: hey do u know if 2.0 introduced a proper debugging API?
<zzak> covers changes since 1.9.2
<drbrain> banisterfiend: no idea
<banisterfiend> drbrain: or if you can shed any light on this: http://www.ruby-forum.com/topic/4406887#1080368
<xuser> zzak: thanks
<zzak> banisterfiend: i honestly think you should file a ticket dude
<zzak> does anyone use ruby-forum?
<drbrain> banisterfiend: sure… there is no rb_vm_* functions declared in include/ so you can depend on it breaking every time ruby changes
<banisterfiend> drbrain: yeah, but there was no other option for a debugging gem but to use internal API, until they wrote a proper debugging API. I just wonder what/if any the new api is..
<drbrain> I haven't been following it any
<banisterfiend> np, my guess is im screwed, binding_of_caller did feel a bit naughty anyway
burgestrand has quit [Quit: Leaving.]
esad has joined #ruby-lang
ramonmaruko has joined #ruby-lang
<zzak> you could always request a feature
<banisterfiend> if i dont get any reply to my post on the forum ill file an issue
mistym has quit [Remote host closed the connection]
chimkan__ has quit [Quit: chimkan__]
banisterfiend has quit [Remote host closed the connection]
chendo__ has joined #ruby-lang
rmascarenhas has quit [Ping timeout: 248 seconds]
sduckett has quit [Ping timeout: 264 seconds]
chendo__ has quit [Quit: Computer has gone to sleep.]
jtoy has joined #ruby-lang
jtoy has quit [Client Quit]
jtoy has joined #ruby-lang
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jtoy has quit [Client Quit]
virtualpain has quit [Quit: Leaving]
burgestrand has joined #ruby-lang
sepp2k has joined #ruby-lang
justinmcp has quit [Ping timeout: 260 seconds]
CrazyHorse18 has left #ruby-lang [#ruby-lang]
justinmcp has joined #ruby-lang
coryf_ has joined #ruby-lang
coryf has quit [Ping timeout: 246 seconds]
coryf has joined #ruby-lang
areil has joined #ruby-lang
coryf_ has quit [Ping timeout: 260 seconds]
JohnBat26 has joined #ruby-lang
siyusong has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby-lang
ryanf has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
<erikh> i'm eating a burrito
Sambalero has joined #ruby-lang
solars has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
justinmcp has joined #ruby-lang
<erikh> the burrito is gone. all mourn the burrito.
Sambalero has quit [Remote host closed the connection]
ryanlecompte has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
Sambalero has joined #ruby-lang
dr_bob has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
justinmcp has quit [Ping timeout: 248 seconds]
ruurd has joined #ruby-lang
justinmcp has joined #ruby-lang
anannie has joined #ruby-lang
ryanf has quit [Quit: broken pipes |||]
Sambalero has quit [Remote host closed the connection]
woollyams has quit [Ping timeout: 265 seconds]
klaut has joined #ruby-lang
mytrile has joined #ruby-lang
siyusong has joined #ruby-lang
cosah has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
thone has joined #ruby-lang
thone_ has quit [Ping timeout: 260 seconds]
sandbags has joined #ruby-lang
cyri_ has joined #ruby-lang
havenn has quit [Remote host closed the connection]
ruskie has quit [Excess Flood]
ruskie has joined #ruby-lang
anannie has quit [Remote host closed the connection]
klaut has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
toretore has joined #ruby-lang
rue|w has joined #ruby-lang
ryanf has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
sandbags has quit [Remote host closed the connection]
ryanf has quit [Quit: leaving]
ryanf has joined #ruby-lang
siyusong has quit [Quit: Computer has gone to sleep.]
usoluyun has joined #ruby-lang
usoluyun has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
<matti> Yawn...
justinmcp has quit [Remote host closed the connection]
piglop has joined #ruby-lang
QaDeS has joined #ruby-lang
mjbamford has joined #ruby-lang
gnufied has joined #ruby-lang
faces has quit [Ping timeout: 246 seconds]
cyri_ has joined #ruby-lang
faces has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
faces has quit [Read error: Connection reset by peer]
runeb has joined #ruby-lang
faces has joined #ruby-lang
GarethAdams has joined #ruby-lang
coryf_ has joined #ruby-lang
coryf has quit [Ping timeout: 246 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
rue|w has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Ping timeout: 246 seconds]
robotmay has joined #ruby-lang
GarethAdams has quit [Read error: Connection reset by peer]
GarethAdams has joined #ruby-lang
Hakon has joined #ruby-lang
cdt has joined #ruby-lang
Asher has quit [Quit: Leaving.]
dc5ala has joined #ruby-lang
Asher has joined #ruby-lang
mjbamford has quit [Quit: Leaving...]
faces has quit [Ping timeout: 256 seconds]
Assurbanipal has joined #ruby-lang
faces has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
cyri_ has quit [Quit: cyri_]
francisfish has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
riffraff has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
cyri_ has joined #ruby-lang
ruurd has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<andrewvos> Gah
<andrewvos> jarib/childprocess under IntelliJ just stops my cukes running somehow, but not in the terminal
<andrewvos> Is there something easier I can use? I need to launch a process in the background and optionally wait for it to exit and I need to know when it has crashed.
<andrewvos> And I have to get this ready for a demo in 40 minutes :( :(
vlad_starkov has quit [Ping timeout: 252 seconds]
runeb has quit [Remote host closed the connection]
Madis has joined #ruby-lang
justinmcp has joined #ruby-lang
Artheist has joined #ruby-lang
runeb has joined #ruby-lang
<andrewvos> Anyone know a gem like childprocess?
<manveru> andrewvos: just spawn?
<andrewvos> manveru: Thanks that looks great
<andrewvos> Oh wait it was last updated two year ago. Will try it anyway though
<manveru> Process.wait(spawn("sleep", "3"))
<manveru> spawn is part of ruby core
<andrewvos> Oh ok
<andrewvos> manveru: Can I get exit code?
<manveru> $?
<andrewvos> Hmmm
<andrewvos> Thanks manveru, helpful as always
<manveru> np
<manveru> unless you target windows, something like childprocess seems like big overkill
<mfn> hi
<manveru> i admit, learning all the 100 options that spawn takes needs some time, but it's a damn useful swiss knife :)
<andrewvos> manveru: I do target windows.
ruurd_ has joined #ruby-lang
<manveru> in your demo?
<andrewvos> Nope :)
<manveru> so don't worry about it now
<manveru> it might even work on windows
<manveru> i just have no idea :)
<andrewvos> Yay
runeb has quit [Remote host closed the connection]
Assurbanipal has quit [Remote host closed the connection]
<manveru> that's the spirit!
runeb has joined #ruby-lang
<mfn> I'm using ruby/dbi with mysql and I get an error handling Mysql type "timestamp" with the value "0000-00-00 00:00:00". dbi gives me "invalid date (ArgumentError)" . Any idea how to overcome this? -> http://pastie.org/private/cwjvzlsud9d0vlrvawtg
abletony84 has joined #ruby-lang
ruurd has quit [Ping timeout: 265 seconds]
Assurbanipal has joined #ruby-lang
<abletony84> hello :))
beiter has joined #ruby-lang
<manveru> mfn: any chance you can use sequel?
<mfn> manveru: I guess .. I just never did ...
<manveru> be prepared for destilled awesomeness
<manveru> distilled, too
<abletony84> manveru :)
ruurd has joined #ruby-lang
<abletony84> havent seen u in a long time, hows life?
<abletony84> still moving around constantly?
<manveru> abletony84: i see the year you're born, but i don't think i know your nick :)
<abletony84> ah
<abletony84> NAP
<abletony84> nappy head :)
runeb has quit [Ping timeout: 260 seconds]
runeb has joined #ruby-lang
* abletony84 wanders off to watch that new movie "Ruby Sparks" (www.youtube.com/watch?v=W4RJYlSgDKM)
woollyams has joined #ruby-lang
ruurd_ has quit [Ping timeout: 260 seconds]
woollyams has quit [Quit: Computer has gone to sleep.]
rue|w has joined #ruby-lang
piglop_ has joined #ruby-lang
gokul has joined #ruby-lang
<abletony84> BBC News - Berlusconi sex trial: 'No intimate ties' with Ruby: http://www.bbc.co.uk/news/world-europe-20001959
piglop has quit [Ping timeout: 246 seconds]
<mfn> manveru: I get the same problem. Sequel also tried to represent the mysql timestamp "0000-00-00 00:00:00" and fails with ArgumentError: argument out of range in make_time -> http://pastie.org/private/1lf3k8p7bg3ju4ydsrxzg
<mfn> I either need to find a db library for ruby which does not try to convert them or a way to ignore it.
<mfn> The sequel docs are horrible to read (or find stuff), but I found what I need: http://sequel.rubyforge.org/rdoc-adapters/classes/Sequel/MySQL/Database.html -> Sequel::MySQL.convert_invalid_date_time = nil # or :string
rue|w has quit [Read error: Connection reset by peer]
<mfn> are the sequel docs supposed to be in a frame? I nowhere find a way to properly navigate around to basically see all the docs and properly search them
<abletony84> mfn: theres #sequel too u know
<mfn> abletony84: thanks, didn't know
x0F_ has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ is now known as x0F
justinmcp has quit [Remote host closed the connection]
dhruvasagar has quit [Quit: Lost terminal]
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
gokul has quit [Quit: Leaving]
mjbamford has joined #ruby-lang
beiter has quit [Quit: beiter]
piglop has joined #ruby-lang
piglop_ has quit [Read error: Connection reset by peer]
woollyams has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
abletony84 has quit [Read error: Connection reset by peer]
abletony84 has joined #ruby-lang
piglop_ has joined #ruby-lang
<mfn> manveru: well, before I forget: thank you very much :)
irleif has joined #ruby-lang
piglop has quit [Ping timeout: 260 seconds]
yats has joined #ruby-lang
m3nd3s has joined #ruby-lang
riffraff has joined #ruby-lang
beiter has joined #ruby-lang
Axsuul has quit [Ping timeout: 268 seconds]
irleif has quit [Quit: Computer has gone to sleep.]
woollyams has quit [Quit: Computer has gone to sleep.]
riffraff has quit [Quit: Leaving]
dous has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
vlad_starkov has joined #ruby-lang
abletony84 has quit [Quit: Lost terminal]
vlad_starkov has quit [Ping timeout: 272 seconds]
rippa has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
<manveru> mfn: you're welcome :)
postmodern has quit [Quit: Leaving]
irleif has joined #ruby-lang
m3nd3s_ has joined #ruby-lang
wyhaines has joined #ruby-lang
m3nd3s has quit [Ping timeout: 246 seconds]
woollyams has quit [Quit: Computer has gone to sleep.]
yorickpeterse has quit [Quit: Kernel and Systemd migration.]
mjbamford has quit [Quit: Leaving...]
mwjcomputing has joined #ruby-lang
<masterkorp> hello
<masterkorp> This worlk great on ruby 1.9
<masterkorp> yet on ruby 1.8 i get http://pastie.org/5083688
<masterkorp> i need to add a block
sush24 has joined #ruby-lang
<masterkorp> i just removed each
irleif has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby-lang
Assurbanipal_ has joined #ruby-lang
Assurbanipal has quit [Ping timeout: 255 seconds]
rolfb has joined #ruby-lang
<matti> manveru: :)
ruurd has quit [Quit: Linkinus - http://linkinus.com]
vlad_starkov has joined #ruby-lang
roadkith has joined #ruby-lang
IggaR has joined #ruby-lang
wyhaines_ has joined #ruby-lang
kurko__ has joined #ruby-lang
wyhaines has quit [Ping timeout: 255 seconds]
nettsundere has quit [Ping timeout: 255 seconds]
nessuno has joined #ruby-lang
nessuno has quit [Client Quit]
irleif has joined #ruby-lang
chimkan_ has joined #ruby-lang
Assurbanipal_ has quit [Quit: Konversation terminated!]
jxie has quit [Quit: leaving]
kurko__ has quit [Ping timeout: 245 seconds]
nertzy has joined #ruby-lang
kurko__ has joined #ruby-lang
cyri_ has joined #ruby-lang
rippa has quit [Ping timeout: 256 seconds]
fbernier has joined #ruby-lang
nettsundere has joined #ruby-lang
anannie has joined #ruby-lang
nevynxxx has joined #ruby-lang
irleif has quit [Quit: Computer has gone to sleep.]
kurko__ has quit [Ping timeout: 272 seconds]
kurko__ has joined #ruby-lang
sailias has quit [Ping timeout: 246 seconds]
irleif has joined #ruby-lang
rmascarenhas has joined #ruby-lang
robotmay has quit [Ping timeout: 246 seconds]
rue|w has joined #ruby-lang
kurko__ has quit [Ping timeout: 245 seconds]
beiter has quit [Ping timeout: 272 seconds]
kurko__ has joined #ruby-lang
beiter has joined #ruby-lang
irleif has quit [Quit: Computer has gone to sleep.]
nick_h has quit [Ping timeout: 256 seconds]
nick_h has joined #ruby-lang
Dreamer3 has quit [Quit: Leaving...]
<dr_bob> masterkorp: easy fix: make line 46 this: Find.find(dir) do |path|
<dr_bob> will work in both versions
<masterkorp> i did that
<dr_bob> There's no point in creating the Enumerator and immediately using it via #each - then you can as well immediately iterate
<masterkorp> thanks anyways
<masterkorp> i was just curious why doesn 1.9 breaks too
<dr_bob> ah, i see. sorry for the noise
<dr_bob> Why should it break 1.9?
<masterkorp> It does not in 1.9, but does in 1.8
<dr_bob> In 1.9 you will get an Enuemrator from such methods
<masterkorp> yes?
josh^ has quit [Remote host closed the connection]
roadkith has quit [Quit: Linkinus - http://linkinus.com]
<dr_bob> irb(main):001:0> Find.find('.').class => Enumerator
<masterkorp> yes
<masterkorp> pry ftw btw
<dr_bob> with "such methods" I meant methods which receive a block and call it during iteration.
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
piglop has joined #ruby-lang
piglop_ has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
<chris2> hey dr_bob
roadkith has joined #ruby-lang
kurko__ has quit [Ping timeout: 255 seconds]
kurko__ has joined #ruby-lang
<dr_bob> hi chris2
<chris2> long time no see
<dr_bob> :-)
piglop_ has joined #ruby-lang
piglop has quit [Read error: Connection reset by peer]
kurko__ has quit [Ping timeout: 245 seconds]
<dr_bob> chris2: I switched jobs October 1st and since then I can participate in IRC communities during the day. :-)
kurko__ has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
<chris2> cool
<chris2> what are you doing now?
cantonic_ has joined #ruby-lang
<dr_bob> I am leading a development team.
<dr_bob> Went back to one of my former employers. :-)
dhruvasagar has quit [Ping timeout: 245 seconds]
<chris2> nice
cantonic has quit [Ping timeout: 246 seconds]
cantonic_ is now known as cantonic
rolfb has quit [Quit: Linkinus - http://linkinus.com]
slyphon has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
roadkith has quit [Quit: Linkinus - http://linkinus.com]
roadkith has joined #ruby-lang
kurko__ has quit [Ping timeout: 256 seconds]
kurko__ has joined #ruby-lang
roadkith has quit [Client Quit]
rue|w has quit [Read error: Connection reset by peer]
rue|w has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
gsav has joined #ruby-lang
nitti has joined #ruby-lang
matti is now known as zombie_matti
zombie_matti is now known as matti
jgomez has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
justinram has joined #ruby-lang
sailias has joined #ruby-lang
robotmay has joined #ruby-lang
carloslopes has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
methods has joined #ruby-lang
esad has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<dr_bob> Have a nice weekend
dr_bob has quit [Quit: Leaving.]
sush24 has quit [Ping timeout: 260 seconds]
methods has quit [Client Quit]
kurko__ has quit [Ping timeout: 245 seconds]
sush24 has joined #ruby-lang
kurko__ has joined #ruby-lang
sush24 has quit [Ping timeout: 252 seconds]
sduckett has joined #ruby-lang
nevynxxx has quit [Quit: leaving]
nitti has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
kurko__ has quit [Ping timeout: 255 seconds]
kurko__ has joined #ruby-lang
m3nd3s_ has quit []
m3nd3s has joined #ruby-lang
nettsundere has quit [Ping timeout: 272 seconds]
krz has quit [Quit: krz]
dc5ala has quit [Quit: Ex-Chat]
chimkan_ has quit [Ping timeout: 256 seconds]
mistym has quit [Remote host closed the connection]
ruurd has joined #ruby-lang
tbuehlmann has joined #ruby-lang
yats has quit [Ping timeout: 260 seconds]
alexkane has joined #ruby-lang
nettsundere has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
Uranio has joined #ruby-lang
yorickpeterse has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
JohnBat26 has quit [Ping timeout: 265 seconds]
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
A124 has joined #ruby-lang
slyphon has joined #ruby-lang
nitti has joined #ruby-lang
IggaR has quit [Read error: Connection reset by peer]
<andrewvos> manveru: Demo got cancelled :)
nitti_ has joined #ruby-lang
<andrewvos> manveru: What I did with spawn didn't work either. IntelliJ is doing some very weird stuff and not showing any errors.
Austin__ has joined #ruby-lang
<andrewvos> manveru: So I'm guessing it's not what I'm doing with my process launching stuff.
nitti has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
kurko__ has quit [Ping timeout: 245 seconds]
kurko__ has joined #ruby-lang
<manveru> andrewvos: what does it do?
<andrewvos> manveru: What does what do?
<manveru> intellij
roadt has quit [Ping timeout: 246 seconds]
<andrewvos> manveru: Well it's launching some cucumber tests. I have a gem (acouchi) which has acouchi/cucumber.rb which contains a Before { } call. Inside this before I start up some services. If I disable this before the tests run and everything is cool, but when I enable it IntelliJ runs the tests and I just get "Test Skipped" for each test and no output.
<manveru> uh, cucumber
burgestrand has quit [Quit: Leaving.]
methods has joined #ruby-lang
methods has quit [Client Quit]
<manveru> well, i wish you the best :)
methods has joined #ruby-lang
<andrewvos> haha
<andrewvos> Hey cucumber is good sometimes. Not all times though.
<andrewvos> I mean, the idea is good.
<andrewvos> The execution, not so much.
<manveru> i'd probably consider using it if i had no other choice
<manveru> i built a cucumber clone on top of bacon a few years ago, was maybe 100LoC :)
<andrewvos> Nice :)
havenn has joined #ruby-lang
<manveru> sorry, i'm just tired of the constant "look! new gem! shiny! let's all abandon our work of the last decade and spend manyears polishing turds"
<zzak> manveru: +1
<manveru> i mean, they are gonna be really shiny... but unless you try to outfit a disco or house of mirrors that's not worth much
<jaska> that fits for a lot of things, not just ruby gems :)
<manveru> true that
<zzak> speaking of which
<jaska> technomagpies
methods has left #ruby-lang [#ruby-lang]
<zzak> im looking to start contributing to rack
<matti> Oahi zzak
<manveru> hoi matti :)
<zzak> hi
beiter has quit [Quit: beiter]
<manveru> zzak: go ahead, we always need fresh blood
<matti> Ohai manveru :)
<manveru> i'm not using rack or ruby much these days
<andrewvos> manveru: Yeah I agree with you mostly. The thing is Cucumber, as much as it sucks, has been helpful in lots of situations.
<andrewvos> But I'm tired of arguing it, so yeah in 99% of cases you're 100% correct :)
<manveru> andrewvos: i understand the use-case, have had a few of them myself
<manveru> but in the end we were almost always better off without it
<andrewvos> yeah
<manveru> it's a major drag on my flow, and the business guys still don't understand what the wording actually means
<andrewvos> Step definitions are impossible to refactor.
<manveru> and i'm not gonna write a whole crazy grammar in regex
<andrewvos> haha yeah
<andrewvos> sometimes I wish steps would just translate to method names.
<andrewvos> Given I do this
<andrewvos> def i_do_this
<andrewvos> end
<andrewvos> etc.
<andrewvos> I mean, it's Ruby. Why the hell not.
<zzak> manveru: where do i start? :)
<zzak> andrewvos: isn't that steak?
<manveru> zzak: what do you want to do?
nettsundere has quit [Ping timeout: 260 seconds]
<andrewvos> zzak: Not sure. Never used it.
yorickpeterse has quit [Quit: Runit to Systemd migration]
<zzak> manveru: whatever i can to help
<manveru> :)
<manveru> there are also 21 pull requests pending review
<andrewvos> zzak: This is nice too https://github.com/railsware/rspec-example_steps
runeb has quit [Remote host closed the connection]
<manveru> @ andrewvos
kurko__ has quit [Ping timeout: 255 seconds]
kurko__ has joined #ruby-lang
gaveen has joined #ruby-lang
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
krohrbaugh has quit [Quit: Leaving.]
<andrewvos> manveru: Cool
nettsundere has joined #ruby-lang
Sambalero has joined #ruby-lang
kurko__ has quit [Ping timeout: 245 seconds]
m3nd3s has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
<zzak> manveru: sounds like a good place to start!
yorickpeterse has joined #ruby-lang
kurko__ has quit [Ping timeout: 255 seconds]
nettsundere has quit [Ping timeout: 246 seconds]
kurko__ has joined #ruby-lang
codewrangler has joined #ruby-lang
wallerdev has joined #ruby-lang
robotmay has quit [Read error: Connection reset by peer]
codewrangler has quit [Client Quit]
robotmay has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
rmascarenhas has quit [Ping timeout: 252 seconds]
mistym_ has joined #ruby-lang
Rizzle has joined #ruby-lang
roadt has joined #ruby-lang
havenn has quit [Remote host closed the connection]
kurko__ has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby-lang
kurko__ has joined #ruby-lang
roadt has quit [Ping timeout: 246 seconds]
kuja has quit [Ping timeout: 246 seconds]
jarib has quit [Ping timeout: 246 seconds]
gnufied has quit [Ping timeout: 246 seconds]
herpless__ has quit [Ping timeout: 246 seconds]
gnufied has joined #ruby-lang
kuja has joined #ruby-lang
cdt has quit [Ping timeout: 246 seconds]
fbernier has quit [Ping timeout: 246 seconds]
rking has quit [Ping timeout: 246 seconds]
agile has quit [Ping timeout: 246 seconds]
nettsundere has joined #ruby-lang
herpless__ has joined #ruby-lang
QaDeS has quit [Ping timeout: 246 seconds]
fbernier has joined #ruby-lang
jbwiv has quit [Remote host closed the connection]
rking has joined #ruby-lang
cdt has joined #ruby-lang
agile has joined #ruby-lang
QaDeS has joined #ruby-lang
jarib has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
Artheist has quit [Remote host closed the connection]
rue|w has joined #ruby-lang
solars has quit [Ping timeout: 252 seconds]
kurko__ has quit [Ping timeout: 255 seconds]
kurko__ has joined #ruby-lang
sush24 has quit [Quit: Leaving]
bfreeman has joined #ruby-lang
ryanlecompte has joined #ruby-lang
havenn has joined #ruby-lang
krohrbaugh has joined #ruby-lang
perry has quit [Excess Flood]
perryh has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
areil has quit [Remote host closed the connection]
rue|w has joined #ruby-lang
Uranio has quit [Quit: WeeChat 0.3.8]
solars has joined #ruby-lang
rue|w has quit [Ping timeout: 260 seconds]
runeb has joined #ruby-lang
runeb has quit [Ping timeout: 244 seconds]
alvaro_o__ has joined #ruby-lang
m3nd3s has joined #ruby-lang
alvaro_o_ has quit [Ping timeout: 244 seconds]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
methods1 has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
erichmenge has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
rmascarenhas has joined #ruby-lang
A124 has quit [Quit: Leaving.]
kurko__ has quit [Ping timeout: 256 seconds]
kurko__ has joined #ruby-lang
siyusong has joined #ruby-lang
jtoy has joined #ruby-lang
brianpWins has joined #ruby-lang
__butch__ has joined #ruby-lang
phlipper has joined #ruby-lang
methods1 has left #ruby-lang [#ruby-lang]
cyri_ has quit [Quit: cyri_]
yorickpeterse has quit [Quit: Server rebooting]
QaDeS has quit [Ping timeout: 246 seconds]
solars has quit [Ping timeout: 268 seconds]
icooba has quit [Quit: Computer has gone to sleep.]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
havenn has quit [Remote host closed the connection]
erichmenge has quit [Quit: Be back later]
havenn has joined #ruby-lang
jgomez has quit [Quit: Leaving]
cdt has quit [Quit: Ex-Chat]
QaDeS has joined #ruby-lang
toretore has quit [Quit: Leaving]
havenn has quit [Ping timeout: 246 seconds]
mistym is now known as mistym_lunch
Mon_Ouie has quit [Ping timeout: 260 seconds]
carloslopes has quit [Quit: Leaving.]
sepp2k has quit [Ping timeout: 246 seconds]
yats has joined #ruby-lang
sepp2k has joined #ruby-lang
Austin__ has quit [Ping timeout: 256 seconds]
codewrangler has joined #ruby-lang
Austin__ has joined #ruby-lang
Kingy has joined #ruby-lang
shaman42 has quit [Ping timeout: 256 seconds]
cyri_ has joined #ruby-lang
cyndis has quit [Ping timeout: 260 seconds]
Austin__ has quit [Quit: Leaving.]
mrsolo has joined #ruby-lang
erichmenge has joined #ruby-lang
piglop_ has quit [Quit: Quitte]
yorickpeterse has joined #ruby-lang
kurko__ has quit [Ping timeout: 255 seconds]
brianpWins has quit [Quit: brianpWins]
xiangpeng_ has joined #ruby-lang
xiangpeng_ has left #ruby-lang [#ruby-lang]
xiangpeng__ has joined #ruby-lang
xiangpeng__ has left #ruby-lang [#ruby-lang]
kurko__ has joined #ruby-lang
iKoALa has joined #ruby-lang
methods has joined #ruby-lang
codewrangler has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
siyusong has quit [Quit: Computer has gone to sleep.]
cyndis has joined #ruby-lang
sepp2k has quit [Ping timeout: 260 seconds]
siyusong has joined #ruby-lang
sepp2k has joined #ruby-lang
headius has joined #ruby-lang
rmascarenhas has quit [Ping timeout: 256 seconds]
rmascarenhas has joined #ruby-lang
xiangpeng_ has joined #ruby-lang
shaman42 has joined #ruby-lang
xiangpeng_ has quit [Client Quit]
m3nd3s has quit [Ping timeout: 246 seconds]
iKoALa has quit [Ping timeout: 246 seconds]
m3nd3s has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 256 seconds]
jamjam has joined #ruby-lang
justinram has quit [Ping timeout: 272 seconds]
kurko__ has quit [Ping timeout: 252 seconds]
iKoALa has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
kurko__ has joined #ruby-lang
Austin__ has joined #ruby-lang
fletch_ has joined #ruby-lang
blazes816 has left #ruby-lang [#ruby-lang]
erichmenge has quit [Quit: Be back later]
enebo has joined #ruby-lang
iKoALa has left #ruby-lang [#ruby-lang]
carloslopes has joined #ruby-lang
kurko__ has quit [Ping timeout: 245 seconds]
justinram has joined #ruby-lang
thatdutchguy has quit [Remote host closed the connection]
kurko__ has joined #ruby-lang
Mellett68 has joined #ruby-lang
siyusong has quit [Quit: Computer has gone to sleep.]
m3nd3s_ has joined #ruby-lang
darkmug has quit [Remote host closed the connection]
<whitequark> there is something aperture-y about this: http://imgur.com/a/Nugum
Carnage\ has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
methods has joined #ruby-lang
m0wfo has joined #ruby-lang
m3nd3s has quit [Ping timeout: 246 seconds]
headius has quit [Quit: headius]
coryf has joined #ruby-lang
kurko__ has quit [Ping timeout: 255 seconds]
m3nd3s has joined #ruby-lang
coryf_ has quit [Ping timeout: 252 seconds]
kurko__ has joined #ruby-lang
nitti_ has quit [Remote host closed the connection]
m3nd3s_ has quit [Ping timeout: 256 seconds]
dejongge has joined #ruby-lang
yats has quit [Ping timeout: 248 seconds]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sush24 has joined #ruby-lang
_Mon_Ouie_ has left #ruby-lang [#ruby-lang]
Mon_Ouie has joined #ruby-lang
<crankharder> how can i convert a hash to URL paramaters?
<drbrain> I think CGI might have a method for that
<methods> map{|k,v| "#{CGI.escape(k)}=#{CGI.escape(v)}"}.join('&')
<drbrain> or that ^^
cdt has joined #ruby-lang
cdt has quit [Client Quit]
Kingy has quit [Quit: Leaving]
<zzak> there is URI.escape too
<jtoy> does ruby have an implementation of tmpdir where I can also pass a template
<jtoy> just like tmpdir on the commandline
mistym_lunch is now known as mistym
<methods> drbrain: hm do you remember name of it in CGI ? trying to find it ..
<jtoy> sorry, in *nix its called mktemp
lcdhoffman has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
<methods> require 'tempfile' ?
yxhuvud2 has quit [Quit: Nettalk6 - www.ntalk.de]
rmascarenhas has quit [Ping timeout: 252 seconds]
yxhuvud has joined #ruby-lang
sush24 has quit [Quit: Leaving]
kurko__ has quit [Ping timeout: 245 seconds]
havenn has joined #ruby-lang
kurko__ has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
solars has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
havenn has quit [Remote host closed the connection]
m3nd3s has quit [Remote host closed the connection]
faces has quit [Ping timeout: 260 seconds]
yorickpeterse has quit [Quit: Server going down for a reboot]
kurko__ has quit [Ping timeout: 260 seconds]
kurko__ has joined #ruby-lang
swarley has joined #ruby-lang
dejongge has quit [Read error: Connection reset by peer]
qpingu has joined #ruby-lang
dejongge has joined #ruby-lang
gaveen has quit [Remote host closed the connection]
freedrull has joined #ruby-lang
m3nd3s has joined #ruby-lang
havenn has joined #ruby-lang
Ethan has quit [Read error: Connection reset by peer]
Ethan has joined #ruby-lang
m0wfo has quit [Quit: Bye]
seydar has joined #ruby-lang
<seydar> hey i'm looking for a ruby issue tracker, like ditz, only compatible with 1.9.3
<seydar> anybody use a command line issue tracker?
vlad_starkov has quit [Remote host closed the connection]
<zzak> track issues on what?
<seydar> code
<seydar> bug tracker
<seydar> issue tracker
<ddd> here is bugzyrb
nitti has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
anannie has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
<seydar> i'm gonna try to get ditz to work
lcdhoffman has joined #ruby-lang
anannie has quit [Ping timeout: 246 seconds]
ryanlecompte has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
sepp2k1 has quit [Quit: Leaving.]
sepp2k has joined #ruby-lang
sent-hil has joined #ruby-lang
Ziioynx has joined #ruby-lang
m3nd3s_ has joined #ruby-lang
mjbamford has joined #ruby-lang
kurko__ has quit [Quit: Computer has gone to sleep.]
m3nd3s has quit [Ping timeout: 246 seconds]
sent-hil has quit [Read error: Connection reset by peer]
sent-hil has joined #ruby-lang
<sent-hil> https://gist.github.com/03a597328634552dd809 why is ruby initiating vars to nil before they're specified?
<Asher> ruby doesn't have a concept of initializing vars
<Asher> vars are nil before they have a value
<sent-hil> how does it even know at line 5 that a, stuff and b exists?
<sent-hil> since i only set a = 5 at line 7
<sent-hil> maybe i'm misunderstanding how set_trace_func works
<ddd> because it parses the whole file before it executes so it knows what to load, what modules, classes etc
<swarley> * incompetentcoder (~beaky@92.96.100.66) has joined ##c
<swarley> <incompetentcoder> hello
<swarley> oh boy
<swarley> here we go
<ddd> so it knows about the vars. interpreted vs compiled (pre-declaration)
<sent-hil> ah
<ddd> swarley: awesome /ignore fodder :) or +q fodder if an op :)
<swarley> lol
<sent-hil> i suppose there's no way to distinguish btwn vars intentionally set to nil
sailias1 has joined #ruby-lang
sailias has quit [Quit: Leaving.]
<sent-hil> and the vars set to nil by default
<swarley> sent-hil; there is actually, one second let me check how. I read how to yesterday
<swarley> oh wait
<swarley> are you talking about def meth(optional=nil)
<swarley> ?
m3nd3s has joined #ruby-lang
sailias has joined #ruby-lang
<zzak> sent-hil: ddd has it right, the whole file is parsed into a syntax tree before it is executed at runtime
<sent-hil> swarley: no not inside a arg declaration
sailias2 has joined #ruby-lang
<swarley> I mean, you can trace ruby calls to the object =
<zzak> sent-hil: you can see for yourself if you parse your code with Ripper
sailias1 has quit [Client Quit]
<ddd> gem search ripper -dr
<ddd> gah
<zzak> its stdlib
<ddd> oh. googling
<ddd> got it. thanks
<sent-hil> cool thx
<sent-hil> have you guys seen pythontutor.rb? i was thinking of using set_trace_fun to write a ruby backend. comments/ suggestions?
m3nd3s_ has quit [Ping timeout: 246 seconds]
alvaro_o_ has joined #ruby-lang
icooba has joined #ruby-lang
sailias has quit [Read error: Operation timed out]
<seydar> drbrain: ping
alvaro_o__ has quit [Ping timeout: 268 seconds]
<sent-hil> anyone?
<seydar> sent-hil: ooh, that looks cool
<seydar> use ruby-debug maybe?
<seydar> that would be easier
<sent-hil> seydar: yep, philip guo made it very easy to plug into the frontend
<seydar> boom. thar ya go
<sent-hil> seydar: in what way?
vlad_starkov has joined #ruby-lang
<seydar> it shouldn't be too complicated (famous last words), but it'll certainly be a lot of work
<seydar> i'd like to see that though
<seydar> i'd REALLY like to see it
<seydar> in fact
<sent-hil> seydar: i got 2.5 months :)
<seydar> i think you might be able to get money to fund it if you asked some companies
<seydar> like EY, 37sig, etc.
<sent-hil> seydar: that'd be cool
<seydar> ruby central might throw you some dough
<sent-hil> ruby central? is that a company?
workmad3 has joined #ruby-lang
<sent-hil> ah cool
seydar has quit [Quit: leaving]
<steveklabnik> sent-hil: http://tryryby.org
<steveklabnik> ruby
<steveklabnik> yay slow internet
<sent-hil> steveklabnik: yea i've looked into it, but isn't that just a web repl? not a code visualizer is it?
<steveklabnik> ahhhh, i'm on shit wifi, so i didnt actually load pythontutor
<steveklabnik> sorry :)
<steveklabnik> feel free to ignore me
<sent-hil> steveklabnik: no worries :)
tonyc has left #ruby-lang [#ruby-lang]
jbwiv has joined #ruby-lang
havenn has quit [Remote host closed the connection]
yorickpeterse has joined #ruby-lang
blazes816 has joined #ruby-lang
Dreamer3 has joined #ruby-lang
anannie has joined #ruby-lang
Ziioynx has quit [Remote host closed the connection]
dejongge has quit [Quit: Leaving.]
dejongge has joined #ruby-lang
richardjortega has quit [Quit: richardjortega]
dejongge has quit [Ping timeout: 260 seconds]
i_like_rails has joined #ruby-lang
i_like_rails has quit [Client Quit]
jtoy has joined #ruby-lang
kurko__ has joined #ruby-lang
tenderlove has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
Servidorv has joined #ruby-lang
rue|w has joined #ruby-lang
Austin__ has quit [Quit: Leaving.]
outoftime has joined #ruby-lang
kurko__ has left #ruby-lang [#ruby-lang]
kurko_ has joined #ruby-lang
yorickpeterse has quit [Quit: Brace yourselves, more reboots]
rmascarenhas has joined #ruby-lang
sailias2 has quit [Quit: Leaving.]
faces has joined #ruby-lang
nitti has quit [Remote host closed the connection]
yorickpeterse has joined #ruby-lang
Madis_ has joined #ruby-lang
nitti has joined #ruby-lang
burgestrand has joined #ruby-lang
Kingy has joined #ruby-lang
ryanlecompte has joined #ruby-lang
Madis has quit [Ping timeout: 256 seconds]
nitti has quit [Remote host closed the connection]
<sent-hil> b = [1,2,3]; c = b. i'm assuming c points to the same array as b
Madis has joined #ruby-lang
<yorickpeterse> yes
<drbrain> sent-hil: yup
Madis has quit [Client Quit]
<zenspider> all pointers all the time... cept when it isn't
<swarley> sent-hil;
<swarley> [1] pry(main)> b = [1,2,3]; c = b; c[1] = 'foo'; b
<swarley> => [1, "foo", 3]
<swarley> to escape that you do something like c = b.dup or c = b.clone
burgestrand has quit [Quit: Leaving.]
<swarley> dup being duplicate
<swarley> [2] pry(main)> b = [1,2,3]; c = b.dup; c[1] = 'foo'; b
<swarley> => [1, 2, 3]
<swarley> the difference there being the way that i assigned the value to c
<swarley> the initial value*
<sent-hil> ah, cool, thx!
<swarley> no problem
Madis_ has quit [Ping timeout: 244 seconds]
rue|w has quit [Remote host closed the connection]
rue|w has joined #ruby-lang
<tdy> that's really bitten me in a recursive method
blazes816 has quit [Quit: blazes816]
<swarley> tdy; to be fair, ruby isnt optimized at all for recursive methods
<tdy> passing an array recursively and trying not to have modifications propragated back up
<tdy> yea
<swarley> I love the elegance of recursive methods
<swarley> but i just go without them in ruby
nitti has joined #ruby-lang
nitti has quit [Remote host closed the connection]
<zzak> swarley have you tried TCO?
rue|w has quit [Ping timeout: 248 seconds]
<swarley> hm?
sepp2k has quit [Remote host closed the connection]
<swarley> weird
havenn_ has joined #ruby-lang
kurko_ has quit [Ping timeout: 272 seconds]
kurko_ has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
Servidorv has quit [Ping timeout: 260 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
yxhuvud has quit [Ping timeout: 272 seconds]
carloslopes has quit [Quit: Leaving.]
carl_ has joined #ruby-lang
carl_ has quit [Client Quit]
s0ber has quit [Read error: Connection reset by peer]
s0ber has joined #ruby-lang
ryanlecompte has quit [Remote host closed the connection]
fletch_ has quit []
zzak has quit [Quit: leaving]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
methods has quit [Quit: Leaving.]
zzak has joined #ruby-lang
runeb has joined #ruby-lang
Dreamer3 has joined #ruby-lang
yaroslav has joined #ruby-lang
slyphon has joined #ruby-lang
swarley has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
m3nd3s has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
i_like_rails has joined #ruby-lang
fireglow has quit [Changing host]
fireglow has joined #ruby-lang
swarley has joined #ruby-lang
<i_like_rails> Hi all, why does the Ruby interepter not complain about incorrect syntax if there is an extra else?
<swarley> i_like_rails; it does o-o
sent-hil has quit [Ping timeout: 260 seconds]
<i_like_rails> swarley: What is o-o?
<swarley> Sorry, that is an emoticon
<swarley> here is an example of it rejecting the syntax
<swarley> [2] pry(main)> if(foo==bar);nil;else;nil;else;nil;end
<swarley> SyntaxError: unexpected keyword_else, expecting keyword_end
<i_like_rails> swarley: I have some code where I had an extra else, and the interpreter ran the code in a weird way. I commented out the else, and it ran fine. Both versions got an OK in the sytax check. I'm on 1.9.3 p 194
<swarley> can you show the code?
slyphon has joined #ruby-lang
erichmenge has joined #ruby-lang
erichmenge has quit [Client Quit]
<i_like_rails> swarley: Sure. https://gist.github.com/be4eb2763b4665741b3f
outoftime has quit [Read error: Connection reset by peer]
<i_like_rails> swarley: That's the area of the code that had the extra else.
<i_like_rails> swarley: It's commented out. Even when it's there, the interpreter runs the code.
<swarley> oh, the begin rescue structure must have an else clause for if it doesnt have to be rescued
<swarley> let me see
<i_like_rails> swarley: Ooooh
<i_like_rails> swarley: I think you're right. Yep.
nitti has joined #ruby-lang
<swarley> yup
<swarley> [8] pry(main)> begin;print "hello"; raise "Oh no"; rescue => e; print " nothing";else;print "world";end
<swarley> hello nothing=> nil
<swarley> [9] pry(main)> begin;print "hello";rescue;else;print "world";endhelloworld=> nil
burgestrand has joined #ruby-lang
<i_like_rails> swarley: Thanks!
<swarley> neat, i didnt know that begin rescue had an else clause
<swarley> no problem
icooba has quit [Quit: Computer has gone to sleep.]
lcdhoffman has quit [Quit: lcdhoffman]
mjbamford has quit [Quit: Leaving...]
slyphon_ has joined #ruby-lang
nitti has quit [Ping timeout: 246 seconds]
slyphon has quit [Ping timeout: 245 seconds]
mjbamford has joined #ruby-lang
icooba has joined #ruby-lang
<zzak> drbrain: rdoc is gplv2 right?
Dreamer3 has quit [Quit: Computer has gone to sleep.]
solars has quit [Read error: Operation timed out]
ananna has joined #ruby-lang
<drbrain> zzak: it's ruby license + GPLv2
<zzak> mind if i commit this? https://github.com/rdoc/rdoc/issues/144
<drbrain> it's going to be ruby license + BSDL for rdoc 4
<drbrain> zzak: looks good
<zzak> s.license = "Ruby+GPLv2'?
<zzak> minus the mix quotes hah
<drbrain> I think just "Ruby" is fine
<zzak> ok, consider it done
tenderlove has quit [Remote host closed the connection]
anannie has quit [Ping timeout: 252 seconds]
tenderlove has joined #ruby-lang
Carnage\ has quit []
i_like_rails has quit [Quit: Page closed]
wyhaines_ has quit [Read error: Connection reset by peer]
retro|cz has quit [Remote host closed the connection]
Kingy has quit [Read error: Connection reset by peer]
wyhaines has joined #ruby-lang
Kingy has joined #ruby-lang
slyphon_ has quit [Ping timeout: 245 seconds]
robotmay has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
robotmay has joined #ruby-lang
jtoy has quit [Quit: jtoy]
wyhaines_ has joined #ruby-lang
Ethan has quit [Quit: i use linux l o l]
wyhaines has quit [Ping timeout: 276 seconds]
jtoy has joined #ruby-lang
undersc0re97 has joined #ruby-lang
undersc0re97 has joined #ruby-lang
alexkira has quit []
kurko_ has joined #ruby-lang
slyphon_ has joined #ruby-lang
undersc0re97 has quit [Quit: i use linux l o l]
jamjam has quit [Ping timeout: 256 seconds]
justinmcp has quit [Remote host closed the connection]
rue has quit [Remote host closed the connection]
undersc0re97 has joined #ruby-lang
rue has joined #ruby-lang
undersc0re97 has quit [Changing host]
undersc0re97 has joined #ruby-lang
<zzak> drbrain: https://github.com/rdoc/rdoc/commit/6e3679d I updated History.rdoc as well
<drbrain> zzak: perfect
Nisstyre-laptop has joined #ruby-lang
yaroslav has quit [Quit: yaroslav]
<matti> drbrain: Can I ask you about something?
<drbrain> matti: you just did!
tenderlove has quit [Read error: Connection reset by peer]
<matti> Yay!
* matti blushes
<drbrain> I will never get tired of that joke!
<matti> Haha
<matti> drbrain: I would be really grateful if you could review a small patch of mine.
<drbrain> OK!
<matti> Yay^2
tenderlove has joined #ruby-lang
<matti> Hi tenderlove
burgestrand1 has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
burgestrand has quit [Ping timeout: 246 seconds]
enebo has quit [Quit: enebo]
* zzak hugs tenderlove
<tenderlove> HI
<tenderlove> THANKS
<matti> Haha
<zzak> :D
wyhaines_ has quit [Remote host closed the connection]
robotmay has quit [Read error: Connection reset by peer]
<zzak> tenderlove: have a _great_ weekend! <3<3
<matti> tenderlove: I am / was having some issues with Psych on FreeBSD. I will look in a moment.
<tenderlove> THANKS! :D
<tenderlove> YOU TOO! :-D
<tenderlove> oh
<tenderlove> :(
<matti> zzak, tenderlove: Get a room you two ;p
<tenderlove> did you try turning it off and then on agai?
<tenderlove> n
<matti> tenderlove: Not yet.
<tenderlove> ;-)
<matti> tenderlove: I put: http://www.youtube.com/watch?v=rwer1CiteBg and will try to do it now.
<matti> ;d
<matti> Mind you -- BETTER VERSION -- it says.
<matti> So if this does not help with compilation, then I am going to look deeper ;d
robotmay has joined #ruby-lang
<zzak> speaking of powercycles
<matti> tenderlove: How is the Cute Cat?
workmad3 has quit [Read error: Operation timed out]
runeb has quit [Remote host closed the connection]
mjbamford has quit [Quit: Leaving...]
Kingy__ has joined #ruby-lang
justinram has quit [Remote host closed the connection]
Kingy has quit [Ping timeout: 246 seconds]
GarethAdams has joined #ruby-lang
rmascarenhas has quit [Ping timeout: 252 seconds]
nitti has joined #ruby-lang
Dreamer3 has joined #ruby-lang
steveklabnik has quit [Ping timeout: 252 seconds]
hramrach has quit [Ping timeout: 276 seconds]
steveklabnik has joined #ruby-lang
nitti has quit [Ping timeout: 260 seconds]
icooba has quit [Quit: Computer has gone to sleep.]
robotmay has quit [Remote host closed the connection]
schroedinbug has quit [Ping timeout: 265 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
Mellett68 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hramrach has joined #ruby-lang
sent-hil_ has joined #ruby-lang
schroedinbug has joined #ruby-lang
codewrangler has joined #ruby-lang
codewrangler has quit [Client Quit]
rmascarenhas has joined #ruby-lang
havenn_ has quit [Remote host closed the connection]
coryf has quit [Remote host closed the connection]
rmascarenhas has quit [Ping timeout: 252 seconds]
havenn has joined #ruby-lang