<postmodern>
`debug': malformed format string - %l (ArgumentError)
<drbrain>
"The message is identical to a printf(3) format string, except that `%m' is replaced by the current error message."
<postmodern>
ugh
<drbrain>
postmodern: so you're pretty much asking for exploits logging user input to syslog
kgrz has joined #ruby-lang
<postmodern>
where is the documentation for syslog.debug ?
<postmodern>
drbrain, is the format string being interpreted by printf(3) or ruby's printf ?
<drbrain>
debug is a metaprogrammed method
<drbrain>
postmodern: stdlib printf
<drbrain>
Syslog is a thin wrapper
<drbrain>
postmodern: you probably want to use Syslog::Logger
<postmodern>
drbrain, ok that shouldn't be a problem, only libc printf is vulnerable to format strings, last i checked stdlib printf counts the arguments
<postmodern>
drbrain, yes actually i do, but this code is still stuck on 1.9.3 ;)
<drbrain>
postmodern: sorry, I meant libc printf
<drbrain>
if you log through %s you'll be fine '%s', user_input_containing_message
sepp2k has quit [Quit: Leaving.]
kgrz has quit [Ping timeout: 240 seconds]
<postmodern>
drbrain, so syslog_write calls rb_f_sprintf
<drbrain>
ah, I did not know
<postmodern>
drbrain, which calls rb_str_format, which appears to check arguments
<postmodern>
drbrain, so i guess i could do gsub('%', '%')
<drbrain>
postmodern: I would syslog.debug '%s', message
<postmodern>
drbrain, even better
vlad_starkov has joined #ruby-lang
<postmodern>
drbrain, excellent that did it
<postmodern>
Syslog::Logger, another reason to upgrade
r0bby has joined #ruby-lang
<drbrain>
I guess I need to release the gem for backwards compatibility
<drbrain>
there's the old-style gem still
<drbrain>
… not fully compatible with what's in ruby 2
r0bby is now known as robbyoconnor
vlad_starkov has quit [Ping timeout: 240 seconds]
toretore has quit [Quit: Leaving]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SilverKey has joined #ruby-lang
hogeo has joined #ruby-lang
SilverKey has quit [Client Quit]
julweber_ has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
julweber has quit [Ping timeout: 248 seconds]
mdedetrich has joined #ruby-lang
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 240 seconds]
gregmoreno has quit [Remote host closed the connection]
poga has joined #ruby-lang
Kellin has joined #ruby-lang
tkuchiki has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
pkrnj has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
tylersmith has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 248 seconds]
jsullivandigs has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 240 seconds]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
nathanstitt has quit [Quit: I growing sleepy]
robbyoconnor has quit [Ping timeout: 240 seconds]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
apeiros has quit [Ping timeout: 240 seconds]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
duph1 has quit [Quit: Leaving.]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
pkrnj has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
tylersmith has quit [Remote host closed the connection]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
joshuawscott has quit [Quit: Leaving.]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 248 seconds]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 240 seconds]
bzalasky has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
hahuang65 has quit [Quit: Computer has gone to sleep.]
bzalasky has quit [Remote host closed the connection]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
towski has quit [Remote host closed the connection]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
bnagy_ has left #ruby-lang [#ruby-lang]
Guest33963 has quit [Ping timeout: 240 seconds]
jsullivandigs has joined #ruby-lang
ffio has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
earthquake has quit [Quit: earthquake]
pskosinski has quit [Quit: Til rivido Idisti!]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
kstuart has quit [Ping timeout: 245 seconds]
duph1 has joined #ruby-lang
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Read error: Connection reset by peer]
Averna has joined #ruby-lang
Averna has quit [Client Quit]
dhruvasagar has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
jstorimer has quit [Remote host closed the connection]
intellitech has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
maxmanders has joined #ruby-lang
duph1 has quit [Quit: Leaving.]
joshuawscott has joined #ruby-lang
CaptainJet has quit []
nathanstitt has quit [Quit: Laters]
maxmanders has quit [Max SendQ exceeded]
phracker has quit [Ping timeout: 240 seconds]
CaptainJet has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
duph has joined #ruby-lang
cmaxw_ has joined #ruby-lang
cored has joined #ruby-lang
vlad_starkov has joined #ruby-lang
CaptainJet has quit []
CaptainJet has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 256 seconds]
fedesilva has quit [Read error: Connection reset by peer]
fedesilva has joined #ruby-lang
krz has joined #ruby-lang
io_syl has quit [Ping timeout: 248 seconds]
GeissT has joined #ruby-lang
ledestin has quit [Quit: ledestin]
cored has quit [Ping timeout: 248 seconds]
bzalasky has joined #ruby-lang
dLog_ has joined #ruby-lang
kgrz has joined #ruby-lang
Xzyx987X_ has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
jperry_ has joined #ruby-lang
mytrile_ has joined #ruby-lang
jasiek_ has joined #ruby-lang
jmeeuwen_ has joined #ruby-lang
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
faces has joined #ruby-lang
setmeaway has quit [Quit: Leaving]
danrabinowitz has joined #ruby-lang
fedesilv_ has joined #ruby-lang
bzalasky_ has joined #ruby-lang
snk_ has joined #ruby-lang
igalic_ has joined #ruby-lang
jroes has joined #ruby-lang
drbrain_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
bougyman has joined #ruby-lang
Aww_ has joined #ruby-lang
bzalasky has quit [*.net *.split]
fedesilva has quit [*.net *.split]
drbrain has quit [*.net *.split]
bougyman_ has quit [*.net *.split]
mytrile has quit [*.net *.split]
djinni` has quit [*.net *.split]
jroes_ has quit [*.net *.split]
dLog has quit [*.net *.split]
jperry has quit [*.net *.split]
face has quit [*.net *.split]
Xzyx987X has quit [*.net *.split]
jasiek has quit [*.net *.split]
Kellin has quit [*.net *.split]
EvilAww has quit [*.net *.split]
igalic has quit [*.net *.split]
danrabinowitz_ has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
snk has quit [*.net *.split]
eban has quit [*.net *.split]
kke has quit [*.net *.split]
khaase_ has quit [*.net *.split]
jwollert has quit [*.net *.split]
whitequark has quit [*.net *.split]
sonne has quit [*.net *.split]
xuser has quit [*.net *.split]
Guest74607 has quit [*.net *.split]
jperry_ is now known as jperry
jmeeuwen_ is now known as jmeeuwen
arooni-mobile has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
djinni` has joined #ruby-lang
Weems has joined #ruby-lang
fooqri has joined #ruby-lang
jstorimer has joined #ruby-lang
eban has joined #ruby-lang
pipework has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
pkrnj has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
setmeaway has joined #ruby-lang
Aww_ is now known as EvilAww
bzalasky_ has quit [Remote host closed the connection]
gozes has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
headius has joined #ruby-lang
flip_digits has joined #ruby-lang
whitequark has joined #ruby-lang
Guest74607 has joined #ruby-lang
jwollert has joined #ruby-lang
sonne has joined #ruby-lang
khaase_ has joined #ruby-lang
xuser has joined #ruby-lang
vlad_starkov has joined #ruby-lang
io_syl has joined #ruby-lang
fedesilva has joined #ruby-lang
bzalasky has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
fedesilv_ has quit [Ping timeout: 245 seconds]
cmaxw_ has quit [Quit: cmaxw_]
duph has quit [Quit: Leaving.]
pkrnj has joined #ruby-lang
scottschecter has quit [Ping timeout: 276 seconds]
<gnufied>
grr, nickserv. finally I got my voice back
Oak__ has joined #ruby-lang
kgrz has joined #ruby-lang
hahuang65 has joined #ruby-lang
Oak__ has left #ruby-lang [#ruby-lang]
ffio has quit [Quit: WeeChat 0.4.1]
kgrz has quit [Ping timeout: 240 seconds]
Oak has joined #ruby-lang
akurilin has quit [Quit: Leaving]
mistym has joined #ruby-lang
jxie has joined #ruby-lang
ffio has joined #ruby-lang
lsegal has joined #ruby-lang
Guest34797 has quit [Read error: Connection reset by peer]
krz has quit [Quit: krz]
krz has joined #ruby-lang
krz has quit [Client Quit]
robbyoconnor has joined #ruby-lang
krzkrzkrz has joined #ruby-lang
fedesilva has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 246 seconds]
cordax has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
krzkrzkrz has quit [Quit: krzkrzkrz]
krz has joined #ruby-lang
pipework has quit [Remote host closed the connection]
netShadow has quit [Quit: netShadow]
fooqri has quit [Quit: fooqri]
pipework has joined #ruby-lang
apeiros has joined #ruby-lang
Domon has joined #ruby-lang
nuoymit has joined #ruby-lang
<nuoymit>
what's the diff between #ruby and #ruby-lang
Domon has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
<gnufied>
#ruby is for discussing about ruby the stone, #ruby-lang is about ruby the programming language
<gnufied>
:P
bzalasky has joined #ruby-lang
<xuser>
nuoymit: I guess this one is the official since its mentioned in ruby-lang.org
<xuser>
nuoymit: don't search how many rails channels are there ;)
<nuoymit>
just wanted to know where to ask my ruby question :P
<xuser>
nuoymit: In any of the two I guess
xxaM has joined #ruby-lang
<zzak__>
gnufied: must be nice
Weems has quit [Ping timeout: 246 seconds]
gozes has left #ruby-lang [#ruby-lang]
joshuawscott has quit [Quit: Leaving.]
jg has joined #ruby-lang
Weems has joined #ruby-lang
erichmenge_ has quit [Quit: Arrivederci!]
erichmenge has joined #ruby-lang
jonahR has joined #ruby-lang
CaptainJet has quit []
ffio has quit [Quit: WeeChat 0.4.1]
cd has joined #ruby-lang
cordax has quit [Quit: Computer has gone to sleep.]
cd is now known as Guest46448
dhruvasagar has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
Guest91768 is now known as hashkey
vlad_starkov has quit [Remote host closed the connection]
Guest46448 has quit [Quit: This computer has gone to sleep]
duph has joined #ruby-lang
Domon has joined #ruby-lang
apeiros has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
jsullivandigs has quit [Remote host closed the connection]
nuoymit has left #ruby-lang [#ruby-lang]
Xzyx987X_ has quit [Read error: Connection reset by peer]
poga has quit [Remote host closed the connection]
Xzyx987X_ has joined #ruby-lang
workmad3 has joined #ruby-lang
bri has quit [Ping timeout: 248 seconds]
hhatch has joined #ruby-lang
kgrz has joined #ruby-lang
duph1 has joined #ruby-lang
duph has quit [Read error: Connection reset by peer]
Bahman has joined #ruby-lang
kgrz has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
headius has quit [Quit: headius]
spike|spiegel has quit [Quit: WeeChat 0.4.1]
bri has joined #ruby-lang
cd has joined #ruby-lang
cd is now known as Guest93956
vlad_starkov has quit [Ping timeout: 240 seconds]
fragamus has joined #ruby-lang
skade has joined #ruby-lang
ffio has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
MartynKeigher2 has quit [Ping timeout: 245 seconds]
kgrz has joined #ruby-lang
MartynKeigher has joined #ruby-lang
ffio has quit [Ping timeout: 245 seconds]
hogeo has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
duph2 has joined #ruby-lang
hogeo has joined #ruby-lang
duph1 has quit [Ping timeout: 240 seconds]
hhatch has quit [Ping timeout: 240 seconds]
hogeo has quit [Ping timeout: 246 seconds]
joshuawscott has joined #ruby-lang
arooni-mobile has joined #ruby-lang
Y_Ichiro has quit [Read error: Connection reset by peer]
Y_Ichiro has joined #ruby-lang
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Changing host]
skade has quit [Quit: Computer has gone to sleep.]
joshuawscott has quit [Ping timeout: 245 seconds]
jonahR has quit [Quit: jonahR]
matson__ has left #ruby-lang [#ruby-lang]
geopet has quit [Quit: geopet]
jstorimer has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
FastJack has quit [Quit: leaving]
mytrile_ has quit [Remote host closed the connection]
Weems has quit [Ping timeout: 248 seconds]
geopet has joined #ruby-lang
brianpWins has joined #ruby-lang
FastJack has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
roadt has joined #ruby-lang
hashkey has quit [Ping timeout: 240 seconds]
hashkey has joined #ruby-lang
hashkey is now known as Guest70836
Weems has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
tkuchiki has quit [Remote host closed the connection]
kgrz has quit [Remote host closed the connection]
nertzy2 has joined #ruby-lang
kgrz has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
nertzy has quit [Ping timeout: 240 seconds]
kgrz has quit [Ping timeout: 248 seconds]
flip_digits has quit [Remote host closed the connection]
kennyp_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
Phoop has joined #ruby-lang
julweber_ has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 245 seconds]
vmoravec has left #ruby-lang [#ruby-lang]
hhatch has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
solars has joined #ruby-lang
joshuawscott has joined #ruby-lang
jstorimer has quit [Read error: Connection reset by peer]
kennyp_ has left #ruby-lang [#ruby-lang]
geopet has quit [Quit: geopet]
floord has joined #ruby-lang
joshuawscott has quit [Ping timeout: 240 seconds]
brianpWins has quit [Quit: brianpWins]
joschi has joined #ruby-lang
skade has joined #ruby-lang
relix has joined #ruby-lang
firstdayonthejob has quit [Quit: WeeChat 0.4.1]
lsegal has quit [Ping timeout: 246 seconds]
julweber has joined #ruby-lang
<Joni_79>
Hi. I'm trying to create a proxy class: https://gist.github.com/vuorejo1/5973317 Idea is that I can call it like Analyzer.new(OtherClass.new) or Analyzer.new(OtherClass.some_method) and record at least what methods were used calling OtherClass. How can I extract that info from @object?
jg has quit [Ping timeout: 240 seconds]
<Joni_79>
I've been reading about attr_accessor and attr_reader / attr_writer but I'm not sure if they are usefull here
<Nilium>
You probably want to replace all the methods on the object, then.
<Joni_79>
should I just try to take the target_object parameter and do some string operations it to extract the method name?
<Nilium>
Unless I'm not understanding what you're asking.
<Nilium>
are you asking how to attach something to an object such that it knows every method called by something using the given object?
<Joni_79>
I wish that the OtherClass.something call works as it would without the proxy, but I also want to record what methods were used to call it
<Nilium>
So you want to know callee, not the method being called?
kgrz has joined #ruby-lang
<Joni_79>
I want to know the method being called
<Joni_79>
and record it to an array perhaps
<Joni_79>
probably array :)
<Joni_79>
my problem is that after I've stored that call into @object I do not know how to analyze it to extract the method name
<Joni_79>
afk for 20 min
<Nilium>
I.. do not follow.. stored a call into @object?
<Nilium>
You haven't stored a call to anything. You've stored an object.
kgrz has quit [Ping timeout: 256 seconds]
marr has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Weems has quit [Ping timeout: 240 seconds]
<injekt>
moin
<injekt>
maloik: sorry I dropped the ball on that gist, I'd pretty much write it how whitequark does in parser, use standard inheritance for commands
fragamus has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
<Joni_79>
Nilium: ok. So I've stored an object. Can I somehow after that find out some properties about the object?
<Nilium>
How about you be specific about the properties.
<Nilium>
I'm not going to guess at what you're doing because you want to be vague about it.
<Joni_79>
it should be generic, eg. It's just a proxy between that stores data about the calls passed to it
[dmp]_ has quit [Remote host closed the connection]
<Nilium>
So do you know about send and method_missing?
<Nilium>
'Cause I just whipped up a quick script that does that.
<Joni_79>
something little about send and I've seen method_missing? but don't really know what it does
<Nilium>
So what do you do if you don't know about these things?
<Joni_79>
Nilium: I try to learn..? :)
<Nilium>
Well, "check the documentation" was what I was aiming for, but close enough.
<Joni_79>
that's the meta level, I'm trying to learn stuff
<Nilium>
.. What?
<Nilium>
When did documentation become meta-level?
<Joni_79>
Ruby in general is what I'm trying to learn
<Nilium>
What hideous awful terrible despicable person taught you that?
<Nilium>
You learn Ruby by reading the documentation and then doing things.
<Joni_79>
and this specific problem is what I'm trying to solve now, and documentation is the place I've been reading, but in the wrong places it seems
<Nilium>
You don't go "well I'll do this and then read the docs and figure out what I actually did"
Voker57 has quit [Ping timeout: 240 seconds]
<Joni_79>
yes, well thanks for you help. I'll go read about those methods you pointed out. thanks.
<Nilium>
Really, what you want to do takes a maybe 15 lines or os, so it's not hard if you just know what you're looking for.
<Nilium>
*so
<Joni_79>
I'm so noob that I don't always know what I'm looking for. :/
<Nilium>
That's why I pointed you towards send and method_missing
<injekt>
meta documentation!
<injekt>
also, just open irb and do something
<Nilium>
I'm having fun with this whole overriding send/method_missing thing.
<Nilium>
Though the only practical use I've had for it was generating swizzle functions for vectors.
<injekt>
>> class Foo; def method_missing(m, *); puts "You called #{m} but it doesnt exist omg"; end; end; Foo.new.zomg
runeb has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
realDAB has quit [Quit: realDAB]
TvL2386 has joined #ruby-lang
arooni-mobile has quit [Remote host closed the connection]
skade has joined #ruby-lang
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
<TvL2386>
hi guys, I've been programming occasionally in Ruby for a few years now, done stuff in Rails, but keep having difficulties modeling and programming larger applications. Are there some guides out there to help one on the way of not getting lost in spaghetti code? (that's how I feel)
_jpb_ has joined #ruby-lang
<whitequark>
TvL2386: try doing TDD. it (when done right) forces you to decouple your code into neat independent modules
<whitequark>
and exposes all dependencies
<whitequark>
at least that's how it worked for me.
chris_c has joined #ruby-lang
mistym has joined #ruby-lang
skade has quit [Ping timeout: 276 seconds]
jstorimer has quit [Remote host closed the connection]
<whitequark>
Rails apps also naturally tend to become big entangled balls of code :)
<TvL2386>
whitequark, been doing some TDD, but still having issues really kicking it off
dhruvasagar has quit [Ping timeout: 246 seconds]
<TvL2386>
whitequark, mostly because I can't see at forehand exactly how I want it... or how it should behave... probably means that phase needs way more attention
<whitequark>
yes.
Zeeo has quit [Quit: and then one day you'll pack up, fly down south... hide your head in the sand]
<Uranio>
it is a "metodological problem"
<TvL2386>
when something pops up, I usually dive in. Creating lots of bugs and things that don't work... Lots of oopsies...
<yorickpeterse>
haha wtf curb-fu doesn't load curb for you
<TvL2386>
When starting TDD, would rspec be a good start?
<whitequark>
most people are using rspec, though I would recommend minitest
<yorickpeterse>
...and we don't even seem to use it
<whitequark>
rspec has its own language, and it isn't small. it's easy to get caught in its peculiarities.
jstorimer has joined #ruby-lang
<whitequark>
whereas minitest is just a dozen or so of functions
<whitequark>
(from your perspective at least; though it isn't big itself)
<havenwood>
TvL2386: +1 Minitest
<TvL2386>
havenwood, thanks for the suggestion!
mreq has joined #ruby-lang
<yorickpeterse>
whitequark: so would you say you prefer Bacon or Minitest?
maxmanders has joined #ruby-lang
<yorickpeterse>
(given Minitest can also do BDD syntax)
<whitequark>
yorickpeterse: fuck BDD
<whitequark>
and while bacon is neat, it's way too minimalistic
realDAB has joined #ruby-lang
<whitequark>
I used it in the past but I switched to minitest
<yorickpeterse>
heh
<yorickpeterse>
It usually suits my needs but the moment you want anything extra you have to hack things
<yorickpeterse>
I mostly just need `foo.should == bar` and that's about it really
<yorickpeterse>
inb4 it should be called "must" or w/e, I don't care
maxmanders has quit [Max SendQ exceeded]
<whitequark>
no one does
maxmanders has joined #ruby-lang
<whitequark>
though, according to rfc2119, it should be called either `must' or `shall'
* whitequark
ducks
<blowmage>
assert_equal bar, foo / foo.must_equal bar
<yorickpeterse>
that joke SHOULD have been funny
<blowmage>
MAY
<yorickpeterse>
In true rspec fashion it would be `some_value.should_equal_the_value_of(derp)`
realDAB has quit [Client Quit]
<whitequark>
yorickpeterse: if that joke isn't funny, you are simply a noncompliant implementation
<whitequark>
and your use should be discouraged and/or deprecated.
cored has quit [Ping timeout: 256 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
intellitech has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
<yorickpeterse>
I'll deprecate your face
<whitequark>
lol
<Uranio>
whitequark: how could I lear about TDD?
<Uranio>
learN
mistym has quit [Remote host closed the connection]
<whitequark>
Uranio: there's like 1001 resource which explains it on the web
<Uranio>
TDD ruby at google do not say so much :/
<TvL2386>
guys, trying minitest now for testing my gem... I have a test/test_my_lib.rb defined and testing in there for having a MyLib::VERSION. I'm getting uninitialized constant MyLib::VERSION. I suppose I need to tell minitest to include MyLib... Where should I generically set that up?
<whitequark>
and the one above is just 5.times.map { PATTERNS.sample }.join
mbr has quit [Quit: leaving]
<ericwood>
AbstractSingletonProxyFactoryBean
<whitequark>
ericwood: I just posted it ;)
<Nilium>
So it's an abstract singleton proxy fac- how fucking high do you need to be for the existence of that to be justifiable?
<ericwood>
I think the one I was truly looking for was much worse though
<ericwood>
which is hard to fathom
<whitequark>
I especially like the comment on RequestProcessorFactoryFactory
<ericwood>
>.>
<yorickpeterse>
good ol `column -t` to the rescue
<whitequark>
>The default RequestProcessorFactoryFactory is the RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory.
<ericwood>
I just want to point out that the page I linked to summarizes everything that's wrong with Java
<ericwood>
oh man that just reads like poetry
<whitequark>
also the doc for AbstractSingletonProxyFactoryBean mentions this:
<whitequark>
"Convenient proxy factory bean superclass for proxy factory beans that create only singletons.
<yorickpeterse>
I honestly can't imagine people writing that and thinking "Man, this is some good code. Today was a good day"
<whitequark>
"convenient", my ass
<ericwood>
lol
<ericwood>
I could barely parse that sentence
soahccc has joined #ruby-lang
<ericwood>
who in their right mind thinks that this is an acceptable way to live life
<ericwood>
I want to know
<yorickpeterse>
some nerd at Oracle
<ericwood>
:'(
<ericwood>
I weep for their soulds
<ericwood>
*souls
<Nilium>
The nerds at oracle do not enjoy it, at least I don't think they do.
<yorickpeterse>
If you write that you don't have one
<Nilium>
Ooo new humble bundle thing time to go waste money
yxhuvud2 has left #ruby-lang [#ruby-lang]
<soahccc>
Anyone know why I can't kill a screen with open3's popen3? It says "screen must be connected to a terminal". With backticks it works but I can't capture the stderr
yxhuvud has joined #ruby-lang
<ericwood>
you can redirect stderr to a file or some crap and read from that
<ericwood>
iirc backticks only capture stdout
<soahccc>
Yeah they do.. I could redirect it but I thought I could use a general approach for all commands I will call.
realDAB has joined #ruby-lang
mbr has joined #ruby-lang
<soahccc>
I guess I'm missing something. The same problem is with "ssh user@host screen". You need -t "force pseudo-tty allocation"
peterc has joined #ruby-lang
<ndrst>
how about net/ssh?
<ndrst>
if the tool you call needs a pseudo tty it's going to become tricky
<soahccc>
It isn't via ssh in my case :) I do a little manager sort of application which calls a lot of things on the command line... I have a wrapper method which currently uses open3 which works generally but not for screen commands
realDAB has quit [Quit: realDAB]
peterc has quit [Ping timeout: 260 seconds]
<yorickpeterse>
damn it, it appears my code results in quite a bit of memory being used for Hash#initialize and Hash#[]=. Sadly I don't think there
<yorickpeterse>
* there's a way around that
<soahccc>
I could redirect stderr to stdout but a separation as with open3 would be nice
<ericwood>
you can totally redirect stderr to stdout
<whitequark>
it's called "proper design" :p
<ericwood>
google it I forgot how
<yorickpeterse>
keyword arguments would save some Hash instances I think, but that wouldn't make it backwards compatible
<whitequark>
they're hashes underneath
<yorickpeterse>
hm
<ericwood>
you're a hash underneath
<ericwood>
we're all just hashes
<ericwood>
.......
breakingthings has joined #ruby-lang
<soahccc>
ericwood: yeah I know with this 1>&2 sort of syntax but then I have one string. two separated would be better
<ericwood>
I want a pony
<yorickpeterse>
also interesting: using Hash#each in combination with instance_variable_set (to easily set a bunch of options) appears to be more resource intensive than using `@foo = options[:bar] || baz`
mistym has joined #ruby-lang
<yorickpeterse>
though the difference is very small
<ericwood>
that's not interesting
<yorickpeterse>
shaddap
maxmanders has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
it's just some weird MS paint pony
<yorickpeterse>
also wtf is ponychan
cofin has joined #ruby-lang
<ericwood>
I'm better off without a weird MS paint pony in my life
<ndrst>
just stumbled uppon that
<yorickpeterse>
suuuuuuuureee
<ndrst>
i sear!
<ndrst>
*swear
<ericwood>
he bookmarked it
symm- has joined #ruby-lang
jg__ has joined #ruby-lang
soahccc has quit [Quit: Legalize it!]
<yorickpeterse>
in regards to my benchmarking adventures, is there some lib (whatever language) where I can just slap my data in and get decent graphs for .e.g. memory usage
<ndrst>
soahccc: btw tried that once, but gave up on WTF error msgs
<yorickpeterse>
probably in similar vain to rrd tool
<yorickpeterse>
(I don't want to hack this together in JS or some crap)
<ndrst>
yorickpeterse: incanter
havenwood has quit [Ping timeout: 240 seconds]
<ndrst>
makes nice graphs, is a bit like R though
<yorickpeterse>
hmm
<yorickpeterse>
this website is hideous
maxmanders has joined #ruby-lang
<yorickpeterse>
hm, this looks like gnuplot
<yorickpeterse>
Ideally I'd just do "These are my axes, this is my data, have fun"
<ndrst>
just with a proper language around it
<ndrst>
excel
<yorickpeterse>
fuck off
<ndrst>
(:
<yorickpeterse>
that means I have to copy-paste all this data into it
<ndrst>
is latex an option?
<yorickpeterse>
Fnordmetric looks ok, but it's more time based
<yorickpeterse>
Plus Highcharts is fucking terrible at lots of data
_jpb_ has quit [Ping timeout: 264 seconds]
<yorickpeterse>
ndrst: eh, I have to feed it data from Ruby
<yorickpeterse>
so I'm not sure
_jpb_ has joined #ruby-lang
<ndrst>
csv it eats
<ndrst>
pgfplots
fenicks has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
<ndrst>
last but no least this google js api stuffsz
geopet has quit [Quit: geopet]
peterc has joined #ruby-lang
saarinen has quit [Quit: saarinen]
<yorickpeterse>
Hm, Graphite might be an option
__butch__ has quit [Quit: Leaving.]
kstuart has joined #ruby-lang
saarinen has joined #ruby-lang
<ndrst>
that looks nice
jstorimer has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
jstorimer has quit [Read error: Connection reset by peer]
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
<yorickpeterse>
this is unreadable as fuck though
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
erikh_ has joined #ruby-lang
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
flip_digits has quit [Remote host closed the connection]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
nick_h has joined #ruby-lang
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
djb_ has joined #ruby-lang
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
braidn has joined #ruby-lang
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
MaddinXx has joined #ruby-lang
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
ericwood_ has joined #ruby-lang
mahlon_ has joined #ruby-lang
io_syl_ has joined #ruby-lang
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
__butch__ has quit [Ping timeout: 264 seconds]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
flip_digits has joined #ruby-lang
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
<yorickpeterse>
apeiros: ^ lots of /parts from Aloysius1
Aloysius1 has joined #ruby-lang
havenwood has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Write error: Connection reset by peer]
Aloysius1 has joined #ruby-lang
Aloysius1 has quit [Read error: Connection reset by peer]
hakunin has quit [Remote host closed the connection]
sepp2k1 has joined #ruby-lang
hakunin has joined #ruby-lang
<yorickpeterse>
So I was about to write "All hail apeiros" but I almost made a rather disasterous freudian slip (if you can even call it that in this case)
jstorimer has quit [Remote host closed the connection]
<yorickpeterse>
I seriously need my tea
cored has quit [Ping timeout: 246 seconds]
beawesomeinstead has quit [Ping timeout: 246 seconds]
kevinfagan has quit [Ping timeout: 246 seconds]
amateurhuman has quit [Ping timeout: 246 seconds]
Iskarlar has quit [Ping timeout: 246 seconds]
nick_h_ has quit [Ping timeout: 246 seconds]
io_syl has quit [Ping timeout: 246 seconds]
dabradley has quit [Ping timeout: 246 seconds]
manveru has quit [Ping timeout: 246 seconds]
braidn_ has quit [Ping timeout: 246 seconds]
slightair has quit [Ping timeout: 246 seconds]
djb has quit [Ping timeout: 246 seconds]
erikh has quit [Ping timeout: 246 seconds]
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
s0ber has quit [Ping timeout: 246 seconds]
brixen has quit [Ping timeout: 246 seconds]
ericwood has quit [Ping timeout: 246 seconds]
ohsix has quit [Ping timeout: 246 seconds]
vbatts has quit [Ping timeout: 246 seconds]
mahlon has quit [Ping timeout: 246 seconds]
ohsix has joined #ruby-lang
s0ber_ is now known as s0ber
<apeiros>
yorickpeterse: what? :)
slightair_ has joined #ruby-lang
<yorickpeterse>
I almost typed "All heil apeiros"
__butch__ has joined #ruby-lang
firstdayonthejob has joined #ruby-lang
<yorickpeterse>
well I did but was about to press enter
maxmanders has joined #ruby-lang
sepp2k has quit [Ping timeout: 256 seconds]
<Nilium>
Didn't you just type it and press enter?
manveru has joined #ruby-lang
<yorickpeterse>
yeah but that's different
<apeiros>
well, then I'd think you're being an idiot and that's about it.
<yorickpeterse>
:<
<Nilium>
I think the results were pretty good.
<Nilium>
A++++ would heil again
* yorickpeterse
shakes cane at himself
__butch__ has quit [Client Quit]
<yorickpeterse>
I guess lack of proper sleep and lots of numbers are getting the better of me
<apeiros>
but why the nazi hailing?
<yorickpeterse>
I have no idea why I initially typed that :<
<yorickpeterse>
and "hail" is not even remotely related to nazism
<rickhull>
i'd rather nazi hitler references in this chan ;)
hakunin has quit [Ping timeout: 240 seconds]
brixen has joined #ruby-lang
* rickhull
runs
<yorickpeterse>
I don't ge...oh
<yorickpeterse>
meh
<rickhull>
i think it relies on the american pronunciation
<yorickpeterse>
No, we have those jokes over here too
<yorickpeterse>
and they're just as terrible
<yorickpeterse>
though Dutch people have a preference for jokes about the Belgians
<yorickpeterse>
I'd give some examples but you really can't translate them well to English since they often rely on Dutch word play
<yorickpeterse>
you'll end up with something like "I'll see it through the fingers" ("Ik zie het door de vingers", which means "I'll turn a blind eye on it")
pskosinski has quit [Remote host closed the connection]
dabradley has joined #ruby-lang
gregf has joined #ruby-lang
pskosinski has joined #ruby-lang
vbatts has joined #ruby-lang
vlad_starkov has joined #ruby-lang
hakunin has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cofin has quit [Quit: cofin]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
verto has joined #ruby-lang
ecnalyr has joined #ruby-lang
<yorickpeterse>
heh, not loading YAML saves me 4MB
<yorickpeterse>
but I kinda need that lib
havenn_ has joined #ruby-lang
maxmanders has quit [Ping timeout: 264 seconds]
havenwood has quit [Read error: Connection reset by peer]
maxmanders has joined #ruby-lang
havenn_ has left #ruby-lang [#ruby-lang]
havenwood has joined #ruby-lang
<yorickpeterse>
screw this, I hereby consider 30-40MB of memory usage a feature
<yorickpeterse>
WONTFIX
jstorimer has joined #ruby-lang
retro|cz has quit [Ping timeout: 260 seconds]
jstorimer has quit [Read error: Connection reset by peer]
retro|cz has joined #ruby-lang
tenderlove has joined #ruby-lang
realDAB has joined #ruby-lang
realDAB has quit [Client Quit]
floord has quit [Quit: Leaving.]
tenderlove has quit [Ping timeout: 264 seconds]
kstuart has joined #ruby-lang
Guest4396 has quit [Quit: This computer has gone to sleep]
<TvL2386>
hey guys, is it really necessary that your .gemspec file requires everything that is also required in lib/my_gem.rb? It seems like so much duplication
Uranio has quit [Quit: while you reading this, a kitty dies]
Squarepy has quit [Remote host closed the connection]
CaptainJet has quit []
maxmanders has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
<havenwood>
TvL2386: How is that necessary? Can you give an example?
CaptainJet has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby-lang
<TvL2386>
havenwood, I don't know if it is necessary, but in my gemspec all files are required. In my lib/my_gem.rb also is required as well. If I don't require it in my gem for example: require File.expand_path('../lib/my_gem/version', __FILE__) I don't have the MyGem::VERSION to reference
nathanstitt has joined #ruby-lang
<TvL2386>
havenwood, also if I forget to require something in my gemspec, it's not available in my tests... I run it with `rake test`
<TvL2386>
havenwood, I'm searching for a nice gems code to see how it should be done
flip_digits has quit [Remote host closed the connection]
<TvL2386>
havenwood, I commented all my require's except the version (which is used). I also required 'my_gem' now in my test_helper. That seems to require the version I'm working on (and not the one installed). I don't know why I added all my files in the gemspec in the past
jg__ has quit [Ping timeout: 260 seconds]
<TvL2386>
havenwood, maybe something blows up when I'm ready to build a new gem, but I'll see :)
TvL2386 has quit [Quit: Ex-Chat]
tenderlove has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
<zenspider>
I could use another cappuccino
floord has quit [Ping timeout: 245 seconds]
<zenspider>
corundum: seen headius?
<corundum>
you best check yo'self!
<corundum>
headius was last seen 17 hours, 19 minutes and 36 seconds ago, quitting IRC (Quit: headius)
<zenspider>
damnit.. what fucking time zone is he in these days?
duph has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
duph has quit [Quit: Leaving.]
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
realDAB has joined #ruby-lang
<Nilium>
Ok, wxruby is a lost cause and I do not want to fix this pile of horror
realDAB has quit [Quit: realDAB]
<Nilium>
Off to see if there are other gui gems and what state of disrepair they're in
duph has joined #ruby-lang
<whitequark>
Nilium: gtk works but is really horrible with threads
<Nilium>
And really, really horrible with Macs
<whitequark>
qt... well... you *might* be able to compile it
<Nilium>
I wrote that one off because it's Qt.
<whitequark>
huh?
<whitequark>
qt's probably the sanest framework around
<Nilium>
It's also enormous
<whitequark>
it isn't significantly fatter than gtk
<Nilium>
And has slightly weird behavior on OS X.
<lianj>
and makes a sad panda
<Nilium>
Not as bad as GTK on OS X, just.. weird.
<whitequark>
screw osx, there's no way to satisfy its users
<whitequark>
use MacRuby
<Nilium>
Would, but it's not Ruby 2.x
<whitequark>
then you have no choice
<Nilium>
But to do it myself!
<whitequark>
oh, right
<whitequark>
Java
<whitequark>
Swing.
<Nilium>
The less said of that the better.
<Nilium>
I know I said Qt was enormous but it's tiny by comparison.
<whitequark>
if I were you, I would try to fix the Qt gem
<Nilium>
I'll probably just end up implementing my own UI.
<Nilium>
Render it all using GL.
<Nilium>
Maybe just port the old one I wrote.
<whitequark>
(or, if the app is strictly OS X-specific, then MacRuby.)
<lianj>
Nilium: cairo
<darix>
jruby + whatever eclipse uses.
<Nilium>
I'm not even making an app, I'm just dicking around
<Nilium>
Less said of Java the better, again.
<lianj>
i actually like how for jruby got
<Nilium>
I prefer the GL approach anyway. Means it'll always work.
<Nilium>
And I can make it needlessly pretty.
hogeo_ has quit [Remote host closed the connection]
<lianj>
not true, try running gl on say rpi, except its optimised for that
<Nilium>
Like I care about that.
<whitequark>
rpi is bad for like everything
<Nilium>
I don't think running even Ruby on a pi is sane. The only thing my pi is good for is running my ZNC server.
<whitequark>
stop caring already, use a BBB or literally every other non-stupid board
<lianj>
ruby + ffi + cairo x11 window is kinda nice on rpi
<lianj>
like a flexible picture frame
<Nilium>
Either way, GL seems like a good option, seeing as I wrote GL bindings and GLFW 3 bindings and 3D math routine bindings, so I'm pretty much set to work on that.
ryanv-raptor has joined #ruby-lang
ryanv-raptor has left #ruby-lang [#ruby-lang]
<lianj>
true, on other machines (not rpi) i run gl + cairo. cairo i just way better for 2d pixel drawing and fonts
<Nilium>
Probably.
<Nilium>
The alternative is mostly bitmap fonts, and those suck pretty bad.
<lianj>
thats just a joke
mdedetrich has joined #ruby-lang
<Nilium>
I use bitmap fonts in my engine, but that's mostly 'cause they're inexpensive to draw.
<Nilium>
Using them for a GUI would be less pleasant.
lutfidemirci has joined #ruby-lang
<lianj>
yea, bitmap fonts are ok for 'play now' buttons but not much more
<lianj>
using cario you setup one texture, draw into it with cairo and then have it as a gl texture in memory, if you don't need to change the text it simply a matter of drawing that texture again
<Nilium>
Yeah, and text doesn't change all that much in UIs.
<Nilium>
Can also skip mipmapping, probably.
duph has quit [Quit: Leaving.]
dingus_khan has joined #ruby-lang
<lianj>
for fixed z gui, yes :P
duph has joined #ruby-lang
<Nilium>
People who do non-fixed ones should probably be smacked with sticks. Repeatedly.
FlyingLeap_ has quit [Quit: No Ping reply in 180 seconds.]
toretore has quit [Quit: Leaving]
FlyingLeap has joined #ruby-lang
<Nilium>
Assuming they're non-fixed and trying to look like a regular GUI and not a really specialized one for a game or something. Those ones are fine.
<whitequark>
don't do your own GUIs, unless you intend to produce shit
<Nilium>
I've done it a number of times, it's like a weird recurring masochistic hobby.
<lianj>
there is some truth in that :)
<whitequark>
because the result will be an abomination which doesn't support common keyboard shortcuts, or you can't scroll in it, or something
<Nilium>
Dunno, things to look at if I ever actually need a GUI.
dingus_khan has quit [Ping timeout: 240 seconds]
lutfidemirci has quit [Remote host closed the connection]
roadt has joined #ruby-lang
<Nilium>
Another idea would be to just not build the UI in Ruby and simply treat the UI as a client and the ruby side as the server.
thepumpkin has joined #ruby-lang
<whitequark>
that's likely the only sane way to build a GUI with Ruby