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
flip_digits has quit [Remote host closed the connection]
ffio_ has quit [Ping timeout: 240 seconds]
_ffio_ has joined #ruby-lang
xxaM has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 246 seconds]
axsuul has joined #ruby-lang
axsuul has quit [Excess Flood]
io_syl_ has quit [Quit: Computer has gone to sleep.]
wmoxam has joined #ruby-lang
iliketurtles has joined #ruby-lang
io_syl_ has joined #ruby-lang
flip_digits has joined #ruby-lang
GaelanAintAround is now known as Gaelan
jstorimer has joined #ruby-lang
Krimigis has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 276 seconds]
havenwood has quit [Remote host closed the connection]
joshuawscott has quit [Quit: Leaving.]
symm- has quit [Ping timeout: 276 seconds]
malev has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
jonahR has quit [Client Quit]
marr has quit [Ping timeout: 240 seconds]
mdedetrich has joined #ruby-lang
io_syl_ has quit [Quit: Computer has gone to sleep.]
jsullivandigs has joined #ruby-lang
jstorime_ has joined #ruby-lang
jstorime_ has quit [Remote host closed the connection]
jstorimer has quit [Ping timeout: 240 seconds]
jsullivandigs has quit [Ping timeout: 276 seconds]
jstorimer has joined #ruby-lang
hogeo has joined #ruby-lang
wmoxam has quit [Ping timeout: 240 seconds]
wmoxam has joined #ruby-lang
iliketurtles has quit [Ping timeout: 264 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
dingus_khan has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
Rakko has joined #ruby-lang
mdedetrich has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
GeissT has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
fmccann has joined #ruby-lang
fmccann has quit [Client Quit]
fmccann has joined #ruby-lang
fmccann has quit [Client Quit]
joshuawscott has joined #ruby-lang
jstorimer has joined #ruby-lang
<Paradox> i got a chuckle out of that
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
CaptainJet has quit []
Domon has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
chhhris has joined #ruby-lang
hinbody has quit [Quit: leaving]
chhhris has quit [Client Quit]
havenwood has joined #ruby-lang
glebm has joined #ruby-lang
Voker57 has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
ryez has joined #ruby-lang
io_syl_ has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
sstrickl has joined #ruby-lang
axsuul has joined #ruby-lang
Voker57 has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
henrikhodne has joined #ruby-lang
Gaelan is now known as GaelanAintAround
<imperator> oh...k
bzalasky has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
steez has left #ruby-lang [#ruby-lang]
iliketurtles has quit [Quit: zzzzz…..]
eleanor has joined #ruby-lang
xning has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
io_syl_ has quit [Quit: Computer has gone to sleep.]
joshuawscott has quit [Quit: Leaving.]
fosky has joined #ruby-lang
matematikaadit has joined #ruby-lang
CaptainJet has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
matematikaadit has left #ruby-lang [#ruby-lang]
mdedetrich has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
jstorimer has quit [Read error: Connection reset by peer]
hackeron_ has quit [Read error: Operation timed out]
hackeron has joined #ruby-lang
iliketurtles has joined #ruby-lang
mistym has joined #ruby-lang
io_syl_ has joined #ruby-lang
bzalasky has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
swav has joined #ruby-lang
io_syl_ has quit [Quit: Computer has gone to sleep.]
Oak has joined #ruby-lang
* Oak waves
roadt__ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
flip_digits has quit [Remote host closed the connection]
D9 has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
Krimigis has quit [Quit: bye]
flip_digits has joined #ruby-lang
D9 has quit [Quit: Leaving]
wmoxam has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
hogeo has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
io_syl_ has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
D9 has joined #ruby-lang
imperator has quit [Quit: Valete!]
flip_digits has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 256 seconds]
ruskie has quit [Excess Flood]
CaptainJet has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
macmartine has joined #ruby-lang
havenwood has joined #ruby-lang
ruskie has joined #ruby-lang
r0bby has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
robbyoconnor has quit [Ping timeout: 276 seconds]
io_syl_ has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby-lang
_ffio_ has quit [Quit: WeeChat 0.4.1]
ffio has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
Rakko has quit [Quit: Bye]
mistym has quit [Ping timeout: 256 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
macmartine has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby-lang
apeiros_ has quit [Ping timeout: 245 seconds]
duph has joined #ruby-lang
gregmoreno has joined #ruby-lang
mihar has quit [Ping timeout: 252 seconds]
gja has joined #ruby-lang
mihar has joined #ruby-lang
macmartine has joined #ruby-lang
Pupeno has joined #ruby-lang
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mistym has joined #ruby-lang
Pupeno has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
workmad3 has joined #ruby-lang
<maloik> morning
<erikh> hi
ffio has joined #ruby-lang
ruby-lang558 has joined #ruby-lang
saarinen has quit [Quit: saarinen]
mdedetrich has quit [Quit: Computer has gone to sleep.]
henrikhodne has quit [Ping timeout: 256 seconds]
jg has joined #ruby-lang
matti has quit [Ping timeout: 248 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
ruby-lang558 has quit [Ping timeout: 250 seconds]
D9 has quit [Quit: Leaving]
r0bby has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
ffio has joined #ruby-lang
kstuart has joined #ruby-lang
benlovell has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Phoop has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
apeiros has joined #ruby-lang
saarinen has joined #ruby-lang
solars has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
mistym has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
apeiros has joined #ruby-lang
amerine has joined #ruby-lang
iliketurtles has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has quit [Changing host]
JohnBat26 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
io_syl has quit [Quit: io_syl]
<maloik> going to speed up our testsuite today, injekt got me jealous
firstdayonthejob has quit [Quit: WeeChat 0.4.1]
thepumpk_ has quit [Remote host closed the connection]
fosky has quit [Ping timeout: 245 seconds]
<Nilium> I'm vaguely proud of my hideously evil c-struct stuff
mbj has joined #ruby-lang
judofyr has joined #ruby-lang
<judofyr> hey folks
jg has quit [Ping timeout: 260 seconds]
relix has joined #ruby-lang
dc5ala has joined #ruby-lang
stardiviner has quit [Ping timeout: 248 seconds]
<maloik> relix: might sound weird, but did you play a lot of CS back in the day? :-)
stardiviner has joined #ruby-lang
ruurd has joined #ruby-lang
tbuehlmann has joined #ruby-lang
mbj has quit [Ping timeout: 276 seconds]
ffio has quit [Ping timeout: 246 seconds]
marr has joined #ruby-lang
kristofferrr has joined #ruby-lang
duph has quit [Quit: Leaving.]
gja has quit [Quit: This computer has gone to sleep]
duphus has joined #ruby-lang
Pupeno has joined #ruby-lang
duphus has quit [Client Quit]
duph has joined #ruby-lang
duph has quit [Client Quit]
ffio has joined #ruby-lang
jg has joined #ruby-lang
kristofferrr_ has joined #ruby-lang
duphus has joined #ruby-lang
swav has quit [Remote host closed the connection]
kristofferrr has quit [Ping timeout: 276 seconds]
ffio has quit [Client Quit]
Squarepy has quit [Read error: Connection reset by peer]
justinram has joined #ruby-lang
ffio has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
mdedetrich has joined #ruby-lang
fsvehla has joined #ruby-lang
justinram has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 256 seconds]
<injekt> good morning
justinram has joined #ruby-lang
justinram has quit [Remote host closed the connection]
fosky has joined #ruby-lang
scholar01 has joined #ruby-lang
scholar01 has joined #ruby-lang
scholar01 has quit [Changing host]
mbj has joined #ruby-lang
<relix> I did, but I think there were two relix'es in those days, maloik
swav has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
<maloik> hmm ok :-) I vaguely recognized the nickname, was quite the hardcore cs'er back in the day
fsvehla_ has joined #ruby-lang
fsvehla has quit [Ping timeout: 256 seconds]
fsvehla_ is now known as fsvehla
swav has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 246 seconds]
fsvehla has quit [Quit: fsvehla]
x0f has joined #ruby-lang
justinram has joined #ruby-lang
justinram has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 240 seconds]
halibut has quit [Remote host closed the connection]
x0f has joined #ruby-lang
ioga_wrk has joined #ruby-lang
kstuart has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby-lang
swav has joined #ruby-lang
andrewvos has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
robbyoconnor has quit [Read error: Connection reset by peer]
Oak has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
holgerno has quit [Quit: Linkinus - http://linkinus.com]
maxmanders has quit [Ping timeout: 256 seconds]
<maloik> "Can you add some buttons to the dashboard" - sure, what do they need to do? - "oh I don't know, just some buttons"
<maloik> hmm...
maxmanders has joined #ruby-lang
benlovell has joined #ruby-lang
<oddmunds> :)
<yorickpeterse> hola
lunarjar has quit [Quit: Bye]
lunarjar has joined #ruby-lang
s0ber has quit [Ping timeout: 245 seconds]
kgrz has joined #ruby-lang
<Joni_79> greetings
benlovell has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
mradmacher has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Squarepy has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
gja has joined #ruby-lang
<yorickpeterse> welp fuckit, I'm stopping with signing off Git commits
xning has quit [Quit: Leaving]
axsuul has quit [Ping timeout: 264 seconds]
northelks has joined #ruby-lang
rickhull has joined #ruby-lang
runeb has joined #ruby-lang
fosky has quit [Ping timeout: 256 seconds]
Squarepy has quit [Quit: Leaving]
joeroot has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
s0ber has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
s0ber has quit [Ping timeout: 240 seconds]
duphus has quit [Quit: Leaving.]
pczarn has joined #ruby-lang
vivekrai has joined #ruby-lang
ffio has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
<gnufied> :-)
runeb has quit [Remote host closed the connection]
<gnufied> I liked that touch though.
<yorickpeterse> meh, it makes things too complicated
<yorickpeterse> and after reading my own DCO properly again I don't notice any requirement for --sign anyway
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
runeb has joined #ruby-lang
Domon has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
vlad_st__ has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Ping timeout: 246 seconds]
Squarepy has joined #ruby-lang
swav_ has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
swav has quit [Ping timeout: 276 seconds]
<ledestin> I'm doing a timeout() replacement. Would it be a good idea for it to throw Timeout::Error for drop-in replacement?
<ledestin> I also use `include <modname>', w/o it Kernel.timeout() doesn't get replaced.
<ledestin> any objections to that?
rickhull has quit [Quit: Leaving.]
<apeiros> it's sane if your replacement is optional
<apeiros> reusing Timeout::Error seems fine too
<apeiros> alternatively subclass Timeout::Error
<apeiros> existing rescues would still work with, and new code could distinguish if - for whatever reason - necessary
swav_ has quit [Ping timeout: 248 seconds]
digs has joined #ruby-lang
<ledestin> apeiros: cool, thanks for the idea
gja has quit [Quit: This computer has gone to sleep]
digs is now known as Guest36015
<ledestin> a great idea indeed
vlad_st__ has quit [Remote host closed the connection]
swav has joined #ruby-lang
scholar011 has joined #ruby-lang
swav has quit [Read error: Connection reset by peer]
thepumpkin has joined #ruby-lang
scholar01 has quit [Ping timeout: 276 seconds]
realDAB has joined #ruby-lang
<yorickpeterse> So my two bosses are in the room next door, singing on the phone (I think)
<yorickpeterse> not sure what the hell is going on
Guest36015 has quit [Ping timeout: 248 seconds]
<maloik> sounds awesome :D
joeroot has quit [Quit: Leaving...]
realDAB has quit [Client Quit]
<apeiros> karaoke competition
<apeiros> which is needed to make the next business decision
<maloik> it beats endless arguing :-)
<maloik> and arguably more fun than rock-paper-scissors
<yorickpeterse> Aha, it was a birthday song for boss woman's mother
<ledestin> unexpected. if a method is defined, include <modname> doesn't replace it.
<andrewvos> Anyone know how to get messages from bots appear in a split at the top of the screen in irssi?
<andrewvos> I also don't want to be able to focus the window
<andrewvos> Cause that's just weird
ffio has quit [Quit: WeeChat 0.4.1]
ffio has joined #ruby-lang
<yorickpeterse> andrewvos: you mean bots talking in a public channel?
<yorickpeterse> err, just any channel for that matter
thepumpkin has quit [Remote host closed the connection]
Aopa has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
<Aopa> Hi there, I would like to override the 'require' method, any tip on how to proceed ? I think it's useless to say that I'm new to Ruby...
<yorickpeterse> Why do you want to override it?
<yorickpeterse> There are very few cases where you'd actually want to do that
<yorickpeterse> Not to mention people will probably slap you for doing it
<Aopa> Well I have no choice ;)
<apeiros> being new and wanting to override a core functionality is somewhat suspicious
<apeiros> I doubt that, Aopa
<yorickpeterse> Aopa: Well, explain what you're trying to do first
<apeiros> or: how can you say that, being new? I'd not be surprised if you're just not aware of your options.
wmoxam has joined #ruby-lang
<Aopa> Well I can't really say on what I'm working on, but let's say that I need to encode all my ruby files which will be then "imported". So I would like to override the 'require' method so they are decoded when imported
<maloik> Basically you're writing closed-source modules ?
<Aopa> Yup
* bnagy gets popcorn
<Aopa> Sorry for hurting your philosophical sphere lol, I have no choice on this one
<maloik> Aopa: not sure how or where you'd find this, but see if you can find info on how Sirportly does this
<yorickpeterse> Aopa: at a basic level you can do something like this:
<maloik> they provide a selfhosted solution where their source is somehow encoded, and you;re allowed to supply some additional modules of your own
jvrmaia has joined #ruby-lang
flip_digits has joined #ruby-lang
<yorickpeterse> module Kernel; alias_method :old_require :require; def require(*args); ...; end; end
<yorickpeterse> then call old_require from your new method
<yorickpeterse> However!
<yorickpeterse> require can also be used for C extensions
<andrewvos> yorickpeterse: yeah exactly
<andrewvos> yorickpeterse: thing is, the bot is in a "notifications" channel
<andrewvos> So I want to see it at the top of the screen
<yorickpeterse> I'd say it would be much easier to just write your own method, e.g. `require_encoded`
<yorickpeterse> andrewvos: hm, not sure if Irssi can even do that
<yorickpeterse> otherwise just open said channel in a split view
<Aopa> yorickpeterse: But where do I need to write such a method ? In the kernel module too ?
realDAB has joined #ruby-lang
<yorickpeterse> That's up to you, as long as it's globally available
pczarn has quit [Ping timeout: 250 seconds]
<erikh> hello friends
mdedetrich has quit [Quit: Computer has gone to sleep.]
ldnunes has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 248 seconds]
<andrewvos> hey erikh
<erikh> hihi
Aopa has quit [Ping timeout: 250 seconds]
dhruvasa1ar has quit [Ping timeout: 256 seconds]
thepumpkin has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jvrmaia has quit [Read error: No route to host]
joeroot has joined #ruby-lang
jstorimer has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
flip_digits has joined #ruby-lang
jvrmaia has joined #ruby-lang
skmp has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
<maloik> fml, our authorization system is starting to crack at the seams apparently
<maloik> more and more exceptions being thrown
swav has joined #ruby-lang
benlovell has joined #ruby-lang
glebm has joined #ruby-lang
realDAB has quit [Quit: realDAB]
jstorimer has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
sepp2k has joined #ruby-lang
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
xxaM has quit [Quit: ZzZZ]
runeb- has joined #ruby-lang
runeb- is now known as runeb
runeb has quit [Read error: Connection reset by peer]
thepumpkin has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kgrz has quit [Ping timeout: 248 seconds]
scholar011 has quit [Quit: Leaving.]
kgrz has joined #ruby-lang
malev has joined #ruby-lang
anonymuse has joined #ruby-lang
rsl has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
breakingthings has joined #ruby-lang
thepumpkin has joined #ruby-lang
Squarepy has joined #ruby-lang
jstorimer has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
carloslopes has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
dc5ala has quit [Quit: Ex-Chat]
<yorickpeterse> TIL Devise does some weird shit to your models
hashkey has quit [Ping timeout: 246 seconds]
hashkey has joined #ruby-lang
hashkey is now known as Guest58394
companybot has joined #ruby-lang
companybot has left #ruby-lang [#ruby-lang]
matti has joined #ruby-lang
kgrz has joined #ruby-lang
runeb has joined #ruby-lang
joeroot has quit [Read error: Connection reset by peer]
apeiros has quit [Remote host closed the connection]
kristofferrr_ has quit [Quit: ❤]
retro|cz has quit [Ping timeout: 276 seconds]
jbsan has joined #ruby-lang
Johz has joined #ruby-lang
mreq has joined #ruby-lang
GaelanAintAround is now known as Gaelan
jstorimer has joined #ruby-lang
Squarepy has quit [Ping timeout: 248 seconds]
Guest58394 is now known as hashkey
bgant has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
runeb has quit [Remote host closed the connection]
ffio has quit [Quit: WeeChat 0.4.1]
runeb has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
realDAB has joined #ruby-lang
ffio has joined #ruby-lang
philnyc has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
mreq has quit [Ping timeout: 248 seconds]
kgrz_ has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
joeroot has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
wmoxam has joined #ruby-lang
<injekt> heh
realDAB has quit [Quit: realDAB]
heftig has quit [Ping timeout: 252 seconds]
<maloik> almost vacation time <3
<maloik> campfire and beer tonight
<injekt> \o/
heftig has joined #ruby-lang
henrikhodne has joined #ruby-lang
<yorickpeterse> HAHA RAILS AUTOLOADING
<yorickpeterse> "YOU WANT THE RIGHT CLASS? TOO BAD, HERE WRONG ONE FUCK YOU"
<lianj> i need one too, was thinking of 37signals campfire there. yikes
<yorickpeterse> NAMESPACES? HAHA
<yorickpeterse> Ughghh
realDAB has joined #ruby-lang
<maloik> lianj: haha, yea we call that 'beroepsmisvorming' in dutch... professional deformation I suppose would be a translation
<yorickpeterse> beroepsmisvorming? What are you, Belgian? :>
<maloik> yep
<yorickpeterse> Heh, figures
<maloik> Yourself ?
<yorickpeterse> So time to play some Rails roulette:
<yorickpeterse> http://hastebin.com/numileyoqa.rb In a container app that defines a global ApplicationController, what class would this use?
<yorickpeterse> The namespaced one or the global one? Place bets now!
<maloik> yorickpeterse: where are you from? :)
<yorickpeterse> Your northern neighbours
<yorickpeterse> Those fuckers that can't drive for shit
<maloik> why did you guess specifically for belgium ? not a word you use ? :D
<yorickpeterse> I've never heard of the word
<maloik> fair enough :)
<yorickpeterse> and it's not zuid afrikaans since that's even weirder
<maloik> a lot of people here are bad drivers but it's not like we're french or italian :) thats a whole different level imo
<maloik> anyway
<maloik> vacation time, cya
<yorickpeterse> toodles
xuser has quit [Remote host closed the connection]
<yorickpeterse> Either way, the answer to the bet is that it uses the fucking global one
<yorickpeterse> UNLESS you eager load all of that, then it appears to be working
* yorickpeterse cries
<erikh> #yorick-peterse-cries-about-rails
<injekt> :D
jstorimer has joined #ruby-lang
<gnufied> did you mean IF when you wrote UNLESS?
<yorickpeterse> No
<gnufied> IF you eager load all of that, then it appears to be working?
<erikh> MAY HAVE
<yorickpeterse> As in, "Unless I do X"
Zeeo has joined #ruby-lang
<erikh> SHOULD HAVE
<erikh> COMEFROM
<yorickpeterse> gnufied: so in $PROD Rails eager loads your classes (I believe), in that case it works fine
<yorickpeterse> erikh MUST keep his mouth shot
<yorickpeterse> * shut
<gnufied> yep, I understood. it is known annoyance
<yorickpeterse> lol
* erikh sighs
<erikh> kids these days
<gnufied> the constant look up is broken in Ruby IMO
<gnufied> I need to look up, but I have seen some weird things
<gnufied> there was a factory girl problem which I filed in rails-core
<yorickpeterse> it shouldn't rely on autoloading so heavily, problem solved
<yorickpeterse> People need to get over this "EEWWWWW REQUIRE()" nonsense
flip_digits has quit [Remote host closed the connection]
<gnufied> old one though
<yorickpeterse> ugh, THIS IS WHY WE CAN'T HAVE NICE THINGS
<gnufied> I have given up and unless I am sure, I always use outside module name as prefix
<erikh> solution: replace rails
<erikh> alternative solution: pacifier
<gnufied> so you will never catch me writing naked ApplicationController when I meant AdminTool::ApplicationController
<gnufied> :(
<gnufied> ruby's constant loading rules feel like remembering those operator precedence order
glebm has joined #ruby-lang
mradmacher has quit [Quit: Lost terminal]
ffio has joined #ruby-lang
kristofferrr has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
mucker has joined #ruby-lang
jstorimer has joined #ruby-lang
<injekt> solution: /quit
gja has quit [Quit: This computer has gone to sleep]
<Zeeo> Hey guys, what's the command to install a gem (and only that one) ? I'm working with rails 3.2.13 and all dependencies are met. I've uninstalled a gem that I need to re-install but whenever I run gem install bundler starts downloading gems from 4.0 wich are going to mess up my environment so I don't want them to get installed. How do I fix this?
<injekt> Zeeo: gem install rails -v 3.2.13
<injekt> Zeeo: if you have a Gemfile you can just run bundle, though
<Zeeo> injekt: yeah, that's what I would have done if my environment was stable, but sadly I need to work very carefully because there are some gems that I can't remember how I got to work, so running bundle is a suicide in my particular case
<injekt> D:
jsullivandigs has joined #ruby-lang
<Zeeo> injekt: I'm working on windows D: took me weeks to actually start writing some code
mistym has joined #ruby-lang
<erikh> injekt: lol
<injekt> Zeeo: it would have taken less than an hour to fire up a vps and start writing code right away, why do you want such pain?
<Zeeo> injekt: vps = virual machine?
<Zeeo> lol I don't own such a powerful computer
<erikh> vps is a hosted thing.
<yxhuvud> zeeo: if you have a working setup, my recommendation would be to remove the upstream from the gemfile, type bundle install to get a lockfile with current setup. Then you can do bundle update gemname to do a controlled update of a gem.
<injekt> better yet, throw in an ubuntu disk
<erikh> injekt: well, that's not always as easy as it sounds
<erikh> you're plucky today :P
<erikh> worse than me and I've had almost 40oz of red bull already
lunarjar has quit [Quit: Bye]
ruurd has joined #ruby-lang
lunarjar has joined #ruby-lang
realDAB has quit [Quit: realDAB]
<gnufied> redbull is bad for my tummy
<Zeeo> yxhuvud: I'm sorry, what do you mean for "upstream"?
runeb has quit [Remote host closed the connection]
<yxhuvud> The first line in the gemfile, which defines where gem will go look for gems.
<gnufied> the whole point of bundler is to have reproducible setup
<Zeeo> yxhuvud: the source?
<gnufied> if you got it installed once, you can get it installed again
<injekt> erikh: one of those mornings
<yxhuvud> gnufied: if he has a working lockfile, yes
<gnufied> i don't understand what is the fear of not running "bundle" command is
ffio has quit [Quit: WeeChat 0.4.1]
<erikh> injekt: I Hear that. viva la monday
andrewvos has quit [Ping timeout: 260 seconds]
<gnufied> Zeeo: are you installing gems individually rather than via bundler?
<erikh> gnufied: bundle update? you can break a great deal of shit that way
<Zeeo> gnufied: yeah, and everything works fine so far
<gnufied> erikh: I did not say bundle update. I say, bundle
andrewvos has joined #ruby-lang
<gnufied> Zeeo: and which rails version your Gemfile points to?
<gnufied> rails 4.0 or 3.2.13 ?
<injekt> bundle update should come with a warning, like a "LOL NAH, SUPPLY A LIBRARY PLOX"
<gnufied> you can install all your gems in a directory as well Zeeo
<erikh> injekt: I just wish rubyists knew how to code stable libraries
ruurd has quit [Client Quit]
<Zeeo> gnufied: it's 3.2.13, In fact, it's a mistery to me why gem tries to install 4.0 stuff
<gnufied> so, bundle install —path vendor/bundle
<gnufied> that way, you don't screw up your system gems
realDAB has joined #ruby-lang
<erikh> but hey, less than perfect world
<erikh> injekt: totally glaring at you btw
<Zeeo> already lost at least two afternoons on this problem
<erikh> anyhow, I need to go back to being depressed about puppet
<gnufied> Zeeo: can you try bundle install with —path option?
<injekt> erikh: it makes the ladies think I'm wild
<gnufied> Zeeo: it should install whatever version of rails your app requires
<injekt> erikh: "what's he gonna do next? release a beta? oohhhh quiver"
<erikh> injekt: "it's getting buggy in here -- so take off all your source"
<gnufied> for a long time I believe injekt was a girl
<gnufied> believed*
<gnufied> :D
dhruvasagar has joined #ruby-lang
<injekt> I shall take that as a compliment
<gnufied> there used to be a person blink. she was a resident #ruby-langer
<Zeeo> gnufied: I know it requires the 3.2.13, but, it also re-installs non-working versions of gems that I don't know the source for, so whenever I run bundle it gets mingw32 version rather than ruby and it's a lot of work to get it running again
<injekt> erikh: "buggy buggy buggy can't you see, if you want a 1.0 you should employ Lee"
ruurd has joined #ruby-lang
<erikh> injekt: nice
cube526 has joined #ruby-lang
<gnufied> Zeeo: well, if you directly install a gem by using rubygems api
<gnufied> can*
<gnufied> it will bypass dependency check etc
<erikh> yeah, things that are a bad idea if you want to be portable
<erikh> the API's changed a few times
<Zeeo> gnufied: plus, the tendence of my bundler and installation system is to overlay divverent version of gems without asking confirmation, causing me afternoons of extra work
flip_digits has joined #ruby-lang
<Zeeo> gnufied: do you mean "gem install...."?
<gnufied> I have no idea, how to help you.
<gnufied> Zeeo: no, it is rubygems internal stuff
<Zeeo> gnufied: oh, I'll check it out
<Zeeo> ty :)
<gnufied> don't be enouraged. it was meant to be used by package managers like bundler
<gnufied> not directly by end users
<gnufied> so you end up burning yourself
ffio has joined #ruby-lang
<gnufied> may*
<andrewvos> rubydeveloperstalkingaboutbundler.tumblr.com
<injekt> dick
mreq has joined #ruby-lang
<erikh> andrewvos: totally thought you just set that up
<erikh> got depressed when I clicked.
<andrewvos> hehe
<gnufied> *has taken baby steps to contributing to bundler in a serious manner*
realDAB has quit [Quit: realDAB]
jstorimer has quit [Remote host closed the connection]
cube526 has quit [Quit: Bye]
flip_digits has quit [Ping timeout: 240 seconds]
<andrewvos> injekt: Is there a todo list plugin for cinch?
<andrewvos> injekt: A good one
jg_ has joined #ruby-lang
<andrewvos> injekt: Like, we want to replace trello with it
tkuchiki has joined #ruby-lang
<andrewvos> injekt: But it just has to store items, if they're being worked on, and who is working on them.
henrikhodne has quit [Ping timeout: 256 seconds]
Uranio has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
Squarepy has joined #ruby-lang
jg has quit [Ping timeout: 264 seconds]
enebo has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
tkuchiki has quit [Ping timeout: 276 seconds]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
carloslopes has joined #ruby-lang
<zzak> good morning!
jstorimer has joined #ruby-lang
realDAB has joined #ruby-lang
<injekt> andrewvos: I dont do cinch stuff, you should ask dominikh, he's the author, and he's always happy to answer questions about it
<injekt> zzak: hai
<andrewvos> I know, I just thought I would try with you :)
<andrewvos> dominikh: You come here any more?
adambeynon has joined #ruby-lang
<injekt> if he doesn't respond just pm him he's a nice guy and doesn't mind that, especially for cinch queries
GeissT has quit [Quit: MillBroChat AdIRC User]
flip_digits has joined #ruby-lang
<ericwood> who here is going to LSRC?
<ericwood> LoneStar Ruby Conf, that is
arooni-mobile has joined #ruby-lang
<zzak> ericwood: not me :(
<ericwood> lame
tylersmith has quit [Write error: Broken pipe]
<zzak> taking my dad to a baseball game instead, so lame, right?
<andrewvos> injekt: Cool thanks injekt
henrikhodne has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 264 seconds]
knoxy has joined #ruby-lang
knoxy has quit [Client Quit]
dwknoxy has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
ffio has quit [Quit: WeeChat 0.4.1]
Mon_Ouie has joined #ruby-lang
<ledestin> I've finally made gem of timeout replacement
<ledestin> anybody interested?
benlovell has quit [Ping timeout: 256 seconds]
<andrewvos> Yeah
ffio has joined #ruby-lang
meizaps has quit [Quit: Bye]
<erikh> 3.times { Thread.new { Timeout.timeout(5) { sleep } } }
mbj has quit [Quit: leaving]
<erikh> does that work reliably in your code?
<ledestin> it's thread-safe
realDAB has quit [Quit: realDAB]
<erikh> what i mean is, do those threads each last 5 seconds?
<ledestin> should do
<erikh> interesting
<erikh> thanks!
<ledestin> hmm
<ledestin> wait
henrikhodne has quit [Ping timeout: 258 seconds]
<ledestin> well, I think so
<injekt> :)
<erikh> maybe a test would be good.
<ledestin> though I don't have a test written for that
<erikh> yeah, I kind of presumed, but it fits a use case I would find very useful
<erikh> timeout kind of messes with a scheduler I wrote
mistym has quit [Remote host closed the connection]
<injekt> dropin sounds so ghetto
<erikh> oh, mutexes
<injekt> Ima be dropin' this FrugalTimeout right hurre
<erikh> yeah, I don't think that's going to behave as I expect
<erikh> injekt: be nice.
<ledestin> I don't understand ghetto
<ledestin> injekt: ever heard of drop in replacement?
<injekt> ledestin: yes :)
relix has joined #ruby-lang
<ledestin> erikh: [5.000454676, 5.00086897, 5.000773091]
<ledestin> sleeping times
<erikh> oh, neato!
<erikh> ledestin: I'll check this out later and see if I can break it in my contrived situation -- thanks for sending it along!
glebm has quit [Quit: Computer has gone to sleep.]
<ledestin> erikh: had to do it for a client
realDAB has joined #ruby-lang
<erikh> sounds like a fun client :)
ffio has quit [Quit: WeeChat 0.4.1]
<ledestin> just a lot of network connections I had to limit time for
ffio has joined #ruby-lang
hashkey has quit [Quit: Leaving]
<ledestin> eventually stock timeout would just refuse to create more threads
<ledestin> time to sleep
<ledestin> the deed is done
ledestin has quit [Quit: ledestin]
hashkey has joined #ruby-lang
<erikh> heh
<erikh> I liked that guy.
<injekt> heh
dhruvasagar has quit [Ping timeout: 245 seconds]
ffio has quit [Client Quit]
andrewvos has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby-lang
ffio has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
wpp has joined #ruby-lang
glebm has joined #ruby-lang
wpp has quit [Client Quit]
glebm has quit [Client Quit]
gregmoreno has joined #ruby-lang
ffio_ has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
ffio has quit [Ping timeout: 276 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
gregmoreno has quit [Ping timeout: 256 seconds]
Gaelan is now known as GaelanAintAround
jsullivandigs has joined #ruby-lang
glebm has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
carloslopes has joined #ruby-lang
GaelanAintAround is now known as Gaelan
gja has joined #ruby-lang
gja has quit [Changing host]
realDAB has quit [Quit: realDAB]
gja has joined #ruby-lang
kgrz_ has quit [Ping timeout: 245 seconds]
tylersmith has quit [Remote host closed the connection]
krames has joined #ruby-lang
dhruvasagar has joined #ruby-lang
krames has quit [Client Quit]
bgant has quit [Quit: Leaving.]
cored has quit [Ping timeout: 256 seconds]
ffio_ has quit [Quit: WeeChat 0.4.1]
jsullivandigs has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
jsullivandigs has joined #ruby-lang
realDAB has joined #ruby-lang
robby_ has joined #ruby-lang
ruurd has joined #ruby-lang
robby_ has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 264 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
bzalasky has joined #ruby-lang
ffio has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
gregf has joined #ruby-lang
maxmanders has quit [Ping timeout: 276 seconds]
ffio has quit [Client Quit]
ngw has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
JohnBat26 has joined #ruby-lang
__butch__ has joined #ruby-lang
realDAB has quit [Quit: realDAB]
gregmoreno has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
cored has joined #ruby-lang
cored has joined #ruby-lang
ngw has quit [Quit: Bye!]
Squarepy has quit [Quit: Leaving]
gregmoreno has quit [Remote host closed the connection]
henrikhodne has joined #ruby-lang
ffio has joined #ruby-lang
zmike123 has joined #ruby-lang
bgant has joined #ruby-lang
iliketurtles has joined #ruby-lang
havenwood has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.4.1]
mistym has quit [Ping timeout: 256 seconds]
zz_jinie is now known as jinie
glebm has joined #ruby-lang
mreq has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
gregmoreno has joined #ruby-lang
andrewvos has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
__butch__ has quit [Quit: Leaving.]
flip_digits has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
io_syl has joined #ruby-lang
mistym_ has joined #ruby-lang
mistym has quit [Ping timeout: 240 seconds]
__butch__ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
andrewvos has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
gja has quit [Quit: This computer has gone to sleep]
arooni-mobile__ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
jg_ has quit [Ping timeout: 260 seconds]
gregf has joined #ruby-lang
rickhull has joined #ruby-lang
joeroot has quit [Quit: Leaving...]
tylersmith has joined #ruby-lang
ozzloy has quit [Quit: leaving]
benanne has joined #ruby-lang
jsmith__ has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
mreq has joined #ruby-lang
<yorickpeterse> $HOME sweet $HOME
jsmith__ has quit [Remote host closed the connection]
solars has quit [Ping timeout: 248 seconds]
skmp has quit [Quit: Leaving.]
flip_digits has joined #ruby-lang
Pupeno has quit [Ping timeout: 276 seconds]
ozzloy has joined #ruby-lang
iliketurtles has joined #ruby-lang
headius has joined #ruby-lang
swav has quit [Remote host closed the connection]
Sammidysam has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
<Sammidysam> I am trying to take a block of a method created and make a method called within that block call a different method. Can anyone help? A link with a ton more information is at http://stackoverflow.com/questions/17561195/replace-string-in-yield
tenderlove has joined #ruby-lang
marr has quit [Ping timeout: 246 seconds]
cored has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
ruurd has quit [Quit: Leaving...]
peeyek has joined #ruby-lang
<yorickpeterse> paste code
<yorickpeterse> (of what you have so far)
saarinen has joined #ruby-lang
<eam> I want to take an incomplete hostname and resolve it to a fqdn using the dns search path. What's the right ruby gem for this? Resolv doesn't seem to have this functionality
<yorickpeterse> based on that SO pastie, yes, but you'd have to create custom objects for it
<eam> oh, Socket.gethostbyname()
flip_digits has joined #ruby-lang
ruurd has joined #ruby-lang
judofyr has joined #ruby-lang
<Sammidysam> yorickpeterse: you were talking to me, right?
<Sammidysam> about pasting code
<Sammidysam> sorry, I wasn't paying enough attention.
flip_digits has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
saarinen has quit [Quit: saarinen]
iliketurtles has quit [Quit: zzzzz…..]
<yorickpeterse> Yeah
<yorickpeterse> One way to do it is to create a custom class/object, store the string value, call the block and use whatever it returns to append to the previous string
iliketurtles has joined #ruby-lang
<erikh> eam: Resolv::DNS can take a search IIRC
<Sammidysam> Okay, well I've tried a ton but I'm trying to add a feature to a project not mine so I'm not sure how much I can change it. I will post what I have when I finish testing something.
workmad3 has joined #ruby-lang
<Sammidysam> Alright so I have this method def drop_down(name)
<Sammidysam> content_tag :li, :class => "dropdown" do
<Sammidysam> drop_down_link(name) + drop_down_list {yield}
<Sammidysam> end
<Sammidysam> end
<yorickpeterse> Not directly in here
<yorickpeterse> use a pastebin
<Sammidysam> oh sorry
<Sammidysam> yeah whoops
saarinen has joined #ruby-lang
<Sammidysam> http://ur1.ca/enoeg lines 28-33 are what I am trying to manipulate the block of.
<Sammidysam> I did some work but didn't get anywhere. Should I add a &block parameter and capture it then replace something within there?
<Sammidysam> It seems like to me that that gets the result of the block and stores it into the string.
<yorickpeterse> http://hastebin.com/fupoyuxixa.rb basic example
<yorickpeterse> outputs "foobarbaz"
<Sammidysam> Yep I just ran it.
jonahR has joined #ruby-lang
flip_digits has joined #ruby-lang
<Sammidysam> So, then, is it possible to get the lines 16-18 in a string?
mucker has quit [Quit: leaving]
<Sammidysam> Then replace something in it then have that as the yield?
<Sammidysam> I guess I'm not absorbing the example enough.
<Sammidysam> But I'm mainly just looking to take, for example, Nested.new 'baz' on line 17 and make it instead call something like NonNested.new 'baz' e.g. replace what it does.
<Sammidysam> As in, make the Nested.new calls inside the first Nested.new call something else.
jstorimer has joined #ruby-lang
jstorimer has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
roadt__ has quit [Ping timeout: 256 seconds]
mistym_ has quit [Ping timeout: 264 seconds]
krames has joined #ruby-lang
krames has quit [Client Quit]
Pupeno has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
vlad_starkov has joined #ruby-lang
loincloth has joined #ruby-lang
jstorimer has joined #ruby-lang
ffio has joined #ruby-lang
maxmanders has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
jg_ has joined #ruby-lang
MartynKeigher has quit [Ping timeout: 246 seconds]
jstorimer has joined #ruby-lang
gja has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
jstorime_ has joined #ruby-lang
marr has joined #ruby-lang
havenwood has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
jstorimer has quit [Ping timeout: 245 seconds]
tenderlove has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
Johz has quit [Ping timeout: 240 seconds]
jstorime_ has quit [Ping timeout: 276 seconds]
mreq has quit [Read error: Operation timed out]
maxmanders has quit [Quit: Computer has gone to sleep.]
axsuul has joined #ruby-lang
retro|cz has joined #ruby-lang
tenderlove has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Quit: zzzzz…..]
gja has quit [Quit: This computer has gone to sleep]
cored has quit [Ping timeout: 240 seconds]
cored has joined #ruby-lang
bgant has quit [Quit: Leaving.]
thepumpkin has quit [Remote host closed the connection]
mbj has joined #ruby-lang
<yorickpeterse> whitequark: man installing ocaml packages takes forever
<Sammidysam> yorickpeterse: can you still help or is my issue too complicated/I'm not smart enough with ruby?
<yorickpeterse> eh oh, I was (still am) cooking dinner
<yorickpeterse> eh lets see
<yorickpeterse> well, for one content_tag already can be nested by just nesting the calls
<yorickpeterse> so if you want a nested drop_down just make it recursively
<judofyr> hah, go mame: https://github.com/mame/quine-relay
<yorickpeterse> judofyr: what the
<whitequark> yorickpeterse: well you're compiling them
forrest has joined #ruby-lang
<yorickpeterse> whitequark: yeah I know but this is beyond "wat"
thepumpkin has joined #ruby-lang
<yorickpeterse> ah, it's finally done building Core
<yorickpeterse> "You just have to type the following apt-get command to install all of them." hahahaha
<yorickpeterse> HAHA this readme
x0f has quit [Ping timeout: 256 seconds]
<judofyr> mame is pretty bad ass
<yorickpeterse> oh ha, so that's the name of the flipfode programmer
<yorickpeterse> * flipflop
<yorickpeterse> I always forgot his name
<yorickpeterse> or her name, not sure
<yorickpeterse> DAMN PEOPLE USING CONFUSING AVATARS
<judofyr> I think he
x0f has joined #ruby-lang
<judofyr> Yugui is a she
firstdayonthejob has joined #ruby-lang
<yorickpeterse> who's yugui?
<yorickpeterse> as in, by nickname
mreq has joined #ruby-lang
<judofyr> yugui is the nick I think. Yuki Sonoda is her full name
havenwood has quit [Remote host closed the connection]
<Sammidysam> yorickpeterse: Hmm. Is it possible with Ruby to get the name of the block the method call is inside by any chance?
glebm has joined #ruby-lang
x0f has quit [Ping timeout: 246 seconds]
philnyc has quit [Ping timeout: 246 seconds]
<yorickpeterse> Sammidysam: Not unless you call `__method__` in the block itself
zmike123 has quit [Read error: Operation timed out]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
<Sammidysam> Darn.
x0f has joined #ruby-lang
<Sammidysam> Oh, I think I just figured something out. :D
<yorickpeterse> judofyr: Hm, don't think I've seen her name very often. Then again I don't pay that much attention to MRI commits
<judofyr> I think she was the 1.9 release/branch manager
<judofyr> or, at least 1.9.1 and 1.9.2
<yorickpeterse> Ah
elia has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
thepumpkin has joined #ruby-lang
<yorickpeterse> man, so many people I'd like to meet but they all live everywhere except for fucking NL
<Sammidysam> yorickpeterse: Is it possible to get a portion of the &block inputted to a method?
x0f has quit [Ping timeout: 246 seconds]
<Sammidysam> For example a method calls content_tag :ul, :class => "dropdown-menu", &block but I'd like to do all the block but the block where there's an inner dropdown.
x0f has joined #ruby-lang
havenwood has joined #ruby-lang
torrieri has joined #ruby-lang
brianpWins has joined #ruby-lang
<yorickpeterse> Sammidysam: No, you can either call a block or not, you can't do it partially
mistym has joined #ruby-lang
x0f has quit [Ping timeout: 256 seconds]
hhatch has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
<Sammidysam> yorickpeterse: Alright, a shame. Thanks for all the help. I doubt that I'll be able to do this but I got close and thanks for getting me there.
x0f has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
anonymuse has joined #ruby-lang
anonymuse has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby-lang
anonymuse has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
CaptainJet has joined #ruby-lang
<yorickpeterse> np
x0f has quit [Read error: Operation timed out]
x0f has joined #ruby-lang
<yorickpeterse> Somebody invent me a cat meow translator so I can understand what the hell my cat is yapping at me
<Sammidysam> yorickpeterse: I thought of a different method for this actually. I get the normal result of the nav_bar code then manipulate the result.
brianpWins has joined #ruby-lang
<Sammidysam> yorickpeterse: You know, this might actually work.
scholar01 has joined #ruby-lang
scholar01 has joined #ruby-lang
x0f has quit [Ping timeout: 248 seconds]
<yorickpeterse> whitequark: heh, so this guide you linked uses utop. Holy shit that's slow.
<yorickpeterse> like, `5 + 5` can easily take ages on it while it's pretty fast when just using the standard ocaml shell
x0f has joined #ruby-lang
jg_ has quit [Ping timeout: 246 seconds]
peeyek has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
scholar01 has quit [Quit: Leaving.]
x0f has quit [Ping timeout: 246 seconds]
tenderlove has joined #ruby-lang
x0f has joined #ruby-lang
<whitequark> yorickpeterse: instant for me?
<whitequark> well, it seems to compile something before it evaluates the first expression, but after that it is
<yorickpeterse> also the UI of utop is crazy
gregmor__ has joined #ruby-lang
gregmoreno has quit [Read error: Connection reset by peer]
<yorickpeterse> I just want a prompt, I don't need a fucking date header in there
<yorickpeterse> not sure if that can be customized
<yorickpeterse> errr time header/w/e
<whitequark> /join #ocaml
<yorickpeterse> heh
tenderlove has quit [Ping timeout: 246 seconds]
robbyoconnor has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
axsuul has quit [Ping timeout: 240 seconds]
lunarjar has quit [Ping timeout: 240 seconds]
wmoxam has quit [Ping timeout: 240 seconds]
breakingthings has quit [Ping timeout: 240 seconds]
mbj has joined #ruby-lang
wmoxam has joined #ruby-lang
breakingthings has joined #ruby-lang
lunarjar has joined #ruby-lang
headius has quit [Read error: Connection reset by peer]
judofyr_ has joined #ruby-lang
<ericwood> /join #camels
headius has joined #ruby-lang
<Gaelan> Does a # mean anything in a regex?
Uranio has quit [Quit: while you reading this, a kitty dies]
x0f has quit [Ping timeout: 246 seconds]
undefinedza has joined #ruby-lang
<ericwood> >> '#'.match(/#/)
<eval-in> ericwood => #<MatchData "#"> (https://eval.in/37567)
<ericwood> no
<drbrain> unless it's followed by {...}
x0f has joined #ruby-lang
judofyr has quit [Ping timeout: 276 seconds]
Gaelan is now known as GaelanAintAround
torrieri has quit [Quit: Leaving...]
tenderlove has joined #ruby-lang
<whitequark> or @/@@/$
<whitequark> >> @a='1'; '1'.match(/@a/)
<eval-in> whitequark => nil (https://eval.in/37568)
<whitequark> hm
<whitequark> >> @a='1'; '1'.match(/#@a/)
<eval-in> whitequark => #<MatchData "1"> (https://eval.in/37569)
x0f has quit [Read error: Operation timed out]
maxmanders has joined #ruby-lang
pipework has joined #ruby-lang
rickhull has quit [Quit: Leaving.]
rails_smith has joined #ruby-lang
jg_ has joined #ruby-lang
<yorickpeterse> heh, the `+.` syntax for floats in ocaml is weird
saarinen has quit [Quit: saarinen]
Sammidysam has quit [Quit: Leaving]
<whitequark> yorickpeterse: the reason is that most operators aren't polymorphic
<whitequark> so say `+' can only ever behave on integers
x0f has joined #ruby-lang
<yorickpeterse> should've implemented them as methods :>
<yorickpeterse> problem solved
<whitequark> I think there's a chapter in RWO on that
<whitequark> but most code is written in a different style, of course
<yorickpeterse> holy crap, utop uses almost 300MB
<yorickpeterse> heh, `ocaml` about half of that
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x0f has quit [Read error: Operation timed out]
ruurd_ has joined #ruby-lang
ruurd_ is now known as Guest80424
CaptainJet has quit []
elia has quit [Ping timeout: 240 seconds]
carloslopes has quit [Remote host closed the connection]
x0f has joined #ruby-lang
ruurd has quit [Ping timeout: 246 seconds]
jvrmaia has quit [Quit: Leaving]
<dominikh> andrewvos │ dominikh: You come here any more? | ← only when people highlight me and I notice.
<dominikh> oww, he's not here anymore. great.
kristofferrr has quit [Quit: ❤]
postmodern has joined #ruby-lang
<yorickpeterse> damn, the Ocaml syntax is weird
x0f has quit [Ping timeout: 240 seconds]
<yorickpeterse> Looks like they drank the Haskell koolaid but toned it down a little bit
maxmanders has quit [Quit: Computer has gone to sleep.]
CaptainJet has joined #ruby-lang
<yorickpeterse> meh, this is needlesly verbosre
<yorickpeterse> * verbose
x0f has joined #ruby-lang
<yorickpeterse> fuckit, I'm off beating people in Chivalry (on steam summer sale, worth the 5 bucks). Toodles
<whitequark> yorickpeterse: same ancestor
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Zeeo has quit [Ping timeout: 260 seconds]
torrieri has joined #ruby-lang
dhruvasagar has joined #ruby-lang
jonahR has quit [Quit: jonahR]
x0f has quit [Ping timeout: 252 seconds]
undefinedza has quit [Quit: undefinedza]
GaelanAintAround is now known as Gaelan
x0f has joined #ruby-lang
judofyr_ has quit [Remote host closed the connection]
tenderlo_ has joined #ruby-lang
<zzak> dominikh: he was asking about a todo list plugin for sinch
<zzak> cinch*
<dominikh> zzak: I know :)
<zzak> ok
tenderlove has quit [Ping timeout: 240 seconds]
tmi has joined #ruby-lang
andrewvos has joined #ruby-lang
x0f has quit [Ping timeout: 246 seconds]
x0f has joined #ruby-lang
undefinedza has joined #ruby-lang
jonahR has joined #ruby-lang
pipework has quit [Remote host closed the connection]
MaddinXx_ has quit [Remote host closed the connection]
x0f has quit [Read error: Operation timed out]
rickhull has joined #ruby-lang
x0f has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
x0f has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
x0f has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
jg_ has quit [Ping timeout: 248 seconds]
flip_digits has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.4.1]
tmi has quit [Quit: tmi]
poga has joined #ruby-lang
joeroot has joined #ruby-lang
andrewvos has quit [Quit: leaving]
breakingthings has quit [Quit: breakingthings]
x0f has quit [Ping timeout: 248 seconds]
x0f has joined #ruby-lang
mreq has quit [Ping timeout: 248 seconds]
andrewvos has joined #ruby-lang
<andrewvos> Hello
andrewvos has quit [Client Quit]
andrewvos has joined #ruby-lang
<andrewvos> gah
<andrewvos> Hello again
thepumpk_ has joined #ruby-lang
ajack has joined #ruby-lang
x0f has quit [Ping timeout: 240 seconds]
Nisstyre has quit [Quit: Leaving]
dwknoxy has quit [Quit: Computer has gone to sleep.]
thepumpkin has quit [Ping timeout: 240 seconds]
gregmor__ has quit [Remote host closed the connection]
x0f has joined #ruby-lang
<andrewvos> Finally got stupid irrsi on a remote server again
<zzak> hah
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
dwknoxy has joined #ruby-lang
<andrewvos> What's the name of that cool site that builds crontabs for you?
x0f has quit [Ping timeout: 248 seconds]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
x0f has joined #ruby-lang
relix has joined #ruby-lang
<whitequark> andrewvos: man crontab ?
<andrewvos> whitequark: But then I have to think :(
wmoxam has quit [Ping timeout: 252 seconds]
CaptainJet has quit []
<drbrain> man 5 crontab
<drbrain> ↑ is lets you avoid thinking about man sections :D
<andrewvos> hehe thanks
<andrewvos> That's a bit better
relix has quit [Ping timeout: 240 seconds]
tbuehlmann has quit [Remote host closed the connection]
<andrewvos> Stupid irssi won't log so I can't test if I've setup loggin properly
vlad_starkov has quit [Remote host closed the connection]
joevandyk has joined #ruby-lang
maxmanders has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
saarinen has joined #ruby-lang
forrest has quit [Quit: Leaving]
maxmanders has quit [Client Quit]
brianpWins has quit [Quit: brianpWins]
joeroot has quit [Quit: Leaving...]
<andrewvos> Does rsync treat log files differently?
<andrewvos> It's really fast syncing a 20mb ile
<andrewvos> file*
joeroot has joined #ruby-lang
thebobalu has joined #ruby-lang
<GarethAdams> andrewvos: what do you mean by log file? I mean, I don't know enough to have an actual answer, but I'm interested what could be special about a file to make it a log file
joeroot has quit [Ping timeout: 248 seconds]
<andrewvos> GarethAdams: Pretty sure they're mostly text files
<zzak> andrewvos: whenever gem is helpful
<zzak> also irssi should log immediately
thepumpk_ has quit [Remote host closed the connection]
mbj has quit [Quit: leaving]
flip_digits has quit [Remote host closed the connection]
torrieri has quit [Ping timeout: 248 seconds]
<andrewvos> zzak: Yeah it does I was just looking at the wrong log file.
<andrewvos> zzak: ahh yes whenever for cron, nice!
ajack has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
symm- has joined #ruby-lang
<andrewvos> zzak: Oh this is only inside a running application?
torrieri has joined #ruby-lang
headius has quit [Quit: headius]
torrieri has quit [Client Quit]
glebm has quit [Quit: Computer has gone to sleep.]
thepumpkin has joined #ruby-lang
Nuru has joined #ruby-lang
Asher has quit [Quit: Leaving.]
poga has quit [Remote host closed the connection]
<zzak> you can use it hwoever you want
<zzak> its just a ruby gem
<andrewvos> Can't seem to find docs explaining how to just run a ruby file and update cron
<zzak> create a schedule.rb i think, and run whenever -l
<zzak> i think 'whenever -w' writes to crontab
<zzak> github readme
hahuang65 has joined #ruby-lang
<andrewvos> Yeah I must have skimmed past it. Thanks zzak :)
<zzak> np
Guest80424 has quit [Quit: Leaving...]
saarinen has quit [Quit: saarinen]
<andrewvos> Yay
<andrewvos> That's pretty damn cool
workmad3 has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
charliesome has joined #ruby-lang
tenderlo_ has quit [Remote host closed the connection]
gregmore_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<jaimef> what's the magic of matching a "." in a pattern like /[a-zA-Z0-9\.]+/?
Gaelan is now known as GaelanAintAround
gregmore_ has quit [Ping timeout: 264 seconds]
glebm has joined #ruby-lang
cofin has joined #ruby-lang
tenderlove has joined #ruby-lang
tkuchiki has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 248 seconds]
<andrewvos> It's escaped
<andrewvos> There's no magic
<andrewvos> jaimef:
enebo has quit [Quit: enebo]
joeroot has joined #ruby-lang
tkuchiki has joined #ruby-lang
undefinedza has quit [Quit: undefinedza]
anonymuse has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
anonymuse has quit [Read error: Operation timed out]
<andrewvos> >> "wefw321.3we___$".scan(/[a-zA-Z0-9\.]+/?)
<eval-in> andrewvos => /tmp/execpad-e77c275ed18d/source-e77c275ed18d:2: syntax error, unexpected ')' (https://eval.in/37588)
<drbrain> you don't even need the \
<andrewvos> >> "wefw321.3we___$".scan(/[a-zA-Z0-9\.]+/)
<eval-in> andrewvos => ["wefw321.3we"] (https://eval.in/37589)
<drbrain> >> /[.]/ =~ "x."
<eval-in> drbrain => 1 (https://eval.in/37590)
<andrewvos> What's your point brainman?
<andrewvos> >> /[\.]/ =~ "x."
<eval-in> andrewvos => 1 (https://eval.in/37591)
GaelanAintAround is now known as Gaelan
<andrewvos> >> /[\.]/ =~ "x"
<eval-in> andrewvos => nil (https://eval.in/37592)
tkuchiki has quit [Ping timeout: 246 seconds]
<drbrain> andrewvos: /[.]/ only matches "." (at position 1 in "x.")
<drbrain> compare to:
<drbrain> >> /./ =~ "x."
<eval-in> drbrain => 0 (https://eval.in/37593)
Mon_Ouie has quit [Ping timeout: 248 seconds]
<andrewvos> Yeah but the point, I think, is in the original regex the . is escaped, thereby matching an actual dot, not "anything".
joeroot has quit [Ping timeout: 248 seconds]
ruurd has joined #ruby-lang
<drbrain> that \ does nothing and is ignored
<andrewvos> WAT
<andrewvos> Why is that?
<drbrain> inside a character class you don't need to escape "."
<andrewvos> Is this only inside []?
<drbrain> yes, only inside []
<andrewvos> Wow
PantsMeh has joined #ruby-lang
<drbrain> /[.]/ matches the same thing as /\./
<andrewvos> >> "defdf.wfw".scan /[.]/
<eval-in> andrewvos => ["."] (https://eval.in/37594)
<andrewvos> >> "defdf.wfw".scan /[\.]/
<eval-in> andrewvos => ["."] (https://eval.in/37595)
<jaimef> bar[/([a-zA-Z0-9\-.]+)(\-[\w]+\.[\w]+$)/,1]
<jaimef> was what I ended up using
<andrewvos> drbrain: So . never works inside []?
<drbrain> jaimef: you can also put - at the end
<jaimef> k
<drbrain> andrewvos: . never matches anything other than "." inside []
<andrewvos> Ok, I can see whay that is.
<drbrain> jaimef: … of the characters in []
<andrewvos> Amazing how much shit you learn in here trying to answer questions and failing :)
abstr4ct has quit [Ping timeout: 276 seconds]
<zzak> drbrain: got my email back
<jaimef> regex are promptly forgotten 10 minutes after solving them, everytime...
<zzak> i hate email
<drbrain> jaimef: since - has special meaning inside [] if you want to match it too you must include it in a character range or list it last
<drbrain> >> /([+-0]+)/ =~ '*+,-./01'; $1.length
<eval-in> drbrain => 6 (https://eval.in/37596)
<x0f> any sufficiently advanced regex is indistunguishable from average perl
<jaimef> ^^
<jaimef> well put x0ffer C clark
<drbrain> I suppose /[!-\/\[-`{-~]/ would be a such a character class, but it still doesn't seem useful
<drbrain> (ASCII punctuation)
picklechef has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
arooni-mobile__ has quit [Ping timeout: 240 seconds]
duphus has joined #ruby-lang
rivaler has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
kstuart has joined #ruby-lang
rickruby has joined #ruby-lang
amerine has quit [Quit: Textual IRC Client: www.textualapp.com]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
kstuart has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby-lang
rgarver has joined #ruby-lang
shinnya has joined #ruby-lang
<andrewvos> Anyone know of a gem/code that can be a daemon and receive push notifications on osx?
<andrewvos> Actually, sleepytime. Message me if anyone knows kthxbai
Gaelan is now known as GaelanAintAround
arooni-mobile has joined #ruby-lang
benanne has quit [Quit: kbai]
cofin has quit [Quit: cofin]
Nuru has quit [Quit: Bye bye]
robbyoconnor has joined #ruby-lang
amerine has joined #ruby-lang
thebobalu has quit [Read error: Connection reset by peer]
cofin has joined #ruby-lang
saarinen has joined #ruby-lang
mdedetrich has joined #ruby-lang
r0bby has joined #ruby-lang
lunarjar has left #ruby-lang ["Leaving"]
saarinen has quit [Client Quit]
symm- has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
rgarver has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]