apeiros changed the topic of #ruby 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 || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
mmitchell has quit [Remote host closed the connection]
superscott[8] has joined #ruby
conner has joined #ruby
rdxc has quit [Quit: Textual IRC Client: www.textualapp.com]
itcharlie has left #ruby [#ruby]
shevy has quit [Quit: ""]
jonathanwallace has quit [Read error: Connection reset by peer]
predator217 has quit [Ping timeout: 260 seconds]
jonathanwallace has joined #ruby
nari has quit [Ping timeout: 276 seconds]
jp- has joined #ruby
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fermion has quit [Quit: Computer has gone to sleep.]
lebek has joined #ruby
fermion has joined #ruby
lebek has quit [Client Quit]
tomzx_mac has quit [Ping timeout: 246 seconds]
ewnd9 has quit [Remote host closed the connection]
pothibo has joined #ruby
devoldmx has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
predator117 has joined #ruby
pjeide` has quit [Ping timeout: 264 seconds]
efrainolivares has quit [Quit: efrainolivares]
pothibo has quit [Client Quit]
dayepa has joined #ruby
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
alfy has joined #ruby
llirkaz has quit [Ping timeout: 240 seconds]
alfy has left #ruby [#ruby]
zorg24 has joined #ruby
baroquebobcat has joined #ruby
tricon_ has joined #ruby
Dwarf_ has quit [Max SendQ exceeded]
Dwarf_ has joined #ruby
barratt has quit [Quit: Leaving...]
Dwarf_ has quit [Max SendQ exceeded]
bleubeard has joined #ruby
Dwarf_ has joined #ruby
ffranz has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
blackmesa has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 248 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
zeade has quit [Quit: Leaving.]
benlieb has joined #ruby
randomautomator has joined #ruby
Cyrus has joined #ruby
iliketurtles has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
RichardBaker has quit [Quit: RichardBaker]
tylerkern has joined #ruby
chrisja has quit [Quit: leaving]
lucazi_ has quit [Remote host closed the connection]
burlyscudd has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
llirkaz has joined #ruby
kaspergrubbe has joined #ruby
llirkaz is now known as Guest61105
baroquebobcat has joined #ruby
iliketurtles has quit [Client Quit]
m8tt8 has quit [Quit: Sto andando via]
randomautomator has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 264 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
Dwarf is now known as Guest91683
Guest91683 has quit [Killed (morgan.freenode.net (Nickname regained by services))]
Dwarf_ is now known as dwarf
tylerkern has quit [Ping timeout: 260 seconds]
stevenrockarts has joined #ruby
stevenrockarts has quit [Client Quit]
stevenrockarts has joined #ruby
butblack has quit [Quit: butblack]
snovak has joined #ruby
tommyvyo has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Davey has joined #ruby
mlpinit has joined #ruby
thepumpkin has quit [Remote host closed the connection]
alekst has joined #ruby
closer has quit [Ping timeout: 252 seconds]
sergicles has quit [Quit: sergicles]
closer has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
Levin_22 has joined #ruby
tanema has quit [Remote host closed the connection]
marcdel has joined #ruby
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
mlpinit has quit [Ping timeout: 264 seconds]
xiphffff1 has quit [Ping timeout: 260 seconds]
kaspergrubbe has quit [Remote host closed the connection]
hogeo has joined #ruby
tylerkern has joined #ruby
xiphffff1 has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
pjeide` has joined #ruby
ewnd9 has joined #ruby
tomzx_mac has joined #ruby
pjeide has quit [Ping timeout: 246 seconds]
huoxito has joined #ruby
blip99 has quit [Ping timeout: 240 seconds]
pjeide` has quit [Ping timeout: 264 seconds]
closer has quit [Ping timeout: 256 seconds]
mansi has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nari has joined #ruby
closer has joined #ruby
baroquebobcat has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
nfk has quit [Quit: yawn]
jlast has quit [Remote host closed the connection]
tylerkern has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 276 seconds]
gr33n7007h has quit [Ping timeout: 256 seconds]
<joshu> hi I've installed the rest-client gem and in the github README the require reads 'rest_client'. However, I've seen 'restclient' and 'rest-client' used as well. In IRB all three return true. Does that mean that all three point to the same gem?
bzitzow has quit [Ping timeout: 256 seconds]
benlieb has quit [Quit: benlieb]
prime- has joined #ruby
dallasm has joined #ruby
sepp2k has quit [Quit: Leaving.]
prime has quit [Read error: Connection reset by peer]
prime- is now known as prime
prime has quit [Changing host]
prime has joined #ruby
nitrodex has quit [Ping timeout: 260 seconds]
xcv has quit [Remote host closed the connection]
arya__ has joined #ruby
rupee has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby
Dwarf_ has joined #ruby
mfridh has quit [Read error: Connection reset by peer]
chriskk_ has joined #ruby
stevenrockarts has quit [Quit: stevenrockarts]
chriskk has quit [Ping timeout: 240 seconds]
chriskk_ is now known as chriskk
Kricir has joined #ruby
stuartrexkin has joined #ruby
nadirvar_ has quit [Ping timeout: 260 seconds]
nitrodex has joined #ruby
nitrodex is now known as Guest54726
Senjai has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
s00pcan has quit [Client Quit]
s00pcan has joined #ruby
s00pcan has quit [Client Quit]
s00pcan has joined #ruby
stuartrexking has quit [Ping timeout: 240 seconds]
bklane has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
s00pcan has quit [Remote host closed the connection]
byprdct has joined #ruby
ixti has quit [Ping timeout: 264 seconds]
sergicles has joined #ruby
hogeo has quit [Remote host closed the connection]
Senjai has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
s00pcan has joined #ruby
s00pcan has quit [Client Quit]
hogeo has joined #ruby
RichardBaker has joined #ruby
jdenen has joined #ruby
sevenseacat has joined #ruby
Senjai has joined #ruby
vlad_starkov has joined #ruby
lebek has joined #ruby
mwmnj has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
Banistergalaxy has quit [Remote host closed the connection]
closer has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
dallasm has quit [Remote host closed the connection]
marcdel has joined #ruby
jdenen is now known as jdx_
closer has joined #ruby
<sanitypassing> can I load up ruby documentation in a terminal?
vlad_starkov has quit [Ping timeout: 240 seconds]
Haya has joined #ruby
<heftig> sanitypassing: ri
jdx_ has left #ruby [#ruby]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
jdx_ has joined #ruby
<sanitypassing> thanks
pen has quit [Remote host closed the connection]
Davey has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
wmoxam has quit [Ping timeout: 260 seconds]
Guest61105 has quit [Remote host closed the connection]
sambao21 has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Levin_22 has quit [Quit: Levin_22]
burlyscudd has quit [Ping timeout: 260 seconds]
zachrab_ has joined #ruby
Haya has quit [Ping timeout: 248 seconds]
splittingred has joined #ruby
rbento has quit [Quit: ┐('~`;)┌]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
sambao21 has quit [Ping timeout: 264 seconds]
wmoxam has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
d2dchat has joined #ruby
ixti has joined #ruby
thetristan has joined #ruby
i_s has quit [Remote host closed the connection]
mlpinit has joined #ruby
<Nilium> Huh, rdoc's tomdoc parser seems to be dropping spaces between lines.
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kpshek has joined #ruby
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
narcan has joined #ruby
Domon has joined #ruby
randomautomator has joined #ruby
iliketurtles has joined #ruby
snovak has joined #ruby
havenwood has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
Voodoofish430 has quit [Quit: Leaving.]
randomautomator has quit [Ping timeout: 264 seconds]
zachrab_ has quit [Remote host closed the connection]
zorg24 has quit [Read error: Connection reset by peer]
snovak has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
tanema has joined #ruby
kpshek has quit [Ping timeout: 264 seconds]
closer has quit [Ping timeout: 256 seconds]
wmoxam has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
closer has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
dgaffney has quit [Quit: dgaffney]
narcan has joined #ruby
pen has joined #ruby
Inside has quit [Ping timeout: 240 seconds]
dallasm has joined #ruby
alekst has quit [Quit: Leaving...]
twoism has quit [Remote host closed the connection]
emergion has joined #ruby
Hiteshtr has joined #ruby
closer has quit [Ping timeout: 252 seconds]
twoism has joined #ruby
cowgarden has quit [Ping timeout: 264 seconds]
closer has joined #ruby
ewnd9 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
fredjean has joined #ruby
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ziggles has joined #ruby
Lewix has joined #ruby
sambao21 has joined #ruby
Tricon has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
Fractional has quit [Ping timeout: 264 seconds]
twoism has quit [Ping timeout: 264 seconds]
pen has quit [Remote host closed the connection]
badquanta has joined #ruby
i_s has joined #ruby
Lewix has quit [Remote host closed the connection]
zeade has joined #ruby
Lewix has joined #ruby
sambao21 has quit [Ping timeout: 256 seconds]
bklane has joined #ruby
s00pcan has joined #ruby
xpirator has joined #ruby
s00pcan has quit [Client Quit]
bleubeard has quit [Remote host closed the connection]
thepumpkin has joined #ruby
s00pcan has joined #ruby
pkrnj has joined #ruby
s00pcan has quit [Client Quit]
ehc has quit [Quit: ehc]
s00pcan has joined #ruby
justsee has joined #ruby
i_s has quit [Ping timeout: 246 seconds]
julweber has joined #ruby
Vivekananda has quit [Ping timeout: 256 seconds]
radic__ has joined #ruby
Spooner has quit [Remote host closed the connection]
Davey has quit [Quit: Computer has gone to sleep.]
alpha123-away is now known as alpha123
julweber has quit [Ping timeout: 240 seconds]
<queequeg1> on this page: http://foundation.zurb.com/docs/components/alert-boxes.html there is an example of a div with data-alert in it.
Megtastique has quit [Quit: Megtastique]
radic_ has quit [Ping timeout: 240 seconds]
<queequeg1> What is data-alert in this context?
<sevenseacat> a HTML attribute that foundation uses
<sevenseacat> to build the close-popup functionality
icy` has quit [Read error: No route to host]
<queequeg1> I'm trying to figure out how to output it using content_tag
<queequeg1> But I only know how to do key value pairs.
<sevenseacat> well data-alert is the key
<sevenseacat> give it an empty value, see if it works
<queequeg1> ok, I will give it a try, thanks.
soulrain has joined #ruby
closer has quit [Ping timeout: 256 seconds]
stevenrockarts has joined #ruby
<queequeg1> That worked, Thanks :-)
<queequeg1> Did you know it was going to work?
dmyers has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
closer has joined #ruby
<queequeg1> I thought it would end up being data-alert=""
stevenrockarts has quit [Client Quit]
<sevenseacat> i was pretty confident
bricker`LA has joined #ruby
<queequeg1> Have you seen something else in rails that behaved in that way?
mlpinit has quit [Remote host closed the connection]
Badreddin has quit [Ping timeout: 245 seconds]
chriskk has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
Badreddin has joined #ruby
Megtastique has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
Megtastique has quit [Client Quit]
burlyscudd has joined #ruby
<queequeg1> Anyway, thanks a lot, I was banging my head against that one.
<sevenseacat> np
dodosan has quit [Remote host closed the connection]
intuxicated has quit [Quit: Leaving]
mastr has quit [Ping timeout: 260 seconds]
kpshek has joined #ruby
burlyscudd has quit [Ping timeout: 260 seconds]
<rgrinberg> my rake tasks all work but rake -T doesn't show them
<rgrinberg> what gives?
lebek has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
Diranged has joined #ruby
<sevenseacat> rgrinberg: does your task have a description
iliketurtles has joined #ruby
diegoviola has joined #ruby
sambao21 has quit [Ping timeout: 246 seconds]
<rgrinberg> sevenseacat: d'oh. thanks
Kobrakao has joined #ruby
<sevenseacat> np :)
Hiteshtr has quit [Quit: Leaving]
apeiros_ has joined #ruby
josiah14 has quit [Ping timeout: 250 seconds]
dallasm has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
JDHankle has joined #ruby
jrobeson has quit [Remote host closed the connection]
ravster has quit [Quit: Leaving.]
mansi has quit [Remote host closed the connection]
Bry8Star{T2 has quit [Remote host closed the connection]
mansi has joined #ruby
renderful has joined #ruby
kpshek has quit []
anonymuse has joined #ruby
mansi_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mastr has joined #ruby
robscomputer has quit [Ping timeout: 264 seconds]
Bry8Star{T2 has joined #ruby
kpshek has joined #ruby
snovak has joined #ruby
jrobeson has joined #ruby
tylersmith has quit [Remote host closed the connection]
wesside has joined #ruby
ehc has joined #ruby
Targen has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
splittingred has quit [Quit: splittingred]
Inside has joined #ruby
snovak has quit [Ping timeout: 260 seconds]
<Kobrakao> hi..
<Kobrakao> the framework shoes is production ready ?
banisterfiend has quit [Remote host closed the connection]
thepumpkin has quit [Remote host closed the connection]
<Kobrakao> and is the best ?
lebek has quit [Ping timeout: 276 seconds]
sergicles_ has joined #ruby
anonymuse has quit [Remote host closed the connection]
jarray52 has joined #ruby
Nisstyre has quit [Quit: Leaving]
kung has joined #ruby
sergicles has quit [Ping timeout: 248 seconds]
sergicles_ is now known as sergicles
elliomax has joined #ruby
elliomax has quit [Remote host closed the connection]
b00stfr3ak has quit [Quit: Leaving]
elliomax has joined #ruby
elliomax has left #ruby [#ruby]
kobain has joined #ruby
jonahR has quit [Quit: jonahR]
oddalot has quit [Ping timeout: 264 seconds]
kobain_ has quit [Ping timeout: 248 seconds]
thepumpkin has joined #ruby
snath has joined #ruby
sambao21 has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
<bnagy> not from what I hear, but I don't do gui stuff
chihhsin has quit [Ping timeout: 264 seconds]
virt|a has joined #ruby
Kruppe has quit [Remote host closed the connection]
iFire_ has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
xtavc has joined #ruby
viszu has joined #ruby
_maes_ has joined #ruby
mary5030 has joined #ruby
Kobrakao has quit [Quit: Leaving]
icy` has joined #ruby
icy` has quit [Changing host]
icy` has joined #ruby
iFire_ has quit [Read error: Connection reset by peer]
lusory has joined #ruby
iFire has quit [Read error: Connection reset by peer]
ewnd9 has quit [Remote host closed the connection]
nanoxd_ has joined #ruby
ixti has quit [Quit: WeeChat 0.4.1]
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
parzo_ has joined #ruby
parzo has quit [Read error: Connection reset by peer]
nanoxd has quit [Ping timeout: 264 seconds]
huoxito has quit [Quit: Leaving]
icy` has quit [Remote host closed the connection]
Randomage has quit [Ping timeout: 256 seconds]
icy` has joined #ruby
icy` has quit [Changing host]
icy` has joined #ruby
Badreddin has quit [Quit: leaving]
tanema has quit [Remote host closed the connection]
burlyscudd has joined #ruby
icy` has quit [Read error: No route to host]
Haya has joined #ruby
arya__ has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
ix007 has joined #ruby
saarinen has joined #ruby
ssvo_ has quit [Read error: Operation timed out]
eldariof has joined #ruby
Randomage has joined #ruby
burlyscudd has quit [Ping timeout: 264 seconds]
crucify_me has joined #ruby
mansi_ has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
cyong has joined #ruby
allinone has joined #ruby
saarinen has quit [Quit: saarinen]
* allinone welcome to http://allinone.nex.vn
allinone has quit [Killed (idoru (Spam is off topic on freenode.))]
narcan has joined #ruby
tommyvyo has quit [Quit:]
ehc has quit [Quit: ehc]
joast has quit [Ping timeout: 264 seconds]
zets has joined #ruby
bklane has quit [Remote host closed the connection]
juxovec has joined #ruby
xtavc has quit [Quit: Saindo]
v8energy has joined #ruby
snovak has joined #ruby
jaynewstrom has quit [Read error: Connection reset by peer]
<v8energy> is there a command to check if a certain line will throw an error? for example throws_an_error(require 'test') <- 'test' doesn't exist so it will return false.
jaynewstrom has joined #ruby
<sevenseacat> context?
renderful has quit [Remote host closed the connection]
tommyvyo has joined #ruby
juxovec has quit [Ping timeout: 256 seconds]
<v8energy> is that a method?
stevenrockarts has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
<sevenseacat> no, context of your problem required
browndawg has joined #ruby
the_fallen has joined #ruby
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
ntus1017 has joined #ruby
parzo_ has quit [Remote host closed the connection]
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
elliomax has joined #ruby
bluOxigen has joined #ruby
snovak has joined #ruby
jdx_ has quit [Quit: Leaving.]
shadoi has quit [Quit: Leaving.]
mary5030 has quit [Ping timeout: 256 seconds]
stevenrockarts has quit [Quit: stevenrockarts]
<heftig> begin; require 'test'; false; rescue Object; true; end
saarinen has joined #ruby
shadoi has joined #ruby
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
narcan has joined #ruby
krishna has quit [Quit: quit]
mwmnj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emergion has joined #ruby
buzzybron1 has joined #ruby
<s2013> what is ruby koans?
<sevenseacat> did you google it?
SecretAgent has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
abstrusenick has joined #ruby
Haya has quit [Ping timeout: 240 seconds]
Haya has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<s2013> yes im on the site im not sure what it is. is it a tutorial or some zen thing. i have no idea
HardFu has quit [Read error: Connection reset by peer]
druonysuse has joined #ruby
druonysuse has joined #ruby
<s2013> all i see are some tests but im not sure if im in the right section
HardFu has joined #ruby
<Nilium> It's basically a run down of a bunch of stuff in Ruby by forcing you to fill in the blanks.
<s2013> are they just bunch of assertions?
<s2013> and you fill it and run it?
<Nilium> Sort of.
<s2013> oh ok got it. thanks
<sevenseacat> reading comprehension fail
<s2013> sevenseacat: do you have a lot of cats?
<sevenseacat> just two.
<s2013> ok
<sevenseacat> not seven, contrary to popular belief.
mary5030 has joined #ruby
<s2013> i see
shadoi has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
randomautomator has joined #ruby
<sam113101> male or female?
shadoi has joined #ruby
sayan has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
lebek has joined #ruby
alpha123 has quit [Quit: Lost terminal]
randomautomator has quit [Remote host closed the connection]
burlyscudd has joined #ruby
randomautomator has joined #ruby
julweber has joined #ruby
mary5030 has quit [Remote host closed the connection]
redmenace has quit [Ping timeout: 264 seconds]
redmenace has joined #ruby
viszu has quit [Quit: Leaving.]
burlyscudd has quit [Ping timeout: 256 seconds]
Spami has quit [Quit: This computer has gone to sleep]
julweber has quit [Ping timeout: 264 seconds]
himsin has joined #ruby
mansi has joined #ruby
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tanema has joined #ruby
Kruppe has joined #ruby
labrat__ has quit [Ping timeout: 264 seconds]
pzuraq has joined #ruby
<pzuraq> what's the best method to run command line tools from within a ruby script? IO.popen, Open3, something else?
mansi has quit [Ping timeout: 248 seconds]
lebek has joined #ruby
stonevil has quit [Remote host closed the connection]
tanema has quit [Ping timeout: 248 seconds]
elliomax has quit [Remote host closed the connection]
sergicles has quit [Quit: sergicles]
eldariof has quit [Read error: Operation timed out]
Inside has quit [Ping timeout: 256 seconds]
mansi has joined #ruby
Kruppe has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
JDHankle has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
<reactormonk> what's the ruby equivalent of __file__ == "main" or such in python?
<reactormonk> pzuraq, depends on what you want
BizarreCake has joined #ruby
hamakn has joined #ruby
<pzuraq> I want to call a command line utility and give it a couple of arguments. Namely a file name and an output directory, and some options.
<Eiam> reactormonk: if __FILE__==$0 ?
ffranz has quit [Quit: Leaving]
<reactormonk> thx
<Eiam> reactormonk: "if the file was called from terminal"
Matriks has joined #ruby
<Eiam> so i guess __FILE__ is what you are looking for =)
<Eiam> (I don't know what it does in python, its been too long)
GeissT has joined #ruby
ntus1017 has quit [Remote host closed the connection]
parzo has joined #ruby
Lewix has quit [Remote host closed the connection]
zeromodulus has quit [Remote host closed the connection]
<bnagy> pzuraq: the difference is based on what you want to do with the output
<bnagy> mostly anyway
<bnagy> if nothing just use `some_cmd`
<bnagy> if you want just stdout that works as well
<bnagy> if you want to check stderr or do pipelines then Open3 of some kind
<bnagy> same if you want to pipeline the input
<pzuraq> ah, for sure
<pzuraq> I don't think I need to do that, just need to run a quick conversion on a file
<bnagy> probably just `whatever` then
<pzuraq> mmk
renderful has joined #ruby
<bnagy> you can use #{interpolation} inside backticks
Targen has joined #ruby
gz0 has quit [Ping timeout: 264 seconds]
<pzuraq> sweet, that should provide all the functionality I need
<pzuraq> thanks bnagy
<bnagy> np
ssvo has joined #ruby
alem0lars has joined #ruby
druonysuse has quit [Remote host closed the connection]
canton7 has quit [Read error: Operation timed out]
zeade has quit [Quit: Leaving.]
Radcircle has joined #ruby
Diranged has quit [Quit: Leaving.]
Radcircle has left #ruby [#ruby]
renderful has quit [Ping timeout: 276 seconds]
hakuta has joined #ruby
druonysuse has joined #ruby
benlieb has joined #ruby
ziggles has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<reactormonk> doesn't `next` raise an error?
shadoi has quit [Quit: Leaving.]
<reactormonk> similar to StopIteration
ntus1017 has joined #ruby
tkuchiki has quit [Ping timeout: 276 seconds]
<bnagy> context?
<reactormonk> in an `each` iteration
<bnagy> then yes
<bnagy> >> [].each.next
<eval-in> bnagy => iteration reached an end (StopIteration) ... (https://eval.in/42902)
labrat__ has joined #ruby
<reactormonk> nah, the next inside the block passed to each
<reactormonk> >> [1,2,3].map {|foo| next if foo == 2}
<eval-in> reactormonk => [nil, nil, nil] (https://eval.in/42903)
<reactormonk> eh.
<bnagy> oh, no that just starts the next run of the block
BizarreCake has quit [Read error: Connection reset by peer]
girija has joined #ruby
<bnagy> you gets nils in the map because next returns nil
<bnagy> >> [1,2,3].map {|e| next(3)}
<eval-in> bnagy => [3, 3, 3] (https://eval.in/42906)
<bnagy> by default, anyway
d2dchat has quit [Remote host closed the connection]
crucify_me has quit [Remote host closed the connection]
labrat__ has quit [Ping timeout: 240 seconds]
pranny has joined #ruby
vlad_starkov has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
the_fallen has quit [Remote host closed the connection]
Demo_of_doom_ has joined #ruby
stuartrexkin has quit [Quit: Linkinus - http://linkinus.com]
yfeldblum has quit [Ping timeout: 276 seconds]
i_s has joined #ruby
apeiros has quit [Remote host closed the connection]
<reactormonk> good to know
vlad_starkov has quit [Ping timeout: 264 seconds]
aces1up has joined #ruby
<aces1up> if i do a .find{|var| evaluate(var) } how can i get result of successful evaluation ? and not var?
burlyscudd has joined #ruby
staafl has joined #ruby
tomzx_mac has quit [Ping timeout: 276 seconds]
postmodern has quit [Quit: Leaving]
<bnagy> aces1up: select ( find whatever ) finds objects, basta
<bnagy> if you want to do something with them, then map the found objects
<bnagy> oh.. shit wait find is the first only isn't it
tonini has joined #ruby
<bnagy> but same answer - find then evaluate
justsee has quit [Ping timeout: 264 seconds]
burlyscudd has quit [Ping timeout: 240 seconds]
Soliah has joined #ruby
druonysuse has quit [Quit: Konversation terminated!]
labrat__ has joined #ruby
druonysuse has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
abstrusenick has quit [Quit: abstrusenick]
dodosan has joined #ruby
poga has quit [Remote host closed the connection]
Diranged has joined #ruby
tommyvyo has quit [Quit:]
thetristan has quit [Quit: thetristan]
tagrudev has joined #ruby
benlieb has quit [Quit: benlieb]
intuxicated has joined #ruby
<diegoviola> nice, chruby looks awesome
amacgregor_ has joined #ruby
relix has joined #ruby
saarinen has quit [Quit: saarinen]
Senjai has quit [Ping timeout: 240 seconds]
yacks has quit [Quit: Leaving]
<zendeavor> it is pretty awesome
<zendeavor> dev is responsive too
<diegoviola> i see
amacgregor has quit [Ping timeout: 246 seconds]
<diegoviola> never really liked how bloated/complicated rvm was, felt always a little too much
<diegoviola> and shims in rbenv is not really my thing too
<diegoviola> let's see how chruby works out
<zendeavor> rvm is frightening
<zendeavor> i'm working on an advanced chruby myself
<sevenseacat> chruby is nice and simple.
<zendeavor> indeed
v0n has quit [Ping timeout: 264 seconds]
s__dana has quit [Ping timeout: 240 seconds]
juxovec has joined #ruby
<zendeavor> after some lengthy discussion with dev i came to the conclusion that chruby doesn't actually satisfy the goals he expressed so i'm writing a proof of concept example to demonstrate how to be both simple and complete
mansi has joined #ruby
<sevenseacat> what goals did he express?
oddalot has joined #ruby
<zendeavor> more leverageable from automated scripts
<zendeavor> it's good enough as-is.
<zendeavor> i think it cuts a few corners unnecessarily
burz has quit [Remote host closed the connection]
<zendeavor> therefore, PoC
stuartrexking has joined #ruby
juxovec has quit [Ping timeout: 260 seconds]
<sevenseacat> fair enough
mansi has quit [Ping timeout: 264 seconds]
<zendeavor> more modularity is my primary concern, and consistent exposure of env vars to reduce wrapper boilerplate
jefflyne has quit [Ping timeout: 240 seconds]
dv__ has joined #ruby
<zendeavor> it turned in to ~150 lines though =[
dv_ has quit [Ping timeout: 264 seconds]
jefflyne has joined #ruby
jlebrech has quit [Ping timeout: 264 seconds]
<zendeavor> http://is.gd/2kElcX if you want to take a look
sergicles has joined #ruby
<sevenseacat> i'm no scripting expert, i was just curious because i thought chruby did what it set out to do, quite well
juxovec has joined #ruby
<zendeavor> i think the goal mutated a bit
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has joined #ruby
<zendeavor> you can rip the ruby bit apart though
<zendeavor> at #L48
Diranged has quit [Ping timeout: 276 seconds]
juxovec has quit [Ping timeout: 264 seconds]
kreeves has quit [Ping timeout: 246 seconds]
Demo_of_doom_ has quit [Remote host closed the connection]
<zendeavor> oh man
<zendeavor> i think i just realized why the chruby tests kept putting double-quotes in PATH sometimes
iliketurtles has quit [Quit: zzzzz…..]
zombiebit has quit [Remote host closed the connection]
codecop has joined #ruby
iliketurtles has joined #ruby
Matriks has quit [Remote host closed the connection]
noopq has joined #ruby
apeiros has joined #ruby
mneorr has joined #ruby
ananthakumaran has joined #ruby
browndawg has left #ruby [#ruby]
tonni has quit [Remote host closed the connection]
poga has joined #ruby
allsystemsarego has joined #ruby
zoee has joined #ruby
horofox has quit [Quit: Leaving.]
_Andres has joined #ruby
BizarreCake has joined #ruby
jlebrech has joined #ruby
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tatsuya_o has joined #ruby
<zendeavor> \o/
<zendeavor> that bug confused me for 2 weeks
redmenace has quit [Ping timeout: 256 seconds]
druonysuse has quit [Quit: Konversation terminated!]
codesoda has joined #ruby
druonysuse has joined #ruby
druonysuse has quit [Changing host]
druonysuse has joined #ruby
byprdct has joined #ruby
rubyguy has joined #ruby
byprdct has quit [Max SendQ exceeded]
ntus1017 has quit [Remote host closed the connection]
dagobah has joined #ruby
khushildep has joined #ruby
stuartrexking has quit [Quit: Leaving...]
poga has quit [Remote host closed the connection]
Diranged has joined #ruby
iFire has joined #ruby
poga has joined #ruby
ayaz has joined #ruby
whowantstolivefo has joined #ruby
maasdesigner1 has joined #ruby
Lewix has joined #ruby
maasdesigner1 is now known as maasdesigner
v8energy has quit [Ping timeout: 240 seconds]
sayan has quit [Ping timeout: 264 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
echevemaster has quit [Quit: Leaving]
burlyscudd has joined #ruby
thebastl has joined #ruby
kpshek has quit [Ping timeout: 264 seconds]
pranny has quit [Quit: Leaving.]
burlyscudd has quit [Ping timeout: 264 seconds]
tonni has joined #ruby
codesoda has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
poga has joined #ruby
cyong1 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
tatsuya_o has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
relix has quit [Ping timeout: 264 seconds]
spike|spiegel has quit [Quit: WeeChat 0.4.1]
majjoha has joined #ruby
cyong has quit [Ping timeout: 240 seconds]
druonysuse has quit [Ping timeout: 248 seconds]
majjoha has quit [Client Quit]
relix has joined #ruby
Evixion has quit [Read error: Connection reset by peer]
tatsuya_o has quit [Ping timeout: 260 seconds]
iliketurtles has joined #ruby
druonysuse has joined #ruby
Evixion has joined #ruby
kpshek has joined #ruby
mansi has joined #ruby
ffio has joined #ruby
lurch_ has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
pranny has joined #ruby
mneorr has joined #ruby
druonysuse has quit [Remote host closed the connection]
spike|spiegel has joined #ruby
Davey has joined #ruby
dsaravel has quit [Quit: bye]
druonysuse has joined #ruby
druonysuse has joined #ruby
druonysuse has quit [Changing host]
mansi has quit [Ping timeout: 264 seconds]
aganov has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
Bry8Star{T2 has quit [Remote host closed the connection]
KevinSjoberg has joined #ruby
Davey has quit [Client Quit]
marius has quit [Quit: -]
Kelet has quit [Quit: Leaving]
jarray52 has left #ruby [#ruby]
vlad_starkov has joined #ruby
filipe has joined #ruby
Bry8Star{T2 has joined #ruby
avril14th has joined #ruby
dagobah has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
persand has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
postmodern has joined #ruby
JohnBat26 has joined #ruby
dagobah has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
Shirakawasuna has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Shirakawasuna has quit [Max SendQ exceeded]
cads has quit [Ping timeout: 276 seconds]
thebastl has quit [Remote host closed the connection]
Shirakawasuna has joined #ruby
cyong1 has quit [Quit: Leaving.]
thebastl has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
Shirakawasuna has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
Shirakawasuna has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
Mattias has joined #ruby
Shirakawasuna has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
Diranged has quit [Ping timeout: 276 seconds]
lurch__ has joined #ruby
senayar has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
chxane has quit [Ping timeout: 260 seconds]
Shirakawasuna has joined #ruby
tvw has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
sayan has joined #ruby
pen has joined #ruby
Shirakawasuna has joined #ruby
lurch_ has quit [Ping timeout: 240 seconds]
lurch__ is now known as lurch_
lurch__ has joined #ruby
juxovec has joined #ruby
smathieu has joined #ruby
vlad_starkov has joined #ruby
druonysuse has quit [Read error: Connection reset by peer]
druonysuse has joined #ruby
druonysuse has joined #ruby
druonysuse has quit [Changing host]
Lewix has quit [Remote host closed the connection]
lurch_ has quit [Ping timeout: 256 seconds]
lurch__ is now known as lurch_
dodosan has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 240 seconds]
amacgregor_ has quit [Ping timeout: 248 seconds]
druonysuse has quit [Remote host closed the connection]
lurch_ has quit [Quit: lurch_]
Ciscoridze has joined #ruby
druonysuse has joined #ruby
maxmanders has joined #ruby
rshetty has joined #ruby
druonysuse has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
redmenace has joined #ruby
druonysuse has joined #ruby
druonysuse has joined #ruby
relix has joined #ruby
<diegoviola> is there a way to use chruby as a user without installing it, when running ./scripts/setup.sh is there a way to tell not to install jruby, rbx, etc, and instead just install chruby and handle the ruby installs via ruby-install?
threesome has joined #ruby
ghr has joined #ruby
<sevenseacat> yeah, dont run the setup script.
poga has joined #ruby
<sevenseacat> then go and install ruby-build and use it.
Matriks has joined #ruby
<postmodern> diegoviola, PREFIX=/where/to/install/it make install
<diegoviola> thanks
<diegoviola> that works
redmenace has quit [Ping timeout: 246 seconds]
ebanoid has joined #ruby
<postmodern> diegoviola, ruby-install will install into ~/.rubies/ for normal users
aces1up has quit []
<postmodern> diegoviola, there's also an -i option to control where it installs into
jonkri has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
mengu has quit [Quit: This computer has gone to sleep]
druonysuse has quit [Read error: Connection reset by peer]
<sevenseacat> oh derp ruby-install not ruby-build.
druonysuse has joined #ruby
rshetty has quit [Quit: Sleeping]
tricon_ has quit [Ping timeout: 248 seconds]
burlyscudd has joined #ruby
jprovazn has joined #ruby
tatsuya_o has joined #ruby
goleldar has quit [Ping timeout: 260 seconds]
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
Diranged has joined #ruby
_honning_ has joined #ruby
druonysuse has quit [Ping timeout: 248 seconds]
burlyscudd has quit [Ping timeout: 276 seconds]
saarinen has joined #ruby
Xeago has joined #ruby
parzo_ has joined #ruby
parzo has quit [Read error: Connection reset by peer]
randomautomator has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
druonysus has quit [Ping timeout: 240 seconds]
joonty_ has joined #ruby
Diranged has quit [Ping timeout: 276 seconds]
buibex has joined #ruby
joonty has quit [Ping timeout: 248 seconds]
aryaching has quit [Ping timeout: 246 seconds]
Coffers has joined #ruby
i_s has quit [Remote host closed the connection]
mastr has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.1]
pzuraq has quit [Remote host closed the connection]
parzo has joined #ruby
parzo_ has quit [Read error: Connection reset by peer]
vince_prignano has joined #ruby
mansi has joined #ruby
troessner has joined #ruby
tonni has quit [Remote host closed the connection]
jim0thy_ has joined #ruby
parzo has quit [Read error: Connection reset by peer]
parzo has joined #ruby
himsin has quit [Quit: himsin]
stef_204 has joined #ruby
thebastl_ has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
rshetty has quit [Ping timeout: 245 seconds]
rshetty has joined #ruby
rclanan has quit [Ping timeout: 246 seconds]
Al_ has joined #ruby
thebastl has quit [Ping timeout: 248 seconds]
chihhsin has joined #ruby
randomautomator has quit [Remote host closed the connection]
usse has joined #ruby
mengu has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
kek has joined #ruby
poga has quit [Remote host closed the connection]
parzo has quit [Remote host closed the connection]
poga has joined #ruby
parzo has joined #ruby
camilasan has joined #ruby
poga has quit [Remote host closed the connection]
marr has joined #ruby
poga has joined #ruby
Lewix has joined #ruby
JohnBat26|2 has joined #ruby
mengu has quit [Client Quit]
shaunbaker has joined #ruby
xpirator has quit [Quit: Leaving...]
sarkis has joined #ruby
xpirator has joined #ruby
barratt has joined #ruby
Gwyxx has joined #ruby
JohnBat26 has quit [Ping timeout: 260 seconds]
thebastl_ has quit [Remote host closed the connection]
noname001 has joined #ruby
Diranged has joined #ruby
thebastl has joined #ruby
Lewix has quit [Ping timeout: 276 seconds]
rshetty has quit [Quit: Sleeping]
parzo_ has joined #ruby
loye1234 has joined #ruby
parzo_ has quit [Remote host closed the connection]
parzo has quit [Read error: Connection reset by peer]
parzo has joined #ruby
tonini has quit [Remote host closed the connection]
Gwyxx has quit [Ping timeout: 240 seconds]
niceguyjames has joined #ruby
tonni has joined #ruby
blaxter_ has joined #ruby
blueOxigen has joined #ruby
himsin has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
Shirakawasuna has quit [Ping timeout: 276 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
ffio has joined #ruby
juxovec has quit [Remote host closed the connection]
pygospa has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 260 seconds]
pygospa has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
parzo_ has joined #ruby
elaptics`away is now known as elaptics
lkba has quit [Ping timeout: 246 seconds]
parzo_ has quit [Remote host closed the connection]
xpirator has quit [Remote host closed the connection]
xGeee has joined #ruby
parzo_ has joined #ruby
sjltaylor has joined #ruby
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
parzo has quit [Ping timeout: 276 seconds]
ayaz has joined #ruby
<xGeee> i just installed ruby1.9.2-full, and when i try to install a package with Gem, it says i need ruby >= 1.9.2
adambeynon has joined #ruby
<Xeago> xGeee: make sure your gem binary is using ruby1.9.2
<xGeee> with rvm, right?
<Xeago> don't know what you are using
loye1234 has quit [Quit: loye1234]
BizarreCake has quit [Read error: Connection reset by peer]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
burlyscudd has joined #ruby
xpirator has joined #ruby
blackmesa has joined #ruby
jim0thy_ has quit [Quit: jim0thy_]
nomenkun has joined #ruby
burlyscudd has quit [Ping timeout: 276 seconds]
rshetty has joined #ruby
Mon_Ouie has joined #ruby
Soliah has quit [Quit: Soliah]
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ehaliewicz has quit [Remote host closed the connection]
chxane has joined #ruby
ephemerian has joined #ruby
yacks has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 245 seconds]
jonathanwallace has joined #ruby
virt|a has quit [Read error: Connection reset by peer]
Tippler has quit [Read error: Operation timed out]
tvw has quit []
virtualize has joined #ruby
xGeee has quit [Remote host closed the connection]
snath has quit [Ping timeout: 264 seconds]
DrShoggoth has quit [Ping timeout: 264 seconds]
mastr has joined #ruby
lsmola has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
mklappstuhl has joined #ruby
buibex has quit [Remote host closed the connection]
senayar_ has joined #ruby
poga has quit [Remote host closed the connection]
senayar_ has quit [Remote host closed the connection]
buibex has joined #ruby
senayar_ has joined #ruby
senayar has quit [Read error: Connection reset by peer]
joonty_ is now known as joonty
Tippler has joined #ruby
jds_ has quit [Remote host closed the connection]
vince_prignano has quit [Remote host closed the connection]
jds_ has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
bean has quit [Read error: Connection reset by peer]
snovak has quit [Read error: Connection reset by peer]
i_s has joined #ruby
bean has joined #ruby
sarkis has quit [Ping timeout: 256 seconds]
snovak has joined #ruby
snath has joined #ruby
DrShoggoth has joined #ruby
ayaz has joined #ruby
i_s has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
lsmola has joined #ruby
whowantstolivefo has quit [Read error: Connection reset by peer]
rshetty has quit [Quit: Sleeping]
shaunbaker has quit [Remote host closed the connection]
whowantstolivefo has joined #ruby
shaunbaker has joined #ruby
shaunbak_ has joined #ruby
shaunbaker has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
klaut has joined #ruby
parzo has joined #ruby
rshetty has joined #ruby
parzo has quit [Remote host closed the connection]
parzo_ has quit [Read error: Connection reset by peer]
pen has quit [Remote host closed the connection]
parzo has joined #ruby
ntus1017 has joined #ruby
mengu has joined #ruby
amacgregor has joined #ruby
banisterfiend has joined #ruby
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s12345567 has joined #ruby
kleinerdrache has joined #ruby
sevenseacat has left #ruby [#ruby]
narcan has joined #ruby
ayaz has joined #ruby
Randomage has quit [Ping timeout: 264 seconds]
sayan has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
Asher has quit [Quit: Leaving.]
cj3kim has quit [Remote host closed the connection]
parzo_ has joined #ruby
mneorr has quit [Remote host closed the connection]
parzo has quit [Read error: Connection reset by peer]
Asher has joined #ruby
s12345567 has left #ruby [#ruby]
maasdesigner has quit [Ping timeout: 246 seconds]
wildroman has quit [Ping timeout: 264 seconds]
parzo has joined #ruby
mengu has quit [Read error: Connection reset by peer]
jds_ is now known as jds
lsmola has quit [Ping timeout: 245 seconds]
parzo_ has quit [Ping timeout: 260 seconds]
poga has joined #ruby
end_guy has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
visof has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
ffio has quit [Ping timeout: 248 seconds]
brandon_ has quit [Ping timeout: 260 seconds]
burlyscudd has joined #ruby
Diranged has quit [Ping timeout: 276 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
bricker`LA has joined #ruby
ahawkins has joined #ruby
lsmola has joined #ruby
dawkirst has quit [Ping timeout: 276 seconds]
zmike1234 has joined #ruby
pen has joined #ruby
ahawkins has quit [Client Quit]
ntus1017 has quit [Remote host closed the connection]
_honning_ has quit [Ping timeout: 256 seconds]
jlebrech has quit [Read error: Connection reset by peer]
end_guy has joined #ruby
swordsmanz has joined #ruby
jim0thy_ has joined #ruby
havenwood has quit [Remote host closed the connection]
mansi has joined #ruby
dv__ is now known as dv_
s2013 has quit [Ping timeout: 264 seconds]
maasdesigner1 has joined #ruby
maasdesigner1 is now known as maasdesigner
slap_stick has joined #ruby
filipe has quit [Ping timeout: 264 seconds]
pen has quit [Remote host closed the connection]
pen has joined #ruby
fgo has joined #ruby
wildroma_ has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
jrhe has quit [Quit: jrhe]
dawkirst has joined #ruby
amacgregor has quit [Ping timeout: 248 seconds]
labrat__ is now known as hackingoff
ayaz has quit [Read error: Connection reset by peer]
_br_- has quit [Remote host closed the connection]
Al_ has quit [Quit: Al_]
_br_ has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
Randomage has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
kleinerdrache has quit [Quit: Ex-Chat]
filipe has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
blaxter_ is now known as blaxter
vlad_starkov has joined #ruby
Diranged has joined #ruby
dEPy has joined #ruby
shaunbaker has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
m8 has joined #ruby
alyset has joined #ruby
alyset has quit [Ping timeout: 245 seconds]
justsee has quit [Ping timeout: 256 seconds]
vicrun has joined #ruby
stonevil has joined #ruby
rshetty has quit [Quit: Sleeping]
mercwithamouth has joined #ruby
camilasan has quit [Remote host closed the connection]
<vicrun> for an "each do" can you have two variables on the end like (0..16).each do |count| |number|
camilasan has joined #ruby
emergion has joined #ruby
sayan has joined #ruby
<YaNakilon> btw
rshetty has joined #ruby
<YaNakilon> several days ago i faced a problem, that gem install didn't mean the ruby version and cried, that current gem version is incompatible
<YaNakilon> what is the right way to find compatible version?
<YaNakilon> for example, nokogiri for 1.9.1
ananthakumaran1 has joined #ruby
ananthakumaran1 has quit [Read error: Connection reset by peer]
ananthakumaran2 has joined #ruby
rshetty has quit [Client Quit]
vince_prignano has joined #ruby
jds has quit [Remote host closed the connection]
jds has joined #ruby
ananthakumaran has quit [Ping timeout: 248 seconds]
Xeago has quit [Remote host closed the connection]
stonevil has quit [Remote host closed the connection]
mastr has quit [Read error: Operation timed out]
Fractional has joined #ruby
stonevil has joined #ruby
<YaNakilon> vicrun, do you want (0..16).each do |count, number| ?
wildroma_ has quit [Remote host closed the connection]
sayan has quit [Read error: Connection reset by peer]
luke has joined #ruby
<vicrun> YaNakilon: Yeah thanks.
jds has quit [Ping timeout: 246 seconds]
luke is now known as Guest39603
<YaNakilon> oh
Guest39603 has quit [Read error: Connection reset by peer]
<tobiasvl> vicrun: each only yields one number though
<YaNakilon> or you rather want (1..4).each_with_index{ |i, j| p [i,j] }
<tobiasvl> what exactly do you want count and number to be?
<tobiasvl> ah yeh that's probably it
<tobiasvl> each_with_index
xpirator has quit [Quit: Leaving...]
hogeo_ has joined #ruby
justsee has joined #ruby
tatsuya__ has joined #ruby
rodasc has joined #ruby
jmeeuwen_ has joined #ruby
kek has quit [Quit: kek]
s0ber_ has joined #ruby
burlyscudd has joined #ruby
kek has joined #ruby
mahlon_ has joined #ruby
parzo_ has joined #ruby
rpgsimmaster_ has joined #ruby
WhereIsMySpoon_ has joined #ruby
adamholt_ has joined #ruby
kek has quit [Client Quit]
joast has joined #ruby
parus_ has joined #ruby
tanema has joined #ruby
joast has quit [Client Quit]
flori_ has joined #ruby
DrForr_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
pranny has quit [Read error: Connection reset by peer]
pranny1 has joined #ruby
yasu_ has joined #ruby
sergicles_ has joined #ruby
burlyscudd has quit [Ping timeout: 256 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
girija has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
khushildep has quit [Ping timeout: 264 seconds]
homelinen_ has joined #ruby
joast has joined #ruby
BlueShark_ has joined #ruby
andr0m3da has joined #ruby
tkuchiki has joined #ruby
Diranged has quit [*.net *.split]
swordsmanz has quit [*.net *.split]
parzo has quit [*.net *.split]
snath has quit [*.net *.split]
whowantstolivefo has quit [*.net *.split]
snovak has quit [*.net *.split]
barratt has quit [*.net *.split]
tatsuya_o has quit [*.net *.split]
threesome has quit [*.net *.split]
hogeo has quit [*.net *.split]
Evixion has quit [*.net *.split]
zoee has quit [*.net *.split]
sergicles has quit [*.net *.split]
s0ber has quit [*.net *.split]
atno has quit [*.net *.split]
awarner has quit [*.net *.split]
rgrinberg has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
paul_k has quit [*.net *.split]
scrogson has quit [*.net *.split]
germanstudent has quit [*.net *.split]
BlueShark has quit [*.net *.split]
linux_noob_666 has quit [*.net *.split]
thelamest has quit [*.net *.split]
Koshian has quit [*.net *.split]
Z3tta has quit [*.net *.split]
the_mentat has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
wudofyr has quit [*.net *.split]
DrForr has quit [*.net *.split]
Alasdairrr has quit [*.net *.split]
jaimef has quit [*.net *.split]
udoprog has quit [*.net *.split]
bluehavana has quit [*.net *.split]
parus has quit [*.net *.split]
rpgsimmaster has quit [*.net *.split]
smlgs has quit [*.net *.split]
adamholt has quit [*.net *.split]
is_null has quit [*.net *.split]
mahlon has quit [*.net *.split]
choobie has quit [*.net *.split]
crodas has quit [*.net *.split]
dross has quit [*.net *.split]
go|dfish has quit [*.net *.split]
homelinen has quit [*.net *.split]
elektronaut has quit [*.net *.split]
bier has quit [*.net *.split]
darkc0met has quit [*.net *.split]
WhereIsMySpoon has quit [*.net *.split]
dominikh has quit [*.net *.split]
ccooke has quit [*.net *.split]
yasu has quit [*.net *.split]
epochwolf has quit [*.net *.split]
slash_nick has quit [*.net *.split]
kennym has quit [*.net *.split]
aboudreault has quit [*.net *.split]
flori has quit [*.net *.split]
s_e has quit [*.net *.split]
coaster has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
Cork has quit [*.net *.split]
yebyen has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
sergicles_ is now known as sergicles
homelinen_ is now known as homelinen
homelinen has quit [Changing host]
homelinen has joined #ruby
vicrun has quit [Remote host closed the connection]
jmeeuwen_ is now known as jmeeuwen
s0ber_ is now known as s0ber
mansi has joined #ruby
ccooke has joined #ruby
jaimef has joined #ruby
kennym has joined #ruby
kennym has quit [Changing host]
kennym has joined #ruby
whowantstolivefo has joined #ruby
justsee has quit [Ping timeout: 245 seconds]
mansi has quit [Remote host closed the connection]
dross has joined #ruby
dross has quit [Changing host]
dross has joined #ruby
mansi has joined #ruby
yebyen has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
choobie has joined #ruby
tls has joined #ruby
yebyen is now known as Guest58999
BRMatt has joined #ruby
thelamest has joined #ruby
atno has joined #ruby
Cork has joined #ruby
Emmanuel_Chanel has joined #ruby
GeekOnCoffee has joined #ruby
Sp4rKy has joined #ruby
germanstudent has joined #ruby
udoprog has joined #ruby
linux_noob_666 has joined #ruby
s_e has joined #ruby
swordsmanz has joined #ruby
rgrinberg has joined #ruby
the_mentat has joined #ruby
elektronaut has joined #ruby
Evixion has joined #ruby
threesome has joined #ruby
Alasdairrr has joined #ruby
coaster has joined #ruby
scrogson has joined #ruby
awarner has joined #ruby
zoee has joined #ruby
paul_k has joined #ruby
snovak has joined #ruby
slash_nick has joined #ruby
45PABEHAI has joined #ruby
go|dfish has joined #ruby
snath has joined #ruby
bier has joined #ruby
Z3tta has joined #ruby
is_null has joined #ruby
coaster has quit [Changing host]
coaster has joined #ruby
wudofyr has joined #ruby
avril14th has quit [Excess Flood]
noname001 has quit [Excess Flood]
Koshian has joined #ruby
khushildep has joined #ruby
decoponio has joined #ruby
codecop has quit [Remote host closed the connection]
aboudreault has joined #ruby
Z3tta has quit [Max SendQ exceeded]
Diranged has joined #ruby
45PABEHAI has quit [Max SendQ exceeded]
go|dfish has quit [Max SendQ exceeded]
Z3tta has joined #ruby
dominikh has joined #ruby
<zendeavor> can i get a code review over this 15 line quickie? http://is.gd/eCOZ3R
go|dfish has joined #ruby
noname001 has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
avril14th has joined #ruby
<zendeavor> i feel like there should be a better way to do that without the nasty (c+=1)-1 counter and several puts
decoponio has quit [Client Quit]
mneorr has quit [Remote host closed the connection]
BizarreCake has joined #ruby
dawkirst has quit [Ping timeout: 248 seconds]
<zendeavor> perhaps define an array and then #each_with_index
buibex has quit [Ping timeout: 240 seconds]
<zendeavor> dunno.
jds has joined #ruby
girija has joined #ruby
postmodern has quit [Quit: Leaving]
brandon has joined #ruby
syko has joined #ruby
realDAB has joined #ruby
<zendeavor> i'd end up with a nested array from the RUBY_VERSION.split
<Olipro> does ruby have a built in way of getting the path to a process, given the ID
<Olipro> i.e. how do I get the filesystem location of Process.ppid
<hoelzro> I doubt it
<hoelzro> considering that operation is not portable
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
<hoelzro> Olipro: what are you trying to do?
<Olipro> well, for this case, it can be linux specific
<Olipro> I want to get the path to the calling process
<xybre> zendeavor: I ran the code, why would you want it to output like that?
justsee has joined #ruby
<hoelzro> Olipro: right, but why?
lucazi has joined #ruby
<zendeavor> xybre: i'm outputting a shell array
<zendeavor> xybre: if you use bash, declare -p BASH_VERSINFO
<Olipro> hoelzro: because I need to behave differently depending on what executable called my script
ice has joined #ruby
<hoelzro> Olipro: could you give an example?
<Olipro> this isn't remotely relevant to what I want to do
Domon has quit [Remote host closed the connection]
<Olipro> right now I'm just going to go with following the symlink of /proc/<pid>/exe
Domon has joined #ruby
jonahR has joined #ruby
the_fallen has joined #ruby
<xybre> zendeavor: Ahh, okay, hold on
<hoelzro> Olipro: what if there's a better way to do what you are ultimately trying to do?
narcan has joined #ruby
<hoelzro> that approach will work, but depending on what you're trying to do, it may be easier/more maintainable/more understandable/etc
<Olipro> that is possible, but I still want to know how to get the filesys path to a process
<hoelzro> it's just as you said
<Olipro> or at this point, whether you have any better ideas than following /proc/<pid>/exe
<hoelzro> readlink /proc/$pid/exe
the_fallen has quit [Remote host closed the connection]
evenix has joined #ruby
<tls> zendeavor for TU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
lucazi_ has joined #ruby
classix has quit [Quit: leaving]
<zendeavor> tls: huh?
<zendeavor> oh it's a thing going on.
classix has joined #ruby
lucazi has quit [Ping timeout: 240 seconds]
Domon has quit [Ping timeout: 245 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dawkirst has joined #ruby
<zendeavor> would you look at that
mikecmpbll has joined #ruby
rdxc has joined #ruby
epochwolf|2 has joined #ruby
epochwolf|2 has quit [Max SendQ exceeded]
<xybre> Looks like I need to clean up one thing, looking at the output
_veer has quit [Ping timeout: 248 seconds]
<xybre> For some reason the engine is coming back as an array(?)
<zendeavor> odd
<xybre> Oh! an errent comma
<xybre> Fixed :)
<zendeavor> haha i see
<zendeavor> gotta keep it under 80cols now
<zendeavor> linebreaks are safe in [] aye?
kek has joined #ruby
<zendeavor> it's too bad this happens in a shell heredoc, can't do any pretty indenting
<xybre> zendeavor: updated, should be under 80c now
<zendeavor> clean.
tls is now known as suborbital
banisterfiend has quit [Remote host closed the connection]
<xybre> You might be better off putting it in its own file, the Ruby interpreter itself starts up so slowly that the additional file overhead should be unnoticable.
<Fractional> Gow can I pass a value from a class to another class in Ruby? Like, I want to get the value of @health in the Player class and do a calculation with it for my GUI class.
<xybre> Well, slowly compared to bash.
mklappstuhl has quit [Remote host closed the connection]
<zendeavor> xybre: chruby already spins up ruby like this
<xybre> zendeavor: you could always spin up Ruby in the background and communicate with it over pipes ;)
<xybre> er, Unix sockets, not pipes!
<Fractional> Xybre and Zendeavor could you help me out? I'm clueless.
jds has quit [Remote host closed the connection]
<zendeavor> you ever tried that, compatibly between zsh/bash/ksh/mksh xybre ?
<zendeavor> i'll leave you to ponder on that puzzle ;]
<zendeavor> protip: don't actually try this
tvw has joined #ruby
<xybre> zendeavor: sadly, I've looked into it. I can't even believe I did socket programming in bash, but there it is.
<zendeavor> ouch
epochwol- has joined #ruby
<xybre> It's easier than it sounds, but its really gnarly.
blaxter is now known as mayoria
chinkung has joined #ruby
<xybre> Fractional: Sure, hold on
<zendeavor> oh for sure, not *that* complicated. but then, was it mksh compatible?
mayoria is now known as blaxter
mercwithamouth has quit [Ping timeout: 240 seconds]
<zendeavor> xybre: @acook is your github?
<suborbital> DRINKS ARE ON ME FFS
suborbital has left #ruby [#ruby]
kung has quit [Ping timeout: 248 seconds]
jmeeuwen has quit [Ping timeout: 245 seconds]
mneorr has joined #ruby
<xybre> zendeavor: yessir :)
tesuji has joined #ruby
<xybre> zendeavor: I totally only looked into zsh and bash, only got as far as bash before deciding I was better off not.
yfeldblum has joined #ruby
<xybre> But, I might look into it again, just for masochistic reasons..
<zendeavor> yeah i've been rewriting chruby for almost two weeks now, to create it as a sort of ruby-changer library
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zendeavor> the final touch was getting that shell array in clean way
<Fractional> Help would be appreciated :- )
<zendeavor> Fractional: relax, okay. constant reminders are more of a deterrent than anything.
mneorr has quit [Remote host closed the connection]
<Fractional> I've not been constantly reminding but sure.
chinkung has quit [Ping timeout: 246 seconds]
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<zendeavor> i'm sure this other friendly fellow is digging up a doc or marking up an example for you as we speak
Coffers has joined #ruby
_veer has joined #ruby
justsee has quit [Quit: leaving]
justsee has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<zendeavor> argh
Fire-Dragon-DoL has joined #ruby
<zendeavor> stupid stupid stupid zsh indexes arrays from 1
ffio has joined #ruby
<Fractional> That's odd
Alina-malina has quit [Read error: Connection reset by peer]
<zendeavor> i think i'll compromise on simplicity and just +1 the index from ruby output
jmeeuwen has joined #ruby
<Fractional> Thank you very much Xybre, I'll check it out!
<zendeavor> it's not odd in zsh-world, where 1-indexed arrays align with other crazy junk they have
<xybre> zendeavor: omg really?
<zendeavor> yes, really really
<xybre> Thats such a pain though
Alina-malina has joined #ruby
<zendeavor> an _awful_ pain
haukur has joined #ruby
<zendeavor> you can get 0-indexed arrays with setopt ksharrays
<haukur> I'm trying to understand this: " officers.sort{|o1,o2| o1['last_name'] <=> o2['last_name']} "
<xybre> I prefer to have both offsets (0..n) and true indexes (1..n) available, but failing that, it should be consistent with the related standards.
<zendeavor> but that changes a lot of other zsh behaviour in subtle ways, and as chruby is a sourced script it would affect the user's interactive environment
<tobiasvl> haukur: it sorts officers by comparing their last names
<zendeavor> which includes all of the functions found in $fpath
<haukur> thanks guys
<zendeavor> so, i guess we'll just have empty index zero in the sane shells
<zendeavor> probably no one will care
<xybre> zendeavor: is that dangerous?
syko has quit [K-Lined]
<xybre> zendeavor: you could interpolate the index in the little heredoc
<zendeavor> say what
shaunbaker has quit [Remote host closed the connection]
<zendeavor> if any of this implies figuring out what shell we're under, it's out.
buibex has joined #ruby
<Fractional> Xybre: I can't get it to work. It says that player is a undefined method.
<xybre> Fractional: hmm, runs here let me try again
syko has joined #ruby
platzhirsch has joined #ruby
<Fractional> Xybre: I could provide you with my sourcecode.
syko is now known as Lanser
rshetty has joined #ruby
Lanser has quit [Changing host]
Lanser has joined #ruby
tealmage has quit [Remote host closed the connection]
Lanser has quit [K-Lined]
nari has joined #ruby
burlyscudd has joined #ruby
<Fractional> Xybre: The error is caused in gui.rb update or draw method
<xybre> Fractional: the backtrace would be useful here
himsin has quit [Quit: himsin]
<Fractional> Xybre: Sorry, I'm quite new with Ruby. What's a backtrace?
<xybre> zendeavor: Well, it wouldn't pass in the name of the shell, it would just derive the first index
amacgregor has joined #ruby
ewnd9 has joined #ruby
<zendeavor> i'm open to ideas as long as it's not based on argv[0] of the shell
Agd_Scorp has joined #ruby
fermion has joined #ruby
fermion has quit [Remote host closed the connection]
<xybre> zendeavor: oh there's a way to reference offsets in Bash, I wonder if the syntax works in the other shells (probably not..)
<zendeavor> ${arr[@]:offset:length} works in all the shells i believe
Diranged has quit [Ping timeout: 276 seconds]
<zendeavor> this targets bash3, bash4, [ksh93, mksh](unspecified versions)
burlyscudd has quit [Ping timeout: 260 seconds]
<zendeavor> no worries for POSIX or SUS crap, no legacy bourne crap
Xeago has joined #ruby
ahawkins has joined #ruby
jds has joined #ruby
mneorr has joined #ruby
mneorr_ has joined #ruby
<xybre> zendeavor: if it displays "0" then its zero indexed, if it displays "1" then its 1-indexed
AlHafoudh has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
AndChat| has joined #ruby
<xybre> Fractional: its the error message with the lines of code the error might have occured on
<zendeavor> that's a pretty clever idea
AlHafoudh has joined #ruby
<zendeavor> but it's some lame code to stick in here =[
AlHafoudh has quit [Max SendQ exceeded]
mklappstuhl has joined #ruby
<xybre> zendeavor: there should be a way to shrink it up to be a tiny one-liner, but I'm falling asleep here :D
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xybre> Alright, off to bed, good luck in all of your zendeavors
bklane has joined #ruby
<zendeavor> thanks xybre rest easy
mneorr has quit [Ping timeout: 248 seconds]
ewag has quit [Remote host closed the connection]
mansi has joined #ruby
Neomex has joined #ruby
<Fractional> Xybre, I'm still need of help.
Neomex has quit [Client Quit]
niceguyjames has quit [Quit: Computer has gone to sleep.]
realDAB has quit [Quit: realDAB]
<zendeavor> just keep working at it dude
<zendeavor> build a couple skeletal dummy classes and start trying to pass things between them
niceguyjames has joined #ruby
xcv has joined #ruby
wmoxam has joined #ruby
dweeb_ has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
neo_ has joined #ruby
mwmnj has joined #ruby
intuxicated has quit [Quit: Leaving]
AlHafoudh has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
mklappstuhl has quit [Ping timeout: 246 seconds]
<zendeavor> and then never delete those files
neo_ has quit [Client Quit]
<zendeavor> otherwise you'll be remaking the same dummy classes twice a week for 3 months
optimusprimem has quit [Ping timeout: 245 seconds]
stonevil has quit [Remote host closed the connection]
mansi has joined #ruby
epochwol- is now known as epochwolf
<zendeavor> even if i interpolate that index var into the heredoc, it'll make a mess
ArchBeOS-riding has joined #ruby
AlHafoudh has joined #ruby
ArchBeOS-riding is now known as ArchBeOS
xcv has quit [Remote host closed the connection]
AlHafoudh has quit [Max SendQ exceeded]
<zendeavor> cool idea anyway
tmi has joined #ruby
fridim_ has quit [Read error: Operation timed out]
xcv has joined #ruby
blip99 has joined #ruby
jp- has quit [Ping timeout: 240 seconds]
mansi has quit [Ping timeout: 240 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
xcv has quit [Read error: Connection reset by peer]
Agd_Scorp has quit [K-Lined]
codecop has joined #ruby
keen___ has quit [Ping timeout: 256 seconds]
realDAB has joined #ruby
Diranged has joined #ruby
keen___ has joined #ruby
neo_ has joined #ruby
realDAB has quit [Client Quit]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
noopq has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
noop has joined #ruby
zombiebit has joined #ruby
IceyEC has joined #ruby
eka has joined #ruby
mklappstuhl has joined #ruby
wmoxam has quit [Ping timeout: 256 seconds]
haukur has quit [Quit: leaving]
blueOxigen has quit [Ping timeout: 240 seconds]
mfridh has joined #ruby
nignaztic has joined #ruby
jonathanwallace has quit [Ping timeout: 240 seconds]
dwarf is now known as Dwarf
justsee has quit [Ping timeout: 264 seconds]
nazty has quit [Ping timeout: 245 seconds]
NajeebChoudhary has joined #ruby
stonevil has joined #ruby
krz has quit [Quit: krz]
krz has joined #ruby
krz has quit [Client Quit]
NajeebChoudhary has quit [Max SendQ exceeded]
mlpinit has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
NajeebChoudhary has joined #ruby
blueOxigen has joined #ruby
NajeebChoudhary has quit [Max SendQ exceeded]
_maes_ has quit [Ping timeout: 260 seconds]
codesoda has joined #ruby
NajeebChoudhary has joined #ruby
AlHafoudh has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
NajeebChoudhary has quit [Max SendQ exceeded]
krz has joined #ruby
mwmnj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cougarten has joined #ruby
ArchBeOS has quit [Read error: Connection reset by peer]
YaNakilon has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
redmenace has joined #ruby
kpshek has quit []
mark_locklear has joined #ruby
YaNakilon has joined #ruby
wallerdev has joined #ruby
jdenen has joined #ruby
Maoko has joined #ruby
buzzybron1 has quit [Quit: Leaving.]
codesoda has quit [Remote host closed the connection]
pranny1 has quit [Quit: Leaving.]
blip99 has quit [Ping timeout: 240 seconds]
cody-- has joined #ruby
pranny has joined #ruby
shaunbak_ has joined #ruby
pranny has quit [Client Quit]
hoyang has joined #ruby
hoyang has quit [Max SendQ exceeded]
krz has quit [Quit: krz]
mercwithamouth has joined #ruby
neo_ has quit [Quit: This computer has gone to sleep]
julweber has joined #ruby
zoee has quit [Remote host closed the connection]
breakingthings has joined #ruby
ArchBeOS has joined #ruby
bluehavana has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
kek has quit [Quit: kek]
anonymuse has joined #ruby
kek has joined #ruby
zoee has joined #ruby
niklasb has joined #ruby
tmi has quit [Quit: tmi]
kek has quit [Client Quit]
m8 has quit [Quit: Sto andando via]
kek has joined #ruby
tatsuya__ has quit [Ping timeout: 245 seconds]
intuxicated has joined #ruby
intuxicated has quit [Changing host]
intuxicated has joined #ruby
kek has quit [Client Quit]
kek has joined #ruby
ArchBeOS has quit [Ping timeout: 248 seconds]
julweber has quit [Remote host closed the connection]
m8 has joined #ruby
tomzx_mac has joined #ruby
barratt has joined #ruby
snath has quit [Ping timeout: 276 seconds]
kek has quit [Client Quit]
ntus1017 has joined #ruby
freerobby has quit [Quit: Leaving.]
nari has quit [Ping timeout: 260 seconds]
kek has joined #ruby
tatsuya_o has joined #ruby
sambao21 has joined #ruby
devoldmx3 has joined #ruby
jp- has joined #ruby
lebek has joined #ruby
m8 has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
julweber has joined #ruby
burlyscudd has joined #ruby
jonahR has quit [Quit: jonahR]
<Dwarf> How would I format an fixnum with strftime?
<Dwarf> The error I get is "undefined method `strftime' for 1376397504:Fixnum"
utdemir has joined #ruby
<Mon_Ouie> strftime, as the name implies is meant to format time, not numbers in general
<Mon_Ouie> You can use to_s, Kernel#sprintf or String#% for those
hakuta has quit [Remote host closed the connection]
justsee has joined #ruby
noop has quit [Ping timeout: 246 seconds]
<apeiros> Dwarf: an integer is not a time. and that your integer has a special meaning (namely that it's epoch time) is something you should mention
mneorr has joined #ruby
<apeiros> >> Time.at(1376397504).strftime('%Y-%m-%d %H:%M:%S')
<eval-in> apeiros => "2013-08-13 14:38:24" (https://eval.in/43030)
devoldmx3 has quit [Ping timeout: 256 seconds]
<Dwarf> Ah apeiros that was exactly what I was looking for. Thanks a bunch
krawchyk has joined #ruby
AlHafoudh has joined #ruby
mneorr_ has quit [Ping timeout: 264 seconds]
hyperboreean has joined #ruby
v0n has joined #ruby
mansi has joined #ruby
mneorr_ has joined #ruby
mneorr has quit [Read error: Connection reset by peer]
mneorr__ has joined #ruby
jds has quit [Remote host closed the connection]
Appineer has joined #ruby
tete_ has joined #ruby
v0n has quit [Ping timeout: 245 seconds]
mansi has quit [Ping timeout: 246 seconds]
Appineer has left #ruby [#ruby]
benlieb has joined #ruby
tonni has quit [Remote host closed the connection]
<tete_> hi, does someone know the variable i have to set for rake when running something on postgresql? i cant remember, and when i try to install a plugin it complains (redmine) ...
<tete_> atm i have only RAILS_ENV=production - but it was something with DB=pgsql or such
parus_ is now known as parus
jonathanwallace has joined #ruby
mneorr_ has quit [Ping timeout: 256 seconds]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lebek has joined #ruby
vadelius has quit [Ping timeout: 248 seconds]
tanema has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
atno has quit [Remote host closed the connection]
noop has joined #ruby
noop is now known as noopq
atno has joined #ruby
hogeo has joined #ruby
jerius has joined #ruby
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
linux_noob_666 has quit [Quit: Leaving]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
hyperboreean has left #ruby [#ruby]
devoldmx has joined #ruby
buibex has quit [Remote host closed the connection]
hogeo_ has quit [Ping timeout: 264 seconds]
ArchBeOS has joined #ruby
vadelius has joined #ruby
Spooner has joined #ruby
buibex has joined #ruby
Cooler__ has quit [Ping timeout: 248 seconds]
Diranged has quit [Ping timeout: 276 seconds]
ntus1017 has quit [Remote host closed the connection]
djdarkbeat has quit [Quit: djdarkbeat]
julweber_ has joined #ruby
mikecmpbll has joined #ruby
hogeo has quit [Ping timeout: 256 seconds]
rbento has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
devoldmx has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
AlHafoudh has quit [Quit: Computer has gone to sleep.]
julweber has quit [Ping timeout: 246 seconds]
linux_noob_666 has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
BlueShark_ is now known as BlueShark
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
shaunbaker has joined #ruby
JohnBat26|2 has quit [Ping timeout: 246 seconds]
brbcoding has joined #ruby
freerobby has joined #ruby
geekbri has joined #ruby
mklappst_ has joined #ruby
tonni has joined #ruby
shaunbak_ has joined #ruby
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
archer_ has joined #ruby
archer_ is now known as Guest60457
banisterfiend has joined #ruby
rshetty has quit [Quit: Sleeping]
phantummm has joined #ruby
mklappstuhl has quit [Ping timeout: 260 seconds]
redmenace has quit [Ping timeout: 256 seconds]
shaunbaker has quit [Ping timeout: 245 seconds]
ehc has joined #ruby
blip99 has joined #ruby
sevenseacat has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
ffio has joined #ruby
visof has quit [Quit: Leaving]
m8 has joined #ruby
Kruppe has joined #ruby
julweber_ has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 245 seconds]
smathieu has joined #ruby
utdemir_ has joined #ruby
kpshek has joined #ruby
tanema has joined #ruby
itcharlie has joined #ruby
utdemir has quit [Ping timeout: 256 seconds]
g0bl1n has joined #ruby
mansi has joined #ruby
huoxito has joined #ruby
justsee has quit [Ping timeout: 245 seconds]
jds has joined #ruby
freerobby has quit [Quit: Leaving.]
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
tgunr has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
blip99 has quit [Ping timeout: 264 seconds]
v0n has joined #ruby
Kruppe has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Kruppe has joined #ruby
mansi has quit [Remote host closed the connection]
tealmage has joined #ruby
fantazo has joined #ruby
Guest60457 has quit [Remote host closed the connection]
pentameter has joined #ruby
Beoran_ has quit [Read error: Connection reset by peer]
djdarkbeat has joined #ruby
Beoran_ has joined #ruby
retnuh has joined #ruby
mneorr has joined #ruby
Tricon has joined #ruby
buibex has quit [Remote host closed the connection]
brennanMKE has joined #ruby
jds has quit [Ping timeout: 264 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
bricker`1A has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
joshmyers has joined #ruby
AlHafoudh has joined #ruby
yacks has quit [Read error: Operation timed out]
Astralum has quit [Ping timeout: 264 seconds]
julweber has joined #ruby
<joshmyers> hi guys, I need to use system() to run this command, `echo "stats.#{opts[:deployment]}.apps.deployments 1 $(date +%s)" | nc -w1 statsd 2003`
<joshmyers> any ideas how to do this?
<joshmyers> system('echo', "stats.#{opts[:deployment]}.apps.deployments.#{opts[:repository]}", '1', '$(date +%s)', '|', 'nc', '-w1', "#{opts[:graphite_server]}", "#{opts[:graphite_port]}")
hiyosi has joined #ruby
<joshmyers> doesnt work..
tealmage has quit [Ping timeout: 264 seconds]
mneorr__ has quit [Ping timeout: 276 seconds]
JohnBat26|2 has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
tgunr has quit [Read error: Operation timed out]
BRMatt has quit [Ping timeout: 260 seconds]
asobrasil has joined #ruby
failshell has joined #ruby
tealmage has joined #ruby
tgunr has joined #ruby
<hoelzro> joshmyers: that's because you're using a bunch of shell magic
pjeide has joined #ruby
pjeide has joined #ruby
<joshmyers> ja :(
<hoelzro> why not just use Ruby's sockets?
<hoelzro> instead of nc?
<joshmyers> must be a way to accomplish in ruby ..
Davey has joined #ruby
<joshmyers> hoelzro: can do, I just nee the ruby equivalent of ^^
<joshmyers> `echo "stats.demo.apps.deployments 1 $(date +%s)" | nc -w1 statsd 2003`
mneorr_ has joined #ruby
optimusprimem has joined #ruby
optimusprimem has joined #ruby
<hoelzro> open a socket to statsd:2003
<hoelzro> and write the data to it?
AlHafoudh has quit [Ping timeout: 276 seconds]
mastr has joined #ruby
failshell has quit [Remote host closed the connection]
failshell has joined #ruby
wmoxam has joined #ruby
leonidlm has joined #ruby
julweber has quit [Ping timeout: 245 seconds]
mneorr has quit [Ping timeout: 245 seconds]
YaNakilon has quit [Ping timeout: 256 seconds]
ravster has joined #ruby
tomzx_mac has quit [Ping timeout: 245 seconds]
tealmage has quit [Ping timeout: 245 seconds]
julweber has joined #ruby
Astralum has joined #ruby
lucazi_ has quit [Remote host closed the connection]
utdemir_ has quit [Ping timeout: 264 seconds]
lucazi has joined #ruby
jprovazn has quit [Read error: Connection reset by peer]
tk_ has joined #ruby
<joshmyers> hmm
YaNakilon has joined #ruby
theRoUS has joined #ruby
parzo_ has quit [Read error: Connection reset by peer]
persand has quit [Ping timeout: 264 seconds]
MrPoT4tO has joined #ruby
mrpot4to_ has joined #ruby
tgunr has quit [Ping timeout: 264 seconds]
shaunbak_ has quit [Remote host closed the connection]
jprovazn has joined #ruby
persand has joined #ruby
pipework has joined #ruby
parzo has joined #ruby
persand has quit [Client Quit]
<tete_> joshmyers, guess this chan is somehow dead.. or only idler's ..
BillCriswell has joined #ruby
freerobby has joined #ruby
blip99 has joined #ruby
<hoelzro> hey, I answered! =P
baordog has joined #ruby
djdarkbeat has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
allsystemsarego has quit [Quit: Leaving]
mneorr_ has quit [Read error: Connection reset by peer]
Cooler_ has joined #ruby
vlad_starkov has joined #ruby
thepumpkin has quit [Remote host closed the connection]
ananthakumaran2 has quit [Quit: Leaving.]
girija has quit [Ping timeout: 264 seconds]
jds has joined #ruby
benlieb has quit [Quit: benlieb]
interactionjaxsn has joined #ruby
Kricir has joined #ruby
djdarkbeat has joined #ruby
rbento has quit [Ping timeout: 264 seconds]
<joshmyers> lol :P
Kruppe has quit [Remote host closed the connection]
maasdesigner has quit [Ping timeout: 245 seconds]
Kruppe has joined #ruby
zachrab_ has joined #ruby
gz0 has joined #ruby
<zachrab_> Fellow Rubyists - what setup (ie framework, web server, db, etc) would you suggest for a server for a mobile instant messaging app?
Kricir has quit [Ping timeout: 264 seconds]
julweber has quit [Remote host closed the connection]
<noopq> Is there a way to specify the ext paths for all the installed gems?
shaunbaker has joined #ruby
<hoelzro> zachrab_: I would use XMPP
<hoelzro> for the protocol, I mean
Kricir has joined #ruby
<zachrab_> hoelzro: XMPP?
devoldmx has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
shaunbak_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
sjltaylor has joined #ruby
Al_ has joined #ruby
fyz1x has joined #ruby
Astralum has quit [Ping timeout: 245 seconds]
mrpot4to_ has quit [Remote host closed the connection]
MrPoT4tO has quit [Read error: Connection reset by peer]
shaunbaker has quit [Ping timeout: 245 seconds]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devoldmx has joined #ruby
rhys has joined #ruby
sambao21 has joined #ruby
lebek has joined #ruby
lebek has quit [Client Quit]
fernandoaleman has joined #ruby
fernandoaleman has left #ruby [#ruby]
lebek has joined #ruby
_serial_ has joined #ruby
pkremer has quit [Quit: Leaving]
staafl_alt has joined #ruby
tgunr has joined #ruby
BRMatt has joined #ruby
Diranged has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
bluOxigen has joined #ruby
usse has quit [Remote host closed the connection]
fredjean has joined #ruby
mary5030 has joined #ruby
staafl has quit [Ping timeout: 264 seconds]
ixti has joined #ruby
kreisys has joined #ruby
hopheady has joined #ruby
is_null has quit [Quit: leaving]
zoee has quit [Quit: zoee]
stuartrexking has joined #ruby
BizarreCake has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
Kricir has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
gazarsgo has joined #ruby
xcv has joined #ruby
barratt has quit [Ping timeout: 264 seconds]
redmenace has joined #ruby
Kobrakao has joined #ruby
<diegoviola> is there a way to install chruby without installing any rubies first? the reason i ask this is that rbx is failing for some reason and i'd like to install rubies one by one, i don't want to re-do everything again
mansi has joined #ruby
tagrudev has quit [Read error: Connection reset by peer]
<aedorn> chruby install doesn't require a ruby install. Rubinius 2.0-rc1 requires Ruby 1.9.3 to be installed, though.
sambao21 has quit [Quit: Computer has gone to sleep.]
<diegoviola> i know
brennanMKE has quit [Remote host closed the connection]
<Kobrakao> someone know framwork desktop for ruby
<zendeavor> the chruby readme tells you how to, you know, install chruby
fyz1x has quit [Quit: Textual IRC Client: www.textualapp.com]
<diegoviola> the thing is, ./scripts/setup.sh will install the chruby command and also attempt to install 3 rubies for me: mri, jruby, rbx
dtcrshr has joined #ruby
dtcrshr has joined #ruby
resure has left #ruby ["WeeChat 0.4.1"]
gazarsgo has quit [Client Quit]
Kol has joined #ruby
<zendeavor> stop using the setup.sh
fyz1x has joined #ruby
tommyvyo has joined #ruby
orionstein is now known as orionstein_away
<zendeavor> echo $'. /etc/profile.d/chruby.sh\n. /etc/profile.d/auto.sh' >> .bashrc
<zendeavor> we have aur/chruby
sambao21 has joined #ruby
tommyvyo has quit [Client Quit]
<zendeavor> will that make you feel better
dtcrshr has quit [Read error: Connection reset by peer]
redmenace has quit [Ping timeout: 264 seconds]
Uranio has joined #ruby
devoldmx has joined #ruby
tonni has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
<aedorn> make install will install without grabbing a Ruby version. setup.sh specifically is for installing chruby and the latest releases of Ruby, JRuby, and Rubinius.
dtcrshr has joined #ruby
dtcrshr has quit [Changing host]
dtcrshr has joined #ruby
devoldmx27 has joined #ruby
thepumpkin has joined #ruby
Astralum has joined #ruby
sambao21 has quit [Ping timeout: 246 seconds]
noopq has quit [Ping timeout: 268 seconds]
kaspergrubbe has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 256 seconds]
<diegoviola> make install gives me only chruby-exec
sambao21 has joined #ruby
devoldmx3 has quit [Ping timeout: 268 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
<zendeavor> cower -d chruby; cd !$ && makepkg -si
relix has joined #ruby
gazarsgo has joined #ruby
ryannielson has joined #ruby
<maddog_> I'm beginning to think that today I'm only experiencing weird problems...
zets has quit []
blackmesa has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
JDHankle has joined #ruby
<aedorn> well yeah, that's what it should do. Then you add the script to your profile. source /usr/local/share/chruby/chruby.sh
ryannielson has quit [Client Quit]
<aedorn> Then it's installed, without installing any version of Ruby.
JDHankle_ has joined #ruby
ryannielson has joined #ruby
<ryannielson> I'm looking to pull in stuff from Facebook, and have narrowed it down the the fb_graph and koala gems. Can anyone make any recommendations for either of the two?
mansi has quit [Remote host closed the connection]
<Veejay> Is there a way to do a recursive slice in Ruby on Hash?
thepumpkin has quit [Remote host closed the connection]
pumper has joined #ruby
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
ewnd9 has quit [Remote host closed the connection]
mansi has joined #ruby
thebastl_ has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
thebastl_ has quit [Read error: Connection reset by peer]
thepumpkin has joined #ruby
<diegoviola> oh nevermind, i got /usr/local/share/chruby/chruby.sh
mercwithamouth has quit [Ping timeout: 256 seconds]
thoolihan has joined #ruby
<diegoviola> sourcing was enough it seems
<diegoviola> thanks
mlpinit has joined #ruby
ewnd9 has joined #ruby
thebastl_ has joined #ruby
kaspergrubbe has joined #ruby
thoolihan has left #ruby [#ruby]
JDHankle has quit [Ping timeout: 276 seconds]
sevenseacat has quit [Quit: Leaving.]
thebastl has quit [Ping timeout: 240 seconds]
Astralum has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
sevenseacat has joined #ruby
<mikecmpbll> Veejay: recursive slice?
tete_ has left #ruby ["Verlassend"]
tealmage has joined #ruby
jefflyne has joined #ruby
olivier_bK has joined #ruby
<Veejay> Something like {:a => {:b => 2, :c => 3, :d => {:e => 4}}}.slice({:a => [:c, :d]}) => {:a => {:c => 3, :d => {:e => 4}}}
hiyosi has quit [Quit: WeeChat 0.4.0]
tonni has joined #ruby
<Veejay> Like the Hash#slice of Rails but recursive somehow
Heskie has joined #ruby
<Veejay> But nevermind I think I have a working version
<apeiros> "somehow" is always a recipe for disaster in programming :-p
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Veejay> Most likely I'll do that another way, it's clunky anyway
<Veejay> Yes it is
dweeb_ has quit [Quit: Computer has gone to sleep.]
<Veejay> I am not feeling this thing at all
_honning_ has joined #ruby
staafl_alt has quit [Read error: No route to host]
tommyvyo has joined #ruby
<Kol> how do i check if a string is isalpha in ruby
<Kol> regex?
<YaNakilon> rails is disaster in programming
mercwithamouth has joined #ruby
Kricir has joined #ruby
olivier_bK has quit [Ping timeout: 246 seconds]
ffranz has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<apeiros> YaNakilon: um, no
<apeiros> Kol: yes
tealmage has quit [Ping timeout: 276 seconds]
stuartrexking has quit [Quit: Linkinus - http://linkinus.com]
companion is now known as Companion
evo510 has joined #ruby
jprovazn has quit [Quit: Leaving]
Cyrus has quit [Quit: Cyrus.sleep()]
devoldmx has joined #ruby
elux has joined #ruby
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ixti has quit [Ping timeout: 256 seconds]
devoldmx27 has quit [Ping timeout: 264 seconds]
tommyvyo has quit [Quit:]
zachrab_ has quit [Remote host closed the connection]
tommyvyo has joined #ruby
shredding has joined #ruby
girija has joined #ruby
hiyosi has joined #ruby
platzhirsch has quit [Ping timeout: 245 seconds]
hiyosi has quit [Client Quit]
stonevil has quit [Remote host closed the connection]
hiyosi has joined #ruby
freerobby has quit [Quit: Leaving.]
fantazo has quit [Ping timeout: 245 seconds]
<brbcoding> ah, I hate to ask stupid questions... But -- just learning Ruby at the moment. This https://gist.github.com/brbcoding/6222130 doesn't feel like a ruby way of doing things... What would be a better way of going about it?
baordog has quit [Read error: Connection reset by peer]
Krajsnick has joined #ruby
burlyscudd has quit [Quit: Leaving.]
<Xeago> brbcoding: there are other ways to do loops over ranges to do
moos3 has quit [Ping timeout: 264 seconds]
<Xeago> depending on your situation it might make sense to 'multiply' the ranges together
<Xeago> and just looping (each) over a single array
alem0lars has quit [Quit: Leaving]
shaunbak_ has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mlpinit has quit [Read error: Connection reset by peer]
<apeiros> (2..a).zip(2..b).map { |i,j| i**j }.uniq
<apeiros> @ brbcoding
mlpinit has joined #ruby
<apeiros> oh, wait, zip is wrong
<apeiros> you want all permutations
alekst has joined #ruby
adamholt_ is now known as adamholt
jds has quit [Ping timeout: 264 seconds]
lucazi_ has joined #ruby
rippa has joined #ruby
brennanMKE has joined #ruby
<Xeago> I believe a combinatorics library in ruby
Kricir has quit [Remote host closed the connection]
<apeiros> well, worst case: (2..a).flat_map { |i| (2..b).map { |j| i**j } }.uniq
<Xeago> I think it wasn't part of core but it was require'able without extra's
<apeiros> yeah, there's also Array#combination and #permutation, but I never remember how to use them
ssvo has quit [Ping timeout: 264 seconds]
niklasb has quit [Read error: Operation timed out]
<apeiros> and atm I'm a bit time restricted :)
<brbcoding> Okay cool... map/zip are good things to look at.
ahawkins has quit [Ping timeout: 248 seconds]
<apeiros> if your list gets too long, i.e. you don't want to build a full array and then .uniq it, then use a Set
<Xeago> otherwise, just turn the for loops into each's
<Xeago> that makes it look more ruby too
Kricir has joined #ruby
_bart has joined #ruby
<Xeago> what me and apeiros were suggesting is a more fuctional/procedural style I guess?
<apeiros> terms = Set.new; 2.upto(a) { |i| 2.upto(b) { |j| terms << i**j } }; terms.to_a
v8energy has joined #ruby
tesuji has quit [Ping timeout: 240 seconds]
<brbcoding> Any other benefits? drawbacks?
<brbcoding> to each vs for
<brbcoding> I suppose I could google
<Xeago> I wouldn't know the syntax for for :)
lucazi has quit [Ping timeout: 246 seconds]
<Xeago> then again, I am a rookie
<Kobrakao> someone know framwork desktop for ruby
mikecmpbll has joined #ruby
<Xeago> Kobrakao: html, it is awesome you just output it and it works(TM)
<apeiros> well, for/in is rarely used. it's actually faster than .each
shaunbaker has joined #ruby
<Xeago> howso? is for/in lazier than #each?
tatsuya_o has quit [Remote host closed the connection]
<apeiros> don't know all reasons. one probably that it doesn't create a closure.
<apeiros> don't know about `for i in 2..b` vs. `2.upto(b) { |i|`
<Kobrakao> Xeago html ?
<Kobrakao> desktop ?
<apeiros> I'd assume the latter to be faster. but well possible that Integer ranges with for/in are special cased.
<Kobrakao> and? package ?
<brbcoding> Most resources are actually saying that for uses each under the hood
<Kobrakao> for windows..
<Xeago> Kobrakao: any browser..
<Xeago> node-webkit if you must..
<Kobrakao> is not desktop?.
<apeiros> brbcoding: it generally does
<Xeago> html is a very good, if not the best, rendering engine. Disregarding real-time games
<apeiros> or did. with ruby 2 it actually could use other means.
<brbcoding> ah ok
clrmg has joined #ruby
<apeiros> (I don't know)
aganov has quit [Remote host closed the connection]
<brbcoding> yeah, looking it up...
<apeiros> but anyway, even if it generally does, that doesn't mean it can't special case things ;-)
<apeiros> see e.g. Range#include?, which special cases numeric ranges too
<brbcoding> man ruby has some cool stuff
<apeiros> or the parser, which special cases lots of things, e.g. [] method invocations
jonathanwallace has joined #ruby
baordog has joined #ruby
<aedorn> Never had so many issues trying to communicate with a device using a serial connection before
geggam has joined #ruby
geggam_ has joined #ruby
ahawkins has joined #ruby
Emmy has quit [Quit: ZNC - http://znc.in]
sergicles has quit [Quit: sergicles]
<reactormonk> any sweet way to remove a leading "0" from a string?
<Kobrakao> Xeago which tool you use to develop desktop
<Kobrakao> with html
<apeiros> reactormonk: define "sweet". str.sub(/\A0?/, '')
neo_ has joined #ruby
<reactormonk> apeiros, good enough
<Xeago> Kobrakao: I don't but if I develop to display on a desktop, I fire up an embedded webserver, and use any web framework to handle the requests to my app
<apeiros> actually, the ? isn't even necessary
<reactormonk> apeiros, I'll use ^ instead of \A
_veer has quit [Ping timeout: 264 seconds]
<apeiros> reactormonk: that's not "leading from the string", though
<apeiros> that's "leading from the line"
Emmy has joined #ruby
moos3 has joined #ruby
yacks has joined #ruby
ahawkins has quit [Client Quit]
<brbcoding> thanks for the help guys, btw.
tkuchiki has joined #ruby
burlyscudd has joined #ruby
<Xeago> Kobrakao: I am horrible biased, but gui-frameworks are a MESS
kobain has joined #ruby
<reactormonk> apeiros, good enough I presume
<reactormonk> Xeago, so is html
<Xeago> at least it is separated from the language you will develop in
sambao21 has quit [Quit: Computer has gone to sleep.]
<Kobrakao> Xeago understand.. then tidesdk is an option ?
<Xeago> never heard of it
neo_ has quit [Client Quit]
<Kobrakao> Xeago http://www.tidesdk.org/
lebek has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
<Kobrakao> ruby, php and python availables..
stuartrexking has joined #ruby
<aedorn> I still use Qt. I love Qt.. you can make a simple dumb web browser using Qt WebKit in a second if you're just rendering HTML.
<reactormonk> With PHP *uarg*
vince_prignano has quit [Remote host closed the connection]
sambao21 has joined #ruby
<Xeago> aedorn: that would be a good portable example yes
<Xeago> I think Qt might beat HTML
<aedorn> If hanmac were around he'd say wxWidgets =p
lucazi has joined #ruby
horofox has joined #ruby
shaunbaker has quit [Remote host closed the connection]
<Xeago> aedorn: everyone has a pet :)
<aedorn> indeed
lucazi_ has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Ping timeout: 256 seconds]
Kobrakao has quit [Quit: This computer has gone to sleep]
<clrmg> I installed rbenv via macports, but I'm missing "rbenv.bash". Any suggestions?
<Xeago> clrmg: I discourage you to use macports
<clrmg> Xeago: homebrew?
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sambao21 has quit [Client Quit]
<Xeago> would be a more up to date alternative yes
<clrmg> Xeago: thanks
<Xeago> I have no idea what rbenv.bash does tho
<Xeago> is it the loader script for rbenv?
<Xeago> it is probably just named differently over time now
alex__c2022 has joined #ruby
xcv has quit [Remote host closed the connection]
<clrmg> Xeago: If I run "rbenv init -", the second line generated is 'source "/opt/local/bin/../completions/rbenv.bash"'
baroquebobcat has joined #ruby
Kruppe has quit [Remote host closed the connection]
sambao21 has joined #ruby
YaNakilon has quit [Ping timeout: 264 seconds]
iAreBaboon_ has joined #ruby
Giorgio has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
tjad has joined #ruby
tommyvyo has quit [Quit:]
failshel_ has joined #ruby
rippa has quit [Read error: Connection reset by peer]
acrussell has joined #ruby
neo_ has joined #ruby
sambao21 has quit [Ping timeout: 256 seconds]
neo_ has quit [Client Quit]
jds has joined #ruby
kaspergrubbe has quit [Read error: Operation timed out]
maniacal has joined #ruby
blip99 has quit [Ping timeout: 264 seconds]
_veer has joined #ruby
goleldar has joined #ruby
girija has quit [Ping timeout: 268 seconds]
diegoviola has quit [Quit: WeeChat 0.4.1]
failshell has quit [Ping timeout: 256 seconds]
YaNakilon has joined #ruby
_maes_ has joined #ruby
neo_ has joined #ruby
tvw has quit []
<blackmesa> Hi all. anyone can tell me how ::Time.zone is called? I know that use :: to call a module, but :: without anything in front, what does it mean?
zachrab_ has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
xcv has joined #ruby
<endash> blackmesa: it means top-level, instead of current level
burlyscudd has quit [Quit: Leaving.]
<endash> so if you have module A class B end end; class B end; 'B' inside A is A::B, ::B would get you the outside B
neo_ has quit [Client Quit]
anay has joined #ruby
sergicles has joined #ruby
freerobby has joined #ruby
fredjean has joined #ruby
barratt has joined #ruby
kek has quit [Quit: kek]
<blackmesa> endash: thx!
zachrab_ has quit [Ping timeout: 245 seconds]
<endash> np
Tricon has quit [Quit: Linkinus - http://linkinus.com]
acrussell has quit [Quit: Leaving.]
devoldmx has quit [Read error: Connection reset by peer]
brain_shim has joined #ruby
pothibo has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
saarinen has joined #ruby
sambao21 has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
jefflyne has joined #ruby
tealmage has joined #ruby
Kricir has quit [Remote host closed the connection]
failshel_ has quit [Remote host closed the connection]
_serial_ has quit [Ping timeout: 256 seconds]
clrmg has quit [Ping timeout: 250 seconds]
failshell has joined #ruby
ewnd9 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
dweeb_ has joined #ruby
sayan has quit [Ping timeout: 260 seconds]
shredding has quit [Quit: shredding]
smathieu has joined #ruby
tommyvyo has joined #ruby
ananthakumaran has joined #ruby
iAreBaboon_ has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
girija has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
jmccune has joined #ruby
ryannielson has left #ruby [#ruby]
kaldrenon has joined #ruby
burlyscudd has joined #ruby
joshmyers has quit [Remote host closed the connection]
acrussell has joined #ruby
acrussell has left #ruby [#ruby]
dodosan has joined #ruby
Kobrakao has joined #ruby
Zolo has joined #ruby
sevenseacat has quit [Quit: Leaving.]
tjad has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
shadoi has joined #ruby
<slap_stick> when you have a rubygem and you require rubygems etc, is there a way for me to verbose the search it does to find a specific gem. I can see the gem in the gem.path but yet for some reason i can't laod it as it says it can't find it
senayar_ has quit [Ping timeout: 245 seconds]
<arietis> hi
dweeb_ has quit [Read error: Connection reset by peer]
Targen_ has joined #ruby
horofox has quit [Quit: Leaving.]
<arietis> what's better - rails or sinatra?
Lewix has joined #ruby
dodosan has quit [Ping timeout: 256 seconds]
<arietis> what are + and - ?
Targen has quit [Ping timeout: 260 seconds]
filipe has quit [Remote host closed the connection]
mikepack has joined #ruby
mneorr has joined #ruby
lucazi_ has joined #ruby
RichardBaker has joined #ruby
lucazi has quit [Ping timeout: 268 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
horofox has joined #ruby
<endash> they're not really comparable
MasterAsia has quit [Read error: Connection reset by peer]
Guest2798 has quit [Ping timeout: 264 seconds]
<endash> it's like comparing a house and the empire state building
s2013 has joined #ruby
MasterAsia has joined #ruby
<endash> the commonalities are pretty minimal
<Spooner> Yeah, it depends what you want to do.
waxjar has quit [Ping timeout: 260 seconds]
pothibo has quit [Quit: pothibo]
tatsuya_o has joined #ruby
BizarreCake has joined #ruby
waxjar has joined #ruby
Adawerk has joined #ruby
<arietis> i wanna develop prototype of some simple cms
<Spooner> Rails: Huge system, steep learning curve, very powerful, very prescribed way of doing things. Sinatra: Small system, doesn't force you to do things in particular ways. Most programmers seem to prefer Sinatra, web devs prefer Rails :D
digifiv5e has joined #ruby
sarkis has joined #ruby
<arietis> my main job is ios development
<arietis> so ruby is just hobby
digifiv5e is now known as Guest9360
saarinen has quit [Quit: saarinen]
dweeb_ has joined #ruby
g0bl1n has quit [Ping timeout: 256 seconds]
bricker`1A has quit [Quit: leaving]
<endash> I'd add to Spooner to say that a ruby newbie would be much better served playing with sinatra and not rails
Kruppe has joined #ruby
<linduxed> arietis: what Spooner said, basically. if ruby is just a hobby you might want to try sinatra, since you'll have an easier time understanding the whole picture
bklane_ has joined #ruby
<endash> rails has some helpful parts but there's a lot of magic that doesnt follow over into regular ruby, and there's some harmful community driven practices (like fat models)
noname001 has quit [Ping timeout: 260 seconds]
efrainolivares has joined #ruby
nomenkun has quit [Remote host closed the connection]
xcv has joined #ruby
<linduxed> endash: well, to be fair here, there's a movement to make models slimmer
<gazarsgo> that's racist
daniel_hinojosa has joined #ruby
bklane has quit [Ping timeout: 245 seconds]
randomautomator has joined #ruby
twoism has joined #ruby
dagobah has quit [Remote host closed the connection]
VTLob has joined #ruby
gemmy has joined #ruby
shadoi has quit [Quit: Leaving.]
zeade has joined #ruby
gemmy has quit [Read error: Connection reset by peer]
ephemerian has quit [Quit: Leaving.]
bklane_ has quit [Remote host closed the connection]
cougarten has quit [Ping timeout: 256 seconds]
bklane has joined #ruby
Spooner has quit [Remote host closed the connection]
Krajsnick has quit [Remote host closed the connection]
dwype has joined #ruby
mark_locklear has quit [Ping timeout: 240 seconds]
gemmy has joined #ruby
cougarten has joined #ruby
<linduxed> slap_stick: i think it'd be easier to help you if you posted the error message
<linduxed> slap_stick: along with the code that caused the error
freerobby has quit [Quit: Leaving.]
VTLob has quit [Quit: VTLob]
Spooner has joined #ruby
VTLob has joined #ruby
mercwithamouth has quit [Ping timeout: 268 seconds]
orionstein_away is now known as orionstein
redmenace has joined #ruby
VTLob has quit [Client Quit]
warnabas_ has joined #ruby
VTLob has joined #ruby
kjellski has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kreisys has quit [Quit: Computer has gone to sleep.]
<warnabas_> hi, should I leave WinOS to programming ruby? I heard that ruby and ror are more linux way designed, but is this totally true?
JohnBat26|2 has quit [Ping timeout: 246 seconds]
mark_locklear has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
redmenace has quit [Client Quit]
<gazarsgo> i try to match my production environment to my dev environment as close as possible… which usually means virtualization
<gazarsgo> which usually means Vagrant and VirtualBox
redmenace has joined #ruby
Astralum has joined #ruby
thebastl_ has quit [Read error: Operation timed out]
<apeiros> warnabas_: you can develop ruby/rails on windows. but it's certainly more pain than on linux/osx
ruby_learner12 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
pjeide` has joined #ruby
<ruby_learner12> Hi, how would I go about writing a unit test for the seeds.rb file in a rails project
ldnunes has joined #ruby
rippa has joined #ruby
tk_ has quit [Quit: ばいばい]
invsblduck has left #ruby ["WeeChat 0.4.1"]
<apeiros> ruby_learner12: as with everything else. stub/mock the interactions with other objects.
mklappst_ has quit [Remote host closed the connection]
banghouse2 has joined #ruby
pjeide has quit [Ping timeout: 246 seconds]
tonini has joined #ruby
<warnabas_> apeiros, look I have used linux for a while, but is studing ruby and rails very different between these systems? only for learning purposes
virtualize|work has joined #ruby
banghouse2 is now known as banghouse
<apeiros> warnabas_: I haven't used ruby on windows. I can only report from the "felt" issue count and resolutions here in irc
devoldmx has joined #ruby
jeffreylevesque has quit [Remote host closed the connection]
<apeiros> and it seems to me that windows users more often face issues related to how windows works which can't be solved by fellow rubyists because they don't use windows
<apeiros> e.g. silly things like \ vs. / for directory separators. in 99% of all cases it won't matter because higher level windows api's will work fine with /, but the 1% still happens…
<Xeago> I would recommend to use a vagrant box on windows
<Xeago> you can take your studying environment everywhere you want then
spider-mario has joined #ruby
<apeiros> gazarsgo & Xeago certainly have a point in their suggestion
<Xeago> heck, you can use amazon's free tier to put the box there
<Xeago> and use just an ssh client
bzitzow has joined #ruby
<bzitzow> Hi. I am looking for an open source project to contribute to that has low hanging fruit
spider-mario has quit [Read error: Connection reset by peer]
<bzitzow> I'm learning ruby coming from a classic OOP paradigm background
marcdel has joined #ruby
shaunbaker has joined #ruby
<Spooner> Well, you are much better off working on a project that you have a use for.
<bzitzow> I've been reading and studying and would like to participate in an open source project to practice what I've been learning. Anyone like some help?
ghr has quit [Quit: Computer has gone to sleep.]
<Spooner> Because really, there are 1000s of ongoing projects you could help with.
anay has quit [Remote host closed the connection]
Krajsnick has joined #ruby
stuartrexking has quit [Ping timeout: 268 seconds]
ghr has joined #ruby
moses_m has joined #ruby
mmitchell has quit [Remote host closed the connection]
IceyEC has quit [Read error: Connection reset by peer]
IceyEC has joined #ruby
barratt has quit [Ping timeout: 264 seconds]
kaspergrubbe has joined #ruby
relix has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
stuartrexking has joined #ruby
shaunbaker has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 245 seconds]
fgo has quit [Remote host closed the connection]
iliketurtles has joined #ruby
ruby_learner12 has quit [Quit: Page closed]
noopq has joined #ruby
camilasan has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 264 seconds]
kjellski has quit [Quit: Leaving]
avril14th has quit [Remote host closed the connection]
* arietis wonders why it takes so long to install sinatra ri docs
havenwood has joined #ruby
pjeide has joined #ruby
Heskie has quit []
Kricir has joined #ruby
clov3r has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
efrainolivares has quit [Quit: efrainolivares]
clov3r has quit [Remote host closed the connection]
tealmage has joined #ruby
efrainolivares has joined #ruby
rupee has joined #ruby
byprdct has joined #ruby
rbento has joined #ruby
devoldmx3 has joined #ruby
pjeide` has quit [Ping timeout: 268 seconds]
<pontiki> it does take a while, doesn't it
<bzitzow> Spooner: is there a project you are working on I could help out with?
alekst has quit [Quit: Computer has gone to sleep.]
Kricir has quit [Ping timeout: 245 seconds]
DanKnox_away is now known as DanKnox
chjunior has joined #ruby
burlyscudd has quit [Read error: Operation timed out]
<pontiki> bzitzow: here's what you do: find a project that looks interesting (FSVO interesting to you); read the outstanding issues list; find something to work on; fork the repo; work on it (write tests, code, run tests, rinse repeat until all green); make sure you've met the project guidelines if there are any; issue PR and update issue
freerobby has joined #ruby
<pontiki> BAM! you are now contributing
i_s has joined #ruby
devoldmx3 has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 245 seconds]
devoldmx has joined #ruby
jim0thy_ has quit [Quit: jim0thy_]
Voodoofish430 has joined #ruby
tonini has quit [Remote host closed the connection]
zastern_ has joined #ruby
RedB3ard has joined #ruby
<spike|spiegel> who suddenly says "PR"s are the way to contribute? :)
apeiros has quit [Remote host closed the connection]
tabolario has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
mlpinit_ has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
zastern has quit [Ping timeout: 264 seconds]
JZTech101 has quit [Read error: Connection reset by peer]
mlpinit has quit [Ping timeout: 256 seconds]
dgarstang has joined #ruby
mrsolo has joined #ruby
ntus1017 has joined #ruby
<dgarstang> I'm using chef... and it's using net:ssh... which seems to ignore my .ssh/config file. Any way to make it do that?
spider-mario has joined #ruby
freerobby has quit [Ping timeout: 268 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
tonini has joined #ruby
anay has joined #ruby
klaut has quit [Remote host closed the connection]
jmeeuwen has quit [Ping timeout: 245 seconds]
troessner has quit [Quit: Leaving]
Senjai has joined #ruby
mlpinit_ has quit [Remote host closed the connection]
RedB3ard has quit []
c0rn has joined #ruby
<Xeago> May I have your opinion about the following programming test to be used during pre-screening of the recruitment process?
Es0teric has joined #ruby
c0rn has quit [Client Quit]
thoolihan has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
stuartrexking has quit [Quit: Leaving...]
sayan has joined #ruby
geggam_ has quit [Quit: Leaving]
thoolihan has left #ruby [#ruby]
stkowski has joined #ruby
<waxjar> to me that feels like it's testing my math rather than my ruby
jarray52 has joined #ruby
freerobby has joined #ruby
c0rn has joined #ruby
<havenwood> Xeago: I'd much prefer the problem simply stating the expected input and desired output. I think that ^ would best judge ability to follow obtuse directions, but I guess it requires the ability to parse.
amacgregor has joined #ruby
<havenwood> meaningless single-letter variables are confusing
Companion is now known as companion
zeropx has joined #ruby
dodosan has joined #ruby
zeropx has quit [Client Quit]
zeropx has joined #ruby
<Xeago> it is mostly number theory
Es0teric has quit [Quit: Computer has gone to sleep.]
<Xeago> I will expand a bit on input and output
<Xeago> but input and output is mentioned?
_veer has quit [Ping timeout: 276 seconds]
tylersmith has joined #ruby
<Xeago> would it be better to change the second example to something different?
jds has quit [Ping timeout: 245 seconds]
tonini has quit [Remote host closed the connection]
madumo has joined #ruby
shadoi has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
ryannielson has joined #ruby
Niichan has quit [Quit: I'll be back, I hope]
<havenwood> Xeago: I'm trying to think of a nice example format. The HackerRank one can sometimes be nice, depends on the problem domain: https://www.hackerrank.com/challenges/find-digits
tylersmith has quit [Read error: Connection reset by peer]
Niichan has joined #ruby
JZTech101 has joined #ruby
tylersmith has joined #ruby
_honning_ has quit [Ping timeout: 264 seconds]
<havenwood> Xeago: Actually, they have a number of nice problems. I think the constraints should be optional (only if they matter, because confusing when they are irrelevant).
Al_ has quit [Quit: Al_]
zastern_ has quit [Remote host closed the connection]
seich- has joined #ruby
<Xeago> thanks will look at them
* Xeago starts his commute
zombiebit has quit [Remote host closed the connection]
redmenace has quit [Quit: leaving]
huf has joined #ruby
<havenwood> ^ That was a bad example I think, because only one example input/output. Nice to have that aspect highlighted imho.
horofox has quit [Quit: Leaving.]
<huf> hi guys, what's the recommended "simple install" procedure for ruby? similar to perlbrew for perl
<havenwood> Nicer to see that someone can think for themselves given realistic problems than follow directions I think.
<huf> curl someurl | sh and the rest is bootstrapped and lets you have any version you want in your homedir
zastern has joined #ruby
<Xeago> havenwood: yes, I have already redone that part, more in 35 minutes
Xeago has quit [Remote host closed the connection]
<ryannielson> I'm using the Instagram Gem: https://github.com/Instagram/instagram-ruby-gem in one of my projects. I'm fairly new to testing, and I'm wondering what the best way to test something like this would be. Currently using rspec and factory girl if that matters.
<xybre> huf: Use RVM
<havenwood> huf: I'd recommend chruby (with ruby-install): https://github.com/postmodern/chruby#readme
<huf> so which is it then? :D
<havenwood> chruby :PO
hamakn has quit [Remote host closed the connection]
<xybre> They're pretty much the same thing.
thoolihan has joined #ruby
<huf> any reason to pick one over the other?
<havenwood> huf: Options include RVM, rbenv/ruby-build and chruby/ruby-install.
khushildep has quit [Quit: khushildep]
<huf> "does not hook cd"
tjad has joined #ruby
<huf> i'm sold :D
hamakn has joined #ruby
<havenwood> hehe
stuartrexking has joined #ruby
<xybre> RVM was first and is most used, chruby is recent. RVM automatically changes Ruby or Gemsets when you cd into a directory if you tell it to. chruby does not.
devoldmx3 has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
cowgarden has joined #ruby
<huf> hmm, i cant find the way to install chruby without root, is that missing from the docs or am i blind?
anay has quit [Remote host closed the connection]
<xybre> Oh, and RVM strongly suggests *not* installing as root. Dunno about chruby.
shadoi has quit [Quit: Leaving.]
phantasm66 has joined #ruby
jmeeuwen has joined #ruby
JDHankle_ is now known as JDHankle
hamakn has quit [Ping timeout: 245 seconds]
<xybre> huf: are you on OSX or Linux?
<huf> linux
JZTech101 is now known as JZ|Zzz
cougarten has quit [Ping timeout: 264 seconds]
JZ|Zzz is now known as JZTech101
Demo_of_doom has joined #ruby
<xybre> Seriously, just use RVM. `\curl -L https://get.rvm.io | bash -s stable --ruby`
banister has joined #ruby
<xybre> If you don't like it, you can just do `rvm implode` and it will be gone.
JZTech101 is now known as JZ|Zzz
devoldmx3 has quit [Read error: Connection reset by peer]
<huf> xybre: we're doing that, but getting somewhat odd errors :)
JZ|Zzz is now known as JZTech101
<xybre> "odd errors"
<huf> making the paste thing
<huf> we say ruby -v, the version is the expected one
<huf> we say gem install rails --verbose
<huf> get this ^\
Kricir has joined #ruby
Ribhu has joined #ruby
devoldmx has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Ping timeout: 246 seconds]
<xybre> You're on Gentoo?
havenwood has quit [Remote host closed the connection]
saarinen has joined #ruby
<huf> debian squeeze4
<huf> s/4$//
<xybre> Well thats a python error.
urbanmonk has joined #ruby
<xybre> And nothing about Ruby or RVM needs Python.
devoldmx has quit [Read error: Connection reset by peer]
Tricon has joined #ruby
<huf> it is printed by gem
<huf> strace shows this
ziggles has joined #ruby
<xybre> Maybe I'm wrong, but I've never seen that before
<huf> also i cant find any Errno thing for python
<huf> nor :: as a separator
_veer has joined #ruby
_veer has joined #ruby
elaptics is now known as elaptics`away
havenwood has joined #ruby
<huf> python seems to have errno.ENOSYS but this aint that
thoolihan has left #ruby [#ruby]
<xybre> Hmm
Xeago has joined #ruby
xcv has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
xcv has joined #ruby
interactionjaxsn has joined #ruby
<xybre> I thought maybe RubyGems.org was having issues, but it seems fine here.
Targen_ has quit [Ping timeout: 276 seconds]
<havenwood> huf: Here's a local user install instruction: http://gistflow.com/posts/735-step-by-step-guide-for-install-chruby-for-local-user
jds has joined #ruby
<huf> ah, i see
<xybre> huf: did you run `source .bashrc` and ensure RVM was loaded?
apeiros has joined #ruby
<huf> of course not, i use zsh
<huf> but i did source ~/.rvm/scripts/rvm
xcv_ has joined #ruby
mlpinit has joined #ruby
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcv_ has quit [Remote host closed the connection]
<xybre> Oh I forgot they updated how that works in the last couple of weeks.
codezombie has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
girija has quit [Ping timeout: 276 seconds]
wu_lmao has quit [Quit: wu_lmao]
cody-- has joined #ruby
interactionjaxsn has quit [Ping timeout: 264 seconds]
vng|afk is now known as crankycoder
devoldmx has joined #ruby
<xybre> Maybe gem needs updating? `gem update --system --source http://rubygems.org/`
xcv has quit [Ping timeout: 268 seconds]
robscomputer has joined #ruby
<xybre> I dunno looks like a problem with your configuration. https://github.com/rubygems/rubygems/issues/552
malcolmva has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 248 seconds]
malcolmva has joined #ruby
tealmage has joined #ruby
io_syl has joined #ruby
Mon_Ouie has joined #ruby
Ciscoridze has quit [Quit: WeeChat 0.4.1]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
mmitchell has joined #ruby
sqd has joined #ruby
<ismell> i feel stupid,c =(DateTime.parse("...") - DateTime.parse("..."))
<ismell> what is c?
<ismell> I want to find the number of seconds between two date times
<ziggles> With regards to processing in parallel, how should I choose when to use forking vs threading?
<apeiros> ismell: ri DateTime#-
<apeiros> it tells you that the diff is in days
<apeiros> ziggles: well, threading in ruby is not parallel for starters. only concurrent.
Giorgio has quit [Ping timeout: 246 seconds]
<apeiros> unless you use jruby
<ismell> is it possible to get the diff in seconds?
<apeiros> ismell: if you know very very basic math, yes.
freerobby has quit [Quit: Leaving.]
<endash> i always forget the obvious operators
<endash> and find myself searching for some named method
<xybre> ismell: c =(DateTime.parse("...").to_i - DateTime.parse("...").to_i)
<xybre> c == seconds_difference
<ziggles> apeiros: this is due to the global interpreter lock ?
dankest has joined #ruby
<apeiros> ziggles: correct
freerobby has joined #ruby
<ziggles> apeiros: then i must be a victim of a placebo lol... I wrote some code and using threads it was much faster. granted it wasn't benchmarked... but it felt faster.
marius has joined #ruby
<ismell> don't seem to be a to_i on the result of parse
fmcgeough has joined #ruby
<ismell> but if i do c*24, that gives me hours
<apeiros> ziggles: if your problem is IO bound, that effect will happen, yes
<ismell> thanks,
<apeiros> ziggles: but that's the difference between concurrent and parallel
<ziggles> apeiros: AH... would a network request still be considered "IO" ?
adambeynon has joined #ruby
<apeiros> ziggles: of course
tealmage has quit [Ping timeout: 256 seconds]
<ziggles> apeiros: makes sense then. i was doing nothing process intensive... just querying some APIs
cowgarden has quit [Read error: Operation timed out]
<apeiros> yupp, that'd mean code is mostly waiting for the response, which means ruby can schedule other threads.
devoldmx has quit [Read error: Connection reset by peer]
kreisys has joined #ruby
buibex has joined #ruby
<xybre> ismell: ..parse.to_time.to_i gives the unix timestamp
staafl has joined #ruby
Donovan has joined #ruby
nadirvar_ has joined #ruby
ffio_ has joined #ruby
devoldmx has joined #ruby
<Xeago> havenwood: do you think it is better to take hackerrank's way of providing input
<Xeago> because I am only interested in the algorithm, not if they can operate with io..
<Xeago> or well, might be nice to tack that on too
<apeiros> ziggles: ^^
ffio has quit [Ping timeout: 264 seconds]
fernandoaleman has joined #ruby
fernandoaleman has left #ruby [#ruby]
devoldmx has quit [Read error: Connection reset by peer]
maxmanders has joined #ruby
kpshek has quit []
zeromodulus has joined #ruby
unstable has joined #ruby
rupee has quit [Quit: Leaving]
kpshek has joined #ruby
Xeago has quit [Remote host closed the connection]
leonidlm has quit [Ping timeout: 256 seconds]
mlpinit has quit [Remote host closed the connection]
<theRoUS> why would yard 0.8.7 give me errors like this when just documenting a simple module/class/constructor?
<theRoUS> [error]: Exception occurred while generating 'Sublime.html'
<theRoUS> [error]: ArgumentError: wrong number of arguments (0 for 1)
MasterAsia has left #ruby [#ruby]
Es0teric has joined #ruby
<ziggles> apeiros: thanks for the info on concurrency. (and for help over the past couple days)...
<ziggles> apeiros: added u on twitter.... http://i.imgur.com/9lo4PaR.gif
<ziggles> lol
Kricir has joined #ruby
ziggles has quit [Remote host closed the connection]
horofox has joined #ruby
jonathanwallace has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
urbanmonk has quit [Quit: urbanmonk]
interactionjaxsn has joined #ruby
Vivekananda has joined #ruby
shevy2 has joined #ruby
cads has joined #ruby
sambao21 has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
poll876 has joined #ruby
blackmesa has joined #ruby
<theRoUS> never mind, backing down to an earlier version of yard fixed it :-(
arietis has joined #ruby
devoldmx has joined #ruby
khushildep has joined #ruby
whowantstolivefo has quit [Read error: Connection reset by peer]
whowantstolivefo has joined #ruby
Xeago has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
devoldmx has quit [Read error: Connection reset by peer]
redmenace has joined #ruby
freerobby has quit [Quit: Leaving.]
brennanMKE has joined #ruby
alvaro_o has joined #ruby
freerobby has joined #ruby
jerius_ has joined #ruby
tjbiddle has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
browndawg has quit [Quit: Leaving.]
barratt has joined #ruby
c0rn has quit [Ping timeout: 246 seconds]
pel_daniel has joined #ruby
colonolGron has joined #ruby
c0rn has joined #ruby
shevy2 is now known as shevy
<gazarsgo> is Nokogiri::Slop really a terrible idea to use ?
barratt has quit [Client Quit]
Arkantos has joined #ruby
Arkantos has left #ruby [""The Cloud" is something idiots call what the rest of us call "The Internet""]
x1337807x has joined #ruby
jonahR has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
RichardBaker has quit [Quit: RichardBaker]
thebastl has joined #ruby
thebastl has quit [Remote host closed the connection]
devoldmx has joined #ruby
Uranio has quit [Quit: while you reading this, a kitty dies]
vlad_starkov has joined #ruby
ebanoid has quit [Quit: brbomgwtfbbq]
<epitron> gazarsgo: what are you trying to do why are you trying to do it
<gazarsgo> i'm just trying to pull some xml data into a hash
bradhe has joined #ruby
pel_daniel has quit [Ping timeout: 245 seconds]
staafl has quit [Read error: Connection reset by peer]
companion is now known as Companion
huevon has joined #ruby
entelechios has joined #ruby
pel_daniel has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
tjad has quit [Ping timeout: 256 seconds]
mlpinit has joined #ruby
noop has joined #ruby
arietis has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
kirun has joined #ruby
hopheady has quit [Ping timeout: 245 seconds]
snouv_ has joined #ruby
Companion is now known as companion
YaNakilon has quit [Ping timeout: 264 seconds]
nfk has quit [Ping timeout: 264 seconds]
Kricir has joined #ruby
saarinen has quit [Quit: saarinen]
companion is now known as Companion
noopq has quit [Ping timeout: 264 seconds]
ukd1 has joined #ruby
fenicks has joined #ruby
workmad3 has joined #ruby
YaNakilon has joined #ruby
hamakn has quit [Ping timeout: 276 seconds]
Diranged has left #ruby [#ruby]
unstable has left #ruby [#ruby]
<gazarsgo> xml2json was surprisingly light on hits on the interwebs
Kricir has quit [Ping timeout: 276 seconds]
Haya has quit [Read error: Connection reset by peer]
tonini has joined #ruby
horofox has quit [Quit: Leaving.]
cantonic has joined #ruby
Haya has joined #ruby
zastern has quit [Remote host closed the connection]
zastern has joined #ruby
<epitron> heh.. xml to json is a nasty hack
<epitron> google's gdata apis uses it
cj3kim has joined #ruby
itcharlie has left #ruby [#ruby]
<epitron> if you want to turn xml into json, you either have to rethink how you want to structure the data so the json isn't nasty, or do something nasty
efrainolivares has joined #ruby
<epitron> (unless you're lucky, and all your xml is already structured as json)
<epitron> the non-nasty restructuring step is a manual xml->json converter
<epitron> the other ways are automatic
ixti has joined #ruby
snouv_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
snouv_ has joined #ruby
alpha123 has joined #ruby
billy_ran_away has joined #ruby
SHyx0rmZ has joined #ruby
arietis has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
snouv_ has quit [Remote host closed the connection]
<gazarsgo> it's more a question of how are the people producing this xml going to break this for me in the future
<gazarsgo> unless you have really complicated namespaces, xml to json is pretty trivial ?
ninegrid has joined #ruby
tealmage has joined #ruby
colonolGron is now known as futureGron
<arietis> which db is good for sinatra-based web apps?
<arietis> postgresql or mongodb?
<alpha123> arietis: depends on what you're doing
jlast_ has joined #ruby
<alpha123> arietis: they're both "good" (actually they're both great)
<arietis> i'm gonna develop some kind of knowledge base
<arietis> so there will be a lot of data
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arietis> and simple models
Nahra has quit [Read error: Operation timed out]
jonkri has quit [Read error: Connection reset by peer]
<alpha123> arietis: I'd probably go with mongodb then, but I tend to prefer NoSQL. It's really up to your preference, both will handle that just fine.
jlast has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
lebek has joined #ruby
ffio_ has quit [Quit: WeeChat 0.4.1]
arietis has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
brennanMKE has joined #ruby
mansi has joined #ruby
tjad has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
ixti has quit [Read error: Connection reset by peer]
BizarreCake has quit [Ping timeout: 276 seconds]
tealmage has quit [Ping timeout: 268 seconds]
maasdesigner1 has joined #ruby
ixti has joined #ruby
devoldmx3 has joined #ruby
ixti has quit [Read error: Connection reset by peer]
Appineer has joined #ruby
Appineer has left #ruby [#ruby]
noop has quit [Ping timeout: 246 seconds]
ananthakumaran has quit [Quit: Leaving.]
ixti has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
sambao21 has quit [Quit: Computer has gone to sleep.]
weeb1e has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
efrainolivares has quit [Quit: efrainolivares]
mando has joined #ruby
ixti has quit [Read error: Connection reset by peer]
Deele has joined #ruby
blaxter has quit [Quit: foo]
ixti has joined #ruby
saarinen has joined #ruby
jaynewstrom has quit [Read error: Connection reset by peer]
AndChat| has quit [Ping timeout: 256 seconds]
krnflake has quit [Ping timeout: 246 seconds]
Kricir has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
i_s has quit [Remote host closed the connection]
arietis has joined #ruby
Banistergalaxy has joined #ruby
zeromodulus has left #ruby [#ruby]
krnflake has joined #ruby
arietis has quit [Client Quit]
Hobogrammer has joined #ruby
zmike1234 has quit [Quit: ~]
hyperscion has joined #ruby
jdenen1 has joined #ruby
ntus1017 has quit [Remote host closed the connection]
<gazarsgo> alpha123: how do you implement full text search on top of mongodb ?
wicked has quit [Ping timeout: 246 seconds]
<alpha123> gazarsgo: ...I actually don't know, but Google probably does. ;)
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
Mekkis has quit [Write error: Broken pipe]
Kricir has quit [Ping timeout: 246 seconds]
jdenen has quit [Ping timeout: 240 seconds]
cortexman has quit [Quit: Leaving.]
Mekkis has joined #ruby
jds_ has joined #ruby
<gazarsgo> it was a rhetorical question
warnabas_ has quit [Read error: Connection reset by peer]
jds has quit [Ping timeout: 268 seconds]
aedorn has quit [Quit: Leaving]
<gazarsgo> mongodb is great for versioning things but really bad at scaling
warnabas has joined #ruby
<gazarsgo> not to say you shouldn't use it for quick prototypes
<gazarsgo> but postgres will take you much much further
poll876 has quit []
brennanMKE has quit [Read error: Connection reset by peer]
brennanM_ has joined #ruby
<xybre> "bad at scaling"
jaynewstrom has joined #ruby
cortexman has joined #ruby
<xybre> I had a project last year where we built an ETL system that dumped 30 million records into Mongo every morning. Mongo was never a bottleneck. We had mongo clustered and set up read-slaves to scale.
<gazarsgo> that's cool, how did you test network partitions ?
<xybre> It's not rocket science. And it took much less work than using Postgres.
<xybre> What about it? The write-masters would sync up the slaves when the network became available again.
<gazarsgo> so you didn't test network partitions ?
platzhirsch has joined #ruby
jds_ has quit [Ping timeout: 245 seconds]
<xybre> Nevermind, jsut use Oracle. That's the best plan.
<platzhirsch> is there an oracle gem?
fmcgeough has quit [Quit: fmcgeough]
amacgregor has joined #ruby
<Nilium> I hate you, -0.0 >:|
jds has joined #ruby
nhubbard has joined #ruby
<banister> platzhirsch: the woman in blue she's asking for revenge the man in white, that's you, says he has no friends...the river's swollen up with rusty cans and the trees are burning in your promised land! (no, there's no gem afaik)
JaTochNietDan has quit [Quit: Right.]
saarinen has quit [Quit: saarinen]
<platzhirsch> heh, what the heck is going on
<nhubbard> anyone know what is going on with this: http://pastebin.com/bdfjFr41
theRoUS has quit [Ping timeout: 245 seconds]
maasdesigner1 is now known as maasdesigner
_veer has quit [Ping timeout: 264 seconds]
splittingred has joined #ruby
<platzhirsch> time to mine some diamonds
<xybre> nhubbard: there's probably more to it than the code you pasted
warnabas has quit [Ping timeout: 248 seconds]
bradhe has quit [Remote host closed the connection]
wicked has joined #ruby
<banister> platzhirsch: you googled it or you knew it already? :)
<Nilium> Hm, IntelliJ's Ruby plugin isn't very nice.
<platzhirsch> banister: couldn't take the credit, definitely googled it :D
<banister> platzhirsch: ah, too bad :) I thought you were a cool cat like me for a moment
<platzhirsch> ^^
i_s has joined #ruby
Senjai has quit [Ping timeout: 276 seconds]
smathieu has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
jds has quit [Ping timeout: 256 seconds]
sambao21 has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
jds has joined #ruby
_honning_ has joined #ruby
AndChat| has joined #ruby
bradhe has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
peregrine81 has joined #ruby
emanu has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Banistergalaxy has quit [Ping timeout: 245 seconds]
robustus has joined #ruby
buibex has quit [Remote host closed the connection]
buibex has joined #ruby
Lewix has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
futureGron has quit [Quit: Lost terminal]
Kricir has joined #ruby
colonolGron has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
ehaliewicz has joined #ruby
anonymuse has quit [Remote host closed the connection]
ldnunes has quit [Read error: Connection reset by peer]
kidoz has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
c0rn has joined #ruby
Targen has joined #ruby
anonymuse has joined #ruby
sebastiansier has joined #ruby
dweeb_ has quit [Read error: Connection reset by peer]
_veer has joined #ruby
jds has quit [Ping timeout: 276 seconds]
Xeago has quit [Ping timeout: 256 seconds]
jlast_ has quit [Remote host closed the connection]
staafl has joined #ruby
kaspergrubbe has joined #ruby
brennanM_ has quit [Remote host closed the connection]
amacgregor has quit [Ping timeout: 245 seconds]
brbcoding has quit []
jds has joined #ruby
Xeago has joined #ruby
retnuh has quit [Quit: Textual IRC Client: www.textualapp.com]
RichardBaker has joined #ruby
xcv has joined #ruby
<Nilium> Seems silly that Rubocop hates => hash usage.
<Xeago> havenwood: a revised version, https://www.filepicker.io/api/file/lESbkSBnRa25Z6UMQZHZ
<Xeago> And anyone else also welcome to tell me their opinion on it
maxmanders has joined #ruby
<Xeago> it is intended as a pre-screening filter for job applicants
jds has quit [Read error: Connection reset by peer]
jds has joined #ruby
<Nilium> Minor quibble, but I feel like your subset-or-equal-to is really tiny. Might be easy to miss the underline.
<Nilium> Hell, on my non-HDPI screen you can't really see it.
<Xeago> tbh, there is no functional difference in this case
<Xeago> because a set is constructed on both sides
<Xeago> there won't be any duplicates
ryandeussing has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
mgorbach has quit [Quit: ZNC - http://znc.in]
<havenwood> Xeago: I think that is a really nice update. :D
<Xeago> the styling has a finishing touch to it :)
<Nilium> "No functional difference" doesn't excuse poor readability >_>
mgorbach has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<Nilium> Soes y'knows
vlad_starkov has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<Xeago> Nilium: it doesn't matter to me if they read < instead of <_
ryannielson has quit [Quit: ryannielson]
<Xeago> if you know what I mean
jds has quit [Ping timeout: 246 seconds]
tealmage has joined #ruby
niklasb has joined #ruby
fermion has joined #ruby
iliketurtles has joined #ruby
<Nilium> Don't dodge the issue of fixing your font size choice. -_-
jds has joined #ruby
<Xeago> It is the default font-size..
<Xeago> Default font family even
<Nilium> Then fix it.
<Nilium> You're arguing to keep something the same that totally does not help anything.
<Nilium> Are you really a good choice for screening job applicants if you can't fix an obvious problem with your own stuff?
<Nilium> Where's my giant foam hand to smack you with
<shevy> I experienced the strangest thing
sayan has quit [Ping timeout: 246 seconds]
<Nilium> You saw two cats where there should have been one?
<Xeago> are they readable/distinguishable for you at https://en.wikipedia.org/wiki/Set_(mathematics) ?
<shevy> up until 2 days ago, I though basically that... when you compile for x32, it will work on x32 architecture, if you compile for x64 it will work on x64 again (linux)
<shevy> *thought
<Nilium> Nope.
<Nilium> They should fix that too.
<shevy> but this is not so simple! you also need to take the glibc version into account... :(
<shevy> my current glibc is 2.11.3, and the glibc I used before was I think 2.17, and the binaries I compiled scream at me saying that my libc version is too old
<shevy> oh wait sorry
<shevy> glibc 2.15:
maxmanders has quit [Quit: Computer has gone to sleep.]
<shevy> ./ruby: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./ruby)
jlast has joined #ruby
jds has quit [Ping timeout: 245 seconds]
kaspergrubbe has joined #ruby
<Nilium> ≤ and ≥ are easier to see because their bottoms don't collide with the underline, but otherwise it's really bad. At any rate, don't try to weasel your way out of this by arguing that Wikipedia does it, 'cause bad is still bad.
<Xeago> Nilium: don't really know how to fix it without making the whole page bigger..
<shevy> hehe
<Xeago> Nilium: does this render better?
<Nilium> Yes.
<Xeago> there we go :)
jds has joined #ruby
tealmage has quit [Ping timeout: 245 seconds]
elaptics`away is now known as elaptics
wildroman has joined #ruby
byprdct has joined #ruby
maxmanders has joined #ruby
byprdct has quit [Max SendQ exceeded]
devoldmx has joined #ruby
<Nilium> That also works.
<Nilium> Looks like the monospaced font handles the symbol better.
<iliketurtles> If i have {:class=>"control-label"} and {:class=>"checkbox"}, how can I merge them to have a resultant hash of {:class=>"control-label checkbox"}
<Xeago> I think the boldness over the monospace looks odd
<Xeago> might be my local fonts tho
staafl has quit [Ping timeout: 256 seconds]
cowgarden has joined #ruby
breakingthings has quit [Quit: breakingthings]
<Nilium> Though there's always the choice of <span style="font-size: 1.4em">⊆</span>
<Xeago> I am not editing html, it is just an automated output link
<Nilium> That said, the baseline looks wonky because of that.
<Xeago> I'll leave it in monospace, non bold
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
devoldmx3 has quit [Ping timeout: 245 seconds]
kidoz has quit [Quit: Ухожу я от вас]
<rien> I need some pry help. How can I basically do what is meant by this (not valid code): (someObj.some_method arg1, arg2).pry ?
brennanMKE has joined #ruby
<rien> I want to then step through it with the help of pry-byebug
Senjai has joined #ruby
Senjai has joined #ruby
Lewix has joined #ruby
slap_stick has quit [Disconnected by services]
Mon_Ouie has quit [Ping timeout: 245 seconds]
<iliketurtles> << {:class=>"control-label"}.merge( {:class=>"checkbox"}){ |key, first, second| first + " " + second }
<rien> but basically I want to set a breakpoint at the beginning of some call that I'll do in my rails console / irb
<rien> banister: ping ^
<Nilium> binding.pry ; your-code-here?
slap_stick has joined #ruby
<rien> Nilium: my code after it?
efrainolivares has joined #ruby
<Nilium> Yes. Just break and then step.
lushious has quit [Ping timeout: 240 seconds]
jds has quit [Ping timeout: 276 seconds]
<slap_stick> hey i am having a weird issue with rubygems, i've installed a gem, i can see it installed in the gem.path , but a gem list doesn't show it and i'm not sure what i should do to debug why that might be?
tonini has quit [Remote host closed the connection]
krawchyk has quit [Remote host closed the connection]
<rien> Nilium: hmm... ok let me try that. I saw the example on github but for some reason thought it wouldn't work like that in the console / irb
Kricir has joined #ruby
<Nilium> slap_stick: What's your gem env gempath say?
<Nilium> Well, more specifically, is it in that path?
<slap_stick> yep it's i that path
tonini has joined #ruby
<slap_stick> thats what i used to check
mneorr has quit [Remote host closed the connection]
<slap_stick> ruby -r rubygems -e "p Gem.path" when i check inside that path, i can see it installed, but for some reason it's just not showing
dodosan has quit [Remote host closed the connection]
<Nilium> Hm.
<Nilium> Using rvm?
<slap_stick> nope
<Nilium> I got nothing then.
<slap_stick> yeh me neither, very weird
lushious has joined #ruby
geekbri has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 245 seconds]
tjad has quit [Ping timeout: 264 seconds]
chriskk has joined #ruby
tonini has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 260 seconds]
Alina-malina has joined #ruby
rickruby has quit [Remote host closed the connection]
efrainolivares has quit [Quit: efrainolivares]
maxmanders has quit [Quit: Computer has gone to sleep.]
staafl has joined #ruby
supergiantrobot has joined #ruby
sebastiansier has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
mneorr has joined #ruby
ixti has quit [Ping timeout: 256 seconds]
buibex has quit [Remote host closed the connection]
badquanta has quit [Remote host closed the connection]
jdenen1 has quit [Quit: Leaving.]
ixti has joined #ruby
ebanoid has joined #ruby
<shevy> what is the better language
<shevy> ruby or python?
efrainolivares has joined #ruby
Demo_of_doom has quit [Remote host closed the connection]
<apeiros> scala!
<shevy> I mean real languages that people really use
jdenen has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
<duke_nukem> Go
twoism has quit [Remote host closed the connection]
<alpha123> shevy: Twitter uses scala
tonini has joined #ruby
<duke_nukem> as well as Yammer
<apeiros> shevy: ok, but then how can we choose any? nobody uses ruby nor python…
twoism has joined #ruby
khushildep has quit [Quit: khushildep]
postmodern has joined #ruby
<alpha123> shevy: There's no such thing as a "better language". I personally prefer Ruby, because Python tends to shun its functional nature while Ruby embraces it
<shevy> nah there are many thousand people who use either
<shevy> didn't twitter use ruby before?
tvw has joined #ruby
<alpha123> shevy: Twitter uses both Ruby and Scala
<shevy> hmm
<alpha123> Scala for the backend, Ruby for the frontend
<jericon> Yup, that's right
* alpha123 wants to work at Twitter
<jericon> alpha123: What do you do? Are you looking for a job?
<alpha123> jericon: I'm a high school student, but yes, I sort of am.
_veer has quit [Ping timeout: 264 seconds]
<jericon> alpha123: Well... I actually can't speak to that situation, but I know that we do a lot of internships :)
* jericon <- MySQL DBA at Twitter
<alpha123> As for what I do, math, programming, occasional art and music, oh and schoolwork. :P
<alpha123> jericon: cool
<gazarsgo> jericon: do you know why no status on the oauth/session outage today ?
nucatus has joined #ruby
<duke_nukem> jericon: that must be rough
<alpha123> jericon: Unfortunately I'm in Colorado, do you do anything anywhere other than California?
DrCode has quit [Remote host closed the connection]
tacos1de has quit [Remote host closed the connection]
Bry8Star{T2 has quit [Remote host closed the connection]
end_guy has quit [Write error: Broken pipe]
JaTochNietDan has joined #ruby
<jericon> gazarsgo: nope, though you can maybe look at #twitterapi for more info (Didn't even know there were any issues)
<jericon> duke_nukem: Keeps me busy
<duke_nukem> jericon: at least it's not boring!
<gazarsgo> yeah i'm the only one who's said anything in #twitterapi today
<jericon> alpha123: We have remote offices all over the world, and we actually have a number of remote employees, even though the main office is here in SF
twoism has quit [Ping timeout: 268 seconds]
Bry8Star{T2 has joined #ruby
<jericon> Main engineering offices are Seattle, Boston and SF. Most of the rest is sales and marketing.
<alpha123> jericon: Thanks! I think you guys do really cool stuff over there in languages I like. :)
DrCode has joined #ruby
tonini has quit [Remote host closed the connection]
breakingthings has joined #ruby
jds has joined #ruby
Nisstyre-laptop has joined #ruby
Nisstyre-laptop is now known as nisstyre
end_guy has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
c0rn has quit [Quit: Computer has gone to sleep.]
marius has quit [Ping timeout: 246 seconds]
buibex has joined #ruby
sambao21 has joined #ruby
devoldmx has joined #ruby
tonini has joined #ruby
spider-mario has quit [Remote host closed the connection]
emanu has quit [Quit: emanu]
tonini has quit [Remote host closed the connection]
marius has joined #ruby
Vivekananda has joined #ruby
havenwood has quit [Remote host closed the connection]
Kricir has joined #ruby
dodosan has joined #ruby
mark_locklear has quit [Ping timeout: 276 seconds]
Spami has joined #ruby
homelinen has quit [Ping timeout: 256 seconds]
nucatus has quit [Remote host closed the connection]
nucatus has joined #ruby
saarinen has joined #ruby
Companion is now known as companion
brain_shim has quit [Ping timeout: 268 seconds]
homelinen has joined #ruby
rclanan has joined #ruby
tacos1de has joined #ruby
Kricir has quit [Ping timeout: 256 seconds]
Bry8Star{T2 has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 276 seconds]
Bry8Star{T2 has joined #ruby
rickruby has joined #ruby
maxmanders has joined #ruby
leonidlm has joined #ruby
_veer has joined #ruby
dtcrshr has quit [Quit: poff]
_veer has quit [Changing host]
_veer has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
nomenkun has joined #ruby
ffranz has quit [Quit: Leaving]
oddalot has quit [Ping timeout: 264 seconds]
IceyEC has quit [Quit: IceyEC]
ixti has quit [Ping timeout: 256 seconds]
brennanMKE has quit [Remote host closed the connection]
evenix has quit [Remote host closed the connection]
moted has quit [Quit: moted]
machuga is now known as machuga|away
moted has joined #ruby
machuga|away is now known as machuga
devoldmx has quit [Read error: Connection reset by peer]
kaldrenon has quit [Remote host closed the connection]
devoldmx has joined #ruby
jdenen has quit [Quit: Leaving.]
rickruby has quit [Ping timeout: 264 seconds]
maniacal has quit [Ping timeout: 264 seconds]
jdenen has joined #ruby
tanema has quit [Remote host closed the connection]
awc737 has quit [Ping timeout: 246 seconds]
Catie has quit [Ping timeout: 246 seconds]
phite has quit [Ping timeout: 246 seconds]
JZTech101 is now known as JZ|Zzz
narcan has joined #ruby
tealmage has joined #ruby
buibex has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sebastianb has quit [Ping timeout: 246 seconds]
Krajsnick has quit [Remote host closed the connection]
awc737 has joined #ruby
pcarrier_ has quit [Ping timeout: 246 seconds]
sweet_kid has quit [Ping timeout: 246 seconds]
Sammael has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
phite has joined #ruby
tylersmith has joined #ruby
breakingthings has quit [Quit: breakingthings]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
c0rn has joined #ruby
sebastianb has joined #ruby
Catie has joined #ruby
Catie has quit [Changing host]
Catie has joined #ruby
sweet_kid has joined #ruby
pcarrier has joined #ruby
c0rn has quit [Client Quit]
devoldmx has quit [Read error: Connection reset by peer]
IceyEC has joined #ruby
tealmage has quit [Ping timeout: 264 seconds]
Giorgio has joined #ruby
wu_lmao has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
c0rn has joined #ruby
sambao21 has joined #ruby
jdenen has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
sambao21 has quit [Client Quit]
v0n has quit [Ping timeout: 256 seconds]
ukd1 has quit [Remote host closed the connection]
claymore_ has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
Kricir has joined #ruby
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
fredjean has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
sweet_kid has quit [Ping timeout: 246 seconds]
Catie has quit [Ping timeout: 246 seconds]
tommyblue has quit [Ping timeout: 246 seconds]
<claymore_> say I have an existing file object, Dir.foreach("./foo") { |f| ... how do I then read that file? If the file object doesn't exist yet, I can do File.open("filename", "r), but I can't do f.open?
BlueShark has quit [Ping timeout: 256 seconds]
Matriks has quit [Remote host closed the connection]
pcarrier has quit [Ping timeout: 246 seconds]
ixti has joined #ruby
BlueShark has joined #ruby
tommyvyo has quit [Quit:]
ukd1 has joined #ruby
<shevy> does it have to be that way
mneorr has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 245 seconds]
<shevy> Dir['./foo/'].each {|file| File.readlines(file) if File.exist? file }
<claymore_> what do you mean?
<shevy> wait
<shevy> content = []; Dir['./foo/*'].each {|file| content << File.readlines(file) if File.exist? file }
<shevy> you wrote you have an existing file object
<shevy> I wonder whether it must be an existing file object
<shevy> I just hate Dir.foreach :)
wmoxam has quit [Ping timeout: 276 seconds]
brennanMKE has joined #ruby
<claymore_> sorry, I meant the one created in the block... f
rbento has quit [Quit: ZZZzzz…]
orionstein is now known as orionstein_away
Ribhu has quit [Quit: • IRcap • 8.72 •]
<claymore_> I can't do f.readlines, or f.open
<shevy> noone wrote f.readlines either
sweet_kid has joined #ruby
<shevy> in general, if you really want to do things like .open or .readlines, the object you have need to have these methods
<claymore_> oh, File.readlines(file)
maasdesigner has quit [Quit: maasdesigner.com]
vince_prignano has joined #ruby
<claymore_> I know, I'm wondering why it doesn't
<shevy> ok what object is it actually?
<shevy> the f
<claymore_> a file, presumably
<claymore_> but File.readlines(file) looks like it might be what I'm looking for
<shevy> no no
<shevy> don't assume
<shevy> find out!
<shevy> I did for you, it is a String object
amacgregor has joined #ruby
<shevy> "abc".open NoMethodError: private method `open' called for "abc":String
phantasm66 has quit [Quit: *poof*]
<shevy> "def".readlines NoMethodError: private method `readlines' called for "def":String
<shevy> hmmm
tvw has quit []
jjbohn has joined #ruby
<shevy> don't take my version for granted...
<shevy> I require so much custom stuff that I often don't know what is going on anymore
<ccolorado> Is it possible to access Module defineed attributes from outside ? 'attr_reader : var ' doesnt seem to allow me to access the attributes.
<shevy> claymore_ I think the reasoning may be that it makes little sense for all String objects to have an .open method by default
tommyblue has joined #ruby
brain_shim has joined #ruby
<shevy> that reads strange, I usually only see 'attr_reader :var'
slap_stick has quit [Quit: This computer has gone to sleep]
<shevy> are you sure you want a module and not a class?
<claymore_> shevy: yeah, I know it wouldn't make sense for strings to have that method... but I still think I should be getting a file
pcarrier has joined #ruby
<shevy> attr_reader does not create any attribute yet btw ccolorado
<claymore_> hmm, never mind
<shevy> attr_reader :var is the same as doing this on your own: def var; @var; end
<claymore_> it is a string indeed, the filename
IceyEC has quit [Quit: IceyEC]
<shevy> claymore_ I often use pp for debugging like that
rbento has joined #ruby
<shevy> require 'pp'; pp f.class; pp f
Catie has joined #ruby
Catie has quit [Changing host]
Catie has joined #ruby
<shevy> and when it works, I remove the pp again
<shevy> primitive and dirty, but quick :P
<claymore_> yeah, sure... anyways, I've got it sorted, thanks
<shevy> cool claymore_
<shevy> simple problems are good
<claymore_> I agree
rickruby has joined #ruby
devoldmx has joined #ruby
terrellt has joined #ruby
ItSANgo___ has quit [Quit: Leaving...]
<claymore_> and the only ones people actually bother reading :)
Badreddin has joined #ruby
<shevy> well
<shevy> when projects become larger, they also often become harder to debug
<ccolorado> shevy: From what I have read seems that Modules shouldn't have accessors or @variables, but i havent found confirmation.
<shevy> and helping other people can become quite time intensive too
<shevy> I usually then try to minimize the problem to the smallest, reproducible subset, usually others can then help
<xybre> ccolorado: Modules should not store state, thats what instances are for.
<shevy> ccolorado well you can still create methods, and use "extend self"
staafl has quit [Ping timeout: 264 seconds]
<shevy> and!
<shevy> you can abuse constants :>
moshee has quit [Ping timeout: 264 seconds]
beakman has joined #ruby
rickruby has quit [Ping timeout: 256 seconds]
sarkis has quit [Ping timeout: 256 seconds]
<shevy> module Foo; X = []; def self.bla(i); X << i; end; def bla?; X[0]; end; end
<rien> in pry, how do I print where I am?
archer_ has joined #ruby
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
<rien> what's the equivalent to l= from debugger?
<shevy> Foo.bla 'hello'; Foo.bla 'world'
<shevy> include Foo
beakman has left #ruby [#ruby]
<shevy> bla?
<shevy> # => "hello"
archer_ is now known as Guest65584
<xybre> rien: whereami
<ccolorado> shevy: xybre thanks. this is is exactly the information i wanted :)
<xybre> ccolorado: :D
<shevy> eh, I meant to do ... X[-1], but you get the idea ...
<ccolorado> shevy: yup
<ccolorado> almost always asking the right question is the hard part
<rien> xybre: pretend this is in all uppercase: thank you so much!
tommyvyo has joined #ruby
<shevy> it's a bit ugly though to use constants like that
<rien> xybre: I couldn't find that anywhere
<shevy> apeiros thinks that constants should be true constants
jlast has quit [Remote host closed the connection]
<shevy> Math::PI # => 3.141592653589793
<shevy> Math::PI = 5
<xybre> rien: I have no idea if its documented, I think I found it by accident
<shevy> Math::PI # => 5
<xybre> rien: you're welcome :)
tommyvyo has quit [Client Quit]
<Senjai> shevy: It's left to the programmer.. You shouldn't be changing them anyway. If you want it to be a true constant, call #freeze on it.
redmenace has quit [Ping timeout: 268 seconds]
<shevy> Math::PI.freeze
<shevy> Math::PI = 5
<shevy> Math::PI # => 5
<shevy> oh wait
<shevy> I can free the Math module
<shevy> I mean, freeze
<shevy> Math.freeze
<shevy> Math::PI = 22
gazarsgo has quit [Quit: gazarsgo]
<shevy> RuntimeError: can't modify frozen Module
<shevy> cool, don't think I tried that before
<shevy> icy cold ruby
<rien> hey shevy do you know a way to step into this block: log(sql, name) { @connection.query(sql) }
<pontiki> oh good. Math will still work in Kentucky.
<rien> I want to step over log() and into ...query()
<shevy> rien, sorry no idea, I don't use pry
<rien> shevy: oh ok, nvm, thanks :)
<Senjai> rien: binding.pry before @connection.query,
maxmanders has joined #ruby
pyrac has joined #ruby
<Senjai> rien: then cd @connection
<rien> well it's not my source code, Senjai
<shevy> do people actually use .freeze?
<Xeago> or just call it on the prompt
<rien> it's ActiveRecord's
brennanMKE has quit [Remote host closed the connection]
<Xeago> and then skip over the first next statement
<Xeago> because the log method is not important for your debugging
failshell has quit [Read error: Operation timed out]
<pontiki> i've seen it a few places, shevy.
moshee has joined #ruby
<rien> can you rephrase that? what do you mean by "skip over the first next statement"?
emanu has joined #ruby
<pontiki> i'm not sure it was necessary in all of them
elux has quit [Quit: Leaving...]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
<Xeago> if you are about to execute log(sql, name) { @connection.query(sql) } as the next statement
snovak has quit [Remote host closed the connection]
<Xeago> run @connection.query(sql) on the prompt
s0ber has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
snovak has joined #ruby
<Xeago> and then use the skip function of the debugger (it has one, I read it somewhere, don't ask me how) to skip over it
<Xeago> without it being executed twice
BillCriswell has quit [Remote host closed the connection]
denken_ is now known as denken
<shevy> pontiki ok
Kricir has joined #ruby
s0ber has joined #ruby
tanema has joined #ruby
brennanMKE has joined #ruby
<rien> Xeago: ok will read up on it, thanks
mando has quit [Remote host closed the connection]
Sammael has joined #ruby
mlpinit has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 256 seconds]
claymore_ has quit [Quit: Leaving]
<shevy> guys ...
ItSANgo has joined #ruby
<shevy> why is rails so popular?
tylersmith has quit [Read error: Connection reset by peer]
<Xeago> because it is highly opinionated
<rien> shevy: same reason java is popular. it tells you where to put things so you feel safe. I know you're ironically asking it though
tylersmith has joined #ruby
<shevy> no no
brennanMKE has quit [Remote host closed the connection]
<shevy> only half ironic
<shevy> because it is successful after all
evo510 has quit [Quit: Page closed]
<Xeago> copy-paste coding in rails is easier than c/p coding in java..
gemmy has left #ruby [#ruby]
<shevy> the local technical university of vienna is using rails for the students/exam part, and it's really great, compared to some older parts which are not in rails
cmyers has left #ruby [#ruby]
<shevy> you can autogenerate the .pdf files with your current record, that is nifty :D
brennanMKE has joined #ruby
<rien> shevy: I honestly believe it's because it tells you where to put things.
<shevy> hmm
codecop has quit [Quit: Išeinu]
<rien> shevy: however I can never talk about these things in #ror without being immediately labeled a troll
Kricir has quit [Remote host closed the connection]
<shevy> is that so important to have a framework tell you where to put something?
<shevy> hehe... well, if I were to use rails, I would not want to stay in #ror anyway :P
Kricir has joined #ruby
brain_shim has quit [Ping timeout: 256 seconds]
xcv has quit [Remote host closed the connection]
<rien> shevy: it lowers the barrier of entry, it "gets you started" without your having done anything yet, helps remove doubts about what to do next (think TDD)
popl has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
<shevy> makes sense
<rien> shevy: makes employees fungible because now every rails project is structured the same
<xybre> shevy: yes. vacansopapurosophobia.
Krajsnick has joined #ruby
interactionjaxsn has joined #ruby
<rien> shevy: last night at #ror I said I'm planning to go from Rails to Sinatra at work here, and I was accused of being a troll
<shevy> hehe
ravster has quit [Quit: Leaving.]
<shevy> well
<rien> shevy: lol what's your criticism of #ror?
<terrellt> It has a structure and a methodology to things. There's best practices, a large community, and you can spin up a basic application very quickly. It comes baked with a variety of tools that make spinning up a maintainable application very fast.
<shevy> sinatra feels a bit too lean
<rien> terrellt++
<xybre> I set up my first real Sinatra app last weekend. I'm more than happy with it.
<rien> shevy: as a foundation :) then we add stuff we need
<Xeago> "most thinking has already been done for you"
<shevy> rien dunno really, I was only a few times there, the atmosphere did not seem that great to me back then, but it was like 3 years ago or so
sambao21 has joined #ruby
leonidlm has quit [Ping timeout: 264 seconds]
Kobrakao has quit [Ping timeout: 264 seconds]
<Xeago> tbh, I don't like #rubyonrails
<rien> shevy: I just need Rails to stop telling me where to put my files and structure my code, as I feel it's restraining to the team... it encourages bad structuring
<shevy> I was on ruby 1.8.7 until perhaps 3 months or so ago, I finally switched successfully (this time for real)
<xybre> I have it running pretty much like RoR without the cruft. I'm using coffeescript and sass and slim templates behind Unicorn and Nginx.
brennanMKE has quit [Remote host closed the connection]
<rien> Xeago: can you elaborate? I'm really curious. I might be starting to dislike it.
<Xeago> I am talking about the channel
<rien> xybre: it = Sinatra?
i_s_ has joined #ruby
<rien> xybre: me too
<xybre> rien: yes, sinatra :)
<shevy> hmm
<Xeago> they refuse to read whatever you are saying, if you don't include a gist to "real code"
maniacal has joined #ruby
<Xeago> even tho my example code that I have clearly written out in 1 or 2 lines for them is complete
Kruppe has quit [Ping timeout: 256 seconds]
<xybre> Xeago: code is complex, especially with Rails, you need context to debug.
<Xeago> unambiguous and shows the issue
<shevy> xybre, that sounds like a lot to learn though... I have heard of sass and slim and unicorn but never used it myself. coffeescript also only very briefly, not much. and I still use apache, learned the most parts in it years ago, now I feel a bit lazy to change
Kricir has quit [Ping timeout: 264 seconds]
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Xeago> xybre: thing is, they do that persistently, even if you give all the context
<Xeago> no gist, name: !foo
<Xeago> or !code
<Xeago> or whatever it is
<xybre> shevy: You don't need any of those things, you can use ERB and static javascript and css with passenger and Apache, these are just the tools I like :)
i_s has quit [Ping timeout: 246 seconds]
<xybre> Xeago: I do it too, code helps a lot :)
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<Xeago> some questions don't mandate code
<Xeago> or code does not exist
<Xeago> logs for last tuesday
splittingred_ has joined #ruby
<xybre> Most do though, if you're doing rails.
jaynewstrom has quit [Read error: Connection reset by peer]
<Xeago> show me going crazy
threesome has quit [Ping timeout: 276 seconds]
interactionjaxsn has quit [Ping timeout: 264 seconds]
<rien> agree with all the comments so far :)
<xybre> Ruby without Rails is different.
jaynewstrom has joined #ruby
<xybre> Rails essentially extends the language and there's a lot of moving parts.
Guest65584 has quit [Remote host closed the connection]
zombiebit has joined #ruby
<Xeago> anyways, night
Xeago has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 256 seconds]
<rien> xybre: we should talk
robscomputer_ has joined #ruby
smathieu has joined #ruby
<xybre> We are talking!
peregrine81 has quit [Quit: peregrine81]
nomenkun has quit [Remote host closed the connection]
robscomputer has quit [Read error: Connection reset by peer]
splittingred has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
splittingred_ is now known as splittingred
kirun has quit [Quit: Client exiting]
<rien> xybre: lol don't go away then because I'm having to troubleshoot something hairy now :)
<rien> xybre: ActiveRecord is truncating my MySql decimal(10,2) into decimal(10,0) <sadface>
vlad_starkov has joined #ruby
<shevy> hehehe
<shevy> be happy!
<shevy> it is doing OPTIMIZATIONS for you man
bklane has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
JDHankle has quit [Remote host closed the connection]
efrainolivares has quit [Quit: efrainolivares]
rhys has quit [Quit: Leaving]
<xybre> rien: Don't use MySQL :(
codezombie has quit [Quit: Linkinus - http://linkinus.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
efrainolivares has joined #ruby
mansi has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
leonidlm has joined #ruby
<rien> xybre: we're deep into it by now lol
<rien> xybre: though I'd be interested in hearing your opinion about it later (can't keep track now)
<endash> postgre fo life
<rien> this issue is affecting billing for us here
gstamp has joined #ruby
pentameter has quit [Read error: Connection reset by peer]
<popl> rien: affecting how?
fyz1x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rien> popl: truncating every dollar amount we have
cmarques has quit [Ping timeout: 264 seconds]
jjbohn has quit [Quit: Leaving...]
<popl> rien: haha, oops. :)
<rien> popl: and we have thousands of vendors that invoice us
<rien> yeah, big woops
<xybre> rien: oh man, you *must* store money as integers!
sambao21 has joined #ruby
bklane has joined #ruby
<xybre> Convert them to cents, quick before you lose all your customers :(
<rien> xybre: I got here after that decision. 100% agreed.
mansi_ has joined #ruby
<popl> rien: once I lost the payroll docket for the entire day (MySQL). Don't feel bad.
<popl> rien: You won't repeat this mistake again.
<popl> :)
platzhirsch has left #ruby [#ruby]
efrainolivares has quit [Quit: efrainolivares]
<rien> popl: thanks :))
mmitchell has quit [Ping timeout: 264 seconds]
<xybre> rien: set up a migration to convert the column
<xybre> It might take a while to run, but it will make everything better
<shevy> hmmm... I just discovered an unknown/uninitialized instance variable in one of my projects
apeiros has quit [Remote host closed the connection]
_whitelogger has joined #ruby
Guest58627 has joined #ruby
jinie has joined #ruby
lele has quit [Ping timeout: 246 seconds]
devoldmx3 has joined #ruby
wmoxam has joined #ruby
<shevy> ah well
ixti has joined #ruby
<shevy> I need more time
ilyam has quit [Remote host closed the connection]
ilyam has joined #ruby
AndChat| has quit [Ping timeout: 245 seconds]
devoldmx has quit [Ping timeout: 256 seconds]
splittingred has quit [Quit: splittingred]
hadees has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
linux_noob_666 has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
sebastianb has quit [Ping timeout: 246 seconds]
sweet_kid has quit [Ping timeout: 246 seconds]
lele has joined #ruby
sebastianb has joined #ruby
julweber has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
phite has joined #ruby
<rien> shevy: just don't get discouraged is what I'm saying :)
<rien> everything is hard before you learn it. then it becomes obvious.
sweet_kid has joined #ruby
<shevy> true
RichardBaker has quit [Quit: RichardBaker]
Banistergalaxy has joined #ruby
saarinen has quit [Quit: saarinen]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codelurker has joined #ruby
swordsmanz is now known as denzasuckspee
pen has quit [Remote host closed the connection]
wicked has joined #ruby
BeLucid has joined #ruby
virt|a has joined #ruby
SirFunk_ has joined #ruby
SirFunk has quit [Ping timeout: 240 seconds]
virtualize has quit [Read error: Connection reset by peer]
BeLucid_ has quit [Read error: Connection reset by peer]
ebanoid has quit [Quit: brbomgwtfbbq]
kW_ has joined #ruby
snovak has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
phite has quit [Ping timeout: 246 seconds]
phite has joined #ruby
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vince_prignano has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
kpshek has quit []
Guest58627 has quit [Ping timeout: 246 seconds]
freerobby has quit [Ping timeout: 264 seconds]
tylersmith has quit [Ping timeout: 268 seconds]
huevon has quit [Quit: WeeChat 0.4.1]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
KernelPone has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
_honning_ has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby
realDAB has joined #ruby
bklane has joined #ruby
RichardBaker has joined #ruby
denzasuckspee is now known as swordsmanz
snovak has quit [Ping timeout: 245 seconds]
julweber has quit [Remote host closed the connection]
hadees has quit [Quit: hadees]
iliketurtles has quit [Quit: zzzzz…..]
codelurker has quit [Quit: Leaving]
sambao21 has joined #ruby
pjeide has quit [Ping timeout: 264 seconds]
BRMatt has quit [Remote host closed the connection]
relix has joined #ruby
tylersmith has quit [Remote host closed the connection]
iliketurtles has joined #ruby
tylersmith has joined #ruby
barratt has joined #ruby
sambao21 has quit [Client Quit]
i_s_ has quit [Remote host closed the connection]
chjunior has quit [Remote host closed the connection]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
realDAB has quit [Quit: realDAB]
smathieu_ has joined #ruby
colonolGron has quit [Quit: Lost terminal]
anonymuse has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
gazarsgo has joined #ruby
jefflyne has joined #ruby
Davey has joined #ruby
bklane has quit [Remote host closed the connection]
rickruby has joined #ruby
smathieu has quit [Ping timeout: 246 seconds]
jarrodwb has joined #ruby
<rien> xybre: ping
snath has joined #ruby
osvico has joined #ruby
sambao21 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kobrakao has joined #ruby
sambao21 has quit [Client Quit]
vlad_starkov has joined #ruby
i_s has joined #ruby
mastr has quit [Read error: Connection reset by peer]
rickruby has quit [Ping timeout: 256 seconds]
jarrodwb has quit [Quit: Leaving.]
Megtastique has joined #ruby
pen has joined #ruby
pel_daniel has left #ruby [#ruby]
geggam has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
bricker has joined #ruby
bricker`away has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 268 seconds]
sarkis has joined #ruby
phantummm has quit [Quit: phantummm]
tealmage has joined #ruby
justsee has quit [Ping timeout: 256 seconds]
<xybre> rien: pong
Senjai has quit [Ping timeout: 245 seconds]
_maes_ has quit [Ping timeout: 245 seconds]
pipework has quit [Remote host closed the connection]
nomenkun has joined #ruby
brbcoding has joined #ruby
robscomputer has joined #ruby
robscomputer_ has quit [Read error: Connection reset by peer]
fierycatnet has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
tealmage has quit [Ping timeout: 268 seconds]
devoldmx3 has quit [Ping timeout: 245 seconds]
chxane has quit [Quit: Leaving]
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
ewnd9 has joined #ruby
fierycatnet has quit [Client Quit]
mrsolo has quit [Quit: Leaving]
havenwood has joined #ruby
centr0 has joined #ruby
KernelPone is now known as Catie
<rien> xybre: oh hey
<rien> so did you used to use rails?
Tricon has joined #ruby
tealmage has joined #ruby
Lewix has quit [Remote host closed the connection]
skasio has joined #ruby
dankest has quit [Quit: dankest]
Sammael has joined #ruby
dankest has joined #ruby
skasio has left #ruby [#ruby]
cads2 has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
<xybre> rien: I use rails all the time and have since 2006
justsee has joined #ruby
efrainolivares has joined #ruby
fridim_ has joined #ruby
cads has quit [Ping timeout: 245 seconds]
idoru has quit [Read error: Connection reset by peer]
i8igmac has joined #ruby
rdxc has quit [Quit: Textual IRC Client: www.textualapp.com]
x1337807x has joined #ruby
tomzx_mac has joined #ruby
x1337807x has quit [Client Quit]
ner0x has joined #ruby
Kelet has joined #ruby
nucatus has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
emergion has joined #ruby
marr has quit [Ping timeout: 245 seconds]
Inside has joined #ruby
<rien> xybre: oh, but for this one project you decided on SinatrA?
pskosinski has quit [Quit: Til rivido Idisti!]
JDHankle has joined #ruby
Kobrakao has quit [Remote host closed the connection]
devoldmx has joined #ruby
emergion has quit [Ping timeout: 260 seconds]
Megtastique has quit [Quit: Megtastique]
vadelius has quit [Ping timeout: 268 seconds]
wmoxam has quit [Ping timeout: 246 seconds]
Rezwan has joined #ruby
snovak has joined #ruby
i_s has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 245 seconds]
jp- has joined #ruby
BillCriswell has joined #ruby
barratt has quit [Quit: Leaving...]
i_s has joined #ruby
i_s has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.4.1]
snovak has quit [Ping timeout: 264 seconds]
mklappstuhl has joined #ruby
vadelius has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
gazarsgo_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<xybre> I'm probably going to use sinatra for all my own projects
gazarsgo has quit [Ping timeout: 245 seconds]
gazarsgo_ is now known as gazarsgo
Kricir has joined #ruby
dankest has quit [Quit: dankest]
predator217 has joined #ruby
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby
jonathanwallace has joined #ruby
<rien> xybre: what made you want to change besides the usual cruft?