drbrain_ changed the topic of #ruby-lang to: Ruby 1.9.3-p385: http://ruby-lang.org (ruby-2.0.0-rc2) || Paste >3 lines of text on http://gist.github.com
aedornm has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
davidbalbert is now known as davidbalber|away
robotmay has quit [Remote host closed the connection]
thufir_ has joined #ruby-lang
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
KA_ has quit [Quit: KA_]
<whitequark> zzak: didn't work :/
sebasoga has quit [Quit: Computer has gone to sleep.]
sebasoga has joined #ruby-lang
sebasoga has quit [Client Quit]
ohcomely has quit [Quit: Linkinus - http://linkinus.com]
KA_ has joined #ruby-lang
tbuehlmann has quit [Read error: Connection reset by peer]
zhul_mechanos has quit [Quit: zhul_mechanos]
bantic has quit [Quit: bantic]
nXqd has joined #ruby-lang
Spaceghostc2c has quit [Excess Flood]
Spaceghostc2c has joined #ruby-lang
itsmeduncan has quit [Quit: itsmeduncan]
<zzak> twitter is broken
itsmeduncan has joined #ruby-lang
enebo has quit [Quit: enebo]
__butch__ has quit [Quit: Leaving.]
nXqd has quit [Ping timeout: 256 seconds]
<zenspider> yes, yes it is. by design
<whitequark> but then email too
Spaceghostc2c has quit [Excess Flood]
idkazuma has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
Spaceghostc2c has joined #ruby-lang
mercwithamouth has joined #ruby-lang
KA_ has quit [Read error: Connection reset by peer]
KA_ has joined #ruby-lang
thufir_ has quit [Quit: Leaving.]
Mike26 has quit [Quit: Leaving.]
enebo has joined #ruby-lang
kogent has quit [Ping timeout: 260 seconds]
wycats__ has joined #ruby-lang
marr has quit [Ping timeout: 255 seconds]
itsmeduncan has quit [Quit: itsmeduncan]
enebo has quit [Quit: enebo]
djwonk has joined #ruby-lang
dasil003 has quit [Quit: dasil003]
mjio has quit []
nXqd has joined #ruby-lang
mistym has quit [Remote host closed the connection]
bluepojo has quit [Remote host closed the connection]
mantono has quit [Ping timeout: 260 seconds]
mantono has joined #ruby-lang
nXqd has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
emocakes has quit [Quit: emocakes]
drbrain has quit [Remote host closed the connection]
mantono has quit [Ping timeout: 255 seconds]
KA_ has quit [Read error: Connection reset by peer]
KA_ has joined #ruby-lang
mantono has joined #ruby-lang
maxmanders has joined #ruby-lang
bluepojo has joined #ruby-lang
gnufied has joined #ruby-lang
maxmanders has quit [Ping timeout: 255 seconds]
KA_ has quit [Quit: KA_]
toretore has quit [Quit: Leaving]
mantono has quit [Ping timeout: 245 seconds]
mantono has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
KA_ has joined #ruby-lang
mistym has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
davidbalber|away is now known as davidbalbert
jtoy has quit [Quit: jtoy]
mercwithamouth has quit [Ping timeout: 245 seconds]
davidbalbert is now known as davidbalber|away
mantono has quit [Ping timeout: 245 seconds]
mrsolo has quit [Quit: Leaving]
gnufied has joined #ruby-lang
drbrain has joined #ruby-lang
joevandyk has joined #ruby-lang
jtoy has joined #ruby-lang
nXqd has joined #ruby-lang
rebelcan_ has left #ruby-lang [#ruby-lang]
rebelcan_ has joined #ruby-lang
mjio has joined #ruby-lang
rebelcan_ has left #ruby-lang [#ruby-lang]
joevandyk has quit [Quit: joevandyk]
stonerfish has quit [Quit: Leaving.]
ridget has quit [Remote host closed the connection]
nXqd has quit [Ping timeout: 248 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
ridget has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
havenwood has quit [Ping timeout: 260 seconds]
jtoy has quit [Quit: jtoy]
drbrain has quit [Remote host closed the connection]
mercwithamouth has joined #ruby-lang
Axsuul has joined #ruby-lang
dustint has joined #ruby-lang
havenwood has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
rsl has quit [Quit: Computer has gone to sleep.]
lsegal has joined #ruby-lang
ryanv-raptor has quit [Quit: Leaving.]
randomlogin has quit [Ping timeout: 256 seconds]
gnufied has quit [Quit: Leaving.]
mercwithamouth has quit [Quit: leaving]
Criztian has joined #ruby-lang
nXqd has joined #ruby-lang
KA_ has quit [Quit: KA_]
mercwithamouth has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
jonahR has joined #ruby-lang
drbrain has joined #ruby-lang
drbrain has quit [Read error: Connection reset by peer]
drbrain has joined #ruby-lang
nXqd has quit [Ping timeout: 276 seconds]
Criztian has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
stonerfish has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
Mawk has quit [Quit: Mawk]
Mawk has joined #ruby-lang
ryanv-raptor has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
hahuang65 has joined #ruby-lang
marco has joined #ruby-lang
marco is now known as Marco
ryanv-raptor has quit [Quit: Leaving.]
sepp2k has quit [Remote host closed the connection]
nXqd has joined #ruby-lang
ryanv-raptor has joined #ruby-lang
nXqd has quit [Ping timeout: 252 seconds]
ryanv-raptor has quit [Client Quit]
hahuang65 has quit [Quit: Computer has gone to sleep.]
kuja has quit [Ping timeout: 256 seconds]
mercwithamouth has quit [Quit: Lost terminal]
gix has quit [Ping timeout: 276 seconds]
mercwithamouth has joined #ruby-lang
stonerfish has quit [Ping timeout: 276 seconds]
kuja has joined #ruby-lang
srbaker has joined #ruby-lang
soypirate has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
soypirate has joined #ruby-lang
havenwood has joined #ruby-lang
ReekuMF` has joined #ruby-lang
gix has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
McAfreak has joined #ruby-lang
sheerun_ has joined #ruby-lang
JMcAfreak has quit [*.net *.split]
Vektor has quit [*.net *.split]
johnnyfive has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
nirix has quit [*.net *.split]
sheerun has quit [*.net *.split]
ryanv-raptor has joined #ruby-lang
nXqd has joined #ruby-lang
ryanv-raptor has quit [Client Quit]
techlife has quit [Ping timeout: 252 seconds]
bzalasky has joined #ruby-lang
techlife has joined #ruby-lang
yfeldblum has joined #ruby-lang
havenwood has joined #ruby-lang
stonerfish has joined #ruby-lang
nXqd has quit [Ping timeout: 248 seconds]
ryanv-raptor has joined #ruby-lang
ryanv-raptor has quit [Client Quit]
bluepojo has quit [Ping timeout: 245 seconds]
mantono has joined #ruby-lang
wallerdev has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
johnnyfive has joined #ruby-lang
nirix has joined #ruby-lang
KA_ has joined #ruby-lang
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
ryanf has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
hackeron has quit [Ping timeout: 252 seconds]
ryanf has joined #ruby-lang
hackeron has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.90 [Firefox 16.0.1/20121026125834]]
max_dev has joined #ruby-lang
havenwood has joined #ruby-lang
Aria has quit [Remote host closed the connection]
io_syl has quit [Ping timeout: 252 seconds]
nXqd has joined #ruby-lang
max_dev has quit [Quit: Leaving]
mantono has quit [Ping timeout: 245 seconds]
maxmanders has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
CoverSlide has quit [Ping timeout: 256 seconds]
jonahR has quit [Quit: jonahR]
nXqd has quit [Ping timeout: 252 seconds]
srbaker has joined #ruby-lang
ReekuMF` has quit []
maxmanders has quit [Ping timeout: 272 seconds]
CoverSlide has joined #ruby-lang
chendo_ has quit [Ping timeout: 248 seconds]
mantono has joined #ruby-lang
chendo_ has joined #ruby-lang
ryanf has quit [Quit: leaving]
KA_ has quit [Quit: KA_]
dustint has quit [Ping timeout: 256 seconds]
mantono has quit [Ping timeout: 276 seconds]
dcwu has joined #ruby-lang
imperator has joined #ruby-lang
KA_ has joined #ruby-lang
kiwnix has joined #ruby-lang
mantono has joined #ruby-lang
wallerdev has joined #ruby-lang
mantono has quit [Ping timeout: 255 seconds]
nXqd has joined #ruby-lang
marco__ has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
jbsan has joined #ruby-lang
soypirate has quit [Remote host closed the connection]
nXqd has quit [Ping timeout: 245 seconds]
hibariya has quit [Quit: No Ping reply in 180 seconds.]
hibariya has joined #ruby-lang
djwonk has quit []
djwonk has joined #ruby-lang
kurko___ has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
levifig has quit [Quit: Farewell]
sebasoga has joined #ruby-lang
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
io_syl has joined #ruby-lang
ezkl has joined #ruby-lang
sebasoga has quit [Ping timeout: 245 seconds]
sebasoga has joined #ruby-lang
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
Marco has quit [Ping timeout: 245 seconds]
sebasoga has quit [Ping timeout: 256 seconds]
tomzx_mac has quit [Ping timeout: 245 seconds]
sebasoga has joined #ruby-lang
rippa has joined #ruby-lang
nXqd has joined #ruby-lang
levifig has joined #ruby-lang
nXqd has quit [Ping timeout: 272 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
ezkl has quit [Quit: out!]
rippa has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
thone has quit [Read error: Connection reset by peer]
thone has joined #ruby-lang
blacktulip has joined #ruby-lang
segy has quit [Ping timeout: 255 seconds]
bzalasky_ has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
noop has joined #ruby-lang
segfault has joined #ruby-lang
segfault is now known as Guest87013
thufir_ has joined #ruby-lang
max_develop has joined #ruby-lang
krz has joined #ruby-lang
nXqd has joined #ruby-lang
KA_ has quit [Quit: KA_]
stonerfish has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
Guest87013 has quit [Ping timeout: 245 seconds]
nirix has quit [*.net *.split]
johnnyfive has quit [*.net *.split]
nirix_ has joined #ruby-lang
nirix_ is now known as nirix
segfault_ has joined #ruby-lang
KA_ has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
sn0wb1rd has joined #ruby-lang
yobiflare has joined #ruby-lang
GitNick has quit [Ping timeout: 248 seconds]
GitNick has joined #ruby-lang
djwonk has quit []
baba has quit [Read error: Operation timed out]
sn0wb1rd_ has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 252 seconds]
sn0wb1rd_ is now known as sn0wb1rd
sebasoga has quit [Quit: Textual IRC Client: www.textualapp.com]
dhruvasagar has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
JohnBat26 has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 256 seconds]
baba has joined #ruby-lang
drbrain has quit [Ping timeout: 260 seconds]
ridget has quit [Remote host closed the connection]
yobiflare has quit [Ping timeout: 260 seconds]
johnnyfive has joined #ruby-lang
nXqd has quit [Ping timeout: 245 seconds]
havenwood has quit [Read error: Connection reset by peer]
mantono has joined #ruby-lang
b1rkh0ff has quit [Ping timeout: 276 seconds]
<certainty> moin
mjio has quit []
KA_ has quit [Quit: KA_]
nXqd has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
workmad3 has joined #ruby-lang
ImSexyandIknowit has joined #ruby-lang
innohero has joined #ruby-lang
dc5ala has joined #ruby-lang
drbrain has joined #ruby-lang
<freedrull> what was ruby like before rails
<freedrull> :X
<drbrain> smallor
kiwnix has quit [Remote host closed the connection]
amerine has joined #ruby-lang
<freedrull> more japanese?
ottbot has joined #ruby-lang
gnufied has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
marco__ has quit [Remote host closed the connection]
zmack has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
zmack_ has joined #ruby-lang
francisfish has joined #ruby-lang
zmack has quit [Ping timeout: 248 seconds]
beho has joined #ruby-lang
<certainty> freedrull: further from a community equal to that of php
<certainty> well that's a bit unfair i guess, as ruby inherits the community from rails, but not the other way around
francisfish has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
dr_bob has joined #ruby-lang
dr_bob has quit [Client Quit]
ottbot has quit [Ping timeout: 248 seconds]
dr_bob has joined #ruby-lang
ebouchut has quit [Read error: Connection reset by peer]
face has quit [Ping timeout: 260 seconds]
solars has joined #ruby-lang
face has joined #ruby-lang
<whitequark> the only certainty here is that suggesting the concept of inheritance instead of subsetting is wrong...
<whitequark> *ahem* sorry
<Asher> anyone have any links about dispatch between unicorn and a frontend slow-client server like nginx or apache? i'd like to know more specifically about the relationship between slow-client server keepalive connections and unicorn worker instances
<whitequark> Asher: nginx backend is pure http/1.0, no keepalive there
<Asher> er… i was just reading about keepalive on nginx?
<Asher> my understanding was that one of the hot points for nginx is that it can keepalive clients with very low overhead
chekcmate has joined #ruby-lang
<chekcmate> hi all
rue|w has joined #ruby-lang
<whitequark> Asher: _backend_
<whitequark> the part that connects to unicorn, that is
<whitequark> nginx does not keep connections to unicorns, it handles the keepalive'ness by itself and only pushes single requests further.
<Asher> so let's say i'm dealing with websockets - every time a socket wants new content from the back end it will have to start with a new worker instance?
<antbody> Can you use websockets with unicorn? Don't they recommend something else for that (might be wrong though).
<whitequark> ^ that
<whitequark> you can use websockets with thin
<Asher> any links as to the recommendation?
<Asher> would like to understand why thin vs unicorn for sockets
<whitequark> Asher: thin works, unicorn doesn't
<Asher> no i got that, i'm curious as to why that is
<whitequark> unicorn simply does not have support for backgrounding a stream
<Asher> b/c the backend is 1.0 only?
<whitequark> mhm. afaik unicorn will accept http/1.1 requests, but it doesn't support keepalive nor pipelining
<Asher> right but i thought that's why you use a frontend like nginx
<Asher> to handle keepalive and pipelining
maxmanders has joined #ruby-lang
<whitequark> pretty much
maxmande_ has joined #ruby-lang
<chekcmate> whitequark: mind giving me a helping head for a second?
emocakes has joined #ruby-lang
<whitequark> chekcmate: ok
Mon_Ouie has joined #ruby-lang
maxmanders has quit [Read error: Operation timed out]
<chekcmate> I got an alias, which is called sample: alias sample='. ~/sample/sample/ci_support/set_env.sh; cd ~/sample/sample'
<chekcmate> set_env is setting the envoirement variables
<chekcmate> like $AMOS_NAT, $AMOS_DATA
judofyr has joined #ruby-lang
<chekcmate> when I use trace, starting a bash script, which uses those variables
<chekcmate> the variables aren't available
<chekcmate> (i start strace with sudo)
<whitequark> man sudo /env_reset /env_keep
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<chekcmate> so when in my run.sh $AMOS_NAT/data/testcase/... it will say "could not find /data/testcase/"
<chekcmate> but totally ignores the $ stuff
<chekcmate> ah, so it is a sudo "problem" in that case?
<whitequark> it is by design
<whitequark> there are sensitive env variables you don't want to leak
<whitequark> RUBYOPT eg can execute arbitrary code under sudo
<whitequark> etc
<chekcmate> oh ok
<Asher> so are websockets usually handled with an independent websocket server?
<chekcmate> thanks whitequark
vlad_starkov has joined #ruby-lang
<judofyr> Asher: most of the time, yes. Rails doesn't play well with websockets, so people often set up Thin+Sinatra
dasil003 has joined #ruby-lang
<Asher> judofyr - i've written my own framework that i'm working on polishing final details of before releasing, so trying to sort out some details in deployment possibilities
marr has joined #ruby-lang
<judofyr> Asher: what is it built on? Rack?
<Asher> yes
<judofyr> Asher: do you support rack.async?
fluido has joined #ruby-lang
<Asher> not sure what supporting it entails - pretty sure i _could_, whether or not i presently do
<Asher> i think i'm just looking for any literature so i can try to orient myself in terms of how to support websockets w/my framework
ridget has joined #ruby-lang
<Asher> i've never dealt with websockets before and i'm not terribly familiar with http server internals or details of web server configurations - so trying to get a handle as to how websockets are generally handled
<judofyr> Asher: well, there's a new hijack API in Rack 1.5 I think
<judofyr> Asher: but really, Rack wasn't built for websockets, so it's all hacks on top of hacks
<whitequark> neither was http
<whitequark> the hacks are pretty much extrinsic.
<yorickpeterse> morning
<Asher> well my framework just depends on nokogiri and has only a very minimal entry point
<Asher> so… suggestions where to start thinking about how to accomplish websockets?
dr_bob has quit [Quit: Leaving.]
<Asher> i'll check out rack 1.5
<Asher> is there a place to turn other than rack?
maxmande_ has quit [Quit: Textual IRC Client: www.textualapp.com]
agarcia has joined #ruby-lang
agarie_ has quit [Remote host closed the connection]
dr_bob has joined #ruby-lang
skade has joined #ruby-lang
jvrmaia has joined #ruby-lang
kcassidy has joined #ruby-lang
francisfish has joined #ruby-lang
<gnufied> Asher: are you using eventmachine or something?
<gnufied> only evented web servers are going to work websockets, afaik
<gnufied> have a look at faye-websocket gem
<Asher> why only evented web servers?
<gnufied> which Web server you are planning to use?
<gnufied> because of nature of long held connections
<Asher> i'm not committed to any necessarily.. i'm trying to figure out what options are possible
beho has quit [Remote host closed the connection]
<gnufied> it sounds like, you have lot to internalize
glebm has joined #ruby-lang
<Asher> i am just trying to figure what solutions are available for hooking a front-end slow client to a ruby process in a way that is amenable to websockets
mercwithamouth has joined #ruby-lang
<Asher> so i figured front-end you have something like nginx and then backend something like unicorn
<Asher> and it seems that works fine even if each socket request requires a different worker (tho that seems silly)
<Asher> but i was trying to understand what possibilities there are otherwise
<gnufied> nginx can't load balance websockets
<judofyr> Asher: Unicorn isn't designed for slow clients at all, and Nginx doesn't handle websockets yet :)
<gnufied> (not out of box anyways)
<Asher> which is what i learned a few minutes ago from whitequark
<judofyr> gnufied: maybe in the latest version?
<Asher> but i haven't found any good consolidated literature about this
<Asher> so if you have links to any please share, i admit my ignorance from the start
<Asher> yeah i was reading that
<judofyr> gnufied: that's just the tcp_proxy
ottbot has joined #ruby-lang
<gnufied> judofyr: yeah. HAProxy as well only supports websockets in tcp mode.
<judofyr> or Asher for that sake: http://trac.nginx.org/nginx/milestone/1.3.13
<gnufied> judofyr: excellent!
<Asher> cool
glebm has quit [Ping timeout: 252 seconds]
pygmael has joined #ruby-lang
<gnufied> just curious, what you need websockets for?
<gnufied> do you need bi-directional communication?
<judofyr> gnufied: dude, websockets are so 2013
<gnufied> if all you need is some sort of server side push. look into eventsource.
<Asher> it's not a matter of need - i've implemented a new web framework and i am working on polishing final details before open sourcing it
<skade> varnish can be configured for websockets quite nicely
<skade> (just `pass` all websocket connections)
<gnufied> judofyr: But I am stuck in 2009! infinite iframes and chunked encoding
<gnufied> thats what I understand!
<judofyr> iframes <3
totallymike has quit [Read error: Operation timed out]
<judofyr> gnufied: hardcore
<gnufied> lol. :-)
ddd has joined #ruby-lang
totallymike has joined #ruby-lang
ddd has left #ruby-lang [#ruby-lang]
ddd has joined #ruby-lang
workmad3 has joined #ruby-lang
thufir_ has quit [Quit: Leaving.]
maxmanders has joined #ruby-lang
Demux has quit [Ping timeout: 255 seconds]
Axsuul has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
beho has joined #ruby-lang
innohero has left #ruby-lang [#ruby-lang]
Mike26 has joined #ruby-lang
Demux has joined #ruby-lang
ridget has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 257 seconds]
jvrmaia has quit [Remote host closed the connection]
glebm has joined #ruby-lang
maxmanders has joined #ruby-lang
dcwu has quit [Quit: Leaving.]
vlad_sta_ has joined #ruby-lang
glebm has quit [Ping timeout: 251 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
ebouchut has joined #ruby-lang
gnufied1 has joined #ruby-lang
gnufied has quit [Ping timeout: 248 seconds]
vlad_sta_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
tsou has joined #ruby-lang
jbsan has quit [Quit: jbsan]
Demux_ has joined #ruby-lang
jbsan has joined #ruby-lang
robotmay has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
glebm has joined #ruby-lang
Demux has quit [*.net *.split]
johnnyfive has quit [*.net *.split]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
randomlogin has joined #ruby-lang
glebm has quit [Ping timeout: 256 seconds]
emocakes has quit [Quit: emocakes]
arca0 has joined #ruby-lang
xalei has joined #ruby-lang
toretore has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
<injekt> huzzah!
johnnyfive has joined #ruby-lang
<rue|w> HI THERE
<injekt> HELO
<yorickpeterse> I hate it when the state of code is so fucked that you can't refactor it without starting from scratch
stardiviner has quit [Read error: Connection reset by peer]
<yorickpeterse> Unless you work around it by going through thousands of hoops
<workmad3> EHLO
<chekcmate> elo hell!
<workmad3> chekcmate: invalid SMTP command, connection closed
<injekt> tehe
<chekcmate> but but but
<chekcmate> ._.
<chekcmate> telnet mail.workmad3.com 25
<chekcmate> did he dieded?
<workmad3> :P
cultureulterior_ has joined #ruby-lang
stardiviner has joined #ruby-lang
jvrmaia has joined #ruby-lang
rue|w has quit [Ping timeout: 260 seconds]
rue|w has joined #ruby-lang
GarethAdams has joined #ruby-lang
Criztian has joined #ruby-lang
Marco has joined #ruby-lang
Marco is now known as Guest62412
gnufied1 has quit [Ping timeout: 252 seconds]
arca0 has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
narya has joined #ruby-lang
antbody has quit [Ping timeout: 240 seconds]
cout has quit [Ping timeout: 240 seconds]
chris2 has quit [Ping timeout: 240 seconds]
mfn has quit [Ping timeout: 240 seconds]
narya_ has quit [Ping timeout: 240 seconds]
kotp has quit [Quit: ZNC - http://znc.sourceforge.net]
chris2 has joined #ruby-lang
Guu has joined #ruby-lang
cout has joined #ruby-lang
mfn has joined #ruby-lang
kotp has joined #ruby-lang
techlife has quit [Ping timeout: 245 seconds]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
zmack_ is now known as zmack
techlife has joined #ruby-lang
Stilo has joined #ruby-lang
maxmanders has quit [Quit: Textual IRC Client: www.textualapp.com]
krz has quit [Quit: krz]
arca0 has joined #ruby-lang
Bearproof has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
neocoin has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
rsl has joined #ruby-lang
Eising has joined #ruby-lang
<Eising> hey there. I'm looking for an advice in regards to something I'm writing: I'm scanning network devices and collecting information, and I need to both store the collected information in an object and be able to dump that object. I could just write att_accessors for each element, but that makes dumping cumbersome. Any advice?
<Eising> Structs perhaps?
<imperator> perhaps
<imperator> just curious, what platform?
<Eising> the network devices?
<judofyr> Eising: if it's known attributes: Struct sounds fine. if it's unknown: just a Hash?
<Eising> It's known attributes, however not all devices will fill all attributes
<Eising> OpenStruct looks suitable too
dasil003 has quit [Ping timeout: 255 seconds]
tomzx_mac has joined #ruby-lang
rue|w has quit [Read error: Connection reset by peer]
rue_XIW has joined #ruby-lang
rue_XIW has quit [Read error: Connection reset by peer]
rue|w has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 260 seconds]
toretore has quit [Quit: Leaving]
toretore has joined #ruby-lang
xalei has quit [Ping timeout: 255 seconds]
krz has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 260 seconds]
<injekt> a hash seems fine to me
Criztian has quit [Ping timeout: 240 seconds]
randomlogin has quit [Remote host closed the connection]
randomlogin has joined #ruby-lang
Criztian has joined #ruby-lang
yobiflare has joined #ruby-lang
sush24 has joined #ruby-lang
sepp2k has joined #ruby-lang
ddv is now known as Scatman
idkazuma has joined #ruby-lang
Scatman is now known as ddv
<injekt> tbh though, why would cinch not work on windows? the copius amounts of threading maybe?
Bearproof has joined #ruby-lang
<rue|w> Egg on my face now, I’ve always said that Windows works in a cinch
<injekt> wrong channel
<injekt> rue|w: har
<dominikh> rue|w: it does. we just don't support it much. and someone reported today that it doesn't work on Win XP
jxie has joined #ruby-lang
<injekt> dominikh: he made a funny
<dominikh> oh
<dominikh> yeah
<dominikh> well, I looked funnier now didn't i!
<injekt> i guess you win
Bearproof has left #ruby-lang [#ruby-lang]
savagecroc has joined #ruby-lang
<savagecroc> how do you return the first match in an array [{:a => 1},{:a => 2},{:a => 2}].select {|b| b[:a] == 2}
<savagecroc> i want something like that but that returns and gives up after it finds the first one
<dominikh> #first
<savagecroc> hmm first just returns the first record it doesn't take a block as an argument to match
<savagecroc> got it
<savagecroc> detect
<dominikh> eh, sorry. #find, not #first :P
<dominikh> and #find is an alias for #detect or vice versa, yeah
<savagecroc> oh really ok
<savagecroc> i'll use find
<savagecroc> saves me a character
<chekcmate> injekt: I'm at 32.121 trace files :)
vmoravec has quit [Remote host closed the connection]
rawler has joined #ruby-lang
rawler has left #ruby-lang [#ruby-lang]
jxie has quit [Quit: leaving]
bryanl has quit [Ping timeout: 255 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
bryanl has joined #ruby-lang
JoelMcCracken has joined #ruby-lang
swav has quit [Read error: Connection reset by peer]
arca0 has quit [Remote host closed the connection]
swav has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
banister`sleep has joined #ruby-lang
dustint has joined #ruby-lang
totallymike has quit [Ping timeout: 256 seconds]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
JohnBat26 has joined #ruby-lang
agib__ has left #ruby-lang [#ruby-lang]
dasil003 has joined #ruby-lang
gustavnils has joined #ruby-lang
agib has joined #ruby-lang
fsvehla has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 255 seconds]
mistym has quit [Remote host closed the connection]
sailias has joined #ruby-lang
lcdhoffman has joined #ruby-lang
yobiflare has quit [Ping timeout: 245 seconds]
slyphon has quit [Quit: slyphon]
Guest62412 has quit []
jtoy has joined #ruby-lang
marcopod has joined #ruby-lang
beseku has joined #ruby-lang
sush24 has joined #ruby-lang
marcopod has quit [Client Quit]
marcopod has joined #ruby-lang
Mike26 has quit [Quit: Leaving.]
Marco has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
emocakes has joined #ruby-lang
caral has joined #ruby-lang
slyphon has joined #ruby-lang
stonerfish has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
banister`sleep has quit [Ping timeout: 248 seconds]
dc5ala has quit [Quit: Ex-Chat]
rippa has joined #ruby-lang
<imperator> injekt, what's cinch?
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
<injekt> imperator: a ruby irc framework
jvrmaia has quit [Ping timeout: 272 seconds]
* slyphon waves to imperator
<slyphon> injekt: cinch++
vbatts|w` has left #ruby-lang [#ruby-lang]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
rue_XIW has joined #ruby-lang
aedornm has quit [Quit: Leaving]
x0F_ is now known as x0F
rue|w has quit [Read error: Connection reset by peer]
mythogen has joined #ruby-lang
mythogen has quit [Remote host closed the connection]
mythogen has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
tonni__ has quit [Remote host closed the connection]
<imperator> heya slyphon
tonni has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<slyphon> imperator: how goes?
JohnBat26 has joined #ruby-lang
tonni has quit [Ping timeout: 245 seconds]
Spaceghostc2c has quit [Excess Flood]
Spaceghostc2c has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
unix has joined #ruby-lang
baba has quit [Ping timeout: 252 seconds]
slyphon has quit [Quit: slyphon]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
Spaceghostc2c has quit [Excess Flood]
Bearproof has joined #ruby-lang
stonerfish has quit [Quit: Leaving.]
Bearproof has left #ruby-lang [#ruby-lang]
Spaceghostc2c has joined #ruby-lang
JoelMcCracken has quit [Ping timeout: 272 seconds]
gnufied1 has joined #ruby-lang
slyphon has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<savagecroc> hey i need to find a min and a max from an array with a huge number of points, any idea how to do it?
<injekt> 'huge number of points'?
sush24 has quit [Quit: Leaving]
<savagecroc> yeah 100,000
<injekt> what's a point
<savagecroc> sorry item
<injekt> what's an item
<savagecroc> 100,000 hashes basically
<injekt> right, hashes
<savagecroc> each hash has a datatime_utc
beho has quit [Remote host closed the connection]
<savagecroc> i need to find a min and a max
<mythogen> is the set sorted?
<savagecroc> items.group_by(&:data_series_id).each do |data_series_id, items|
<savagecroc> mythogen, i don't think so, but i could sort it
<injekt> items.min { |i| i[:datetime_utc] }
<injekt> or not
<injekt> stop trying to be clever injekt
<heftig> savagecroc: minmax_by
<savagecroc> ohhh
<injekt> that's the one
jtoy has quit [Quit: jtoy]
<savagecroc> pleeeeease be in ruby 1.8.x
outoftime has joined #ruby-lang
<injekt> pleeeease stop using old ruby versions
<heftig> savagecroc: it's not
<savagecroc> crap
<savagecroc> we've upgraded half of it
<savagecroc> half our apps
<savagecroc> the big one though :/
<injekt> it's pretty easy to make yourself
<savagecroc> oh it is in 1.8.7 :)
<chekcmate> hm.. no ruby question, but could strace interfere with postfix somehow?
<chekcmate> getting lots of postdrop: warning: mail_queue_enter: create file maildrop/96308.16489: Permission denied
<chekcmate> though postfix:postdrop user/group is set correctly...
<chekcmate> and manual strace + sendmail works flawless
jvrmaia has joined #ruby-lang
JoelMcCracken has joined #ruby-lang
<imperator> slyphon, not much, just working on my latest game :)
<slyphon> nice
<slyphon> can i just say how happy I am to not have to personally go out and deal with this rails shitshow?
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<injekt> I think it's a good thing
<slyphon> well
<slyphon> teaching people that putting a YAML parser on the fuckin' internet is a bad idea is an important lesson
<slyphon> i'm just glad I don't have to drop everything and try to mitigate :)
<imperator> good thing i'm unemployed!
<slyphon> ughhhh
<slyphon> :/
<slyphon> imperator: srsly?
<imperator> yup, been so for a while
<slyphon> bleh
<slyphon> brb
scampbell has joined #ruby-lang
davidbalber|away is now known as davidbalbert
djwonk has joined #ruby-lang
KA_ has joined #ruby-lang
zmack has quit [Remote host closed the connection]
slyphon has quit [Ping timeout: 276 seconds]
mephux has quit [Excess Flood]
Guest13532 has joined #ruby-lang
enebo has joined #ruby-lang
sush24 has joined #ruby-lang
totallymike has joined #ruby-lang
KA_ has quit [Ping timeout: 260 seconds]
gnufied1 has quit [Quit: Leaving.]
rins has joined #ruby-lang
phlipper has joined #ruby-lang
slyphon has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
rdw200169 has joined #ruby-lang
dr_bob has joined #ruby-lang
chekcmate_ has joined #ruby-lang
sush24 has joined #ruby-lang
<chekcmate_> test
<imperator> error! error! ster-i-lize!
<chekcmate_> stayin alive!
<chekcmate_> stayin alive!
<chekcmate_> now I haz earworm ._.
caral has quit [Quit: caral]
chekcmate has quit [Ping timeout: 245 seconds]
chekcmate_ is now known as chekcmate
rue_XIW has quit [Remote host closed the connection]
<chekcmate> no party today? so quiet here... :o
vlad_starkov has joined #ruby-lang
postmodern has quit [Quit: Leaving]
slyphon has quit [Ping timeout: 276 seconds]
<judofyr> ain't no party like an IRC party ;)
<chekcmate> judofyr: call a guy in your company you don't know and tell him "I don't have time to talk to you right now" and hang up.
<judofyr> chekcmate: I know everyone in my company ;)
<chekcmate> also, suggest to pray Our Father after an important meeting
<chekcmate> ^- my boss did this today
<chekcmate> you should have seen the peoples faces
<injekt> i would try that but my company has 5 people in it and the calls would be way too expensive
<chekcmate> aw :/
<chekcmate> or run around with open pants and when someone tells you, say "I like it better that way!" and run off
<injekt> open pants means a very different thing in the uk
<chekcmate> hu?
<chekcmate> I meant the zipper heh
<chekcmate> putting colleagues chairs in the lift is also great hah!
<injekt> pants in the uk does not mean pants in the us
<chekcmate> trouses?
<injekt> trousers, right
<chekcmate> trousers!
<injekt> pants would be, well.. your junk would be on show
<chekcmate> ah yea... good old school english
<chekcmate> internet messed it up
<chekcmate> injekt: do you, as a native, register those kinds of differences a lot?
<chekcmate> british<>american
<injekt> chekcmate: yes, and i work with canadians which is a hybrid between the two
<judofyr> damn canadians
<chekcmate> no french canadians?
<injekt> because canadians have different names for stuff, but they also spell correctly
bantic has joined #ruby-lang
<injekt> unlike americans
<judofyr> "correctly"
<injekt> no french canadians
<judofyr> colour: rage-face;
<injekt> :P
<chekcmate> color/colour there it is again!
<injekt> yeah, canadians write colour, like us
solars has quit [Ping timeout: 276 seconds]
<injekt> you weird us guys drop the u's in lots of words
<chekcmate> at least you can't fuck up with articles ._.
<chekcmate> the the the the
<injekt> wat
<chekcmate> + a great thing about english is that there is only "you"
<chekcmate> injekt: der die das... etc.
<judofyr> there's only me? :D
<injekt> chekcmate: ah
<chekcmate> der baum, die frau, das auto; the tree, the woman, the car
<injekt> are they context specific?
<chekcmate> judofyr: yes, you are my world, darling!
<judofyr> \o/
<chekcmate> injekt: based on gender
<injekt> ah right yeah
<injekt> i find langs like that harder to learn
<chekcmate> only having "you" instead of various forms makes it easier to bond with people i guess
<judofyr> Norwegian: en hund, ei katt, et hus; a dog, a cat, a house
<injekt> they're supposed to be easier in theory
<chekcmate> in japanese it's really very different, depending on who you speak with
<judofyr> oops, it's not "ei katt". silly me.
<injekt> judofyr: go learn your own language
<chekcmate> :D
<judofyr> injekt: at we don't conjugar verbs (like in Spanish)
<chekcmate> funny how we're actually all a bunch of incested guys
<chekcmate> at least that's how those different languages sound alike
<chekcmate> katt = katze = cat
<judofyr> llamo = my name is …; llamas = your name is
<judofyr> what's up with that? :/
<injekt> :/
<injekt> cat = cat
<chekcmate> judofyr: that's spanish
<injekt> welcome to britain
<judofyr> chekcmate: Sí
<chekcmate> kindergarten = kindergarten
<chekcmate> judofyr: lived several years on tenneriffe and near alicante, spoke it like my 2nd mother tongue... but after 5-6 years in germany, having no one to speak to.. most is gone :(
<judofyr> chekcmate: :(
<judofyr> chekcmatõr
<chekcmate> perhaps it's in the back of my head... need some good punches, it'll come back
Guest13532 has quit [Excess Flood]
<chekcmate> que tal, judofyr? toda bien?
<injekt> actually come to think of it there's SO many words that have multiple meanings in the english language too
<chekcmate> e.g.?
io_syl has quit [Quit: Computer has gone to sleep.]
<judofyr> chekcmate: sí, sí (that's basically all the Spanish I can)
<injekt> um
<injekt> leaves
<chekcmate> judofyr: enough!
<chekcmate> like "the leaf"?
<chekcmate> the leaves; he leaves?
<injekt> yup
<injekt> both work
<judofyr> chekcmate: cuanta cuesta una cerveza?
<chekcmate> 100€
<injekt> 'crane' is also one
mephux_ has joined #ruby-lang
<injekt> point
<injekt> rose
<injekt> ok there's lots
<judofyr> "injekt"
<chekcmate> wow, crane means really a lot!
<injekt> har
<injekt> i got 3 things
<injekt> crane (the vehicle), the bird, to crank your neck
<chekcmate> kran, kranich, fluggestell, zapfhahn
<judofyr> fluggestell?
<chekcmate> rofl
<chekcmate> chariot
<chekcmate> the thing a plane stands on
<injekt> lol
<chekcmate> but it's also crane
<chekcmate> zapfhahn is great lol
<chekcmate> spigot
<chekcmate> beer tap
<chekcmate> injekt: get me a crane!
<injekt> the bird?
<injekt> D:
<chekcmate> well, that's your choice, but I want the right one until tomorrow morning!
<injekt> there was a funny illustration about common words in britain, and it had a sentence with one word repeated in it like 4-5 times and each time it meant something different, can't find it
jgv has joined #ruby-lang
<chekcmate> homonyms you mean?
<injekt> right
<injekt> actually they might have been heteronyms
<injekt> cant remember
<chekcmate> you're right
<injekt> it was amusing though
CoverSlide has quit [Read error: Operation timed out]
<chekcmate> Homonym are the things which sound the same, but aren't written the same
<injekt> isn't that a heterograph?
<injekt> :D
<chekcmate> um... I go check google
slyphon has joined #ruby-lang
<chekcmate> nope
<chekcmate> With my lead pencil, I'm going to lead my friend. <= heteronyms
slyphon_ has joined #ruby-lang
<imperator> chekcmate, stop talking about slyphon that way
mephux_ is now known as mephux
<chekcmate> sorry, I didn't get that one ._.
<chekcmate> shit i have to go my train
<chekcmate> cu guys
chekcmate has quit [Quit: Page closed]
<imperator> slyphon, read the tenderlove blog post
nXqd has quit [Ping timeout: 240 seconds]
slyphon has quit [Ping timeout: 260 seconds]
slyphon_ is now known as slyphon
CoverSlide has joined #ruby-lang
kcassidy has quit [Ping timeout: 276 seconds]
srbaker has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
kcassidy has joined #ruby-lang
vlad_starkov has joined #ruby-lang
bredonjones has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
dasil003 has quit [Ping timeout: 245 seconds]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
priodev has quit [Ping timeout: 276 seconds]
judofyr has quit [Remote host closed the connection]
zhul_mechanos has joined #ruby-lang
havenwood has joined #ruby-lang
priodev has joined #ruby-lang
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
bzalasky_ has quit [Remote host closed the connection]
beseku has quit [Quit: Linkinus - http://linkinus.com]
rue|w has joined #ruby-lang
davidbalbert is now known as davidbalber|away
dr_bob has quit [Quit: Leaving.]
beho has joined #ruby-lang
davidbalber|away is now known as davidbalbert
rue|w has quit [Ping timeout: 256 seconds]
jvrmaia has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
jtoy has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 255 seconds]
agarcia has quit [Quit: Konversation terminated!]
Rarrikins_a has joined #ruby-lang
<Rarrikins_a> Is there some way to get rubyw.exe from popping up a window whenever there's output from the script?
gnufied has quit [Quit: Leaving.]
idkazuma has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
<darix> Rarrikins_a: use some gui tool kit and let that draw windows for you?
sush24 has quit [Quit: This computer has gone to sleep]
<Rarrikins_a> I want to run a script as a daemon (hidden)
<Rarrikins_a> But it seems like whenever the script uses print or puts, rubyw pops up a window and then gets rid of it.
<Rarrikins_a> It's not supposed to.
geopet has joined #ruby-lang
<heftig> Rarrikins_a: $>.reopen open("NUL:", "w")
wyhaines has joined #ruby-lang
<Rarrikins_a> How can I tell whether rubyw is working (so that it doesn't do that otherwise?
<heftig> what?
<Rarrikins_a> I have a script I want to run in ruby on various platforms and rubyw sometimes on Windows
<Rarrikins_a> When the program outputs something to the terminal with rubyw, it opens a window and gets rid of it quickly, which it's not supposed to.
<Rarrikins_a> I can, of course, shut the output off, but that will ruin it for when I run it under ruby.
<Rarrikins_a> Is there a way to shut it off only when running under rubyw?
pygmael has quit [Quit: pygmael]
johnnyfive has quit [Ping timeout: 248 seconds]
fsvehla has quit [Quit: fsvehla]
rue|w has joined #ruby-lang
banisterfiend has joined #ruby-lang
<banisterfiend> anyone played much with Module#prepend in 2.0 ?
<heftig> Rarrikins_a: check RSTDIN.stat fails, i guess
<heftig> Uer
bredonjones has quit [Remote host closed the connection]
<heftig> Rarrikins_a: check RUBY_PLATFORM and whetherSTDIN.stat fails, i guess
<banisterfiend> anyone figure out a way to get a Method object for the original method?
<banisterfiend> i.e: class A; def hi; end; end; module P; def hi; end; end; class A; prepend P; end; how to get an UnboundMethod for A#hi ?
havenwood has quit [Remote host closed the connection]
fluido has quit [Remote host closed the connection]
rue|w has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
dr_bob has joined #ruby-lang
<Rarrikins_a> heftig: OK, I'll try that
marcopod has quit [Remote host closed the connection]
amerine has joined #ruby-lang
unix is now known as fire
sn0wb1rd has quit [Quit: sn0wb1rd]
nXqd has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
randomlogin has quit [Ping timeout: 256 seconds]
bougyman has quit [Quit: Lost terminal]
tylersmith has joined #ruby-lang
bougyman has joined #ruby-lang
nXqd has quit [Ping timeout: 252 seconds]
agile has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby-lang
Asher has quit [Quit: Leaving.]
<soahccc> How to read the last line of a file ignoring the rest of the file? Found some solutions but they're all pretty old and don't look really good. Is readline the way to go?
adambeynon has joined #ruby-lang
agile has joined #ruby-lang
<heftig> no, for performance reasons you probably want a custom solution that reads chunks from the end of the file, looking for a newline
<whitequark> `tail -n1 file`
Asher has joined #ruby-lang
<heftig> or just shell out
<heftig> but that's a cop-out :p
<soahccc> I saw those too. Is it generally better to read a "bigger" chunk and check for newline or doing it char by char?
<heftig> definitely don't do IO char-by-char
<soahccc> good to know =)
<soahccc> I think I stick to readlines first (with my with_position enum extension) but I will fiddle a bit with seek but I don't have enough time to make a clean implementation...
davidbalber|away is now known as davidbalbert
JohnBat26 has quit [Ping timeout: 245 seconds]
randomlogin has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
swav has quit [Remote host closed the connection]
vlad_sta_ has quit [Read error: Connection reset by peer]
djwonk has quit []
bredonjones has joined #ruby-lang
iamwn has joined #ruby-lang
<Rarrikins_a> I figured out the problem: I'm using Open3.capture2e, and apparently rubyw leaks the output of the command to the window.
io_syl has joined #ruby-lang
io_syl_ has joined #ruby-lang
io_syl has quit [Read error: Connection reset by peer]
dr_bob has quit [Quit: Leaving.]
io_syl_ is now known as io_syl
dhruvasagar has joined #ruby-lang
<iamwn> Hi, does anyone know if the Mutex class works only with Threads, or does it work with Processes as well?
<workmad3> iamwn: I believe it's only for threads... processes don't get shared memory
dasil003 has joined #ruby-lang
kurko__ has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
<iamwn> I thought so, thanks
tpope_ has left #ruby-lang [#ruby-lang]
<workmad3> iamwn: you shouldn't need mutexes for processes though... not having shared memory means that the sort of deadlock that mutexes protect against just aren't present
banisterfiend has joined #ruby-lang
tpope has joined #ruby-lang
jonahR has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<iamwn> Well, the thing is that I have a queue of data and x processes are handling the queue. Without shared memory, I can't prevent the process from handling something from the queue that is already being handled by some other process
workmad3 has quit [Ping timeout: 260 seconds]
__butch__ has joined #ruby-lang
skade has joined #ruby-lang
zhul_mechanos has quit [Quit: zhul_mechanos]
kcassidy has left #ruby-lang [#ruby-lang]
__butch__ has quit [Client Quit]
kfries6 has joined #ruby-lang
hackeron has quit [Ping timeout: 252 seconds]
__butch__ has joined #ruby-lang
djwonk has joined #ruby-lang
rue|w has joined #ruby-lang
Bearproof has joined #ruby-lang
agarie has joined #ruby-lang
agarie has quit [Remote host closed the connection]
aedorn has joined #ruby-lang
hackeron has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
__butch__ has quit [Quit: Leaving.]
hahuang65 has joined #ruby-lang
<crankharder> anyone know if there's an equivalent of this testrb -w option in 1.9.3 ? https://gist.github.com/crankharder/729c02713e66cc37c821#file-gistfile1-txt-L12
Bearproof has left #ruby-lang [#ruby-lang]
amerine has joined #ruby-lang
solars has joined #ruby-lang
agarie has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
krz has quit [Quit: krz]
havenwood has joined #ruby-lang
__butch__ has joined #ruby-lang
tenderlove has joined #ruby-lang
Marco has quit [Disconnected by services]
marco_ has joined #ruby-lang
arca0 has joined #ruby-lang
outoftime has quit [Read error: Connection reset by peer]
Mike26 has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
benanne has joined #ruby-lang
davidbalbert is now known as davidbalber|away
emmdeeess has joined #ruby-lang
cultureulterior_ has quit [Quit: cultureulterior_]
<emmdeeess> i have a questions about manipulating results from mysql queries
<emmdeeess> i'm able to connect and execute the query, but it just seems to retunr a hash
<emmdeeess> how can i get the results put into an array or something to manipulate it?
<havenwood> emmdeeess: Like?: Hash#to_a
mrsolo has joined #ruby-lang
<havenwood> emmdeeess: Can you paste a Gist of an example hash that is returned and what you want to turn it into?
<emmdeeess> sure
<emmdeeess> #<Mysql::Result:0x00000001f8abf0>
<emmdeeess> is what i get when i do "puts rs"
kurko__ has quit [Ping timeout: 252 seconds]
ottbot has quit [Ping timeout: 252 seconds]
<havenwood> emmdeeess: Ohhh, you mean returns an object that begins with a #-symbol. >.> I thought you meant a Hash.
<emmdeeess> sorry, i don't know the correct term
outoftime has joined #ruby-lang
<emmdeeess> the results should be 2 columns and a variable amount of rows
JohnBat26 has joined #ruby-lang
<emmdeeess> i would like to convert them into an array that looks like [r1c1, r1c2, r1c1, r2c2, etc...]
<emmdeeess> err, [r1c1, r1c2, r2c1, r2c2, etc...]
<havenwood> emmdeeess: I'd suggest using the Pry gem and looking at what instance methods are available on your #<Mysql::Result:0x00000001f8abf0>.
<havenwood> emmdeeess: Or just ask it: #public_methods(false)
Bearproof1 has joined #ruby-lang
Bearproof1 has left #ruby-lang [#ruby-lang]
<havenwood> emmdeeess: With Pry you can do stuff like: cd Mysql::Result; ls
<havenwood> emmdeeess: To see the instance methods, class methods, variables, etc.
<havenwood> emmdeeess: http://pryrepl.org/
<emmdeeess> thank you, i'm trying to install it now
dhruvasagar has quit [Ping timeout: 252 seconds]
<havenwood> emmdeeess: Cool. From inside Pry just type 'help' to see the pry-specific commands.
<emmdeeess> i get NilClass#methods: & ^ __pry__ inspect nil? pretty_print_cycle rationalize to_a to_c to_f to_i to_r to_s |
<emmdeeess> but if i try to_a, i get an error
banisterfiend has quit [Remote host closed the connection]
mistym is now known as mistym_lunch
<emmdeeess> NoMethodError: undefined method `to_a' for #<Mysql::Result:0x0000000159f9b0>
fire has quit [Quit: WeeChat 0.4.0]
megha has joined #ruby-lang
<havenwood> emmdeeess: It isn't a Hash. Hash#to_a would have work, *if* it was a Hash. :P
<havenwood> s/work/worked
nXqd has joined #ruby-lang
b1rkh0ff has quit [Read error: Connection reset by peer]
<havenwood> emmdeeess: Looks like you are using ActiveRecord? You might have better luck approaching the issue in #RubyOnRails
<emmdeeess> ok, i'm trying to figure this out - what i have is a result set, and i need to have something that goes through each row?
<emmdeeess> i have no idea what i'm doing =o)
<havenwood> emmdeeess: I'd suggest reading the docs on ActiveRecord and asking in #railsnoob or #rubyonrails
<emmdeeess> appreciate it, thank you
slyphon has quit [Quit: slyphon]
<havenwood> emmdeeess: Pry really is nice for hacking together whats going on in a situation like you're in - but documentation and asking Rails folks will probably get you to this particular answer quicker :P
slyphon has joined #ruby-lang
ddv has quit [Read error: Connection reset by peer]
toertore has joined #ruby-lang
enebo_ has joined #ruby-lang
jxie has joined #ruby-lang
nXqd_ has joined #ruby-lang
bredonjo_ has joined #ruby-lang
<havenwood> emmdeeess: There appear to be a bunch of libraries that use Mysql::Result. Rails, ffi-mysql, mysql gem. A gist of the code you use to instantiate the Mysql::Result would be key!
mephux_ has joined #ruby-lang
ddv has joined #ruby-lang
priodev has quit [Ping timeout: 276 seconds]
nXqd has quit [*.net *.split]
marco_ has quit [*.net *.split]
bredonjones has quit [*.net *.split]
mephux has quit [*.net *.split]
enebo has quit [*.net *.split]
toretore has quit [*.net *.split]
enebo_ is now known as enebo
mephux_ is now known as mephux
banisterfiend has joined #ruby-lang
shtirlic has joined #ruby-lang
bradland has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
vlad_starkov has joined #ruby-lang
Rarrikins_a_d has joined #ruby-lang
djwonk has quit []
Rarrikins_a has quit [Ping timeout: 245 seconds]
marco_ has joined #ruby-lang
Rarrikins_a_d has left #ruby-lang [#ruby-lang]
slyphon has quit [Quit: slyphon]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tdy has quit [Read error: Operation timed out]
davidbalber|away is now known as davidbalbert
jgv has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Read error: Connection reset by peer]
ddv has quit [Changing host]
ddv has joined #ruby-lang
slyphon has joined #ruby-lang
brianpWins has joined #ruby-lang
kurko__ has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 252 seconds]
banister_ has joined #ruby-lang
methods has joined #ruby-lang
bin7me has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
nXqd_ has quit [Remote host closed the connection]
rue|w has joined #ruby-lang
judofyr has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
robotmay has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
rue|w has quit [Ping timeout: 276 seconds]
djwonk has joined #ruby-lang
JohnBat26 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
ottbot has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
randomlogin has quit [Ping timeout: 252 seconds]
tdy has joined #ruby-lang
mistym_lunch is now known as mistym
ddv has quit [Ping timeout: 240 seconds]
ImSexyandIknowit has quit [Quit: афк]
havenwood has quit [Remote host closed the connection]
benanne has quit [Remote host closed the connection]
__butch__ has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
tonni has joined #ruby-lang
maxmanders has joined #ruby-lang
aedorn has quit [Quit: Leaving]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
rippa has quit [Ping timeout: 240 seconds]
ivanoats has quit [Remote host closed the connection]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ottbot has quit [Ping timeout: 260 seconds]
sustainableweb has joined #ruby-lang
sustainableweb has quit [Remote host closed the connection]
sustainableweb has joined #ruby-lang
ivanoats has quit [Ping timeout: 272 seconds]
sustainableweb has quit [Ping timeout: 240 seconds]
judofyr has quit [Read error: No route to host]
judofyr has joined #ruby-lang
nXqd has joined #ruby-lang
randomlogin has joined #ruby-lang
CoverSlide has quit [Ping timeout: 240 seconds]
Bearproof has joined #ruby-lang
Bearproof has quit [Client Quit]
intellitech has quit [Quit: intellitech]
s1kx has joined #ruby-lang
s1kx has quit [Changing host]
s1kx has joined #ruby-lang
reactormonk has quit [Quit: WeeChat 0.3.8]
kfries6 has left #ruby-lang [#ruby-lang]
workmad3 has joined #ruby-lang
bredonjo_ has quit [Remote host closed the connection]
gregmore_ has joined #ruby-lang
gregmore_ has quit [Remote host closed the connection]
Elixor has joined #ruby-lang
<zzak> drbrain: did you see who i have to present with tonight?
<drbrain> you guys should high-five
<zzak> i pee'd my pants
<drbrain> haha
<drbrain> Jim is awesome
<zzak> i should whip up some patches for him so i have an excuse to ping him IRL
rodj has joined #ruby-lang
<rodj> hello all
<rodj> I have a ruby oauth integration question.: Is it important to keep my API_KEY and API_SECRET private?
yobiflare has joined #ruby-lang
<rodj> or is there a better place to ask the question?
workmad3 has quit [Ping timeout: 252 seconds]
joevandyk has joined #ruby-lang
kurko__ has quit [Quit: Computer has gone to sleep.]
adambeynon has joined #ruby-lang
<judofyr> rodj: yes, API_SECRET is supposed to be *very* secret :)
workmad3 has joined #ruby-lang
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
<rodj> I was afraid of that.... If I have a script I plan to release as open source, does each user need to have thier own separate API key and APU secret?
<judofyr> rodj: yup
<rodj> although, I appreciate the quick answer, this is not what I wanted to hear. but it does make sense.
bluepojo has joined #ruby-lang
kurko__ has joined #ruby-lang
ottbot has joined #ruby-lang
drbrain_ has joined #ruby-lang
drbrain has quit [Disconnected by services]
drbrain_ is now known as drbrain
bzb has joined #ruby-lang
Elixor has quit []
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
workmad3 has quit [Ping timeout: 248 seconds]
judofyr has quit [Remote host closed the connection]
guns has joined #ruby-lang
shtirlic has quit [Remote host closed the connection]
slyphon has quit [Quit: slyphon]
stonerfish has joined #ruby-lang
gregmore_ has joined #ruby-lang
slyphon has joined #ruby-lang
rodj has quit [Ping timeout: 245 seconds]
tonni has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
hakunin has joined #ruby-lang
benanne has joined #ruby-lang
priodev has joined #ruby-lang
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
yobiflare has quit [Read error: Operation timed out]
workmad3 has joined #ruby-lang
bzb has quit [Quit: Leaving]
ottbot has quit [Ping timeout: 252 seconds]
kurko__ has quit [Read error: Connection reset by peer]
mythogen has quit [Quit: mythogen]
kurko__ has joined #ruby-lang
reactormonk has joined #ruby-lang
ivanoats has joined #ruby-lang
glebm has joined #ruby-lang
ridget has joined #ruby-lang
randomlogin has quit [Ping timeout: 252 seconds]
jacktrick has joined #ruby-lang
sailias has quit [Ping timeout: 252 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
joevandyk has quit [Quit: joevandyk]
Mon_Ouie has quit [Ping timeout: 256 seconds]
mythogen has joined #ruby-lang
mythogen has quit [Remote host closed the connection]
mythogen has joined #ruby-lang
joevandyk has joined #ruby-lang
srbaker has joined #ruby-lang
Vektor has joined #ruby-lang
marco_ has quit [Disconnected by services]
slyphon_ has joined #ruby-lang
slyphon_ has quit [Client Quit]
Harzilein has joined #ruby-lang
<Harzilein> hi
scampbell has quit [Quit: Leaving]
emmdeeess has left #ruby-lang [#ruby-lang]
slyphon has quit [Ping timeout: 244 seconds]
<jacktrick> 'lo
bzb has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
djwonk has quit []
jvrmaia has joined #ruby-lang
emocakes has quit [Quit: emocakes]
ottbot has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
jvrmaia has quit [Ping timeout: 272 seconds]
idkazuma has joined #ruby-lang
yobiflare has joined #ruby-lang
randomlogin has joined #ruby-lang
sepp2k has quit [Ping timeout: 245 seconds]
davidbalbert is now known as davidbalber|away
mythogen has quit [Quit: mythogen]
tonni has joined #ruby-lang
joevandyk has quit [Quit: joevandyk]
guns has quit [Ping timeout: 252 seconds]
sepp2k has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
baba has joined #ruby-lang
megha has quit [Ping timeout: 256 seconds]
ilyam has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
joevandyk has joined #ruby-lang
cupakromer has joined #ruby-lang
havenwood has joined #ruby-lang
Qwakeree has joined #ruby-lang
slyphon has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
jonahR_ has joined #ruby-lang
jonahR_ has quit [Client Quit]
zhul_mechanos has joined #ruby-lang
qwakeree_ has joined #ruby-lang
Marco has joined #ruby-lang
jonahR has quit [Ping timeout: 248 seconds]
ivanoats has quit [Ping timeout: 255 seconds]
jvrmaia has joined #ruby-lang
robotmay has joined #ruby-lang
ryanf has joined #ruby-lang
qwakeree_ has quit [Quit: Page closed]
swav has joined #ruby-lang
Qwakeree has quit []
Qwakeree has joined #ruby-lang
mjio has joined #ruby-lang
Bearproof has joined #ruby-lang
ilyam_ has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
ivanoats has joined #ruby-lang
dasil003 has quit [Ping timeout: 252 seconds]
ilyam has quit [Ping timeout: 276 seconds]
ilyam_ is now known as ilyam
JoelMcCracken has quit [Ping timeout: 245 seconds]
jacktrick has quit [Quit: Leaving]
Qwakeree has left #ruby-lang [#ruby-lang]
ramonmaruko has quit [Ping timeout: 246 seconds]
jtoy has quit [Quit: jtoy]
MaddinXx_ has quit [Remote host closed the connection]
blacktulip has quit [Remote host closed the connection]
cirenyc has joined #ruby-lang
mercwithamouth has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
bzb has quit [Quit: Leaving]
nXqd has quit [Ping timeout: 240 seconds]
dustint has quit [Read error: Operation timed out]
slyphon has quit [Ping timeout: 276 seconds]
beho has quit [Remote host closed the connection]
solars has quit [Ping timeout: 256 seconds]
randomlogin has quit [Remote host closed the connection]
randomlogin has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
sn0wb1rd has quit [Read error: Connection reset by peer]
randomlogin has left #ruby-lang [#ruby-lang]
sn0wb1rd has joined #ruby-lang
randomlogin has joined #ruby-lang
Qwakeree has joined #ruby-lang
<Qwakeree> hola?
benanne has quit [Quit: kbai]
bluepojo has quit [Read error: Connection reset by peer]
bluepojo has joined #ruby-lang
outoftime has quit [Quit: Leaving]
<drbrain> hello
slyphon has joined #ruby-lang
Mike26 has quit [Quit: Leaving.]
dasil003 has joined #ruby-lang
kisha has joined #ruby-lang
Mike26 has joined #ruby-lang
Mike26 has quit [Read error: Connection reset by peer]
lcdhoffman has quit [Quit: lcdhoffman]
tenderlove has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
<kisha> Hello there. I'm shifted from 1.9.3-p194 to p386. I switched it back (--default to 194) and am experiencing all kinds of issues with new & existing rails apps. Any help you could provide would be appreciated -- Here is the gist https://gist.github.com/kisha/4774517
<kisha> Can anyone provide a little guidance or point me in the right direction?
scottschecter has quit [Quit: WeeChat 0.4.0]
bantic has quit [Quit: bantic]
<havenwood> kisha: Curious what OS and distro you are on? OS X?
<kisha> I don't know what distro means but I'm using OS 10.7 (Lion)
<havenwood> kisha: On second glance I shoulda known it was OS X, from darwin. Oops!
<kisha> No worries, any help would be humbly appreciated
<havenwood> kisha: If you open `irb` and `require 'openssl'` does it work?
<havenwood> kisha: Maybe paste on gist.github.com the output of the following from the Terminal: DYLD_PRINT_LIBRARIES=1 ruby -ropenssl -e "nil"
scottschecter has joined #ruby-lang
ridget has quit [Remote host closed the connection]
sigerello has joined #ruby-lang
ridget has joined #ruby-lang
Qwakeree has quit []
Qwakeree has joined #ruby-lang
kurko__ has quit [Quit: Computer has gone to sleep.]
davidbalber|away is now known as davidbalbert
mwjcomputing has joined #ruby-lang
neocoin has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
toertore has quit [Quit: Leaving]
randomlogin has quit [Quit: randomlogin]
<havenwood> kisha: Hrm. Did you run `bundle` from the app directory?
randomlogin has joined #ruby-lang
arca0 has quit [Remote host closed the connection]
ottbot has quit [Ping timeout: 256 seconds]
kisha has quit [Quit: kisha]
sigerello has quit [Ping timeout: 245 seconds]
ridget has quit [Remote host closed the connection]