<Senjai>
doesnt define_method always define an instance method? Or would you use it inside the singletons class definition e.g. class << self
<zenspider>
define_method defines methods. what you call it on defines where it goes
<apeiros>
Senjai: there's nothing but instance methods
glebm has quit [Ping timeout: 252 seconds]
<apeiros>
even class methods are instance methods
<zenspider>
right. or that.
<Senjai>
apeiros: they're just instance methods of the singleton class right?
<zenspider>
I'd go further and say: there's nothing but methods
<apeiros>
Senjai: yes
<zenspider>
Senjai: or of the class instance
<zenspider>
I wish we had better terminology for the middle bits :)
<Senjai>
Yeah, this is confusing
<zenspider>
and nothing that starts with "eigen"
<zenspider>
because fuck that
<Senjai>
I heard eigen somewhere, what does that standfor? Isn't that synonymous with singleton?
<apeiros>
eigen is still less ambiguous than singleton
<apeiros>
or misunderstandable
<zenspider>
it is a math term that got hijacked ... it does apply, but ... ugh
mdedetrich has joined #ruby-lang
<Senjai>
The thing is, if I define a instance method, and in that method I use define_method, the context will create a method thats local to that instance of the class, but not the class instance itself right
glebm has joined #ruby-lang
<Senjai>
Whereby, class x define_method.... end is synonymous with class x def ... end because it is called when self is "x"?
teleological has quit [Remote host closed the connection]
<zenspider>
Senjai: stop talking / asking and start typing. no better way to get this down
<Senjai>
I have IRB open as I go :)
<zenspider>
good :)
<Senjai>
It was the only real thing that gave me pause though out of everything else in the book
<zenspider>
you don't have to understand everything ... 80% will take you far
<zenspider>
I know some people have that "forest through the trees" problem... but jumping in really does help
<zenspider>
I wish my ... apprentice? ... would realize that. finally.
chao_ has quit [Remote host closed the connection]
FlyingLeap has quit [Quit: No Ping reply in 180 seconds.]
<Senjai>
zenspider: you think I should just start building what I want, researching what I need along the way?
mdedetrich has quit [Quit: Computer has gone to sleep.]
<zenspider>
I think analysis paralysis is one of the worst forms of project-killers
<Senjai>
I think I used to have it a lot worse when I was younger.
<Senjai>
I think thats what killed programming for me for while...
<zenspider>
*nod*
wallerdev has quit [Quit: wallerdev]
<Senjai>
When I found ruby I got really excited (my first language was C) I could make things much more easily and faster. I think I'm falling into the same trap though.. yeargh
<zenspider>
generally... if you're metaprogramming... you're mentarbating and writing code that'll weigh you down later.
<Aloysius1>
Hey, all. I'm trying to figure out why I can run a script from Rubymine but not from the command line. The troublesome element seems to be a gem I've made. When I try to run the script from the command line, I get "'require': cannot load such file -- mygem/version (LoadError)". Any clues?
mdedetrich has joined #ruby-lang
<zenspider>
ruby -Ilib bin/blah
postmodern has joined #ruby-lang
<zenspider>
that said... <gem>/version.rb is cargocult
<Aloysius1>
I can believe that.
<Aloysius1>
"bin/blah?"
<zenspider>
whatever
dingus_khan has quit [Remote host closed the connection]
<Senjai>
ruby -I lib bin/program.rb
<zenspider>
my recent one was: rake parser && ruby -Ilib bin/ruby_parser_extract_error gauntlet/a/c
<Senjai>
It tells ruby to include /lib in the load path for that execution only.
<Senjai>
wow zenspider, you have a serious track record...
<zenspider>
I sucked at track and field
<zenspider>
I got ONE really good discus throw and never could repeat it
<zenspider>
shot put wasn't bad tho
<Senjai>
I meant your resume yo :P
<Senjai>
I would kill to be able to do 10% of those things..
<apeiros>
as if a spam-collector-bot would bother whether it's in the href or the text portion of the html…
<injekt>
I didn't even know about those replace_ keys
kristofferrr has quit [Quit: ❤]
<injekt>
and I was happy not having known
<injekt>
thanks apeiros
GarethAdams has joined #ruby-lang
<apeiros>
you're welcome
rikai has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Read error: Connection reset by peer]
rikai has joined #ruby-lang
robbyoconnor has joined #ruby-lang
gnufied has joined #ruby-lang
<Olipro>
what's the scope of an extend statement?
<Olipro>
if I have two threads executing the same method in a class, will the extend be local to the thread?
<apeiros>
extend is about objects, not about threads
<apeiros>
iow, it's "visible" in all threads
<yorickpeterse>
from what I recall include/extend are thread safe
<yorickpeterse>
well, thread safe as in "LOCKS EVERYWHERE"
<apeiros>
lovely:
<apeiros>
$ ri Thread
<apeiros>
/Users/stefan/.rvm/gems/ruby-2.0.0-p195@tracker/gems/rdoc-3.12.2/lib/rdoc/ri/store.rb:196:in `load': instance of RDoc::Context::Section needs to have method `marshal_load' (TypeError)
<injekt>
mootual excloosion
<yorickpeterse>
lol
pipework has quit [Remote host closed the connection]
pipework has joined #ruby-lang
spuk has quit [Ping timeout: 276 seconds]
noop has quit [Ping timeout: 276 seconds]
<yorickpeterse>
developer first problems world
nicc0llo has joined #ruby-lang
nicc0llo has quit [Client Quit]
<buzzybron>
hi guys
<buzzybron>
i am working in this remote env
sush24 has joined #ruby-lang
<buzzybron>
and there is this code which does this > require 'postgres'
<buzzybron>
and when i do a gem env
<buzzybron>
gem list i mean
<buzzybron>
there is only the gem > pg installed instead of postgres
Glass_saga has quit [Remote host closed the connection]
<injekt>
the postgres gem is unmainted and over 5 years old, you should not use it
<injekt>
unmainted is the new unmaintained
Glass_saga has joined #ruby-lang
<buzzybron>
lol
<buzzybron>
but when i do a require 'pg' it gives me an error
<injekt>
what error?
<buzzybron>
test.rb:2:in 'require' : no such file to load -- pg (LoadError)
Glass_saga has quit [Remote host closed the connection]
<yorickpeterse>
install it?
<injekt>
but gem list -d pg shows it?
<buzzybron>
yeap
<buzzybron>
no postgres listed
<yorickpeterse>
gem install pg
<buzzybron>
and require 'postgres' works
igaiga has joined #ruby-lang
<buzzybron>
yorickpeterse : trying to find out why, not trying to install it
<buzzybron>
pg listed, but require 'pg' gives error
<buzzybron>
is there a way to rename the gem?
<yorickpeterse>
bundler?
<buzzybron>
bundler? meaning?
<yorickpeterse>
and no, that's like using a nail to beat a hammer into a wall
<Mon_Ouie>
You can't use puts (you need $stdout.puts), I'm not sure how to get the class of an object (obj.class is a syntax error) and probably tons of other stuff. $! does seem to get the error though.
<apeiros>
Mon_Ouie: obj.type
<injekt>
try type
<injekt>
blah
* apeiros
is old enough to remember when that got deprecated
<injekt>
me too
<injekt>
:(
<Mon_Ouie>
Ah, that warks
<injekt>
I remember using it for all the early 1.8 stuff
<buzzybron>
inkjet : so how are the old scripts using the postgres gem? when it is not listed in gem list?
<injekt>
im lucky 'inkjet' is a hilight for me.. sigh
Newbie0086 has quit [Remote host closed the connection]
<gnufied>
buzzybron: most people have "require 'rubygems'" somewhere even now.
<gnufied>
via Gemfiles or something else.
<buzzybron>
if that is the case, won't require pg works?
<injekt>
if you've loaded rubygems, yes
<apeiros>
inkjet: fuzzybrons are fuzzy
<buzzybron>
but i have this prob... that require pg gives me an error, and require postgres works, this is without loaded rubygems
<buzzybron>
:P
<buzzybron>
and gem list doesn't hgave postgres in it
<injekt>
then postgres.rb exists somewhere in your $LOAD_PATH
<injekt>
apeiros: fuzzybro
<gnufied>
also, rubygems is not the only way to install libraries.
<gnufied>
ruby setup.rb install
<gnufied>
the ded way.
toretore has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
<buzzybron>
how can i find the lib installed?
<buzzybron>
$load_path? how can i print it?
<injekt>
you dont know how to print something in ruby?
<yorickpeterse>
apeiros: so you can walk around naked without being all "ooooh but it's cooold"
<yorickpeterse>
real brogrammers rage on their keyboard out in the cold
<apeiros>
again, no compelling reason to do that
<yorickpeterse>
while chugging Bud light
<injekt>
bud light?
<injekt>
I thought you said real
<apeiros>
not everybody lives at the north pole, yorickpeterse
<yorickpeterse>
now that's just flat out silly
<buzzybron>
yaps no errir
<buzzybron>
error
<buzzybron>
i mean no error...
<yorickpeterse>
njekt: that's the joke
<buzzybron>
arg
<injekt>
har
<gnufied>
being naked in India means 1 billion people are looking at you. might worth a try though.
<gnufied>
:-)
<yorickpeterse>
at least you can get some self confidence
<injekt>
ok im getting up and showering otherwise im gonna be like apeiros for the rest of the day
<apeiros>
:D
<buzzybron>
inkjet nil for both the path lines earlier
<buzzybron>
how is this happening lol
<injekt>
buzzybron: I'll let the other guys help as I need to shower, but just a leaving note, if you hit 'tab' your irc client will auto-complete my nickname, that way you can spell it correctly
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
<apeiros>
injekt: that won't work
<apeiros>
ink<tab> will inevitably fail
<injekt>
I AND THEN TAB
<injekt>
DAMN YOU ALL
<apeiros>
ia___: ?
* injekt
takes toaster into shower
<apeiros>
^^
<apeiros>
sepuku is more fun for the guys to clean up
<buzzybron>
injekt : go get wet
<injekt>
if I write apeiros enough on my body maybe they'll think it was you
<buzzybron>
inkjekt : and mnay thanks! you helped a great deal
<_carlos>
same here, however by 3rd year they were all gone
<_carlos>
don't know what happened
<_carlos>
I think they turned into dudes
<ericwood>
>.>
<_carlos>
1st year: 200 people… 2nd year: 50 people… 3rd year: 12 guys in a fucking classroom… 4th year: just me walking in the emptiest, darkest, and coldest halls
<ericwood>
sounds about right
<_carlos>
hah
<ericwood>
EE scared a ton of people out of my major
<ericwood>
I thought it was fun until the analog stuff came along
<ericwood>
and then I promptly shat my pants
<ericwood>
but it was too late! I had already put in 2.5 years, I had to stick with it
<_carlos>
btw I'm still using SVN for a lot of purposes… does that make me a bad person? :|
<ericwood>
the worst kind
<ericwood>
sorry
<ericwood>
I know a guy who had to use CVS for work until recently
<ericwood>
there's actually a git-cvs thing apparently >.>
igaiga has quit [Remote host closed the connection]
<_carlos>
I have the feeling that a lot of people use git or hg just because it's "the shit" right now… like they don't think that there's other stuff out there
<_carlos>
probably like the startup thing they were mentioning earlier
<ericwood>
git works really well
<ericwood>
it's not always intuitive, but I've grown to like it a lot
<ericwood>
DVCS is super awesome
<_carlos>
well I agree
<_carlos>
but I don't think a lot of git users know why
<ericwood>
I feel like most Hg people do it because they think git is too mainstream :P
<_carlos>
which bothers me to an extent
<_carlos>
I started using hg because of Joel Spolsky… I'm just a poser really
arooni-mobile has quit [Ping timeout: 252 seconds]
sush24_ has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 276 seconds]
sush24 has quit [Ping timeout: 276 seconds]
wallerdev has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
fumanchu_777 has joined #ruby-lang
fumanchu_777 has quit [Client Quit]
elia has quit [Quit: Computer has gone to sleep.]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
DomKM has joined #ruby-lang
teleological has quit [Remote host closed the connection]
spuk has joined #ruby-lang
machuga is now known as machuga|away
loincloth has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
sush24_ has quit [Quit: Leaving]
crankharder has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
crankharder has joined #ruby-lang
jxie has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
mbj_ is now known as mbj
machuga|away is now known as machuga
benxao has quit [Remote host closed the connection]
kleech has quit [Read error: Connection reset by peer]
agarie has quit [Remote host closed the connection]
rmascarenhas has quit [Ping timeout: 264 seconds]
davemaurakis has joined #ruby-lang
Cakey has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
blaix has joined #ruby-lang
AgentWillyWonka has quit [Quit: Leaving...]
vlad_sta_ has joined #ruby-lang
Uranio has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 266 seconds]
poga has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
jds_ has joined #ruby-lang
<jds_>
Heya
<jds_>
Is it possible to see what 'configure' options a particular ruby binary was compiled with?
rue has joined #ruby-lang
krohrbaugh has joined #ruby-lang
maxmanders has joined #ruby-lang
krohrbaugh has quit [Client Quit]
<darix>
jds_: yes
<darix>
require 'rbconfig'; p RbConfig::CONFIG['configure_args']
krohrbaugh has joined #ruby-lang
<jds_>
darix: Nifty, thanks
melter has joined #ruby-lang
blaix has quit [Quit: Leaving.]
io_syl has joined #ruby-lang
pipework has joined #ruby-lang
<jds_>
When I try to install a gem that needs compilation, it tries to link against libruby-static, which doesn't seem to exist on this server. It usually comes with the ruby package, right?
davemaurakis has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
anonymuse has joined #ruby-lang
Artheist has joined #ruby-lang
snarfmason has quit [Read error: Connection reset by peer]
ykk` has quit [Quit: ykk`]
io_syl has quit [Client Quit]
snarfmason has joined #ruby-lang
snarfmason has quit [Client Quit]
io_syl has joined #ruby-lang
__carlos has joined #ruby-lang
Artheist has quit [Excess Flood]
Artheist has joined #ruby-lang
fedesilva has joined #ruby-lang
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
teleological has joined #ruby-lang
maxmanders has joined #ruby-lang
<darix>
jds_: some distros split that out into a devel package e.g.
<darix>
though i would argue
s1n4 has joined #ruby-lang
<darix>
that the gem trying to link that library is probably wrong in first place.
s1n4 has quit [Client Quit]
<jds_>
It seems to be a standard mkmf.rb thing
<jds_>
But yeah, I couldn't seem to find the devel package. I'll try contacting the server maintainers
blaix has joined #ruby-lang
maxmanders has quit [Max SendQ exceeded]
maxmanders has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
MaddinXx_ has joined #ruby-lang
forrest has joined #ruby-lang
CoverSlide has joined #ruby-lang
elia has joined #ruby-lang
elia has quit [Client Quit]
krombr has joined #ruby-lang
mucker has quit [Quit: leaving]
machuga is now known as machuga|away
mucker has joined #ruby-lang
teleological has quit [Remote host closed the connection]
teleological has joined #ruby-lang
<TTilus>
jds_: whats the distro?
dhruvasagar has quit [Ping timeout: 276 seconds]
<TTilus>
jds_: maybe pkg manager provides means to search for a file from packages, that way you could find out what package (if any) holds the headers the gem is looking for
krombr has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
<jds_>
TTilus: SmartOS, though the ruby package looks like it's been provided by the server maintainers
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
<TTilus>
ah, then you need to go ask them as you already said
teleological has quit [Ping timeout: 248 seconds]
machuga|away is now known as machuga
__butch__ has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
gnufied has quit [Quit: Leaving.]
rikai has quit [Remote host closed the connection]
teleological has joined #ruby-lang
__butch__ has quit [Read error: Connection reset by peer]
__butch__ has joined #ruby-lang
teleolog_ has joined #ruby-lang
rikai has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
teleological has quit [Ping timeout: 256 seconds]
tbuehlmann has quit [Remote host closed the connection]
MouseTheLuckyDog has quit [Ping timeout: 256 seconds]
mikewintermute has quit [Quit: mikewintermute]
Criztian has quit [Remote host closed the connection]
t_ has joined #ruby-lang
brianpWins has joined #ruby-lang
benlovell has joined #ruby-lang
rmascarenhas has joined #ruby-lang
benlovell has quit [Ping timeout: 256 seconds]
elia has joined #ruby-lang
_elia has joined #ruby-lang
elia has quit [Ping timeout: 276 seconds]
tonni has joined #ruby-lang
saarinen has joined #ruby-lang
jds_ has quit [Remote host closed the connection]
__carlos has quit [Read error: Connection reset by peer]
AgentWillyWonka has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
fedesilv_ has quit [Remote host closed the connection]
teleological has quit [Read error: Connection reset by peer]
teleological has joined #ruby-lang
crudson has quit [Ping timeout: 256 seconds]
fedesilva has quit [Ping timeout: 276 seconds]
justinmb_ has joined #ruby-lang
torrieri has joined #ruby-lang
headius has quit [Read error: Operation timed out]
headius has joined #ruby-lang
<rue>
I don’t get it
<injekt>
rue: it's a countdown timer for announcing the new open-source jekyll ruby-lang.org website
justinmb_ has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby-lang
justinmb_ has joined #ruby-lang
mbj has joined #ruby-lang
mawueli has joined #ruby-lang
mawueli is now known as Guest4803
<rue>
Aha
crudson has joined #ruby-lang
teleological has quit [Remote host closed the connection]
Guest4803 has quit [Remote host closed the connection]
<xuser>
injekt: is it know when it will be up?
<injekt>
xuser: it is up?
fedesilva has joined #ruby-lang
<injekt>
xuser: that's the source for the current ruby-lang.org website
<xuser>
err known
<xuser>
injekt: ah ok
<xuser>
thought they were putting a new on
<xuser>
e
cjs226 has quit [Quit: cjs226]
rmascarenhas has quit [Ping timeout: 248 seconds]
wesside has quit [Quit: Ice cream truck!]
wesside has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
pipework has quit [Remote host closed the connection]
teleological has joined #ruby-lang
pipework has joined #ruby-lang
wesside has quit [Client Quit]
hhatch has quit [Ping timeout: 252 seconds]
dingus_khan has joined #ruby-lang
<dingus_khan>
Paradox, thanks for the response!
forrest has quit [Quit: Leaving]
wesside has joined #ruby-lang
symm- has joined #ruby-lang
workmad3 has joined #ruby-lang
<injekt>
postmodern: nice work on ruby-install
wycats__ has joined #ruby-lang
havenwood has joined #ruby-lang
<postmodern>
injekt, thank you, there's still bugs because i don't have full test coverage
<postmodern>
injekt, haven't thought of a way to test the full install process, without actually downloading/unpacking/compiling/installing each ruby
<injekt>
postmodern: sure, most of these kind of tools have zero test coverage so anything is nice. It's already working so much better than ruby-build so I'm happy
torrieri has quit [Quit: Leaving...]
wesside has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
<rue>
Oo, a new one?
loincloth has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
toretore has quit [Quit: Leaving]
teleological has quit [Remote host closed the connection]
diogene has joined #ruby-lang
diogene has quit [Client Quit]
<postmodern>
rue, the second one so far
<postmodern>
rue, to my knowledge ruby-build was the first standalone ruby builder util
komagome has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
<rue>
Seems about right
<rue>
I’ll check it out
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
Artheist has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 252 seconds]
igaiga has joined #ruby-lang
davemaurakis has quit [Remote host closed the connection]
LinkedoT has quit [Ping timeout: 248 seconds]
mikewintermute_ has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
mikewintermute has quit [Ping timeout: 252 seconds]
mikewintermute_ is now known as mikewintermute
pkondzior___ has joined #ruby-lang
headius has quit [Quit: headius]
DomKM has quit [Read error: Connection reset by peer]
DomKM has joined #ruby-lang
stamina1 has quit [Ping timeout: 252 seconds]
rickhull1 has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby-lang
benwoody has quit [Ping timeout: 256 seconds]
rickhull has joined #ruby-lang
d_roge has quit [Ping timeout: 240 seconds]
priodev has quit [Ping timeout: 264 seconds]
benwoody has joined #ruby-lang
symm- has joined #ruby-lang
vbatts|work has quit [Ping timeout: 256 seconds]
saarinen has quit [Quit: saarinen]
solars has quit [Ping timeout: 252 seconds]
wmoxam has joined #ruby-lang
teleological has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
wmoxam has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
vbatts|work has joined #ruby-lang
ruurd has quit [Client Quit]
cofin has quit [Quit: cofin]
wmoxam has joined #ruby-lang
d_roge has joined #ruby-lang
snarfmason has quit [Ping timeout: 248 seconds]
torrieri has joined #ruby-lang
saarinen has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
somasonic has joined #ruby-lang
<somasonic>
hi guys, anyone know any good tutorials or documentation on building plugins into applications, or alternatively a good plugin framework?
wmoxam has quit [Ping timeout: 248 seconds]
mdedetrich has joined #ruby-lang
teleological has quit [Remote host closed the connection]
fedesilva has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
Wardrop[work] has joined #ruby-lang
Wardrop has quit [Ping timeout: 264 seconds]
Wardrop[work] is now known as Wardrop
workmad3 has quit [Ping timeout: 248 seconds]
snarfmason has joined #ruby-lang
saarinen has quit [Quit: saarinen]
JpC0utur3 has joined #ruby-lang
<rickhull>
i'm sort of skeptical of the entire concept of plugins. i'd rather provide a library or API and let the consumer go nuts. but rack middleware seems like a sane way to "inject code into a predefined execution loop"
priodev has joined #ruby-lang
<rickhull>
if that's what you mean by a plugin
igaiga has quit [Remote host closed the connection]
<apeiros_>
"middleware" is just another term for "plugin"
<ericwood>
middleware is the middle manager of the software world
<rickhull>
i dunno, i'm not sure i would describe e.g. firefox plugins as middleware
<apeiros_>
right. middleware is a subset of plugins.
<somasonic>
rickhull: i'm writing an irc bot
<somasonic>
hope that explains it better
<erikh>
rickhull: hey bud
<rickhull>
o/
<erikh>
up for beering next week sometime/
<erikh>
working in the mission now
<rickhull>
oh yeah, definitely
<rickhull>
somasonic: so you want to provide a plugin interface to your bot for others to develop on? i'd be tempted to instead provide a high-level bot-building library
cofin has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
<somasonic>
rickhull: no, it's more for internal swapping of modules
Wardrop has left #ruby-lang [#ruby-lang]
symm- has quit [Ping timeout: 248 seconds]
<somasonic>
it's a psuedoserver rather than a bot, so you kinda have to blur the lines a bit, as one irc connection can serve 1000 bots
S1kx has quit [Ping timeout: 264 seconds]
<somasonic>
but you only want one server instance
torrieri has joined #ruby-lang
<rickhull>
but e.g. HUP with a new config wouldn't work?
<rickhull>
for "swapping of modules"
<somasonic>
rickhull: im changing code a lot
<somasonic>
i don't want to restart for every minor change
<somasonic>
if i restart the process, it creates 5 lines of notice spam to all opers
<rickhull>
sure. that was sort of a baseline simplest thing that could possibly work. assuming you load a config on server start
pskosinski has quit [Quit: pskosinski]
<rickhull>
but you could reload the config without breaking connections
<rickhull>
or have an API for that or console commands
<rickhull>
i'm not saying plugins are a bad approach. i'm just gun-shy because my sense is that they have a lot of "baggage", can be difficult to design / implement, and nontrivial history of failure as an approach
torrieri has quit [Quit: Leaving...]
torrieri has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
nathanstitt has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]