RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ikrima has quit [Ping timeout: 246 seconds]
nathanstitt has joined #ruby-lang
mistym has joined #ruby-lang
tobiasPRC has quit [Quit: The computer fell asleep]
ikrima has joined #ruby-lang
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
dingus_khan has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
dingus_khan has joined #ruby-lang
francisfish has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
<centrx>
Welcome to #ruby-lang, may I take your order?
jackhammer2022 has joined #ruby-lang
francisfish has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby-lang
yfeldblu_ has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
toertore has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
jeer has quit [Ping timeout: 252 seconds]
toretore has quit [Ping timeout: 272 seconds]
woollyams has quit [Ping timeout: 252 seconds]
mdub has joined #ruby-lang
pabs has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
sepp2k1 has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
|jemc|_ has joined #ruby-lang
jeer has joined #ruby-lang
nihils has joined #ruby-lang
|jemc| has quit [Ping timeout: 252 seconds]
knu has quit [Ping timeout: 252 seconds]
marcdel has joined #ruby-lang
knu has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
nichtdiebohne has quit [Ping timeout: 260 seconds]
marcdel has quit [Ping timeout: 245 seconds]
nathanstitt has quit [Quit: I growing sleepy]
Barrin6 has quit [Quit: Leaving]
mdub has quit [Read error: Connection reset by peer]
woollyams has joined #ruby-lang
marcdel has joined #ruby-lang
itsraining has quit [Ping timeout: 252 seconds]
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby-lang
apeiros_ is now known as apeiros
saarinen has quit [Client Quit]
kirin` has quit [Ping timeout: 265 seconds]
woollyams has quit [Ping timeout: 252 seconds]
kirin` has joined #ruby-lang
shinnya has quit [Ping timeout: 245 seconds]
<dingus_khan>
centrx: one hash-insanity knowledge reboot, side of wtf am i missing, please?
joelroa has joined #ruby-lang
knu has quit [Ping timeout: 264 seconds]
mykoweb has joined #ruby-lang
<centrx>
Go on...
Lewix has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
<dingus_khan>
centrx: i'm getting tired of bugging you, for you, hah
<centrx>
Thanks
<dingus_khan>
guess i'll ask the room instead, seems more fair: why is this only returning the last hash in the series of hashes?: http://codepad.org/pPixUAZt
ikrima has quit [Ping timeout: 272 seconds]
<centrx>
rewards = hotel_object.to_hash
<havenwood>
dingus_khan: line 42 you're overwriting the `rewards` variable on each iteration
<zenspider>
ew. your to_hash is stupidly clevar. unclevar it
<zenspider>
also, write tests and this would go easier for you
<dingus_khan>
crap, pasted wrong method, was trying to accomplish what i thought would work out here: http://codepad.org/GZd83Tq4
ratmav has joined #ruby-lang
<dingus_khan>
zenspider: started off writing tests first in rspec, but i got derailed when it was taking a long time and i wasn't sure what approach i was actually taking
RoxasShadowRS has quit [Read error: Connection reset by peer]
<zenspider>
doesn't sound like a problem with the tests
<dingus_khan>
i started off with this vague idea of "making it as OO as possible", but i created more problems for myself in the end
<zenspider>
s/_object//g
<dingus_khan>
zenspider: no argument there
<zenspider>
either way... havenwood nailed it
<dingus_khan>
havenwood: i think i'm losing my mind, can't figure out how to have scope to each individual key/value and assign it to the rewards hash
fuhgeddaboudit has joined #ruby-lang
joelroa has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
vpretzel has joined #ruby-lang
marcdel has quit []
charliesome has joined #ruby-lang
nichtdiebohne has joined #ruby-lang
marcdel has joined #ruby-lang
marcdel has quit [Client Quit]
nihils has quit [Ping timeout: 265 seconds]
marcdel has joined #ruby-lang
dingus_khan has quit []
ratmav has quit [Quit: Leaving]
ikrima has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
eugmill has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 245 seconds]
kalehv has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
gfarfl has quit [Ping timeout: 248 seconds]
Cakey has joined #ruby-lang
kalehv has quit [Ping timeout: 265 seconds]
centrx has quit [Quit: Leaving]
c3ntrx has joined #ruby-lang
c3ntrx has quit [Remote host closed the connection]
centrx has joined #ruby-lang
gfarfl has joined #ruby-lang
marr has quit [Ping timeout: 245 seconds]
CaptainJet has quit [Ping timeout: 260 seconds]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
sjke has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Mousse_ has quit [Quit: Computer has gone to sleep.]
pabs has quit [Ping timeout: 265 seconds]
sjke has quit [Quit: Leaving]
pabs has joined #ruby-lang
woollyams has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
pabs has quit [Client Quit]
pabs has joined #ruby-lang
francisfish has joined #ruby-lang
CaptainJet has joined #ruby-lang
gfarfl has quit [Ping timeout: 272 seconds]
CaptainJet has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
francisfish has quit [Ping timeout: 265 seconds]
marcdel has quit []
eugmill has quit [Remote host closed the connection]
gfarfl has joined #ruby-lang
tkuchiki has quit [Ping timeout: 260 seconds]
rkmetzl has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Client Quit]
havenwood has joined #ruby-lang
tkuchiki has joined #ruby-lang
CaptainJet has joined #ruby-lang
mistym has joined #ruby-lang
<|jemc|_>
is there any kind of cross-parser standard for what sexp tree is generated from a given ruby string?
<|jemc|_>
or is it all up to the implementer of the parser?
<zenspider>
cross-parser standard? oh. no...no there isn't
<|jemc|_>
or rather, if I'm comparing sexp trees from different ruby parsers, is there a way to determine which is "right"?
<centrx>
MRI is the reference implementation
<zenspider>
|jemc|_: no, there is no "right"
<|jemc|_>
k
<|jemc|_>
certainly would make things easier :P
<zenspider>
if parser and ruby_parser disagree, it's 99% the case that we just differ in opinion, not that one is parsing wrong
<zenspider>
what are you seeing?
<zenspider>
(the prev was just an example)
<|jemc|_>
I'm actually comparing parser and rubinius-melbourne
chare has joined #ruby-lang
chare has left #ruby-lang [#ruby-lang]
<zenspider>
even ruby_parser and ParseTree disagree, despite heritage
<whitequark>
|jemc|_: I would advise to not use melbourne, the gem is discontinued
<whitequark>
I actually used melbourne before writing parser instead of it
marcdel has joined #ruby-lang
<|jemc|_>
whitequark: that's exactly what I'm trying to do :P
<|jemc|_>
I actually discussed this with you about a month ago
<whitequark>
oh?
<whitequark>
I don't remember...
<|jemc|_>
I'm trying to write an adapter for using parser as the live parser for rubinius
<whitequark>
oh, now I do.
<whitequark>
what's the problem?
<|jemc|_>
well, there are a couple odd issues I've come across, one being:
<|jemc|_>
yeah, I'd agree it should be that way, it's the only way to make the second example actually work without holding state about the last discarded outer array
joevandyk has joined #ruby-lang
<|jemc|_>
the other oddity I've run into is:
<zenspider>
iirc, MRI and RBX do some RHS "optimization" w/ [*1] => splat 1... I can't remember WHY, of course...
<zenspider>
prolly shouldn't say optimization... normalization is prolly more correct
<|jemc|_>
[:call, nil, :x, [:arglist]] vs [:lvar :x]
<whitequark>
|jemc|_: depends on the local environment of parser
<zenspider>
that's a symbol table thing
<zenspider>
do x=nil somewhere before it
<whitequark>
if you eval with binding, parser is seeded with lvars from binding
<|jemc|_>
hmso it is deterministic at the parser level, then?
<zenspider>
yup
<whitequark>
internally; you can emulate in parser with parser.static_env.declare('x')
<zenspider>
scoped to a def/class/module/other barrier
<whitequark>
also what zenspider said :)
<|jemc|_>
whitequark: do you happen to recall where this distinction happens in Parser::Builders::Default?
<|jemc|_>
they both seem to end up at #ident
<whitequark>
|jemc|_: that's because they are distinguished after that
<whitequark>
(I think zenspider's RP doesn't do that tidbit :p)
<|jemc|_>
yeah, I see that it's necessary now, it just makes things a bit more difficult for this bit of what I'm doing
<|jemc|_>
hmm
<whitequark>
unfortunately that's how ruby works :/
<|jemc|_>
yup
<|jemc|_>
well, thanks whitequark, zenspider
<whitequark>
when reducing ident you never know if it's going to be assigned or accessed
<whitequark>
hence you have to do it afterwards and analyze half-built ast
<whitequark>
|jemc|_: does your rbx thing appear in public somewhere? if yes, cc me on it
<zenspider>
whitequark: what tidbit?
<whitequark>
zenspider: lvar-injecting match
araujo has quit [Quit: Leaving]
<zenspider>
/<x>/ type crap? no, not yet
<whitequark>
I linked to fragment working with it it in parser
<whitequark>
yeah
<zenspider>
because... ew
<zenspider>
to be fair: I've come across zero uses in the wild so far
<whitequark>
parser officially parses code more correctly than rp, despite all the five sigma crap :p
<zenspider>
but I need to update my corpus
<whitequark>
eh?
<whitequark>
I've seen a lot of code using it, even wrote some of that
<whitequark>
I've even seen articles recommending that to clean up regexps
<zenspider>
actually, you're prolly right, since they don't actually affect the lexing of the regexp itself
<|jemc|_>
whitequark: https://github.com/jemc/rubinius-wqparser ... it's one monolithic mess in sandbox.rb at the moment. But I have it running against a subset of the melbourne specs
<whitequark>
zenspider: they don't. but you need to instantiate regexp with Regexp.new. that can fail sometimes
<whitequark>
basically you cannot just treat it as plain string, you gotta get encoding right and all that
<|jemc|_>
whitequark: I also haven't come up with the means for actually subbing it into the live parser, I just stub it into String#to_sexp that melbourne uses for its specs
<whitequark>
|jemc|_: cool
|jemc|_ is now known as |jemc|
<whitequark>
no offense, but your string/symbol compose code is horrible
<|jemc|>
yeah, I know
nathanstitt has joined #ruby-lang
<whitequark>
I know it's hard to write, the stuff in ruby.y/builders::default is like 5th rewrite
<|jemc|>
there's no offense taken, and I intend to refactor somehow
<|jemc|>
I'm still trying to figure out which of the melbourne specs are actually accurate >_<
<|jemc|>
they were only recently imported into the repo by brixen - until about a month ago it wasa only being verified in the overall rubinius specs
<|jemc|>
whitequark, I may ask for refactor advise later in the game when it's more solidified
<whitequark>
|jemc|: sure, just ping me on irc for any questions you have about parser
<|jemc|>
thanks
Coincidental has quit [Remote host closed the connection]
knu has joined #ruby-lang
<|jemc|>
oh, actually I just realized you're looking at a somewhat old commit
<|jemc|>
take a look at the compose code again, if you would and let me know if you think it's a reasonable refactor
mehlah has quit [Quit: Leaving...]
<|jemc|>
(ignoring symbol compose I guess, my refactor only made it to the other three composes it looks like)
<whitequark>
well, what you wrote is more of less fine and is faster
<whitequark>
so maybe it makes sense to keep it
<|jemc|>
that bit is copied verbatim from melbourne
<whitequark>
ah
<|jemc|>
that Mirror stuff is rubinius-specific and I didn't really want to touch it :P
<whitequark>
by the way, why don't you just emit rbx bytecode?
<whitequark>
oh, wait, you're *building* directly rbx ast, not converting it from parser ast
<whitequark>
nevermind the question then.
<whitequark>
7am here
<|jemc|>
heh, yeah
rh1n0 has joined #ruby-lang
<|jemc|>
emitting bytecode is an interesting idea, but I wouldn't want to "subvert" any rubinius AST logic
<|jemc|>
or optimizations/normalizations it might be providing
<|jemc|>
plus, I only having a passing familiarity with rbx bytecode right now
marcdel has quit [Ping timeout: 265 seconds]
<whitequark>
sure; I think you won't get any benefit from generating parser ast and then converting it to rbx bytecode
<whitequark>
you may even take a hit due to the fact rbx couldn't specialize fields in ast nodes
<whitequark>
(I've no idea whether it actually does that. jruby does.)
knu has quit [Ping timeout: 264 seconds]
nichtdiebohne has quit [Quit: Leaving...]
<whitequark>
hrm. I just figured out how to make parser another 10-20% faster on typical files
<whitequark>
should implement that sometime
<|jemc|>
just don't break my builder :P
<whitequark>
it would be invisible to user code
<|jemc|>
kidding
<whitequark>
there's just a dumb fragment in lexer, probably the last one so
marcdel has joined #ruby-lang
<whitequark>
doing a lot of method calls for every string symbol. slow as a dog
<whitequark>
(still 2-4x faster than rp though :p)
<|jemc|>
is it the fact that value(token) is being stored as a string?
<whitequark>
no, it's the string lexing code
<whitequark>
I mean, the code handling string literals in source
<whitequark>
"foo" ← these
<whitequark>
usually parser has an FSM eating the characters, it's just a big switch and loop and a lookup table
<whitequark>
it's quite fast
<whitequark>
however for string literals every character ends up doing a dozen or two of method calls, whether it actually should make exactly 0
<|jemc|>
hmm.. I think I need to hack up a quick script that compares the Parser::Builders::Default generated nodes to the melbourne spec expected sexp trees
<|jemc|>
so that I can quickly determine which specs are "wrong" and make a pull request upstream
<whitequark>
::Default ? I never cared for compatibility with melbourne or RP for that matter
<whitequark>
parser's ast is designed from scratch, looking at its usability for end users.
vpretzel has quit [Remote host closed the connection]
<|jemc|>
I'm talking about finding the cases like the array-corroding splat
<whitequark>
yeah, I'm just saying you are going to get enormous amounts of false positives
<whitequark>
because asts don't really align
vpretzel has joined #ruby-lang
<|jemc|>
I'm just trying to figure out if it's faster for me to sort through false positives or false negatives
<|jemc|>
because brixen is planning to rewrite a lot of these specs already, I think
fijimunkii has joined #ruby-lang
gfarfl has quit [Ping timeout: 245 seconds]
vpretzel has quit [Ping timeout: 252 seconds]
rh1n0 has quit [Quit: im out!]
Lewix has joined #ruby-lang
kalehv has joined #ruby-lang
kalehv has quit [Ping timeout: 272 seconds]
nXqd has joined #ruby-lang
<|jemc|>
well, I found my answer - they are indeed far too different to be more helpful than sorting through "false negatives"
mykoweb has joined #ruby-lang
Silex has quit [Ping timeout: 246 seconds]
fuhgeddaboudit has quit [Quit: Ex-Chat]
Silex has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
btiefert has joined #ruby-lang
<centrx>
Ruby
Coincidental has quit [Client Quit]
<CaptainJet>
i concur, Ruby
Coincidental has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
Cakey has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]
Cakey has quit [Quit: Changing server]
goatish_mound has quit [Read error: Connection reset by peer]
Cakey has joined #ruby-lang
rsl has joined #ruby-lang
vpretzel has joined #ruby-lang
francisfish has joined #ruby-lang
francisfish has quit [Ping timeout: 252 seconds]
vpretzel has quit [Ping timeout: 272 seconds]
elliotec_ has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
mistym has joined #ruby-lang
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
woollyams has joined #ruby-lang
tanema has quit [Ping timeout: 252 seconds]
Cakey has quit [Ping timeout: 252 seconds]
anna has joined #ruby-lang
anna is now known as Guest30098
Cakey has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
matp has quit [Quit: ZZZzzz…]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rahul_j has joined #ruby-lang
phansch has joined #ruby-lang
phansch has quit [Remote host closed the connection]
matp has joined #ruby-lang
iliketurtles has joined #ruby-lang
woollyams has joined #ruby-lang
vpretzel has joined #ruby-lang
elliotec has joined #ruby-lang
earthquake has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
Guest30098 is now known as bzipHero
bzipHero is now known as k0t0n0
nichtdiebohne has joined #ruby-lang
vpretzel has quit [Ping timeout: 260 seconds]
mdub has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Remote host closed the connection]
marcdel_ has joined #ruby-lang
marcdel has quit [Ping timeout: 265 seconds]
CaptainJet has quit []
<_ko1>
I find a bug in gem source code.
<_ko1>
can I use modified source code instead of provided gem by rubygems.org?
<centrx>
Yes
<centrx>
But if you really found a bug you should report it
nichtdiebohne has quit [Quit: Leaving...]
arBmind has joined #ruby-lang
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
tonni has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby-lang
heftig has quit [Quit: Quitting]
tonni has joined #ruby-lang
francisfish has quit [Ping timeout: 264 seconds]
rsl has quit [Read error: Connection reset by peer]
vpretzel has joined #ruby-lang
rsl has joined #ruby-lang
vpretzel has quit [Ping timeout: 264 seconds]
earthquake has quit [Quit: earthquake]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tonni has quit [Read error: Connection reset by peer]
marcdel_ has quit []
knu has quit [Ping timeout: 264 seconds]
amclain has quit [Quit: Leaving]
knu has joined #ruby-lang
tonni has joined #ruby-lang
phansch has joined #ruby-lang
mdub has quit [Ping timeout: 252 seconds]
tonni has quit [Ping timeout: 260 seconds]
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
tonni has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
vpretzel has joined #ruby-lang
k0t0n0 has quit [Ping timeout: 265 seconds]
centrx has quit [Quit: Leaving]
relix has joined #ruby-lang
vpretzel has quit [Ping timeout: 245 seconds]
arBmind has quit [Quit: Leaving.]
rahul_j has joined #ruby-lang
cnivolle has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has quit [Remote host closed the connection]
alucardX has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
ferdinand has joined #ruby-lang
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
alucardX has quit [Quit: leaving]
maoko has joined #ruby-lang
ferdinand has quit [Ping timeout: 260 seconds]
ferdinand has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
knu has quit [Ping timeout: 264 seconds]
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tonni has joined #ruby-lang
ferdinand has quit [Read error: Connection reset by peer]
guardianx_ has joined #ruby-lang
ferdinand has joined #ruby-lang
arBmind has joined #ruby-lang
ferdinand has quit [Client Quit]
maoko has joined #ruby-lang
Cakey has joined #ruby-lang
havenwood has quit []
heftig has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
phansch has quit [Quit: Leaving]
rahul_j has joined #ruby-lang
vpretzel has joined #ruby-lang
vpretzel has quit [Ping timeout: 260 seconds]
nichtdiebohne has joined #ruby-lang
jsrn has joined #ruby-lang
h0lyalg0rithm has joined #ruby-lang
elia has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
charliesome has joined #ruby-lang
<ljarvis>
moin
h0lyalg0rithm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cakey has quit [Ping timeout: 265 seconds]
Paradox has quit [Remote host closed the connection]
h0lyalg0rithm has joined #ruby-lang
michd is now known as MichD
h0lyalg0rithm has quit [Client Quit]
elliotec has quit [Remote host closed the connection]
nichtdiebohne has quit [Ping timeout: 264 seconds]
Paradox has joined #ruby-lang
Atw has quit [Ping timeout: 272 seconds]
goeo_bnc has joined #ruby-lang
elliotec has joined #ruby-lang
goeo_bnc has left #ruby-lang [#ruby-lang]
<maloik_>
waddup ruby folks
<maloik_>
back from the mountains :(
elliotec has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
h0lyalg0rithm has joined #ruby-lang
eoinkelly has joined #ruby-lang
francisfish has joined #ruby-lang
eoinkelly has quit [Client Quit]
<ljarvis>
ow
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
h0lyalg0rithm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
h0lyalg0rithm has joined #ruby-lang
dRbiG has quit [Ping timeout: 252 seconds]
dc5ala has joined #ruby-lang
h0lyalg0rithm has quit [Client Quit]
|jemc| has quit [Ping timeout: 260 seconds]
dRbiG has joined #ruby-lang
<unsymbol>
moin
<yorickpeterse>
morning
<apeiros>
moin
bzalasky has quit [Remote host closed the connection]
<Lewix>
hey
phansch has joined #ruby-lang
heftig has quit [Read error: Operation timed out]
heftig has joined #ruby-lang
shtirlic has quit [Ping timeout: 260 seconds]
verto has quit [Ping timeout: 246 seconds]
yeltzooo has quit [Ping timeout: 252 seconds]
relix has joined #ruby-lang
yeltzooo has joined #ruby-lang
vpretzel has joined #ruby-lang
rahul_j_ has joined #ruby-lang
yeltzooo has quit [Max SendQ exceeded]
rahul_j has quit [Ping timeout: 252 seconds]
rahul_j_ is now known as rahul_j
shtirlic has joined #ruby-lang
yeltzooo has joined #ruby-lang
verto has joined #ruby-lang
vpretzel has quit [Ping timeout: 272 seconds]
Squarepy has joined #ruby-lang
benlovell has quit [Read error: Connection reset by peer]
Cakey has joined #ruby-lang
sed_life_better has joined #ruby-lang
benlovell has joined #ruby-lang
kartouch has quit [Ping timeout: 252 seconds]
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby-lang
kartouch has joined #ruby-lang
Pupeno has joined #ruby-lang
benlovel1 has joined #ruby-lang
mikecmpbll has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
benlovell has quit [Read error: No route to host]
pabloh has joined #ruby-lang
phansch_ has joined #ruby-lang
knu has joined #ruby-lang
rue_XIW has joined #ruby-lang
phansch has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
phansch has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
phansch_ has quit [Ping timeout: 252 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has joined #ruby-lang
Lewix has joined #ruby-lang
cnivolle_ has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
Mack32475 has joined #ruby-lang
<Mack32475>
Hello all!
cnivolle_ has quit [Remote host closed the connection]
prc has joined #ruby-lang
Guest62825 is now known as Caius
Caius has quit [Changing host]
Caius has joined #ruby-lang
h0lyalg0rithm has joined #ruby-lang
lysw123 has quit [Quit: My Computer has gone to sleep. ZZZzzz…]
h0lyalg0rithm has quit [Client Quit]
hahuang65 has quit [Ping timeout: 252 seconds]
Cakey has quit [Ping timeout: 260 seconds]
vpretzel has joined #ruby-lang
Cakey has joined #ruby-lang
vpretzel has quit [Ping timeout: 260 seconds]
kitak has quit [Remote host closed the connection]
danijoo has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 272 seconds]
danijoo has joined #ruby-lang
pabloh has quit [Quit: Saliendo]
hahuang65 has quit [Ping timeout: 264 seconds]
<Mack32475>
Huh..
<DefV>
bougyman was wrong
<DefV>
nobody is here
<Mack32475>
Do you actually Ruby on raaaaaaaaaaaaaaaails!!!!!!!!!!!!!!!!!!!
tylersmith has joined #ruby-lang
guardianx_ has quit [Remote host closed the connection]
xcesariox has joined #ruby-lang
MartynKeigher has quit [Remote host closed the connection]
xcesariox has quit [Max SendQ exceeded]
<yorickpeterse>
no
<yorickpeterse>
this is a Python channel
<yorickpeterse>
:<<<<
xcesariox has joined #ruby-lang
* yorickpeterse
runs
xcesariox has quit [Max SendQ exceeded]
<Mack32475>
No it's not! Is it?
<yorickpeterse>
oh
<yorickpeterse>
heh
<yorickpeterse>
pfew
<apeiros>
/kick yorickpeterse just for good measure :-p
stef_204 has joined #ruby-lang
micalexander has joined #ruby-lang
enebo has joined #ruby-lang
brettweavnet has joined #ruby-lang
micalexander has quit [Ping timeout: 245 seconds]
anna has joined #ruby-lang
anna is now known as Guest34204
Guest34204 is now known as k0t0n0
MartynKeigher has joined #ruby-lang
Lewix has joined #ruby-lang
<abstr4ct>
i have some ruby code which is basically a loops. it works just fine in ruby 1.9 but it gets mangled in 1.8.4 - It seems to work fine at first then stops iterating properly.
<apeiros>
1.8.4… you want to skip the standard comment on that?
<yorickpeterse>
why the fuck do you want to use 1.8.4?
<toretore>
also.. code?
<yorickpeterse>
1.8.4 was released in what, 2004?
<yorickpeterse>
Hm 2005 apparently
<abstr4ct>
yeah, unfortunatly its what my hosting provider is using
symm- has joined #ruby-lang
<yorickpeterse>
1.8.4 is not supported anymore in any way
<abstr4ct>
i didnt even think to ask as i thought 1.9 was defacto
<apeiros>
abstr4ct: kick him in the balls. kthxbye
<yorickpeterse>
it's also pretty darn different from 1.9
arBmind has quit [Quit: Leaving.]
<abstr4ct>
yeah
<abstr4ct>
so uhm i just found out my provider supported ruby when i signed up
<abstr4ct>
they have since dropped support of ruby
<apeiros>
"supported"
shinnya has quit [Ping timeout: 265 seconds]
<apeiros>
you can't call it "support" when you don't have any non-EOL-ed version installed.
aminRX has quit [Quit: aminRX]
<abstr4ct>
it was installed on the server you paid for...
<yorickpeterse>
That's pretty different from it being supported
<abstr4ct>
i ordered a hotdog, but i got a watermellon
<apeiros>
it's more like "it collaterally damages it"
<yorickpeterse>
TCL might be installed, doesn't mean they strictly support it for end users
<yorickpeterse>
If you're looking for decent/sane providers, try DigitalOcean, Linode, AWS, etc
joelroa has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Mack32475>
What's the best Linux distro to run ruby with?
prc has quit [Ping timeout: 272 seconds]
<yorickpeterse>
Gentoo
arBmind has joined #ruby-lang
<Mack32475>
By best I mean, easiest to work with and well supported.
<Silex>
Mack32475: rofl, "what is the best car to go to chicago?"
<Silex>
ah, better question
<toretore>
the easiest to work with is to install your own ruby
<Silex>
still way too general, but maybe ubuntu?
<Silex>
depends if you talk about the linux part being easy or the ruby part
<yorickpeterse>
Debian, Ubuntu and CentOS are the big players
<yorickpeterse>
or pick a *BSD
<Mack32475>
Well what's the most used OS for running ruby?
<Silex>
maybe Fedora too
<abstr4ct>
so i need a provide who supports ruby,ssh, and mysql.. i have a super lightweight app... so looking for something fairly cheap
<abstr4ct>
i would love suggestions
<toretore>
Di is fairly cheap
<ljarvis>
gentoo
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Silex>
toretore: got a link?
<toretore>
digitalocean.something
vlad_starkov has quit [Remote host closed the connection]
<Silex>
ah, I used gandi.net until now but I might switch to digitalocean given the prices/disk space
<abstr4ct>
digital ocean looks perfect
<ddd>
for a low cost, decently run, and well hosted provider, they're quite good. I use them almost exclusively for my stuff
<abstr4ct>
thanks for the tip!!!
<ddd>
silex yeah, gandi does my domain management, DO does my hosting. works great so far
tonni has quit [Ping timeout: 272 seconds]
<ljarvis>
dnsimple + DO/AWS for me
<Mack32475>
Ok, maybe a better question would be, what's the best place to learn the basics about Ruby and Rails?
<toretore>
DI is great, until they're bought out by a larger competitor with unkept promises of "we're not going to screw you over, we're going to be better thanever"
<ddd>
if you need a signed support SLA, you can get one from DO but you will be paying for it. Which is only fair. If you're looking for business-level SLA, something that puts the provider on the line with monetary penalties for failure to keep the SLA, you'll want someone else.
<toretore>
Mack32475: guides.rubyonrails.com
<ddd>
so it all depends on your need(s)
<toretore>
Mack32475: #rubyonrails
vlad_starkov has joined #ruby-lang
<Silex>
ddd: good to know
k0t0n0 has quit [Ping timeout: 245 seconds]
<ddd>
for a low priced provider without getting into gutter-trash providers, DO is it.
<Silex>
ddd: just to be clear, I can install any OS on it?
<Silex>
the page isn't very clear on this
<ddd>
their listed OSs.
<ddd>
i don't think they have windows or osx. that i'd have to check myself
<yorickpeterse>
They provide a set of distributions that you can install
<ddd>
yeah they do have a fairly wide selection
<ddd>
they offer Ubuntu, Debian, CentOS, Fedora, and Arch Linux
<ddd>
just checked
<Silex>
can you link the page? I tried to find it
<Silex>
but thanks for the info, it's fine for my use already
<gnufied>
ddd: are you trying to use parallel install?
<gnufied>
ddd: other than that, bundler should not fork
<gnufied>
and on jruby it does not use fork anyways for parallel installs
<gnufied>
it uses threads
<gnufied>
ddd: file a bug.
<toretore>
haha threads
<ddd>
gnufied not doing anything now. it was when 1.5 was initially released. the fork would spawn a new jruby instance
<ddd>
gnufied so memry would end up being used up quickly, and since the memory was being used, not waiting around for recovery, it was bombing bundle install calls with *jruby* reporting out of memory etc.
<ddd>
i've since got everything working, spoke with drbrain and others about it when I was having troubles, got it all working after boosting the droplet memory and just left it at that.
<gnufied>
well okay
<ddd>
i honestly don't remember all the backstory of what was going on.
Lewix has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
mistym has joined #ruby-lang
enebo has quit [Quit: enebo]
tonni has quit [Ping timeout: 260 seconds]
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
aminRX has joined #ruby-lang
jtw has joined #ruby-lang
lcdhoffman has joined #ruby-lang
|jemc| has joined #ruby-lang
tanema has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
rippa has joined #ruby-lang
k0t0n0 has joined #ruby-lang
jsullivandigs has joined #ruby-lang
RobertBirnie has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
pabs has joined #ruby-lang
jtw has quit []
mistym has joined #ruby-lang
pipework has quit [Quit: Connection closed for inactivity]
vlad_starkov has quit [Remote host closed the connection]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Coincidental has joined #ruby-lang
bradcliffe has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
Coincidental has quit [Ping timeout: 245 seconds]
pabs has quit [Ping timeout: 245 seconds]
tanema has joined #ruby-lang
heftig has quit [Quit: Quitting]
pabs has joined #ruby-lang
k0t0n0 has quit [Ping timeout: 265 seconds]
bzalasky has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
earthquake has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
mykoweb has joined #ruby-lang
RobertBirnie has joined #ruby-lang
k0t0n0 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
tanema has quit [Ping timeout: 260 seconds]
pabs has quit [Ping timeout: 260 seconds]
tbuehlmann has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elliotec has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
Lewix has joined #ruby-lang
pabs has joined #ruby-lang
<ljarvis>
gem install y u so slow
aminRX has quit [Quit: aminRX]
jsrn has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
tanema has joined #ruby-lang
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
soraher has quit [Ping timeout: 252 seconds]
tanema has quit [Ping timeout: 245 seconds]
<darix>
ljarvis: because
mistym has quit [Remote host closed the connection]
<ljarvis>
o ok thnx for the explanation
plurt has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
tanema has joined #ruby-lang
Siyfion has quit []
plurt has joined #ruby-lang
plurt has quit [Client Quit]
yfeldblum has joined #ruby-lang
plurt has joined #ruby-lang
soraher has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 252 seconds]
__butch__ has joined #ruby-lang
plurt has quit [Client Quit]
ledestin has quit [Ping timeout: 248 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
rahul_j has quit [Quit: rahul_j]
ledestin has joined #ruby-lang
mistym has joined #ruby-lang
mikecmpbll has quit [Read error: Operation timed out]
mykoweb has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
elliotec has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
<darix>
ljarvis: you are welcome
jsrn has joined #ruby-lang
rahul_j has joined #ruby-lang
imperator has joined #ruby-lang
tylersmith has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
elliotec has joined #ruby-lang
brettweavnet has quit [Quit: Bye]
phansch has quit [Quit: Leaving]
symm- has quit [Ping timeout: 265 seconds]
rippa has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
brettweavnet has joined #ruby-lang
elliotec has joined #ruby-lang
shado has joined #ruby-lang
vlad_starkov has joined #ruby-lang
shado has left #ruby-lang [#ruby-lang]
yalue has quit [Read error: Operation timed out]
vlad_starkov has quit [Ping timeout: 252 seconds]
k0t0n0 has quit [Quit: Leaving]
mikecmpbll has joined #ruby-lang
tcopp has joined #ruby-lang
tonni has joined #ruby-lang
vlad_starkov has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
VTLob has joined #ruby-lang
eugmill has joined #ruby-lang
jhass|off is now known as jhass
plurt has joined #ruby-lang
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
tanema_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
tanema has quit [Read error: Connection reset by peer]
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canton7-mac has quit [Quit: Leaving]
pipework has joined #ruby-lang
heftig has joined #ruby-lang
pabs has quit [Ping timeout: 272 seconds]
iliketurtles has quit [Quit: zzzzz…..]
maoko has joined #ruby-lang
TheMoonMaster has quit [Excess Flood]
pabs has joined #ruby-lang
TheMoonMaster has joined #ruby-lang
iliketurtles has joined #ruby-lang
yfeldblum has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
elliotec has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
tbuehlmann has joined #ruby-lang
centrx has joined #ruby-lang
symm- has joined #ruby-lang
hseg has joined #ruby-lang
<hseg>
Hello. In interests of keeping my home directory clean, I'd like gem to install into ~/.config/gem/ instead of ~/.gem However, setting GEM_{HOME,PATH} doesn't seem to affect it.
elliotec has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
elliotec has joined #ruby-lang
<centrx>
hseg, #ruby is more active at the moment
Coincidental has joined #ruby-lang
<jhass>
hseg: check none of your gemrc's sets --user-install
<hseg>
I was sent to ask drbrain here on the matter.