voker57 has quit [Read error: Connection reset by peer]
paidhi has joined #ruby-lang
erikh has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
zmack has joined #ruby-lang
brianpWins has joined #ruby-lang
solars has joined #ruby-lang
kurko_ has quit [Quit: This computer has gone to sleep]
Criztian has joined #ruby-lang
fgomez has quit [Ping timeout: 244 seconds]
fgomez has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
igotnolegs has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
neocoin has quit [Remote host closed the connection]
<erikh>
hello again, friends.
neocoin has joined #ruby-lang
dmwuw has quit [Read error: No route to host]
dmwuw has joined #ruby-lang
<banisterfiend>
erikh: hey erik
JohnBat26 has joined #ruby-lang
<erikh>
banisterfiend: what's up
<banisterfiend>
erikh: freezing cold about to sleep, what about u
<erikh>
yeah, I need to get to bed too
<erikh>
just trying to get test.rubygems.org back up.
<banisterfiend>
erikh: cool, are ppl using it more now?
<erikh>
not really, but I don't like having stuff down.
<erikh>
I've been too busy this week to really get it sorted.
<banisterfiend>
erikh: is your friend jessup (or whatever his name was) still doign it with u?
<erikh>
not really.
<erikh>
I tried to keep it up on my own for a while, but in all honesty I didn't try too hard.
<erikh>
others keep telling me I should try harder, it's a good idea and so forth
<erikh>
but dunnno
<erikh>
I've been searching for something new to work on for a while now
<banisterfiend>
erikh: u should improve rubygems.org stats
<banisterfiend>
rubygems.org could be so much better than it is
<erikh>
I... really don't want to work on rubygems.org
<erikh>
let's leave it there :)
<banisterfiend>
y
<ryanf>
erikh: he is incapable of leaving anything anywhere
<ryanf>
you should know that
robin has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
<banisterfiend>
ryanf: i like to pry
robin is now known as Guest50801
Guest50801 has left #ruby-lang [#ruby-lang]
robin850 has joined #ruby-lang
echoprinter has joined #ruby-lang
<erikh>
ha
<erikh>
I kind of want to learn more about unix i/o and threading
<erikh>
and process management
<erikh>
basically all things system-y
<erikh>
can't debug it worth a damn but I know enough to fuck shit up now
<erikh>
I think I'm going to hold off until Josiah's ready to work on this box with me
<erikh>
being down another day or so isn't a big deal at this point.
VGoff is now known as VGoff_afk
paidhi has quit [Quit: paidhi]
outsmartin has joined #ruby-lang
sepp2k has joined #ruby-lang
VGoff_afk is now known as VGoff
thone_ has joined #ruby-lang
<rfx>
I want to try out using a debugger for my ruby stuff, when I look at the result at http://rubygems.org/search?utf8=%E2%9C%93&query=debug I am .. stunned. I'm using 1.9.3p194 on Linux; when I look at the gem result, I'd say I can narrow it down to: ruby-debug-base19, ruby-debug19, ruby-debg-ide19 (I guess I can understand the difference between those) but then there's only rdebug, ruby-debug193, debugger
<rfx>
.. how can I find out what gem I need?
<erikh>
you probalby want ruby-debug193
<erikh>
last I checked -debug19 (which was the standard for a while) doesn't build on 1.9.3
<banisterfiend>
rfx: debugger gem
<erikh>
?!
<banisterfiend>
erikh: it's a fixed up version of ruby-debu19
<banisterfiend>
debug*
<erikh>
oh, I see.
<banisterfiend>
rfx: another alternative is pry, that is OK for most debugging stuff, and has plugins for debugger too: http://pry.github.com
thone has quit [Ping timeout: 252 seconds]
<banisterfiend>
it's my fave because of the pretty colors
<rfx>
ah, ok, thanks
<rfx>
I have been using Ruby last year *and* debugging too; but I forgot some stuff and when I looked at the list, nothing ringed; just too much choices. thanks
<erikh>
yeah there's a lot of room for improvement in that area.
zz_wasnotrice has quit [Ping timeout: 260 seconds]
zz_wasnotrice has joined #ruby-lang
Carnage\ has joined #ruby-lang
jayne has quit [Read error: Connection reset by peer]
<rue>
Most 14-year-olds probably drink more than that.
diegoviola has quit [Ping timeout: 255 seconds]
JackNorris has quit [Ping timeout: 245 seconds]
djinni` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jayne has joined #ruby-lang
<zenspider>
man... reasoned schemer is a lovely brainfuck...
JohnBat26 has quit [Ping timeout: 264 seconds]
djinni` has joined #ruby-lang
JackNorris has joined #ruby-lang
workmad3 has joined #ruby-lang
dtheg has quit [Quit: dtheg]
dtheg has joined #ruby-lang
<erikh>
rdoc is so snappy on this SSD
zmack has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
<zenspider>
have any of you guys gone through the little/seasoned/reasoned schemer books?
<erikh>
I have not
<erikh>
I should probably pick up scheme sometime.
<erikh>
it'd be good for my noggin'
<zenspider>
have you done any other lisps?
<erikh>
elisp mostly; some clojure
<erikh>
dabbled in CL but nothing of note
wallerdev has quit [Quit: wallerdev]
<erikh>
zenspider: can I have you look at a rdoc refactor in a few minutes and offer your opinion?
workmad3 has quit [Ping timeout: 264 seconds]
<zenspider>
drbrain would be better at that... I try not to touch rdoc
<erikh>
fair 'nuff
s0ra_h is now known as sora_h
<zenspider>
elisp I would say almost doesn't count.
<zenspider>
how'd you like clojure?
<zenspider>
I took one small stab at it... but I swear I'm allergic to the jvm
<erikh>
I liked it
<zenspider>
(I'm also biased towards scheme these days... these books are fantastic... and strange)
<erikh>
it has just enough lisp to feel good and enough java to make it pragmatic
sandbags has joined #ruby-lang
<erikh>
4clojure.org is a really good place to pick it up
<erikh>
or .com. I can't remember now
<erikh>
the seq stuff is really nice and very fast.
<erikh>
that said, I hate the way JVM stuff runs at a system level
<erikh>
jars can have their uses, but the whole ecosystem is overbuilt
Axsuul has quit [Ping timeout: 250 seconds]
<erikh>
one thing I'd really like to do to rubygems is create a jar-alike
<erikh>
bundle exec would just be useless at that point
<zenspider>
I highly recommend chicken scheme. fast as fuck and that's WITHOUT compiling it first.... has pretty good libraries to make everyday stuff doable instead of a chore
<erikh>
ok; I'll make a note of it
<zenspider>
bundler is already useless
<erikh>
unfortunately it's a thing I deal with every day
<erikh>
even on 1.1 our rake tasks take almost a minute to spin up
<erikh>
rails and a motherlode of gems
<zenspider>
the developer tools of chicken scheme aren't the best... if/when you have to debug it's prolly better to run in racket (which has really neat gui tools)... but it's too slow for normal use imo
<erikh>
yeah, all that's greek to me. I'll need to get involved.
<zenspider>
that's horrible
<erikh>
I have a friend reading the little schemer, he really likes it. have you read it?
<zenspider>
I've done all the schemer books now
<zenspider>
I'm doing a second pass on reasoned schemer (impls prolog-ish in scheme)
<erikh>
oh neat
<zenspider>
they're not for everyone... but they work really well for my brain
<erikh>
Yeah, my rub is that I spend too much time frittering away writing things I'll never use
<erikh>
instead of picking up a book on a topic that interests me, I just dive in head-first
<zenspider>
after doing sicp, little/seasoned schemers prolly weren't the mind-benders they will be for most... but they offer a different and very clean perspective. they're wonderful...
<zenspider>
but reasoned schemer has been a challenge and a joy
<erikh>
I need to read SICP
<erikh>
that and my dragon book. I just need to slog through them. I know they'll make me a better programmer.
<zenspider>
the whole impl for the prolog-ish system is 204 lines long, and I could prolly clean them up with some lets
<erikh>
ha, nice
<zenspider>
dragon book? meh. you could do better with less.
<zenspider>
only 200 lines and I STILL don't understand it yet.
<zenspider>
I know how the system works... but getting inside the impl is gonna take more work
<erikh>
yeah, I was having that problem in clojure
<erikh>
I could voodoo it up until I got something working, but I didn't really understand it.
<erikh>
brb
workmad3 has joined #ruby-lang
srbartlett has joined #ruby-lang
sora_h is now known as s0ra_h
jsilver has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
crackity_jones has quit [Ping timeout: 244 seconds]
<rfx>
I'm not sure if I know more debugger or ORM projects for ruby now .. :)
setmeaway has quit [Quit: Leaving]
burgestrand has quit [Quit: Leaving.]
rue_XIV has joined #ruby-lang
rue_XIV has left #ruby-lang [#ruby-lang]
rue has quit [Ping timeout: 265 seconds]
akamike has joined #ruby-lang
dejongge has joined #ruby-lang
solars has quit [Read error: Operation timed out]
rue_ has joined #ruby-lang
saLOUt has joined #ruby-lang
setmeaway has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
<banisterfiend>
rfx: that requries you to patch ruby though
zmack has joined #ruby-lang
apeiros_ has joined #ruby-lang
<banisterfiend>
apeiros_: heya
<rfx>
banisterfiend: yes, quite a barrier IMHO
<rfx>
uh no, what did I say. May name isn't Ilias
zmack has quit [Remote host closed the connection]
Carnage\ has quit [Read error: Operation timed out]
<apeiros_>
hi banisterfiend
kiddorails has joined #ruby-lang
<banisterfiend>
apeiros_: i was playing with irb, how come when i create classes/methods it just shows "?" as the open token? is that set in the prompt? or does it not provide token info in that case?
<banisterfiend>
apeiros_: it's correct for strings and regexen though
<apeiros_>
banisterfiend: odd, for me it's *, not ?
<banisterfiend>
apeiros_: one sec
<apeiros_>
one sad thing though: %{ shows " too, not {
seanstickle has joined #ruby-lang
<apeiros_>
proc { shows >>, but increases the level, would like { there too
<apeiros_>
IOW, I think one can improve over irb's behaviour
jxie has quit [Quit: leaving]
<banisterfiend>
apeiros_: see after the 00N: it shows ? for class
<banisterfiend>
but for the "hi
<banisterfiend>
it shows "
<apeiros_>
ah, you have the default prompt from rvm
<apeiros_>
I override that :)
<banisterfiend>
apeiros_: so irb does provide info to let u know it's an open CLASS versus an open method and so on?
<apeiros_>
iirc ? (or * for me) is just "any other thing that's open and needs closing"
<banisterfiend>
apeiros_: oh ok, i'll show u what i came up with for pry, note i haven't made the prompt pretty, im just displaying the 'open token' in the prompt, so u'll have to make proper use of that in your own prompt
<banisterfiend>
one sec
<apeiros_>
hm, I thought to irb class Foo and if x then are the same. seems they aren't…
solars has joined #ruby-lang
<apeiros_>
banisterfiend: ok. I don't think it's necessary to replicate irb's behavior exactly. since as said, it's not optimal. so if you have more info, go for it! :)
<apeiros_>
I just have no idea for a good single string to indicate "open class"
<apeiros_>
ah, you use multiple characters… hm… ok
<apeiros_>
I think that's what the continuation_type was about. a symbol with the type, so that with the use of a proc can change the prompt to your own liking (e.g. even hide the whole prompt)
dalekurt has joined #ruby-lang
<apeiros_>
(not that I'd do that)
<apeiros_>
I think it's good. only problem I have with multi chars is that it'll either leave empty space (padding) or kill alignment
<apeiros_>
maybe 'c' for open class, 'm' for open module, 'd' for open def?
<banisterfiend>
well, it's just a demo showing the information is available :) i dont expect anyone to actually set up their prompts like that
<banisterfiend>
yeah
<apeiros_>
ah, ok
<apeiros_>
in that case: weeeeeeeeeeeeeeeeeeeeee! :D
<banisterfiend>
i can pass in another parameter indicating the token class
<banisterfiend>
which u could use instead
mssola has joined #ruby-lang
VegetableSpoon has joined #ruby-lang
zmack has joined #ruby-lang
imperator has joined #ruby-lang
Axsuul has joined #ruby-lang
rue_ has left #ruby-lang [#ruby-lang]
rue has joined #ruby-lang
<rue>
Stupid netzwerke
<banisterfiend>
rue: labyu
postmodern has quit [Quit: Leaving]
zmack has quit [Remote host closed the connection]
saLOUt has quit [Ping timeout: 265 seconds]
zmack has joined #ruby-lang
Zyclops1 has quit [Quit: Leaving.]
Berglund has joined #ruby-lang
Axsuul has quit [Ping timeout: 246 seconds]
zmack has quit [Ping timeout: 264 seconds]
andrewhl has joined #ruby-lang
Mon_Ouie has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby-lang
Zyclops has joined #ruby-lang
chessguy has joined #ruby-lang
Zyclops1 has joined #ruby-lang
Zyclops has quit [Ping timeout: 264 seconds]
<rue>
Do what now?
kitallisii has joined #ruby-lang
SkramX has quit [Quit: SkramX]
mytrile has joined #ruby-lang
Zyclops1 has quit [Quit: Leaving.]
mytrile has quit [Quit: Leaving.]
mytrile has joined #ruby-lang
Stereokitsune has quit [Remote host closed the connection]
Stereokitsune has joined #ruby-lang
imperator has quit [Quit: This computer has gone to sleep]
imperator has joined #ruby-lang
yannis has joined #ruby-lang
umttumt has joined #ruby-lang
kiddorails has quit [Ping timeout: 244 seconds]
<imperator>
good morning
<seanstickle>
Good afternoon!
<imperator>
need some event handling advice
<imperator>
got an object (a windows Event) - it has two states, signaled and unsignaled
<imperator>
the constructor for this Event takes a block
<imperator>
i want the block to fire when the state of the Event goes from non-signaled to signaled
<imperator>
the trick is that the state of the object is changed by an external call, not by itself (well, it could be changed by itself, but nm that)
umttumt has quit [Remote host closed the connection]
bglusman has quit [Remote host closed the connection]
publicvoid_ has joined #ruby-lang
publicvoid has quit [Ping timeout: 245 seconds]
umttumt has joined #ruby-lang
tomb has quit [Quit: Computer has gone to sleep.]
troy{}| has joined #ruby-lang
troyack has joined #ruby-lang
chessguy has quit [Read error: Connection reset by peer]
chessguy has joined #ruby-lang
jxie has joined #ruby-lang
sora_h is now known as s0ra_h
outsmartin has quit [Quit: Leaving.]
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
VegetableSpoon has quit [Ping timeout: 264 seconds]
dvorak has quit [Quit: Lost terminal]
msaffitz has joined #ruby-lang
msaffitz has quit [Client Quit]
dvorak has joined #ruby-lang
scientes has joined #ruby-lang
Hakon|mbp has quit [Read error: Connection reset by peer]
l0st1 has quit [Quit: leaving]
msaffitz has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
savage- has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
televisor has joined #ruby-lang
dalekurt has joined #ruby-lang
deryl has joined #ruby-lang
dalekurt_ has joined #ruby-lang
dalekurt has quit [Ping timeout: 246 seconds]
dalekurt_ is now known as dalekurt
<andrewvos>
Man, I really don't like cucumber and how it is unrefactorable, but I just can't get past how awesome it is having executable documentation.
<seanstickle>
You might love MDA
<banisterfiend>
andrewvos: good bacon/rspec tests read like docs too
<andrewvos>
banisterfiend: Fuck rspec!
<banisterfiend>
andrewvos: yeah, that's why i us bacon :)
<banisterfiend>
use
<andrewvos>
banisterfiend: But yeah. I'm leaning toward that. SUppose I could use minitests rspec-type stuff.
<andrewvos>
I'm thinking of doing something like webmachine in ruby. I know there is a ruby version. I just kind of want to rewrite it.
<banisterfiend>
andrewvos: you program erlang?
<andrewvos>
banisterfiend: No
troyack has left #ruby-lang [#ruby-lang]
televisor has quit [Quit: televisor]
troy{}| has joined #ruby-lang
troy{}| has quit [Client Quit]
htroyack has joined #ruby-lang
wallerdev has joined #ruby-lang
deryl has quit [Quit: Time To Go, Too Bad, So Sad!]
televisor has joined #ruby-lang
injekt has joined #ruby-lang
<andrewvos>
banisterfiend: Why?
msaffitz has quit [Quit: Computer has gone to sleep.]
FluffyCode has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
soahccc` is now known as soahccc
tomb has joined #ruby-lang
televisor has quit [Quit: televisor]
televisor has joined #ruby-lang
televisor has quit [Remote host closed the connection]
kitallisii has quit [Quit: Computer has gone to sleep.]
JohnBat26 has joined #ruby-lang
burgestrand has joined #ruby-lang
VegetableSpoon has joined #ruby-lang
kvirani has joined #ruby-lang
<Spaceghostc2c>
andrewvos: I don't really like cucumber in the way a lot of people do them.
<Spaceghostc2c>
But if I had to, I'd use turnip, rspec and page object pattern.
lsegal has joined #ruby-lang
<Spaceghostc2c>
I love rspec, but it's really just the whole behaviour stuff that I prefer.
tbuehlmann has quit []
htroyack has quit []
ttilley_off is now known as ttilley
yorickpeterse is now known as yorick-test
troy{}| has joined #ruby-lang
yorick-test is now known as yorickpeterse
htroyack has joined #ruby-lang
htroyack has quit [Client Quit]
htroyack has joined #ruby-lang
Z33K|Lux has joined #ruby-lang
<andrewvos>
Spaceghostc2c: Page Object --
<andrewvos>
Turnip does look good though.
<Spaceghostc2c>
andrewvos: Wat?
umttumt has quit [Remote host closed the connection]
<andrewvos>
You heard me
FluffyCode has quit [Remote host closed the connection]
FluffyCode has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
pbjorklu1d has joined #ruby-lang
pbjorklund has quit [Ping timeout: 248 seconds]
<Spaceghostc2c>
andrewvos: Were you asking a question or something?
<andrewvos>
Would it be bad to name a web framework bRESTicles?
<andrewvos>
Yeah ok that's kind of rhetorical. Disregard that.
savage- has quit [Remote host closed the connection]
JustinCampbell has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
JustinCampbell has joined #ruby-lang
<Spaceghostc2c>
Namazue!
<Spaceghostc2c>
Namazu!
<andrewvos>
Namazu - A giant catfish that causes earthquakes.
<andrewvos>
That is pretty cool
<andrewvos>
And insane
<andrewvos>
Nurarihyon - A strange character who sneaks into houses on busy evenings.
<andrewvos>
[edit]
<apeiros_>
Cthulu
<apeiros_>
fascinating: Ittan-momen - A possessed roll of cotton that attempts to smother people by wrapping itself around their faces.
<Spaceghostc2c>
KAppa please.
<Spaceghostc2c>
Ningyo - A fish person or "mermaid".
VegetableSpoon has quit [Ping timeout: 264 seconds]
imperator has quit [Ping timeout: 250 seconds]
<seanstickle>
We have some equally scary legendary creatures in America
<apeiros_>
isn't kappa a fashion brand?
<apeiros_>
seanstickle: bambi?
<seanstickle>
Ronapol: A free market demon that threatens to get elected every now and then
<seanstickle>
Vaccinex - a mysterious venom that causes autism in children
<seanstickle>
Etc
<Spaceghostc2c>
seanstickle: pron
ttilley is now known as ttilley_off
crackity_jones has joined #ruby-lang
brianpWins has joined #ruby-lang
soahccc is now known as soahccc`
televisor has joined #ruby-lang
htroyack has joined #ruby-lang
savage- has quit [Remote host closed the connection]
<andrewvos>
seanstickle: It is.
<seanstickle>
andrewvos: huh?
<andrewvos>
seanstickle: Kappa.
<seanstickle>
Kappa?
<seanstickle>
What the hell are you talking about?
<andrewvos>
seanstickle: Kappa is a fashion label.
<seanstickle>
And?
<ryanf>
apeiros_ said that
<ryanf>
not seanstickle
<seanstickle>
Wow, that had me confused all to hell
<andrewvos>
Oh
<andrewvos>
Yeah me too
<andrewvos>
apeiros_: It is.
<apeiros_>
I am
<apeiros_>
and I was
<apeiros_>
and I will be
seanstickle has quit [Quit: seanstickle]
<andrewvos>
Ok so I'm writing a webmachine type app
<andrewvos>
Framework I mean..
<andrewvos>
Hold on there's a question here eventually...
A124 has joined #ruby-lang
<andrewvos>
So, in webmachine if you have a Home class, and you return false for #authorised? how would you switch to display an unauthorised landing page?
rolfb has joined #ruby-lang
<andrewvos>
Because a user has to be authorised.. but webmachine will return like a 403 or something?
<andrewvos>
But you still want to display a home page
<Spaceghostc2c>
Change the rendered content?
<andrewvos>
Spaceghostc2c: But what about the 403?
<Spaceghostc2c>
The block that gets passed to yield isn't the one that authorized people get. You get a block of 403-ish content?
<andrewvos>
Well, I'm guessing you wouldn't actually implement #authorised?, maybe perhaps #forbidden? is more correct.
neocoin has quit [Remote host closed the connection]