kurko__ has quit [Quit: Computer has gone to sleep.]
spong107 has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
rippa has joined #ruby-lang
pygmael has joined #ruby-lang
jxie has quit [Ping timeout: 245 seconds]
jxie_ has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
wizonesolutions has joined #ruby-lang
nXqd has joined #ruby-lang
woollyams has quit [Ping timeout: 260 seconds]
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen has joined #ruby-lang
anildigital_work has joined #ruby-lang
jMCg has quit [Ping timeout: 252 seconds]
jMCg has joined #ruby-lang
jMCg has joined #ruby-lang
jMCg has quit [Changing host]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has quit [Read error: Connection reset by peer]
ben___ has joined #ruby-lang
herpless_ has quit [Ping timeout: 256 seconds]
ben___ has left #ruby-lang [#ruby-lang]
herpless_ has joined #ruby-lang
ivanoats has joined #ruby-lang
bnagy has joined #ruby-lang
wizonesolutions has quit [Ping timeout: 245 seconds]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
tonni_ has quit [Remote host closed the connection]
ivanoats has quit [Ping timeout: 276 seconds]
apeiros_ has quit [Remote host closed the connection]
mjio has quit []
szheng_ has left #ruby-lang [#ruby-lang]
dhruvasagar has quit [Ping timeout: 246 seconds]
security has quit [Ping timeout: 246 seconds]
tonni has joined #ruby-lang
dhruvasagar has joined #ruby-lang
cha1tanya has quit [Ping timeout: 245 seconds]
blacktulip has joined #ruby-lang
cha1tanya has joined #ruby-lang
cha1tanya has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
brianpWins has joined #ruby-lang
_whitelogger has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
_whitelogger_ has joined #ruby-lang
_whitelogger_ has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
charliesome has joined #ruby-lang
charliesome has joined #ruby-lang
barttenbrinke has joined #ruby-lang
barttenbrinke has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
_whitelogger_ has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
symm- has quit [Read error: Operation timed out]
ivanoats has quit [Ping timeout: 256 seconds]
havenwood has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
workmad3 has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
mixandgo has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
barttenbrinke has quit [Remote host closed the connection]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
postmodern has quit [Quit: Leaving]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
barttenbrinke has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
sustainableweb has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
sustainableweb has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has quit [Read error: Connection reset by peer]
naquad has quit [Excess Flood]
tonni has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
naquad has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has quit [Read error: Connection reset by peer]
spuk_ has quit [Ping timeout: 256 seconds]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
benlovell has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
holgerno has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
dr_bob has joined #ruby-lang
holgerno has left #ruby-lang [#ruby-lang]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ryez has joined #ruby-lang
tallship has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has quit [Read error: Connection reset by peer]
nertzy has quit [Ping timeout: 256 seconds]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
as-cii has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
tbuehlmann has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
sustainableweb has joined #ruby-lang
nertzy has joined #ruby-lang
sustainableweb has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
skade has quit [Client Quit]
tonni has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
skade has joined #ruby-lang
sustainableweb has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
sustainableweb has quit [Read error: Connection reset by peer]
alessio_rocco has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
hasimo-t has quit [Remote host closed the connection]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
<yorickpeterse>
zenspider: tbh I'm not even sure if Bacon uses #inspect to compare objects, I believe it actually uses equal? for it
<yorickpeterse>
also good morning
ivanoats has quit [Read error: Connection reset by peer]
hasimo-t has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
hasimo-t_ has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
hasimo-t has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
xalei has quit [Remote host closed the connection]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
<whitequark>
yorickpeterse: .equal? wtf
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
<yorickpeterse>
put it this way, to be able to compare some custom object I had to add a #equal method to the class for it to work in Bacon, I however can't find said code
<yorickpeterse>
might've removed it since
ivanoats has quit [Read error: Connection reset by peer]
<zenspider>
he's one of ours and legit... so please unban in a couple hours or something
<apeiros_>
I really wished all clients had some kind of smart join/part notification instead of the stupid "show all" or "show none"
<zenspider>
or he can nag me later I guess
sustainableweb has joined #ruby-lang
<yorickpeterse>
apeiros_: weechat does
<apeiros_>
zenspider: k, if I forget it, feel free to unban
<yorickpeterse>
you can configure it to, for example, only show parts/joins of those who spoke in the past 5 minutes
sustainableweb has quit [Read error: Connection reset by peer]
<zenspider>
apeiros_: mine has a "zomg net split" mode that lists all the people on a single stasus message
<yorickpeterse>
heh
<zenspider>
I wish clients had an exponentially growing autojoin to avoid the above shit
<apeiros_>
yorickpeterse: yeah but if only one client does, and no others, it's still annoying when somebody persistently joins/parts
<yorickpeterse>
true
<zenspider>
anyhow... time to turn the brain off
<apeiros_>
zenspider: that + slow join multiple channels. afaik there's some ircds which kick you when you join too quickly too many channels
<apeiros_>
time to start working here :D
adambeynon has joined #ruby-lang
<yorickpeterse>
working from home, life's good
<yorickpeterse>
No shitty internet, no resting facility next to our building that makes ours shake
<yorickpeterse>
* testing
<yorickpeterse>
heh, resting facility
<yorickpeterse>
(I believe there's a wind tunnel in said facility)
drbrain has quit [Ping timeout: 260 seconds]
judofyr has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
judofyr has quit [Remote host closed the connection]
marr has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
gnufied has joined #ruby-lang
dhruvasagar has joined #ruby-lang
FlyingLeap has joined #ruby-lang
huydx has quit [Quit: huydx]
<whitequark>
yorickpeterse: working from home on your own projects and getting paid for that, can't beat this :p
nignaztic has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 252 seconds]
<yorickpeterse>
Oh I'm not, I'm working on $WORK stuff
<yorickpeterse>
but I get to yell at Blunderer, which is also fun
nazty has quit [Ping timeout: 252 seconds]
<whitequark>
... Blunderer?
<yorickpeterse>
Bundler
<yorickpeterse>
Basically I have this issue:
<yorickpeterse>
Project A has a Gemfile and sits in directory /a, project B also has a Gemfile and is downloaded to /b by project A
<yorickpeterse>
Then project A cd's into /b and runs `bundle install --deployment`
kgrz has joined #ruby-lang
<yorickpeterse>
This is where the issue comes up: Bundler uses the Gemfile of project A regardless of whether I use the --gemfile flag or unset/change BUNDLER_GEMFILE
<yorickpeterse>
In fact, when I use --gemfile=./Gemfile (Which would point to /b/Gemfile) it says specifications have already been loaded
<yorickpeterse>
Yesterday was the first day since a long time where I was about to start throwing shit around because of this
apeiros_ has quit [Remote host closed the connection]
snk has joined #ruby-lang
alessio_1occo has joined #ruby-lang
nkr has joined #ruby-lang
alessio_rocco has quit [Ping timeout: 264 seconds]
apeiros_ has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
cstrahan has joined #ruby-lang
benlovell has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jdsteele__ has joined #ruby-lang
sustainableweb has joined #ruby-lang
mistym has joined #ruby-lang
jdsteele_ has quit [Ping timeout: 248 seconds]
chendo_ has quit [Ping timeout: 256 seconds]
chendo_ has joined #ruby-lang
srbaker has joined #ruby-lang
scampbell has joined #ruby-lang
sustainableweb has quit [Ping timeout: 260 seconds]
sarclops_ has joined #ruby-lang
GarethAdams has joined #ruby-lang
sarclops___ has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
slyphon has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<imperator>
wassup slyphon?
bashdy has quit []
slyphon has quit [Ping timeout: 255 seconds]
lele|w has joined #ruby-lang
anonymuse has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
totallymike has quit [Remote host closed the connection]
simi has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
sarclops___ has joined #ruby-lang
wobblini has quit [Ping timeout: 245 seconds]
sarclops_ has quit [Ping timeout: 264 seconds]
kurko__ has joined #ruby-lang
jxie has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
sebasoga has quit [Quit: Computer has gone to sleep.]
sustainableweb has joined #ruby-lang
jxie has joined #ruby-lang
techlife has quit [Ping timeout: 260 seconds]
wmoxam has joined #ruby-lang
<judofyr>
hey folks
wobblini has joined #ruby-lang
dhruvasagar has joined #ruby-lang
sustainableweb has quit [Read error: Connection reset by peer]
techlife has joined #ruby-lang
jxie has quit [Remote host closed the connection]
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
heftig has quit [Quit: Quitting]
jxie has joined #ruby-lang
heftig has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
jxie has quit [Ping timeout: 252 seconds]
mistym has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
jxie has joined #ruby-lang
sush24 has joined #ruby-lang
sustainableweb has joined #ruby-lang
sustainableweb has quit [Remote host closed the connection]
davidbalber|away is now known as davidbalbert
cstrahan has quit [Ping timeout: 264 seconds]
<imperator>
howdy judofyr
<injekt>
helo
kgrz has quit [Ping timeout: 246 seconds]
as-cii has joined #ruby-lang
Guest65548 has joined #ruby-lang
techlife has quit [Ping timeout: 246 seconds]
Guest65548 has left #ruby-lang [#ruby-lang]
malev has joined #ruby-lang
techlife has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
sebasoga has joined #ruby-lang
madveru has left #ruby-lang [#ruby-lang]
vlad_starkov has quit [Remote host closed the connection]
<andrewvos>
rue: I am in a meeting and someone is explaining a large java project structure. I though of your java "indistinguishable from parody" tweet and completely lost it. Couldn't stop laughing.
manveru has joined #ruby-lang
vlad_starkov has joined #ruby-lang
nmeum has joined #ruby-lang
<imperator>
something something maven
Guest65548 has joined #ruby-lang
kogent has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
kith_ is now known as kith
bantic has joined #ruby-lang
<injekt>
andrewvos: did you see that enterprise fizzbuzz that gained popularity recently?
barttenbrinke has quit [Remote host closed the connection]
TvL2386 has quit [Remote host closed the connection]
cstrahan has joined #ruby-lang
<manveru>
apeiros_: thx
<apeiros_>
yw :)
<manveru>
thought my client does that by itself... but haven't been disconnected for months
<hramrach>
apeiros_: I did not find any example of error handling in any of the ole docs
<apeiros_>
hramrach: a useful one? "I call ole method" is about as useless as it gets. try to think what information you'd need if you had to help.
<hramrach>
this is an error, the call should return 0
valeri_uF0 has joined #ruby-lang
<hramrach>
but I have no idea where to lookup error meaning
<judofyr>
zzak: then in your template you can say: `def default_encoding; 'UTF-8'; end` and the input string will always UTF-8
jperry2 has joined #ruby-lang
kentos has joined #ruby-lang
<hramrach>
the method description in msdn includes 1 return value which is different
<judofyr>
zzak: if you want to have it work with current Tilt, I guess you could just @data.force_encoding('UTF-8')
<jperry2>
anyone have any suggestions on how to test the usage of PStore?
<jperry2>
I'm using fakefs but doesn't seem to work together
<jperry2>
I'd hate to have the tests actually write to the filesystem
<hramrach>
specifically
<hramrach>
WBEM_E_ENCRYPTED_CONNECTION_REQUIRED
<hramrach>
0x80041087
mroth__ has joined #ruby-lang
kurko______ has joined #ruby-lang
kurko______ has quit [Max SendQ exceeded]
<zzak>
judofyr: ok, so pass :encoding to markdown() ?
dumfries has joined #ruby-lang
kurko______ has joined #ruby-lang
<hramrach>
apeiros_: is interpreting error method specific? or is there any meaning to the number returned bu the extension at all?
<judofyr>
zzak: if your template can only handle UTF-8, it's better to just force_encoding('UTF-8') in #prepare
<apeiros_>
hramrach: you give zero context. you know, from what you've said so far I gather you're using the windows OLE interface. but nothing else. but with OLE I can't help.
<apeiros_>
hramrach: context matters. people can't read your mind what you're doing or trying to do.
<apeiros_>
they don't magically figure what precise method you called with what params etc.
<hramrach>
I want to know what 9650 means
dhruvasagar has joined #ruby-lang
<hramrach>
does that depend on the method?
<apeiros_>
it depends on your *context*.
<apeiros_>
and yes, the method is quite probably part of it
TheNotary has joined #ruby-lang
<apeiros_>
after all, for 1000+8650, the 9650 means you've successfully added two integers…
<hramrach>
of course, you need to call a method to get an error
kentos has left #ruby-lang ["Leaving"]
<zzak>
judofyr: on @output?
<apeiros_>
meh
tonni has joined #ruby-lang
<manveru>
there's a function to return a message for the error code i think
simi has joined #ruby-lang
<apeiros_>
not in the mood to teach somebody to ask for help in a meaningful way.
priodev_ has joined #ruby-lang
<judofyr>
zzak: not sure how Redcarpet handles that stuff. you might need it on @output, yes
<hramrach>
manveru: yes, such function would be awesome but none of the examples I saw invokes one
<gnufied>
check documentation of OLE lib or OLE itself perhaps
<gnufied>
not sure, if anyone can help with 9650
carloslopes has quit [Remote host closed the connection]
cstrahan has joined #ruby-lang
kurko__ has quit [*.net *.split]
mroth_ has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
priodev has quit [*.net *.split]
achiu has quit [*.net *.split]
dumfries_ has quit [*.net *.split]
shinh has quit [*.net *.split]
r_s_h has joined #ruby-lang
havenwood has joined #ruby-lang
TheNotary has quit [Client Quit]
TheNotary has joined #ruby-lang
workmad3 has joined #ruby-lang
techlife has quit [Ping timeout: 240 seconds]
<jperry2>
probably just have to let PStore write the pstore file to disk since FakeFS doesn't play nice and ensure I clean up afterwards
TheNotary has quit [Client Quit]
gnufied has quit [Quit: Leaving.]
<eam>
is there a way to turn off argument completion in OptionParser?
<zzak>
now one empty string (F), and encoding error
<eam>
I don't want to break future users by adding options and changing the availability of short versions
<judofyr>
zzak: heh
davidbalber|away is now known as davidbalbert
<hramrach>
well, looking more closely there is WIN32OLERuntimeError which is an exception
<eam>
eg I provide --example (which OptionParser helpfully allows to be used as -e) and then later supply --extra, so now the implicit "-e" option is invalid
carloslopes has quit [Remote host closed the connection]
mbull9 has joined #ruby-lang
carloslopes has joined #ruby-lang
et has joined #ruby-lang
tonni has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
et has left #ruby-lang [#ruby-lang]
bzalasky has quit [Remote host closed the connection]
ruby-lang808 has joined #ruby-lang
ruby-lang725 has joined #ruby-lang
Guest65548 has quit [Quit: Guest65548]
qqroach_ has joined #ruby-lang
pepper_chico has quit [Quit: Computer has gone to sleep.]
ruby-lang808 has quit [Ping timeout: 245 seconds]
<judofyr>
zzak: the correct way in Tilt 1.4 would be to define #default_encoding (and thus #data will be set correctly) and then Redcarpet *really* ought to return strings with UTF-8 encodings
sandbags has joined #ruby-lang
nguerin has quit [Ping timeout: 245 seconds]
sailias has quit [Ping timeout: 240 seconds]
imperator has quit [Quit: Leaving]
<zzak>
judofyr: sinatra still uses tilt 1.2~1.3
<zzak>
:(
<judofyr>
zzak: 1.4 isn't released yet :)
<zzak>
that too
<zzak>
but sinatra 1.2 and 1.3 will be maintained for a while yet
<zzak>
wondering if i should switch to a pure-ruby markdown parser, instead of redcarpet
<judofyr>
I'm hoping Tilt 1.4 won't bring too many incompatbilities with it
<zzak>
sweet
<zzak>
im glad you're maintaining tilt now
Dillon has joined #ruby-lang
<zzak>
keep up the good work!
Dillon is now known as Guest74435
stephenp has quit [Remote host closed the connection]
<drbrain>
zzak: I'm unsure if I have hooks for adding extra lexers through a plugin or not
<yorickpeterse>
#inspect is in Kernel, which isn't directly included into BasicObject
<apeiros_>
yorickpeterse: correct. I still think Array#inspect and other collections should be able to return a String no matter what
wyhaines has joined #ruby-lang
<apeiros_>
yorickpeterse: that's besides the point
<yorickpeterse>
well, BasicObject doesn't have #to_s so it can't :)
<apeiros_>
it doesn't matter *why* BasicObject doesn't have inspect
<yorickpeterse>
Having said that, it should have it
<zzak>
drbrain: thats essentially what im trying to do
<yorickpeterse>
as in, it makes no sense not to
<apeiros_>
it doesn't matter why *any* element in the array doesn't have inspect
<apeiros_>
no, I think it makes sense that BasicObject doesn't have it
<apeiros_>
I think it'd even make sense if BasicObject had no methods at all.
<apeiros_>
not even __send__ and __id__
<drbrain>
zzak: this document seems to be the equivalent of "write an RDoc::Markup::Formatter" more than "write a lexer for syntax highlighting what goes in a code fence"
wyhaines has quit [Remote host closed the connection]
<banisterfiend>
apeiros_: wht about object_id? :)
<apeiros_>
banisterfiend: none
<banisterfiend>
ah it doesnt have it
srbaker has joined #ruby-lang
<drbrain>
apeiros_: there is something in the guts of ruby to DTRT when an object misbehaves in its #inspect or #to_s
<drbrain>
but it obviously doesn't do enough of the right thing
<apeiros_>
drbrain: I'd wish for X (and X could actually be BasicObject, the class) with X.object_responds_to?(obj, method_name, priv=false), send_to_object(obj, meth, *args, &block), etc.
kogent has quit [Quit: kogent]
<apeiros_>
that'd allow to have a real BasicObject. not the half-assed try we have now.
<zzak>
drbrain: have anything to do with Markup::ToHTML#accept_verbatim ?
<zzak>
maybe i can just reopen the ToHTML formatter
<drbrain>
zzak: yep, that's where such a hook would go
<Kero>
myeah. undefined method inspect for -here it comes- #<BasicObject:0xdeadbeef> -- so it can print something (would be an interesting recursive exception, wouldn't it?)
rwk1 has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
chris2 has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
<apeiros_>
Kero: no need for deadbeef currently. there's BasicObject#__id__
r0bby has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<Kero>
didn't want to copy eval-in's hexnumber
robbyoconnor has quit [Ping timeout: 245 seconds]
<drbrain>
zzak: a nice feature would be to extract that if statement in the middle there into a hash that can be filled in
<drbrain>
… with extra lexers for syntax highlighting
mixandgo has quit [Quit: mixandgo]
judofyr has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 264 seconds]
<zzak>
hmm
<zzak>
where does verbatim.ruby? come from?
<drbrain>
zzak: do you use TAGS?
<zzak>
oh Verbatim
<drbrain>
yes
<zzak>
i have ctags and tagbar
<banisterfiend>
apeiros_: u could write a cute gem for that easily enough
shortfeather has quit [Quit: shortfeather]
<banisterfiend>
you'd obv. need to use C api though but it's ez
<apeiros_>
banisterfiend: working on it. there's things I can't, though
<drbrain>
zzak: then, :tag ruby? ☺
<drbrain>
or ^] on the method name
<apeiros_>
banisterfiend: e.g. I can't emulate Object#instance_variables
srbaker has quit [Quit: Computer has gone to sleep.]
<banisterfiend>
apeiros_: well u can do it easily enough via C, have you been writing it in C ?
<zzak>
no tags file found :(
pr0ton has quit [Quit: pr0ton]
kurko__ has quit [Quit: Computer has gone to sleep.]
<apeiros_>
banisterfiend: don't want to add C. no, pure ruby. moment…
<drbrain>
zzak: put this in a `retag`: rm -f TAGS; /usr/local/bin/ctags -R --languages=Ruby,Lisp,YACC,C,C++ -f TAGS --exclude=".git|.svn|vendor|db|pkg" .
<banisterfiend>
whitequark: so u'd have to patch that i guess, but we can add proper api for it if u like, just file an issue https://github.com/pry/pry/issues
<banisterfiend>
whitequark: but u can always just define your own prompt
vlad_starkov has joined #ruby-lang
muttonlambaus has joined #ruby-lang
<banisterfiend>
whitequark: we learned the hard way not to do a full inspect in there :) for example, some people were doing binding.pry inside really huge objects (i.e with megs of json/xml data in them)
<banisterfiend>
and pry wouldn't even load up
<banisterfiend>
cos it would be taking mins/hours just to show the prompt :)
r_s_h has quit []
muttonlambaus has quit [Client Quit]
<whitequark>
banisterfiend: well I have a reason to wrap practically every small ruby object in a proxy
<whitequark>
and unwrapping all of them manually sucks
rwk1 has quit [Ping timeout: 260 seconds]
<banisterfiend>
whitequark: we could add a Pry.config.safe_to_inspect option which has Fixnum, false, nil etc in there by default, and you could append your own stuff to it
<banisterfiend>
just havne't had anyone ask for it yet
vlad_starkov has quit [Ping timeout: 245 seconds]
Rarrikins_s has joined #ruby-lang
jdsteele has quit [Ping timeout: 252 seconds]
<whitequark>
banisterfiend: #885
<banisterfiend>
whitequark: btw, if your objects take a really long time to inspect in pry (outside the prompt, just for evaluation output) you can press ^C and it'll quit the #inspect and just show a Pry.view_clip version of it
<banisterfiend>
i've found that really handy when working with json
<banisterfiend>
whitequark: thanks
dustint has quit [Quit: Leaving]
Rarrikins has quit [Ping timeout: 264 seconds]
jdsteele has joined #ruby-lang
jdsteele has quit [Ping timeout: 264 seconds]
gregmoreno has quit [Remote host closed the connection]