<yorickpeterse>
"LOL MOVE TO DIGITAL OCEAN SAVE 5000 DOLLARS"
<ljarvis>
maybe
<bnagy>
like an alloy of iron, molybdenium, vanadium and bears?
rahul_j has quit [Quit: rahul_j]
cmckni3 has joined #ruby-lang
<apeiros>
yorickpeterse: yeah, but go into the comments of that one. look for zarel. he talks about using cloudfare for ~25TB of traffic (which he says he uses himself)
<apeiros>
I wonder whether that wouldn't be an option for rubygems, given that most traffic is probably static there too
<yorickpeterse>
I doubt Cloudflare would hold together for RubyGems though
<ljarvis>
why?
<maloik>
ahhhh #ror, always a good bet if you want tumbleweeds to your questions :(
<yorickpeterse>
e.g. I see no mention of bandwith restraints and w/e
<yorickpeterse>
also I have no idea how cloudflare handles static files served from S3
<yorickpeterse>
(which is where Gems are located atm)
<whitequark>
recaches them
<whitequark>
it's like a next-level CPU cache. S3 ~ RAM, cloudflare ~ L2, browser ~ L1
<yorickpeterse>
heh
<whitequark>
or gem client
<yorickpeterse>
Either way, it probably helps, but it's not the silver bullet the comments make out of it
kitak has quit [Remote host closed the connection]
<yorickpeterse>
we probably pay like 2x that amount, but I'd have to check
<whitequark>
I really wonder about it, I can see how it could massively help with few most popular gems
<whitequark>
*cough*rails*cough*
TvL2386 has joined #ruby-lang
* yorickpeterse
still has to write a forward caching proxy for RubyGems
riffraff has joined #ruby-lang
<yorickpeterse>
because that would actually be useful
symm- has quit [Ping timeout: 240 seconds]
<apeiros>
yorickpeterse assuming that rubygems uses a simple GET url like rubygems.org/download/gemname-gemversion.gem, any ordinary http proxy would do. no?
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
sdouglas has joined #ruby-lang
mr-foobar has quit [Ping timeout: 240 seconds]
<maloik>
screenshots do
sdouglas has quit [Ping timeout: 265 seconds]
<maloik>
'shopped
<maloik>
I can see the pixels
robmiller has joined #ruby-lang
Fushi has joined #ruby-lang
rahul_j_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 265 seconds]
rahul_j_ is now known as rahul_j
benlovell has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
cnivolle has joined #ruby-lang
vlad_starkov has joined #ruby-lang
tdy has joined #ruby-lang
yubrew has quit [Ping timeout: 244 seconds]
lcdhoffman has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
cnivolle has quit [Remote host closed the connection]
jigfox has joined #ruby-lang
cnivolle has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
tkuchiki_ has joined #ruby-lang
<yorickpeterse>
hm, so apparently our costs are actually less than RubyGems'
cnivolle has quit [Ping timeout: 240 seconds]
<yorickpeterse>
ignoring the extra money we pay our ops
styped has joined #ruby-lang
<maloik>
"ok im rebasing now" - *someone pushes extra commits* - "please dont push now, this rebase is hard as it is" - *rebases again* - *another push*
<maloik>
:@
matp has joined #ruby-lang
<yorickpeterse>
lrn2git
<yorickpeterse>
or just git push -f
styped has quit [Client Quit]
tkuchiki has quit [Ping timeout: 240 seconds]
<maloik>
I did actually -f, which caused the last commits to go lost :D
<maloik>
"oh my chat window was scrolled" hehehe
<yorickpeterse>
NEVER PUSH WITH -F YOU NERD
<maloik>
in a rebase like this there would have been no other choice, regardless of commits after the rebase
<yorickpeterse>
it better not be the master branch
<maloik>
ofc not
tkuchiki_ has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby-lang
cmckni3 has quit [Read error: Connection reset by peer]
cmckni3_ has joined #ruby-lang
<yorickpeterse>
boom, another 4 instances bite the dust
<yorickpeterse>
bye bye old mongo cluster
<matti>
Commits might still be in local reflog.
tbuehlmann has joined #ruby-lang
Cakey has joined #ruby-lang
styped has joined #ruby-lang
mossplix has joined #ruby-lang
<yorickpeterse>
ljarvis: ping
<maloik>
matti: they are, he added them again
postmodern has joined #ruby-lang
mossplix has quit [Ping timeout: 240 seconds]
joelroa has quit [Ping timeout: 240 seconds]
cnivolle has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
shinnya has joined #ruby-lang
benlovell has joined #ruby-lang
mr-foobar has joined #ruby-lang
mossplix has joined #ruby-lang
<ljarvis>
yorickpeterse: pong
tkuchiki has joined #ruby-lang
<yorickpeterse>
ljarvis: if one defines a sub command in slop, does that inherit methods from the wrapping command?
<ljarvis>
no
<yorickpeterse>
hm
workmad3 has joined #ruby-lang
<ljarvis>
the command stuff could do with some work (nobody uses it, including me, so it's a little hard to build), however I'm planning on removing it entirely in v4
<yorickpeterse>
hm
<ljarvis>
then again v4 is almost different in every way
<ljarvis>
so there may be some uproar about that
<yorickpeterse>
but...but...I use it :<
<ljarvis>
you're welcome to hack at it, i just can't invest the time in it this week
<yorickpeterse>
no problem, just wondering
<yorickpeterse>
I have to shell stuff out into classes anyway
<ljarvis>
Slop::Commands is a ghetto
<yorickpeterse>
heh
<yorickpeterse>
dat namespace: Olery::Scheduler::Scheduler::Users
<yorickpeterse>
needs more SchedulerScheduler
<ljarvis>
ah good old Scheduler::Scheduler
<yorickpeterse>
worst is, I'm writing it
<ljarvis>
hah
sdouglas has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
sdouglas has quit [Ping timeout: 244 seconds]
styped has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
webgen has quit [Ping timeout: 240 seconds]
tangleofwire has quit [Quit: Connection closed for inactivity]
joelroa has joined #ruby-lang
yubrew has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby-lang
ologNation has joined #ruby-lang
kitak has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 240 seconds]
cuicui_ has quit [Quit: Connection closed for inactivity]
robmiller has joined #ruby-lang
alexju has quit [Remote host closed the connection]
khaase has joined #ruby-lang
bin7me has joined #ruby-lang
dingus_khan has joined #ruby-lang
<unsymbol>
heh :)
dingus_khan has quit [Remote host closed the connection]
anannie has quit [Quit: Leaving...]
mossplix has quit [Ping timeout: 240 seconds]
dingus_khan has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 252 seconds]
robmiller has quit [Quit: Leaving.]
robmiller has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
robmiller has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
robmiller1 has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
boycey has quit [Quit: boycey]
mossplix has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
robmiller1 has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
dingus_khan has quit [Read error: Connection reset by peer]
robmiller1 has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
robmiller1 has quit [Read error: Connection reset by peer]
robmiller1 has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
robmiller1 has quit [Read error: Connection reset by peer]
robmiller1 has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
<ljarvis>
hmm now I need a bundle clean but only remove all except the last 5 releases
boycey has joined #ruby-lang
robmiller has joined #ruby-lang
robmiller1 has quit [Read error: Connection reset by peer]
G________ has joined #ruby-lang
Atww has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
hanikazmi has joined #ruby-lang
jlpeters_ has joined #ruby-lang
dc5ala has joined #ruby-lang
robmiller has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
dachi_ has joined #ruby-lang
zrl__ has joined #ruby-lang
antonishen_ has joined #ruby-lang
chris2_ has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
crazysim has quit [Excess Flood]
elimS has joined #ruby-lang
robmiller has joined #ruby-lang
Kero_ has joined #ruby-lang
phrozen77 has joined #ruby-lang
ahf_ has joined #ruby-lang
ahf_ has quit [Changing host]
ahf_ has joined #ruby-lang
eam_ has joined #ruby-lang
mattyohe_ has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
sindork_ has joined #ruby-lang
crazysim has joined #ruby-lang
_elia has joined #ruby-lang
G________ has quit [Ping timeout: 240 seconds]
adambeynon__ has joined #ruby-lang
Muz_ has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
mossplix has quit [Ping timeout: 240 seconds]
styped___ has joined #ruby-lang
phrozen7- has quit [Ping timeout: 265 seconds]
bodie_ has quit [Ping timeout: 265 seconds]
Atw has quit [Remote host closed the connection]
zenojis has quit [Quit: No Ping reply in 180 seconds.]
zrl_ has quit [Ping timeout: 265 seconds]
hanikazmi_ has quit [Quit: No Ping reply in 180 seconds.]
antonishen has quit [Ping timeout: 265 seconds]
jlpeters has quit [Ping timeout: 265 seconds]
dachi has quit [Ping timeout: 265 seconds]
ConstantineXVI has quit [Ping timeout: 265 seconds]
nathansoz has quit [Ping timeout: 265 seconds]
Paradox has quit [Ping timeout: 265 seconds]
dachi_ is now known as dachi
jlpeters_ is now known as jlpeters
Rylee has quit [Max SendQ exceeded]
zenojis has joined #ruby-lang
1JTAAGP4P has quit [Ping timeout: 265 seconds]
MindfulMonk has quit [Ping timeout: 265 seconds]
nifoc has quit [Ping timeout: 265 seconds]
mitchty has quit [Ping timeout: 265 seconds]
chris2 has quit [Ping timeout: 265 seconds]
ggherdov has quit [Ping timeout: 265 seconds]
mitchty has joined #ruby-lang
antonishen_ is now known as antonishen
elia has quit [Ping timeout: 265 seconds]
mattyohe has quit [Ping timeout: 265 seconds]
mahlon has quit [Ping timeout: 265 seconds]
plexus has quit [Ping timeout: 265 seconds]
Kero has quit [Ping timeout: 265 seconds]
ahf has quit [Ping timeout: 265 seconds]
sindork has quit [Ping timeout: 265 seconds]
eam has quit [Ping timeout: 265 seconds]
adambeynon_ has quit [Ping timeout: 265 seconds]
aef has quit [Ping timeout: 265 seconds]
ruskie has quit [Excess Flood]
styped__ has quit [Ping timeout: 265 seconds]
go|dfish has quit [Ping timeout: 265 seconds]
priodev has quit [Ping timeout: 265 seconds]
bcardarella_ has quit [Ping timeout: 265 seconds]
Guest85414______ has quit [Ping timeout: 265 seconds]
robmiller has quit [Read error: Connection reset by peer]
Muz has quit [Ping timeout: 265 seconds]
nifoc has joined #ruby-lang
bcardarella_ has joined #ruby-lang
priodev has joined #ruby-lang
bodie_ has joined #ruby-lang
aef has joined #ruby-lang
mitchty is now known as Guest8320
bcardarella_ has quit [Changing host]
bcardarella_ has joined #ruby-lang
robmiller1 has joined #ruby-lang
styped___ is now known as styped__
Paradox has joined #ruby-lang
adambeynon__ is now known as adambeynon_
ConstantineXVI has joined #ruby-lang
ahf_ is now known as ahf
bodie_ is now known as Guest87187
MindfulMonk has joined #ruby-lang
Guest85414______ has joined #ruby-lang
mattyohe_ is now known as mattyohe
Rylee has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
robmiller1 has quit [Read error: Connection reset by peer]
adambeynon_ is now known as adambeynon
hahuang61 has joined #ruby-lang
mossplix has joined #ruby-lang
levifig has joined #ruby-lang
ggherdov has joined #ruby-lang
joelroa has joined #ruby-lang
rahul_j has joined #ruby-lang
hahuang61 has quit [Ping timeout: 240 seconds]
joelroa has quit [Read error: Operation timed out]
prc has quit [Ping timeout: 252 seconds]
heftig has quit [Quit: Quitting]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
joonty has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
Cakey has quit [Ping timeout: 252 seconds]
ruskie has joined #ruby-lang
prc has joined #ruby-lang
chris2_ is now known as chris2
mr-foobar has quit [Remote host closed the connection]
<[spoiler]>
Hmm, also commented-out PassengerMinInstances (which was 1)
<[spoiler]>
and this instance won't go away
<[spoiler]>
lol
<[spoiler]>
it's running 6 minutes now
<[spoiler]>
16*
<[spoiler]>
and I've set PassengerPoolIdleTime to 1 to test it
yubrew has quit [Ping timeout: 264 seconds]
TvL2386 has joined #ruby-lang
thisirs has joined #ruby-lang
dingus_khan has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
Kero_ is now known as Kero
dingus_khan has quit [Ping timeout: 264 seconds]
jmeeuwen_ is now known as jmeeuwen
Onixs_ has joined #ruby-lang
Johz has joined #ruby-lang
toastynerd has joined #ruby-lang
<yorickpeterse>
Hmpf, if it wasn't for these others in the office I'd be blasting loud piano music atm
joelroa has joined #ruby-lang
<yorickpeterse>
<3 Joe Hisaishi
<yorickpeterse>
I mean ♥
elimS has quit [Remote host closed the connection]
elimS has joined #ruby-lang
marcofernandez has quit [Ping timeout: 240 seconds]
d4rkr4i has joined #ruby-lang
joelroa has quit [Ping timeout: 264 seconds]
<cored>
I need an idea to test a piece of code that happens when an exception get thrown with minitest; I defined the exception inside the testcase and it's run fine isolated but when I run the entire test suite it just brakes because of defining it twice
devgiant has joined #ruby-lang
ledestin has quit [Quit: ledestin]
<[spoiler]>
testception. Testing your tests
d4rkr4i has quit [Ping timeout: 252 seconds]
Guest___ has joined #ruby-lang
elimS has quit []
marcofernandez has joined #ruby-lang
<cored>
[spoiler]: yeap
<[spoiler]>
Do you have a gist or something? I doubt anyone'll be able to help this way (at lest I can't). Also, post the stack trace, too :D
thisirs has quit [Remote host closed the connection]
<[spoiler]>
Which error does it give you specifically?
d4rkr4i has joined #ruby-lang
<cored>
[spoiler]: when I run that particular test it runs fine; but when I wrong the entire test suite I guess an error refering to Timeout::Error already defined
lunsford has joined #ruby-lang
joelroa has joined #ruby-lang
<[spoiler]>
Hmm
<cored>
superclass mismatch for class Error
<[spoiler]>
Hmm
<[spoiler]>
it sounds to me like
<[spoiler]>
Error's defined already?
<[spoiler]>
Have you tried changing the constant's name
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<[spoiler]>
Just make it: module Timeout; class TimeoutError < Error; end; end;
<cored>
yes; sure but the actual implementation and the service will raise a Timeout::Error
yfeldblum has joined #ruby-lang
<cored>
in that case I won't be able to catch it from the test and I won't be able to test what the code needs to do after raise
d4rkr4i has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
rahul_j has joined #ruby-lang
yubrew has joined #ruby-lang
<[spoiler]>
Hmm
<[spoiler]>
Try raising the error
<[spoiler]>
without defining it, perhaps?
ikrima has quit [Ping timeout: 240 seconds]
<[spoiler]>
if you included the library or w/e you're testing then it's probably defined there already
<cored>
[spoiler]: sure it will be included but if I load Rails
<[spoiler]>
Gah, I'm figuring this Apache/Passenger out. The only thing that's left is that
<cored>
[spoiler]: I wanted to test this in isolation entirely
<[spoiler]>
PassengerMaxInstancesPerApp is not working properly.
<[spoiler]>
But, it's obviously not completely isolated if Timeout::Error is already defined
<[spoiler]>
It *has* to be defined somewhere
<cored>
[spoiler]: you are right
<[spoiler]>
try doing
<[spoiler]>
grep Timeout test_dir/*.rb
prc has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 240 seconds]
<[spoiler]>
Maybe you defined it twice accidentally, or maybe you're including it from somewhere. Dunno
<cored>
there are a lot of classes using Timeout::Error but is not defined
benlovell has quit [Read error: Operation timed out]
<cored>
it's defined inside a gem which it's include through test_helper
<cored>
which loads a lot of stuff that makes the test slow I did not want that for this particular test because it's very simple
<cored>
but the problem in here is that there is a non existant wrapper
<cored>
defining it's own set of exceptions that I can catch and include at will without loading entire Rails
<cored>
the execptions use are from the actual gems; which leads to this chaos
<[spoiler]>
Maybe test if the class is already defined before you define it?
vlad_starkov has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 265 seconds]
funnel has quit [Changing host]
funnel has joined #ruby-lang
nathanstitt has joined #ruby-lang
momomomomo has joined #ruby-lang
brettweavnet has joined #ruby-lang
Guedes0 has quit [Quit: Saindo]
tonni has joined #ruby-lang
Guedes has joined #ruby-lang
Guedes has quit [Changing host]
Guedes has joined #ruby-lang
Guedes has left #ruby-lang [#ruby-lang]
d4rkr4i has quit [Ping timeout: 244 seconds]
rkmetzl has joined #ruby-lang
<[spoiler]>
K! Going home, see ya folk! :D
[spoiler] has quit [Quit: Bomboyage!]
jds has joined #ruby-lang
funnel has quit [Quit: leaving]
funnel has joined #ruby-lang
funnel has joined #ruby-lang
funnel has quit [Changing host]
<ljarvis>
I need to design a set of labels to be printed off in the form of a downloadable pdf, can anyone recommend decent libraries to build said pdf?
vlad_starkov has joined #ruby-lang
[spoiler] has joined #ruby-lang
[spoiler] has quit [Read error: Connection reset by peer]
cnivolle_ has joined #ruby-lang
<yorickpeterse>
prawn or docraptor
<yorickpeterse>
We're using both, can't really recommend Prawn though
<yorickpeterse>
it's a PITA
<yorickpeterse>
Docraptor is pretty sweet so far
<yorickpeterse>
e.g. it doesn't seem to mind a few 100 pages of HTML + SVG
<ljarvis>
which gem?
<ljarvis>
there's a couple
<yorickpeterse>
eh lemme check
<yorickpeterse>
doc_raptor
<ljarvis>
ah no maybe there's no, just different names
<ljarvis>
cool ta
cnivolle has quit [Ping timeout: 240 seconds]
cnivolle_ has quit [Read error: Connection reset by peer]
<ljarvis>
meh external services
<toretore>
prawn works well
cnivolle has joined #ruby-lang
<toretore>
even though it's very low level
yubrew has joined #ruby-lang
rahul_j has joined #ruby-lang
<yorickpeterse>
ljarvis: eh yeah, it uses an API of Docraptor
<yorickpeterse>
otherwise enjoy positioning those coordinates
d4rkr4i has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
<maloik>
always takes us forever to get the arrrrcamp booklet labels right
<yorickpeterse>
oh nice, I like how Ruby just disregards me rescue-ing ArgumentError
<toretore>
just suck it up and use prawn directly, you're going to at some time anyway
<maloik>
well we do it in... hmm I don't remember but I think it's access
<maloik>
colleague basically does it, I just tell him "move this there, give more margin here"
<yorickpeterse>
I'm glad when we're rid of Prawn
sdouglas has quit [Ping timeout: 244 seconds]
jcs222 has quit [Quit: leaving]
Guest87187 is now known as bodie_
dc5ala has quit [Quit: Ex-Chat]
cnivolle_ has joined #ruby-lang
<ljarvis>
prawn seems pretty okay from what i've seen so far
<ljarvis>
i guess i dont need to use much of it anyway
rippa has joined #ruby-lang
cnivolle_ has quit [Remote host closed the connection]
<toretore>
prawn isn't exactly elegant, but it does what it's supposed to without any fanfare.. i find that any pdf generator that doesn't produce pdf directly gets in my way at some point
cnivolle_ has joined #ruby-lang
cnivolle has quit [Ping timeout: 240 seconds]
<toretore>
especially the ones that start with html+css
<toretore>
because they don't let you control everything about the pdf
clamstar has joined #ruby-lang
sdouglas has joined #ruby-lang
joelroa has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 244 seconds]
tylersmith has joined #ruby-lang
joelroa has quit [Ping timeout: 265 seconds]
momomomomo has quit [Quit: momomomomo]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
jtw has joined #ruby-lang
dharms has joined #ruby-lang
ruby_n_max has joined #ruby-lang
<yorickpeterse>
oh shit, I got an invitation to a conference
<yorickpeterse>
and it's in Kiev too, hmmm
momomomomo has joined #ruby-lang
<yorickpeterse>
nice try Putin
tylersmith has quit [Ping timeout: 265 seconds]
ologNation has quit [Ping timeout: 265 seconds]
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
anannie has joined #ruby-lang
anannie has joined #ruby-lang
webgen has quit [Ping timeout: 269 seconds]
<ljarvis>
classic putin
<yorickpeterse>
unbearable
<ljarvis>
in soviet russia, conference invite yorick
bzalasky has joined #ruby-lang
<yorickpeterse>
hey
<yorickpeterse>
fuck you
<ljarvis>
:D
<yorickpeterse>
hm, seems it's all Rails focused
<yorickpeterse>
"This year we are planning to gather leading web-developers to discuss one of the most efficient web-frameworks once again."
<yorickpeterse>
wait that can't be Rails
<yorickpeterse>
it says efficient
<ljarvis>
i have the most smug look on my face even i want to punch me
<ljarvis>
well, rails *is* efficient for building apps
anannie has quit [Remote host closed the connection]
dagobah has quit [Quit: Leaving...]
<yorickpeterse>
YES, everybody gone, time to play loud music
anannie has joined #ruby-lang
<yorickpeterse>
Hm then again that involves fiddling around with a Mac mini
<yorickpeterse>
brrrrr
cnivolle has joined #ruby-lang
tonni has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
pabloh has joined #ruby-lang
benlovell has joined #ruby-lang
d4rkr4i has joined #ruby-lang
amsi has joined #ruby-lang
ologNation has joined #ruby-lang
tbuehlmann has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
mossplix has quit [Quit: mossplix]
brettweavnet has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
TvL2386 has quit [Ping timeout: 240 seconds]
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
fraterlaetus has joined #ruby-lang
brettweavnet has joined #ruby-lang
devgiant_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
ratmav has joined #ruby-lang
ratmav has quit [Read error: Connection reset by peer]
benlovell has joined #ruby-lang
yatish27 has quit []
devgiant has quit [Ping timeout: 244 seconds]
anannie has quit [Remote host closed the connection]
anannie has joined #ruby-lang
anannie has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 265 seconds]
eam_ is now known as eam
joelroa has joined #ruby-lang
devgiant__ has joined #ruby-lang
canton7-mac has quit [Quit: Leaving]
TvL2386 has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
devgiant_ has quit [Ping timeout: 244 seconds]
joelroa has quit [Ping timeout: 264 seconds]
matp has quit [Quit: Bye!]
momomomomo has quit [Quit: momomomomo]
cnivolle_ has joined #ruby-lang
brettweavnet has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby-lang
Onixs_ has quit [Read error: Connection reset by peer]
Onixs has joined #ruby-lang
momomomomo has quit [Client Quit]
cnivolle has quit [Ping timeout: 245 seconds]
cnivolle_ has quit [Ping timeout: 244 seconds]
heftig has joined #ruby-lang
ruby_n_max has joined #ruby-lang
hahuang65 has joined #ruby-lang
broconne has quit [Quit: Leaving.]
hahuang65 has quit [Ping timeout: 265 seconds]
io_syl has joined #ruby-lang
rkmetzl has quit [Read error: Connection reset by peer]
rkmetzl has joined #ruby-lang
elliotec has joined #ruby-lang
ruby_n_max has quit [Quit: ruby_n_max]
workmad3 has quit [Ping timeout: 244 seconds]
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joelroa has joined #ruby-lang
pabloh has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
davidko has joined #ruby-lang
iliketurtles has joined #ruby-lang
ruby_n_max has joined #ruby-lang
iliketurtles has quit [Client Quit]
broconne has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
<jtoy>
what am I doing wrong with this regex? http://rubular.com/r/wh1vMAY1CK I want to match the string with just putting in the words "1 time physical", but I dont know how to deal with the middle
yfeldblum has joined #ruby-lang
macmartine has joined #ruby-lang
<bougyman>
well, \s+|\S+ means, literally, a space character or a non-space character, one or more.
<bougyman>
oh, you did *, not +
tedstriker has quit [Quit: Anti-Fraping status set.]
elliotec has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
mehlah has quit [Ping timeout: 252 seconds]
_elia has quit [Quit: Computer has gone to sleep.]
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
mehlah has joined #ruby-lang
chouhoul_ has joined #ruby-lang
hahuang65 has joined #ruby-lang
TvL2386 has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
<|jemc|>
anyone have any tips/patterns to share for integration tests that check for memory 'growth' over time for my library that uses FFI to wrap some c calls and plays with some c pointers?
<|jemc|>
I want to have some concrete feedback from the system that I'm using the right pointer management practices
mikecmpbll has joined #ruby-lang
chouhoul_ has quit [Remote host closed the connection]
rkmetzl has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby-lang
devgiant_ has joined #ruby-lang
elliotec has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dharms has quit [Quit: dharms]
brettweavnet has joined #ruby-lang
devgiant__ has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
bradcliffe has joined #ruby-lang
brettweavnet has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arBmind has quit [Quit: Leaving.]
rsl has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<yorickpeterse>
|jemc|: as in, how to measure this?
csaunders has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
djinni`_ has quit [Ping timeout: 264 seconds]
csaunders has joined #ruby-lang
RickHull1 has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
<centrx>
"Vim not only runs on your OS X dev machine, but also on your Ubuntu Linux servers. This means you can crush code in production without sacrificing your editing experience."
<lianj>
yorickpeterse: dudebro@javascript.ninja
<centrx>
That page is awesome
djinni` has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse>
meh, I'd say the amount of effort put in to it is rather low
<lianj>
*crush code in production*
<yorickpeterse>
wohoo, another bro-page joke, inc some misogynistic text
elliotec has quit [Remote host closed the connection]
<yorickpeterse>
at least it takes a shit on Node and not Ruby for a change
skade has quit [Quit: Computer has gone to sleep.]
Fushi has quit [Quit: Connection closed for inactivity]
<apeiros>
.sexy is a valid tld?!?
<apeiros>
fuck
RickHull1 has joined #ruby-lang
chouhoulis has quit [Ping timeout: 240 seconds]
Coincidental has joined #ruby-lang
nibbo_ has quit [Ping timeout: 264 seconds]
nibbo has quit [Ping timeout: 264 seconds]
nibbo_ has joined #ruby-lang
nibbo has joined #ruby-lang
skade has joined #ruby-lang
ruby_n_max has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mikecmpbll has quit [Quit: i've nodded off.]
<yorickpeterse>
apparently
CaptainJet has joined #ruby-lang
jonahR has joined #ruby-lang
levifig has quit [Disconnected by services]
tedstriker has quit [Quit: Anti-Fraping status set.]
<yorickpeterse>
So yeah, I guess I now have 3 talks to prepare :<
tedstriker has joined #ruby-lang
RickHull1 has quit [Read error: Connection reset by peer]
PhatBaja has joined #ruby-lang
levifig_ is now known as levifig
<PhatBaja>
In this syntax, how can I skip the comma in the middle of the first value? => "param1=val,ue1,param2=value2".split(',')
<PhatBaja>
I tried "param1=val\,ue1,param2=value2".split(',') but it didn't work
havenwood has joined #ruby-lang
io_syl has quit []
<PhatBaja>
Is there a special escape character or sequence I can add to the string so I can escape certain commas?
<centrx>
PhatBaja, You might want to use a regex
<PhatBaja>
centrx, you mean splitting the string using regex instead of simply .split(',') ?
dharms has joined #ruby-lang
<centrx>
PhatBaja, Really you want your input to be well defined
<centrx>
PhatBaja, Yes, capture with regex
<|jemc|>
yorickpeterse | |jemc|: as in, how to measure this?
<|jemc|>
I know how to check memory usage, I was just trying to figure out some structure for setting up and running these kinds of tests
elliotec has joined #ruby-lang
<|jemc|>
I was hoping there was some standard established pattern for addressing this kind of concern
<|jemc|>
because I hope more people are concerned about this than just me :)
mehlah has quit [Read error: Connection reset by peer]
<PhatBaja>
centrx, something like this? "param1=val/,ue1,param2=value2".split(/,/)
<centrx>
PhatBaja, that's the same thing
<PhatBaja>
yeah - I noticed..
<centrx>
Presumably the format is something like: .*=.*,
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse>
|jemc|: don't think there are
mikecmpbll has joined #ruby-lang
<bougyman>
hah, i found a way to do it, PhatBaja
<bougyman>
regex gets hairy with nested bounds like that.
<bougyman>
the one thing you always have is param
<bougyman>
check out s.split("param")
<bougyman>
=> ["", "1=val,ue1,", "2=value2"]
michaeldeol has joined #ruby-lang
<PhatBaja>
bougyman - good idea! however... its not always param
ruby_n_max has quit [Quit: ruby_n_max]
paulfm has joined #ruby-lang
<PhatBaja>
it could be like this: ==> text1=hellothere,text2=hello,there,param3=stuff
paulfm has left #ruby-lang [#ruby-lang]
<PhatBaja>
i need the comma in the value of text2 to be escaped
ruby_n_max has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
<bougyman>
ah, then you are screwed
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby-lang
jsullivandigs has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
polyidus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boycey has left #ruby-lang [#ruby-lang]
styped has joined #ruby-lang
<PhatBaja>
thank you apeiros!
<PhatBaja>
and thanks bougyman for the effort
phansch has quit [Quit: WeeChat 0.4.2]
jsullivandigs has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
devgiant__ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
<cored>
is there a way for me to have something like an rspec double with minitest?
<matti>
manveru: Are you in Munich?
<apeiros>
cored: there are various test spy libraries
<apeiros>
I used rr in the past
<apeiros>
of course, you can just use plain ruby to create doubles. it's trivial enough for many cases.
devgiant_ has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 240 seconds]
<cored>
apeiros: I did not want to use that; with the convenience of double on rspec
<cored>
apeiros: what I did was to set a new method expectation on my mock
<cored>
at least that's helping to discover the API I want to see
<apeiros>
"I did not want to use that" - what's "that"?
minim has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 269 seconds]
brettweavnet has joined #ruby-lang
chouhoulis has joined #ruby-lang
<cored>
use another library
<cored>
he
<cored>
I think I was talking to myself
ledestin has joined #ruby-lang
<centrx>
Crazy!? I was crazy once! They locked me in a room. A rubber room. With rubber mice. And the worms? The worms drove me crazy. Crazy!? I was crazy once...
devgiant__ has quit [Quit: Leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anannie has quit [Remote host closed the connection]
brettweavnet has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
vpretzel has quit [Read error: Connection reset by peer]
bodie_ has joined #ruby-lang
bodie_ is now known as Guest18028
<manveru>
matti: about an hour away from it
jsullivandigs has joined #ruby-lang
joelroa has quit [Ping timeout: 240 seconds]
stevew_ has joined #ruby-lang
vpretzel_ is now known as vpretzel
michaeldeol has joined #ruby-lang
dharms has quit [Quit: dharms]
matp has joined #ruby-lang
mechan1c has quit [Quit: WeeChat 0.4.0]
mechan1c has joined #ruby-lang
enebo has quit [Quit: enebo]
ledestin has quit [Quit: ledestin]
diegoviola has joined #ruby-lang
PhatBaja has quit [Quit: PhatBaja]
stevew_ has quit [Ping timeout: 240 seconds]
polydius has quit []
m4t- has joined #ruby-lang
ratmav has joined #ruby-lang
joelroa has joined #ruby-lang
Guest18028 is now known as bodie_
yfeldblu_ has joined #ruby-lang
joelroa has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
<joevandyk>
I keep running into errors when running 'bundle install' on a large gemfile. https://bugs.ruby-lang.org/issues/8836 looks relevant. "ulimit -s 20000" doesn't seem to work. i've had to start editing the Gemfile.lock's by hand. :( any suggestions?
lcdhoffman has quit [Quit: lcdhoffman]
<joevandyk>
or maybe i have to switch to 64 bit and put up with using twice as much memory per ruby process :(
<gnufied>
joevandyk: your ruby crashes?
<joevandyk>
gnufied: yup
<gnufied>
joevandyk: try upgrading bundler.
<gnufied>
which version you are running?
prc has joined #ruby-lang
<gnufied>
try one of the latest pre-releases
<gnufied>
the algorithm has been changed from recursive to iterative recently