toastynerd has quit [Remote host closed the connection]
Gil_ has joined #ruby-lang
Gil_ has quit [Ping timeout: 260 seconds]
toastynerd has joined #ruby-lang
ddv has quit [Ping timeout: 245 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
ddv has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
Miphix has joined #ruby-lang
kfpratt has joined #ruby-lang
jfarmer has quit [Ping timeout: 265 seconds]
lele|w has quit [Ping timeout: 265 seconds]
ta has quit [Ping timeout: 265 seconds]
toastynerd has quit [Remote host closed the connection]
ari-_-e has joined #ruby-lang
lele|w has joined #ruby-lang
stamina has quit [Ping timeout: 260 seconds]
nathanstitt has quit [Quit: I growing sleepy]
shinnya has quit [Ping timeout: 252 seconds]
CodeBunny has quit [Ping timeout: 276 seconds]
ta has joined #ruby-lang
mistym has quit [Remote host closed the connection]
newvegas has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
charliesome has joined #ruby-lang
heavyhorse has joined #ruby-lang
Averna has joined #ruby-lang
marr has quit [Ping timeout: 276 seconds]
tkuchiki has joined #ruby-lang
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
dknox_afk has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 276 seconds]
mistym has joined #ruby-lang
ledestin has joined #ruby-lang
amclain has joined #ruby-lang
Gil_ has joined #ruby-lang
alexju has joined #ruby-lang
heavyhorse has quit [Quit: Computer has gone to sleep]
heavyhorse has joined #ruby-lang
Gil_ has quit [Ping timeout: 260 seconds]
Cakey has joined #ruby-lang
heavyhorse has quit [Ping timeout: 276 seconds]
Asher has joined #ruby-lang
sdouglas has joined #ruby-lang
heavyhorse has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
tectonic has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
redgetan has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chris2 has quit [Ping timeout: 265 seconds]
sdouglas has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
charliesome_ has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
charliesome has quit [Read error: Connection reset by peer]
chris2 has joined #ruby-lang
sdouglas has joined #ruby-lang
asahi has joined #ruby-lang
btiefert2 is now known as btiefert
<asahi>
hello, i'm getting something that looks like \n\xB7 in strings that are fetched from the web. does anyone know what that might mean or how to remove them?
hagabaka has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-lang
<ari-_-e>
asahi: it depends on the encoding of the string?
<ari-_-e>
not sure why you'd want to remove them
hahuang65 has joined #ruby-lang
hagabaka has joined #ruby-lang
alexju has quit [Remote host closed the connection]
charliesome_ has quit [Ping timeout: 276 seconds]
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby-lang
araujo has quit [Changing host]
araujo has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
asahi has quit [Ping timeout: 252 seconds]
Coincidental has joined #ruby-lang
asahi has joined #ruby-lang
Coincide_ has joined #ruby-lang
Coincidental has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby-lang
nathanstitt has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 245 seconds]
asahi has quit [Ping timeout: 252 seconds]
sdouglas_ has joined #ruby-lang
sdouglas has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
gix has quit [Ping timeout: 265 seconds]
gix has joined #ruby-lang
KM has joined #ruby-lang
KM is now known as Guest32594
dik_dak has joined #ruby-lang
r0bby has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby-lang
Gil_ has joined #ruby-lang
Ki_ has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gil_ has quit [Ping timeout: 276 seconds]
nathanstitt has quit [Quit: I growing sleepy]
toastynerd has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
kfpratt has joined #ruby-lang
enkristoffer has joined #ruby-lang
hahuang65 has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
symm- has joined #ruby-lang
hahuang65 has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
sdouglas_ has quit [Remote host closed the connection]
Kalipygian has quit [Ping timeout: 252 seconds]
enkristoffer has quit [Quit: ❤]
Guest40897 has quit [Ping timeout: 276 seconds]
Burgestrand_ has joined #ruby-lang
Gil_ has joined #ruby-lang
knu has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
Gil_ has quit [Ping timeout: 276 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
Burgestrand_ has quit [Quit: Burgestrand_]
Coincidental has joined #ruby-lang
Burgestrand_ has joined #ruby-lang
willmarshall has joined #ruby-lang
Coincide_ has quit [Ping timeout: 245 seconds]
sdouglas has joined #ruby-lang
mistym has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
Burgestrand_ has quit [Quit: Burgestrand_]
yfeldblum has quit [Ping timeout: 240 seconds]
cstrahan has quit [Ping timeout: 260 seconds]
knu has quit [Ping timeout: 252 seconds]
dik_dak has quit [Quit: Leaving]
symm- has quit [Ping timeout: 245 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
symm- has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
ledestin has quit [Ping timeout: 260 seconds]
Gil_ has joined #ruby-lang
|jemc| has quit [Ping timeout: 260 seconds]
Coincide_ has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
Gil_ has quit [Ping timeout: 240 seconds]
Coincidental has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
BucOder has joined #ruby-lang
saarinen has joined #ruby-lang
ta has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
amclain has quit [Quit: Leaving]
_ht has joined #ruby-lang
charliesome_ has joined #ruby-lang
heftig has quit [Quit: Quitting]
charliesome has quit [Ping timeout: 245 seconds]
mehlah_ has joined #ruby-lang
mehlah has quit [Read error: No route to host]
BucOder has quit [Quit: Computer has gone to sleep.]
sdouglas has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby-lang
heavyhorse has quit [Quit: Computer has gone to sleep]
heavyhorse has joined #ruby-lang
ari-_-e has quit [Read error: Connection reset by peer]
BucOder has joined #ruby-lang
BucOder has quit [Client Quit]
sdouglas has quit [Remote host closed the connection]
ta has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
mister_integer has quit [Remote host closed the connection]
relix has joined #ruby-lang
__JokerDoom has joined #ruby-lang
ari-_-e has joined #ruby-lang
_JokerDoom has quit [Ping timeout: 260 seconds]
Coincidental has joined #ruby-lang
Coincide_ has quit [Ping timeout: 252 seconds]
asahi has joined #ruby-lang
rahul_j has joined #ruby-lang
Ki_ has quit [Ping timeout: 246 seconds]
ta has quit [Ping timeout: 245 seconds]
solars has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has joined #ruby-lang
rmcafee has quit [Quit: rmcafee]
michd is now known as MichD
mistym has quit [Remote host closed the connection]
ta has joined #ruby-lang
woollyams has joined #ruby-lang
mister_integer has joined #ruby-lang
phansch has joined #ruby-lang
mister_integer has quit [Ping timeout: 240 seconds]
Coincidental has quit [Remote host closed the connection]
dsaint-pierre has quit [Ping timeout: 260 seconds]
<apeiros>
wunderbar is without h - at least in german ;-)
<apeiros>
very nice ruby you have there :D
<apeiros>
the compact is completely useless there, but hey :D
<yorickpeterse>
I guess Array#each and Array#<< (or Array#concat) is too mainstream
mister_integer has quit [Ping timeout: 260 seconds]
<yorickpeterse>
Yeah I have no idea why the compact is there
<apeiros>
yorickpeterse: just flat_map
<yorickpeterse>
since the map(&:id) never returns nil in this case
<yorickpeterse>
if it does something is seriously messed up
<apeiros>
but I'd assume it's from a DB, and then it'd be better done there anyway
<yorickpeterse>
It's a collection of DB rows, yes
<yorickpeterse>
again, idiomatic Ruby
<yorickpeterse>
nothing wrong ehree
<yorickpeterse>
* here
<apeiros>
.pluck(:id) vs. .map(&:id) can be a couple of magnitudes difference
<apeiros>
and I'd bet you could do it in a single query instead of N+1
<yorickpeterse>
Yes
<apeiros>
but well, maybe the fully deserialized records are used elsewhere.
<apeiros>
what do I know :)
<yorickpeterse>
They're not, that's even funnier
<yorickpeterse>
they're slapped in an ivar complete with a getter
<yorickpeterse>
but they're never used
<apeiros>
I don't get why the fuck sidekiq-scheduler monkey patches sidekiq. it's absolutely not necessary. it adds new methods and stuff. keep that stuff in your shit, m'kay?
<yorickpeterse>
Hm, I should add analysis for unused attribute getters in ruby-lint
* apeiros
really hates reading other people's code
Fushi has joined #ruby-lang
<ljarvis>
o hi
<ljarvis>
apeiros: +1 for sidekiq-scheduler, using it too
<ljarvis>
they do some stupid stuff
<ljarvis>
it's the best of a shit bunch though, imo
<apeiros>
ljarvis: I'm not intending on using it
<apeiros>
I just want to extract knowledge from it
<ljarvis>
word
<yorickpeterse>
I know nothing about Sidekiq, but does it load all of your shit into memory too like Resque (used to)?
<apeiros>
otherwise I'd not bother to read its source. hell, I know how pissed off I am every time I read others' code
<yorickpeterse>
where's that shitddh says tweet about it
<yorickpeterse>
lemme find it
<ljarvis>
sidekiq is incredible
<apeiros>
yorickpeterse: sidekiq is supposed to be a shitton better than resque
<apeiros>
I haven't used resque, so can't really comment on it. but it sounded like the best option when we had to choose a job queue processor
<yorickpeterse>
Last time I used Resque was well over 3 years ago
<apeiros>
ljarvis: I want to write a front-end for scheduled jobs, so I don't have to redeploy the app just because I change a single stupid config file with times in it.
<yorickpeterse>
it was in a non Rails app but even there it was ugh
<apeiros>
or config settings like notification recipients
<ljarvis>
apeiros: :D
<yorickpeterse>
Amazon SQS \0/
<yorickpeterse>
shit just works (tm)
<yorickpeterse>
usually
<apeiros>
yorickpeterse: I've given up on not loading the entire rails shit for jobs. it's just too tedious to keep people to good standards :-/
<yorickpeterse>
well, I'd argue that the first mistake is to put a queue system inside a Rails app
<yorickpeterse>
keep that stuff separate
<apeiros>
I think sidekiq loads full rails too, but at least it's threaded, so you don't end up with 20 rails instances
<ljarvis>
oh wait I'm not using sidekiq-scheduler, I'm using sidetiq
<yorickpeterse>
But a fair warning: we use queues for literally everything so I might be biased
<apeiros>
it's not that it is inside the rails app. it's that it needs all the models and shit.
<yorickpeterse>
we're even using a queue to insert stuff in a DB basically
<yorickpeterse>
so we can scrape things webscale
<apeiros>
of course you can rewrite it - but good luck getting that through in the "deadline was yesterday" schedule.
<yorickpeterse>
and so that I can break things without having to worry
_elia has quit [Quit: Computer has gone to sleep.]
<apeiros>
ljarvis: oh, not seen that one when looking for schedulers in sidekiq. is it any good? (sounded like it wasn't?)
_elia has joined #ruby-lang
<ljarvis>
apeiros: it works okay, but the dsl for time sucks incredibly
<apeiros>
the ice_cube thingy?
<ljarvis>
ya
<apeiros>
k
<workmad3>
yorickpeterse: hmm... I'd never properly considered queues as a way to add robustness, but it makes sense :)
<yorickpeterse>
workmad3: well, they add problems on their own and you kinda have to put some more effort into them
<yorickpeterse>
That is, you have to build your entire infrastructure around the idea that *sometimes* something might take 2 hours to complete instead of 2 minutes
<yorickpeterse>
For real-time stuff that doesn't really work
<workmad3>
yorickpeterse: yeah... but I like the idea that, as long as your front-end producers are stable, you can break consumers as long as a broken consumer never takes jobs off the queue
<yorickpeterse>
As an example, our scraping process is basically this:
<yorickpeterse>
Stuff doesn't reach a database until the "persister" bit
<yorickpeterse>
That's also when it shows up in our frontend
<workmad3>
yorickpeterse: did you guys ever look at apache camel to wire up your different components?
<yorickpeterse>
Never heard of it
<workmad3>
yorickpeterse: it's basically an apache library that implements a good chunk of the messaging patterns in Enterprise Integration Patterns
<workmad3>
does rely on java though...
<yorickpeterse>
sounds very enterprise-ish from the Wikipedia page
amcoder_ has joined #ruby-lang
<yorickpeterse>
"The domain-specific language means that Apache Camel can support type-safe smart completion of routing rules in an integrated development environment using regular Java code without large amounts of XML configuration files, though XML configuration inside Spring is also supported."
<yorickpeterse>
No large amounts of XML? SOLD!
<yorickpeterse>
(I like how that's apparently a selling point)
<workmad3>
yorickpeterse: :)
<yorickpeterse>
Shows the sorry state of Java I guess
<yorickpeterse>
well Java land
<yorickpeterse>
Either way, our actual pipelining stuff is not that complex
<yorickpeterse>
it's "just" JSON!
amcoder has quit [Ping timeout: 240 seconds]
<yorickpeterse>
Perhaps we should try protocol buffers instead seeing how that's becoming the shiz (apparently)
<workmad3>
yorickpeterse: fair enough :) camel would be overkill for a lot of setups... just wondered if you guys had looked at it at all rather than maintaining your own queue infrastructure :)
<yorickpeterse>
Nop, SQS takes out most of the trouble
<yorickpeterse>
again, I'm biased since we drank too much AWS koolaid
<yorickpeterse>
Google, a multi-zillion dollar company with insane technical requirements uses this, thus is must be suitable for everybody
<workmad3>
last time I played with queues, I did it with RabbitMQ... did things with that like spinning up long-running jobs and opening a dedicated message-queue to control the job, which was fun
<yorickpeterse>
I really have to get myself a fake beard and a cane though
<yorickpeterse>
fits my attitude towards a lot of software
<yorickpeterse>
"Grrrr these youngsters with their fancy tech!!"
<workmad3>
thinking about it, the long-running process would probably have been better as a queue pipeline though... would have been a bit easier to deal with :)
<maloik>
oh, and a monocle!
<yorickpeterse>
maloik: no, one of those really old school fish eye glasses
<workmad3>
yorickpeterse: I have a beard and an umbrella with a katana handle... and a monacle over each eye with a short bit of joining wire... does that count? :)
<yorickpeterse>
dang it, on Google I only get hipsters for that
<yorickpeterse>
workmad3: shhhhheheeee I have that umbrella too
<yorickpeterse>
I broke the circular thing on the handle though :<
<workmad3>
yorickpeterse: you mean the guard?
<maloik>
fish eye glasses?
<yorickpeterse>
Got my umbrella stuck in my jeans while cycling (yarly), nearly broke everything in the process
<yorickpeterse>
workmad3: yeah
<workmad3>
yorickpeterse: :(
<yorickpeterse>
maloik: the ones where the glasses are shaped outwards
<yorickpeterse>
can't find a decent picture, all I get are hipsters :<
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maloik>
I have no idea what you mean :d
<maloik>
also, katana handle on an umbrella... that is baller
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jds has joined #ruby-lang
lewix has joined #ruby-lang
dbussink has joined #ruby-lang
yfeldblum has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
mehlah_ is now known as mehlah
railzForDaiz has quit [Ping timeout: 245 seconds]
seanot has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
dsaint-pierre has joined #ruby-lang
miqui has quit [Remote host closed the connection]
seanot has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
banister has quit [Max SendQ exceeded]
dsaint-pierre has quit [Ping timeout: 276 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
tkuchiki has quit [Ping timeout: 265 seconds]
tkuchiki_ has quit [Ping timeout: 265 seconds]
dsaint-pierre has joined #ruby-lang
ldnunes has joined #ruby-lang
lewix has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
MichD is now known as michd
railzForDaiz has joined #ruby-lang
michd is now known as MichD
tkuchiki has joined #ruby-lang
lewix has joined #ruby-lang
rahul_j has joined #ruby-lang
arBmind has joined #ruby-lang
sdouglas has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
dwayhs has joined #ruby-lang
havenwood has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zarubin has quit []
sdouglas has quit [Ping timeout: 240 seconds]
mehlah has quit [Quit: Leaving...]
ironhide_604 has quit [Remote host closed the connection]
elia has joined #ruby-lang
dsaint-pierre has quit [Remote host closed the connection]
t4nk412 has joined #ruby-lang
banister has joined #ruby-lang
ironhide_604 has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
rsl has joined #ruby-lang
yfeldblum has joined #ruby-lang
vpretzel has joined #ruby-lang
robertocs has joined #ruby-lang
arBmind has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby-lang
jhass is now known as jhass|off
arBmind has quit [Quit: Leaving.]
sdouglas has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
mister_integer has joined #ruby-lang
skade has quit [Ping timeout: 265 seconds]
sdouglas has joined #ruby-lang
<apeiros>
ljarvis: sidetiq doesn't provide a webinterface either, right?
<apeiros>
I saw sidekiq-cron provides one, but only to view jobs :-/
vpretzel has quit [Remote host closed the connection]
sdouglas has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
vpretzel has joined #ruby-lang
sdouglas has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mister_integer has quit [Ping timeout: 260 seconds]
malconis has joined #ruby-lang
symm- has joined #ruby-lang
jgpawletko has joined #ruby-lang
elia has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
workmad3 is now known as wm3|away
sdouglas_ has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
dsaint-pierre has quit [Remote host closed the connection]
dsaint-pierre has joined #ruby-lang
<yorickpeterse>
Bah, I hate that co-workers can add shit in my Google calendar that I can't hide
<yorickpeterse>
e.g. our daily standup meeting, I really don't need that stuff in my calendar
<yorickpeterse>
can't hide it either
<yorickpeterse>
either I remove it (for everybody I think?) or I deal with my calendar being cluttered with stuff
rahul_j has quit [Ping timeout: 260 seconds]
rahul_j has joined #ruby-lang
yalue has joined #ruby-lang
miqui has joined #ruby-lang
wm3|away is now known as workmad3
rahul_j has quit [Read error: Connection reset by peer]
rahul_j has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
sarkyniin has joined #ruby-lang
_elia has joined #ruby-lang
rahul_j has quit [Client Quit]
elia has quit [Read error: Connection reset by peer]
alexju has joined #ruby-lang
yfeldblum has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
_elia has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
kfpratt has joined #ruby-lang
jxie has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby-lang
scampbell has joined #ruby-lang
jxie has joined #ruby-lang
shinnya has joined #ruby-lang
Cakey has joined #ruby-lang
elia has joined #ruby-lang
t4nk412 has quit [Ping timeout: 246 seconds]
ta has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 240 seconds]
andrewhl has joined #ruby-lang
jxie has quit [Ping timeout: 276 seconds]
jxie has joined #ruby-lang
arBmind has joined #ruby-lang
rmcafee has joined #ruby-lang
tomkadwill has joined #ruby-lang
mbj has joined #ruby-lang
AncientAmateur has joined #ruby-lang
symm- has joined #ruby-lang
retro|cz has joined #ruby-lang
amcoder_ has quit [Quit: ZZZzzz…]
ta has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
MichD is now known as michd
sdouglas_ has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
zarubin has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
nathanstitt has joined #ruby-lang
michd is now known as MichD
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ari-_-e has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
MichD is now known as michd
dwknoxy has joined #ruby-lang
loincloth has joined #ruby-lang
ta has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
elia has quit [Quit: Computer has gone to sleep.]
miqui has quit [Read error: Connection reset by peer]
miqui has joined #ruby-lang
michd is now known as MichD
miqui has quit [Remote host closed the connection]
miqui has joined #ruby-lang
ta has joined #ruby-lang
apt-get_ has joined #ruby-lang
sarkyniin has quit [Read error: Connection reset by peer]
apeiros has quit [Remote host closed the connection]
apt-get_ has quit [Client Quit]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
amcoder has joined #ruby-lang
ta has quit [Ping timeout: 260 seconds]
sarkyniin has joined #ruby-lang
ta has joined #ruby-lang
DEac- has quit [Ping timeout: 265 seconds]
tomkadwill has quit [Remote host closed the connection]
ta has quit [Ping timeout: 252 seconds]
sarkyniin has quit [Quit: Quitte]
sarkyniin has joined #ruby-lang
DEac- has joined #ruby-lang
cHarNe2 has quit [Ping timeout: 276 seconds]
toastynerd has joined #ruby-lang
sarkyniin has quit [Client Quit]
toastynerd has quit [Remote host closed the connection]
stamina has quit [Ping timeout: 265 seconds]
rahul_j has joined #ruby-lang
ta has joined #ruby-lang
tkuchiki has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
havenwood has joined #ruby-lang
mistym has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
jperry has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
Cakey has quit [Ping timeout: 276 seconds]
dsaint-p_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Burgestrand]
dsaint-pierre has quit [Ping timeout: 276 seconds]
ecnalyr has quit [Ping timeout: 255 seconds]
sarkyniin has joined #ruby-lang
mister_integer has joined #ruby-lang
sdouglas has joined #ruby-lang
mr-fooba_ has joined #ruby-lang
havenwood has joined #ruby-lang
sarkyniin has quit [Client Quit]
apeiros has joined #ruby-lang
mister_integer has quit [Ping timeout: 260 seconds]
mr-foobar has quit [Ping timeout: 276 seconds]
jperry has joined #ruby-lang
yfeldblum has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
mbj has quit [Ping timeout: 240 seconds]
mbj has joined #ruby-lang
tomkadwill has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
toastynerd has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
leafac has left #ruby-lang [#ruby-lang]
ironhide_604 has quit [Ping timeout: 265 seconds]
ironhide_604 has joined #ruby-lang
bin7me has quit [Remote host closed the connection]
elia has joined #ruby-lang
mistym has joined #ruby-lang
enebo has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
elia has quit [Client Quit]
momomomomo has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
dsaint-p_ has quit [Remote host closed the connection]
DefV has quit [Ping timeout: 240 seconds]
MichD is now known as michd
dsaint-pierre has joined #ruby-lang
elia has joined #ruby-lang
|jemc| has joined #ruby-lang
_elia has joined #ruby-lang
michd is now known as MichD
tkuchiki has quit [Remote host closed the connection]
devgiant has joined #ruby-lang
devgiant has quit [Read error: Connection reset by peer]
elia has quit [Ping timeout: 276 seconds]
phansch has quit [Quit: WeeChat 0.4.3]
mbj has quit [Remote host closed the connection]
phansch has joined #ruby-lang
mister_integer has joined #ruby-lang
<yorickpeterse>
It's funny, earlier today I said to myself "Damn it's quiet the past few days, I wish something would break so I can fix it"
<yorickpeterse>
Then this one website I shall not speak of started AB testing again
<yorickpeterse>
:<
tomkadwill has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
Johz has joined #ruby-lang
spastorino has joined #ruby-lang
gaspar|work has quit [Quit: gaspar|work]
<asahi>
hello, i have utf encoded strings that i'm fetching from the web, but sometimes it has something that looks like "\n\xB7" in it. I'm wondering how I can remove this
toastynerd has joined #ruby-lang
<asahi>
if I try to do gsub, I get an invalid byte sequence in UTF-8 error
MichD is now known as michd
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
<apeiros>
asahi: when you get stuff from the web, you should get a meta information about the encoding
<apeiros>
either in the header or in case of html and xml, in the data itself (for html in the meta tags)
railzForDaiz has quit [Ping timeout: 260 seconds]
qba73 has quit [Remote host closed the connection]
<asahi>
aperios: are you saying that UTF-8 is not the correct encoding for the string and that I need to get the correct encoding from the meta tags (html in this case) ?
cnivolle has quit [Remote host closed the connection]
<yorickpeterse>
asahi: what is happening there is that something gets converted to UTF8 incorrectly
wallerdev has joined #ruby-lang
<workmad3>
asahi: btw, "\xB7" is a unicode escape sequence... not sure what you're gsubbing there...
<workmad3>
asahi: and \n is a newline...
<yorickpeterse>
On 2.1 and up you can use String#scrub, but you're better off fixing your encodings
<yorickpeterse>
or 2.0 and up, not sure
michd is now known as MichD
Ki_ has joined #ruby-lang
rippa has joined #ruby-lang
<asahi>
I'm using 2.0, so I don't have String#scrub
tbuehlmann has joined #ruby-lang
vpretzel_ has joined #ruby-lang
<workmad3>
asahi: I'm still wondering why you're trying to gsub out perfectly valid utf-8 characters :)
Ki_ has quit [Client Quit]
kkim has joined #ruby-lang
heftig has quit [Quit: Quitting]
<asahi>
workmad3: it's because i'm getting errors when trying to save to the db
<workmad3>
asahi: hmm... maybe you should sort out the encoding for you database then? :)
<workmad3>
*your
<yorickpeterse>
asahi: you can not reliably gsub your way out of this
<yorickpeterse>
You might be able to gsub \xB7 but then there are another lord knows how many combinations you might have to gsub
<asahi>
well, my db has the encoding UTF-8 and the xml document i'm getting the strings from also has UTF-8 declared in the heading...
railzForDaiz has joined #ruby-lang
<yorickpeterse>
asahi: is the actual content of the XML adhering to that encoding?
<yorickpeterse>
That is
<yorickpeterse>
Often some file will say "I'm UTF8" when in reality it's some ASCII crap that's not converted properly from the source
<yorickpeterse>
(that is, the website/service that delivers said file)
symm- has quit [Ping timeout: 260 seconds]
<workmad3>
asahi: well "\xB7" is the unicode code-point for middle-dot... so if your db is complaining about it, something isn't right there...
<apeiros>
workmad3: I don't think "\xB7" on its own is valid
vpretzel has quit [Ping timeout: 260 seconds]
<apeiros>
anything with the 8th bit set is at least 2 bytes afaik
<asahi>
yorickpeterse: I don't know if the actual content of the xml is adhering to that encoding. from what I've read, it can be difficult to determine that
kkim has quit [Client Quit]
<workmad3>
apeiros: oh, you could easily be right
<workmad3>
I may be being dumb here... way to warm :)
ironhide_604 has quit [Ping timeout: 260 seconds]
<asahi>
workmad3: also, even if I try to gsub, I get an invalid byte sequence error
Burgestrand has joined #ruby-lang
<apeiros>
asahi: as far as I see it there's 3 possibilities:
<workmad3>
*way too warm
<apeiros>
a) your string is not utf-8
<apeiros>
b) your string is valid utf-8
<workmad3>
ah yeah... the site I was looking at says it's latin-1 supplement code-block, not utf8
<apeiros>
c) your string is supposed to be utf-8 but is broken
<apeiros>
gsub is not an appropriate solution to any of those problems
kkim has joined #ruby-lang
workmad3 is now known as wm3|away
<apeiros>
if it is b) then either something in your setup with the database is wrong or your db is, in fact, having a bug. the former is more probably, the latter is not out of question, though (f.ex., we found a bug in oracles utf-8<->windows-1252 transcoding)
pixelhandler has joined #ruby-lang
<apeiros>
if it is a), then you should figure out the encoding, tell ruby that the string has that encoding (via String#force_encoding), and transcode it to utf-8 (via String#encode)
<asahi>
I think that the fact that I get the invalid byte sequence error shows that it's not b)
CodeBunny has joined #ruby-lang
<apeiros>
if it is c), then you should use a backport of String#scrub
<apeiros>
oh, I forgot: d) you have valid utf-8 which you render invalid by breaking it up on multibyte sequences
<apeiros>
asahi: can you give us a bit more bytes around your "\n\xB7"
<asahi>
sure. here's the whole string
<asahi>
"Established 1947 \nMember of FINRA/SIPC \nRapidly growing prestigious Wall Street Firm seeking established brokers, broker trainees, and sales assistants. \n\xB7 Openings in: \no Lower Manhattan, NYC \no Huntington, Long Island \n\xB7 Over 70 offices in U.S. \n\xB7 [...]"
<Burgestrand>
Could the \xB7 be dots, like in a list?
<Burgestrand>
Hm. Naw.
<asahi>
they are these black diamonds with a ? in them
<Burgestrand>
That's the “I don't know how to display this” character.
<Burgestrand>
But it's entirely possible that it's in latin-1, what do you think apeiros?
<apeiros>
asahi: ok. IMO c), broken data
<apeiros>
3 occurrences of \xB7 which are not valid utf-8
<Burgestrand>
Considering they have newlines, it's possible they are supposed to be "·"-characters
<apeiros>
get a backport of scrub. there's a 1:1 backport as extension, and I have one in pure ruby (probably working slightly differently), let me get the link
<Burgestrand>
(you'll need your IRC set to UTF-8 to see that one)
<kkim>
Hi, In ruby docs, what's the significance of using # in Object#method instead of Object.method? Are they same?
<apeiros>
Burgestrand: considering it's craigslist, they probably don't properly filter out binary data pasted in their ads
<asahi>
apeiros: thanks
<Burgestrand>
apeiros: hehe, that's entirely possible too. Typically, web stuff that isn't UTF-8 is latin-1 though
<Burgestrand>
kkim: Object#method signifies that it's an instance method of object, whilst Object.method signifies it's a class method, to put it in easy-to-understand terms
<apeiros>
kkim: `ri Object.method` says 'give me the docs of either class or instance method "method" on "Object"'
<apeiros>
kkim: Burgestrand is slightly mistaken. :: means explicitly class method. . is for either :)
<apeiros>
so Time::at and Time#strftime for example
<asahi>
apeiros: so if I load this code, then I'd be able to use this method String#scrubbed_utf8 ?
<Burgestrand>
apeiros: I'm deliberately mistaken because otherwise it's just confusing
<Burgestrand>
apeiros: ;)
<apeiros>
:-p
<apeiros>
asahi: yes
<asahi>
okay thank you
|jemc| has quit [Ping timeout: 260 seconds]
<kkim>
ah.. thanks. that was my very first ruby question I posted. I am a drupal (php) developer, and learned that symfony and many frameworks are heavily influenced by ruby and rails. So I figured there must be good things in it.
momomomomo has quit [Quit: momomomomo]
|jemc| has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<Burgestrand>
kkim: there is! There's also lots of dragons.
<apeiros>
kkim: if you intend to keep developing php, I'd not go further. you might happen to see the many ways php is flawed :-)
djbkd has joined #ruby-lang
andrewhl has quit [Quit: andrewhl]
<kkim>
while setting things up with ruby was not that trivial, I am hoping to overcome those initial hurdles.
<apeiros>
(not to say rails - the framework - wasn't, but ruby - the language - is better than php by a long shot)
<kkim>
php is by bread and butter now. I just put my toe in the ruby world. who knows, when I get good enough, I might convince my company to do some RoR projects as well
<Burgestrand>
Setting ruby up is an exercise in hurting oneself very much.
<ericwood>
dunno about that...
|jemc| has quit [Client Quit]
<kkim>
yes, I am already enjoying the elegance of the language
<ericwood>
well, deploying is hell
|jemc| has joined #ruby-lang
<Burgestrand>
Installing ruby is hell.
<ericwood>
locally it is not...
<Burgestrand>
For somebody new it's even worse. At least I know how to use the tools nowadays.
<apeiros>
as a newcomer, this is probably quite true.
<ericwood>
ruby-install version
<ericwood>
boom
<ericwood>
most *nix distros have a package you can install, too
<ericwood>
now, on windows I'm not sure
<apeiros>
well, to be blunt - fuck windows.
<avdi>
apeiros: this is why we can't have nice things
<avdi>
I learned Ruby on windows. Did most of my early Ruby work in it.
<avdi>
And ironically for all the developer hate it gets, Windows probably has one of the better Ruby install experiences
railzForDaiz has quit [Ping timeout: 265 seconds]
<ericwood>
interesting
<apeiros>
avdi: if you choose windows, you already chose to live with non-nice things IMO.
<Burgestrand>
Then again, the experience after that could be better
<ericwood>
_why used windows
ratmav has joined #ruby-lang
<avdi>
apeiros: most people don't "choose" windows
<apeiros>
one way or another, yes, they do
<apeiros>
not caring is a choice of its own
<avdi>
but if you choose to ignore it, you ignore an enormous source of potential ruby developers whose only available machine happens to be a windows box
<ericwood>
I have to agree with avdi on this one
<wm3|away>
windows may have one of the better ruby installation experiences... but using it after that never seemed very nice to me (I tried it for a while back when I started using ruby)
wm3|away is now known as workmad3
<ericwood>
but! ruby-install works really well on most platforms, and if it doesn't they typically have a package manager
<ericwood>
so I disagree with the assertion that ruby is hard to install
<avdi>
there are millions of teenagers who only have access to their parents windows machine to install stuff on
<apeiros>
avdi: we've come to an age where you can have virtual machines
<apeiros>
or dual boot, if you can convince your parents
<apeiros>
live cd's (dvds? sticks?) if you can't
<workmad3>
or raspberry pis
<ericwood>
idk ruby works okay on windows
pglombardo has joined #ruby-lang
<avdi>
apeiros: telling someone "you have to have the horsepower to run a VM, the knowhow to set one up, and the willingness to learn a new OS in order to learn this awesome friendly language" is setting an absurd bar
<apeiros>
I'm sorry, but "I have to use windows" is a bad excuse today.
<apeiros>
avdi: that's not what I say at all.
<apeiros>
avdi: I say "you use windows, ok. those are its limits. if you want another world with different limits, here is how you can do it"
enebo has quit [Quit: enebo]
<avdi>
apeiros: you're coming at this from the POV of someone to whom setting up a VM is trivial, and who has easy access to whatever hardware you want
rahul_j has quit [Quit: rahul_j]
ratmav has quit [Client Quit]
MichD is now known as michd
<apeiros>
avdi: that's pretty ad-hominem
<apeiros>
avdi: yes, that's my POV. that doesn't mean I lack imagination.
<avdi>
apeiros: everything you've said has implies you think these things are easy so there's "no excuse" not to do them.
<apeiros>
avdi: also it doesn't mean I never had different experiences.
mikecmpbll has quit [Ping timeout: 260 seconds]
<apeiros>
avdi: yes. if you have access to the internet, it's reasonably easy. I don't say there's no effort involved.
<apeiros>
avdi: there are pre-done images, where all you have to do is download.
<ericwood>
what's wrong with just using ruby-install on windows?
<apeiros>
as for the horse-power: you can run a shell based vm on very old hardware
<apeiros>
ericwood: windows.
<ericwood>
great, you don't like windows
<ericwood>
neither do I
<apeiros>
correct
<ericwood>
but it works for some people so icgaf what they use
* ericwood
shrugs
<workmad3>
ericwood: ruby-install doesn't work on windows, afaik
<workmad3>
ericwood: and getting it to work on windows would require windows to support bash or similar
<ericwood>
workmad3: avdi was saying the opposite, but I don't know who is right
<workmad3>
ericwood: no, avdi was pointing out RubyInstaller I believe
<ericwood>
aaaah okay
<workmad3>
ericwood: which is a .msi pre-compiled binary package for windows ;)
<ericwood>
my fave!
<havenwood>
docker or vagrant are tempting but asking someone to learn an OS as a precondition to Ruby hurts
avdi has left #ruby-lang [#ruby-lang]
hahuang65 has quit [Ping timeout: 240 seconds]
<havenwood>
better off in the long run i think, but nice to be able to dip toes before leaping in headlong
<ericwood>
sounds reasonable to me
railzForDaiz has joined #ruby-lang
<Burgestrand>
“Let's make hello world, the simplest thing ever. We start off by installing a compiler…!”
<Burgestrand>
:(
<havenwood>
the Win installer seems to work well enough, even though it lags behind latest stable
<havenwood>
gem incompatibility seems to be the real pain
<workmad3>
yeah... to me, the issues with using windows long-term were less to do with getting ruby installed (even 7 years ago there were precompiled installers) and more to do with the amount of gems and other things that just don't work on windows, or are a PITA to get set up on windows because they need you to set up cygwin or mingw
<workmad3>
and then there's the age-old PITA that windows still relies on file extensions to figure out what to do with files, so it can't deal with running scripts that lack a .rb file...
<workmad3>
*.rb extension
AncientAmateur has quit [Remote host closed the connection]
tomkadwill has joined #ruby-lang
<apeiros>
workmad3: the problem I see is that those issues then get mirrored back at the languages. which is simply stupid.
<apeiros>
nobody expects VB apps to run on osx or *nix
sdouglas has quit [Remote host closed the connection]
ironhide_604 has joined #ruby-lang
<workmad3>
apeiros: s/expects/wants/
<apeiros>
but ruby being available and working "reasonably" well creates expectations. and then reality and pain sets in
<apeiros>
workmad3: the "want" is a different issue. I guarantee you there are people who'd want that.
<workmad3>
apeiros: also, doesn't the mono framework provide the ability to run at least some VB and C# apps on osx and *nix? :)
<apeiros>
workmad3: see "expectations created".
dwknoxy is now known as dknox-afk
mistym has joined #ruby-lang
railzForDaiz has quit [Ping timeout: 260 seconds]
<workmad3>
apeiros: :)
arBmind has quit [Quit: Leaving.]
BucOder has joined #ruby-lang
rycco has joined #ruby-lang
saarinen has joined #ruby-lang
BucOder has quit [Client Quit]
amcoder has quit [Quit: ZZZzzz…]
<rycco>
Hey guys, I'm creating a gem that will add some features to Formtastic. I have already added formtastic as a gem dependency and I have a file in lib named file_input.rb. This file starts with "class FileInput < Formtastic::Inputs::FileInput", but everytime I require it it says "uninitialized constant Formtastic" . How can I require it after loading formtastic?
amcoder has joined #ruby-lang
<rycco>
nevermind, I've just figured it out
<rycco>
:D
_elia has quit [Quit: Computer has gone to sleep.]
skade has quit [Quit: Computer has gone to sleep.]
wallerdev_ has joined #ruby-lang
asahi has left #ruby-lang [#ruby-lang]
tomkadwill has quit []
mikecmpbll has joined #ruby-lang
rycco has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
mister_i_ has joined #ruby-lang
mister_integer has quit [Ping timeout: 252 seconds]
|jemc| has quit [Ping timeout: 265 seconds]
djbkd has quit [Remote host closed the connection]
<apeiros>
well, avdi sadly left. obviously "fuck windows" is my opinion. and one great thing about OSS is that somebody can go and say "no, don't fuck windows! I'll make it work!" (like louis lavena did with rubyinstaller for windows)
havenwood has joined #ruby-lang
AncientAmateur has joined #ruby-lang
matp has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jaimef>
you may catch something
djbkd has joined #ruby-lang
x0f_ has joined #ruby-lang
t4nk904 has joined #ruby-lang
chrisseaton has joined #ruby-lang
<t4nk904>
guys is there a way to run code on windows apart from cmd
<t4nk904>
or can you point any book to source to learn about it
<t4nk904>
im new to ruby i learned some coding, would like to test my skills, i have sublime text, i got REPL and im stuck
x0f has quit [Ping timeout: 240 seconds]
AncientAmateur has quit [Ping timeout: 276 seconds]
postmodern has joined #ruby-lang
<dfr|work>
apeiros, lots of windows traffic recently, huh?
banister has joined #ruby-lang
matp has joined #ruby-lang
workmad3 has quit [Ping timeout: 265 seconds]
hahuang65 has joined #ruby-lang
mannyt has joined #ruby-lang
arBmind has joined #ruby-lang
Guest46174 has quit [Read error: Connection reset by peer]
dknox-afk is now known as dknox
chrisseaton has quit [Read error: Connection reset by peer]
ddv has quit [Changing host]
ddv has joined #ruby-lang
yfeldblum has joined #ruby-lang
rahul_j has joined #ruby-lang
finch has joined #ruby-lang
retro|cz has quit [Ping timeout: 276 seconds]
t4nk904 has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
pglombar_ has joined #ruby-lang
pglombar_ is now known as pglombardo_
mikecmpbll has joined #ruby-lang
pglombardo has quit [Ping timeout: 260 seconds]
AncientAmateur has joined #ruby-lang
mister_i_ has quit [Remote host closed the connection]
mister_integer has joined #ruby-lang
<finch>
Hi all, I found a bug in webrick in how it handles content-length when responding to HEAD requests. However I'm drawing a blank when trying to run the tests, could someone give me some pointers on how to get those going?
chouhoulis has joined #ruby-lang
skade has joined #ruby-lang
__butch__ has joined #ruby-lang
__butch__ has quit [Client Quit]
<apeiros>
finch: if you don't get help here, try the mailing list
__butch__ has joined #ruby-lang
ldnunes has quit [Remote host closed the connection]
cstrahan has quit [Ping timeout: 265 seconds]
nathanstitt has quit [Quit: I growing sleepy]
djbkd has quit [Remote host closed the connection]
__butch__1 has joined #ruby-lang
__butch__1 has quit [Client Quit]
djbkd has joined #ruby-lang
foucist has joined #ruby-lang
enebo has joined #ruby-lang
sarkyniin has joined #ruby-lang
pglombardo has joined #ruby-lang
<foucist>
is there nice short way to get the key or value from a hash, given a regexp to match the key ? hash.select {|x| x =~ /regexp/}.keys.first or .values.first is kind of gross
__butch__ has quit [Ping timeout: 260 seconds]
<apeiros>
hash.each_key.grep(/regexp/)
<apeiros>
returns an array, because multiple keys might match. still .first if you want one.
pglombardo_ has quit [Ping timeout: 252 seconds]
<foucist>
sounds good
danijoo has quit [Read error: Connection reset by peer]
<foucist>
er, grep doesn't work in this case heh
danijoo has joined #ruby-lang
<foucist>
my select looks like this {|x| profile.user.email =~ /@(#{x})/ }
<apeiros>
foucist: well, that's what you get when you don't ask the real question :-p
<foucist>
.find will work i suppse heh
<apeiros>
anyway, if you use a regex to find a hash key, you're doing it wrong ;-)
loinclot_ has joined #ruby-lang
amigo99 has joined #ruby-lang
dwayhs has quit [Read error: Connection reset by peer]
stamina has joined #ruby-lang
loincloth has quit [Ping timeout: 260 seconds]
<foucist>
probably :P
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
momomomomo has joined #ruby-lang
RobertBirnie has joined #ruby-lang
seanot has joined #ruby-lang
loinclot_ has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
enebo has quit [Quit: enebo]
seanot has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
djbkd has quit [Remote host closed the connection]
Burgestrand has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
ldnunes has joined #ruby-lang
djbkd has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
DefV has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
omosoj has joined #ruby-lang
yugui_zzz is now known as yugui
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
stamina has quit [Ping timeout: 276 seconds]
dsaint-pierre has quit [Ping timeout: 260 seconds]
Nilium_ has joined #ruby-lang
bantic has joined #ruby-lang
jhass|off is now known as jhass
dknox is now known as dknox-lunch
RobertBirnie has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby-lang
enebo has joined #ruby-lang
yugui is now known as yugui_zzz
Fushi has quit [Quit: Connection closed for inactivity]
sdouglas has joined #ruby-lang
GBrawl has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
dknox-lunch is now known as dknox
loincloth has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
kkim has quit [Quit: Leaving.]
__butch__ has joined #ruby-lang
railzForDaiz has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
yugui_zzz is now known as yugui
kkim has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
yugui is now known as yugui_zzz
dsaint-pierre has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
qba73 has joined #ruby-lang
mehlah has joined #ruby-lang
nathanstitt has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
RobertBirnie has quit [Read error: Connection reset by peer]
RobertBirnie has joined #ruby-lang
elia has joined #ruby-lang
diegoviola has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
<finch>
apeiros: admittedly I'm terrible at keeping up with email but I'll have to give that a spin soon
<finch>
I filed https://bugs.ruby-lang.org/issues/9927 and included the patch, if there's anything that I can do with respect to that issue to get it moved along I would love to know :)
kkim has quit [Quit: Leaving.]
RobertBirnie has quit [Ping timeout: 276 seconds]
vpretzel_ has quit [Quit: Adios!]
<miqui>
how can i capture to a variable the output of sh mycmd
vpretzel has joined #ruby-lang
<gnufied>
use ``
<apeiros>
if you also want stderr, see Kernel#spawn
RobertBirnie has joined #ruby-lang
Boohbah has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Boohbah has joined #ruby-lang
kyb3r_ has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
BucOder has joined #ruby-lang
amcoder has quit [Quit: ZZZzzz…]
havenwood has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
mr-fooba_ has quit []
eTM has joined #ruby-lang
eTM has left #ruby-lang [#ruby-lang]
foucist has left #ruby-lang [#ruby-lang]
kkim has joined #ruby-lang
skade has joined #ruby-lang
amigo99 has quit [Quit: This computer has gone to sleep]
vpretzel_ has joined #ruby-lang
vpretzel_ has quit [Client Quit]
_ht has quit [Remote host closed the connection]
solars has quit [Ping timeout: 260 seconds]
dsaint-p_ has joined #ruby-lang
<darix>
apeiros: or popen[34]?
vpretzel has quit [Ping timeout: 240 seconds]
railzForDaiz has quit [K-Lined]
dsaint-pierre has quit [Ping timeout: 240 seconds]
amigo99 has joined #ruby-lang
<apeiros>
darix: with Kernel#spawn I'd no longer use open3/4
<darix>
apeiros: when was this added?
<apeiros>
1.9
<apeiros>
so reasonably old now :)
kkim has quit [Quit: Leaving.]
gchristensen has joined #ruby-lang
yugui_zzz is now known as yugui
yugui is now known as yugui_zzz
momomomomo has quit [Quit: momomomomo]
araujo has quit [Read error: Connection reset by peer]