apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
runeb has quit [Ping timeout: 260 seconds]
jonahR has quit [Quit: jonahR]
lfox has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
iliketurtles has quit [Quit: zzzzz…..]
eugenejen has quit [Quit: eugenejen]
robbyoconnor has quit [Ping timeout: 246 seconds]
D9_ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
cHarNe2 has joined #ruby-lang
cHarNe2 has left #ruby-lang [#ruby-lang]
saarinen has quit [Quit: saarinen]
imperator has quit [Quit: Valete!]
sevvie has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 260 seconds]
flip_digits has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
flip_digits has quit [Ping timeout: 245 seconds]
pellis has quit [Quit: Leaving]
mistym has quit [Quit: Leaving]
gaurangagrawal has joined #ruby-lang
VTLob has quit [Quit: VTLob]
iliketurtles has joined #ruby-lang
esad has joined #ruby-lang
nathanstitt has joined #ruby-lang
hahuang65 has quit [Ping timeout: 248 seconds]
richardburton has quit [Quit: Leaving.]
tkuchiki has joined #ruby-lang
richardburton has joined #ruby-lang
flip_digits has joined #ruby-lang
richardburton has quit [Client Quit]
richardburton has joined #ruby-lang
richardburton has quit [Client Quit]
Paradox has quit [Quit: off to herp the derps]
flip_digits has quit [Ping timeout: 256 seconds]
kurko_ has quit [Ping timeout: 256 seconds]
kurko_ has joined #ruby-lang
Paradox has joined #ruby-lang
bastilian has quit [Read error: Connection reset by peer]
hashkey_ has joined #ruby-lang
hashkey_ is now known as Guest92930
hashkey has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby-lang
jperry_ has joined #ruby-lang
franckverrot has quit [Ping timeout: 256 seconds]
grandy has quit [Ping timeout: 256 seconds]
UziMonkey has quit [Ping timeout: 256 seconds]
Guest85414__ has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
norplr_ has quit [Ping timeout: 256 seconds]
IteratorP has quit [Ping timeout: 260 seconds]
nertzy has joined #ruby-lang
<nofxx> Anyone doing internationalized apps? Looking for the best way to handle user/bots thing... en.domain messes a lil with sessions, domain/en/ ugly as hell, hide from url bad for bots... ugly for ugly end up with ?lang=en
<nofxx> sorry the OT btw, but ain't a lot of ruby web related heh
stamina has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby-lang
flip_digits has joined #ruby-lang
flip_digits has quit [Read error: Connection reset by peer]
flip_digits has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
sevvie has quit [Ping timeout: 246 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
mdedetrich has quit [Client Quit]
mdedetrich has joined #ruby-lang
nertzy has joined #ruby-lang
esad_ has joined #ruby-lang
mmorga has joined #ruby-lang
esad has quit [Ping timeout: 264 seconds]
mmorga has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
nertzy has quit [Quit: This computer has gone to sleep]
jonahR has joined #ruby-lang
hahuang65 has joined #ruby-lang
D9_ has quit [Ping timeout: 260 seconds]
lfox has joined #ruby-lang
headius has joined #ruby-lang
gaurangagrawal has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 264 seconds]
soba has joined #ruby-lang
pothibo has joined #ruby-lang
kurko_ has quit [Ping timeout: 260 seconds]
kurko_ has joined #ruby-lang
buranshe has quit [Ping timeout: 246 seconds]
buranshe has joined #ruby-lang
skinny_much_ has quit [Ping timeout: 246 seconds]
lsegal has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
skinny_much has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
Coincide_ has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
rwk1 has quit [Remote host closed the connection]
io_syl has quit []
jperry_ has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
seanlerner has quit [Remote host closed the connection]
thepumpkin has quit [Remote host closed the connection]
lfox has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Coincide_ has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
IteratorP has joined #ruby-lang
lfox has quit [Ping timeout: 256 seconds]
Guest92930 has left #ruby-lang [#ruby-lang]
ecnalyr has quit [Remote host closed the connection]
hashkey has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
kurko_ has quit [Quit: Computer has gone to sleep.]
lfox has joined #ruby-lang
jsullivandigs has joined #ruby-lang
flip_digits has joined #ruby-lang
lfox has quit [Ping timeout: 264 seconds]
jsullivandigs has quit [Ping timeout: 245 seconds]
lfox has joined #ruby-lang
bzalasky has joined #ruby-lang
GaelanAintAround has quit [Ping timeout: 246 seconds]
GaelanAintAround has joined #ruby-lang
D9_ has joined #ruby-lang
rwk1 has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
UziMonkey has joined #ruby-lang
franckverrot has joined #ruby-lang
norplr_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
heftig has quit [Ping timeout: 264 seconds]
Guest85414__ has joined #ruby-lang
grandy has joined #ruby-lang
heftig has joined #ruby-lang
crudson has joined #ruby-lang
bzalasky has joined #ruby-lang
_jpb_ has quit [Quit: Lost terminal]
vlad_starkov has quit [Ping timeout: 248 seconds]
heftig has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
franckverrot has quit [Ping timeout: 264 seconds]
thepumpkin has joined #ruby-lang
Guest85414__ has quit [Ping timeout: 264 seconds]
UziMonkey has quit [Ping timeout: 252 seconds]
grandy has quit [Ping timeout: 264 seconds]
norplr_ has quit [Ping timeout: 256 seconds]
IteratorP has quit [Ping timeout: 260 seconds]
cored has quit [Ping timeout: 245 seconds]
malev has quit [Quit: Leaving]
nathanstitt has quit [Quit: I growing sleepy]
rwk1 has quit [Ping timeout: 245 seconds]
rwk1 has joined #ruby-lang
brianpWins has joined #ruby-lang
pothibo has quit [Quit: pothibo]
PaulePanter has quit [Ping timeout: 246 seconds]
PaulePanter has joined #ruby-lang
saarinen has quit [Quit: saarinen]
hogeo has joined #ruby-lang
tharindu has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
havenwood has joined #ruby-lang
sevvie has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
JohnBat26 has joined #ruby-lang
jrobeson has quit [Quit: Leaving]
jperry has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 260 seconds]
jperry has joined #ruby-lang
sevvie has joined #ruby-lang
lele|w has quit [Ping timeout: 260 seconds]
ryez has joined #ruby-lang
<ryez> how to read from standard input in a while loop that's processing piped input?
<ryez> oh, wrong channel
Nilium has quit [Ping timeout: 256 seconds]
jrobeson has joined #ruby-lang
jperry has quit [Ping timeout: 252 seconds]
Nilium has joined #ruby-lang
lele|w has joined #ruby-lang
iliketurtles has joined #ruby-lang
hogeo has joined #ruby-lang
norplr_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
jsullivandigs has joined #ruby-lang
jperry has joined #ruby-lang
hogeo has joined #ruby-lang
iliketurtles has joined #ruby-lang
richardburton has joined #ruby-lang
schaerli has joined #ruby-lang
richardburton has quit [Client Quit]
bzalasky has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
vlad_starkov has joined #ruby-lang
rippa has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
sevvie has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
bzalasky has joined #ruby-lang
jrobeson has quit [Read error: Operation timed out]
franckverrot has joined #ruby-lang
io_syl has joined #ruby-lang
UziMonkey has joined #ruby-lang
grandy has joined #ruby-lang
IteratorP has joined #ruby-lang
Guest85414__ has joined #ruby-lang
io_syl has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 248 seconds]
flip_digits has quit [Remote host closed the connection]
mbj has joined #ruby-lang
Coincidental has joined #ruby-lang
headius has quit [Quit: headius]
wallerdev has quit [Quit: wallerdev]
tomzx_mac has quit [Read error: Operation timed out]
Teddy2steper has joined #ruby-lang
sevvie has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
lfox has quit [Quit: ZZZzzz…]
thepumpkin has quit [Remote host closed the connection]
nneko001__ has joined #ruby-lang
sevvie has quit [Ping timeout: 264 seconds]
jperry has quit [Read error: Connection reset by peer]
jperry has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
skade has joined #ruby-lang
arBmind has joined #ruby-lang
hahuang65 has joined #ruby-lang
rue|w has joined #ruby-lang
GeissT_ has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
GeissT_ has quit [Client Quit]
GeissT has quit [Ping timeout: 248 seconds]
ruby-lang976 has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
ruby-lang976 has quit [Client Quit]
davetoxa has joined #ruby-lang
<davetoxa> Hello, how I can merge this two arrays into one ? name fields are identical https://gist.github.com/davetoxa/743707cc77e92aa62f2d
bzalasky has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
adambeynon has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
apeiros has joined #ruby-lang
Teddy2steper has quit [Remote host closed the connection]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
sevvie has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
sevvie has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
dagobah has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
charliesome has joined #ruby-lang
<havenwood> davetoxa: So you have an Array of Hashes. What is the result you're looking for, a single Hash? Can you give an example of what it'd look like?
richardburton has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
bzalasky has quit [Remote host closed the connection]
riffraff has joined #ruby-lang
nofxx has quit [Ping timeout: 256 seconds]
hogeo has joined #ruby-lang
richardburton has quit [Read error: Connection reset by peer]
richardburton has joined #ruby-lang
sevvie has joined #ruby-lang
<RickHull1> dude just DWIM come on, quit bullshitting me. why R U such assholes?
<RickHull1> mweah
RickHull1 has quit [Quit: Leaving.]
mistym has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 246 seconds]
<apeiros> lol, what was that about?
cads has quit [Ping timeout: 260 seconds]
arBmind has quit [Quit: Leaving.]
h_kon has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
tshine has joined #ruby-lang
<maloik> whats DWIM
<apeiros> maybe 'do what I mean'
<maloik> that would make no sense :P
<apeiros> the whole outburst didn't make sense
<maloik> probably went off at someone but in the wrong channel
<maloik> that'd be kinda funny
<apeiros> maybe
<apeiros> or too much coke
workmad3 has joined #ruby-lang
weems is now known as weemszzzzzz
arBmind has joined #ruby-lang
Coincidental has joined #ruby-lang
dc5ala has joined #ruby-lang
iliketurtles has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
Pupeno has joined #ruby-lang
mdedetrich has joined #ruby-lang
rippa has joined #ruby-lang
<charliesome> whitequark: hit me with your feature
mdedetrich has quit [Quit: Computer has gone to sleep.]
benlovell has joined #ruby-lang
mdedetrich has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
hogeo_ has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has quit [Ping timeout: 248 seconds]
tbuehlmann has joined #ruby-lang
davetoxa has quit [Ping timeout: 250 seconds]
hogeo_ has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 256 seconds]
ledestin has quit [Quit: ledestin]
kek has joined #ruby-lang
vlad_starkov has joined #ruby-lang
wallerdev has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
skade has joined #ruby-lang
<yorickpeterse> morning
wallerdev has quit [Quit: wallerdev]
benlovell has quit [Read error: Operation timed out]
schaerli has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
tbuehlmann has quit [Quit: Page closed]
benlovell has joined #ruby-lang
schaerli has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<erikh> trying to write a pg_activity competitor in go
<erikh> I got a box drawn and some padded text
<erikh> probably took longer for me to build that than the actual stats
<yorickpeterse> heh
<yorickpeterse> Every project starts with boxes and arrows
<erikh> well curses
<erikh> not exactly curses but the same idea
<erikh> something called termbox
<yorickpeterse> oh wait, you mean those boxes
<yorickpeterse> I thought like on paper
<erikh> yes
<erikh> no
<yorickpeterse> heh
<erikh> I think it'd be fun to rewrite tmux in it
hahuang65 has quit [Ping timeout: 260 seconds]
tbuehlmann has joined #ruby-lang
<erikh> might be hard to do the detach logic though
<erikh> go and signals don't exactly get along
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
face has joined #ruby-lang
faces has quit [Ping timeout: 264 seconds]
workmad3 has quit [Quit: Reconnecting]
workmad3 has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
<gnufied> reminds me of ruby 1.8.3 days
<gnufied> ruby and signals get along exactly either
<gnufied> didn't
<gnufied> damnit
<gnufied> but what exactly go is doing erikh ?
<gnufied> swallowing some of them?
<erikh> no, it ignores them
<erikh> well, it installs default handlers but provides no interface to manipulate them
<erikh> because fibers
<erikh> it's a semi-sane decision. I can see why they did it
benlovell has joined #ruby-lang
skade has joined #ruby-lang
jonahR has quit [Quit: jonahR]
headius has joined #ruby-lang
adambeynon has joined #ruby-lang
headius has quit [Client Quit]
ledestin has joined #ruby-lang
toretore has joined #ruby-lang
scottschecter has quit [Ping timeout: 268 seconds]
hhatch has joined #ruby-lang
scottschecter has joined #ruby-lang
elia has joined #ruby-lang
hahuang65 has joined #ruby-lang
runeb has joined #ruby-lang
relix has joined #ruby-lang
abk has joined #ruby-lang
Pupeno_ has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
kek has quit [Remote host closed the connection]
<maloik> just setting up ls-pair (or wemux)
<maloik> pretty fucking cool
jsullivandigs has quit [Ping timeout: 252 seconds]
mindriot101 has joined #ruby-lang
<yorickpeterse> Migrations in Rails engines are a joke
kek has joined #ruby-lang
<yorickpeterse> 1) Create migration in engine 2) copy to dummy app 3) run migration against local/test db 4) install migration in container app 5) run migration against $PROD
<yorickpeterse> I now have the same migration in 3 places
<yorickpeterse> oh and it also changes the fucking timestamps
<yorickpeterse> which means conflicts, YAY
<yorickpeterse> Hm, apparently you can share the migrations between engines
tkuchiki has quit [Remote host closed the connection]
<erikh> well, I got it outputting pg_stat_activity data
<erikh> all bordered and shit.
tkuchiki has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 256 seconds]
<workmad3> yorickpeterse: you can run migrations from within the engine, iirc
<yorickpeterse> Yeah and that results in a total fucking mess
<yorickpeterse> tl;dr inherit them using...
<yorickpeterse> config.paths['db/migrate'] += ENGINE_NAME_HERE_PLEASE::Engine.paths['db/migrate'].existent
<yorickpeterse> put that in the dummy app and the container app and you're good to go
<darix> at least we can be sure the day wont be quiet
sr78ger has joined #ruby-lang
stamina has joined #ruby-lang
<yorickpeterse> Yeah if you were hoping for #ruby-lang to be quiet you're in the wrong channel I think
<gnufied> lol
hahuang65 has quit [Ping timeout: 256 seconds]
benlovell has quit [Ping timeout: 246 seconds]
<darix> yorickpeterse: if you have a good day ... it is ;)
<yorickpeterse> well yeah, then I don't complain about anything
hahuang65 has joined #ruby-lang
<yorickpeterse> I usually don't talk about nice things on IRC unless I really really like them
<erikh> I love how yorick carries on like this channel is his personal novel
<yorickpeterse> it isn't?
<erikh> I think the major problem is everyone complains about it and you just ignore all that
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<erikh> that's some serious real, actual narcissism right there
<yorickpeterse> You're assuming I actually care
<yorickpeterse> There's a pretty big difference between the two
<erikh> that's narcissism in a nutshell.
<yorickpeterse> There's a difference between narcisissm and not caring about passive-aggressive remarks people make whenever I bring something up that is not "How do I Ruby?". Yes, it happens quite a lot but I just happen to be chatty
<yorickpeterse> and sadly my cat doesn't understand a fuck of what I rant about
<erikh> Narcissism is a term that originated with Narcissus in Greek mythology who fell in love with his own image reflected in a pool of water. Currently it is used to describe a person characterized by egotism, vanity, pride, or selfishness; an erotic gratification derived from admiration of one's own physical or mental attributes. Narcissism has included particular meanings in specific fields:
<erikh> the fourth one I can confirm
<erikh> your actions are selfish.
<yorickpeterse> Selfish in what sense?
<yorickpeterse> I don't consider my own believes or whatsoever to be above others
<darix> yorickpeterse: your cat doesnt have to understand you. it is just about having an outlet.
<yorickpeterse> I don't consider you, or some smurf to be less than me
<yorickpeterse> I simply don't care if people don't like me, I've put up with assholes for far too long to care about it
<darix> and if it helps, often enough we dont understand you either due to lack of context
<erikh> you seem to disregard pleas from many to shut your trap
<yorickpeterse> darix: that's something I do need to work on
<yorickpeterse> erikh: that's because they are super passive as in "Oh you're going to talk again? :P" instead of "Dude shut the fuck up"
<erikh> I've resorted to name calling because nothing else even remotely gets close to working
<erikh> Dude, shut the fuck up
<yorickpeterse> ok
MaddinXx has joined #ruby-lang
<yorickpeterse> See, that's not so hard
<gnufied> thats my problem as well. tbh, sometimes random rant about a rails misfeature or something that is broken helps me as well.
<erikh> there's nothing wrong with some of the time
<gnufied> But - often we lack context
<erikh> just ... all of the time gets a little trying
<gnufied> to help you or understand what is going on
<yorickpeterse> erikh: that's perfectly fine, that's when people should tell me to shut my pile hole
<erikh> I'm not your keeper
<yorickpeterse> as they do in real life, as I actually ask them to do especially when I start on tech stuff
<corecode> is there a way to get a non-singleton integer?
<yorickpeterse> either way, I have a database to save
<yorickpeterse> corecode: eh, don't think so. They'll be frozen in the future as well
<erikh> corecode: not without converting it to a string, I don't think.
<corecode> :/
<gnufied> make BigDecmila.
<gnufied> BigDecimal*
<erikh> gnufied: ooh, good point.
<darix> gnufied: and i was pondering already if Decmila was a girls name :p
<erikh> rational should work too
<corecode> not sure if this internal DSL is a good idea
<corecode> i lose all parsing information
<erikh> generally trying to do stuff like that with Numeric is a pretty serious code smell
vlad_starkov has quit [Read error: Connection reset by peer]
<erikh> gone too meta
<lupine> BigDecimal ftw
<corecode> erikh: i'm defining a DSL that will later output C source. would be nice to attach line numbers to the output so that compile errors can be located in the DSL source
<erikh> sure. is there some reason you need multiple instances, though?
<corecode> so i was thinking about attaching caller[0] to the values
vlad_starkov has joined #ruby-lang
<corecode> short of being able to get lower level parse details
<erikh> I guess what I don't understand -- and I'm probably making assumptions here -- is why you don't have the concept of a line, and it has an attribute of the number (or something similar)
<corecode> is there a way to test for singleton-ness?
<erikh> corecode: item.dup rescue false
<erikh> should work.
<corecode> erikh: say i use the value 500 in my DSL, and the code generated is foo = 500. now say foo is of type uint8_t, i.e. can't hold 500
<corecode> now the compiler will warn
<erikh> ok
<corecode> ideally i would issue a line number into the C source that refers to the DSL source that contained that number
<corecode> instead of the compiler pointing to the generated C file
<erikh> ok. I've gotta be honest, I'm missing the need for instances here
<darix> corecode: if i recall correctly you can do something like that with a comment in the C file?
<erikh> #line xxx
<erikh> but that's mostly for the preprocessor
<yorickpeterse> Is there a way in Rails to tell it not to re-order table definitions in db/schema.rb?
<erikh> to give hints to the compiler for warnings/errors
<erikh> not sure that applies here.
<yorickpeterse> It seems that every now and then it just re-orders them giving me a heart attack thinking stuff is lost
<erikh> (it might, though!)
<corecode> darix: yes, you can
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<corecode> but for that i need to know where the value came from in the ruby file
<erikh> corecode: perhaps wrapping it with a to_s/to_i would be best
<erikh> you could also carry type info, all sorts of stuff.
<erikh> the concept of a "line" class would also work
<corecode> yes, but for that i need to know where the values come from
<erikh> err, no it wouldn't. sorry.
<erikh> (wrt line class)
<erikh> right -- so you take caller[0] and stuff it into the line
<erikh> am I missing something?
* erikh is a tad tired
<erikh> or atom or whatever. the point is, make it a property/object of the line
<erikh> err, attribute
vlad_starkov has quit [Remote host closed the connection]
<erikh> not object
<erikh> sorry
abk has quit [Read error: Operation timed out]
<corecode> of the line?
<corecode> i don't have line info from the ruby parser
<erikh> sorry, I'm not being very clear
<erikh> let's say you have: set_foo(128)
arope28 has joined #ruby-lang
<erikh> def set_foo(x); Atom.new(x, caller[0]); end
<erikh> class Atom; def initialize(x, lineno); @lineno = lineno; @x = x; end; end
<corecode> yea
<erikh> you could even stuff them into a hash -> ll structure
vlad_starkov has joined #ruby-lang
<erikh> hash[my_atom.lineno].push(my_atom)
<erikh> am I way off?
ecnalyr has joined #ruby-lang
<erikh> brb
<corecode> let's see what doesn't work with our first idea
<ljarvis> erikh: LRN2VACAY
<erikh> ljarvis: I kind of am
<erikh> I never get time to talk in here during work times
<erikh> and it's 3am here. there ain't shit to do.
<erikh> going to see an (American) football game and go to a park/museum over the weekend, and looking at new places tomorrow
<erikh> so I am doing some stuff. :)
<darix> erikh: you could try that sleeping thing. i was told it can be very good for recovering. ;)
<erikh> darix: haha. I thought you knew me better than that
vlad_starkov has quit [Ping timeout: 246 seconds]
<corecode> hmm
<corecode> class NumericWrapper < Numeric; def method_missing....; end doesn't make the object look like Numeric anymore :/
<erikh> core types are magical
<erikh> inheriting from them is generally a bad idea
<erikh> (why they're magical, or if they should be, is a subject of great debate)
<corecode> somehow i get a recursion on that
<corecode> i wonder why
<corecode> OH.
<corecode> i think it just changed Numeric
<erikh> what does you mm look like?
<erikh> your*
<erikh> also, look at DelegateClass
<erikh> 'cause I'm pretty sure your mm is just calling itself because there are no methods to call
<corecode> hmm
<corecode> yea it did
<corecode> typo
<corecode> :)
<erikh> DelegateClass walks around this a bit
relix has joined #ruby-lang
<corecode> but still, puts on the object won't give me an integer representation
<corecode> but the object id thing instead
<erikh> Numeric doesn't define #to_s
<corecode> magical
<corecode> somehow PP gets confused
<corecode> i wonder what pp tries
<corecode> if there is no pretty_print method
<erikh> pretty_inspect, but it reverts to inspect
<erikh> no inspect on Numeric either
<corecode> ok that works now
postmodern has quit [Quit: Leaving]
<corecode> would be nice if there was an easy dsl gem
<erikh> instance_eval ?
<erikh> man quitting smoking
<erikh> hard stuff
<erikh> this also has to be the 20th time I've tried
<corecode> sucks to be you then
<erikh> heh pretty mch
<corecode> i don't have an addiction personality
<corecode> convenient
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pellis has joined #ruby-lang
<pellis> hi all
<pellis> anyone using metric_fu - how do you integrate it into your dev workflow? or do you just use code climate?
vlad_starkov has joined #ruby-lang
<gnufied> these days I use codeclimate
<gnufied> But you can add it up on jenkins
<pellis> gnufied, so you just generate graphs and browse it as-you-go or is there some kind of workflow where you can get feedback before release? like failing a test suite when coverage isn't enough
<pellis> i would actually be interested in more ideas like these - how to harness the results, to do stuff automatically rather than require someone to go over graphs etc.
sepp2k has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
<corecode> hum - how do i pass arguments to a block, using instance_eval?
tovias has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 264 seconds]
<toretore> instance_eval{ b[foo, bar] }
<corecode> instance_exec
<corecode> that's the answer
yfeldblum has joined #ruby-lang
nHarzilei has joined #ruby-lang
nHarzilei has left #ruby-lang [#ruby-lang]
Harzilein has joined #ruby-lang
<Harzilein> hi
<Harzilein> i already asked this in #sinatra but it's a bit quiet there currently:
<Harzilein> can i have different routes for a parameterless path and one with a specific parameter?
<Harzilein> i.e. i want /foo to display the form and /foo/?q=... to perform the query -- of course it should continue to work with /foo/?dummy=bar&q=...
<oddmunds> i would think so, lemme check
<oddmunds> Harzilein: sorry, my server got borked and work calls.
<Harzilein> oddmunds: no problem. thanks for trying though.
<darix> Harzilein: just have it use different methods?
kek_ has joined #ruby-lang
<darix> bind get to show form and post to accept the data
<darix> just a thought
kek has quit [Ping timeout: 245 seconds]
<Harzilein> darix: that's a workaround, not a solution, sorry. this is not urgent at all, and i'd really feel better if it works according to my spec. also, queries are supposed to be made by get as well (as they are queries, and don't mutate stuff)
<lupine> Harzilein, "pass" might do what you want
<Harzilein> i understand i could have a single route and dispatch stuff myself, the question is really about avoiding that in favour of a more readable solution with a more specific route with queries
<lupine> so you have two get '/foo' stanzas, and the top one does 'pass if params['q] ...'
<Harzilein> lupine: let me look it up :)
<Harzilein> oh
<Harzilein> hmm, well
<lupine> it's still a bit of a workaround
<lupine> there must be a Better Way!
<Harzilein> it's slightly cleaner than completely dispatching outside of the framework though
<lupine> http://www.sinatrarb.com/intro.html the bit on conditions
<Harzilein> lupine: that does indeed very much look like what i want, thanks for pointing this out :)
<lupine> if a condition can access the current request object, you can have a foo_set condition and use that
riffraff has quit [Quit: Leaving]
riffraff has joined #ruby-lang
<Harzilein> there is still a tiny problem with wanting to accept foo and foo/ for the form, but only foo/?q= for the query interface, but i think i can figure that out somehow
<lupine> you can special-case it in a before filter, if nothing else
<Harzilein> and user-defined conditions sound very flexible and should accomodate that use case
<lupine> before() { if request.path =~ /\//foo\?q=/ raise Sintra::NotFound }
<lupine> or so
<lupine> (but syntactically correct, of coursE)
<lupine> you can also rewrite request.path in before filters, so if conditions can't sanely select on params, you can have get '/foo_with_q' and get '/foo_without_q' and rewrite request.path appropriately
jdelStrother has joined #ruby-lang
<lupine> but that's *really* nasty
jdelStrother has left #ruby-lang [#ruby-lang]
ledestin has quit [Ping timeout: 240 seconds]
jds has joined #ruby-lang
dhruvasagar has joined #ruby-lang
ledestin has joined #ruby-lang
jxie has quit [Quit: leaving]
MaddinX__ has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
arBmind has quit [Read error: Operation timed out]
arBmind has joined #ruby-lang
MaddinXx has quit [Ping timeout: 246 seconds]
Coincidental has joined #ruby-lang
<yorickpeterse> Anybody ever worked with some of the Elasticsearch Gems? I'm looking at Tire and Stretcher at the moment but not really sure which one to pick
MaddinX__ has quit [Remote host closed the connection]
<yorickpeterse> Tire seems to've drunk too much DSL koolaid for my taste
tkuchiki has joined #ruby-lang
Coincidental has quit [Ping timeout: 264 seconds]
<erikh> woot
<erikh> my pg_activity thing is working!!
<ljarvis> zomg
soba has quit [Ping timeout: 245 seconds]
<erikh> I'll show a screenie in a sec
mindriot101 has quit [Read error: Connection reset by peer]
<erikh> bottom right ofc
mindriot101 has joined #ruby-lang
<yorickpeterse> ok stretcher it is, works pretty nicely
<erikh> tire is horrible
<erikh> know this first-hand.
<yorickpeterse> It looks like it has a bad case of class-level abuse
<erikh> check out my thing
<erikh> it's *awesome*
<yorickpeterse> I looked at pictuar
<yorickpeterse> didn't see any cats
<yorickpeterse> But how do you get the data, from PG itself or log files?
<erikh> pg_stat_activity
<erikh> select * from it
<yorickpeterse> Ah
<yorickpeterse> that's pretty neat if you can make it something like htop but for pg
<zzak> good morning!
<erikh> this is basically a clone of pg_activity
<erikh> you might want to look at that first
breakingthings has joined #ruby-lang
kek_ has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
<corecode> ok, something is weird
<corecode> if i am in pretty_print, inspect returns something different than outside of pretty_print
<corecode> :/
<Harzilein> lupine: i think i have decided now that what i want for /foo?q= is the same as for /foo, redirect to /foo/. after all, /foo/ _is_ the "index page" for the query results below it
banisterfiend has quit [Quit: Computer has gone to sleep.]
<Harzilein> lupine: i still have to decide if i want to punish users who create their own urls by dropping their queries >;)
<pellis> specifying tests to run with Guard minitest, and then with rake - kind of duplication.. anyone noticed that?
momomomomo has joined #ruby-lang
kek has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
yalue has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
banisterfiend has joined #ruby-lang
stef_204 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> http://downloads.yorickpeterse.com/images/screenshot_200913_14%3a44%3a13.png heh, certain website we, uhm, "process", has connection issues from midnight to 07AM consistently
<yorickpeterse> these are connection errors per hour for the past week
<yorickpeterse> That's Kibana 3 by the way, which is super easy to set up
<yorickpeterse> (not even kidding, takes like 10 minutes)
joonty has joined #ruby-lang
jp- has joined #ruby-lang
<corecode> i don't understand why i don't get proper inspect info
duckinator has quit [Ping timeout: 240 seconds]
<corecode> any idea?
<chris2> pp probably specialcases numeric?
<chris2> why do you subclass?
<corecode> yea, i dunno
<corecode> seemed right
<chris2> looks like composition to me
duckinator has joined #ruby-lang
<corecode> yea
<corecode> i removed it
<corecode> i still don't understand why it doesn't work
<chris2> now it works, no?
<chris2> http://sprunge.us/adfW thats in pp.rb
<corecode> that still doesn't explain the ...
anonymuse has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
anonymuse has quit [Read error: Connection reset by peer]
mytrile_ has joined #ruby-lang
mbj has joined #ruby-lang
tovias is now known as tbuehlmann
mytrile_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
pothibo has joined #ruby-lang
Teddy2steper has joined #ruby-lang
vlad_starkov has quit [Read error: No route to host]
vlad_starkov has joined #ruby-lang
lfox has joined #ruby-lang
wudofyr has quit [Read error: Connection reset by peer]
lfox has quit [Client Quit]
anonymuse has joined #ruby-lang
<yorickpeterse> lel, 6455 connection errors on a single day
<yorickpeterse> (to different destinations)
retro|cz has quit [Read error: Operation timed out]
jiuweigui has joined #ruby-lang
nofxx has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
lfox has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
tharindu has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
Darkchaos has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
kith_ has joined #ruby-lang
kith has quit [Read error: Connection reset by peer]
fbernier has quit [Ping timeout: 245 seconds]
jwollert- has quit [Remote host closed the connection]
jwollert- has joined #ruby-lang
kith_ is now known as kith
D9_ has quit [Ping timeout: 252 seconds]
fbernier has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
stardiviner has joined #ruby-lang
nathanstitt has joined #ruby-lang
eugenejen has joined #ruby-lang
relix has joined #ruby-lang
stardiviner has quit [Ping timeout: 252 seconds]
Teddy2steper has quit [Remote host closed the connection]
sevvie has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
Nisstyre-laptop has joined #ruby-lang
alekst has joined #ruby-lang
dhruvasagar has joined #ruby-lang
jxie has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
tubbo has joined #ruby-lang
konr` has joined #ruby-lang
kgrz has joined #ruby-lang
sevvie has quit [Quit: leaving]
tbuehlmann has quit [Quit: Konversation terminated!]
enebo has joined #ruby-lang
gaurangagrawal has joined #ruby-lang
esad_ has quit [Quit: Computer has gone to sleep.]
esad has joined #ruby-lang
loincloth has joined #ruby-lang
fosky has joined #ruby-lang
Kabaka has joined #ruby-lang
mistym has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
bantic has joined #ruby-lang
havenwood has joined #ruby-lang
mindriot101 has quit [Read error: Connection reset by peer]
rue|w has joined #ruby-lang
mindriot101 has joined #ruby-lang
Kabaka has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
gianlucadv has quit [Quit: ZNC - http://znc.sourceforge.net]
runeb has quit [Remote host closed the connection]
gianlucadv has joined #ruby-lang
runeb has joined #ruby-lang
rue|w has quit [Ping timeout: 246 seconds]
runeb has quit [Ping timeout: 264 seconds]
sniffingcats has joined #ruby-lang
kgrz has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
esad has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 264 seconds]
ecnalyr has quit [Ping timeout: 245 seconds]
<gaurangagrawal> Hello , I am using Moutain Lion , Ruby 2.0 , installed Ruby on Rails . When I tried to access localhost:3000 , it's saying Internal Server Error . Please Help
bgant has joined #ruby-lang
nisstyre has quit [Remote host closed the connection]
<toretore> gaurangagrawal: try #rubyonrails
<gaurangagrawal> thanks toretore
kgrz has joined #ruby-lang
jsullivandigs has joined #ruby-lang
D9_ has joined #ruby-lang
MaddinXx has joined #ruby-lang
shinnya has joined #ruby-lang
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
dhruvasagar has joined #ruby-lang
Kabaka has joined #ruby-lang
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
rue has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
sr78ger has joined #ruby-lang
eugenejen has quit [Read error: Operation timed out]
<kith> does anyone here know how i could pass a timeout value to my snmp connection? in ruby that is ofc
<kith> i have this: Manager.open(:host => host, :community => COMMUNITY, :timeout => 5) do |manager|
eugenejen has joined #ruby-lang
<kith> but my script waits forever
dhruvasagar has joined #ruby-lang
rue has joined #ruby-lang
riffraff has quit [Quit: Leaving]
tkuchiki has quit [Remote host closed the connection]
VTLob has joined #ruby-lang
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pellis has quit [Ping timeout: 245 seconds]
nneko001__ has quit [Quit: Konversation terminated!]
tbuehlmann has joined #ruby-lang
sr78ger has quit [Ping timeout: 264 seconds]
elia has quit [Ping timeout: 248 seconds]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 248 seconds]
Coincidental has joined #ruby-lang
runeb has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
elia has joined #ruby-lang
Coincidental has quit [Ping timeout: 245 seconds]
mindriot101 has quit [Remote host closed the connection]
seanlerner has joined #ruby-lang
esad has joined #ruby-lang
joonty has quit [Quit: WeeChat 0.3.8]
achiu has quit [Ping timeout: 248 seconds]
skade has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
brianpWins has quit [Quit: brianpWins]
momomomomo has joined #ruby-lang
wallerdev has joined #ruby-lang
roob-noob has joined #ruby-lang
stamina has quit [Ping timeout: 264 seconds]
bgant has quit [Quit: Leaving.]
cored has quit [Ping timeout: 260 seconds]
elia has quit [Ping timeout: 256 seconds]
roob-noob has quit [Ping timeout: 250 seconds]
bgant has joined #ruby-lang
elia has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
havenn has joined #ruby-lang
ecnalyr has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
gaurangagrawal has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
momomomomo is now known as momomomomo-away
ecnalyr has quit [Remote host closed the connection]
killtheliterate has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
elia has quit [Ping timeout: 264 seconds]
gaurangagrawal has joined #ruby-lang
pothibo has quit [Quit: pothibo]
bgant has quit [Quit: Leaving.]
Oloryn_lt2 has joined #ruby-lang
bgant has joined #ruby-lang
bgant has left #ruby-lang [#ruby-lang]
tubbo has quit [Ping timeout: 276 seconds]
kek has quit [Remote host closed the connection]
gaurangagrawal has quit [Ping timeout: 260 seconds]
CaryInVictoria has joined #ruby-lang
sr78ger has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
<yorickpeterse> so elasticsearch is pretty cool
<yorickpeterse> but dear god they need to put a decent UX designer on Kibana
<yorickpeterse> (Kibana 3 that is)
wudofyr has joined #ruby-lang
tylersmith has joined #ruby-lang
brianpWins has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
pavel has joined #ruby-lang
iliketurtles has joined #ruby-lang
iliketurtles has quit [Excess Flood]
mmorga has joined #ruby-lang
richardburton has joined #ruby-lang
pavel has quit [Client Quit]
ecnalyr has joined #ruby-lang
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
hakunin has quit [Remote host closed the connection]
Oloryn_lt2 has quit [Read error: Connection reset by peer]
tubbo has joined #ruby-lang
apeiros has joined #ruby-lang
Senjai has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
runeb has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
runeb has joined #ruby-lang
apeiros has quit [Ping timeout: 248 seconds]
__butch__ has joined #ruby-lang
tubbo has quit [Ping timeout: 276 seconds]
Mon_Ouie has joined #ruby-lang
runeb has quit [Ping timeout: 248 seconds]
snarfmason has joined #ruby-lang
momomomomo-away has quit [Quit: momomomomo-away]
<konr`> what's the library that allows me to write stuff like 2.days.ago?
<chris2> idiotic? ;P
<konr`> not idiotic
<chris2> i guess you mean activesupport?
skade has joined #ruby-lang
Pupeno_ has quit [Read error: Operation timed out]
<konr`> haha annoyingly named active_support :)
<konr`> thanks!
benanne has joined #ruby-lang
tharindu has joined #ruby-lang
havenwood has joined #ruby-lang
<onewheelskyward> I thought you were making a joke about something you forgot to write 2 days ago.
esad has quit [Quit: Computer has gone to sleep.]
tubbo has joined #ruby-lang
hakunin has joined #ruby-lang
arBmind has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
hahuang65 has joined #ruby-lang
cads has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
a1ph4g33k has joined #ruby-lang
kurko_ has joined #ruby-lang
stamina has joined #ruby-lang
richardburton has left #ruby-lang [#ruby-lang]
symm- has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
kek has joined #ruby-lang
retro|cz has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
kek has quit [Ping timeout: 252 seconds]
arBmind has left #ruby-lang [#ruby-lang]
tylersmi_ has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
Nisstyre-laptop has quit [Quit: Leaving]
Bosox20051 has quit [Remote host closed the connection]
esad has joined #ruby-lang
ecnalyr has joined #ruby-lang
kgrz has quit [Ping timeout: 245 seconds]
retro|cz has quit [Ping timeout: 260 seconds]
weemszzzzzz is now known as weems
ecnalyr has quit [Ping timeout: 245 seconds]
Senjai has quit [Remote host closed the connection]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
momomomomo has joined #ruby-lang
CaryInVictoria has quit [Remote host closed the connection]
tylersmi_ has quit [Ping timeout: 240 seconds]
runeb has joined #ruby-lang
breakingthings has quit []
mmorga has joined #ruby-lang
a1ph4g33k has quit [Quit: Leaving.]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
a1ph4g33k has joined #ruby-lang
runeb has quit [Ping timeout: 252 seconds]
killtheliterate is now known as killthe|lunch
breakingthings has joined #ruby-lang
ejen has joined #ruby-lang
Pupeno has joined #ruby-lang
eugenejen has quit [Ping timeout: 260 seconds]
ejen is now known as eugenejen
CaryInVictoria has joined #ruby-lang
lfox has joined #ruby-lang
Pupeno has quit [Ping timeout: 245 seconds]
nofxx has quit [Ping timeout: 245 seconds]
mmorga has quit [Read error: Connection reset by peer]
mmorga has joined #ruby-lang
nofxx has joined #ruby-lang
tharindu has quit [Ping timeout: 256 seconds]
tubbo has quit [Ping timeout: 276 seconds]
havenwood has quit [Remote host closed the connection]
imperator has joined #ruby-lang
<imperator> hello
apeiros has joined #ruby-lang
Fj00 has joined #ruby-lang
Fj00 has quit [Client Quit]
Coincidental has joined #ruby-lang
ruby-lang914 has joined #ruby-lang
ruby-lang914 has quit [Client Quit]
ecnalyr has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
CaryInVictoria has quit [Remote host closed the connection]
tubbo has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
<yorickpeterse> https://github.com/vim-scripts/SyntaxRange holy shit, this might actually be super useful
banisterfiend has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> then again it will probably slow down rendering a lot
<yorickpeterse> hmpf
apeiros has quit [Remote host closed the connection]
thepumpkin has joined #ruby-lang
apeiros has joined #ruby-lang
<ReinH> yorickpeterse: you can already define "contained" syntax regions with vim
<ReinH> so, for example, you can say anything inside <<-SQL heredoc should be highlighted as sql
tubbo has quit [Ping timeout: 276 seconds]
tubbo has joined #ruby-lang
schaerli has joined #ruby-lang
* yxhuvud pats rhtml-mode
skade has joined #ruby-lang
banisterfiend has joined #ruby-lang
skade has quit [Client Quit]
<yxhuvud> ie an emacs mode that handles both erb and html, including indenting
yalue has quit [Quit: Leaving]
ecnalyr has quit [Remote host closed the connection]
anjen has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
anjen has quit [Quit: anjen]
achiu has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
schaerli has joined #ruby-lang
Nisstyre-laptop is now known as nisstyre
mmorga has joined #ruby-lang
mmorga_ has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
tubbo has quit [Ping timeout: 276 seconds]
CaryInVictoria has joined #ruby-lang
amerine has quit [Ping timeout: 264 seconds]
amerine has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
a1ph4g33k has left #ruby-lang [#ruby-lang]
tubbo has joined #ruby-lang
killthe|lunch has left #ruby-lang [#ruby-lang]
mdedetrich has joined #ruby-lang
postmodern has joined #ruby-lang
tenderlove has joined #ruby-lang
alekst has quit [Quit: Computer has gone to sleep.]
cmckni3 has quit [Quit: Textual IRC Client: www.textualapp.com]
mistym has quit [Remote host closed the connection]
esad has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Read error: Connection reset by peer]
bantic has quit [Quit: bantic]
bantic has joined #ruby-lang
banisterfiend has joined #ruby-lang
nisstyre has quit [Ping timeout: 256 seconds]
lsumner has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
Coincidental has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
cmckni3 has joined #ruby-lang
lsumner has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
Nisstyre-laptop is now known as nisstyre
amerine has quit [Quit: Textual IRC Client: www.textualapp.com]
jsullivandigs has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
mbj has quit [Ping timeout: 260 seconds]
schaerli has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
sevvie has joined #ruby-lang
vlad_starkov has joined #ruby-lang
campinCarl has joined #ruby-lang
campinCarl has quit [Client Quit]
campinCarl has joined #ruby-lang
sevvie has quit [Client Quit]
campinCarl has quit [Client Quit]
machuga is now known as machuga|away
esad has joined #ruby-lang
skade has joined #ruby-lang
ndrst has quit [Ping timeout: 245 seconds]
schaerli has quit [Remote host closed the connection]
pskosinski__ has joined #ruby-lang
schaerli has joined #ruby-lang
sniffingcats has quit [Ping timeout: 256 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
D9_ has quit [Ping timeout: 245 seconds]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
pskosinski__ is now known as sniffingcats
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
D9_ has joined #ruby-lang
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
breakingthings has quit []
schaerli has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
mmorga_ has quit [Remote host closed the connection]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
alekst has joined #ruby-lang
banisterfiend is now known as banister
bantic has quit [Quit: bantic]
relix has joined #ruby-lang
yfeldblum has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 252 seconds]
relix has quit [Max SendQ exceeded]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
relix has joined #ruby-lang
vlad_starkov has joined #ruby-lang
relix has quit [Max SendQ exceeded]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
esad has quit [Quit: Computer has gone to sleep.]
<nofxx> If I want to keep consistency between all my strftime , a good practice would be a constant? DEFAULT_DATE_FORMAT = '%Y%m%dT%H%M%S%z'
relix has joined #ruby-lang
<nofxx> or maybe some hidden jinjitsu I'm unaware of?
mdedetrich has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> A constant seems fine. Alternatively define a new method that just calls strftime with your format and use that method everywhere.
<drbrain> nofxx: require 'time'; Time.now.iso8601
apx has joined #ruby-lang
<drbrain> ??
<drbrain> or Time.now.utc.iso8601
<nofxx> drbrain: hmm, yeah..something like that
mistym has joined #ruby-lang
<drbrain> the format you have is close to ISO 8601, so why not use it?
jiuweigui has quit [Quit: Gone...]
MaddinXx has quit [Remote host closed the connection]
<nofxx> drbrain: heh my next search is for those pre-defined defaults, I actually just pasted one I had here
<nofxx> was looking in strftime w/o luck
<nofxx> Mon_Ouie: thank you too
<drbrain> ??
<nofxx> drbrain: thanks man
tubbo has quit [Ping timeout: 276 seconds]
dbussink has quit [Ping timeout: 268 seconds]
esad has joined #ruby-lang
dbussink has joined #ruby-lang
Phoop has quit [Ping timeout: 260 seconds]
kevinfagan has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
kevinfagan has joined #ruby-lang
Phoop has joined #ruby-lang
tomzx_mac has joined #ruby-lang
lfox has joined #ruby-lang
AOP has joined #ruby-lang
skade has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
lfox has quit [Client Quit]
segy has quit [Quit: ZNC - http://znc.in]
ledestin has quit [Ping timeout: 260 seconds]
D9_ has quit [Ping timeout: 260 seconds]
D9_ has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby-lang
vadviktor has quit [Quit: No Ping reply in 180 seconds.]
vadviktor has joined #ruby-lang
vadviktor_ has quit [Quit: No Ping reply in 180 seconds.]
AOP has quit [Ping timeout: 240 seconds]
vadviktor_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
schaerli has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
schaerli has quit [Ping timeout: 256 seconds]
jerrytgarcia has quit [Quit: WeeChat 0.4.1]
CaryInVictoria has quit [Remote host closed the connection]
tonni_ has joined #ruby-lang
segy has joined #ruby-lang
tonni has quit [Ping timeout: 246 seconds]
AOP has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
D9_ has quit [Ping timeout: 245 seconds]
Kabaka has quit [Ping timeout: 240 seconds]
CaryInVictoria has joined #ruby-lang
D9_ has joined #ruby-lang
AOP has quit [Ping timeout: 260 seconds]
__butch__ has quit [Quit: Leaving.]
SteveBenner9 has joined #ruby-lang
ndrst has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bf4 has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
VTLob has quit [Quit: VTLob]
anonymuse has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby-lang
CaryInVictoria has quit [Remote host closed the connection]
dmitrykorotkov_ has joined #ruby-lang
dmitrykorotkov has quit [Ping timeout: 245 seconds]
anonymus_ has joined #ruby-lang
hhatch has quit [Ping timeout: 260 seconds]
mdedetrich has joined #ruby-lang
anonymuse has quit [Ping timeout: 245 seconds]
enebo has quit [Quit: enebo]
jerrytgarcia has joined #ruby-lang
CaryInVictoria has joined #ruby-lang
anonymuse has joined #ruby-lang
sepp2k1 has joined #ruby-lang
toretore has quit [Quit: Leaving]
sepp2k has quit [Ping timeout: 256 seconds]
anonymus_ has quit [Ping timeout: 248 seconds]
schaerli has joined #ruby-lang
CaryInVictoria has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
schaerli has quit [Ping timeout: 260 seconds]
nisstyre has quit [Quit: Leaving]
CaryInVictoria has joined #ruby-lang
cads has quit [Ping timeout: 248 seconds]
sniffingcats has quit [Quit: Til rivido Idisti!]
alekst has quit [Quit: Leaving...]
nisstyre has joined #ruby-lang
yfeldblum has joined #ruby-lang
Darkchaos has quit [Ping timeout: 252 seconds]
CaryInVictoria has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
workmad3 has quit [Ping timeout: 245 seconds]
x0f_ has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
thepumpkin has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
thepumpkin has joined #ruby-lang
banister is now known as banister`sleep
hashkey has quit [Read error: Connection reset by peer]
hashkey has joined #ruby-lang
hashkey is now known as Guest70563
ruby-lang147 has joined #ruby-lang
GaelanAintAround is now known as Gaelan
stamina has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Ping timeout: 245 seconds]
Gaelan is now known as GaelanAintAround
<andrewvos> Is it just me or does this look skew? https://github.com/ruby/ruby/blob/trunk/lib/time.rb#L107-L110
<andrewvos> Code inside ruby trunk that is an optical illusion
xuser has quit [Remote host closed the connection]
amerine has joined #ruby-lang
nisstyre has quit [Ping timeout: 268 seconds]
retro|cz has joined #ruby-lang