<JoelMcCracken>
i've always found IO's reopen confusing; can anyone suggest a good resource on it somewhere?
kith has joined #ruby-lang
tharindu_ has joined #ruby-lang
<JoelMcCracken>
or, a reference to what its doing in a unix sense, if such a thing exists
tharindu has quit [Ping timeout: 272 seconds]
bfleischer has quit [Ping timeout: 246 seconds]
makoto_ has joined #ruby-lang
dingus_khan has joined #ruby-lang
lsegal has joined #ruby-lang
nertzy3 has joined #ruby-lang
<rue>
See dup2
pglombardo has quit [Remote host closed the connection]
bfleischer has joined #ruby-lang
CoreData1 has quit [Ping timeout: 248 seconds]
kitak_ has joined #ruby-lang
makoto_ has quit [Ping timeout: 246 seconds]
brianpWins has joined #ruby-lang
CoreData has joined #ruby-lang
kitak has quit [Ping timeout: 245 seconds]
VTLob has quit [Quit: VTLob]
michaeldeol has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
x0f_ has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
pglombardo has joined #ruby-lang
kfpratt has joined #ruby-lang
mistym_ has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 260 seconds]
fsvehla has quit [Quit: fsvehla]
kfpratt has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
mootpointer has quit [Quit: ENOCAFFEINE.]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
mistym_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bfleischer has quit [Ping timeout: 245 seconds]
ldnunes has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
kfpratt has quit [Ping timeout: 264 seconds]
kfpratt has joined #ruby-lang
mootpointer has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
tylersmi_ has quit [Read error: Connection reset by peer]
kfpratt has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
jerrytgarcia has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
seanlinsley has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
hogeo has joined #ruby-lang
coca_rails has joined #ruby-lang
batchitcray has quit [Ping timeout: 245 seconds]
KM has joined #ruby-lang
fmoli has joined #ruby-lang
jxie has joined #ruby-lang
ldnunes has joined #ruby-lang
<JoelMcCracken>
yeah. i still dont get it
havenwood has quit [Remote host closed the connection]
justincampbell has quit []
batchitcray has joined #ruby-lang
havenwood has joined #ruby-lang
KM|2 has quit [Read error: Connection reset by peer]
pglombardo has quit [Remote host closed the connection]
amoli has quit [Ping timeout: 248 seconds]
coca_rails has quit [Ping timeout: 245 seconds]
mannyt has quit [Ping timeout: 245 seconds]
krasnus has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 260 seconds]
kfpratt has joined #ruby-lang
ddd1 has quit [Ping timeout: 265 seconds]
r0bgleeson has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
batchitcray has quit [Ping timeout: 250 seconds]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
hogeo has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
nertzy3 has quit [Quit: This computer has gone to sleep]
kfpratt has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
_kfpratt has joined #ruby-lang
micalexander has joined #ruby-lang
bfleischer has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
batchitcray has joined #ruby-lang
joast has quit [Quit: Leaving.]
joonty has quit [Read error: Operation timed out]
jonahR has joined #ruby-lang
makoto_ has joined #ruby-lang
joonty has joined #ruby-lang
havenwood has joined #ruby-lang
g-nee has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
g-nee has joined #ruby-lang
marr has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby-lang
snsei has quit [Remote host closed the connection]
makoto_ has quit [Ping timeout: 252 seconds]
snsei has joined #ruby-lang
_kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
hogeo has joined #ruby-lang
snsei has quit [Ping timeout: 245 seconds]
kfpratt has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
<JoelMcCracken>
so, i just to write a super simple 'cat' utility that works by connecting the input to the output, and I'm just having a ton of trouble. any suggestions?
nertzy3 has joined #ruby-lang
<JoelMcCracken>
the closest I have is `echo foo | ruby -e 'IO.copy_stream($stdin, $stdout)'`
joast has joined #ruby-lang
<krasnus>
something like echo test | ruby -e "puts gets" ?
kfpratt has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
fsvehla has joined #ruby-lang
<JoelMcCracken>
so, that works, but it is manually copying the data and is a good deal slower
havenwood has joined #ruby-lang
havenwood has quit [Client Quit]
<JoelMcCracken>
(than what I am hoping to figure out)
kfpratt has quit [Remote host closed the connection]
cored has quit [Ping timeout: 260 seconds]
<krasnus>
yours is working here btw
hhatch has quit [Ping timeout: 272 seconds]
lfox has joined #ruby-lang
<JoelMcCracken>
yeah, its working, but afaict its still 'busy'; i want to actually connect the pipes
cored has joined #ruby-lang
<JoelMcCracken>
the IOs
g-nee has quit [Remote host closed the connection]
knu has quit [Ping timeout: 240 seconds]
mistym_ has joined #ruby-lang
knu has joined #ruby-lang
kfpratt has joined #ruby-lang
fmoli has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby-lang
g-nee has joined #ruby-lang
nertzy3 has quit [Quit: This computer has gone to sleep]
ldnunes has quit [Quit: Leaving]
mistym has quit [Quit: Leaving]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
mistym_ has quit [Ping timeout: 246 seconds]
<JoelMcCracken>
I've been trying to play with reopen for a while, thinking it does what I'm trying to do
<JoelMcCracken>
im starting to think it doesn't
cored has quit [Ping timeout: 246 seconds]
<JoelMcCracken>
yeah. I think I was mistaken. I think i just got the point of reopen
kfpratt has quit [Ping timeout: 252 seconds]
huma has joined #ruby-lang
knu has quit [Ping timeout: 246 seconds]
retro|cz has quit [Ping timeout: 252 seconds]
Arreis has joined #ruby-lang
dingus_khan has joined #ruby-lang
stardiviner has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
CaptainJet has quit []
coca_rails has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
Arreis has quit [Client Quit]
dingus_khan has quit [Ping timeout: 245 seconds]
Arreis has joined #ruby-lang
zoo-zed has joined #ruby-lang
zoo-zed has quit [Max SendQ exceeded]
kek has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 250 seconds]
<maloik_>
I literally just found it 10 seconds ago :D
<maloik_>
thank you
sandroqz has joined #ruby-lang
hogeo has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
slap_stick has joined #ruby-lang
<maloik_>
not making a whole lot of sense though :/
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 265 seconds]
<slap_stick>
hey i am trying to figure out a way to do this: https://gist.github.com/anonymous/12b26f0e94a5f2940762 but not quite sure on what the best approach is, basically one is a schema of the keys that can be that, ? represents optional, so if it isn't there i want to delete the key from the other hash. In principle it sounded easy but actualy seems messy
<maloik_>
whitequark: any idea on how to achieve the same? I basically have no idea how to use that callback
elia has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
anulman has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
UziMonkey has left #ruby-lang ["Leaving"]
vlad_sta_ has quit [Write error: Broken pipe]
sandroqz has quit [Quit: Flw!]
JoshuaPaling has quit [Client Quit]
vlad_starkov has joined #ruby-lang
makoto_ has joined #ruby-lang
benlovell has joined #ruby-lang
<whitequark>
maloik_: no clue
<maloik_>
okay thanks
<maloik_>
wish the docs were a bit better here :( but I suppose hardly anyone ever uses this lol
wallerdev has quit [Quit: wallerdev]
DeProdigy has joined #ruby-lang
jsrn has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
jxie has quit [Ping timeout: 246 seconds]
DeProdigy has quit [Ping timeout: 246 seconds]
DouweM has joined #ruby-lang
UziMonkey has joined #ruby-lang
mootpointer has joined #ruby-lang
fsvehla has joined #ruby-lang
robbyoconnor has joined #ruby-lang
charliesome has joined #ruby-lang
jinie has joined #ruby-lang
ttlnow has joined #ruby-lang
bastilian has joined #ruby-lang
bf4 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
dagobah has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
<yorickpeterse>
morning
bf4 has quit [Ping timeout: 246 seconds]
michd is now known as MichD
mnngfltg has joined #ruby-lang
stardiviner has joined #ruby-lang
<ljarvis>
slap_stick: you're complicating a simple process a lot
tylersmith has joined #ruby-lang
coca_rails has joined #ruby-lang
yfeldblum has joined #ruby-lang
bin7me has joined #ruby-lang
tylersmith has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
ttlnow has quit [Quit: leaving]
<slap_stick>
ljarvis, i kind of figured that but i am not sure how else to do it, the hash could be emedded so i need to keep iterating, hence the call again and i'm nto sure how else id' do it
<yorickpeterse>
Random fact Mongo sucks: it can't handle 430k document updates per day
<yorickpeterse>
* why
<yorickpeterse>
"hurrdurr I am mongodb give me larger EC2 instances"
<yorickpeterse>
nom nom nom wallet
mikecmpbll has joined #ruby-lang
<gnufied>
lol
<gnufied>
mango is awesome. nom nom
<yorickpeterse>
we downgraded the instances from "super expensive yo" to "less expensive"
<yorickpeterse>
it doesn't like that
mootpointer has quit [Quit: ENOCAFFEINE.]
<gnufied>
but seriously with so many different datastores available in postgres, it is less and less clear if one should use Mongo at all
<yorickpeterse>
Actually we're planning to at some point move back to SQL
<yorickpeterse>
and possibly Pg
<yorickpeterse>
since it's now on RDS
<yorickpeterse>
you'd think m2.xlarge would be enough for Mongo
<gnufied>
well you don't get billion dollar valuation just like that
face has joined #ruby-lang
<gnufied>
(buy moar support contracts)
symm- has quit [Ping timeout: 250 seconds]
<yorickpeterse>
heh, the amount of events goes down and the average timings go up
<yorickpeterse>
webscale
Bosox20051 has quit [Quit: Leaving]
stardiviner has quit [Remote host closed the connection]
anulman has joined #ruby-lang
amoli has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
anulman has quit [Ping timeout: 246 seconds]
stardiviner has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
vlad_sta_ has joined #ruby-lang
jsrn has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 246 seconds]
<matti>
yorickpeterse: Ohai
<yorickpeterse>
Today I get to delete 69 repositories
<matti>
Why?
<yorickpeterse>
and save us 250 USD
<yorickpeterse>
because we no longer need them
DeProdigy has joined #ruby-lang
<yorickpeterse>
after that we still have 65 repos left though
coca_rails has quit [Ping timeout: 245 seconds]
jsrn has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
marr has joined #ruby-lang
stardiviner has joined #ruby-lang
DeProdigy has quit [Ping timeout: 264 seconds]
otero has joined #ruby-lang
otero has quit [Client Quit]
mistym has joined #ruby-lang
DouweM has quit [Ping timeout: 260 seconds]
otero has joined #ruby-lang
pglombardo has joined #ruby-lang
michaeldeol has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
mistym has quit [Ping timeout: 260 seconds]
kek has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
michaeldeol has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
tedstriker has joined #ruby-lang
arBmind has joined #ruby-lang
pglombardo has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
zastern has quit [Ping timeout: 264 seconds]
bf4 has quit [Ping timeout: 245 seconds]
ldnunes has joined #ruby-lang
tylersmith has joined #ruby-lang
sepp2k has joined #ruby-lang
kek has quit [Remote host closed the connection]
D9 has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby-lang
tylersmith has quit [Ping timeout: 246 seconds]
<maloik_>
random question: in a conference, what kind of half-day workshops would you like to see? if any... perhaps you just don't like that concept at all
<maloik_>
feel free to think outside the box: photography, UI design for developers, ...
arBmind has quit [Quit: Leaving.]
zastern has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
kek has joined #ruby-lang
arBmind has joined #ruby-lang
michaeldeol has joined #ruby-lang
JohnBat26 has quit [Remote host closed the connection]
Elico has quit [Ping timeout: 246 seconds]
bastilian has quit [Read error: Connection reset by peer]
bastilian has joined #ruby-lang
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has quit [Ping timeout: 245 seconds]
Elico has joined #ruby-lang
greenboxal_ has quit [Read error: Connection reset by peer]
greenboxal_ has joined #ruby-lang
pglombardo has joined #ruby-lang
anulman has joined #ruby-lang
kek has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
h_kon has joined #ruby-lang
kfpratt has joined #ruby-lang
dhruvasagar has joined #ruby-lang
gianlucadv has joined #ruby-lang
JohnBat26 has joined #ruby-lang
anulman has quit [Ping timeout: 246 seconds]
kfpratt has quit [Ping timeout: 245 seconds]
atm1 has joined #ruby-lang
A124 has joined #ruby-lang
coca_rails has joined #ruby-lang
charliesome has joined #ruby-lang
cnivolle has joined #ruby-lang
<yorickpeterse>
boom, repos dead
DeProdigy has joined #ruby-lang
coca_rails has quit [Ping timeout: 245 seconds]
arBmind has quit [Read error: Connection reset by peer]
anulman has joined #ruby-lang
tedstriker has quit [Quit: Anti-Fraping status set.]
tedstriker has joined #ruby-lang
sepp2k has quit [Quit: Konversation terminated!]
arBmind has joined #ruby-lang
DeProdigy has quit [Ping timeout: 246 seconds]
anulman has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
lacrosse_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
kek has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
lacrosse has quit [Ping timeout: 260 seconds]
stardiviner has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
Voker57 has joined #ruby-lang
bf4 has joined #ruby-lang
<darix>
bam server dead because it couldnt reach repos
vlad_sta_ has quit [Remote host closed the connection]
<yorickpeterse>
nah we fixed that already
<yorickpeterse>
also our servers don't talk to Git
vlad_starkov has joined #ruby-lang
unrealhoang has quit [Remote host closed the connection]
bf4 has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
judofyr has joined #ruby-lang
<judofyr>
hey folks
Onixs has quit [Ping timeout: 246 seconds]
tylersmith has joined #ruby-lang
vlad_starkov has joined #ruby-lang
yfeldblum has joined #ruby-lang
cored has joined #ruby-lang
Squarepy has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 260 seconds]
<ljarvis>
moin
<judofyr>
what's up?
<ljarvis>
trying to figure out what to eat
yfeldblum has quit [Ping timeout: 250 seconds]
stardiviner has quit [Read error: Connection reset by peer]
<judofyr>
HTTP clients: still not a solved problem in Ruby
<yorickpeterse>
( ͡° ͜ʖ ͡°)
stardiviner has joined #ruby-lang
DeProdigy has joined #ruby-lang
* yorickpeterse
took to long to find that one again
nertzy3 has joined #ruby-lang
DeProdigy has quit [Ping timeout: 260 seconds]
<whitequark>
yorickpeterse: ;poke mislav on twitter maybe
<yorickpeterse>
just did
<yorickpeterse>
not sure if it's a Faraday thing or something with the redirect following middleware
bf4 has joined #ruby-lang
bf4 has quit [Ping timeout: 246 seconds]
cored has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
coca_rails has joined #ruby-lang
hogeo has joined #ruby-lang
breakingthings has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<r0bgleeson>
ljarvis: node seems cool, it's oriented towards a smaller stack that act more like services from what ive seen, but the community dont seem that friendly
<yorickpeterse>
> node seems cool
<yorickpeterse>
> javascript
<yorickpeterse>
get out
Lewix has quit [Remote host closed the connection]
coca_rails has quit [Ping timeout: 245 seconds]
tylersmith has quit [Ping timeout: 260 seconds]
<r0bgleeson>
im one of those strange weirdo's who doesnt mind JS too much
momomomomo has joined #ruby-lang
<yorickpeterse>
JS has its merits
momomomomo has quit [Client Quit]
<r0bgleeson>
i prefer JS over coffeescript
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
<yorickpeterse>
so do I, because JS at least has sane tooling (jshint, chrome debugger without source maps, etc0
momomomomo has joined #ruby-lang
<yorickpeterse>
plus the Coffeescript compiler is the dumbest thing ever
<r0bgleeson>
coffeescript is a horrible language, to me
<r0bgleeson>
it is a ruby mutant
<gnufied>
the tooling is indeed a problem. I personally prefer coffee, but emacs support for coffee is crap
<r0bgleeson>
maybe thats why i dont like coffee =D
<gnufied>
to begin with coffee-mode feels primitive!
vlad_starkov has quit [Ping timeout: 245 seconds]
mbj has joined #ruby-lang
<gnufied>
and then no skewer-mode etc
<gnufied>
:(
<ljarvis>
I prefer coffee
<gnufied>
to tea?
<ljarvis>
vim-coffee is good too
<ljarvis>
no tea beats everything except beer
<yorickpeterse>
tea > beer
<judofyr>
tea beer > *
<yorickpeterse>
that's so scandinavian
<gnufied>
ljarvis: So emacs has like IDE like features for JS
<gnufied>
s/like//
<ljarvis>
that sounds terrible
<gnufied>
auto-completion, documentation, etc
<gnufied>
well that depends
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
makoto_ has quit [Remote host closed the connection]
<ljarvis>
if you're a vim zealot?
<gnufied>
I don't know, how well coffee works in vim
makoto_ has joined #ruby-lang
<gnufied>
do even ctags work with coffee?
<ljarvis>
I haven't used them with coffee
<ljarvis>
but someone has probably built a plugin
<oddmunds>
yorickpeterse: the most scandinavian thing is to drink a lot of coffee
<r0bgleeson>
coffee-mode in emacs is pretty bad
vlad_starkov has joined #ruby-lang
<r0bgleeson>
it's hard to re-indent without the whole thing going ass ways
<yorickpeterse>
that's because there's too much caffeine in it
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
michaeldeol has joined #ruby-lang
<gnufied>
r0bgleeson: yep, it is like minor improvement over fundamental/text mode. :P
<r0bgleeson>
yorickpeterse: thats why vim is asleep when emacs is at the party
<yorickpeterse>
that's not per se a bad thing
<yorickpeterse>
when vim wakes up it will feel refreshed and clean
<yorickpeterse>
ready to gg=G127co59 once more
makoto_ has quit [Ping timeout: 250 seconds]
<r0bgleeson>
it never wakes up, it's in a coma in ER
<kingr0b>
rails boot time is definitely the thorn in my side though
<manveru>
well, you can fix that by doing the requires yourself
pglombardo has quit [Remote host closed the connection]
<manveru>
or using an even crazier hack to combat that hacky rails behavior... there are some libs that keep rails running in the background and do a new fork for every test or something
<yorickpeterse>
yeah zeus
<yorickpeterse>
fuck that
<yorickpeterse>
I'm not going to start up a bloody server to run a test
<kingr0b>
yeah, one of them is written in go. there is a pure ruby version called 'spring', but it's new. there's an older version that uses DRB to do the same thing.
<kingr0b>
it helps but it's a horrible hack
<manveru>
rails described in one sentence :)
<kingr0b>
haha
mistym has quit [Ping timeout: 250 seconds]
<kingr0b>
i agree, i think it makes it too easy to make bad decisions that don't look bad until its too late
<ljarvis>
spring is good
<ljarvis>
but im probably bias
<judofyr>
autorequiring gems is a terrible idea
<gnufied>
I found zeus and spring both to be broken in one way or another
<gnufied>
:(
<kingr0b>
spring is advertised as broken though
<manveru>
that makes it all better
<kingr0b>
well, it is still under development
<kingr0b>
it's probably going back into rails when it is ready
<gnufied>
it is in fact
<gnufied>
we can already see commits about spring in rails
<gnufied>
:-)
<kingr0b>
but that's a bit sad
<kingr0b>
because that's how rails is solving that problem
<ljarvis>
how would you solve it? without ruby being a lot faster, there's only so much you can do about the massive rails overhead
<manveru>
purge the const_missing crap
<gnufied>
won't that make it even more slower?
<gnufied>
which is eager loading
<yorickpeterse>
The solution is fucking easy
<yorickpeterse>
Rails is slow because of all the meta crap it does the moment you subclass something, include a module, etc
<manveru>
how is it slower if it doesn't have to look into every single file for the missing constant?
<yorickpeterse>
take that out and you can have one billion require() calls for all you want
<kingr0b>
rails has the wrong approach to me a lot of the time. it doesn't encourage you to strip the stack, it starts with a stack that probably has much more than you need and how files are required is voodoo. you can optimize with bundler groups and so on but at some point i think rails needs to realize you can't scale anything easily that is monolithic, and even though you have MVC rails builds monolithic
<kingr0b>
applications
<ljarvis>
it's opinionated, deal with it
<gnufied>
manveru: I am mostly thinking of startup time though. it does not load everything.
<kingr0b>
nice, are you taking lessons from DHH?
<kingr0b>
because that's just not an argument to even reply with
<kingr0b>
be open to changing your opinion
<yorickpeterse>
omakase
<yorickpeterse>
turbolinks
<gnufied>
const_missing is crazy
<ljarvis>
kingr0b: who cares about my opinion? i'm a realist, it's opinionated, that's a fact
<yorickpeterse>
having said that I haven't tried Rails 4 yet
<ddd>
king0b no, rails states from the beginning its opinionated. if you don't like that, don't use it
<gnufied>
But I am not sure removing it will make rails startup time faster
<ddd>
pretty simple
<kingr0b>
ljarvis: okay, but that's just another horrible fact if that means rails is not open to change.
<ljarvis>
kingr0b: right
<ljarvis>
and my reply is: deal with it
<ljarvis>
I'm not disagreeing
<kingr0b>
i dont have a problem though
<kingr0b>
like i dont feel the need to deal with it
<workmad3>
news just in - rails is only appropriate for certain types of app!
<kingr0b>
i think people just need to be more vocal and stop defending rails with non-arguments
bf4 has joined #ruby-lang
<ljarvis>
i think rails is generally versatile
<yorickpeterse>
who cares, Ruby doesn't scale anyway
<yorickpeterse>
Twitter said so
enebo has joined #ruby-lang
<yorickpeterse>
lets all use Scala
<gnufied>
manveru: it also autoloads most of core classes. but admittedly they have monkey patched autoload
lfox has joined #ruby-lang
lfox has quit [Client Quit]
<ljarvis>
ruby doesn't scale well and that matters for twitter, it probably doesn't for your startup and wont for years
<ljarvis>
when it's obsolete, move on
<kingr0b>
ruby doesn't scale is silly
<workmad3>
kingr0b: yeah, bits of rails aren't great, and it certainly defaults to pulling in a lot of stuff... I think ljarvis is just saying 'so what? it still works' to that
<kingr0b>
ruby doesn't scale as a rails app
<gnufied>
yorickpeterse: but then you will complain more about startup time
<yorickpeterse>
gnufied: that doesn't matter when your type system is rock solid
<yorickpeterse>
it allows you to write bug free code
<ljarvis>
herp derp concerns
<gnufied>
heh. I have deployed bunch of production apps in Scala and I am not sure if I would have got anything done without yourkit
<kingr0b>
workmad3: yeah, it works, i'm not denying that, but rails is the *only way* people build application and its architecture does not lend well to a distributed platform. it is going to bring ruby down with it if other options dont appear.
<gnufied>
ruby defenitely needs better tooling but ruby 2.1 looks good in that department.
<gnufied>
like, we shouldn't have to strace to find, why is something slow
bfleischer has quit [Ping timeout: 245 seconds]
<whitequark>
gnufied: perftools.rb
bf4 has quit [Ping timeout: 265 seconds]
pglombardo has joined #ruby-lang
<yorickpeterse>
kingr0b: eh?
<yorickpeterse>
I have 20 or so non Rails apps here in a pretty distributed fashion :P
<kingr0b>
yorickpeterse: you can do it, but it's probably not what rails developers know
sross07 has joined #ruby-lang
hogeo has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby-lang
<yorickpeterse>
none of these pricks use autoloading either, they boot up fast
coca_rails has joined #ruby-lang
<lianj>
enough rails for the day
<lianj>
maybe a week
yfeldblum has joined #ruby-lang
pglombar_ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
makoto_ has joined #ruby-lang
tylersmith has quit [Ping timeout: 260 seconds]
coca_rails has quit [Ping timeout: 245 seconds]
pglombardo has quit [Ping timeout: 250 seconds]
imperator has joined #ruby-lang
yalue has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
makoto_ has quit [Ping timeout: 250 seconds]
momomomomo has quit [Quit: momomomomo]
tharindu has quit [Ping timeout: 245 seconds]
h_kon has quit [Remote host closed the connection]
stardiviner has quit [Remote host closed the connection]
machuga is now known as machuga|away
stardiviner has joined #ruby-lang
DeProdigy has quit [Ping timeout: 260 seconds]
kirin` has quit [Ping timeout: 248 seconds]
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
MaddinXx has joined #ruby-lang
hogeo has joined #ruby-lang
iliketur_ has joined #ruby-lang
MadDog31 has joined #ruby-lang
fsvehla_ has joined #ruby-lang
houhoulis has joined #ruby-lang
fsvehla has quit [Ping timeout: 246 seconds]
fsvehla_ is now known as fsvehla
iliketur_ has quit [Client Quit]
anulman has joined #ruby-lang
houhouli_ has joined #ruby-lang
snsei has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
snsei has joined #ruby-lang
gjaldon has joined #ruby-lang
<gjaldon>
what's a good book to read on Unix programming? interested in learning more about system calls and Unix so I can better understand Unicorn and similar libraries
io_syl has joined #ruby-lang
mnngfltg has quit [Quit: Ex-Chat]
pglombar_ has quit []
houhoulis has quit [Ping timeout: 246 seconds]
itsraining has joined #ruby-lang
<imperator>
The Art of Unix Programming is the standard I'd say
anulman has quit [Ping timeout: 265 seconds]
ddd has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
ddd has joined #ruby-lang
<gjaldon>
have your tried reading other books on Unix? what makes the book worth reading?
mbj has quit [Ping timeout: 245 seconds]
kitak__ has joined #ruby-lang
<gjaldon>
imperator: the question above is for you
ddd has quit [Max SendQ exceeded]
snsei has quit [Remote host closed the connection]
ddd has joined #ruby-lang
snsei has joined #ruby-lang
<imperator>
I think there's one from O'Reilly, but it's not as comprehensive - the Art of Unix Programming is pretty good - covers all the topics you'll need with examples and clear explanations
ddd has quit [Max SendQ exceeded]
DeProdigy has joined #ruby-lang
kitak has quit [Ping timeout: 245 seconds]
ddd has joined #ruby-lang
ddd has quit [Max SendQ exceeded]
joonty has quit [Ping timeout: 246 seconds]
machuga|away is now known as machuga
saarinen has joined #ruby-lang
snsei has quit [Ping timeout: 250 seconds]
coca_rails has joined #ruby-lang
dvorak has quit [Ping timeout: 246 seconds]
joonty has joined #ruby-lang
<senj>
I'd suggest Advanced Programming in the Unix Environment for a comprehensive understanding of Unix system calls. The Art of Unix Programming focused more on Unix-style design and philosophy.
dvorak has joined #ruby-lang
Lewix has joined #ruby-lang
<gjaldon>
thanks for the suggestions senj and imperator
DeProdigy has quit [Ping timeout: 250 seconds]
<gjaldon>
has anyone read The Linux Programming Interface: A Linux and UNIX System Programming Handbook?
cnivolle has quit [Ping timeout: 245 seconds]
<imperator>
gjaldon, actually....that's the book i meant! oops, i got them mixed up
<imperator>
senj, thanks
coca_rails has quit [Ping timeout: 245 seconds]
<imperator>
yes, skip the art of unix programming, get advanced programming in the unix environment
<senj>
yeah, I half-suspected you had the names switched
riffraff has quit [Quit: Leaving]
<gjaldon>
thanks guys
ddd has joined #ruby-lang
gianlucadv has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
houhouli_ has quit [Remote host closed the connection]
<imperator>
i have not read the linux book
<imperator>
the advance programming book does try to be generic, so certain things may not apply, but you can skip those chapters if they don't interest you
makoto_ has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 250 seconds]
tylersmith has joined #ruby-lang
hahuang65 has joined #ruby-lang
michaeldeol has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
joevandy1 has left #ruby-lang [#ruby-lang]
jonahR has joined #ruby-lang
Elico has quit [Quit: Elico]
stardiviner has quit [Ping timeout: 245 seconds]
NemesisD has quit [Ping timeout: 264 seconds]
hogeo has quit [Ping timeout: 265 seconds]
momomomomo has quit [Quit: momomomomo]
huma has joined #ruby-lang
iliketur_ has joined #ruby-lang
amoli has joined #ruby-lang
senj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kek has quit [Remote host closed the connection]
chabill has quit [Ping timeout: 246 seconds]
jsullivandigs has joined #ruby-lang
DeProdigy has joined #ruby-lang
enebo has joined #ruby-lang
Guest85309 has quit [Ping timeout: 250 seconds]
snsei has joined #ruby-lang
Elico has joined #ruby-lang
tharindu has quit [Ping timeout: 246 seconds]
DeProdigy has quit [Ping timeout: 265 seconds]
ldnunes has quit [Ping timeout: 264 seconds]
Elico has quit [Client Quit]
Elico has joined #ruby-lang
snsei has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
ldnunes has joined #ruby-lang
houhoulis has joined #ruby-lang
snsei has joined #ruby-lang
houhoulis has quit [Client Quit]
DeProdigy has joined #ruby-lang
iliketur_ has joined #ruby-lang
shinnya has quit [Ping timeout: 260 seconds]
ddd has quit [Quit: Leaving]
ddd has joined #ruby-lang
houhoulis has joined #ruby-lang
tbuehlmann has joined #ruby-lang
ddd has quit [Client Quit]
itsraining has quit [Ping timeout: 264 seconds]
makoto_ has joined #ruby-lang
mechanicles has quit [Remote host closed the connection]
flak has joined #ruby-lang
flak is now known as Guest83073
ddd has joined #ruby-lang
DeProdigy has quit [Ping timeout: 265 seconds]
snsei has quit [Remote host closed the connection]
ddd has quit [Client Quit]
fijimunkii has quit [Ping timeout: 252 seconds]
rippa has quit [Ping timeout: 248 seconds]
makoto_ has quit [Ping timeout: 252 seconds]
huma has quit [Ping timeout: 246 seconds]
imperator has quit [Ping timeout: 246 seconds]
Squarepy has quit [Quit: Leaving]
chabill has joined #ruby-lang
ddd has joined #ruby-lang
anulman has joined #ruby-lang
ddd has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
DeProdigy has joined #ruby-lang
ddd has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
momomomomo has joined #ruby-lang
anulman has quit [Ping timeout: 265 seconds]
Thanatermesis has quit [Ping timeout: 256 seconds]
kingr0b is now known as r0bgleeson
gjaldon has quit []
DeProdigy has quit [Ping timeout: 250 seconds]
rikai has joined #ruby-lang
rikai has quit [Changing host]
rikai has joined #ruby-lang
<yorickpeterse>
best test is production test
makoto_ has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.2]
makoto_ has quit [Ping timeout: 252 seconds]
<momomomomo>
:O
Thanatermesis has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
Elico has quit [Ping timeout: 252 seconds]
itsraining has joined #ruby-lang
chabill has quit [Ping timeout: 246 seconds]
Guest83073 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Elico has joined #ruby-lang
lfox has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
benkhicks has quit [Quit: Leaving.]
apeiros has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
michaeldeol has joined #ruby-lang
itsraining has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
havenwood has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
MaddinXx has quit [Quit: Leaving...]
michaeldeol has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
hogeo has quit [Ping timeout: 250 seconds]
havenwood has quit [Ping timeout: 260 seconds]
mhenrixon has joined #ruby-lang
apeiros has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby-lang
snsei has joined #ruby-lang
itsraining has joined #ruby-lang
MichD is now known as michd
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
snsei_ has joined #ruby-lang
DeProdigy has joined #ruby-lang
senj has joined #ruby-lang
fijimunkii has joined #ruby-lang
kirin` has joined #ruby-lang
otero has quit [Ping timeout: 260 seconds]
snsei has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
michaeldeol has quit [Ping timeout: 264 seconds]
judofyr has joined #ruby-lang
benkhicks has joined #ruby-lang
<yorickpeterse>
ASJDLKASJDLKS MONGODB
<lianj>
?
<yorickpeterse>
Somebody please start a startup that focuses on telling people why they should *NOT* use MongoDB
tylersmith has quit [Read error: Connection reset by peer]
<yorickpeterse>
slow pig of a database
tylersmi_ has joined #ruby-lang
<yorickpeterse>
at least bundle install -j4 is webscale
<yorickpeterse>
10min deploy down to around 3,5 minutes
<ohsix>
that sounds like one of those statements, that if they were supported by something, it's probably best to not try and keep it a secret and generally blather about it
<lianj>
didn't mongo drop half of a sane dbs features because of speed
<yorickpeterse>
lianj: implying it ever had those
<yorickpeterse>
it can't even count stuff ffs
<lianj>
sure
__butch__1 has joined #ruby-lang
jsrn has quit [Quit: Leaving]
woollyams has quit [Ping timeout: 252 seconds]
tylersmi_ has quit [Read error: Connection reset by peer]
judofyr has quit [Read error: Connection reset by peer]
__butch__ has quit [Ping timeout: 250 seconds]
judofyr has joined #ruby-lang
tylersmith has joined #ruby-lang
dingus_khan has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 250 seconds]
anulman has joined #ruby-lang
havenwood has joined #ruby-lang
MadDog31 has quit [Ping timeout: 260 seconds]
MadDog31 has joined #ruby-lang
cored has quit [Ping timeout: 250 seconds]
brianpWi1s has joined #ruby-lang
anulman has quit [Ping timeout: 272 seconds]
skade has joined #ruby-lang
anulman has joined #ruby-lang
laphlaw has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
joonty has quit [Read error: Operation timed out]
brianpWi1s has quit [Client Quit]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
anulman has quit [Client Quit]
anulman has joined #ruby-lang
apeiros has joined #ruby-lang
kek has joined #ruby-lang
makoto_ has joined #ruby-lang
momomomomo has joined #ruby-lang
__butch__ has joined #ruby-lang
__butch__1 has quit [Ping timeout: 240 seconds]
makoto_ has quit [Ping timeout: 272 seconds]
judofyr has quit [Remote host closed the connection]