caseypatrickdris has quit [Remote host closed the connection]
caseypatrickdris has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
caseypatrickdris has quit [Remote host closed the connection]
_fritchie has quit [Ping timeout: 244 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
jxie has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby-lang
ahmetkapikiran has quit [Quit: ahmetkapikiran]
yfeldblum has quit [Ping timeout: 258 seconds]
__butch__ has quit [Quit: Leaving.]
Musashi007 has quit [Quit: Musashi007]
midhir has quit [Remote host closed the connection]
loincloth has quit [Remote host closed the connection]
midhir has joined #ruby-lang
Guest26597 has joined #ruby-lang
Musashi007 has joined #ruby-lang
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
hahuang61 has quit [Ping timeout: 244 seconds]
stamina has quit [Ping timeout: 245 seconds]
mattyohe has quit [Quit: Connection closed for inactivity]
_fritchie has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
RobertBirnie has quit [Ping timeout: 245 seconds]
apeiros_ has quit [Remote host closed the connection]
existensil has quit [Ping timeout: 250 seconds]
apeiros_ has joined #ruby-lang
setanta_ has quit [Quit: Leaving]
havenwood has joined #ruby-lang
Iskarlar has joined #ruby-lang
hendranata_ has joined #ruby-lang
marr has quit [Ping timeout: 245 seconds]
_fritchie has quit [Read error: Connection reset by peer]
Iskarlar has quit [Client Quit]
_fritchie has joined #ruby-lang
|jemc| has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007_ has joined #ruby-lang
Musashi007 has quit [Ping timeout: 258 seconds]
Musashi007_ is now known as Musashi007
dorei has quit []
yfeldblum has joined #ruby-lang
simi has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
Menorah has joined #ruby-lang
amsi has quit [Quit: Leaving]
loincloth has joined #ruby-lang
hahuang61 has joined #ruby-lang
hahuang61 has quit [Client Quit]
hahuang61 has joined #ruby-lang
loincloth has quit [Ping timeout: 245 seconds]
heftig_ has joined #ruby-lang
heftig has quit [Read error: Connection reset by peer]
yusuf1 has joined #ruby-lang
Yserz_ has quit [Quit: Leaving.]
charliesome has joined #ruby-lang
brianpWins has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Guest26597 has quit [Ping timeout: 264 seconds]
|jemc| has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
ur5us_ has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
ur5us has quit [Ping timeout: 264 seconds]
ur5us_ has quit [Ping timeout: 264 seconds]
j4cknewt has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
yfeldblum has joined #ruby-lang
kapil__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 258 seconds]
<jdecuirm>
Hi guys! i'm reading about File#seek in ruby documentation but i'm not getting the full picture! i'm working with a FILE object but in an example they use file.seek(0)
<jdecuirm>
As far as i understand it's for going to the beginning of the line in the File, but can anyone can help me understand it?
jds has quit [Quit: Connection closed for inactivity]
j4cknewt has joined #ruby-lang
<thefunc5>
Hey all, not sure if this is a good place to ask, but i have a hard time finding any rubyists close by that could help. I am a total newbie to programming and trying to learn with ruby. Does anyone have a second to look at a script and see if im understanding how to use some of the basics?
caseypatrickdris has quit [Remote host closed the connection]
sankaber has joined #ruby-lang
amclain has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
|jemc| has quit [Ping timeout: 252 seconds]
kiyote23 has joined #ruby-lang
leonmaia has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 265 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has quit [Ping timeout: 244 seconds]
loincloth has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
loincloth has quit [Ping timeout: 255 seconds]
amclain has quit [Quit: Leaving]
|jemc| has joined #ruby-lang
tzero has quit [Quit: WeeChat 0.4.3]
|jemc| has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
Iskarlar has joined #ruby-lang
Iskarlar has quit [Client Quit]
yfeldblum has quit [Ping timeout: 240 seconds]
Menorah has quit [Quit: This computer has gone to sleep]
thefunc5 has quit [Ping timeout: 246 seconds]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
ItSANg___ has quit [Quit: Leaving...]
gix has quit [Ping timeout: 244 seconds]
banister has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
gix has joined #ruby-lang
revath has joined #ruby-lang
loincloth has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
AKASkip has joined #ruby-lang
ItSANgo has joined #ruby-lang
loincloth has quit [Ping timeout: 256 seconds]
mistym has quit [Remote host closed the connection]
jo__ has quit [Quit: Connection closed for inactivity]
j4cknewt has quit [Remote host closed the connection]
Musashi007 has joined #ruby-lang
TheRinger_ has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby-lang
AKASkip has joined #ruby-lang
Asher has quit [Quit: Leaving.]
j4cknewt has joined #ruby-lang
michaeldeol has quit [Client Quit]
wprice has quit [Quit: wprice]
Asher has joined #ruby-lang
yfeldblum has joined #ruby-lang
symm- has joined #ruby-lang
revathskumar has joined #ruby-lang
ta has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
revath has quit [Ping timeout: 264 seconds]
JohnBat26 has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 272 seconds]
ahmetkapikiran has joined #ruby-lang
michaeldeol has joined #ruby-lang
oleo is now known as Guest63467
oleo__ has joined #ruby-lang
Guest63467 has quit [Ping timeout: 244 seconds]
iamninja has joined #ruby-lang
ahmetkapikiran has quit [Quit: ahmetkapikiran]
|jemc| has joined #ruby-lang
rahul_j has joined #ruby-lang
mostlybadfly has quit [Quit: Connection closed for inactivity]
ta has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
[spoiler] has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
Bwild has quit [Ping timeout: 244 seconds]
TheRinger_ has joined #ruby-lang
<TheRinger_>
anyone alive
fclausen has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
lele has quit [Ping timeout: 272 seconds]
gianlucadv has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
revathskumar has quit [Quit: Leaving]
lele has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Iskarlar has joined #ruby-lang
Iskarlar has quit [Client Quit]
cantonic has quit [Quit: cantonic]
jxie has joined #ruby-lang
pwnz0r has joined #ruby-lang
elia has joined #ruby-lang
tkuchiki has joined #ruby-lang
pwnz0r has quit [Ping timeout: 244 seconds]
kyb3r_ has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
ta has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
TheRinger_ has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
Menorah has joined #ruby-lang
Musashi007 has quit [Ping timeout: 245 seconds]
shubhamgoyal has joined #ruby-lang
fclausen has joined #ruby-lang
yfeldblum has joined #ruby-lang
Musashi007 has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
hendranata_ has quit [Ping timeout: 256 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
fclausen has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Ping timeout: 272 seconds]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
hendranata_ has joined #ruby-lang
solars has joined #ruby-lang
ta has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
Musashi007 has quit [Quit: Musashi007]
Iskarlar has joined #ruby-lang
rahul_j has joined #ruby-lang
kerunaru has joined #ruby-lang
chinmay_dd has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
ta has quit [Remote host closed the connection]
kyb3r_ has quit [Quit: Leaving]
skade has joined #ruby-lang
Musashi007 has joined #ruby-lang
bin7me has joined #ruby-lang
charliesome has quit [Quit: zzz]
jxie has quit [Ping timeout: 250 seconds]
jxie has joined #ruby-lang
yfeldblum has joined #ruby-lang
ta has joined #ruby-lang
charliesome has joined #ruby-lang
yfeldblum has quit [Ping timeout: 258 seconds]
Menorah has quit [Quit: This computer has gone to sleep]
fclausen has joined #ruby-lang
skade has quit [Remote host closed the connection]
<wnd>
I'm afraid we're all away from keyboards
<wnd>
jdecuirm, I don't see the problem
deryl has quit []
<wnd>
if "file" is an instance of File, file.seek(0) indeed sets the read/write position (of that IO instance) to offset 0, meaning the next input/output operation will access the first octet in the IO stream
Menorah has joined #ruby-lang
Sadin has joined #ruby-lang
ShawnHill has joined #ruby-lang
Menorah has quit [Client Quit]
<ljarvis>
mornin'
skade has joined #ruby-lang
Sadin has quit [Ping timeout: 245 seconds]
skade has quit [Remote host closed the connection]
skade has quit [Remote host closed the connection]
marr has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
lele has quit [Ping timeout: 272 seconds]
lele|w has quit [Ping timeout: 272 seconds]
<DefV>
apeiros_: but does it do the same things?
skade has joined #ruby-lang
mistym has quit [Ping timeout: 256 seconds]
lele has joined #ruby-lang
workmad3 has joined #ruby-lang
hendranata_ has quit [Ping timeout: 245 seconds]
<yxhuvud>
apeiros: looks nice. What is jakob?
cornerma1 has joined #ruby-lang
wnd has quit [Excess Flood]
wnd has joined #ruby-lang
<ljarvis>
apeiros_: those numbers appear awfully round :)
<apeiros_>
DefV: AR is, and will probably always be, more capable than jacob's ORM. but those 3 operations are roughly equivalent. Jacob has an advantage in that it only targets postgres and lacks DBI.
<apeiros_>
ljarvis: yes, thought the same thing :) memory measurement was done using ssam's memory_profiler. so if there's anything off, I blame him ;-)
cornerman has quit [Ping timeout: 245 seconds]
cornerma1 is now known as cornerman
<apeiros_>
yxhuvud: my upcoming webframework
<yxhuvud>
I see.
yfeldblum has joined #ruby-lang
<yxhuvud>
it is really easy to not output usecs though.
<yxhuvud>
and somewhat easy to shave them off by accident
lele|w has joined #ruby-lang
<apeiros_>
0.476000ms = 476µs
<apeiros_>
not shaved off
<apeiros_>
and the rest of the digits are probably zero because it's 1000 iterations. not sure how high Benchmark.measure's resolution is.
yfeldblum has quit [Ping timeout: 244 seconds]
<apeiros_>
ah, actually that's not correct. I output the time per single iteration.
<apeiros_>
i.e., a single ArModel.find(id) = 0.24ms in a batch of 1000x ArModel.find(id)
simi has joined #ruby-lang
cantonic has joined #ruby-lang
kerunaru has quit [Ping timeout: 272 seconds]
ryez has quit [Ping timeout: 246 seconds]
stamina has joined #ruby-lang
skade has quit [Remote host closed the connection]
<Eising>
hey, has anyone worked with XmlBuilder? I'm using it to generate HTML helpers for my sinatra project, but I can't make it accept HTML (ie. XML) as output. It always quotes it, making it unrenderable
Sadin has quit [Ping timeout: 244 seconds]
skade has quit [Remote host closed the connection]
Miphix has joined #ruby-lang
skade has joined #ruby-lang
<maloik>
ljarvis: have you tried panic's ssh client?
<maloik>
it used to be pretty popular, and they released a new version quite recently
<maloik>
its like 3 bucks or something
skade has quit [Remote host closed the connection]
<DefV>
new version?
<DefV>
ugh
<DefV>
they actually made a "2" version
<DefV>
and it's 9 bucks
<maloik>
by new I meant the latest version, which is what... 2 months old or so?
<maloik>
could be dead wrong though, as I don't have it, I just know colleagues used to have the old one
<maloik>
not sure if they use this one
skade has joined #ruby-lang
skade has quit [Remote host closed the connection]
<ljarvis>
i haven't, that seemed to be the most popular one i guess
<ljarvis>
there's a lot of them
<DefV>
I used the original app
<DefV>
and it was lightyears ahead of what other apps were doing
Miphix has quit [Read error: Connection reset by peer]
Missphoenix has joined #ruby-lang
Missphoenix has quit [Remote host closed the connection]
fclausen has quit [Ping timeout: 272 seconds]
<maloik>
yep, I heard it ended up buggy and pretty unsupported though
<maloik>
until this new one came out
skade has joined #ruby-lang
<yorickpeterse>
why the heck would you pay for an SSH client?
skade has quit [Remote host closed the connection]
<maloik>
because it's software that you need, and that someone put their time into?
stamina has quit [Remote host closed the connection]
<yorickpeterse>
Except every OS X/Linux installation comes with a free SSH client already that supports the whole protocol?
<maloik>
we're talking about an ios app
<yorickpeterse>
you might want to mention that earlier at some point
skade has joined #ruby-lang
<yorickpeterse>
SSH'ing from a phone, that's gotta be super weird
skade has quit [Remote host closed the connection]
<maloik>
works for simple stuff though I guess
<maloik>
as in easy fixes
gss has joined #ruby-lang
yfeldblum has joined #ruby-lang
fclausen has joined #ruby-lang
gix has quit [Quit: Client exiting]
yfeldblum has quit [Ping timeout: 250 seconds]
ItSANgo has quit [Quit: Leaving...]
kerunaru has joined #ruby-lang
Miphix has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Remote host closed the connection]
fusillicode1 has joined #ruby-lang
fusillicode has quit [Read error: No route to host]
Yserz_ has joined #ruby-lang
ItSANgo has joined #ruby-lang
<ljarvis>
vim on my iphone 6 is pretty nice
<ljarvis>
on a plus it's probably quite usable
cantonic has joined #ruby-lang
kurko__ has joined #ruby-lang
skade has joined #ruby-lang
cantonic has quit [Ping timeout: 252 seconds]
<DefV>
yorickpeterse: I prefer SSH on my phone over having to drag my laptop along any day :-)
<DefV>
(for "oh shit everything is offline" moments, not "let's set up a new server")
Forgetful_Lion has joined #ruby-lang
Sadin has joined #ruby-lang
Sadin has quit [Ping timeout: 245 seconds]
skade has quit [Remote host closed the connection]
fclausen has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby-lang
deryl has joined #ruby-lang
skade has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
tsou has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
Miphix has quit [Read error: Connection reset by peer]
<Con7e>
Well, this isn't clear at all what it does
<Con7e>
The python equivales is
<Con7e>
*equivalent
<maloik>
what's your question Con7e ?
kiyote23 has quit [*.net *.split]
tcopeland has quit [*.net *.split]
shaman42 has quit [*.net *.split]
yeltzooo9 has quit [*.net *.split]
ksoderstrom has quit [*.net *.split]
kith_ has quit [*.net *.split]
kirin` has quit [*.net *.split]
soahccc has quit [*.net *.split]
aarellano has quit [*.net *.split]
tsou has quit [*.net *.split]
cornerman has quit [*.net *.split]
yield_rb has quit [*.net *.split]
kfpratt has quit [*.net *.split]
webhat has quit [*.net *.split]
matled has quit [*.net *.split]
Mellett68 has quit [*.net *.split]
ericwood has quit [*.net *.split]
jlpeters has quit [*.net *.split]
blowmage` has quit [*.net *.split]
godd2 has quit [*.net *.split]
zemlya has quit [*.net *.split]
levifig has quit [*.net *.split]
LBo has quit [*.net *.split]
sideshowcoder has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
apeiros_ has quit [*.net *.split]
chinmay_dd has quit [*.net *.split]
tockitj has quit [*.net *.split]
dabradley has quit [*.net *.split]
ryotarai has quit [*.net *.split]
Keltia__1 has quit [*.net *.split]
Keltia___ has quit [*.net *.split]
GaelanAintAround has quit [*.net *.split]
kramsee has quit [*.net *.split]
drbrain has quit [*.net *.split]
unsymbol_ has quit [*.net *.split]
ironcamel has quit [*.net *.split]
jamo_ has quit [*.net *.split]
flgr has quit [*.net *.split]
rtl has quit [*.net *.split]
soraher has quit [*.net *.split]
joevandyk has quit [*.net *.split]
jtperreault has quit [*.net *.split]
ged has quit [*.net *.split]
workmad3 has quit [*.net *.split]
rahul_j has quit [*.net *.split]
JohnBat26 has quit [*.net *.split]
brianpWins has quit [*.net *.split]
mliqu has quit [*.net *.split]
crazysim has quit [*.net *.split]
djinni` has quit [*.net *.split]
llakey has quit [*.net *.split]
Xney has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
deg has quit [*.net *.split]
ihme-TTilus has quit [*.net *.split]
moogumbo has quit [*.net *.split]
_br_- has quit [*.net *.split]
nfsnobody has quit [*.net *.split]
kurko__ has quit [*.net *.split]
Yserz_ has quit [*.net *.split]
fusillicode1 has quit [*.net *.split]
marr has quit [*.net *.split]
midhir has quit [*.net *.split]
bb010g has quit [*.net *.split]
duderonomy has quit [*.net *.split]
shinnya has quit [*.net *.split]
bradland has quit [*.net *.split]
bennyklotz has quit [*.net *.split]
brixen has quit [*.net *.split]
bcardarella_ has quit [*.net *.split]
womble has quit [*.net *.split]
ramblinpeck_ has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
dvorak has quit [*.net *.split]
iamninja has quit [*.net *.split]
ishikawa has quit [*.net *.split]
oleo__ has quit [*.net *.split]
Asher has quit [*.net *.split]
clauswitt has quit [*.net *.split]
matp has quit [*.net *.split]
DivineEntity has quit [*.net *.split]
chouhoulis has quit [*.net *.split]
vondruch has quit [*.net *.split]
ledestin has quit [*.net *.split]
hachiya has quit [*.net *.split]
weaksauce has quit [*.net *.split]
bahar has quit [*.net *.split]
nivardus has quit [*.net *.split]
jxie has quit [*.net *.split]
Musashi007 has quit [*.net *.split]
Miphix has quit [*.net *.split]
simi has quit [*.net *.split]
lele|w has quit [*.net *.split]
zz_dlu has quit [*.net *.split]
nertzy3 has quit [*.net *.split]
faces has quit [*.net *.split]
Val_ has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
hackeron has quit [*.net *.split]
mbr has quit [*.net *.split]
surrounder has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
sonne has quit [*.net *.split]
ljarvis has quit [*.net *.split]
jxport has quit [*.net *.split]
Xzyx987X has quit [*.net *.split]
drew2 has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
allolex___ has quit [*.net *.split]
headius has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
pipework has quit [*.net *.split]
skade has quit [*.net *.split]
lele has quit [*.net *.split]
banister has quit [*.net *.split]
joast has quit [*.net *.split]
clamstar has quit [*.net *.split]
Guest83413 has quit [*.net *.split]
funnel has quit [*.net *.split]
fvt has quit [*.net *.split]
TrafficMan_ has quit [*.net *.split]
Gate has quit [*.net *.split]
ozialien has quit [*.net *.split]
oddmunds has quit [*.net *.split]
miqui_ has quit [*.net *.split]
pd has quit [*.net *.split]
btcctf has quit [*.net *.split]
zz_gianlucadv has quit [*.net *.split]
imajes has quit [*.net *.split]
jdecuirm has quit [*.net *.split]
eban has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
marcel has quit [*.net *.split]
Forgetful_Lion has quit [*.net *.split]
wnd has quit [*.net *.split]
ta has quit [*.net *.split]
heftig_ has quit [*.net *.split]
kalzz has quit [*.net *.split]
znz_jp has quit [*.net *.split]
pabs has quit [*.net *.split]
nisstyre has quit [*.net *.split]
benlakey_ has quit [*.net *.split]
canton7 has quit [*.net *.split]
kapil__ has quit [*.net *.split]
arBmind1 has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
Sgeo has quit [*.net *.split]
bnagy has quit [*.net *.split]
chris2 has quit [*.net *.split]
avdi has quit [*.net *.split]
lacrosse__ has quit [*.net *.split]
EvilJStoker has quit [*.net *.split]
ammar_ has quit [*.net *.split]
mjc_ has quit [*.net *.split]
bkutil_ has quit [*.net *.split]
cyndis has quit [*.net *.split]
ggherdov has quit [*.net *.split]
wizonesolutions has quit [*.net *.split]
manveru has quit [*.net *.split]
shennyg_ has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
DefV has quit [*.net *.split]
Steve_Jobs has quit [*.net *.split]
sross07 has quit [*.net *.split]
thang has quit [*.net *.split]
x0f_ has quit [*.net *.split]
seank_ has quit [*.net *.split]
vladgh has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
Aova has quit [*.net *.split]
hplar_ has quit [*.net *.split]
hagabaka has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
akahn has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
tris has quit [*.net *.split]
th2389_____ has quit [*.net *.split]
fumduq has quit [*.net *.split]
mfn has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
bryancp has quit [*.net *.split]
daguar has quit [*.net *.split]
whitequark has quit [*.net *.split]
lupine has quit [*.net *.split]
Eising has quit [*.net *.split]
shtirlic has quit [*.net *.split]
jsaak has quit [*.net *.split]
_rgn has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
ruskie has quit [*.net *.split]
acalewin has quit [*.net *.split]
ght has quit [*.net *.split]
deryl has quit [*.net *.split]
Iskarlar has quit [*.net *.split]
solars has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
tzero has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
vieq has quit [*.net *.split]
anekos has quit [*.net *.split]
ReinH has quit [*.net *.split]
tpope has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
bryanl has quit [*.net *.split]
musl has quit [*.net *.split]
ohsix has quit [*.net *.split]
Jamo has quit [*.net *.split]
matti has quit [*.net *.split]
_ko10 has quit [*.net *.split]
skinny_much has quit [*.net *.split]
Radar has quit [*.net *.split]
jtoy has quit [*.net *.split]
zz_sMecKs has quit [*.net *.split]
Con7e has quit [*.net *.split]
gss has quit [*.net *.split]
bin7me has quit [*.net *.split]
gianlucadv has quit [*.net *.split]
darix has quit [*.net *.split]
nifoc has quit [*.net *.split]
saltsa has quit [*.net *.split]
waxjar has quit [*.net *.split]
Rylee has quit [*.net *.split]
dvorkbjel has quit [*.net *.split]
ndrst has quit [*.net *.split]
jtdoncas has quit [*.net *.split]
zenspider has quit [*.net *.split]
jhass has quit [*.net *.split]
xsdg has quit [*.net *.split]
badeball has quit [*.net *.split]
perry has quit [*.net *.split]
ozzloy has quit [*.net *.split]
duper` has quit [*.net *.split]
cawil has quit [*.net *.split]
knu0 has quit [*.net *.split]
sindork has quit [*.net *.split]
FastJack has quit [*.net *.split]
lianj has quit [*.net *.split]
kalleth has quit [*.net *.split]
Senjai has quit [*.net *.split]
maloik has quit [*.net *.split]
tbuehlmann has quit [*.net *.split]
mame1 has quit [*.net *.split]
erichmenge has quit [*.net *.split]
GitNick has quit [*.net *.split]
epitron has quit [*.net *.split]
DEac- has quit [*.net *.split]
shawnacscott has quit [*.net *.split]
eam has quit [*.net *.split]
sluukkonen has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
freedrull has quit [*.net *.split]
_mh_ has quit [*.net *.split]
KillerFox has quit [*.net *.split]
caseypatrickdris has quit [*.net *.split]
kerunaru has quit [*.net *.split]
hakunin has quit [*.net *.split]
AKASkip has quit [*.net *.split]
revans has quit [*.net *.split]
j2p2 has quit [*.net *.split]
priodev has quit [*.net *.split]
zeusmns has quit [*.net *.split]
araujo has quit [*.net *.split]
tdy has quit [*.net *.split]
cout has quit [*.net *.split]
mahlon has quit [*.net *.split]
certainty has quit [*.net *.split]
Kero has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
eval-in__ has quit [*.net *.split]
Muz has quit [*.net *.split]
Silex has quit [*.net *.split]
pizzaops has quit [*.net *.split]
xybre has quit [*.net *.split]
mnilsson has quit [*.net *.split]
wmoxam has quit [*.net *.split]
zz_sMecKs has joined #ruby-lang
KillerFox has joined #ruby-lang
_mh_ has joined #ruby-lang
freedrull has joined #ruby-lang
ddfreyne has joined #ruby-lang
skinny_much has joined #ruby-lang
pipework has joined #ruby-lang
sluukkonen has joined #ruby-lang
TheMoonMaster has joined #ruby-lang
DEac- has joined #ruby-lang
yugui_zzz has joined #ruby-lang
_rgn has joined #ruby-lang
jsaak has joined #ruby-lang
tobiasvl has joined #ruby-lang
marcel has joined #ruby-lang
GitNick has joined #ruby-lang
_ko10 has joined #ruby-lang
headius has joined #ruby-lang
mame1 has joined #ruby-lang
jtoy has joined #ruby-lang
epitron has joined #ruby-lang
eam has joined #ruby-lang
ruskie has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ght has joined #ruby-lang
erichmenge has joined #ruby-lang
acalewin has joined #ruby-lang
tbuehlmann has joined #ruby-lang
matti has joined #ruby-lang
maloik has joined #ruby-lang
Jamo has joined #ruby-lang
shawnacscott has joined #ruby-lang
bryanl has joined #ruby-lang
allolex___ has joined #ruby-lang
Senjai has joined #ruby-lang
shtirlic has joined #ruby-lang
imajes has joined #ruby-lang
eban has joined #ruby-lang
lianj has joined #ruby-lang
lupine has joined #ruby-lang
musl has joined #ruby-lang
bryancp has joined #ruby-lang
yxhuvud has joined #ruby-lang
kalleth has joined #ruby-lang
Eising has joined #ruby-lang
whitequark has joined #ruby-lang
daguar has joined #ruby-lang
ohsix has joined #ruby-lang
FastJack has joined #ruby-lang
coffeejunk has joined #ruby-lang
jdecuirm has joined #ruby-lang
sindork has joined #ruby-lang
drew2 has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
zz_gianlucadv has joined #ruby-lang
knu0 has joined #ruby-lang
pizzaops has joined #ruby-lang
mahlon has joined #ruby-lang
ozzloy has joined #ruby-lang
duper` has joined #ruby-lang
cawil has joined #ruby-lang
xybre has joined #ruby-lang
mfn has joined #ruby-lang
th2389_____ has joined #ruby-lang
Kuukunen has joined #ruby-lang
tris has joined #ruby-lang
fumduq has joined #ruby-lang
btcctf has joined #ruby-lang
certainty has joined #ruby-lang
pd has joined #ruby-lang
mnilsson has joined #ruby-lang
wmoxam has joined #ruby-lang
Muz has joined #ruby-lang
Kero has joined #ruby-lang
perry has joined #ruby-lang
eval-in__ has joined #ruby-lang
Xzyx987X has joined #ruby-lang
Silex has joined #ruby-lang
Guest85414______ has joined #ruby-lang
akahn has joined #ruby-lang
phrozen77 has joined #ruby-lang
hagabaka has joined #ruby-lang
jxport has joined #ruby-lang
hplar_ has joined #ruby-lang
ljarvis has joined #ruby-lang
Aova has joined #ruby-lang
badeball has joined #ruby-lang
miqui_ has joined #ruby-lang
xsdg has joined #ruby-lang
sonne has joined #ruby-lang
JoL1hAHN has joined #ruby-lang
ozialien has joined #ruby-lang
thang has joined #ruby-lang
yorickpeterse has joined #ruby-lang
vladgh has joined #ruby-lang
Gate has joined #ruby-lang
seank_ has joined #ruby-lang
oddmunds has joined #ruby-lang
x0f_ has joined #ruby-lang
zenspider has joined #ruby-lang
jhass has joined #ruby-lang
Radar has joined #ruby-lang
PaulePanter has joined #ruby-lang
tpope has joined #ruby-lang
fvt has joined #ruby-lang
TrafficMan_ has joined #ruby-lang
sross07 has joined #ruby-lang
Steve_Jobs has joined #ruby-lang
DefV has joined #ruby-lang
hahuang65 has joined #ruby-lang
shennyg_ has joined #ruby-lang
manveru has joined #ruby-lang
wizonesolutions has joined #ruby-lang
ggherdov has joined #ruby-lang
ReinH has joined #ruby-lang
cyndis has joined #ruby-lang
anekos has joined #ruby-lang
vieq has joined #ruby-lang
funnel has joined #ruby-lang
mjc_ has joined #ruby-lang
ammar_ has joined #ruby-lang
EvilJStoker has joined #ruby-lang
surrounder has joined #ruby-lang
lacrosse__ has joined #ruby-lang
nivardus has joined #ruby-lang
nisstyre has joined #ruby-lang
tommylommykins has joined #ruby-lang
Guest83413 has joined #ruby-lang
cout has joined #ruby-lang
clamstar has joined #ruby-lang
avdi has joined #ruby-lang
benlakey_ has joined #ruby-lang
bkutil_ has joined #ruby-lang
chris2 has joined #ruby-lang
jtdoncas has joined #ruby-lang
znz_jp has joined #ruby-lang
michael_mbp has joined #ruby-lang
canton7 has joined #ruby-lang
pabs has joined #ruby-lang
mbr has joined #ruby-lang
dvorak has joined #ruby-lang
bnagy has joined #ruby-lang
tdy has joined #ruby-lang
ramblinpeck_ has joined #ruby-lang
womble has joined #ruby-lang
brixen has joined #ruby-lang
kalzz has joined #ruby-lang
Rylee has joined #ruby-lang
zz_dlu has joined #ruby-lang
vondruch has joined #ruby-lang
chouhoulis has joined #ruby-lang
bradland has joined #ruby-lang
joast has joined #ruby-lang
zeusmns has joined #ruby-lang
Val_ has joined #ruby-lang
justinmcp_ has joined #ruby-lang
araujo has joined #ruby-lang
weaksauce has joined #ruby-lang
hachiya has joined #ruby-lang
priodev has joined #ruby-lang
saltsa has joined #ruby-lang
faces has joined #ruby-lang
waxjar has joined #ruby-lang
nertzy3 has joined #ruby-lang
bahar has joined #ruby-lang
Sgeo has joined #ruby-lang
bennyklotz has joined #ruby-lang
valeri_ufo has joined #ruby-lang
ndrst has joined #ruby-lang
ledestin has joined #ruby-lang
bcardarella_ has joined #ruby-lang
hackeron has joined #ruby-lang
darix has joined #ruby-lang
ishikawa has joined #ruby-lang
shinnya has joined #ruby-lang
midhir has joined #ruby-lang
bb010g has joined #ruby-lang
nifoc has joined #ruby-lang
wnd has joined #ruby-lang
solars has joined #ruby-lang
bin7me has joined #ruby-lang
oleo__ has joined #ruby-lang
Asher has joined #ruby-lang
banister has joined #ruby-lang
heftig_ has joined #ruby-lang
gianlucadv has joined #ruby-lang
clauswitt has joined #ruby-lang
revans has joined #ruby-lang
simi has joined #ruby-lang
hakunin has joined #ruby-lang
kerunaru has joined #ruby-lang
ta has joined #ruby-lang
tzero has joined #ruby-lang
arBmind1 has joined #ruby-lang
Yserz_ has joined #ruby-lang
Miphix has joined #ruby-lang
fusillicode1 has joined #ruby-lang
[spoiler] has joined #ruby-lang
kurko__ has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
AKASkip has joined #ruby-lang
jxie has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
matp has joined #ruby-lang
iamninja has joined #ruby-lang
kiyote23 has joined #ruby-lang
duderonomy has joined #ruby-lang
j2p2 has joined #ruby-lang
marr has joined #ruby-lang
dvorkbjel has joined #ruby-lang
lele has joined #ruby-lang
tcopeland has joined #ruby-lang
DivineEntity has joined #ruby-lang
Con7e has joined #ruby-lang
deryl has joined #ruby-lang
gss has joined #ruby-lang
yeltzooo9 has joined #ruby-lang
shaman42 has joined #ruby-lang
aarellano has joined #ruby-lang
soahccc has joined #ruby-lang
ksoderstrom has joined #ruby-lang
cornerman has joined #ruby-lang
LBo has joined #ruby-lang
ericwood has joined #ruby-lang
kith_ has joined #ruby-lang
godd2 has joined #ruby-lang
levifig has joined #ruby-lang
tsou has joined #ruby-lang
kirin` has joined #ruby-lang
kramsee has joined #ruby-lang
ged has joined #ruby-lang
ironcamel has joined #ruby-lang
soraher has joined #ruby-lang
dabradley has joined #ruby-lang
segy has quit [Max SendQ exceeded]
Y_Ichiro has quit [Max SendQ exceeded]
ConstantineXVI has quit [Max SendQ exceeded]
skarn has quit [Max SendQ exceeded]
ConstantineXVI has joined #ruby-lang
kirin` has quit [Changing host]
kirin` has joined #ruby-lang
segy has joined #ruby-lang
skarn has joined #ruby-lang
rahul_j has joined #ruby-lang
JohnBat26 has joined #ruby-lang
brianpWins has joined #ruby-lang
mliqu has joined #ruby-lang
crazysim has joined #ruby-lang
djinni` has joined #ruby-lang
deg has joined #ruby-lang
_br_- has joined #ruby-lang
moogumbo has joined #ruby-lang
llakey has joined #ruby-lang
ihme-TTilus has joined #ruby-lang
Xney has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Lewix has joined #ruby-lang
Sadin has joined #ruby-lang
yfeldblum has joined #ruby-lang
shai777 has joined #ruby-lang
elia has joined #ruby-lang
<shai777>
Hi :) I went into irb and typed require 'facter'. Then I typed Facter.methods and got those .. but how can I query each method and see what it returns? For example, Facter.add
Sadin has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
skade has joined #ruby-lang
jxie has quit [Ping timeout: 272 seconds]
jxie has joined #ruby-lang
skade has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
skade has joined #ruby-lang
leonmaia has joined #ruby-lang
skade has quit [Remote host closed the connection]
<maloik>
you'd have to just try it out, or read the code or docs
<maloik>
as far as I know anyway
shai777 has quit [Ping timeout: 246 seconds]
leonmaia has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
gss has quit [Remote host closed the connection]
skade has quit [Remote host closed the connection]
mostlybadfly has joined #ruby-lang
skade has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
skade has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
leonmaia has joined #ruby-lang
leonmaia has quit [Client Quit]
gianlucadv has quit [Ping timeout: 250 seconds]
chills42 has joined #ruby-lang
skade has joined #ruby-lang
yfeldblum has joined #ruby-lang
kiyote23 has quit [Ping timeout: 244 seconds]
leonmaia has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
elia has joined #ruby-lang
yfeldblum has joined #ruby-lang
elia has quit [Client Quit]
skade has quit [Remote host closed the connection]
hinbody has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
skade has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
skade has quit [Remote host closed the connection]
gss has joined #ruby-lang
jkad has joined #ruby-lang
skade has joined #ruby-lang
gss has left #ruby-lang [#ruby-lang]
elia has joined #ruby-lang
leonmaia has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stamina has joined #ruby-lang
druznek has joined #ruby-lang
AKASkip has quit [Ping timeout: 240 seconds]
gss_ has joined #ruby-lang
rahul_j has joined #ruby-lang
jgpawletko has joined #ruby-lang
workmad3 has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
elia has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 244 seconds]
j4cknewt has quit [Remote host closed the connection]
oleo has joined #ruby-lang
|jemc| has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
nick___ has joined #ruby-lang
malconis has joined #ruby-lang
workmad3 has joined #ruby-lang
malconis has quit [Remote host closed the connection]
mattwildig has joined #ruby-lang
malconis has joined #ruby-lang
Sadin has joined #ruby-lang
<nick___>
Hi all, is there any way to read the contents of an environment variable as unicode on windows? Currently the content is being incorrectly read as ascii
wprice has joined #ruby-lang
Sadin has quit [Ping timeout: 258 seconds]
tockitj has joined #ruby-lang
goodcodeguy has joined #ruby-lang
<workmad3>
nick___: first off - which unicode encoding?
<nick___>
any
<workmad3>
nick___: well, you need to know which unicode encoding it should be in
<nick___>
I don't really care, but... utf-8 if you want me to picj one
Rodya_ has joined #ruby-lang
sankaber has joined #ruby-lang
yfeldblum has joined #ruby-lang
skade has quit [Remote host closed the connection]
|jemc| has quit [Quit: WeeChat 1.0.1]
<workmad3>
nick___: is that the encoding that the environment variable is actually in?
<nick___>
According to ruby the env var is in 'CP850'
<nick___>
the actual data in the string is garbage AFAICT
<nick___>
since it's unicode data
|jemc| has joined #ruby-lang
<workmad3>
nick___: hmm... ok, just dug into windows env-vars... seems like there was a bug 3 years ago with ruby regarding using the incorrect call to get env vars on windows... but it should be fixed :/
<workmad3>
nick___: what version of ruby are you using?
<nick___>
not sure why ruby devs find this stuff so difficult
<nick___>
anyway, thanks for your help workmad3
skade has quit [Quit: Computer has gone to sleep.]
<nick___>
i'm off
ruby-lang533 has quit [Ping timeout: 246 seconds]
Miphix has joined #ruby-lang
kiyote23 has joined #ruby-lang
mattyohe has joined #ruby-lang
nathanstitt has joined #ruby-lang
gss has quit [Remote host closed the connection]
kiyote23 has quit [Client Quit]
kiyote23 has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
j4cknewt has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
enebo has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
jxie has quit [Ping timeout: 245 seconds]
jxie has joined #ruby-lang
loincloth has joined #ruby-lang
simi has quit [Ping timeout: 256 seconds]
rcvalle has joined #ruby-lang
mattwildig has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 265 seconds]
elia has quit [Ping timeout: 256 seconds]
mattwildig has joined #ruby-lang
workmad3 has quit [Ping timeout: 244 seconds]
kiyote23 has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
cmhobbs has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
Sadin has joined #ruby-lang
tenderlove has joined #ruby-lang
skade has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
lapide_viridi has joined #ruby-lang
shinnya has quit [Ping timeout: 244 seconds]
chinmay_dd_ has joined #ruby-lang
shinnya has joined #ruby-lang
klmlfl has joined #ruby-lang
chinmay_dd has joined #ruby-lang
chinmay_dd_ has quit [Ping timeout: 244 seconds]
solars has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
gss has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
gss has quit [Client Quit]
leonmaia has joined #ruby-lang
elia has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
havenwood has joined #ruby-lang
mattwildig has quit [Remote host closed the connection]
gchristensen has joined #ruby-lang
Con7e has quit [Ping timeout: 246 seconds]
koderok has joined #ruby-lang
<gchristensen>
Hi, my web service needs to be able to spawn processes and stream that output to a client. this is working ok. I would like though to let multiple clients stream the same process's output, this is obviously not as easy as popen and copy_stream. anyone familiar with this issue, and of any gems which might get me part (or most) of the way there?
<gchristensen>
notably, this absolutely doesn't need to scale, and I don't want to persist anything, all to memory
ahmetkapikiran has joined #ruby-lang
AKASkip has joined #ruby-lang
druznek has quit [Ping timeout: 252 seconds]
<Eising>
gchristensen: that sounds problematic. I'm no expert, but I would probably stream to a temporary medium, such as a file, and have the contents of that tail'd to the clients
<gchristensen>
yeah that does sound like it would get the multi-client support pretty good
<gchristensen>
I'm also considering if I should have another "ProcessServer" daemon for handling this
iamninja_ has joined #ruby-lang
<bradland>
yes, i would write a multiplexer
iamninja has quit [Ping timeout: 250 seconds]
<bradland>
it’s a queue really
<bradland>
you dump data on to the queue from your source, and consumers read from the queue; never from the source
<gchristensen>
I mean, I know the mechanics of it, just don't want to start from scratch if I can avoid it
<bradland>
can you use Socket for this?
<bradland>
one process writes to the socket, while multiple read?
<bradland>
i don’ t know if that even works
<gchristensen>
probably not, socket is per-client
<gchristensen>
some with UNIXSocket
Steve_Jobs has quit [Read error: Connection reset by peer]
<bradland>
then i’d write to a temp file, and use an infinite read loop from your consumers
<gchristensen>
yeah that seems like the simplest solution
Steve_Jobs has joined #ruby-lang
<gchristensen>
thank you for spitballing, Eising and bradland
<bradland>
you bet
<bradland>
gchristensen: just kind of a sideline, but when you’re building this, consider Signal to handle things like truncating the file.
<gchristensen>
great idea
fsvehla has joined #ruby-lang
<bradland>
for example, your tempfile manager could trap the USR1 signal and use it to trim the file.
Bwild has joined #ruby-lang
<gchristensen>
or SIGXFSZ :o
<gchristensen>
oh that one might not be trapable
klmlfl has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
charliesome has quit [Quit: zzz]
yfeldblum has quit [Ping timeout: 256 seconds]
kerunaru has quit [Max SendQ exceeded]
chinmay_dd has quit [Ping timeout: 245 seconds]
michaeldeol has joined #ruby-lang
amsi has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
<gchristensen>
hrm. it seems UNIXServer doesn't clean up .sock files when it exitns
kiyote23 has joined #ruby-lang
<bradland>
does UNIXServer still exist in 2.1?
<gchristensen>
it does in 2.1.4
<bradland>
i can’t find the docs on ruby-doc.org any more