apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
jaimef has joined #ruby-lang
charliesome has quit [Ping timeout: 240 seconds]
ckim has joined #ruby-lang
ckim has quit [Remote host closed the connection]
ckim has joined #ruby-lang
enmand has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
flgr has quit [Ping timeout: 248 seconds]
<julian__1>
Best way to keep a Curses window open?
<julian__1>
without a getch?
pr0ton has quit [Quit: pr0ton]
<julian__1>
some sort of infinite loop?
flgr has joined #ruby-lang
lfox has joined #ruby-lang
<drbrain>
julian__1: don't call #close on it
micalexander has quit [Ping timeout: 272 seconds]
<julian__1>
drbrain: say I have win1
<julian__1>
it disappears unless I write win1.getch
benanne has quit [Remote host closed the connection]
<julian__1>
it's waiting for user input before it closes
Coincidental has joined #ruby-lang
<julian__1>
but windows seem to close automatically ?
toertore has quit [Quit: Leaving]
<julian__1>
drbrain: When I say the window disappears
<julian__1>
it never shows up
<julian__1>
but I assume it sort of exists, but disappears 'too quickly' to be seen
<drbrain>
julian__1: did you refresh it?
<julian__1>
unless I use win1.getch
<julian__1>
ah
<julian__1>
no
<drbrain>
refresh says "I made changes to this window, please redraw it"
<julian__1>
:P
<julian__1>
thanks for the english :)
<julian__1>
the docs don't really explain what's going on
<julian__1>
well, they do a little
bantic has quit [Quit: bantic]
hahuang65 has quit [Ping timeout: 256 seconds]
Rarrikins has quit [Ping timeout: 272 seconds]
Rarrikins has joined #ruby-lang
ikrima has quit [Ping timeout: 272 seconds]
pr0ton has joined #ruby-lang
ikrima has joined #ruby-lang
ikrima has quit [Client Quit]
ikrima has joined #ruby-lang
uta has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
uta has quit [Remote host closed the connection]
relix has joined #ruby-lang
relix has quit [Client Quit]
uta has joined #ruby-lang
julweber_ has joined #ruby-lang
julweber_ has quit [Remote host closed the connection]
julweber_ has joined #ruby-lang
julweber has quit [Ping timeout: 272 seconds]
brianpWins has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
julweber_ has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 248 seconds]
enmand has joined #ruby-lang
musty has joined #ruby-lang
Rarrikins has quit [Ping timeout: 272 seconds]
stamina has quit [Read error: Connection reset by peer]
Rarrikin1 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<julian__1>
drbrain: How would you propose creating windows dynamically?
jsullivandigs has quit [Ping timeout: 245 seconds]
Oloryn_lt2 has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
jsullivandigs has joined #ruby-lang
bzalasky has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
brixen has quit [Read error: Operation timed out]
shtirlic_ has quit [Ping timeout: 240 seconds]
jtoy has quit [Ping timeout: 268 seconds]
jsullivandigs has quit [Remote host closed the connection]
machuga has quit [Ping timeout: 248 seconds]
r0bby_ has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 272 seconds]
onewheelskyward has quit [Ping timeout: 252 seconds]
jsullivandigs has joined #ruby-lang
samkottler has quit [Ping timeout: 268 seconds]
r0bby_ has joined #ruby-lang
bastilian has quit [Quit: Leaving...]
krzyzaq has quit [Quit: krzyzaq]
elia has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ckim has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 272 seconds]
mucker has quit [Remote host closed the connection]
ckim_ has joined #ruby-lang
mucker has joined #ruby-lang
mucker has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
mucker has joined #ruby-lang
ckim has quit [Read error: Connection reset by peer]
VTLob has quit [Quit: VTLob]
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
benanne has quit [Quit: kbai]
ckim_ has quit [Remote host closed the connection]
cnivolle has quit [Ping timeout: 264 seconds]
julweber has quit [Remote host closed the connection]
julweber has joined #ruby-lang
julweber has quit [Ping timeout: 272 seconds]
aomdoa has joined #ruby-lang
bastilian has joined #ruby-lang
schaerli has joined #ruby-lang
martndemus has quit [Ping timeout: 272 seconds]
aomdoa has quit [Quit: Leaving]
VTLob has joined #ruby-lang
<matti>
Mon_Ouie: ;]
<Mon_Ouie>
'alut matti ;)
Oloryn_lt2 has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yxhuvud has quit [Remote host closed the connection]
jtoy has joined #ruby-lang
onewheelskyward has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
machuga has joined #ruby-lang
shtirlic has joined #ruby-lang
brixen has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
yxhuvud has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
io_syl has joined #ruby-lang
* imperator
just watched erlang, the movie, part 2
Forgetful_Lion has joined #ruby-lang
martndemus has joined #ruby-lang
Forgetful_Lion_ has joined #ruby-lang
Forgetful_Lion has quit [Ping timeout: 256 seconds]
Forgetful_Lion_ has quit [Read error: Connection reset by peer]
schaerli has quit [Remote host closed the connection]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
schaerli has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
<sluukkonen>
outlaw techno psychobitch \o/
schaerli has quit [Ping timeout: 272 seconds]
GaelanAintAround is now known as Gaelan
martndemus has quit [Ping timeout: 272 seconds]
<imperator>
just reading some ryan dahl quotes now....lol
relix has joined #ruby-lang
chaos_ has left #ruby-lang [#ruby-lang]
soahccc has joined #ruby-lang
<soahccc>
I would like to make an application which runs as a daemon. It would perform a lot of IO tasks so it waits most of the time. These tasks are rescheduled like any minute or so and based on the results it takes actions. So a main thread + task runners. I also need to communicate with the process externally (console, API). What would be my options? I don't know if eventmachine would be good for this.
cnivolle_ has joined #ruby-lang
tomzx_mac has joined #ruby-lang
enmand has joined #ruby-lang
ledestin has quit [Ping timeout: 272 seconds]
hashkey_ has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
hashkey_ is now known as Guest48545
ledestin has joined #ruby-lang
havenwood has joined #ruby-lang
hashkey has quit [Ping timeout: 240 seconds]
Guest48545 has quit [Client Quit]
jiuweigui has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Gaelan is now known as GaelanAintAround
Squarepy has joined #ruby-lang
martndemus has joined #ruby-lang
mannyt has quit [Quit: mannyt]
Oloryn_lt2 has quit [Quit: Leaving.]
s0ber has quit [Remote host closed the connection]
s0ber has joined #ruby-lang
Rarrikins has quit [Ping timeout: 265 seconds]
s0ber has quit [Remote host closed the connection]
s0ber has joined #ruby-lang
Forgetful_Lion_ has joined #ruby-lang
Rarrikins has joined #ruby-lang
ledestin has quit [Ping timeout: 248 seconds]
Forgetful_Lion has quit [Ping timeout: 240 seconds]
nvg has joined #ruby-lang
menga_ has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
hashkey has joined #ruby-lang
menga_ has left #ruby-lang [#ruby-lang]
ledestin has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
nathanstitt has joined #ruby-lang
bzalasky has quit [Ping timeout: 240 seconds]
sdpy has joined #ruby-lang
banisterfiend has joined #ruby-lang
<darix>
soahccc: it could
<darix>
soahccc: though i would look into existing job schedule things like sidekiq and resque
jxie has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
retro|cz has quit [Read error: Operation timed out]
nvg has left #ruby-lang [#ruby-lang]
schaerli has joined #ruby-lang
Rarrikins has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
Rarrikins has joined #ruby-lang
bzalasky has joined #ruby-lang
<yorickpeterse>
man it's so satisfying to be able to go to my own bathroom again after being in Paris for 2 nights
benanne has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
mannyt has joined #ruby-lang
mannyt has quit [Read error: Connection reset by peer]
mucker has quit [Remote host closed the connection]
ledestin has quit [Ping timeout: 272 seconds]
<imperator>
thanks for sharing that
ledestin has joined #ruby-lang
bzalasky has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
mannyt has joined #ruby-lang
mannyt has quit [Read error: Connection reset by peer]
barttenbrinke has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mannyt has joined #ruby-lang
<julian_>
How can I inspect an object?
<julian_>
when .inspect isn't working?
<foucist>
julian_: you can't
<foucist>
julian_: could check and see what methods the object has
<julian_>
that could work
mannyt has quit [Read error: Connection reset by peer]
<julian_>
how would one do that?
barttenbrinke has quit [Ping timeout: 248 seconds]
mannyt has joined #ruby-lang
<julian_>
foucist: Actually, what I want to do is this
<julian_>
I have a .self method. How could I actually get the value of .self?
<julian_>
foobar.mymethod
<julian_>
inside mymethod, how can I return "foobar" ?
<imperator>
julian_, this is pretty basic stuff, i feel like you're trying to write a ruby program without really understanding ruby
ledestin has quit [Quit: ledestin]
wallerdev has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
bzalasky has joined #ruby-lang
netShadow has joined #ruby-lang
mucker has quit [Ping timeout: 272 seconds]
kireevco_ has joined #ruby-lang
<soahccc>
darix: well I thought about more "in ram" stuff. The footprint of the tasks is pretty small and I don't have a database backend. Scheduling is not pretty easy in my case and I don't want to rely on a system service (standalone if you want)
<soahccc>
err. scheduling IS pretty easy in my case
majjoha has quit [Ping timeout: 245 seconds]
snarfmason has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
julian_ has quit [Ping timeout: 256 seconds]
McSoFake has quit [Quit: McSoFake]
<r0bgleeson>
ykk`: well if you ever get a spaceship that keyboard will match the interior
<ykk`>
haha
<ykk`>
it's not the prettiest but that company has a brushed metal one
rickhull has joined #ruby-lang
<r0bgleeson>
i dont know much about those keyboards, not a concern i worry about too much
ikrima has joined #ruby-lang
shinnya has quit [Ping timeout: 265 seconds]
majjoha has joined #ruby-lang
Forgetful_Lion_ has joined #ruby-lang
Forgetful_Lion_ has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
Forgetful_Lion_ has joined #ruby-lang
majjoha has quit [Ping timeout: 272 seconds]
bzalasky has joined #ruby-lang
Forgetful_Lion has quit [Ping timeout: 248 seconds]
benanne has quit [Quit: kbai]
bzalasky has quit [Ping timeout: 248 seconds]
samkottler has joined #ruby-lang
Johz has joined #ruby-lang
cnivolle_ has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Elico has joined #ruby-lang
ruurd has joined #ruby-lang
cnivolle has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
tbuehlmann has joined #ruby-lang
dhruvasagar has joined #ruby-lang
x0f has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
ndrst has quit [Read error: Operation timed out]
ndrst has joined #ruby-lang
x0f_ has quit [Ping timeout: 248 seconds]
kgrz has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
majjoha has joined #ruby-lang
enmand has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Voker57 has quit []
mbj has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
TheMoonMaster has quit [Remote host closed the connection]
majjoha has quit [Ping timeout: 248 seconds]
Johz_ has joined #ruby-lang
metus_violarium has joined #ruby-lang
Forgetful_Lion_ has quit [Ping timeout: 240 seconds]
<tubbo>
i can't fuckin type on those things :(
<tubbo>
i prefer to take frequent breaks instead. it's better for the rest of your body anyway...like your eyes, brain and legs.
<tubbo>
speaking of which
<tubbo>
:D
Johz has quit [Ping timeout: 272 seconds]
Johz__ has joined #ruby-lang
Johz__ has quit [Client Quit]
<darix>
ykk`: i have the MS natural key since 15y now. i can recommend those if you dont want to go to kinesis
<darix>
ykk`: natural key 4000 atm
Johz_ has quit [Ping timeout: 248 seconds]
michael_mbp is now known as zz_michael_mbp
dhruvasagar has quit [Ping timeout: 240 seconds]
<micalexa_>
does ruby have a built in method to find out if a hash has more than one key value pair
snarfmason has quit [Quit: Computer has gone to sleep.]
<tbuehlmann>
micalexa_, yes, you can use #count or #size for that
Grimscribe has joined #ruby-lang
<havenwood>
micalexa_: #one? #empty?
snarfmason has joined #ruby-lang
<micalexa_>
ok cool
vlad_starkov has joined #ruby-lang
ykk` has quit [Quit: ykk`]
<havenwood>
class Hash; def more_than_one?; self.size > 1 end end
<havenwood>
or something like
<havenwood>
class Hash; def one_or_less?; self.one? || self.empty? end end
Coincidental has joined #ruby-lang
<micalexa_>
havenwood: cool, I just need to do if hash.one? ... end. thats cool right?
<havenwood>
micalexa_: yup, to check if one element in the hash
mlangenberg has joined #ruby-lang
<micalexa_>
havenwood: just trying to limit thor input, unless you know a better way thor (thats if you are familiar with it)
<micalexa_>
otherwise thanks
<havenwood>
i don't know better way, just remember {}.one? #=> false
<micalexa_>
yep cool
cnivolle has joined #ruby-lang
Bees has joined #ruby-lang
slyphon has joined #ruby-lang
cnivolle_ has joined #ruby-lang
cnivolle_ has quit [Read error: Connection reset by peer]
majjoha has joined #ruby-lang
cnivolle has quit [Ping timeout: 265 seconds]
cnivolle has joined #ruby-lang
Bees has quit [Quit: Page closed]
enmand has joined #ruby-lang
csffsc has joined #ruby-lang
cnivolle_ has joined #ruby-lang
majjoha has quit [Ping timeout: 256 seconds]
cnivolle has quit [Read error: Connection reset by peer]
cnivolle has joined #ruby-lang
Oloryn_lt2 has quit [Quit: Leaving.]
cnivolle has quit [Read error: Connection reset by peer]
cnivolle has joined #ruby-lang
cnivolle_ has quit [Ping timeout: 272 seconds]
n8nl has joined #ruby-lang
imt_ has quit [Quit: Leaving]
cnivolle_ has joined #ruby-lang
sdpy has quit [Remote host closed the connection]
cnivoll__ has joined #ruby-lang
Johz has joined #ruby-lang
cnivolle has quit [Read error: Connection reset by peer]
cnivolle_ has quit [Read error: No route to host]
cnivoll__ has quit [Read error: Connection reset by peer]
cnivolle_ has joined #ruby-lang
Grimscribe has quit [Quit: Grimscribe]
cnivolle_ has quit [Read error: No route to host]
cnivolle has joined #ruby-lang
lsegal has joined #ruby-lang
cnivolle has quit [Read error: Connection reset by peer]
Oloryn_lt2 has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
cnivolle has joined #ruby-lang
guest132435 has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
cnivolle_ has joined #ruby-lang
Forgetful_Lion_ has joined #ruby-lang
Forgetful_Lion_ has quit [Read error: Connection reset by peer]
Forgetful_Lion_ has joined #ruby-lang
mbj has joined #ruby-lang
Forgetful_Lion_ has quit [Read error: Connection reset by peer]
Squarepy has quit [Quit: Leaving]
Forgetful_Lion_ has joined #ruby-lang
cnivolle has quit [Ping timeout: 265 seconds]
majjoha has joined #ruby-lang
Forgetful_Lion_ has quit [Read error: Connection reset by peer]
s0ber has quit [Read error: Connection reset by peer]
s0ber has joined #ruby-lang
cnivoll__ has joined #ruby-lang
Forgetful_Lion_ has joined #ruby-lang
Forgetful_Lion has quit [Ping timeout: 240 seconds]
Forgetful_Lion_ has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
cnivolle_ has quit [Ping timeout: 248 seconds]
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
majjoha has quit [Ping timeout: 240 seconds]
Barrin6 has joined #ruby-lang
cnivoll__ has quit [Ping timeout: 240 seconds]
martndemus has quit [Ping timeout: 245 seconds]
rickhull has quit [Quit: Leaving.]
cnivolle has joined #ruby-lang
majjoha has joined #ruby-lang
mbj has joined #ruby-lang
Grimscribe has joined #ruby-lang
<Barrin6>
i have a very nooby question
<Barrin6>
i just installed rubygems
<Barrin6>
I opened up interactive ruby
<Barrin6>
and did "gem-v"
<Barrin6>
shouldn't it give me the gem version?
<Barrin6>
nvm
<Barrin6>
doesn't work in interactive ruby
<Barrin6>
has to be in cmd
dsg_ has joined #ruby-lang
adambeynon has joined #ruby-lang
krzyzaq has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<imperator>
correct
<imperator>
in irb, Gem::VERSION
jithu has quit [Ping timeout: 272 seconds]
<Barrin6>
wow in irb it's case senstive
<Barrin6>
bastards
jeff_r has joined #ruby-lang
<Barrin6>
I think I'll go back to playing with projecteuler a little bit more
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
rickhull has joined #ruby-lang
cnivolle has quit [Ping timeout: 240 seconds]
mlangenberg has quit [Quit: mlangenberg]
tbuehlmann has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
esad has joined #ruby-lang
cnivolle has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
Coincidental has quit [Ping timeout: 245 seconds]
cnivolle has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cnivolle has quit [Ping timeout: 272 seconds]
mbj has quit [Ping timeout: 248 seconds]
relix has joined #ruby-lang
tonni has quit [Remote host closed the connection]
<r0bgleeson>
Mon_Ouie: salut, do you know if it is possible to create a manifest of ELPA packages? it's probably very easy to write a function to do that?
mlangenberg has joined #ruby-lang
<Mon_Ouie>
I don't know how off the top of my head
havenwood has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
<r0bgleeson>
Mon_Ouie: package-install-file might be the one
<r0bgleeson>
checking it out
<r0bgleeson>
thx :)
<Barrin6>
if I finish all of project euler with ruby
<Barrin6>
am I considered an expert? :D
<Mon_Ouie>
A math expert
<r0bgleeson>
being able to solve problems is more valuable than learning language X.
rickhull has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
zz_michael_mbp is now known as michael_mbp
<Barrin6>
but not sure if math problems are applicable to real world problems
Grimscribe has joined #ruby-lang
<r0bgleeson>
well, iirc, project euler problems aren't easy, so im sure you'll be able to apply to real world problems just fine
jeff_r has joined #ruby-lang
<Barrin6>
I'm not a programmer, but are most real world problems just math problems to a programmer?