apeiros changed the topic of #ruby-lang to: Ruby 1.9.3-p374: http://ruby-lang.org (ruby-2.0.0-rc1) || Paste >3 lines of text on http://gist.github.com
benanne has quit [Quit: kbai]
chendo_ has joined #ruby-lang
datanoise has joined #ruby-lang
workmad3 has quit [Ping timeout: 276 seconds]
x2q has quit [Quit: x2q]
Bosox20051 has quit [Ping timeout: 256 seconds]
sepp2k has joined #ruby-lang
datanoise has quit [Ping timeout: 255 seconds]
jtoy has quit [Quit: jtoy]
mercwithamouth has joined #ruby-lang
gregmore_ has joined #ruby-lang
havenn has joined #ruby-lang
Rarrikins_q has joined #ruby-lang
s1n4 has quit [Quit: leaving]
banisterfiend is now known as banister`sleep
marr has quit [Ping timeout: 256 seconds]
sailias has joined #ruby-lang
KA_ has joined #ruby-lang
Rarrikins has quit [Ping timeout: 256 seconds]
idkazuma has quit [Remote host closed the connection]
chendo_ has quit [Quit: Computer has gone to sleep.]
s1n4 has joined #ruby-lang
_tockitj has quit [Ping timeout: 256 seconds]
toretore has quit [Quit: Leaving]
swav has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
emocakes has quit [Quit: emocakes]
sailias has quit [Quit: Leaving.]
swav has quit [Remote host closed the connection]
megha has quit [Read error: Operation timed out]
havenn has quit [Remote host closed the connection]
jtoy has joined #ruby-lang
havenn has joined #ruby-lang
ahn827 has joined #ruby-lang
megha has joined #ruby-lang
ronaldo___ has joined #ruby-lang
ronaldo__ has quit [Read error: Connection reset by peer]
kiwnix has quit [Quit: Saliendo]
lcdhoffman has quit [Quit: lcdhoffman]
postmodern has joined #ruby-lang
jtoy has quit [Quit: jtoy]
imperator has left #ruby-lang ["Leaving"]
unlikely_monkey has quit [Remote host closed the connection]
unlikely_monkey has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
DEac-_ has joined #ruby-lang
unlikely_monkey has quit [Remote host closed the connection]
esad has joined #ruby-lang
knu has quit [Remote host closed the connection]
mwjcomputing has joined #ruby-lang
krz has joined #ruby-lang
knu has joined #ruby-lang
hapster has quit [Quit: Leaving]
ahn827 has quit [Quit: Page closed]
mistym has quit [Remote host closed the connection]
ronaldo___ has quit [Read error: Connection reset by peer]
ronaldo__ has joined #ruby-lang
havenn has quit [Remote host closed the connection]
Nisstyre has joined #ruby-lang
ruby-lang840 has joined #ruby-lang
Nisstyre_ has quit [Ping timeout: 252 seconds]
flip_digits has joined #ruby-lang
Nisstyre has quit [Ping timeout: 255 seconds]
gregmore_ has quit [Remote host closed the connection]
Nisstyre has joined #ruby-lang
wizonesolutions has quit [Quit: No Ping reply in 180 seconds.]
KA_ has quit [Quit: KA_]
Bosox20051 has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
wizonesolutions has joined #ruby-lang
andrewhl has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
Nisstyre_ has joined #ruby-lang
KA_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Nisstyre has quit [Ping timeout: 252 seconds]
KA_ has quit [Quit: KA_]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
flip_digits has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ruby-lang840 has quit [Ping timeout: 245 seconds]
KA_ has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
ronaldo___ has joined #ruby-lang
ronaldo__ has quit [Read error: Connection reset by peer]
gjaldon has joined #ruby-lang
<gjaldon> any open-source Ruby project an 'advanced newb' could help out with?
<Spaceghost|cloud> What is an 'advanced newb'?
<gjaldon> lol not sure exactly
<gjaldon> I guess someone who knows enough Ruby to teach a 'complete newb'
<gjaldon> and knows enough that he could work on projects but still has much to learn
<lianj> choose a topic you like and search on github
KA_ has quit [Quit: KA_]
<gjaldon> thanks lionj but dont have an idea what topic interests me atm. just wanted to get some ideas here at least
<lianj> improve something you use already
<gjaldon> that makes sense
mpan has quit [Remote host closed the connection]
sandbags has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
ramonmaruko has joined #ruby-lang
esad has joined #ruby-lang
Nisstyre_ has quit [Ping timeout: 255 seconds]
Nisstyre has joined #ruby-lang
gregmore_ has joined #ruby-lang
charliesome has joined #ruby-lang
gregmore_ has quit [Ping timeout: 252 seconds]
esad_ has joined #ruby-lang
esad has quit [Ping timeout: 252 seconds]
esad_ has quit [Client Quit]
megha has quit [Quit: WeeChat 0.4.0]
sepp2k has quit [Remote host closed the connection]
methods has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
mwjcomputing has quit [Read error: Connection timed out]
methods has quit [Ping timeout: 252 seconds]
tjadc has joined #ruby-lang
swav has joined #ruby-lang
b1rkh0ff has quit [Ping timeout: 245 seconds]
b1rkh0ff has joined #ruby-lang
s1n4 has quit [Quit: leaving]
gregmoreno has joined #ruby-lang
Nisstyre has quit [Ping timeout: 260 seconds]
Nisstyre has joined #ruby-lang
megha has joined #ruby-lang
rippa has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
erichmenge has quit [Ping timeout: 256 seconds]
Nisstyre_ has joined #ruby-lang
erichmenge has joined #ruby-lang
Nisstyre has quit [Disconnected by services]
Nisstyre_ is now known as Nisstyre
Nisstyre has quit [Ping timeout: 252 seconds]
Nisstyre-laptop has joined #ruby-lang
Bosox20051 has quit [Quit: Leaving]
chendo_ has joined #ruby-lang
chendo_ has quit [Client Quit]
chendo_ has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
chendo_ has quit [Client Quit]
ddd has joined #ruby-lang
havenn has joined #ruby-lang
huma has joined #ruby-lang
ronaldo__ has joined #ruby-lang
ronaldo___ has quit [Read error: Connection reset by peer]
havenn has quit [Ping timeout: 276 seconds]
tenderlove has joined #ruby-lang
mossplix has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
tjadc has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
Rarrikins_q_e has joined #ruby-lang
mossplix has quit [Ping timeout: 246 seconds]
gregmoreno has quit [Remote host closed the connection]
Rarrikins_q has quit [Ping timeout: 255 seconds]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
wmoxam has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
hail_kuato has joined #ruby-lang
hail_kuato has left #ruby-lang [#ruby-lang]
mossplix has joined #ruby-lang
mwjcomputing has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mwjcomputing has quit [Ping timeout: 252 seconds]
tomzx_mac has quit [Ping timeout: 252 seconds]
blacktulip has joined #ruby-lang
KA_ has joined #ruby-lang
chimkan has joined #ruby-lang
xcombelle has joined #ruby-lang
hahuang65 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Rarrikins_q_e_y has joined #ruby-lang
Rarrikins_q_e has quit [Read error: Connection reset by peer]
chimkan_ has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
erichmenge has quit [Ping timeout: 260 seconds]
chimkan has quit [Ping timeout: 252 seconds]
chimkan_ is now known as chimkan
GitNick has quit [Ping timeout: 256 seconds]
jbsan has quit [Quit: jbsan]
GitNick has joined #ruby-lang
jbsan has joined #ruby-lang
neocoin has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
erichmenge has joined #ruby-lang
ronaldo__ has quit [Read error: Connection reset by peer]
ronaldo___ has joined #ruby-lang
chendo_ has joined #ruby-lang
Nisstyre has joined #ruby-lang
gregmore_ has joined #ruby-lang
gregmore_ has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Ping timeout: 260 seconds]
chendo_ has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 240 seconds]
tenderlove has quit [Remote host closed the connection]
jstemmer has quit [Ping timeout: 260 seconds]
chendo_ has joined #ruby-lang
jbsan has quit [Quit: jbsan]
gjaldon has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
ronaldo___ has quit [Read error: Connection reset by peer]
ronaldo__ has joined #ruby-lang
havenn has joined #ruby-lang
chendo_ has quit [Quit: Computer has gone to sleep.]
havenn has quit [Ping timeout: 260 seconds]
chendo_ has joined #ruby-lang
KA_ has quit [Quit: KA_]
mercwithamouth has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
dhruvasagar has joined #ruby-lang
banister`sleep has quit [Ping timeout: 246 seconds]
MxG has quit [Remote host closed the connection]
MxG has joined #ruby-lang
chimkan_ has joined #ruby-lang
MxG has quit [Remote host closed the connection]
chimkan has quit [Ping timeout: 255 seconds]
chimkan_ is now known as chimkan
vlad_starkov has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
KA_ has joined #ruby-lang
jbsan has joined #ruby-lang
havenn has joined #ruby-lang
lele|w has quit [Read error: Connection reset by peer]
lele|w has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
mytrile has joined #ruby-lang
Nisstyre_ has joined #ruby-lang
Nisstyre has quit [Disconnected by services]
Nisstyre_ is now known as Nisstyre
Nisstyre-laptop has quit [Ping timeout: 240 seconds]
zmack has joined #ruby-lang
rue has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
rue has joined #ruby-lang
dr_bob has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
Nisstyre has quit [Ping timeout: 276 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
vesan has joined #ruby-lang
publicvoid has quit [Ping timeout: 244 seconds]
<yorickpeterse> Morning
robotmay has joined #ruby-lang
ruskie has joined #ruby-lang
chendo_ has quit [Quit: Computer has gone to sleep.]
xcombelle has quit [Remote host closed the connection]
megha has quit [Quit: WeeChat 0.4.0]
KA_ has quit [Quit: KA_]
megha has joined #ruby-lang
Nisstyre has joined #ruby-lang
glebm has joined #ruby-lang
glebm has quit [Client Quit]
bzalasky has joined #ruby-lang
ronaldo__ has quit [Read error: Connection reset by peer]
ronaldo__ has joined #ruby-lang
chekcmate has joined #ruby-lang
<chekcmate> moin
megha has quit [Quit: WeeChat 0.4.0]
glebm has joined #ruby-lang
megha has joined #ruby-lang
jxie has quit [Quit: leaving]
robotmay has quit [Ping timeout: 244 seconds]
megha has quit [Client Quit]
megha has joined #ruby-lang
emocakes has joined #ruby-lang
megha has quit [Client Quit]
techlife has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
marr has joined #ruby-lang
imajes has quit [Excess Flood]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
coffeejunk has quit [Ping timeout: 260 seconds]
bzalasky has joined #ruby-lang
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
imajes has joined #ruby-lang
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
workmad3 has joined #ruby-lang
techlife has joined #ruby-lang
solars has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
judofyr has joined #ruby-lang
apeiros_ has joined #ruby-lang
ronaldo__ has quit [Read error: Connection reset by peer]
ronaldo__ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
marr has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
coffeejunk has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
blacktulip has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
chimkan_ has joined #ruby-lang
chimkan has quit [Ping timeout: 244 seconds]
chimkan_ is now known as chimkan
fumduq has joined #ruby-lang
ronaldo__ has quit [Quit: eyb]
chimkan_ has joined #ruby-lang
Guest__ has joined #ruby-lang
chimkan has quit [Ping timeout: 252 seconds]
chimkan_ is now known as chimkan
voker57 has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
Guest__ has quit [Quit: Textual IRC Client: www.textualapp.com]
dhruvasagar has joined #ruby-lang
agnitio has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
dcwu has quit [Quit: Leaving.]
sepp2k has joined #ruby-lang
cba has quit [Quit: Leaving]
dhruvasagar has quit [Ping timeout: 276 seconds]
chimkan_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Paradox is now known as EnglishMuffins
chimkan has quit [Ping timeout: 252 seconds]
chimkan_ is now known as chimkan
<chekcmate> where did everyone go?
EnglishMuffins is now known as Paradox
<yorickpeterse> To work
<Paradox> they were eaten by garbage monsters
<yorickpeterse> And in my case: fixing broken routers
<Paradox> like these: http://i.imgur.com/IhObrJb.png
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
fsvehla has joined #ruby-lang
robotmay has joined #ruby-lang
jxie has joined #ruby-lang
nXqd has joined #ruby-lang
ddd has quit [Ping timeout: 245 seconds]
havenn has quit [Remote host closed the connection]
fsvehla has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 244 seconds]
Mon_Ouie has joined #ruby-lang
megha has joined #ruby-lang
<chekcmate> yorickpeterse: usually, everyone in here is at work... at least injekt and apeiros_ e.g.
<chekcmate> yorickpeterse: hah, what broke?
fsvehla has joined #ruby-lang
<chekcmate> Paradox: garbage collector ate our irc mates? ._.
nXqd_ has joined #ruby-lang
chimkan_ has joined #ruby-lang
nXqd has quit [Ping timeout: 256 seconds]
megha has quit [Read error: Connection reset by peer]
chimkan has quit [Ping timeout: 276 seconds]
chimkan_ is now known as chimkan
<apeiros_> the langoliers are loose
<Paradox> chekcmate, yah
<Paradox> actually those are from the aquabats super show
megha has joined #ruby-lang
nkr has joined #ruby-lang
chimkan_ has joined #ruby-lang
<injekt> moin
chimkan has quit [Ping timeout: 260 seconds]
chimkan_ is now known as chimkan
<yorickpeterse> chekcmate: it's one of those ISP supplied piece of shits that break if more than 2 people use it at the same time
fsvehla has quit [Read error: Connection reset by peer]
fsvehla has joined #ruby-lang
dhruvasa1ar has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
<chekcmate> Paradox: just googled aquabats super show - worldclass haha!
<Paradox> chekcmate, its awesome
<chekcmate> yorickpeterse: hu? What kind of devices do you guys get from your ISP? We got dlink here and it's not that bad tbh
<chekcmate> injekt: moin :)
zmack_ has joined #ruby-lang
zmack has quit [Ping timeout: 252 seconds]
<yorickpeterse> Some braned POS
<yorickpeterse> * branded
<workmad3> heh :) sounds like mine
<Paradox> i've told people one thing when they buy routers
<Paradox> you're going to pay 120 bucks for a good router
<Paradox> or go through three bad ones for 40
<yorickpeterse> I generally tell the following: "Don't go with the standard crap the ISP gives you"
<yorickpeterse> period
<workmad3> well, I have to use the standard crap... I could switch it to modem mode and get my own router, but it just about does the job for home use
<Paradox> best router i ever bought was the Asus AC66U
<Paradox> god damn taht is a good box
megha has quit [Quit: WeeChat 0.4.0]
<workmad3> but without that box, I can't connect to the cable :(
megha has joined #ruby-lang
<Paradox> cable modems
<Paradox> motorola surfboards are $30
cultureulterior has joined #ruby-lang
<Paradox> and the ISPs are legally required to allow you to connect them
chimkan has quit [Ping timeout: 240 seconds]
wudofyr_ has quit [Remote host closed the connection]
wudofyr_ has joined #ruby-lang
<chekcmate> so do you actually notice the difference between routers in private use?
vmoravec has joined #ruby-lang
<Paradox> yes
<Paradox> i had a buffalo n600
<Paradox> it was a good little router
<Paradox> but didnt have much range
<Paradox> and didnt have a very compatible chipset
<Paradox> couldnt run tomato
<injekt> routers suck
<Paradox> that they do
<Paradox> they're like printers
<injekt> quite.
imajes has quit [Excess Flood]
<yorickpeterse> At least my routers don't bitch out on me when I need them the most
<Paradox> the fact that we think its cool to get barely functional installs of linux running
<yorickpeterse> "Oh, you want to print an important document? Well fuck you, I'm out of magenta"
<Paradox> on a device with as much processing power as smartphones in 2010
<Paradox> (phones that ran android)
dhruvasa1ar has quit [Ping timeout: 276 seconds]
<Paradox> is disgusting
<jaska> my printer happily prints while out of specific colors :)
dhruvasagar has joined #ruby-lang
<Paradox> yeah i've generally found that if you want printers that dont give a shit
<Paradox> get laser
imajes has joined #ruby-lang
<jaska> yeah, mines laser
<Paradox> inkjet printers bitch up all the time and may waste up to 90% of their ink
<injekt> hey stop taking out your shit on printers
<Paradox> sorry inkjet
<Paradox> er
<Paradox> injekt
<jaska> freudian slip
<yorickpeterse> He feels used
<yorickpeterse> Get it? Get it? I'll see myself out
<chekcmate> Paradox: I have the standard gear from my ISP, but I'm using cable connection (the one from the TV; you know?)
<Paradox> chekcmate, yeah, you should be able to use any old cable modem
<Paradox> and if the wont let you
<Paradox> you can probably take them to court
<Paradox> or write the FCC
<chekcmate> no, the cable modem is from my isp
<chekcmate> so I have 2 machines in front of my pc - the cable modem and a router
<chekcmate> would it make a difference to switch the router or do I have to change both?
wudofyr_ has quit [Remote host closed the connection]
<chekcmate> ah
<Paradox> i shouldnt be giving technical advice
<Paradox> its 4 am
<Paradox> lol
wudofyr_ has joined #ruby-lang
<Paradox> im trying to brush up on my weakest part of development
<Paradox> testing
<Paradox> but god damn rspec is boring
<Paradox> i know the rspec book tries to be interesting
<Paradox> but i dont care about cucumber
megha has quit [Quit: WeeChat 0.4.0]
<injekt> cucumber is shit, and i dont really like or use rspec either
<chekcmate> Paradox: trying to learn at 4am is like trying to learn at 7am... no use
<Paradox> well
<Paradox> its not the individual testing tool
<Paradox> its getting myself to write tests
<Paradox> i either go full retard
<Paradox> or null retard
<Paradox> one is i dont test anything
lcdhoffman has joined #ruby-lang
<Paradox> the other is i test if 2 + 2 = 4
<chekcmate> aw.. I thought the first one was funnier
<chekcmate> like testing how mustard and honey tastes on a burger or something
<chekcmate> become food tester!
Rarrikins_q_e_y has quit [Remote host closed the connection]
fsvehla has quit [Read error: Connection reset by peer]
<Paradox> i wish developers would spend more time writing decent documentation than writing tess
<Paradox> tests
<Paradox> yard makes writing docs so fucking bloody easy
fsvehla has joined #ruby-lang
sush24 has joined #ruby-lang
<chekcmate> Paradox: that's what I thought several times, even as an apprentice. There's often way too less documentation. Instead there are knowledge-islands in the worst case too..
<Paradox> one thing that bothered me about working at pivotal last summer
<Paradox> i asked about comments for gnarly piece of code
<Paradox> like products.each.map { |k, v| "#{k}#{v}" }.sort
<Paradox> or whatever
<Paradox> and the answer was "tests are the documentation"
<Paradox> no
<Paradox> i dont want to have to pull up harpdarpdurrhurr_request_spec.rb
<Paradox> to figure out what line 345 does
<Paradox> could have been the pivots i worked with but w/e
<Paradox> seemed to be a fairly prevalent view
chimkan has joined #ruby-lang
<Paradox> (that code example i gave was purely fictional, but is a good example, its a way of making "map" accept k,v style values for a hash
<chekcmate> Paradox: we'll talk later, gtg eat :)
<Paradox> i gtg too
<Paradox> sleep
<Paradox> ill be on in 7 hours
vesan has quit [Ping timeout: 245 seconds]
vesan has joined #ruby-lang
banister`sleep has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
krz has quit [Quit: krz]
fsvehla has joined #ruby-lang
postmodern has quit [Quit: Leaving]
g0bl1n has joined #ruby-lang
glebm has quit [Ping timeout: 245 seconds]
wudofyr_ has quit [Remote host closed the connection]
krz has joined #ruby-lang
rippa has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
wudofyr_ has joined #ruby-lang
madish has joined #ruby-lang
megha has joined #ruby-lang
retro|cz has quit [Remote host closed the connection]
lunarjar has joined #ruby-lang
banister`sleep has quit [Ping timeout: 260 seconds]
_tockitj has joined #ruby-lang
wiboon has joined #ruby-lang
spuk has quit [Ping timeout: 256 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
rippa has quit [Ping timeout: 240 seconds]
sush24 has joined #ruby-lang
wiboon has quit [Remote host closed the connection]
Bearproof has joined #ruby-lang
retro|cz has joined #ruby-lang
r0bby has joined #ruby-lang
imajes has quit [Excess Flood]
robbyoconnor has quit [Ping timeout: 255 seconds]
<yorickpeterse> Ugh, I don't like people who write code like `foo( "bar" )`
xcombelle has joined #ruby-lang
* yorickpeterse shakes cane
megha has quit [Ping timeout: 240 seconds]
imajes has joined #ruby-lang
security has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
sepp2k has quit [Remote host closed the connection]
r0bby has quit [Ping timeout: 246 seconds]
jxie has quit [Quit: leaving]
<injekt> you'd hate pistos :D
<injekt> well, his code, not him, he's cool
<yorickpeterse> I should probably clarify: I don't like the code
<yorickpeterse> and sometimes not the people, but that generally comes after I meet them
creede has joined #ruby-lang
GarethAdams has joined #ruby-lang
JohnBat26 has joined #ruby-lang
krz has quit [Quit: krz]
dr_bob has quit [Quit: Leaving.]
goatish_mound has joined #ruby-lang
<charliesome> quick question everyone
<charliesome> say you have obj.is_a?(klass)
<charliesome> what would you call the method for klass.some_method?(obj)
<apeiros_> klass === obj
<apeiros_> Array === [] # => true
<charliesome> if you had to pick a name
<charliesome> this is not for ruby btw
<charliesome> but i thought it'd be good to ask here ;)
<apeiros_> hm
chendo_ has joined #ruby-lang
<yorickpeterse> charliesome: what
<yorickpeterse> You want a name for a method that checks if a method exists?
<apeiros_> no, he wants the reverse of .is_a?
<charliesome> yorickpeterse: i want a name for a method on Class objects that checks if the argument is an instance of the class
<chekcmate> darix: yea, I'm from Hamburg, but injekt started with "moin" somehow... heh
<chekcmate> darix: just saw your qry, sorry for the late answer ^^
<yorickpeterse> charliesome: "herpderp".instance_of?(String)
<charliesome> other way round
<yorickpeterse> also, checking to see if something is an actual instance is not so easy
<yorickpeterse> at least not in Ruby
<charliesome> i was thinking of has_instance
<charliesome> but it feels a bit blegh
<charliesome> so like
<charliesome> String.has_instance("whatever")
<yorickpeterse> why would you do it the other way around?
<yorickpeterse> That doesn't read very nice
<charliesome> it doesn't, but say you wanted to get only the string elements in an array
<charliesome> my_array.filter(String:has_instance)
<charliesome> (btw this is not ruby)
<yorickpeterse> Well, it depends on the implementation. In Ruby you can't abuse, say `.new` (it doesn't exist for Fixnum for example), in other languages you might be able to do something like that
<yorickpeterse> However, I'd stick with something like is_a?() that checks the ancestor tree
<yorickpeterse> Instead of saying "THIS MUST BE A STRING!!!"
<yorickpeterse> If you do the latter you might as well implement static typing
ddd has joined #ruby-lang
<darix> chekcmate: well that could be my fault ;)
cultureulterior has quit [Read error: Connection reset by peer]
GarethAdams has quit [Quit: Linkinus - http://linkinus.com]
cultureulterior has joined #ruby-lang
<yorickpeterse> Actually implementing something like is_a?() is quite easy if you store class ancestors
<chekcmate> darix: it's fine, but we should be patient while germanizing this channel, heh
<charliesome> yorickpeterse: the implementation is not an issue
<charliesome> and i have Object#is_a in this language
<charliesome> but i'd like a method for going the other way around too
fsvehla has quit [Read error: Connection reset by peer]
toretore has joined #ruby-lang
<yorickpeterse> I'd say #has_instance would be the nicest in that case
<yorickpeterse> String.is_used_as_the_object_class('') # this would be the best according to dhh
* yorickpeterse runs
fsvehla has joined #ruby-lang
security is now known as megha
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
lunarjar has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
<injekt> has_instance reads horribly imo
<apeiros_> instanciated?, but IMO that's the reverse of instance_of, not is_a? :-/
<injekt> so this would basically be; def something?(obj); obj.is_a?(self); ?
<charliesome> how does this read? http://eval.in/7836
vesan has joined #ruby-lang
<injekt> I dont think I like has_instance either, String:has_instance('') reads wrong imo
<injekt> but I'm not really helping here as I can't think of anything nicer
Gekz has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
nkr has quit [Read error: Connection reset by peer]
fsvehla_ has joined #ruby-lang
GarethAdams has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
fsvehla_ is now known as fsvehla
nkr has joined #ruby-lang
<yorickpeterse> charliesome: y u use <%
<yorickpeterse> This is not PHP
<yorickpeterse> I hope
<charliesome> this is supposed to be a non-crap php
<yorickpeterse> haha
<yorickpeterse> Just use X instead
<yorickpeterse> I take it this it not actually based on PHP?
<charliesome> of course not :)
<Spaceghost|cloud> apeiros_: instantiated?
<Spaceghost|cloud> charliesome: Also, I dig better_errors.
<charliesome> Spaceghost|cloud: cheers
<Spaceghost|cloud> charliesome: If I can get the time to try it, I might be able to help a bit on jruby support.
<Spaceghost|cloud> For the advanced features.
<charliesome> not possible
<Spaceghost|cloud> No?
<charliesome> at least that's what i gather from my conversations with headius
<Spaceghost|cloud> Oh hm. I would have thought the stacktrace stuff was possible.
<charliesome> the binding of caller stuff?
<Spaceghost|cloud> Stack frames, sorry.
<Spaceghost|cloud> charliesome: Well, the jruby stuff couldn't use binding of caller.
<charliesome> yeah
mossplix has quit [Quit: mossplix]
<charliesome> all the advanced stuff relies on getting bindings from the call stack
<Spaceghost|cloud> charliesome: And that's just not possible in jruby?
glebm has joined #ruby-lang
<Spaceghost|cloud> At all?
<charliesome> nope
<Spaceghost|cloud> Well gosh.
imajes has quit [Excess Flood]
mjolk has joined #ruby-lang
imajes has joined #ruby-lang
chimkan_ has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
fsvehla has joined #ruby-lang
lunarjar has joined #ruby-lang
chimkan has quit [Ping timeout: 260 seconds]
chimkan_ is now known as chimkan
<mjolk> Is there no ruby1.9.3dev ?
lunarjar has quit [Max SendQ exceeded]
dr_bob has joined #ruby-lang
lunarjar has joined #ruby-lang
<workmad3> mjolk: not anymore
<workmad3> mjolk: seeing as it's no longer in development
<workmad3> mjolk: now there's head ;)
* workmad3 realises that 'no longer in development' is potentially ambiguous and inaccurate
<yorickpeterse> "No longer super unstable"
<workmad3> what I meant was that it has been released
<mjolk> okay, so how would i go about using gem to install something if i don't have the goodies that -dev usually carries?
<workmad3> oh, are you talking about system packages?
<mjolk> yeah, hah, sorry
<workmad3> bleh, I never use them
<ddd> Y U NO USE?
<workmad3> hence the confusion :)
<ddd> muahaha! Morning :)
<workmad3> morning :)
<workmad3> ddd: give me one good reason I should use the system packaged ruby :P
<workmad3> ddd: that isn't counteracted by 'it's shit' ;)
<ddd> workmad3: I can't. I'd be lying to you if I said I could think of one
<ddd> I don't lie to friends
<workmad3> hehe
<yorickpeterse> mjolk: what OS/distro are you on?
<mjolk> workmad3 because you can get 1.9.3 from apt
<mjolk> yorickpeterse : ubuntu 12.04
<ddd> yeah, you can get a chopped up to hell and back 1.9.3
<ddd> and ri19, and rdoc19, and libruby19, and ruby19, and..
<workmad3> mjolk: you can also get it from RVM, and it actually works then ;)
<yorickpeterse> THe required -dev packages depend on the gem. I'm on Xubuntu on this laptop but I don't remember the exact names of them all
<yorickpeterse> Some of them are a bit weird like zlib0-dev (or whatever it was)
<workmad3> mjolk: same if you use rbenv... or rbfu... or chruby...
dhruvasagar has quit [Ping timeout: 252 seconds]
<mjolk> fuck rvm in the face
<yorickpeterse> And as mentioned, use some Ruby version manager
* ddd lets out a low growl
lunarjar has quit [Ping timeout: 260 seconds]
<yorickpeterse> Ubuntu applies some patches to your Rubies as well
<workmad3> yorickpeterse: well, zlib is actually an obvious requirement
<workmad3> yorickpeterse: rubygems uses zipped files with a .gem extension ;)
<yorickpeterse> well yeah, but you'd still have to figure out the exact package name
<workmad3> yorickpeterse: oh, right, in that sense yeah... zlib0-dev is odd
* workmad3 just does 'rvm requirements' on servers and installs what it says :) )
<yorickpeterse> zlib1g-dev apparently
huydx has quit [Quit: huydx]
<yorickpeterse> At least my own laptop doesn't have to go through this trouble
<ddd> you can find out the requirements ahead of time. grab RVM's script/requirements file and look for your OS
<mjolk> thanks yorickpeterse for the helpful direction. this is for a vagrant/auto-provisioning script, so using rvm/rbenv/other-multi-version thing makes me want to get killed repeatedly
<ddd> you'll even get a C&P capable line
huydx has joined #ruby-lang
<yorickpeterse> mjolk: heh
fsvehla has quit [Read error: Connection reset by peer]
<ddd> curl -L https://get.rvm.io | bash -s stable —ruby will install RVM and install a ruby for you. single line in your provisioning script. You can also curl -L https://get.rvm.io | bash -s stable && rvm update && rvm —create —install 1.9.3-p327
<ddd> just pull the required pacakges line from the installer ahead of time and make sure all the req'd packages are in and its painless
fsvehla has joined #ruby-lang
<ddd> I use it like that for Jenkins, VBs, and scripted vmware installs
<mjolk> yeah no
<mjolk> i'm not installing dvm like that
idkazuma has joined #ruby-lang
<mjolk> curling from some arbitrary thing is insane
<ddd> uhh thats how you install rvm
<ddd> its not arbitrary
<mjolk> uhhh it's dumb and bad (™)
<ddd> now you're talking out your ass
<mjolk> i know it's what the page suggests, but then you're relying on the package management system and the bash script to be happy together
<yorickpeterse> tbh I don't like curling and passing stuff to bash that way either
<ddd> guess, you might as well forget doing a git clone or apt-get troo then.
<ddd> same exact thing
<mjolk> lol
<mjolk> yes, just pipe all scripts to bash and call it a day
<yorickpeterse> ddd: ehm, the latter is not the case
<mjolk> and hope to god no one ever does a simple man in the middle attack
<yorickpeterse> apt packages are signed so unless the keys get stolen you can more or less trust that whatever you install is what you're installing
<injekt> uh, just wget the source and build it? so many tools there to do these things but all of them do the exact same thing
<ddd> mjolk: oh you mean like could happen with getting packages from a debian site?
<mjolk> those are signed
<ddd> all it takes is adding a dep on one of the MITM injected packages that requires an update to the signature package and inject your new keys
<ddd> just as is done right now with debian and ubuntu. their key packages have both been updated. so it would appear as a normal update
<yorickpeterse> And you think apt won't go batshit crazy when it detects a key mismatch?
<mjolk> look how many words you're typing to somehow rationalize your solution of "let bash run arbitrary scripts"
<mjolk> good lord.
<ddd> yorickpeterse: it uses the keys from the debian-keys package
<yorickpeterse> Key signing is only as secure as the person safe guarding the keys but the whole point of it is to prevent people from being able to inject stuff into something
<injekt> this is why things dont get done ^
<mjolk> So anyway! the answer to "where can i get a package with the files needed to build things with gem" is "idk ruby is shitty and bad in package managers"
<mjolk> which is pretty much expected
<injekt> mjolk: my answer is download the source code from the ruby-lang website and compile and build it yourself
<mjolk> lol
<mjolk> seriously?
<injekt> yes seriously
<mjolk> that's insane.
<yorickpeterse> Well, you have 3 options: Use a decent package manager that can easily install the dev dependencies 2. use something like chruby 3. do it yourself
<ddd> if you're THAT worried about it then injekt's comment is bang on
<injekt> how is THAT insane?
<injekt> that would be the most sane way of doing it
<yorickpeterse> I hate being an Arch cunt but on my own laptop it's just a matter of `pacman -S ruby` and I have all the deps I need (even though I use chruby)
<workmad3> mjolk: that's *exactly* what is still the recommended procedure for *all* software on bastion hosts
<mjolk> i'm not that worried about it ddd, it's just that i don't/shouldn't need RVM when i only need one version of ruby on a system
<injekt> EXACTLY
<injekt> So you build it yourself
<injekt> if you only need one version of ruby then you do not need a ruby version/env manager
<injekt> so you compile the source code yourself and put ruby where you want it
megha has quit [Quit: WeeChat 0.4.0]
<mjolk> injekt yeah, i'll end up doing that, but good lord. i just want the mkmf library
<workmad3> mjolk: tools like rvm appeared because the packages for ruby on pretty much all the distros are truly horrendous for any non-packaged ruby software
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
<ddd> and not have to worry about chopped up meta packages and giving the pkg manager the ability to change your ruby underneath you (there is zero chance you can say that the pkg manager can't push an update that breaks something on your system within that update)
<workmad3> mjolk: and the situation with the distros hasn't changed
x0F_ is now known as x0F
<mjolk> don't blame the distros for a ruby-specific ugliness
<ddd> thus injekt's way of doing it minimizes any chance of external 'messing around'
<apeiros_> we don't
<mjolk> even php doesn't have this facefuck
<apeiros_> we blame the distros for distro-specific ugliness
<ddd> exactly
<workmad3> mjolk: no, because the distros haven't fucked up php like they have with ruby
<yorickpeterse> there you go, problem solved
<mjolk> php seems to work on every distro without having to do a "lol just use this tool with a fucking cartoon header (RVM)"
<workmad3> mjolk: right... because the distros haven't managed to fuck up the packages
<yorickpeterse> it does the moment you want to install a C extension
<ddd> and what yorickpeterse just pointed out is in no way shape or form 'rvm specific'. Those packages would be required to build ruby in the first place.
<injekt> this has nothing to do with distros and packages
<mjolk> workmad3 it's open source. if there was a better solution, it would be pulled in
<ddd> the same packages that your distro would have used to build *its* ruby package
<mjolk> yorickpeterse you are cool.
<apeiros_> mjolk: all I hear from you is "cry whine I have no idea what I'm talking about but I just keep on blabbering"
lunarjar has joined #ruby-lang
<yorickpeterse> Keep it civil folks, this isn't #c
<ddd> hehehe
<mjolk> apeiros_ , no, it's that this is the worst distro/OS-language interaction i've ever seen
<apeiros_> mjolk: I think on that point we agree
<mjolk> Cool.
<mjolk> And you should also agree that piping random scripts to bash is also bad
<ddd> name me one good solid reason for debian, ubuntu or any other package to chop up ruby into *that* many sub packages.
<apeiros_> lots of things you do to install stuff is bad
<injekt> ddd: because fuck you
<mjolk> And that I _shouldn't_ need a virtualenv style setup like RVM when I only have _one_ version of the lang
<apeiros_> plain sudos to install things is bad too, yet I bet you do it probably daily
<ddd> injekt: hah! :)
<injekt> you dont need a version manager
<mjolk> ddd : minimal required software, go longer between potentially dangerous upgrades, increase modularity, reduce vulnerabilities
<workmad3> mjolk: agreed, you shouldn't... you can compile from source, or figure out what the hell is going on with the distro packages
<workmad3> mjolk: using something like rvm is easier though
<injekt> I dont use ruby version managers
<mjolk> rvm is a clusterfuck.
<mjolk> it re-aliases your cd.
<injekt> i dont use rvm, rbenv, chruby or anything else, because i dont need them
<mjolk> anyway.
<mjolk> one version. one love.
<mjolk> i'll just roll my own package
<workmad3> mjolk: wow, you're trotting out that old piece of garbage FUD now? :)
<yorickpeterse> I use a Ruby version manager written in PHP
<mjolk> it's not fud.
* yorickpeterse pukes
<ddd> mjolk: it has always been an opt-in/out aliasing. it was originally turned OFF actually. it was turned back on because the *community* requested it.
<apeiros_> mjolk: make it good, market it, get the distro to use yours instead of the currently fucked up, and you'll actually be a hero.
<ddd> it IS fud
<mjolk> the community is fucking insane then.
<ddd> riiight
<mjolk> what other solution has "just modify one of the most common general linux commands, LOL" as a function
<mjolk> anyway.
<yorickpeterse> Ok, here's something that creeps me out: Ruby devs with furry Twitter profile photos/backgrounds
<ddd> too funny
fsvehla has quit [Read error: Connection reset by peer]
<mjolk> yorickpeterse yeahhhh…and this shit: https://img.skitch.com/20090904-fyqnyu8pcr36ahe91er9x28bhi.png
banister`sleep has joined #ruby-lang
<yorickpeterse> I actually liked that comic
<yorickpeterse> mostly because I know the original as well
<mjolk> yeah, let me seriously use this solution with some sort of furry cartoon site linked
<injekt> ok dude I don't like rvm either but that banner is awesome
lunarjar has quit [Ping timeout: 252 seconds]
<mjolk> that banner is awful good lord.
fsvehla has joined #ruby-lang
<injekt> anyway, I don't like rvm so I dont use it, I dont waste my time complaining about it and certainly don't complain about the banner of all things, just use something else and move on
<ddd> and wtf does that have to do with the capability of a peice of software
<mjolk> ddd nothing, but just lol.
<yorickpeterse> mjolk: I'd suggest you go drink some tea/coffee instead of raging on the internet
<mjolk> it's so apropos
<ddd> hell Maya has a butt ugly logo but its a damned solid peice of 3D modeling software
<mjolk> i'm not raging
<mjolk> i'm perfectly calm
<ddd> yeah riiight you're not
<mjolk> i'm not at all, really
<mjolk> i think it's endlessly hilarious
<injekt> judofyr: yo!
<judofyr> injekt: yo yo
<ddd> exactly what comics are supposed to invoke. the logo beig a cartoon couldn't *possibly* reflect that you shold be having fun with ruby.. no not at all
<injekt> judofyr: what was your talk proposal?
dustint has joined #ruby-lang
<judofyr> injekt: MDD. but going to submit Zoid later
<mjolk> to me it says "bleep blorp pipe to bash lol webscale"
<injekt> judofyr: oh cool
<ddd> (which incidently was one of the things wayne was trying to point out)
<mjolk> anyway, yorickpeterse, thanks again
<mjolk> and everyone else generally, i guess
<ddd> ok, that ended it for me. webscale.. wtf
<ddd> later
<mjolk> ddd - i was mocking it
<mjolk> i'm not _earnestly_ using webscale
<yorickpeterse> http://www.vgcats.com/comics/?strip_id=285 here's the original for those who are interested
<yorickpeterse> which reminds me, it's been fucking ages since I visited that website
<ddd> mocking something with bullshit .. still makes your mockming, bullshit. so, moving on
<mjolk> yorickpeterse when you click the RVM banner, it directs to that
<ddd> s/ckm/ck/
<yorickpeterse> oh?
<mjolk> yeah, my python thing re-aliases `ls` because the community demands it
Bearproof has joined #ruby-lang
<ddd> yorickpeterse: hehe funny
<judofyr> mjolk: re-aliases ls?
<mjolk> mocking the cd thing
<injekt> judofyr: abort
<mjolk> haha
<mjolk> anyway
<mjolk> chef is cool
<mjolk> and puppet is cool
<mjolk> and they're written in ruby, so good enough
<yorickpeterse> ohgod, the Puppet codebase is anything but cool
<mjolk> not saying the codebase
Bearproof has left #ruby-lang [#ruby-lang]
<ddd> he just digs deeper and deeper
<mjolk> what they attempt to accomplish is cool
<ddd> anyways, back to Cinema 4D
chimkan_ has joined #ruby-lang
<judofyr> injekt: any other suggestions for proposals I can send in?
marcostoledo has joined #ruby-lang
<injekt> judofyr: not really, I think both those would be interesting especially zoid
chimkan has quit [Ping timeout: 246 seconds]
chimkan_ is now known as chimkan
<judofyr> injekt: good. we'll see what happens :)
<injekt> judofyr: is that far from you?
<yorickpeterse> proposals? what did I miss this time?
kwargs has joined #ruby-lang
<judofyr> injekt: https://maps.google.com/maps?q=from+Oslo,+Norway+to+Stockholm,+Sweden&saddr=Oslo,+Norway&daddr=Stockholm,+Sweden
<yorickpeterse> judo getting married?
<injekt> judofyr: :D
melter has quit [Remote host closed the connection]
<injekt> yorickpeterse: nordic ruby
<yorickpeterse> wait, when is this?
<judofyr> June
<judofyr> Stockholm
<yorickpeterse> hmmmm
<yorickpeterse> I should poke my CTO about this if it isn't the same time as Euruko
<injekt> it's a few days before euruko iirc
<charliesome> judofyr: "Don't: Use your presentation to present a particular library or other piece of technology, unless doing so serves the purpose of sparking discussion or inspiring others with new ideas."
<injekt> or after
<charliesome> there is a fine line
<yorickpeterse> holy shit that's expensive
<judofyr> charliesome: it's not my fault that no-one has implemented proper mockup-driven development frameworks
<judofyr> yorickpeterse: everything is included though. hotel, dinners, parties, lunch
<charliesome> oh i thought you were talking about zoid?
kwargs has quit [Client Quit]
<judofyr> charliesome: ah, well, yeah, that's a finer line :)
<yorickpeterse> judofyr: hmm, that makes it somewhat more acceptable
<charliesome> i think a zoid talk would be amazingly interesting
<yorickpeterse> zoid?
kwargs has joined #ruby-lang
<judofyr> yorickpeterse: my zecret project :)
<yorickpeterse> Oh, that ORM thing?
<judofyr> (it's basically secret because I never manage to finish it)
<injekt> no
<judofyr> oh, no. that's my other secret project
<yorickpeterse> Ah, it's your forever project
<judofyr> well, I haven't actually started on Zorm yet
<judofyr> or, not really
<judofyr> it was just a Christmas hack
<judofyr> Zoid is more like my forever project, yes
<yorickpeterse> that's what I meant
<judofyr> :)
<judofyr> I think I conference deadline would do me good
<yorickpeterse> zomg, the nordic Ruby lineup so far only has white males
<injekt> :/
<injekt> lets not go there
<yorickpeterse> Also, regardless of what it is don't overestimate the time you have for the project
carloslopes has joined #ruby-lang
<injekt> even I got labeled for that shit
<yorickpeterse> wat
<injekt> the manchester stuff
<yorickpeterse> Even the friendly neighbourhood carpenter?
<yorickpeterse> oh that drama
<yorickpeterse> Yeah haha, so did I
<yorickpeterse> Because a certain someone misquoted me
s1n4 has joined #ruby-lang
<judofyr> "Another thing we’re doing differently this year is that we’re starting out with anonymous proposals."
<yorickpeterse> Anyway, judofyr: unless you have lots of time you shouldn't count on finishing everything
<yorickpeterse> Unless it's something small
<charliesome> yorickpeterse: let's start a shitstorm on twitter about nordic ruby's sexism
<injekt> heh, mine was because im british and we're all the same
<yorickpeterse> Yeah totally, you all live in London as well
<injekt> ya
<injekt> with andrewvos
<yorickpeterse> and you all run around in track suits yelling "BRUV"
<injekt> are you watching me?
<andrewvos> wow
<andrewvos> I was just lookign in here :
<andrewvos> :)
<yorickpeterse> injekt: only when you sleep
<injekt> D:
<injekt> ;)
<yorickpeterse> haha
<judofyr> yorickpeterse: I already have ~3k lines of Ruby code written though :)
<yorickpeterse> LOC means fuck all
<injekt> I think my forever project is relapse :(
<yorickpeterse> I had 3k LOC for my linter. Almost 6 months later and it's not even in a stable beta
<yorickpeterse> maybe I should start a Kickstarter
<charliesome> crap slash is 16kloc
kwargs has quit [Quit: Page closed]
ovatsug25 has joined #ruby-lang
jxie has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
Glass_saga has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
Glass_saga has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
Glass_saga has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
swav_ has joined #ruby-lang
* chekcmate is happy that his script is working
* judofyr is happy that chekcmate's script is working
<judofyr> charliesome: how's Slash going?
arooni-mobile has joined #ruby-lang
<charliesome> judofyr: it's cracking along
<judofyr> charliesome: did you see Uno?
<charliesome> nope, linky
<charliesome> also slash performs somewhat respectably now
<chekcmate> is the fight over?
<chekcmate> who won?
dous_ has joined #ruby-lang
<charliesome> i added fancy schmancy things like method caching
swav has quit [Ping timeout: 260 seconds]
<chekcmate> wrong channel again...
<charliesome> judofyr: ah yes you showed this off a while ago in here
<charliesome> looks cool
<judofyr> charliesome: cool. I'm going to start work on some static-analysis for Uno.
dous has quit [Ping timeout: 256 seconds]
<judofyr> charliesome: but yeah, I think I need to just write some shit it in. right now it only has immutable values.
<judofyr> not sure how that's actually going to work out
Glass_saga has joined #ruby-lang
<judofyr> but we'll give it a try!
Glass_saga has quit [Remote host closed the connection]
<charliesome> with slash i'm in the cycle of i want to write something in it
<charliesome> but first i need to implement something
<charliesome> or bind to some c library
<judofyr> what do you miss?
banister`sleep has quit [Ping timeout: 255 seconds]
<charliesome> a lot of string munging stuff
<charliesome> that's always handy
<charliesome> i need to rejigger how strings work
<judofyr> how do they work now?
<mjolk> anyway, the packages I needed were 'libxslt-dev libxml2-dev', in case this chat gets archived/searched later by someone else in the same boat as needing mkmf on ubuntu's aptitude repo
<charliesome> the current implementation is some misguided attempt to support both utf-8 and binary data
<charliesome> i want to kick that out the door
<judofyr> ah, encodings
<judofyr> what are you going for?
<charliesome> i'm gonna make String utf-8 only
<charliesome> the constructor enforces that
melter has joined #ruby-lang
<charliesome> then add a ByteString class
<judofyr> cool
<charliesome> my favourite new feature is use statements
<charliesome> sort of like perl's
<judofyr> oo
<judofyr> how do they work?
scampbell has joined #ruby-lang
<charliesome> use Foo::Bar turns into require("foo/bar") and returns Foo::Bar
<charliesome> if foo/bar.sl doesn't define Foo::Bar, it throws
<judofyr> I like it
<chekcmate> guys, are there any Ruby-Conventions?
<chekcmate> (does this exist at all in Europe?)
<judofyr> Conventions?
<apeiros_> chekcmate: yes
<chekcmate> er.. like meetings, where people talk/learn from each other
<apeiros_> next euruko is in athen
<yorickpeterse> chekcmate: Euruko, Nordic Ruby
outoftime has joined #ruby-lang
<apeiros_> there are a ton of other conferences
<yorickpeterse> and small national ones probably
<chekcmate> aw Greece...
<yorickpeterse> FOSDEM is also in the EU
<chekcmate> they're a fan of Merkel I heard
<chekcmate> oh alright, I thought the most ones are based in Japan/USA
<apeiros_> the bigger ones are
<chekcmate> at least those were the only ones I read about (:
<apeiros_> there's nothing as big as a railsconf in europe to my knowledge
<chekcmate> haven't been to a programming event yet
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<chekcmate> (*programming language event)
<chekcmate> how the ef do you call these?!
<yorickpeterse> "Nerds the gathering"
<yorickpeterse> Though "conferences" is the official term
<chekcmate> hm, how do you like: guys-who-will-reign-the-world-someday-event ?
<whitequark> sigh
arooni-mobile has quit [Remote host closed the connection]
<chekcmate> heh
nkr has quit [Ping timeout: 256 seconds]
Glass_saga has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
jtoy has joined #ruby-lang
fsvehla has joined #ruby-lang
Glass_saga has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
RubyHead has joined #ruby-lang
ephialtes480 has quit [Quit: Leaving...]
rippa has joined #ruby-lang
ephialtes480 has joined #ruby-lang
chimkan_ has joined #ruby-lang
dous_ is now known as dous
banister`sleep has joined #ruby-lang
banister`sleep has left #ruby-lang [#ruby-lang]
banisterfiend has joined #ruby-lang
jonahR has joined #ruby-lang
Uranio has joined #ruby-lang
chimkan has quit [Ping timeout: 260 seconds]
chimkan_ is now known as chimkan
Mon_Ouie has quit [Ping timeout: 260 seconds]
tomzx_mac has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
marcostoledo has quit [Quit: Leaving...]
wudofyr_ has quit [Remote host closed the connection]
wudofyr_ has joined #ruby-lang
banisterfiend has quit [Ping timeout: 256 seconds]
fsvehla has joined #ruby-lang
<injekt> man i hate lexers
goatish_mound has quit [Read error: Connection reset by peer]
<yorickpeterse> that's like saying you hate people
<yorickpeterse> can you be a bit more broad?
<judofyr> yorickpeterse: who doesn't hate people?
nkr has joined #ruby-lang
<injekt> well, I hate trying to figure out the best way of writing what I'm writing
<judofyr> injekt: isn't that kinda the definition of programming?
<injekt> judofyr: yeah :(
<injekt> so many routes to go
<injekt> none of them comfortable
mistym has quit [Remote host closed the connection]
vbatts|mobile has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 260 seconds]
<injekt> jesus date_parse is messy
imajes has quit [Excess Flood]
<injekt> and it's just one big regexp anyway
<injekt> yay
fsvehla has quit [Read error: Connection reset by peer]
ryanv-raptor has joined #ruby-lang
vlad_starkov has joined #ruby-lang
imajes has joined #ruby-lang
fsvehla has joined #ruby-lang
megha has joined #ruby-lang
KA_ has joined #ruby-lang
cored has quit [Quit: leaving]
unlikely_monkey has joined #ruby-lang
fsvehla has quit [Client Quit]
g0bl1n has quit [Quit: g0bl1n]
totallymike has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
Kuifje has joined #ruby-lang
Kuifje has quit [Changing host]
Kuifje has joined #ruby-lang
<chekcmate> where the hell do I get this (Errno::ENAMETOOLONG) from?
sailias has joined #ruby-lang
<mistym> chekcmate: Without seeing your code it's hard to say. Are you hitting the filesystem in your code?
<injekt> chekcmate: pathname looks like it's too long
<chekcmate> yes sir
<injekt> chekcmate: are you using find?
<chekcmate> yea, I googled that and it's pretty obvious that something's "too long" ... I don't get it since I don't even have output, but get output which is that long
<injekt> chekcmate: are you on windows?
<chekcmate> no
krz has joined #ruby-lang
<chekcmate> but I have 28k files to iterate over
<lianj> trying to open or write a file with long name?
<mistym> You're iterating over 28k files; what are you doing with them?
<chekcmate> hm, not really - the file names are set by myself...
fsvehla has joined #ruby-lang
<chekcmate> mistym: I delete them afterwards?
<mistym> chekcmate: OK, but what do you do before that?
<mistym> So can we see some code that raises this?
<chekcmate> if I knew which part raises it... heh
<chekcmate> I'll take a look at it, maybe it's another blindness-mistake
<ryanv-raptor> isn't there a line number in the backtrace?
fsvehla has quit [Client Quit]
<chekcmate> mistym: http://pastie.org/5909019
<chekcmate> it's in "open", right?
<lianj> yes
<yorickpeterse> You really don't want to create 28k file descriptors
<lianj> and line2file sound funny too
<yorickpeterse> that's going to shit all over your computah
<lianj> (or could be)
<chekcmate> I did not know it was 28k files coming to me ._.
<yorickpeterse> Start from the beginning: what are you trying to do?
<chekcmate> I thought it was like 2k or something...
nXqd_ has quit [Ping timeout: 252 seconds]
<chekcmate> yorickpeterse: use strace, process the trace files and organize the various operations in them into seperate files
<chekcmate> like readonly, stat, mkdir, ...
<yorickpeterse> and you have 28k strace files?
<chekcmate> yes
<yorickpeterse> wat
<yorickpeterse> You're going to have to do that in batches
<chekcmate> it's a DP which contains about 250 programs
<injekt> or use node
<yorickpeterse> injekt: go jump off a bridge
<injekt> :D
gnufied has quit [Quit: Leaving.]
<yorickpeterse> chekcmate: thought about using Perl? I'm not actually kidding, it's a valid use case for this
<yorickpeterse> Then again even 28k is going to be hard for it
<chekcmate> haven't used it yet, just took a look at it
<chekcmate> though I know some python :)
<yorickpeterse> Start with the easiest approach: limit it to, say, 5k files at once
<chekcmate> how about threads?
<yorickpeterse> Won't solve it
<yorickpeterse> Your problem is not concurrency
<yorickpeterse> It's that you're opening too many files or files with the filepaths being way too long
<chekcmate> wait
<yorickpeterse> Threading is pretty much useless in MRI anyway
<chekcmate> I check that its not the filepath
<yorickpeterse> Then it's the amount of file handles created
<chekcmate> hm, it can't be the filepath
<lianj> why, how is is made up
<chekcmate> Dir.glob("#{Dir.pwd}/trace/trace.*")
<chekcmate> um, can that be it?
<chekcmate> it's an array which contains every trace file I created
<lianj> just paste ProcessTraceFilesOnly.rb
<chekcmate> alright, but don't laugh - I'm still a beginner
jonahR has quit [Quit: jonahR]
nXqd has joined #ruby-lang
<yorickpeterse> chekcmate: http://pastie.org/5909367 something like this
<yorickpeterse> also use Dir[] and not Dir.glob(), otherwise it will create 28k array elements
<chekcmate> that's the part I extracted from my bigger script
<jasiek> hey, why does this happen? -> https://gist.github.com/96f1f84f056b8deb24ed
<jasiek> i know that { } and do ... end have different priorities but i don't think that's it.
<yorickpeterse> jasiek: wat
<yorickpeterse> "why does this happen" there's no error or anything
g0bl1n has joined #ruby-lang
<jasiek> there is, i get "tried to create Proc object without a block" with the latter
agnitio has quit [Read error: Connection reset by peer]
<yorickpeterse> Right, that's not very clear. Either way I have no idea, it looks fine to me
<judofyr> jsaak: the last one gets parsed as: after_save(:search_index, :if => lambda) do … end
zmack_ has quit [Remote host closed the connection]
<yorickpeterse> hmm
powershellyoda has joined #ruby-lang
<jasiek> ah, so it thinks it's passing that block into a method
MaddinXx has joined #ruby-lang
<jasiek> that makes sense.
<yorickpeterse> I need to shove that shit in my linter
<yorickpeterse> if I can even detect that
<chekcmate> yorickpeterse: did you retrieve the link?
<jasiek> yorickpeterse: it'll blow up when you try to run it
<yorickpeterse> chekcmate: Yeah I looked at it, my suggestion still stands
<chekcmate> it somehow isn't correctly formatted
<yorickpeterse> jasiek: apparently, but the error isn't very clear in this case
<chekcmate> yorickpeterse: but form the look at the code? what can I improve? I'm on the Dir[] part
<chekcmate> *from
<jasiek> thanks guys.
<yorickpeterse> chekcmate: kill the switch statement
gnufied has joined #ruby-lang
<lianj> yorickpeterse: why, he isnt opening 28k files without closing them
unlikely_monkey has quit [Remote host closed the connection]
<yorickpeterse> lianj: Ruby probably shits itself at some point, hence the suggestion to try a batch of N items
<yorickpeterse> chekcmate: also, I think another issue might be that you're creating one file per line
jtoy has quit [Quit: jtoy]
g0bl1n has quit [Client Quit]
<yorickpeterse> Instead of 1 file per set of lines (grouped per type)
<chekcmate> no
<chekcmate> I append
<yorickpeterse> Ah, missed that
<chekcmate> it's not 1 line/1 file
<yorickpeterse> Can you pastie an example strace file?
<chekcmate> it's 11 files
<yorickpeterse> cbf doing work anyway
<yorickpeterse> Just a sample is fine as well
<chekcmate> LOL
<chekcmate> why did it work now?!
powershellyoda has quit [Client Quit]
<yorickpeterse> If you're using batches: that's why. If not: it will probably break the next time
<chekcmate> I haven't changed anything, but another process (the real one) actually went through
<chekcmate> so the complete script is able to process everything, but part of it isn't?
<chekcmate> 1359385842.067901 open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 <0.000009> 1359385842.067982 execve("/bin/rm", ["rm", "-f", "/home/amos/sample/data/sample/ru"...], [/* 103 vars */]) = 0 <0.000091>
<lianj> yorickpeterse: not it doesnt.
<chekcmate> unixtime at the beginning is a new line
<lianj> line2file("#{tipath}readonly_files.trace", line) is wrong, it creates a long filename
<chekcmate> so I effed up while extracting that part from my script?
<lianj> should be "./" or something
<chekcmate> oh jesus
<chekcmate> you're right
janjos has quit [Quit: Konversation terminated!]
<lianj> but "#{tipath}readonly_files.trace" right now created "[path1,path2,path3readonly_files.trace"
<chekcmate> lianj: http://pastie.org/5909563
<lianj> nothing wrong with open and closing that many files. the filename was just to long because it was created wrong
<chekcmate> that's the method I extracted
<chekcmate> but I messed up editing it :/
<yorickpeterse> lianj: hmm, nice catch
<yorickpeterse> Even so, I think it's a bit dirty to open/create 28k files :)
<chekcmate> damn... again blindness of doom ._.
<chekcmate> yorickpeterse: you're absolutely right, I just did not know any better way :)
<lianj> yorickpeterse: a bit maybe, but not like ruby cant handle it, i guess
marr has quit []
<chekcmate> + there are faster ways probably, hu?
slaytanic has quit [Ping timeout: 245 seconds]
<lianj> chekcmate: you only open and write one at a time, what should be bad about it
Mon_Ouie has joined #ruby-lang
<chekcmate> so threading IS an option?
<lianj> not really
<lianj> chekcmate: did you fix your filepath too long issue now?
<chekcmate> yes
<chekcmate> I just edited the method wrong
<chekcmate> so the tracefiles became the path
<lianj> great, so move along happily
<chekcmate> thank you guys
<chekcmate> lianj: I'm always happy!
<lianj> \o/
zmack has joined #ruby-lang
<chekcmate> that's how a lone of "mkdir" looks at the end: 1359381834.151259:/tmp/hsperfdata_root:0.000015 :)
<chekcmate> *line
adambeynon has joined #ruby-lang
<zzak> good morning!
<chekcmate> hi zzak
<lianj> chekcmate: what program did create the tmp/hsperfdata thingy?
<chekcmate> hsperfdata?!
<chekcmate> you mean what program I'm tracing?
<chekcmate> ah
<lianj> yes, which program creates that folder
<chekcmate> it's a system which is used for small to medium sized online stores of my company
<yorickpeterse> Java apparently creates it
<chekcmate> yes
<yorickpeterse> dat Google
<chekcmate> it's not bad, but old
slaytanic has joined #ruby-lang
<lianj> yorickpeterse: thanks, evil java
<chekcmate> the system is called AMOS (asian mail order system), if anyone cares (I don't suppose so, since it's intern only..)
<chekcmate> and the first google entry is this
<chekcmate> which I find pretty amusing :)
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
<yorickpeterse> tehee
<chekcmate> yorickpeterse: there's a mistake in your script
<chekcmate> or is it? I'm not sure, since I don't know what kinda uber-tricks you know and I don't
jtoy has joined #ruby-lang
<injekt> just missing a closing ]
<zzak> presi on weds, still not done editting slides and have no notes (ノдヽ)
<injekt> and .each heh
<ericwood> ]
<injekt> zzak: /o\
imajes has quit [Excess Flood]
<chekcmate> alright, now I'm REALLY PROUD
alvaro_o has joined #ruby-lang
imajes has joined #ruby-lang
<chekcmate> because I did that 5 minuntes ago
<yorickpeterse> Oh yeah that's right, syntax error
<chekcmate> where's my title? I want "Yorickpeterse-Corrector"
<yorickpeterse> heh
<chekcmate> tehe, thanks yorick
<chekcmate> (do you play league of legends by any chance?)
<yorickpeterse> Actually I do
<yorickpeterse> and yes, I know there's a character with my name
<chekcmate> I have one too!
<chekcmate> <- darius
<yorickpeterse> heh
<chekcmate> hahh
RubyHead has quit [Remote host closed the connection]
<chekcmate> great talk again with you guys, going home now - have a great day everyone!
jonahR has joined #ruby-lang
chekcmate has quit [Quit: Page closed]
methods has joined #ruby-lang
cirenyc has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
lcdhoffman has quit [Ping timeout: 260 seconds]
<yorickpeterse> Naming question: I have a method called `has_definition?` which checks for X in the current object as well as in all parent objects. What would be a good name for a similar method that *only* checks for X in the current object
<yorickpeterse> (thus ignoring all the parents)
<ericwood> the object is going through its rebellious teenage phase, and thus ignoring its parents
<yorickpeterse> has_emo_definition?
<ericwood> I think that's a pretty good name
<yorickpeterse> or has_teenager_definition
<ericwood> has_angst?
<yorickpeterse> haha
<yorickpeterse> has_issues
<ericwood> I think I've seen that ina ra rails app lol
<ericwood> *in a rails app
KA_ has quit [Quit: KA_]
krohrbaugh has quit [Quit: Leaving.]
Axsuul has joined #ruby-lang
mercwithamouth has joined #ruby-lang
<yorickpeterse> In all seriousness though, something like `has_definition_directly?` is too long.
nXqd has quit [Ping timeout: 260 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<apeiros_> teen_spirit?
<yorickpeterse> Hm, `defines?` might be a good one
<yorickpeterse> some_object.defines?(some_other_obj)
<yorickpeterse> Though I feel that might be a bit confusing in combination with has_definition?
carloslopes has quit [Remote host closed the connection]
<GarethAdams> yorickpeterse: is `has_definition?` like `respond_to?` ?
<yorickpeterse> No, it checks for a combination of a data type and name
<yorickpeterse> e.g. `has_definition?(:constant, 'String')`
Rarrikins has joined #ruby-lang
<GarethAdams> sure, not in behaviour but it's the same kind of approach. You're wanting the same kind of thing as if you wanted respond_to? to apply to that one instance
<judofyr> yorickpeterse: has_own_definition? maybe?
<yorickpeterse> hm, I prefer defines?() over that
b1rkh0ff has quit [Ping timeout: 240 seconds]
<yorickpeterse> tests green, awww yeah
glebm has quit [Ping timeout: 252 seconds]
methods has left #ruby-lang [#ruby-lang]
<yorickpeterse> and now to head home, taters
fsvehla has joined #ruby-lang
enebo has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 276 seconds]
mytrile has quit [Remote host closed the connection]
zhul_mechanos has joined #ruby-lang
wyhaines has joined #ruby-lang
datanoise has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
kirkhaines has joined #ruby-lang
kirkhaines has left #ruby-lang [#ruby-lang]
KA_ has joined #ruby-lang
KA_ has quit [Client Quit]
banisterfiend has joined #ruby-lang
io_syl has joined #ruby-lang
jtoy has quit [Quit: jtoy]
judofyr has quit [Remote host closed the connection]
KA_ has joined #ruby-lang
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
wallerdev has joined #ruby-lang
aedorn has joined #ruby-lang
carloslopes has joined #ruby-lang
crudson has quit [Ping timeout: 246 seconds]
kentos has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
chimkan_ has joined #ruby-lang
__BigO__ has joined #ruby-lang
chimkan has quit [Ping timeout: 252 seconds]
chimkan_ is now known as chimkan
KA_ has quit [Quit: KA_]
glebm has joined #ruby-lang
carloslopes has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Remote host closed the connection]
bluepojo has joined #ruby-lang
tylersmith has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
KA_ has joined #ruby-lang
jtoy has joined #ruby-lang
KA_ has quit [Client Quit]
creede has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
jtoy has quit [Quit: jtoy]
shtirlic has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
carloslopes has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 240 seconds]
creede has joined #ruby-lang
havenn has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
gregmoreno has joined #ruby-lang
mercwithamouth has joined #ruby-lang
megha has quit [Quit: WeeChat 0.4.0]
vlad_starkov has quit [Remote host closed the connection]
solars has quit [Ping timeout: 252 seconds]
bantic has joined #ruby-lang
marr has joined #ruby-lang
nXqd has joined #ruby-lang
ryanv-raptor has quit [Quit: Leaving.]
tylersmith has quit [Quit: tylersmith]
s1n4 has quit [Quit: leaving]
Rarrikins has quit [Remote host closed the connection]
JMcAfreak has joined #ruby-lang
nXqd has quit [Ping timeout: 256 seconds]
sn0wb1rd has joined #ruby-lang
publicvoid has joined #ruby-lang
ovatsug25 has quit [Remote host closed the connection]
ovatsug25 has joined #ruby-lang
jtoy has joined #ruby-lang
ovatsug25 has quit [Remote host closed the connection]
ovatsug25 has joined #ruby-lang
blazes816 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
agile has joined #ruby-lang
ovatsug2_ has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
zmack has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
ovatsug25 has quit [Ping timeout: 244 seconds]
carloslopes has quit [Remote host closed the connection]
schroedinbug has quit [Ping timeout: 255 seconds]
gustavnils has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
krz has quit [Quit: krz]
carloslopes has joined #ruby-lang
jtoy has quit [Quit: jtoy]
__butch__ has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
goatish_mound has joined #ruby-lang
goatish_mound is now known as rsl
MaddinXx has quit [Remote host closed the connection]
jrafanie has joined #ruby-lang
ottbot has quit [Ping timeout: 260 seconds]
intellitech has joined #ruby-lang
jtoy has joined #ruby-lang
bluepojo has quit [Quit: Leaving.]
bluepojo has joined #ruby-lang
ovatsug2_ has quit [Remote host closed the connection]
outoftime has quit [Ping timeout: 276 seconds]
ottbot has joined #ruby-lang
chimkan_ has joined #ruby-lang
srbaker has joined #ruby-lang
chimkan has quit [Ping timeout: 252 seconds]
chimkan_ is now known as chimkan
b1rkh0ff has quit [Ping timeout: 252 seconds]
jrafanie has quit [Quit: jrafanie]
b1rkh0ff has joined #ruby-lang
ryanv-raptor has joined #ruby-lang
ryanf has quit [Quit: leaving]
solars has joined #ruby-lang
Stilo has joined #ruby-lang
ottbot has quit [Ping timeout: 252 seconds]
<Stilo> hi someone can help me with a problem?
<ddfreyne> Banistergalaxy: I am using pry for a nanoc console feature ♥
<ddfreyne> Stilo: Just state your problem… if somebody can help you, they probably will
mrsolo has joined #ruby-lang
chimkan_ has joined #ruby-lang
chimkan has quit [Ping timeout: 256 seconds]
chimkan_ is now known as chimkan
outoftime has joined #ruby-lang
jtoy has quit [Quit: jtoy]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Stilo has joined #ruby-lang
enebo has quit [Quit: enebo]
jtoy has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
enebo has joined #ruby-lang
andrewhl has joined #ruby-lang
ryanv-raptor has quit [Quit: Leaving.]
tbuehlmann has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
jonahR has quit [Quit: jonahR]
robotmay has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
__butch__ has quit [Client Quit]
__butch__ has joined #ruby-lang
jtoy has joined #ruby-lang
Miraks has joined #ruby-lang
ryanv-raptor has joined #ruby-lang
anachronistic has joined #ruby-lang
anachronistic has quit [Client Quit]
krohrbaugh has quit [Quit: Leaving.]
alvaro_o_ has joined #ruby-lang
imajes has quit [Excess Flood]
bantic has quit [Ping timeout: 256 seconds]
imajes has joined #ruby-lang
alvaro_o has quit [Ping timeout: 276 seconds]
Miraks has quit []
Banistergalaxy has quit [Ping timeout: 252 seconds]
Banistergalaxy has joined #ruby-lang
Miraks has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
ovatsug25 has joined #ruby-lang
Miraks has left #ruby-lang [#ruby-lang]
Miraks|2 has joined #ruby-lang
Miraks|2 has quit [Client Quit]
ovatsug25 has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
Miraks has joined #ruby-lang
marr has quit [Ping timeout: 276 seconds]
zmack has joined #ruby-lang
cultureulterior has quit [Quit: cultureulterior]
Miraks has quit [Client Quit]
Miraks has joined #ruby-lang
cultureulterior has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
cultureulterior has quit [Client Quit]
bantic has joined #ruby-lang
bantic has quit [Client Quit]
megha has joined #ruby-lang
enebo has quit [Quit: enebo]
vlad_starkov has joined #ruby-lang
imajes has quit [Excess Flood]
ottbot has joined #ruby-lang
imajes has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
pbjorklund_ has joined #ruby-lang
pbjorklund has quit [Ping timeout: 246 seconds]
krohrbaugh has joined #ruby-lang
imajes has quit [Excess Flood]
megha has quit [Quit: WeeChat 0.4.0]
zmack has quit [Remote host closed the connection]
benanne has joined #ruby-lang
imajes has joined #ruby-lang
drbrain has joined #ruby-lang
Uranio has quit [Quit: while you reading this, a kitty dies]
s1n4 has joined #ruby-lang
havenn has quit [Remote host closed the connection]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
havenn has joined #ruby-lang
havenn has quit [Ping timeout: 244 seconds]
drbrain has quit [Remote host closed the connection]
drbrain has joined #ruby-lang
sn0wb1rd has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby-lang
drbrain has quit [Read error: Connection reset by peer]
drbrain_ has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
brianpWins has joined #ruby-lang
krohrbaugh has joined #ruby-lang
drbrain_ has quit [Ping timeout: 256 seconds]
apeiros_ has joined #ruby-lang
maxmanders has joined #ruby-lang
megha has joined #ruby-lang
banisterfiend has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
toretore has quit [Ping timeout: 255 seconds]
toretore has joined #ruby-lang
schaerli has joined #ruby-lang
Miraks has quit [Ping timeout: 276 seconds]
nguerin has joined #ruby-lang
havenn has joined #ruby-lang
aedorn has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 245 seconds]
aedorn has joined #ruby-lang
mistym is now known as mistym_lunch
kain has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
gouthamgandhi has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
ryanf has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
techlife has quit [Ping timeout: 252 seconds]
megha has quit [Quit: WeeChat 0.4.0]
megha has joined #ruby-lang
rwilcox has joined #ruby-lang
kain has joined #ruby-lang
bg451 has joined #ruby-lang
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
solars has quit [Ping timeout: 255 seconds]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
postmodern has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
marr has joined #ruby-lang
bg451 has quit [Quit: bg451]
chimkan_ has joined #ruby-lang
ryanf has quit [Read error: Connection reset by peer]
ryanf has joined #ruby-lang
enebo has joined #ruby-lang
chimkan has quit [Ping timeout: 255 seconds]
chimkan_ is now known as chimkan
havenn has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 246 seconds]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
techlife has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
solars has joined #ruby-lang
kain has quit [Read error: Connection timed out]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
elux has joined #ruby-lang
techlife has joined #ruby-lang
apeiros_ has joined #ruby-lang
brianpWins has quit [Remote host closed the connection]
ryanf has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
chimkan has quit [Ping timeout: 252 seconds]
bg451 has joined #ruby-lang
xcombelle has quit [Remote host closed the connection]
zmack has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
andrewhl has quit [Remote host closed the connection]
havenn has joined #ruby-lang
bantic has joined #ruby-lang
hakunin_ has joined #ruby-lang
zmack has quit [Remote host closed the connection]
elfenars has joined #ruby-lang
maxmanders has quit [Quit: Textual IRC Client: www.textualapp.com]
jperry2_ has joined #ruby-lang
elfenars has left #ruby-lang [#ruby-lang]
elfenars has joined #ruby-lang
Rizzle has quit [Ping timeout: 255 seconds]
elfenars has left #ruby-lang [#ruby-lang]
bg451 has quit [Quit: bg451]
mistym_lunch is now known as mistym
hakunin has quit [Read error: Connection reset by peer]
jperry2 has quit [Read error: Connection reset by peer]
nguerin has quit [Remote host closed the connection]
bg451 has joined #ruby-lang
crudson has joined #ruby-lang
bantic has quit [Quit: bantic]
bantic has joined #ruby-lang
io_syl has quit [Quit: Textual IRC Client: www.textualapp.com]
chimkan has joined #ruby-lang
bg451 has quit [Quit: bg451]
huma has quit []
io_syl has joined #ruby-lang
<elux> hello
<elux> so ive just read in an older blog post that Timeout.timeout spawns a new thread each time it runs a block.. i had no idea.. i checked Net::HTTP .. and it looks like it uses a Timeout as well for when opening connections.
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
<elux> i just want to make sure this is still the case.. but for 1.9.3 (mri), jruby and other ruby vm's .. a new thread is spawned to carry out a connection within a Timeout.timeout() .. ? that kinda sucks..
vlad_starkov has joined #ruby-lang
wudofyr_ has quit [Read error: Connection reset by peer]
wudofyr_ has joined #ruby-lang
__BigO__ has quit [Remote host closed the connection]
drbrain has joined #ruby-lang
elux has left #ruby-lang [#ruby-lang]
srbaker has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
havenn has quit [Remote host closed the connection]
shtirlic has quit [Remote host closed the connection]
samlt has joined #ruby-lang
gregf has joined #ruby-lang
bg451 has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Remote host closed the connection]
chimkan has quit [Quit: chimkan]
mercwithamouth has quit [Ping timeout: 256 seconds]
jtoy has quit [Quit: jtoy]
chimkan has joined #ruby-lang
jtoy has joined #ruby-lang
vbatts|mobile has quit [Ping timeout: 240 seconds]
edilsrevoc has joined #ruby-lang
thufir_ has joined #ruby-lang
edilsrevoc has quit [Remote host closed the connection]
<injekt> uh
kain has joined #ruby-lang
banisterfiend has joined #ruby-lang
glebm has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
<banisterfiend> ddfreyne: cool (re pry nanoc console) :))
srbaker has quit [Quit: Computer has gone to sleep.]
<banisterfiend> ddfreyne: very cool
glebm_ has joined #ruby-lang
<ddfreyne> banisterfiend: Was extremely easy to implement, but I intend to make it more powerful :) (Ideas are welcome!)
glebm has quit [Ping timeout: 244 seconds]
glebm_ is now known as glebm
<banisterfiend> ddfreyne: im not sure if it's relevant, but some nanoc specific commands might be useful - https://github.com/pry/pry/wiki/Custom-commands
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Remote host closed the connection]
mephux has quit [Excess Flood]
mephux has joined #ruby-lang
<banisterfiend> though methods are probably just as good if you're not going to be using it as a debugger (commands really just exist so they dont interfere with methods in a running app)
bg451 has quit [Quit: bg451]
thufir_ has quit [Remote host closed the connection]
dustint has quit [Quit: Leaving]
carloslopes has quit [Remote host closed the connection]
cirenyc has quit [Quit: Linkinus - http://linkinus.com]
wudofyr_ has quit [Remote host closed the connection]
wudofyr_ has joined #ruby-lang
<ddfreyne> banisterfiend: Hmm, I may be able to use that… maybe a “run” command that you can use to invoke CLI commands, e.g. “run compile --verbose” or so
<banisterfiend> sounds cool. Yeah that's another advantage of commands, they have flags and you dont need to quote things :)
<ddfreyne> sadly it doesn’t integrate with slop directly though :)
thone has joined #ruby-lang
<banisterfiend> i dont think we wrap slop very much at all, the opt that's passed to def options() is just your normal Slop::Options iirc
richardburton has joined #ruby-lang
<injekt> Slop*
thone_ has quit [Read error: Operation timed out]
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Excess Flood]
<ddfreyne> banisterfiend: I mean, nanoc doesn't
<banisterfiend> oh
mephux has quit [Excess Flood]
carloslopes has joined #ruby-lang
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Excess Flood]
mephux has joined #ruby-lang
<injekt> it would probably be fairly easy to sub the slop instance for a cri command instance
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Excess Flood]
<ddfreyne> I don’t think it’ll be necessary though… I’ll see!
<ddfreyne> sleep, night!
sailias has quit [Ping timeout: 240 seconds]
scampbell has quit [Quit: Leaving]
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Remote host closed the connection]
mjio has joined #ruby-lang
drbrain has quit [Read error: Connection reset by peer]
drbrain has joined #ruby-lang
robotmay has joined #ruby-lang
s1n4 has left #ruby-lang ["leaving"]
<banisterfiend> ddfreyne: night
yfeldblum has joined #ruby-lang
glebm has quit [Ping timeout: 245 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
glebm has joined #ruby-lang
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Excess Flood]
edilsrevoc has joined #ruby-lang
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Excess Flood]
schaerli has quit [Remote host closed the connection]
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Excess Flood]
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Remote host closed the connection]
edilsrevoc has joined #ruby-lang
edilsrevoc has quit [Read error: Connection reset by peer]
edilsrevoc has joined #ruby-lang
havenn has joined #ruby-lang
edilsrevoc1 has joined #ruby-lang
Bearproof has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
megha has quit [Read error: Operation timed out]
blacktulip has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
edilsrevoc has quit [Ping timeout: 255 seconds]
crudson has quit [Ping timeout: 276 seconds]
gregf has quit [Quit: WeeChat 0.3.8]
dous has quit [Remote host closed the connection]
dous has joined #ruby-lang
dous has quit [Changing host]
dous has joined #ruby-lang
datanoise has quit [Ping timeout: 244 seconds]
bg451 has joined #ruby-lang
guns has joined #ruby-lang
wudofyr_ has quit [Remote host closed the connection]
wudofyr_ has joined #ruby-lang
crudson has joined #ruby-lang
dous has quit [Ping timeout: 256 seconds]
crudson1 has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
Bearproof has joined #ruby-lang
crudson has quit [Ping timeout: 256 seconds]
nguerin has joined #ruby-lang
Bearproof has quit [Client Quit]
megha has joined #ruby-lang
spuk has joined #ruby-lang
mjolk has quit [Quit: This computer has gone to sleep]
bg451 has quit [Quit: bg451]
brianpWins has joined #ruby-lang
jrafanie has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
spuk has joined #ruby-lang
datanoise has joined #ruby-lang
Averna has joined #ruby-lang
mephux has quit [Excess Flood]
enebo has quit [Quit: enebo]
mephux has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 252 seconds]
havenn is now known as haven_
edilsrevoc1 has quit [Remote host closed the connection]
haven_ has quit [Remote host closed the connection]
havenn has joined #ruby-lang
havenn is now known as havenwood
nkr has quit [Quit: Linkinus - http://linkinus.com]
jrafanie has quit [Quit: jrafanie]
apeiros_ has quit [Remote host closed the connection]
richardburton has quit [Quit: Leaving.]
mjio has quit []
richardburton has joined #ruby-lang
datanoise has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
datanoise has joined #ruby-lang
Asher has quit [Quit: Leaving.]
ryanv-raptor has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 244 seconds]
TunisianGirl has joined #ruby-lang
Kuifje has quit [Ping timeout: 246 seconds]
publicvoid has quit [Ping timeout: 276 seconds]
Bearproof has joined #ruby-lang
Bearproof has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<bluepojo> How bad of an idea is it to define #new on Symbol?
<bluepojo> I have a bit of code in a Hash core ext that I want to create a symbol or a string based on what is passed in in the first place
<bluepojo> so I want to do keytype.new(a_string)
<bluepojo> but #new doesn't exist on Symbol
<bluepojo> err
<bluepojo> ::new
<bluepojo> so I defined ::new on Symbol, and all works… but it feels bad
<bluepojo> so I want to know if my feels are accurate
<blazes816> i don't know that it would lead to issues, but it'd probably be better to do something else
<blazes816> def to_key_type(obj); key_type == 'symbol' ? obj.to_sym : obj.to_s; end
<blazes816> perhaps something like that?
<bluepojo> yeah, that's what I was trying to avoid with this bit of code.
<bluepojo> I can do that
Asher has joined #ruby-lang
<whitequark> just do obj.to_sym.
<whitequark> both Symbol === obj and String === obj will work.
<bluepojo> hm, ok.
<bluepojo> I thought the code was nice and clean when I could do keytype.new(my_string) instead of adding another conditional, but I can just do a conditional
<bluepojo> ty dudes
Banistergalaxy has joined #ruby-lang
chimkan has quit [Quit: chimkan]
datanoise has quit [Ping timeout: 244 seconds]
creede has quit [Read error: No route to host]
chimkan has joined #ruby-lang
TunisianGirl has quit [Ping timeout: 245 seconds]
methods has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
zhul_mechanos has quit [Quit: zhul_mechanos]
bantic has quit [Quit: bantic]
solars has quit [Ping timeout: 245 seconds]