apeiros changed the topic of #ruby to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
harrymoreno has quit [Ping timeout: 248 seconds]
nkts has quit [Ping timeout: 246 seconds]
jlast_ has quit [Remote host closed the connection]
banghouse has quit [Remote host closed the connection]
harrymoreno_ has quit [Ping timeout: 246 seconds]
zodiak has joined #ruby
harrymoreno has joined #ruby
headius has joined #ruby
yshh has joined #ruby
tommyvyo has quit [Quit:]
Eaven has quit [Remote host closed the connection]
<Spooner> fwaokda, You just need to append the second line headers into the first line.
choffstein has joined #ruby
nari_ has joined #ruby
AlSquirrel has joined #ruby
feedbackloop_ has joined #ruby
zigomir__ has joined #ruby
julian-delphiki has joined #ruby
DonRichie has quit [Ping timeout: 276 seconds]
bricker_ has joined #ruby
DonRichie has joined #ruby
jmeeuwen has quit [Read error: Connection reset by peer]
AlSquire has quit [Read error: Connection reset by peer]
jcromartie has joined #ruby
bubblehead has quit [Read error: Operation timed out]
jmeeuwen has joined #ruby
daniel_- has quit [Ping timeout: 240 seconds]
bubblehead has joined #ruby
krisfremen has quit [Read error: Connection reset by peer]
krislappy has joined #ruby
krislappy has joined #ruby
krislappy has quit [Changing host]
bricker has quit [Ping timeout: 246 seconds]
chichou has quit [Remote host closed the connection]
zigomir_ has quit [Ping timeout: 246 seconds]
mantas322 has joined #ruby
<mantas322> Guys, I'm struggling with something so basic
Guest33987 has quit [Ping timeout: 246 seconds]
mknln has quit [Ping timeout: 246 seconds]
<mantas322> How do I create a Date value worth 1 day
<mantas322> d1900 = Time.local(1901, 12, 31)
<mantas322> d1900 - 1day
bean has quit [Ping timeout: 246 seconds]
<mantas322> Driving me crazy!
<Spooner> Use a Date not a Time?
<mantas322> Date.Day1
<mantas322> ?
Guest33987 has joined #ruby
headius has quit [Quit: headius]
HecAtic has joined #ruby
xcv has joined #ruby
<r0bgleeson> mantas322: 86400 seconds in a day
QKO has quit [Ping timeout: 264 seconds]
freeayu has joined #ruby
<mantas322> THANK YOU!
<r0bgleeson> sure
<mantas322> googling for like 12+ minutes
zigomir__ has quit [Read error: Operation timed out]
wwwq has quit []
QKO has joined #ruby
marr has quit [Ping timeout: 240 seconds]
bricker_ is now known as bricker
Mon_Ouie has quit [Ping timeout: 260 seconds]
brianpWins has joined #ruby
Guga_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
mixel has joined #ruby
takezawa_ has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
yshh has quit [Remote host closed the connection]
arubin has joined #ruby
<aedorn> Love spending 2 hours writing something out that ends up being about 300 lines only to refactor it in 10 minutes down to 20.
<aedorn> hindsight and all that
arya has joined #ruby
robscomputer_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
kil0byte has joined #ruby
chrishough has quit [Quit: chrishough]
Tsunashi_Takuto has quit [Quit: yawn]
banister_ has joined #ruby
echeve is now known as echevemaster
freeayu__ has joined #ruby
robscomputer has quit [Ping timeout: 276 seconds]
mantas322 has quit [Quit: Page closed]
axl_ has quit [Quit: axl_]
freeayu has quit [Ping timeout: 248 seconds]
Inoperable_AWY is now known as inoperable
tommyvyo has joined #ruby
JZTech101 has quit [Ping timeout: 276 seconds]
riffraff1691 has quit [Ping timeout: 246 seconds]
r0bgleeson has quit [Ping timeout: 264 seconds]
Opettaja has quit [Quit: WeeChat 0.4.1]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
dcunit3d has quit [Ping timeout: 240 seconds]
Zeeraw has quit [Quit: Computer has gone to sleep.]
Spooner has quit [Remote host closed the connection]
bionhart has joined #ruby
ivanoats has quit [Ping timeout: 256 seconds]
JZTech101 has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
hogeo has joined #ruby
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
guns has joined #ruby
banister_ has quit [Ping timeout: 260 seconds]
zeade has quit [Quit: Leaving.]
choffstein has left #ruby ["Leaving..."]
takezawa has joined #ruby
Proshot has quit [Remote host closed the connection]
skattyadz has quit [Quit: skattyadz]
r0bgleeson has joined #ruby
Corey has quit [Ping timeout: 620 seconds]
ner0x has joined #ruby
centr0 has quit [Quit: centr0]
wharfrat has quit [Ping timeout: 246 seconds]
emmanuelux has quit [Quit: emmanuelux]
fierycatnet has joined #ruby
wharfrat has joined #ruby
wharfrat has joined #ruby
wharfrat has quit [Changing host]
tylersmith has joined #ruby
lethan has joined #ruby
fierycatnet has quit [Client Quit]
fierycatnet has joined #ruby
riffraff169 has joined #ruby
mantas322 has joined #ruby
<mantas322> Hi ruby guys.
tylersmith has quit [Read error: Connection timed out]
<mantas322> how can I break out something like this into a loop
<mantas322> %w[a b c].permutation.map &:join
devoldmx3 has joined #ruby
<mantas322> I want to add some stuff into each line returned by this statement puts %w[a b c].permutation.map &:join
Z_Mass has joined #ruby
rupee has quit [Quit: Leaving]
ARCADIVS has quit [Ping timeout: 276 seconds]
yshh has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
<mantas322> (%w[a b c].permutation.map &:join).each ?
seitensei has joined #ruby
CalebMingle has joined #ruby
<mantas322> nevermind i figured it out
mantas322 has quit [Client Quit]
takeru has quit [Remote host closed the connection]
benweint has quit [Ping timeout: 245 seconds]
d2dchat has joined #ruby
ferno has quit [Ping timeout: 256 seconds]
tommyvyo has quit [Quit:]
wargasm has joined #ruby
seitensei has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
ppppaul has joined #ruby
nari_ has quit [Ping timeout: 276 seconds]
seitensei has joined #ruby
dankest has joined #ruby
takeru has joined #ruby
Elico1 has quit [Ping timeout: 276 seconds]
cj3kim has quit [Remote host closed the connection]
osvico has joined #ruby
GeissT has joined #ruby
nezumi has quit [Ping timeout: 276 seconds]
digitalcake has joined #ruby
bionhart has quit [Remote host closed the connection]
bionhart has joined #ruby
bionhart has quit [Remote host closed the connection]
mklappst_ has quit [Remote host closed the connection]
IceDragon has joined #ruby
IceDragon has quit [Client Quit]
atno has quit [Ping timeout: 240 seconds]
banjara1 has quit [Quit: Leaving.]
jonahR has joined #ruby
robscomputer_ has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
robscomputer has joined #ruby
jcromartie has quit [Quit: Computer has gone to sleep.]
kil0byte has quit [Ping timeout: 240 seconds]
robscomputer has quit [Ping timeout: 260 seconds]
kofno has joined #ruby
tockitj has quit [Read error: Operation timed out]
Senjai has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
kil0byte has joined #ruby
arya has quit [Ping timeout: 260 seconds]
angusiguess has quit [Ping timeout: 260 seconds]
dankest has quit [Quit: Leaving...]
takeru has quit [Remote host closed the connection]
dmiller has joined #ruby
havenwood has joined #ruby
Hanmac2 has quit [Ping timeout: 246 seconds]
dankest has joined #ruby
dankest has quit [Client Quit]
ppppaul has quit [Ping timeout: 248 seconds]
ppppaul has joined #ruby
banister`shop has joined #ruby
iamjarvo1 has joined #ruby
nari_ has joined #ruby
arya has joined #ruby
xcv has quit [Read error: Connection reset by peer]
dmiller has quit [Ping timeout: 246 seconds]
xcv has joined #ruby
chile_andes has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<epitron> wat
tethra has quit [Ping timeout: 245 seconds]
ArchBeOS has quit [Ping timeout: 240 seconds]
kofno_ has joined #ruby
digitalcake has quit [Quit: Leaving.]
jonathanwallace has joined #ruby
devoldmx has joined #ruby
jbueza1 has joined #ruby
huoxito has joined #ruby
<epitron> hurr
kofno has quit [Ping timeout: 260 seconds]
guns has quit [Ping timeout: 276 seconds]
tylersmith has joined #ruby
freerobby has quit [Quit: Leaving.]
devoldmx3 has quit [Ping timeout: 240 seconds]
jbueza2 has joined #ruby
chandankumar has joined #ruby
JZTech101 has quit [Ping timeout: 246 seconds]
jbueza has quit [Ping timeout: 248 seconds]
Meatant has quit [Ping timeout: 248 seconds]
jbueza1 has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
benweint has joined #ruby
twoism has quit [Remote host closed the connection]
ffranz1 has joined #ruby
twoism has joined #ruby
ner0x has quit [Quit: Leaving]
freerobby has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
jonahR has quit [Quit: jonahR]
ioNull has quit [Quit: Computer has gone to sleep.]
h4mz1d has quit [Read error: Connection reset by peer]
jurbat has joined #ruby
ffranz has quit [Ping timeout: 276 seconds]
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
twoism has quit [Remote host closed the connection]
digitalcake has joined #ruby
icole has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 240 seconds]
h4mz1d has joined #ruby
mklappstuhl has joined #ruby
digitalcake has quit [Client Quit]
g_bleezy has joined #ruby
freerobby has quit [Quit: Leaving.]
<aces1up> can someone help me with this lazy initalization code?
xcv has quit [Remote host closed the connection]
CalebMingle has quit [Quit: CalebMingle]
Cyrus has joined #ruby
vlad_starkov has joined #ruby
Myconix has quit [Quit: I love zsh]
<epitron> aces1up: if statement? :)
<epitron> if @logger; @logger = Logger.new; etc..; else @logger; end
<havenwood> aces1up: Swap `if !@logger` for `unless @logger`
<epitron> havenwood: +1
<aces1up> yeh.. just was wondering if there was some cool lazy init way multiple init statement.
<aces1up> ok
mklappstuhl has quit [Ping timeout: 248 seconds]
Evixion has quit []
<epitron> oh
<epitron> you can tap it!
vlad_starkov has quit [Ping timeout: 260 seconds]
<epitron> @logger ||= Logger.new.tap { |l| datetime_format ... }
<epitron> err
<epitron> @logger ||= Logger.new.tap { |l| l.datetime_format ... }
<epitron> tap dat log
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
<epitron> but being clever is annoying to read :)
<epitron> just use if or unless
afd__ has quit [Ping timeout: 246 seconds]
<bnagy> return if @logger; ... do logger init stuff
bubblehead has quit [Read error: Connection reset by peer]
bubblehe_ has joined #ruby
bubblehe_ has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
<epitron> aces1up: http://codepad.org/2EMde1Zi
tommyvyo has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
tethra has joined #ruby
<epitron> aces1up: it's also an accessor now instead of an initalizer
bubblehead has joined #ruby
brianpWins has quit [Quit: brianpWins]
<epitron> always use logger.something instead of @logger.something
<epitron> magic \o/
g0bl1n has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
ttt has joined #ruby
freerobby has joined #ruby
Mattix has joined #ruby
takeru_ has joined #ruby
Meatant has joined #ruby
Domon has joined #ruby
afd__ has joined #ruby
ioNull has joined #ruby
ioNull has quit [Max SendQ exceeded]
mixel has quit [Quit: mixel]
ioNull has joined #ruby
angusiguess has joined #ruby
ioNull has quit [Max SendQ exceeded]
arya_ has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
ioNull has joined #ruby
arya has quit [Ping timeout: 248 seconds]
arya_ has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
arya has joined #ruby
kobain has quit [Quit: l'unica verità.. è la morte stessa!]
chandankumar has quit [Ping timeout: 248 seconds]
jcromartie has joined #ruby
hamakn has joined #ruby
tommyvyo has quit [Quit:]
io_syl has quit [Quit: Computer has gone to sleep.]
Mattix has quit [Quit: Leaving]
h4mz1d has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 260 seconds]
Mattix has joined #ruby
arya has quit [Ping timeout: 246 seconds]
guns has joined #ruby
Mattix has quit [Read error: Connection reset by peer]
h4mz1d has joined #ruby
banjara has joined #ruby
xkickflip has quit [Quit: h..hi]
Opettaja has joined #ruby
knightblader has joined #ruby
pcarrier_ has quit [Quit: Computer has gone to sleep.]
Asher has joined #ruby
krislappy is now known as krisfremen
h4mz1d has quit [Read error: Operation timed out]
harrymoreno has quit [Ping timeout: 248 seconds]
benweint has quit [Quit: Computer has gone to sleep.]
harrymoreno_ has joined #ruby
rads has joined #ruby
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
ffio has joined #ruby
Asher has quit [Quit: Leaving.]
ppppaul has quit [Ping timeout: 246 seconds]
DanKnox is now known as DanKnox_away
bricker`LA has joined #ruby
bradhe has quit [Remote host closed the connection]
jcromartie has quit [Quit: Computer has gone to sleep.]
eka has quit [Quit: Computer has gone to sleep.]
viszu has quit [Quit: Leaving.]
arya has joined #ruby
c0rn has joined #ruby
HecAtic has quit [Quit: ³ª°¨]
pothibo has quit [Quit: pothibo]
wargasm has quit [Ping timeout: 248 seconds]
wmoxam has joined #ruby
HecAtic has joined #ruby
Bry8Star{T2 has joined #ruby
takeru_ has quit [Remote host closed the connection]
kil0byte has quit [Ping timeout: 240 seconds]
`p has joined #ruby
kil0byte has joined #ruby
chandankumar has joined #ruby
ffio_ has joined #ruby
ffio has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
InFlames has joined #ruby
ffranz1 has quit [Quit: Leaving]
wsterling has joined #ruby
Michae___ has quit [Remote host closed the connection]
chandankumar has quit [Excess Flood]
Michae___ has joined #ruby
chandankumar has joined #ruby
malkomalko has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
ffranz has joined #ruby
ppppaul has joined #ruby
Michae___ has quit [Remote host closed the connection]
g0bl1n has quit [Ping timeout: 240 seconds]
drastic has quit []
Michae___ has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
phipes has quit [Quit: phipes]
jcromartie has joined #ruby
g0bl1n has joined #ruby
Ortuna has quit [Quit: Computer has gone to sleep.]
g0bl1n has quit [Read error: Connection reset by peer]
<sam113101> how does Regex#=~ creates local variables?
<sam113101> -s
<nightfly> are they really local
Guga_ has quit [Remote host closed the connection]
<sam113101> maybe not, are they?
Guga_ has joined #ruby
takeru_ has joined #ruby
InFlames has quit [Quit: This computer has gone to sleep]
ppppaul has quit [Ping timeout: 276 seconds]
DonVitoCorleone has quit [Read error: Connection reset by peer]
chandankumar has quit [Ping timeout: 240 seconds]
Ortuna has joined #ruby
angusiguess has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby
<bnagy> regex will set the match globls
<bnagy> and there's syntax for setting locals, but I'm against it
fierycatnet has quit [Quit: Leaving]
<bnagy> actually I'm against Regex in general
Faris has joined #ruby
<sam113101> bnagy: I thought globals began with a $?
bubblehead has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
slyv has joined #ruby
bubblehead has joined #ruby
<sam113101> and tell me how to create local variables
<bnagy> sam113101: read the docs?
Ortuna has quit [Client Quit]
<bnagy> I think it's crap, personally
DonVitoCorleone has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
<sam113101> "When named capture groups are used with a literal regexp on the left-hand side of an expression and the =~ operator, the captured text is also assigned to local variables with corresponding names."
<sam113101> so they _are_ local variables
saarinen has joined #ruby
obs has joined #ruby
ppppaul has joined #ruby
jcromartie has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
n_blownapart has joined #ruby
<bnagy> if you use named capture groups
<bnagy> match globals are globals
<bnagy> hence the name
n_blownapart has quit [Read error: Connection reset by peer]
jbueza has joined #ruby
n_blownapart has joined #ruby
<bnagy> >> "foo"=~/o(o)/; p $1
<eval-in> bnagy => "o" ... (http://eval.in/32883)
<sam113101> no not that
<sam113101> /<?test>/ =~ 'cool'; puts test
<sam113101> >> /<?test>/ =~ 'cool'; puts test
<eval-in> sam113101 => wrong number of arguments (0 for 2..3) (ArgumentError) ... (http://eval.in/32884)
chrishough has joined #ruby
<sam113101> wait
<sam113101> oh
<sam113101> >> /(<?test>)/ =~ 'cool'; puts test
<eval-in> sam113101 => wrong number of arguments (0 for 2..3) (ArgumentError) ... (http://eval.in/32885)
takeru_ has quit [Remote host closed the connection]
<sam113101> >> /(?<test>)/ =~ 'cool'; puts test
<eval-in> sam113101 => ... (http://eval.in/32886)
splittingred has joined #ruby
<sam113101> >> /l(?<wat>o t)h/ =~ "hello there"; puts wat
<eval-in> sam113101 => undefined method ` puts' for main:Object (NoMethodError) ... (http://eval.in/32887)
<sam113101> >> /l(?<wat>o t)h/ =~ "hello there"; puts wat
<eval-in> sam113101 => o t ... (http://eval.in/32888)
byprdct has joined #ruby
<sam113101> bnagy: see the last eval.in
jonathanwallace has quit [Ping timeout: 246 seconds]
<sam113101> also sorry for spamming the channel
jbueza2 has quit [Ping timeout: 248 seconds]
malkomalko has quit [Remote host closed the connection]
<bnagy> sam113101: uh what about it?
alvaro_o has quit [Quit: Ex-Chat]
<sam113101> I just want to know how Regex#=~ defines wat
jbueza1 has joined #ruby
pen has quit [Remote host closed the connection]
cj3kim has joined #ruby
jbueza has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
<bnagy> I don't know what you mean by how
<bnagy> like... the interpreter does it
Michae___ has quit [Remote host closed the connection]
<bnagy> when there's a regex on the LHS ( only )
<bnagy> and there's a named capture group
aboudreault has quit [Quit: damn]
<sam113101> bnagy: so I couldn't do something like this in my own class method, right?
Michae___ has joined #ruby
<sam113101> (not that I want to)
<bnagy> well =~ is just a method, there's nothing weird abou tit
<bnagy> oh, you'd need to screw about in the binding of the caller though
<bnagy> which is kind of icky
jbueza1 has quit [Client Quit]
cj3kim has quit [Ping timeout: 240 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
kil0byte has quit [Remote host closed the connection]
Micha____ has joined #ruby
brianpWins has joined #ruby
Michae___ has quit [Read error: Connection reset by peer]
dcunit3d has joined #ruby
ezkl has quit [Quit: Computer has gone to sleep.]
Eaven has joined #ruby
havenwood has quit [Remote host closed the connection]
djbkd has quit [Quit: Leaving]
c0rn has joined #ruby
freerobby has quit [Quit: Leaving.]
inoperable is now known as Inoperable_AWY
r0bgleeson has quit [Ping timeout: 248 seconds]
<n_blownapart> bnagy: don't learn algorithms in Ruby imho
<n_blownapart> ; too much stuff is too idiomatic / easy . hey wondering if you would elaborate on your second comment here bnagy. thanks.
dcunit3d has quit [Ping timeout: 248 seconds]
angusiguess has joined #ruby
dcunit3d has joined #ruby
wmoxam has quit [Ping timeout: 248 seconds]
harrymoreno has joined #ruby
ttt has quit [Remote host closed the connection]
takeru has joined #ruby
harrymoreno_ has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
nezumi has joined #ruby
BSaboia has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
fierycatnet has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
bionhart has joined #ruby
<bnagy> n_blownapart: if you want to learn algorithms in a cross language way I just don't think ruby is a great language to implement stuff in
<n_blownapart> thanks bnagy well I'm gravitating towards Python. what do you think?
<bnagy> it's very high level, which makes it hard to understand what's going on in memory
Faris has quit [Read error: Connection reset by peer]
ttt has joined #ruby
<bnagy> I doubt python is much better
shaman42 has quit [Quit: Näihin sanoihin, näihin pelkotiloihin lopetamme lähetyksen Supon arkistoihin laittamalla foliohatun päähämme.]
angusiguess has quit [Ping timeout: 260 seconds]
shaman42 has joined #ruby
<bnagy> anyway if you actually want to learn algorithms, buy a copy of Knuth or take a CS course
<bnagy> there are plenty of free ones online these days
<bnagy> and learn maths
elliptical has joined #ruby
chile_andes has quit [Quit: Textual IRC Client: www.textualapp.com]
Faris has joined #ruby
<n_blownapart> bnagy hmmm. well someone here told me to learn algorithms if I want to get ruby down. that is bad advice I guess.
<n_blownapart> so thanks . any language particularly suited for it?
ellipse has quit [Ping timeout: 245 seconds]
xkickflip has joined #ruby
guns has quit [Quit: guns]
benweint has joined #ruby
benweint has quit [Client Quit]
takeru has quit [Remote host closed the connection]
nacsurte has joined #ruby
<nightfly> c
pen has joined #ruby
bionhart has quit [Read error: Connection reset by peer]
bionhart_ has joined #ruby
ellipse has joined #ruby
pencilcheck has joined #ruby
havenwood has joined #ruby
<bnagy> there's no reason to learn algorithms to be a decent ruby coder
<bnagy> anything that's actually complex enough to need proper algorithm design is probably available as 3rd party code
bradhe has joined #ruby
<bnagy> unless you're really off the beaten track
<bnagy> it surely doesn't hurt to have some kind of idea about roughly how long different approaches take
<bnagy> O(n) O(1), O(n**2) etc
elliptical has quit [Ping timeout: 248 seconds]
<bnagy> but you can intuit a lot of that
pen has quit [Ping timeout: 248 seconds]
arusso has quit [Quit: Adios Amigos!]
<Sargun> Is there an enumerable method that responds with the passing value, the value of the evaluated passed block
<n_blownapart> thanks bnagy nightfly . I heard ruby is popular within mathematics, so I thought it would suffice to learn algorithms using it, since its the first language I've ever tried to learn
<bnagy> n_blownapart: why do you want to learn 'algorithms'?
<bnagy> what benefit are you hoping for?
<bnagy> Sargun: I couldn't quite parse that. Can you give an example or something?
<sam113101> just let your emotions guide you, man
jamesfung14 has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
<Sargun> bnagy: x=[1,2,3] -- x.MAGIC_METHOD { |x| x**10 } -> [[1,10],[2,20],[3,30]]
<bnagy> n_blownapart: also, if you can't actually program in any language then forget algorithms
<bnagy> [1,2,3].map {|x| [x,x**10] }
victorK has joined #ruby
<Sargun> bnagy: yeah, but pretend the method I'm passing to the map isn't mine
<Sargun> So, I can't do that
victorK has quit [Client Quit]
<bnagy> so map [x,someone_elses_block.call(x)]
ivanoats has joined #ruby
Meatant has quit [Ping timeout: 240 seconds]
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
Eaven has quit [Read error: Connection reset by peer]
Eaven has joined #ruby
rippa has joined #ruby
<n_blownapart> bnagy: I was going on previous advice to study one language thoroughly, and subsequent advice that to do that really, I should learn algorithms in ruby.
adkron_ has quit [Ping timeout: 264 seconds]
chandankumar has joined #ruby
<bnagy> n_blownapart: ok well learn to actually program first
<nightfly> Learning a low level language like c will give you a good foundation on how higher level ones actually work too.
chrishunt has quit [Quit: ZzZzZz...]
<n_blownapart> bnagy: thanks. good call nightfly thanks. I get depressed in drop ruby and always need to review but I like it.
<n_blownapart> *and
chrishunt has joined #ruby
<bnagy> I really don't think you should learn C
<bnagy> you'd just be tempted to use it
mikepack has joined #ruby
<nacsurte> i want to catch an exception to File.open, so i'm using begin and rescue Exception
<bnagy> if you want to really learn how things work near the metal learn asm
Inside has joined #ruby
<bnagy> at least there's no danger of you writing a project of any size in it
<nacsurte> but i read that you shouldn't put the File.open inside the begin/rescue block
<bnagy> nacsurte: don't rescue Exception
<nacsurte> is there a reason for that?
<nacsurte> oh
<nacsurte> what should i use?
<bnagy> just rescue
<bnagy> rescue will catch all the exceptions that you can deal with sanely
<nacsurte> i see
<bnagy> if you want to handle different exception classes you can rescue ArgumentError ; do stuff ; rescue ; do other stuff
krz has joined #ruby
<nacsurte> okay
<nacsurte> got it
<bnagy> also imho you should check for all the things that would screw up your open rather than trying to handle exceptions
<bnagy> there are a limited set of things that can go wrong with File.open
<bnagy> but that's opinion / style
<nacsurte> so if i wanted to check if a file was present
momomomomo has quit [Quit: momomomomo]
<nacsurte> before using File.open
Opettaja has quit [Quit: WeeChat 0.4.1]
<bnagy> whereas 'do not rescue Exception' is gospel
<bnagy> File.file? fn
<nacsurte> thats handy
justsee has joined #ruby
justsee has joined #ruby
<n_blownapart> I really appreciate your input bnagy pax p.s. you in nepal?
<bnagy> n_blownapart: not any more, we finished our mission there
<bnagy> I'm in thailand at the moment
<n_blownapart> bnagy: epic good on you.
<n_blownapart> bnagy: love thailand been there a bunch
generalissimo has joined #ruby
momomomomo has joined #ruby
tommyvyo has joined #ruby
jamesfung14 has quit [Ping timeout: 240 seconds]
Guga_ has quit [Quit: ~]
arya has quit [Ping timeout: 260 seconds]
<ellipse> bnagy: Where?
epochwolf has quit [Quit: Uh no...]
wsterling has quit [Remote host closed the connection]
passcod has quit [Quit: ZNC - http://znc.in]
arya has joined #ruby
tjbiddle has joined #ruby
troessner has quit [Ping timeout: 246 seconds]
slash_nick has joined #ruby
slash_nick has joined #ruby
bradhe has joined #ruby
pen has joined #ruby
swex_ has quit [Quit: No Ping reply in 180 seconds.]
ariedler has quit [Remote host closed the connection]
swex has joined #ruby
<bnagy> ellipse: Chiangmai
brianpWins has quit [Quit: brianpWins]
chandankumar has quit [Quit: Leaving]
saarinen has quit [Quit: saarinen]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
pencilcheck has quit [Ping timeout: 248 seconds]
mxweas has joined #ruby
Inoperable_AWY is now known as inoperable
kofno_ has quit [Remote host closed the connection]
angusiguess has joined #ruby
Meatant has joined #ruby
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Client Quit]
fridim__ has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
takeru_ has joined #ruby
inoperable is now known as Inoperable_AWY
Inoperable_AWY is now known as inoperable
dhruvasagar has quit [Ping timeout: 246 seconds]
lunarjar has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 248 seconds]
Eaven has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
pyrac has joined #ruby
<ellipse> Ah, cool. I've never made it up there.
danslo has quit [Quit: danslo]
justsee has quit [Ping timeout: 248 seconds]
bubblehead has quit [Read error: Connection reset by peer]
bubblehead has joined #ruby
girija has joined #ruby
bricker`1A has joined #ruby
mahmoudimus has joined #ruby
inoperable is now known as Inoperable_AWY
bricker`1A has quit [Client Quit]
ppppaul has quit [Ping timeout: 248 seconds]
areil has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
girija has quit [Remote host closed the connection]
bricker`LA has quit [Read error: Connection reset by peer]
moos3 has joined #ruby
mahmoudimus has quit [Client Quit]
lunarjar has joined #ruby
kil0byte has joined #ruby
wargasm has joined #ruby
arya has quit [Ping timeout: 240 seconds]
<bnagy> it's a lot less frantic and a lot cheaper than BKK
<bnagy> but not as big, obviously
Domon has quit [Remote host closed the connection]
InFlames has joined #ruby
jonahR has joined #ruby
arya has joined #ruby
eldariof has joined #ruby
mxweas has quit [Ping timeout: 240 seconds]
Inside has quit [Ping timeout: 276 seconds]
fwaokda has quit [Ping timeout: 260 seconds]
Micha____ has quit [Remote host closed the connection]
Michae___ has joined #ruby
redgirl has joined #ruby
skasio_ has joined #ruby
iamjarvo1 has quit [Quit: Leaving.]
mxweas has joined #ruby
takeru_ has quit [Remote host closed the connection]
moos3 has quit [Quit: Computer has gone to sleep.]
thebastl has joined #ruby
freerobby has quit [Quit: Leaving.]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
Michae___ has quit [Ping timeout: 248 seconds]
Evixion has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
mocfive has joined #ruby
albertone has joined #ruby
jonahR has quit [Quit: jonahR]
madb055 has joined #ruby
DonRichie has quit [Quit: Verlassend]
InFlames has quit [Quit: This computer has gone to sleep]
jonahR has joined #ruby
yashshah has joined #ruby
takezawa has quit [Remote host closed the connection]
arya has quit [Ping timeout: 276 seconds]
takezawa has joined #ruby
splittingred has quit [Quit: splittingred]
gildo has quit [Ping timeout: 260 seconds]
cj3kim has joined #ruby
arya has joined #ruby
areil has quit [Ping timeout: 248 seconds]
pipework has joined #ruby
Inoperable_AWY is now known as inoperable
cj3kim has quit [Ping timeout: 276 seconds]
schlunz has joined #ruby
thebastl has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 276 seconds]
inoperable is now known as Inoperable_AWY
thebastl has joined #ruby
Azulinho has quit [Ping timeout: 260 seconds]
codecop has joined #ruby
ellipse has quit [Read error: Connection reset by peer]
ellipse has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
mxweas has quit [Quit: Leaving...]
ffranz has quit [Quit: Leaving]
skasio has quit [Quit: leaving]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
skasio has joined #ruby
iamjarvo has joined #ruby
benweint has joined #ruby
angusiguess has joined #ruby
skasio has quit [Client Quit]
generalissimo has quit [Remote host closed the connection]
c0rn has joined #ruby
skasio has joined #ruby
Azulinho has joined #ruby
benweint has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
dash_ has joined #ruby
skasio_ has quit [Quit: leaving]
Nisstyre has quit [Quit: Leaving]
Domon has joined #ruby
n_blownapart has quit [Remote host closed the connection]
Faris has quit [Quit: Leaving.]
iamjarvo has quit [Ping timeout: 246 seconds]
arusso_znc has joined #ruby
marsLantern has joined #ruby
mocfive has quit [Remote host closed the connection]
Faris has joined #ruby
ezkl has joined #ruby
epochwolf has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 256 seconds]
albertone has quit [Ping timeout: 248 seconds]
Takehiro has joined #ruby
stkowski has joined #ruby
ppppaul has joined #ruby
passcod has joined #ruby
nomenkun has joined #ruby
mocfive has joined #ruby
<fierycatnet> Are there any resources for Ruby that focus on Linux system administration. For example if I want to learn Ruby over Bash scripting?
<ellipse> The problem domains are different.
<ellipse> I think there's a Ruby for Sysadmins book or something though.
pyrac has quit [Read error: Connection reset by peer]
<ellipse> But bash is still useful for stuff it is intended for.
<Hanmac1> fierycatnet: you mean like: with system() or `` or popen you can call the binary programs?
pyrac has joined #ruby
chxane has joined #ruby
mafolz has joined #ruby
<fierycatnet> just anything in general
<ellipse> If you're doing stuff that is not painful to do in bash, bash is a better choice.
bradhe has quit [Remote host closed the connection]
<ellipse> i.e. It doesn't require control structures.
<bnagy> except that basically everything is painful to do in bash
<bnagy> fierycatnet: 'proper' system administration is all moving to devops now anyway
<bnagy> and most of those tools are in a HLL
<ellipse> Not the stuff it's intended for.
lemonsparrow has quit [Ping timeout: 250 seconds]
<ellipse> Which is basically just calling binaries.
ananthakumaran has joined #ruby
ybart has joined #ruby
<ellipse> I've seen people reimplementing sed in Ruby though which is just silly.
<ellipse> Again though, problem-dependent.
<bnagy> sure - I'd just shell out to sed :P
<bnagy> there's nothing you can do in bash that you can't do in a ruby script, except make people's eyes bleed or feel good about being old
chandankumar has joined #ruby
fridim__ has quit [Ping timeout: 276 seconds]
<Hanmac1> ruby: array.grep(Integer).inject(0,:+) ... and now try to do that in bash ;P
<ellipse> Sure, but a string of system() calls with no logic will make people's eyes bleed to.
<ellipse> Fuck no.
<nacsurte> if i wanted to use ARGV to get a file, and i wanted to check if that file existed, what is wrong with File.exists?(ARGV[0]) ?
<bnagy> I'm all for unix tools, just not for automating with bash
<ellipse> That is a Ruby problem. ;p
therealnoop has joined #ruby
schlunz has left #ruby [#ruby]
<ellipse> I am just saying that for really simple stuff, bash is not always evil.
cads is now known as Pinky-
tagrudev has joined #ruby
<Hanmac1> nacsurte: hm can you pastie your ruby program and how you call it?
ivanoats has quit [Remote host closed the connection]
knightblader has quit [Quit: WeeChat 0.4.1]
justsee has quit [Quit: Lost terminal]
<ellipse> But a lot of bash stuff has no logic whatsoever, and that would be a little silly to port to Ruby, but people still do it a lot.
<bnagy> s/^(.*)$/`\1`/ is not porting
<ellipse> haha
<ellipse> I think you overgeneralized my point. ;p
<nacsurte> Hanmac1: basically, if File.exists?(ARGV[0]) f=File.open(ARGV[0],"r")
<bnagy> well I just think knowing bash scripting is a dead skill
mumblerit has quit [Remote host closed the connection]
<bnagy> it's awful to use for anything > 3 lines, so why bother
chandankumar has quit [Excess Flood]
<bnagy> overkill the trivial stuff with a HLL instead and only learn one thing
<ellipse> You learn bash anyway for the shell.
chandankumar has joined #ruby
msk5293 has joined #ruby
<bnagy> only if you use bash
mumblerit has joined #ruby
mumblerit is now known as Guest97540
fierycatnet has quit [Ping timeout: 248 seconds]
<ellipse> If you're using bash-specific stuff, it's not overkill to use Ruby. ;p
<Hanmac1> nacsurte: hm it works for me and exists? returns true, but i would not use this form of File.open ... you should use File.open(path,"r") {|f| ... } or File.read(path) if you only wants the content of the file
redgirl has quit [Quit: Leaving]
khushildep has joined #ruby
redgirl has joined #ruby
khushildep has quit [Read error: Connection reset by peer]
Guest97540 is now known as mumblerit
<nacsurte> Hanmac1: it works if you have something in ARGV[0] but if it's nothing then it returns an error
dhruvasagar has joined #ruby
<nacsurte> i guess the problem is that ARGV[0] would be nil and exists? doesn't like that
khushildep has joined #ruby
Takehiro has quit [Remote host closed the connection]
dangerousdave has joined #ruby
fierycatnet has joined #ruby
apeiros has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
<Hanmac1> nacsurte: you can do: File.exists?(ARGV[0]||"")
bubblehe_ has joined #ruby
pyrac has quit [Quit: pyrac]
bubblehead has quit [Read error: Connection reset by peer]
ninegrid_ is now known as ninegrid
<bnagy> don't use exists? btw - use file?
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
<bnagy> cause directories exist
pyrac has joined #ruby
Dave is now known as Guest55966
timonv has joined #ruby
JohnBat26 has joined #ruby
brianpWins has joined #ruby
<nacsurte> it says undefined method file?
thebastl_ has joined #ruby
cj3kim has joined #ruby
thebastl has quit [Ping timeout: 260 seconds]
<nacsurte> nevermind
pcarrier_ has joined #ruby
<nacsurte> still a problem with ARGV[0] being nil
<nacsurte> if there's no argument
mercwithamouth has joined #ruby
<bnagy> yeah well that will always happen
io_syl has joined #ruby
<bnagy> you just need to handle a blank argv somehow
wallerdev has quit [Quit: wallerdev]
tommyvyo has quit [Quit:]
<bnagy> fail "you suck" unless ARGV.any? and File.file? ARGV.first
Azulinho has quit [Ping timeout: 248 seconds]
<Hanmac1> i can use this: File.exists?(ARGV[0]||"")
<nacsurte> interesting solution
cj3kim has quit [Ping timeout: 246 seconds]
rickruby has joined #ruby
workmad3 has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
jfelchner has quit [Ping timeout: 245 seconds]
jfelchner has joined #ruby
ryan_turner is now known as ryan_turner_
pcarrier_ has quit [Ping timeout: 240 seconds]
kil0byte has quit [Ping timeout: 246 seconds]
pcarrier_ has joined #ruby
moos3 has joined #ruby
mikepack has quit [Remote host closed the connection]
nerdman has joined #ruby
pen has quit [Read error: Connection reset by peer]
tjbiddle has quit [Quit: tjbiddle]
arya has quit [Ping timeout: 260 seconds]
kil0byte has joined #ruby
kil0byte has quit [Remote host closed the connection]
slash_nick has quit [Ping timeout: 240 seconds]
eldariof has quit [Read error: Operation timed out]
mxweas has joined #ruby
Takehiro has joined #ruby
Takehiro has quit [Remote host closed the connection]
mxweas has quit [Client Quit]
pyrac has quit [Quit: pyrac]
jprovazn has joined #ruby
arya has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
ppppaul has quit [Ping timeout: 248 seconds]
mahmoudimus has joined #ruby
redgirl has quit [Quit: This computer has gone to sleep]
_Andres has joined #ruby
ybart has quit [Quit: ybart]
<nacsurte> i used File.file?(ARGV[0].to_s)
<nacsurte> seems to work
madb055 has quit [Ping timeout: 246 seconds]
dash_ has quit [Quit: Time to beer :)]
angusiguess has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
Nisstyre-laptop has joined #ruby
tommyvyo has joined #ruby
<Hanmac1> yeah its fine too
Hanmac1 has quit [Quit: Leaving.]
pipework has quit [Remote host closed the connection]
ybart has joined #ruby
angusiguess has quit [Ping timeout: 246 seconds]
ayaz has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
Meatant has quit [Quit: bbl]
ybart has quit [Client Quit]
osvico has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
andikr has joined #ruby
wargasm has quit [Ping timeout: 248 seconds]
nomenkun has joined #ruby
elliptical has joined #ruby
mocfive has quit [Remote host closed the connection]
aganov has joined #ruby
khushildep has quit [Quit: khushildep]
takeru has joined #ruby
twoism has quit [Ping timeout: 260 seconds]
ellipse has quit [Ping timeout: 260 seconds]
Azulinho has joined #ruby
capox has joined #ruby
Giorgio has joined #ruby
nacsurte has quit [Ping timeout: 246 seconds]
ferno has joined #ruby
<capox> Have simple strings with format "1234 stuff stuf stufff Place\n". Want "1234 Place". Wat simple?
pcarrier_ has quit [Ping timeout: 264 seconds]
jmaister has quit [Quit: changing host]
c0rn has joined #ruby
pcarrier_ has joined #ruby
<canton7> capox, so, you want the first and last word?
pduin has joined #ruby
<Sargun> Is there a clever way to do a fetch from a hash, and if it doesn't exist, set it
<capox> canton7: yes
<capox> with regex it's easy to get either the first or the last...
<canton7> str.chomp.match(/\A(\w+).*?(\w+)\Z/)
<capox> Something like "134234 blah foo bar duh stuff Important\n".match(/(^\d+)(.+)(\w\$)/)
<canton7> actually don't need the chomp, with \Z
chandankumar has quit [Ping timeout: 256 seconds]
<canton7> or, parts = str.split(' '). parts[0] << parts[-1]
monkegjinni has joined #ruby
<capox> ok you dont need the args to split
takeru has quit [Remote host closed the connection]
filipe has joined #ruby
rickruby has quit [Remote host closed the connection]
bradhe has joined #ruby
<canton7> true
Azulinho_ has joined #ruby
vlad_starkov has joined #ruby
<capox> hm, how to get neg range from arr
<capox> 0..-1
kil0byte has joined #ruby
Azulinho has quit [Ping timeout: 276 seconds]
<capox> neiother .slice( -1, 0) nor .slice( -1..0 ) work
pyrac has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
<bnagy> capox: ranges don't go backwards
monkegjinni has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
<bnagy> if you want stuff in reverse order you have to take a range then reverse it
<canton7> arr.rotate(-1)[0..1].reverse or something
leonidlm has joined #ruby
huoxito has quit [Quit: Leaving]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jgoss has quit [Ping timeout: 276 seconds]
mahmoudimus has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
Hanmac2 has joined #ruby
gstamp_ has quit [Quit: Computer has gone to sleep.]
Bry8Star{T2 has quit [Remote host closed the connection]
end_guy has quit [Write error: Broken pipe]
coderhs has joined #ruby
Astralum has quit [Ping timeout: 240 seconds]
razi has joined #ruby
<capox> Ok thanks 8)
mafolz has quit [Ping timeout: 240 seconds]
Hanmac1 has joined #ruby
momomomomo has quit [Read error: Connection reset by peer]
nomenkun has quit [Remote host closed the connection]
momomomomo has joined #ruby
Hanmac2 has quit [Ping timeout: 256 seconds]
bionhart_ has quit [Remote host closed the connection]
mafolz has joined #ruby
takeru has joined #ruby
gasbakid has joined #ruby
sie has joined #ruby
sie has joined #ruby
sie has quit [Changing host]
zigomir has joined #ruby
threesome has quit [Ping timeout: 276 seconds]
ij has quit [Ping timeout: 260 seconds]
dash__ has joined #ruby
teclator has quit [Ping timeout: 246 seconds]
Kar- has joined #ruby
sideshowcoder has quit [Ping timeout: 260 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
sie has quit [Ping timeout: 240 seconds]
<Sargun> Is there a way to check a boolean, and set it?
monkegjinni has joined #ruby
<heftig> Sargun: clarify?
<elliptical> No.
<Sargun> i.e. if (x = my_method); x.blah; end -- only if my_method doesn't return Nil
<capox> Whats File.open( fn ) do, if fn has a path to dir that does not exist?
<elliptical> Oh.
alup has joined #ruby
<canton7> capox, Errno::ENOENT: No such file or directory
sie has joined #ruby
sie has quit [Changing host]
sie has joined #ruby
<elliptical> if x: x.blah()
<capox> ok, any suggestions for handling directory creation with File.open?
<elliptical> (Assuming other falsy things are also unwanted.)
ningu has joined #ruby
<canton7> if !(x = my_method).nil?
<canton7> capox, oh you're creating a new file? so File.open(fn, 'w') ?
<capox> oh yeah, true, "w+"
<elliptical> Oh, haha, the caps made me think this was #python.
<canton7> same error, in fact. FileUtils.mkdir_p(File.dirname(fn))
<capox> Ok, found
<capox> File.dirname, yes
<capox> 8)
sideshowcoder has joined #ruby
slash_nick has joined #ruby
slash_nick has joined #ruby
nkts__ has quit [Quit: -]
jimeh_ has joined #ruby
LennyLinux has joined #ruby
teclator has joined #ruby
momomomomo has quit [Quit: momomomomo]
Elico has joined #ruby
pcarrier_ has quit [Ping timeout: 250 seconds]
tockitj has joined #ruby
pcarrier_ has joined #ruby
banjara has quit [Quit: Leaving.]
monkegji_ has joined #ruby
dhruvasagar has joined #ruby
arya has quit [Ping timeout: 240 seconds]
pyrac has quit [Quit: pyrac]
chandankumar has joined #ruby
monkegjinni has quit [Ping timeout: 260 seconds]
monkegji_ has quit [Remote host closed the connection]
jbpros has joined #ruby
srji has joined #ruby
dagobah has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
pcarrier_ has quit [Ping timeout: 260 seconds]
pen has joined #ruby
rezzack has quit [Quit: Leaving.]
orien has quit [Quit: Computer has gone to sleep.]
pcarrier_ has joined #ruby
tvw has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
blaxter_ has joined #ruby
thebastl_ has quit [Remote host closed the connection]
chandankumar has quit [Ping timeout: 240 seconds]
threesome has joined #ruby
Domon has quit [Remote host closed the connection]
ntzrmtthihu777 has joined #ruby
<ntzrmtthihu777> Hanmac: sup man
ningu has left #ruby [#ruby]
swex_ has joined #ruby
<ntzrmtthihu777> Hanmac1: or you, whichever is active :P
apeiros has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Coffers has joined #ruby
<ntzrmtthihu777> I don't suppose anyone here can assist me? I'm looking for info on writing ruby extensions in c++, but everything I find assumes swig or rice, and quite frankly I'm more of a manual/hands-on kinda guy (don't even use makefiles if I can avoid it, lol)
icole has joined #ruby
swex has quit [Ping timeout: 260 seconds]
<hoelzro> ntzrmtthihu777: README.EXT is probably what you want
<Hanmac1> ntzrmtthihu777: i can do it without swig and rice is only used for eating
Proshot has joined #ruby
<ntzrmtthihu777> XD
<ntzrmtthihu777> hoelzro: ahh, this is interesting.
orien has joined #ruby
<nightfly> ntzrmtthihu777: you're gonna have hard time later in your programming career then
<ntzrmtthihu777> nightfly: meh. I don't mind hard. I'll use what is needed when its needed, but I rather enjoy minimal tools.
sebastianb has quit [Ping timeout: 246 seconds]
dr_bob has joined #ruby
<Hanmac1> nightfly: why a hard time? i also dont make makefiles because mkmf does that for me
ayaz has quit [Ping timeout: 240 seconds]
<ntzrmtthihu777> I just think its ridiculous to have a makefile for code consisting of a few header and source files.
slainer68 has joined #ruby
monkegjinni has joined #ruby
<ntzrmtthihu777> I can see a huge program with quite alot, but for little stuff? its just more crap to deal with that I don't feel like XD
kevinfagan has quit [Excess Flood]
slainer6_ has joined #ruby
skattyadz has joined #ruby
kevinfagan has joined #ruby
troessner has joined #ruby
Z_Mass has quit [Quit: Leaving]
<ntzrmtthihu777> man, I got some tea the other day. it looks like potporri. It smells like potporri, and if this is how potporri *tastes* I'll just start buying that XD
afd__ has quit [Read error: Connection reset by peer]
monkegjinni has quit [Read error: Connection reset by peer]
<ntzrmtthihu777> more on-topic, when do you guys thing 2.0 will become the standard?
slainer68 has quit [Ping timeout: 246 seconds]
ayaz has joined #ruby
carcajou is now known as Veejay
monkegjinni has joined #ruby
ddfreyne has quit [Excess Flood]
ddfreyne has joined #ruby
kevinfagan has quit [Max SendQ exceeded]
kevinfagan has joined #ruby
ctp has joined #ruby
afd__ has joined #ruby
kevinfagan has quit [Max SendQ exceeded]
tommyvyo has quit [Quit:]
Domon has joined #ruby
kevinfagan has joined #ruby
kevinfagan has quit [Max SendQ exceeded]
kevinfagan has joined #ruby
kevinfagan has quit [Max SendQ exceeded]
monkegji_ has joined #ruby
monkegji_ has quit [Remote host closed the connection]
JumpMast3r has joined #ruby
monkegji_ has joined #ruby
Bry8Star{T2 has joined #ruby
kevinfagan has joined #ruby
niceguyjames has joined #ruby
dash__ has quit [Quit: Time to beer :)]
apeiros has quit [Remote host closed the connection]
DaniG2k has joined #ruby
phracker has joined #ruby
michele3 has joined #ruby
monkegjinni has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
Proshot has quit [Quit: Leaving]
aspiers has joined #ruby
monkegji_ has quit [Ping timeout: 260 seconds]
<ntzrmtthihu777> hoelzro: how applicable is README.EXT to c++?
braoru has joined #ruby
thebastl has joined #ruby
jds_ has joined #ruby
<jds_> Hi there
ellipse has joined #ruby
ghr has joined #ruby
<jds_> I'm new to chef, and am confusing myself with the wide range of (conflicting?) instructions available on Google. I have the eventual aim of getting chef working with vagrant, but for now am just running chef-solo by hand on the assumption that things might become clearer...
elliptical has quit [Ping timeout: 256 seconds]
casheew has quit [Read error: Operation timed out]
skattyadz has quit [Quit: skattyadz]
ferno has quit [Ping timeout: 240 seconds]
<jds_> I was trying to just install nginx, but got an error "undefined method `[]' for nil:NilClass" in ohai_plugin in nginx. Ended up having to add ohai, apt, build-essential, runit, and yum to the cookbooks directory before I could persuade it that all dependencies where available
<jds_> At which point I get "NameError: undefined local variable or method `use_inline_resources'", which I guess is a chef 11 thing
larissa has quit [Quit: Leaving]
apeiros has joined #ruby
marr has joined #ruby
fierycatnet has quit [Quit: Leaving]
<jds_> I tried to use chef 11 earlier, but I got "Resource.const_defined?(class_name, false)", which suggests it depends on ruby 1.9
<jds_> Should I just upgrade everything to ruby 1.9 & chef 11, or am I better off trying to make things work in chef 10 ?
Proshot has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<ellipse> Ruby 2.0 is current.
mercwithamouth has quit [Quit: leaving]
<ellipse> Ruby 1.8 is antedeluvian.
<ellipse> Ruby 1.9 is quickly aging.
<ntzrmtthihu777> ellipse: yeah, I'm aware its available, but I mean when 2.0 takes a majority over 1.9.3 and all the currently developed ruby tools come to 2.0 from 1.9.3?
Senjai has quit [Ping timeout: 248 seconds]
mercwithamouth has joined #ruby
phracker has left #ruby ["Textual IRC Client: www.textualapp.com"]
<ellipse> Very soon.
<ellipse> Ruby stuff is ported quick.
phracker has joined #ruby
fixl has joined #ruby
<ntzrmtthihu777> or rather, should I write against 1.9.3 and upgrade to 2.0, or just jump into 2.0
elaptics`away is now known as elaptics
<ellipse> What is the dependency you're waiting for?
brianpWins has quit [Quit: brianpWins]
<ellipse> Jump into 2.0 unless you need an old version for a specific reason.
<ntzrmtthihu777> nothing in particular, just don't want to get half into 2.0 and have to redo it for lack of something.
camilasan has joined #ruby
<ellipse> Are you planning on adding a large number of dependencies you can't replace or know beforehand?
r0bgleeson has joined #ruby
KhalilC has joined #ruby
<ntzrmtthihu777> just c++, sfml2.0, and ruby. as far as I can forsee this should cover all that i need.
phracker has quit [Max SendQ exceeded]
noname001 has joined #ruby
<ellipse> Then go with 2.0 unless it conflicts with one of those
<DaniG2k> why is there no sum method in ruby?
<Hanmac1> weh i need the eval.in author ... there are little bugs in evalin
<DaniG2k> this thing has every method in the universe but not sum
phracker has joined #ruby
<Hanmac1> DaniG2k: because we dont need sum
Rizzle has quit [Read error: Connection reset by peer]
<DaniG2k> instead, it uses the obvious .inject(:+)
phracker has quit [Max SendQ exceeded]
takezawa has quit [Quit: Leaving...]
vigintas has joined #ruby
phracker has joined #ruby
<DaniG2k> it would have been kind of matz to include a sum mehtod
<ntzrmtthihu777> heh. another problem is all the ruby+c/++ info I can seem to find are all based on older versions of ruby :P
<DaniG2k> .inject( :+) is a bit awkward
mahmoudimus has joined #ruby
<Hanmac1> ntzrmtthihu777: for the newer questions you can ask me
JohnBat26 has joined #ruby
ehaliewicz has quit [Ping timeout: 276 seconds]
<ntzrmtthihu777> Hanmac1: heh, thankya. I really needa hang out here more :P
pcarrier_ has quit [Quit: Computer has gone to sleep.]
<hoelzro> ntzrmtthihu777: it shouldn't make much of a difference whether you use C or C++
jbpros has quit [Quit: jbpros]
kernel_panick has joined #ruby
phracker has quit [Max SendQ exceeded]
<ntzrmtthihu777> hoelzro: alright. I've never had a go at C, lol. my (short) programming life started with C++, lol.
<hoelzro> C isn't that different from C++ =)
kernel_panick is now known as kernelpanik
<Hanmac1> you just need to look when the pointer are keep'd by the system (so ruby should not free them)
<ntzrmtthihu777> yeah, so I hear.
Jedi_SCT1 has joined #ruby
KillerFox has joined #ruby
tonini has joined #ruby
mame0 has joined #ruby
LennyLinux has quit [Remote host closed the connection]
robustus has joined #ruby
razi has quit [Quit: Leaving.]
icole has quit [Remote host closed the connection]
redgirl has joined #ruby
<jds_> The nginx recipe calls 'template "#{node['ohai']['plugin_path']}/nginx.rb"'. When I try to use it, node['ohai'] is nil. What am I missing that would usually set that up?
lkba has quit [Ping timeout: 260 seconds]
obs has quit [Quit: Konversation terminated!]
dawkirst has joined #ruby
daniel_- has joined #ruby
monkegji_ has joined #ruby
<dawkirst> Would FilteUtils.move(foo, bar, :force=> true) create bar if it doesn't exit already?
jimg has joined #ruby
casheew has joined #ruby
<ntzrmtthihu777> what is this ohai I keep seeing? the rubysdl page uses it as part of its url, what does it signify?
HecAtic has quit [Quit: Àá¼ö]
b0oh has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
Al___ has joined #ruby
monkegji_ has joined #ruby
Guest55966 has quit [Read error: Connection reset by peer]
monkegjinni has quit [Ping timeout: 256 seconds]
dangerousdave has joined #ruby
b0oh has left #ruby [#ruby]
<apeiros> DaniG2k: Array#sum would be a method on a generic datastructure for a small subset of possible arrays
<apeiros> if you want it, it's easy enough to add it
<DaniG2k> nah its ok
<DaniG2k> it would just be nice if it were there by default like in python
<apeiros> DaniG2k: I disagree
<DaniG2k> i think adding elements in an array is such a common thing
<apeiros> array already has over 100 methods (!)
<DaniG2k> so coudlnt't they make 101?
<jds_> ... wait, this totally isn't the #chef channel. Sorry for all the OT questions
<apeiros> DaniG2k: what makes you think it'd stop at 101?
c0rn has quit [Quit: Computer has gone to sleep.]
<apeiros> there's 1001 specific use-cases which only make sense for a small subset of possible arrays.
<DaniG2k> that's my point, they could have added an add method since its so common to have an array and add the elements together
<apeiros> wouldn't it be nice if it had .avg too? .mean also?, .stddev?
<apeiros> and all kinds of other analytical methods
arya has joined #ruby
jds_ has quit [Remote host closed the connection]
ferno has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
sayan has joined #ruby
sayan has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
<ellipse> That sounds like a good gem.
bigkevmcd has joined #ruby
<ellipse> (which should be stdlibed)
fgro has joined #ruby
ntzrmtthihu777 has quit [Quit: leaving]
Takehiro has joined #ruby
<apeiros> yes. and in 2.0 you can even make it a refinement for array/enumerable.
<Sargun> Is there a more concise way to say -- if unit and unit != ""
<Sargun> because, oddly "" is true
khushildep has joined #ruby
<ayonix> Sargun: couldnt you use: not unit.empty?
sayan has joined #ruby
<hoelzro> I don't think nil.responds_to? :empty?
tonini has quit [Ping timeout: 248 seconds]
arya has quit [Ping timeout: 248 seconds]
dr_bob has quit [Quit: Leaving.]
<hoelzro> >> nil.empty?
<eval-in> hoelzro => undefined method `empty?' for nil:NilClass (NoMethodError) ... (http://eval.in/32909)
<Sargun> 'cause unit could potentially be nil
<Sargun> yeah
snearch has joined #ruby
<ayonix> ah, you mean you want only one statement in the if clause? haven't seen one yet :(
tonini has joined #ruby
vlad_starkov has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
<Hanmac1> Sargun what about 0 and 0.0 and "0" and "0.0" ... one of them is true in php ... quess wichone
* hoelzro guesses '0.0'
dr_bob has joined #ruby
thebastl has quit [Remote host closed the connection]
<Hanmac1> hoelzro: you are right but i think you know the answer already
<hoelzro> I didn't, but that's Perl's rules as well ;()
<hoelzro> er, ;)
thebastl has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
pcarrier_ has joined #ruby
bubu has joined #ruby
<bubu> hey guys, anyone able to help with an erb template I'm having problems with? blows up line 48! https://gist.github.com/anonymous/7b45de85bf669a8401f8
dhruvasagar has joined #ruby
emergion has joined #ruby
DrForr_ has quit [Remote host closed the connection]
<Hanmac1> bubu i think erb questions are better answerd at #rubyonrails
r0bgleeson has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
<bubu> ok thanks Hanmac1
riku has joined #ruby
cj3kim has joined #ruby
jimg has quit [Remote host closed the connection]
blaxter_ is now known as blaxter
daniel_- has quit [Ping timeout: 256 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
jimg has joined #ruby
monkegjinni has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
rheilol has joined #ruby
monkegji_ has quit [Ping timeout: 246 seconds]
timmow has joined #ruby
monkegjinni has joined #ruby
ayaz has quit [Ping timeout: 240 seconds]
thelames1 has quit [Quit: well done]
cj3kim has quit [Ping timeout: 260 seconds]
xcv has joined #ruby
thebastl_ has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
filipe has quit [Ping timeout: 260 seconds]
ntus1017 has joined #ruby
msuszczy has quit [Quit: leaving]
thebastl has quit [Ping timeout: 256 seconds]
northelks has joined #ruby
kil0byte_ has joined #ruby
m8 has joined #ruby
kil0byte has quit [Ping timeout: 256 seconds]
jimg has quit [Remote host closed the connection]
dr_bob has quit [Quit: Leaving.]
kil0byte_ has quit [Remote host closed the connection]
gasbakid_ has joined #ruby
slash_nick has quit [Ping timeout: 256 seconds]
leonidlm has quit [Ping timeout: 256 seconds]
filipe_ has joined #ruby
gasbakid has quit [Ping timeout: 256 seconds]
stkowski has quit [Quit: stkowski]
ferno has quit [Ping timeout: 264 seconds]
araujo has quit [Ping timeout: 245 seconds]
thebastl_ has quit [Remote host closed the connection]
thebastl has joined #ruby
takeru has quit [Remote host closed the connection]
dr_bob has joined #ruby
chandankumar has joined #ruby
mosez_ is now known as mosez
dcunit3d has quit [Ping timeout: 276 seconds]
thebastl has quit [Ping timeout: 260 seconds]
hamakn has quit [Read error: Connection reset by peer]
leonidlm has joined #ruby
hamakn has joined #ruby
Elhu has joined #ruby
Takehiro has quit [Remote host closed the connection]
bubblehe_ has quit [Read error: Connection reset by peer]
jurbat has quit [Quit: Computer has gone to sleep.]
Hanmac1 has quit [Ping timeout: 276 seconds]
bubblehead has joined #ruby
thebastl has joined #ruby
Hanmac1 has joined #ruby
chrishough has quit [Quit: chrishough]
nyuszika7h has quit [Quit: WeeChat 0.4.1]
nyuszika7h has joined #ruby
erry is now known as erryone
rdark has joined #ruby
apeiros has quit []
erryone is now known as erry
icole has joined #ruby
srji has quit [Ping timeout: 240 seconds]
braincrash has quit [Quit: bye bye]
Eaven has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
chandankumar has quit [Quit: Leaving]
nouitfvf has joined #ruby
fermion has joined #ruby
chandankumar has joined #ruby
<nouitfvf> $stdout << "hi" + ":)"
braincrash has joined #ruby
thebastl has quit [Remote host closed the connection]
orien has quit [Quit: Computer has gone to sleep.]
araujo has joined #ruby
araujo has joined #ruby
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
icole has quit [Ping timeout: 276 seconds]
Animawish has joined #ruby
srji has joined #ruby
nari_ has quit [Ping timeout: 240 seconds]
<ellipse> puts 'Hi. :)'
gyre007 has joined #ruby
thebastl has joined #ruby
ayaz has joined #ruby
vlad_starkov has joined #ruby
thebastl has quit [Remote host closed the connection]
tonini has quit [Ping timeout: 248 seconds]
jds_ has joined #ruby
thebastl has joined #ruby
nomenkun has quit [Ping timeout: 256 seconds]
<nerdman> is there more convinient way do this, Array[foo].flatten
orien has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
froy has quit [Ping timeout: 256 seconds]
monkegjinni has joined #ruby
slainer68 has joined #ruby
thebastl has quit [Remote host closed the connection]
Ortuna has joined #ruby
slainer6_ has quit [Read error: Connection reset by peer]
jds_ has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 260 seconds]
thebastl has joined #ruby
xcv has quit [Remote host closed the connection]
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
Sherwyn has joined #ruby
chichou has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
monkegji_ has joined #ruby
thebastl has quit [Remote host closed the connection]
monkegjinni has quit [Read error: Connection reset by peer]
<bubu> anybody know why https://gist.github.com/joshmyers/70dda1aac5e945cc14a8 line 12 am getting an error 'join':cant convert symbol to integer
<nerdman> eval([66, 97, 115, 101, 54, 52].map(&:chr).join.constantize.send(:decode64,"cHV0cyAnSGkuIDopJw==\n"))
monkegjinni has joined #ruby
<nerdman> bubu: File.join dont accept symbols
sayan has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
gildo has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
monkegj__ has joined #ruby
monkegji_ has quit [Ping timeout: 256 seconds]
nomenkun has joined #ruby
ntus1017 has quit [Remote host closed the connection]
danslo has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
harrymoreno has quit [Ping timeout: 240 seconds]
razi has joined #ruby
monkegji_ has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
<Hanmac1> nerdman: constantize is a rails function
thebastl has joined #ruby
harrymoreno has joined #ruby
monkegj__ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
arunagw has joined #ruby
jgoff has joined #ruby
snearch has quit [Quit: Verlassend]
<bubu> nerdman: ah bollocks, thanks
skattyadz has joined #ruby
mklappstuhl has joined #ruby
dash__ has joined #ruby
dash__ has quit [Client Quit]
arunagw has quit [Client Quit]
javos has joined #ruby
monkegji_ has quit [Ping timeout: 245 seconds]
dash__ has joined #ruby
<bubu> nerdman: how coud I get around this problem?
Takehiro has quit [Remote host closed the connection]
malkomalko has joined #ruby
thebastl has quit [Remote host closed the connection]
Zeeraw has joined #ruby
arya has joined #ruby
thebastl has joined #ruby
<bnagy> bubu: I guess you didn't write that code, huh
jgoff is now known as DrForr
motto has joined #ruby
<bubu> no my colleague did and has handed it over to me to learn ruby
LennyLinux has joined #ruby
peta_ has joined #ruby
<bnagy> tell your colleague that's a dumb use of inject :)
<bnagy> just convert the channel from a symbol to a string, then it should work
m8 has quit [Ping timeout: 264 seconds]
ArchBeOS has quit [Quit: Leaving]
camilasan has quit [Remote host closed the connection]
gkunno_ is now known as gkunno
javos has quit [Quit: Colloquy for iPod touch - http://colloquy.mobi]
_ffio_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
harrymoreno has quit [Quit: harrymoreno]
ffio_ has quit [Ping timeout: 260 seconds]
<bubu> ah gotcha bnagy, I was tryign to convert the base dir into a string, which is already a string!
chandankumar` has joined #ruby
<bnagy> and most rubyists would probably use map there instead of inject
<bnagy> and line 14 is not required
chandankumar has quit [Read error: Connection timed out]
<bnagy> actually I think it's even simpler to read with each
<nerdman> Hanmac1: require "base64";eval(Object.const_get([66, 97, 115, 101, 54, 52].map(&:chr).join).send(:decode64,"cHV0cyAnSGkuIDopJw==\n"))
<Hanmac1> >> [66, 97, 115, 101, 54, 52].pack("C*")
<eval-in> Hanmac1 => "Base64" (http://eval.in/32913)
<bnagy> dirs=[]; blah[:channels].each {|channel| dirs.concat [File.join..., File.join...] }
chandankumar` has quit [Max SendQ exceeded]
chandankumar` has joined #ruby
jurbat has joined #ruby
orien has quit [Quit: Computer has gone to sleep.]
Domon has quit [Remote host closed the connection]
Guga_ has joined #ruby
akashj87 has joined #ruby
Xeago has joined #ruby
Al___ has quit [Quit: Al___]
<bnagy> Sargun: btw re your q above, do_thing if a and not a.empty? will work even if a is nil
<bnagy> because and shortcuts
camilasan has joined #ruby
tonini has joined #ruby
nfk has quit [Quit: yawn]
nfk has joined #ruby
nettoweb has joined #ruby
Eaven has quit [Remote host closed the connection]
<bnagy> I mean && does too, but it binds tighter
<bnagy> which would make the statement uglier
daniel_- has joined #ruby
senayar has joined #ruby
Domon has joined #ruby
Eaven has joined #ruby
KhalilC has quit [Ping timeout: 264 seconds]
afd__ has quit [Read error: Connection reset by peer]
thebastl has quit [Remote host closed the connection]
motto has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
Spami has joined #ruby
afd__ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
chxane has quit [Remote host closed the connection]
davetherat has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
davetherat has joined #ruby
evenix_ has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
Ortuna has quit [Quit: Computer has gone to sleep.]
emergion has joined #ruby
chandankumar` has quit [Quit: Leaving]
Ortuna has joined #ruby
nari_ has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
ntus1017 has joined #ruby
KhalilC has joined #ruby
daniel_- has quit [Ping timeout: 246 seconds]
b0oh has joined #ruby
Domon has quit [Remote host closed the connection]
m8 has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
noname001 has quit [Remote host closed the connection]
LennyLinux has quit [Remote host closed the connection]
Killerkeksdose has quit [Remote host closed the connection]
Ortuna has quit [Quit: Computer has gone to sleep.]
m8 has quit [Max SendQ exceeded]
noname001 has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
Zeeraw has joined #ruby
Giorgio has quit [Ping timeout: 256 seconds]
razi has quit [Quit: Leaving.]
m8 has joined #ruby
BizarreCake has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
b0oh has left #ruby [#ruby]
robustus has joined #ruby
Spooner has joined #ruby
m8 has quit [Ping timeout: 276 seconds]
mklappstuhl has joined #ruby
hamakn has quit [Remote host closed the connection]
eka has joined #ruby
m8 has joined #ruby
angusiguess has joined #ruby
Azulinho_ has quit [Ping timeout: 240 seconds]
_xvilka has joined #ruby
arr__ has quit [Quit: Lost terminal]
wmoxam has joined #ruby
moos3 has joined #ruby
mklappstuhl has quit [Ping timeout: 246 seconds]
<_xvilka> hi! I'm installing gitlab dependencies using bundle, and have stupid ISA http proxy server, it works ok, except raphael-rails, which is using https://github.com/bla-bla/bla.git link
<_xvilka> and it does return error
ioNull has quit [Ping timeout: 260 seconds]
<_xvilka> is it possible download file from github, place it somewhere and point to this directory in GemFile?
malkomalko has quit [Remote host closed the connection]
johnrlive has joined #ruby
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
afd___ has joined #ruby
Speed has joined #ruby
ioNull has joined #ruby
ttt has quit [Remote host closed the connection]
joshu has joined #ruby
sailias has joined #ruby
afd__ has quit [Ping timeout: 260 seconds]
talntid has quit [Read error: Connection reset by peer]
krz has quit [Ping timeout: 240 seconds]
akashj87 has quit [Ping timeout: 264 seconds]
DomKM has quit [Read error: Connection reset by peer]
talntid has joined #ruby
DomKM has joined #ruby
tommyvyo has joined #ruby
hogeo has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
Killerkeksdose has joined #ruby
quazimodo has joined #ruby
jonahR has quit [Quit: jonahR]
kstephens has quit [Quit: PredictTheFuture]
wookiehangover has quit [Ping timeout: 264 seconds]
rmnuvg has quit [Ping timeout: 264 seconds]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
motto has joined #ruby
Guedes has quit [Ping timeout: 264 seconds]
cafk has quit [Ping timeout: 264 seconds]
kstephens has joined #ruby
m8 has quit [Read error: Connection reset by peer]
feedbackloop_ has quit [Read error: No buffer space available]
apeiros has joined #ruby
dfdf has joined #ruby
choobie has quit [Ping timeout: 264 seconds]
cafk has joined #ruby
wookiehangover has joined #ruby
feedbackloop_ has joined #ruby
rmnuvg has joined #ruby
tommyvyo has quit [Client Quit]
choobie has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
<elaptics> _xvilka: you'd have to clone the whole repository somewhere locally and then it is possible to point to the local file path
motto has quit [Max SendQ exceeded]
Guedes has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
<_xvilka> elaptics: thx, will do
ghr has quit [Ping timeout: 245 seconds]
Bry8Star{T2 has joined #ruby
motto has joined #ruby
r0bgleeson has joined #ruby
sailias has quit [Quit: Leaving.]
Macaveli has joined #ruby
byprdct has joined #ruby
wmoxam has joined #ruby
dfdf has quit [Ping timeout: 258 seconds]
fwaokda has joined #ruby
apeiros has quit [Remote host closed the connection]
ioNull has quit [Ping timeout: 240 seconds]
<_xvilka> elaptics: it is easy to do that inside Gemfile, but i should change Gemfile.lock, how i can do that?
mikecmpbll has joined #ruby
mljsimone|bnc is now known as mljsimone
<elaptics> _xvilka: run: bundle install
wald0 has joined #ruby
<_xvilka> elaptics: doesn't help
sayan has joined #ruby
ioNull has joined #ruby
<_xvilka> elaptics: just print same msg "You are trying to install in deployment mode after changing your Gemfile. Run `bundle install' elsewhere and add the updated Gemfile.lock to version control."
sayan has quit [Read error: Connection reset by peer]
ioNull has quit [Max SendQ exceeded]
<wald0> i recently discovered ruby and i still reading about, it is one of the most advanced / best programming languages ? I ask that because everything that i read about it good! except some articles on internet that says that is not (which i dont pay much attention)
ioNull has joined #ruby
<canton7> wald0, different languages are good for different things
<wald0> canton7: well, im specially interested in powerful (which doesnt means optimized)
<canton7> what does it mean then, in your context? you can achieve a lot with little work, if that's what you mean
dr_bob has quit [Quit: Leaving.]
sayan has joined #ruby
<wald0> i mean possibilites and quality of code, I have see that there's a lot nice things in the language itself and the big OO features, just like the C bindings (ffi) to any lib
<elaptics> _xvilka: I don't understand that message about deployment mode? I presume that's something specific to gitlab?
<wald0> (quality of code is good for powerful apps, if the coder dont understand it or is a pain to code the application will be poor)
wmoxam has quit [Ping timeout: 264 seconds]
srji has quit [Ping timeout: 248 seconds]
johnrlive has quit [Remote host closed the connection]
m8tt8 has joined #ruby
motto has quit [Read error: Connection reset by peer]
razi has joined #ruby
pyrac has joined #ruby
ioNull has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby
razi has quit [Client Quit]
<_xvilka> elaptics: is it safe just remove that Gemfile.lock?
<wald0> and good structured code (not more like linear (line-to-line) coding)
cibs has quit [Ping timeout: 256 seconds]
Guest33987 has quit [Ping timeout: 248 seconds]
_ffio_ has quit [Quit: WeeChat 0.4.0]
srji has joined #ruby
ioNull has joined #ruby
<elaptics> _xvilka: you shouldn't need to touch the .lock file. Where are you trying to install this? On your local dev machine?
<_xvilka> elaptics: test production
<elaptics> _xvilka: via capistrano or something?
hboon has joined #ruby
devoldmx3 has joined #ruby
<_xvilka> elaptics: but i can't download directly from git (which is mentioned inside gemfile) because of poor proxy
<_xvilka> elaptics: via bundle
<hboon> Is there a way to get a reference to itself (the proc/lambda) from within a proc/lambda? e.g. proc { do_something_with(__magic_self__) }
pen has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 248 seconds]
pen has joined #ruby
<heftig> hboon: nope, need to assign it to a var
<wald0> canton7: in short im trying to move from bash (is very powerful using with the ton of existing commands for specific things) to move to be able to do more powerful apps, but ruby looks like a good alternative to C
<heftig> : Hash.new { |h,k| h[k] = Hash.new(&h.default_proc) }
Macaveli has quit [Read error: Connection reset by peer]
Guest33987 has joined #ruby
ffio has joined #ruby
<hboon> heftig: thanks
<elaptics> _xvilka: so you're logged onto the box directly and just trying to install it on there?
cibs has joined #ruby
Macaveli has joined #ruby
<_xvilka> elaptics: yes
hboon has quit [Quit: hboon]
<_xvilka> and stuck at installing gems
razi has joined #ruby
sheeny has joined #ruby
pothibo has joined #ruby
<sheeny> I know this is the ruby channel but It wont let me on rvm channel. Can anyone tell me why RVM keeps telling me that the ruby version isn't install when i cd around
yalue has joined #ruby
razi has quit [Client Quit]
razi1 has joined #ruby
<sheeny> here is a gist
m8tt8 has quit [Read error: Connection reset by peer]
lethan has quit [Remote host closed the connection]
arya has joined #ruby
<ellipse> Is there a .rvmrc somewhere?
marcgg has quit [Ping timeout: 240 seconds]
m8tt8 has joined #ruby
hogeo has quit [Remote host closed the connection]
<sheeny> where is that normally?
thebastl has joined #ruby
devoldmx3 has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby
Macaveli has quit [Quit: This computer has gone to sleep]
Al___ has joined #ruby
<ellipse> It might be in the directory causing the error.
devoldmx has joined #ruby
razi1 has quit [Ping timeout: 240 seconds]
<sheeny> i cant see one
marcgg has joined #ruby
LennyLinux has joined #ruby
<sheeny> there is a .ruby-version
Iszak_ has joined #ruby
<sheeny> which seems to be the issue
<sheeny> thanks :)
byprdct has quit [Ping timeout: 260 seconds]
hogeo has quit [Ping timeout: 264 seconds]
camilasan has quit [Remote host closed the connection]
sheeny has quit [Quit: Page closed]
angusiguess has quit [Ping timeout: 276 seconds]
camilasan has joined #ruby
cout_ is now known as cout
devoldmx has quit [Ping timeout: 264 seconds]
F1skr has joined #ruby
ellipse has quit [Quit: Bye]
ioNull has quit [Ping timeout: 264 seconds]
Heskie has joined #ruby
ioNull has joined #ruby
devoldmx has joined #ruby
camilasan has quit [Ping timeout: 245 seconds]
razi has joined #ruby
ghr has joined #ruby
suporte85 has joined #ruby
nkr has joined #ruby
verto has joined #ruby
jonathanwallace has joined #ruby
camilasan has joined #ruby
senayar has quit [Read error: Connection reset by peer]
senayar has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
devoldmx has joined #ruby
Macaveli has joined #ruby
hekin has joined #ruby
ybart has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
pskosinski has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
tonini has quit [Quit: leaving]
tonini has joined #ruby
alem0lars has joined #ruby
phracker has joined #ruby
rads has quit [Quit: rads]
hamakn has joined #ruby
sambao21 has joined #ruby
hogeo has joined #ruby
kobain has joined #ruby
<wald0> so it is ruby a good C alternative for do powerful applications ? (not optimized applications)
jonathanwallace has quit [Ping timeout: 240 seconds]
<pothibo> wald0: Not sure you ucan compare C with ruby
choobie has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
<tobiasvl> wald0: what's a powerful application?
atal421 has joined #ruby
hamakn has quit [Ping timeout: 260 seconds]
fuzzyhorns has joined #ruby
wwwq has joined #ruby
<ddv> wald0: no
osvico has joined #ruby
<hoelzro> it's like comparing a donkey to a race horse; they're both good for different things
wwwq is now known as insel
<pothibo> Anybody has an idea why this is happening? https://gist.github.com/pothibo/c2c0e13fa7c488abd790
<Hanmac1> wald0 yes and no ... for this reason i use extensions ... so i have the features and speed of C but the nice language of ruby
Iszak_ has quit [Quit: Textual IRC Client: www.textualapp.com]
phracker has quit [Max SendQ exceeded]
wmoxam has joined #ruby
phracker has joined #ruby
phracker has quit [Max SendQ exceeded]
Faris has quit [Ping timeout: 276 seconds]
phracker has joined #ruby
Faris has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ttt has joined #ruby
jonathanwallace has joined #ruby
bothra_ has quit [Read error: Connection reset by peer]
jgoss has joined #ruby
bothra_ has joined #ruby
phracker has quit [Max SendQ exceeded]
predator217 has quit [Quit: leaving]
dhruvasagar has quit [Ping timeout: 264 seconds]
phracker has joined #ruby
predator117 has joined #ruby
yshh has quit [Remote host closed the connection]
adkron has joined #ruby
phracker has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
VinceThePrince has joined #ruby
mklappstuhl has joined #ruby
ttt has quit [Ping timeout: 252 seconds]
Macaveli has quit [Ping timeout: 245 seconds]
altivec has joined #ruby
Eaven has quit [Read error: Connection reset by peer]
sailias1 has joined #ruby
skattyadz has quit [Quit: skattyadz]
lkba has joined #ruby
Eaven has joined #ruby
choobie has joined #ruby
Al___ has quit [Quit: Al___]
johnrlive has joined #ruby
Al___ has joined #ruby
VinceThePrince has quit [Read error: Connection reset by peer]
solidoodlesuppor has joined #ruby
sebastianb has joined #ruby
breakingthings has joined #ruby
splittingred has joined #ruby
Elico1 has joined #ruby
jonathanwallace has quit [Ping timeout: 276 seconds]
motto has joined #ruby
KB1ZIB has joined #ruby
altivec has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr_ has joined #ruby
ddfreyne has quit [Excess Flood]
kaiks has joined #ruby
ddfreyne has joined #ruby
uxp has joined #ruby
ioNull has quit [Quit: Computer has gone to sleep.]
wwwq has joined #ruby
pcarrie__ has joined #ruby
Al____ has joined #ruby
hogeo_ has joined #ruby
bothra_ is now known as bothra
ewag_ has joined #ruby
jerius has joined #ruby
Killerkeksdose_ has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
moos3 has quit [Ping timeout: 264 seconds]
pcarrier_ has quit [Ping timeout: 264 seconds]
Elico has quit [Ping timeout: 264 seconds]
ghr_ is now known as ghr
hash has quit [Ping timeout: 264 seconds]
fearoffish has quit [Ping timeout: 264 seconds]
Guest85414__ has quit [Ping timeout: 264 seconds]
kx has quit [Ping timeout: 264 seconds]
Al___ has quit [Ping timeout: 264 seconds]
davetherat has quit [Ping timeout: 264 seconds]
dash__ has quit [Ping timeout: 264 seconds]
Elhu has quit [Ping timeout: 264 seconds]
ayaz has quit [Ping timeout: 264 seconds]
JohnBat26 has quit [Ping timeout: 264 seconds]
_Andres has quit [Ping timeout: 264 seconds]
nerdman has quit [Ping timeout: 264 seconds]
onewheelskyward has quit [Ping timeout: 264 seconds]
Schuyler has quit [Ping timeout: 264 seconds]
drfreeze has quit [Ping timeout: 264 seconds]
Guest28885 has quit [Ping timeout: 264 seconds]
lschmidt has quit [Ping timeout: 264 seconds]
adiectio has quit [Ping timeout: 264 seconds]
Caelum has quit [Ping timeout: 264 seconds]
conceal_rs_____ has quit [Ping timeout: 264 seconds]
insel has quit [Ping timeout: 264 seconds]
m8tt8 has quit [Ping timeout: 264 seconds]
hogeo has quit [Ping timeout: 264 seconds]
Killerkeksdose has quit [Ping timeout: 264 seconds]
sideshowcoder has quit [Ping timeout: 264 seconds]
firebury has quit [Ping timeout: 264 seconds]
alexwh has quit [Ping timeout: 264 seconds]
perun0 has quit [Ping timeout: 264 seconds]
classix has quit [Ping timeout: 264 seconds]
Freijo has quit [Ping timeout: 264 seconds]
mosez has quit [Ping timeout: 264 seconds]
eliasp_ has quit [Ping timeout: 264 seconds]
queequeg2 has quit [Ping timeout: 264 seconds]
uxp_ has quit [Ping timeout: 264 seconds]
Kabaka has quit [Ping timeout: 264 seconds]
Lulz has quit [Ping timeout: 264 seconds]
ewag has quit [Ping timeout: 264 seconds]
A124 has quit [Ping timeout: 264 seconds]
eliasp has joined #ruby
ldnunes has quit [Ping timeout: 264 seconds]
aganov has quit [Ping timeout: 264 seconds]
Mchl has quit [Ping timeout: 264 seconds]
bakedb has quit [Ping timeout: 264 seconds]
t_hash has joined #ruby
mosez has joined #ruby
_Andres has joined #ruby
adiectio has joined #ruby
dash__ has joined #ruby
Mchl has joined #ruby
Elhu has joined #ruby
ldnunes has joined #ruby
Caelum has joined #ruby
conceal_rs_____ has joined #ruby
Schuyler has joined #ruby
verto has quit [Ping timeout: 264 seconds]
talntid has quit [Ping timeout: 264 seconds]
peteyg has quit [Ping timeout: 264 seconds]
martxel has quit [Ping timeout: 264 seconds]
yo61_ has quit [Ping timeout: 264 seconds]
ccooke has quit [Ping timeout: 264 seconds]
tomaw_ has joined #ruby
onewheelskyward has joined #ruby
alexwh has joined #ruby
noname001 has quit [Excess Flood]
Fraeon has joined #ruby
peteyg has joined #ruby
sideshowcoder has joined #ruby
bw_ has quit [Remote host closed the connection]
martxel has joined #ruby
yo61 has joined #ruby
classix has joined #ruby
queequeg1 has joined #ruby
fgro_ has joined #ruby
talntid has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
monkegji_ has joined #ruby
martxel is now known as Guest11514
eka has quit [Ping timeout: 291 seconds]
danslo has quit [Quit: danslo]
bjeanes has quit [Ping timeout: 252 seconds]
KB1ZIB is now known as moos3
mahmoudi_ has joined #ruby
tomaw has quit [Quit: Quitting]
Kabaka has joined #ruby
nyuszika7h has quit [Excess Flood]
fgro has quit [Write error: Broken pipe]
ssvo has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
fearoffish has joined #ruby
r0bgleeson has quit [Read error: No buffer space available]
ssvo has joined #ruby
bjeanes has joined #ruby
monkegj__ has joined #ruby
davetherat has joined #ruby
lschmidt has joined #ruby
mahmoudimus has quit [Read error: No buffer space available]
r0bgleeson has joined #ruby
perun0 has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
nyuszika7h has joined #ruby
Guedes has quit [Excess Flood]
Michael__ has joined #ruby
noname001 has joined #ruby
kil0byte has joined #ruby
krawchyk has joined #ruby
eka has joined #ruby
ybart has quit [Ping timeout: 259 seconds]
aspiers has quit [Ping timeout: 259 seconds]
Gnubie has quit [Ping timeout: 259 seconds]
tomaw_ is now known as tomaw
toddWork_ has joined #ruby
r0bby has joined #ruby
wmoxam_ has joined #ruby
teclator_ has joined #ruby
Gnubie has joined #ruby
casheew_ has joined #ruby
itman_ has joined #ruby
kyle___ has joined #ruby
jbinto has joined #ruby
nezumi has quit [Ping timeout: 240 seconds]
m8tt8 has joined #ruby
monkegji_ has quit [Ping timeout: 245 seconds]
rfxhhq has joined #ruby
mmitchell has joined #ruby
Giorgio has joined #ruby
devoldmx has joined #ruby
r0bby_ has joined #ruby
thesheff17 has quit [Excess Flood]
atal421 has quit [Quit: atal421]
Lulz has joined #ruby
ybart has joined #ruby
firebury has joined #ruby
jnix has quit [Ping timeout: 279 seconds]
mksm has joined #ruby
jnix has joined #ruby
mksm is now known as Guest26324
ccooke has joined #ruby
drfreeze has joined #ruby
sirecote_ has joined #ruby
itman has quit [Write error: Broken pipe]
kyle____ has quit [Write error: Connection reset by peer]
casheew has quit [Write error: Broken pipe]
wmoxam has quit [Write error: Broken pipe]
motto has quit [Max SendQ exceeded]
robbyoconnor has quit [Write error: Broken pipe]
ShapeShifter499 has quit [Excess Flood]
yosafbridge` has quit [Ping timeout: 325 seconds]
scrogson has quit [Ping timeout: 325 seconds]
fuleo has quit [Ping timeout: 325 seconds]
Naeblis has quit [Ping timeout: 325 seconds]
sirecote has quit [Ping timeout: 325 seconds]
ElderFain has quit [Write error: Connection reset by peer]
DanKnox_away has quit [Ping timeout: 258 seconds]
aganov has joined #ruby
bakedb has joined #ruby
A124 has joined #ruby
Naeblis_ has joined #ruby
yosafbridge has joined #ruby
<pothibo> those net split are becoming frequent
sayan has quit [Ping timeout: 272 seconds]
teclator has quit [Ping timeout: 272 seconds]
joelteon has quit [Ping timeout: 272 seconds]
shammancer has quit [Ping timeout: 272 seconds]
scrogson has joined #ruby
bw_ has joined #ruby
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
angusiguess has joined #ruby
ElderFain has joined #ruby
shammancer has joined #ruby
psychouroboros has quit [Max SendQ exceeded]
otters has joined #ruby
otters is now known as joelteon
sayan has joined #ruby
arya has quit []
_JamieD_ has joined #ruby
justsee has joined #ruby
nerdman has joined #ruby
ewag has joined #ruby
bothra has quit [Ping timeout: 273 seconds]
wchun has quit [Ping timeout: 273 seconds]
DanKnox_away has joined #ruby
bothra has joined #ruby
deadalus has joined #ruby
DanKnox_away is now known as DanKnox
fuzzyhorns has quit [Remote host closed the connection]
r0bby has quit [Ping timeout: 272 seconds]
ShapeShifter499 has joined #ruby
fuleo has joined #ruby
Coolhand has joined #ruby
iamjarvo1 has joined #ruby
m8tt8 has quit [Ping timeout: 246 seconds]
iamjarvo1 has quit [Client Quit]
jonathanwallace has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
codecop has quit [Remote host closed the connection]
ewag_ has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
monkegj__ has quit [Read error: Connection reset by peer]
monkegji_ has joined #ruby
includex has joined #ruby
ioNull has joined #ruby
arya has joined #ruby
hogeo_ has quit [Remote host closed the connection]
adambeynon has joined #ruby
carloslopes has joined #ruby
Coolhand has quit [Remote host closed the connection]
skattyadz has joined #ruby
tcrayford has joined #ruby
jsaak has quit [Ping timeout: 264 seconds]
<tcrayford> yo, so how do I get minitest to actually report test failures to me?
deadalus has quit [Changing host]
deadalus has joined #ruby
<tcrayford> I'm running it via "require 'minitest/autorun'", then ruby TEST_FILENAME
<tcrayford> 2:29 PM
<tcrayford> 2:29 PM
<tcrayford> and all I get is output that tells me some failures happened, but no actual failure messages
<tcrayford> e.g.
<tcrayford> 2:29 PM
<tcrayford> E.......................EEE................................................E..........E..
<tcrayford> 2:29 PM
<tcrayford> Finished in 0.073026s, 1218.7440 runs/s, 2026.6754 assertions/s.
<tcrayford> 2:29 PM
<tcrayford> and that's the end of the output
<tcrayford> (ignore those timestamps, I copied and pasted from another irc channel)
BSaboia has joined #ruby
monkegjinni has joined #ruby
burlyscudd has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
monkegjinni has joined #ruby
jbinto has quit [Read error: Connection reset by peer]
chson has quit [Remote host closed the connection]
jbinto has joined #ruby
monkegji_ has quit [Ping timeout: 264 seconds]
jtharris has joined #ruby
kofno has joined #ruby
burlyscudd has quit [Client Quit]
jgarvey has joined #ruby
Michael__ has quit [Remote host closed the connection]
sailias1 has quit [Quit: Leaving.]
daniel_- has joined #ruby
jsaak has joined #ruby
Michael__ has joined #ruby
johnmilton has joined #ruby
sr78ger has joined #ruby
failshell has joined #ruby
adkron has quit [Ping timeout: 240 seconds]
monkegjinni has quit [Read error: Connection reset by peer]
mikecmpb_ has joined #ruby
Sherwyn has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
monkegjinni has joined #ruby
Lubinski has joined #ruby
Sherwyn has joined #ruby
tomzx_mac has joined #ruby
johnrlive has quit [Remote host closed the connection]
stillEPIK has joined #ruby
johnrlive has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
krislappy has joined #ruby
krislappy has joined #ruby
krislappy has quit [Changing host]
weeb1e has joined #ruby
bubbajoness has joined #ruby
kevinfagan has quit [Ping timeout: 256 seconds]
agjacome has joined #ruby
Michael__ has quit [Ping timeout: 241 seconds]
mikecmpbll has quit [Ping timeout: 246 seconds]
Dummies_freelanc has quit [Ping timeout: 246 seconds]
krisfremen has quit [Remote host closed the connection]
fermion has quit [Ping timeout: 246 seconds]
preller has quit [Ping timeout: 246 seconds]
bubbajones has quit [Ping timeout: 246 seconds]
EPIK has quit [Ping timeout: 246 seconds]
cespare has quit [Ping timeout: 246 seconds]
Guest33987 has quit [Ping timeout: 246 seconds]
cespare has joined #ruby
thebastl has quit [Remote host closed the connection]
weeb1e_ has quit [Read error: Connection reset by peer]
araujo has quit [Ping timeout: 246 seconds]
hekin has quit [Quit: hekin]
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
araujo has joined #ruby
Guest33987 has joined #ruby
moos3 has quit [Read error: Connection reset by peer]
kevinfagan has joined #ruby
fermion has joined #ruby
moos3 has joined #ruby
interactionjaxsn has joined #ruby
Takehiro has joined #ruby
Azulinho_ has joined #ruby
v0n has joined #ruby
Coolhand has joined #ruby
LennyLinux has quit [Remote host closed the connection]
thesheff17 has joined #ruby
sr78ger has quit [Quit: Qui]
machuga|away is now known as machuga
gasbakid__ has joined #ruby
Guest has joined #ruby
pothibo has quit [Quit: pothibo]
<Guest> hi
sirecote_ is now known as sirecote
slainer68 has quit [Ping timeout: 276 seconds]
Guest has left #ruby [#ruby]
ananthakumaran has quit [Quit: Leaving.]
Proshot has quit [Quit: Leaving]
slainer68 has joined #ruby
daniel_- has quit [Ping timeout: 248 seconds]
cmarques has joined #ruby
gasbakid_ has quit [Ping timeout: 256 seconds]
monkegjinni has quit [Write error: Connection reset by peer]
Coolhand has quit [Remote host closed the connection]
banister`shop has quit [Remote host closed the connection]
sleetdrop has joined #ruby
osvico has quit [Ping timeout: 276 seconds]
monkegjinni has joined #ruby
pencilcheck has joined #ruby
slainer6_ has joined #ruby
ixx has joined #ruby
pen has quit [Read error: Connection reset by peer]
wormwood_ has quit [Ping timeout: 246 seconds]
xybre has quit [Ping timeout: 246 seconds]
Guest86166 has quit [Ping timeout: 246 seconds]
ffranz has joined #ruby
slainer68 has quit [Read error: Connection reset by peer]
filipe_ has quit [Ping timeout: 256 seconds]
Debaser has quit [Ping timeout: 256 seconds]
Elfix has quit [Ping timeout: 256 seconds]
<wald0> well, i wanted to know if ruby is just a "very powerful scripting language" or it is ok to do minimally powerful standard/common applications
codex has quit [Ping timeout: 246 seconds]
Elfix has joined #ruby
Coolhand has joined #ruby
burlyscudd has joined #ruby
yeltzooo has quit [Ping timeout: 246 seconds]
xybre has joined #ruby
xybre has quit [Changing host]
xybre has joined #ruby
tonini has joined #ruby
filipe_ has joined #ruby
ixx is now known as Guest26539
devoldmx has quit [Ping timeout: 248 seconds]
Debaser has joined #ruby
sleetdrop has quit [Client Quit]
wormwood_ has joined #ruby
<tobiasvl> wald0: well, what do you want to make?
m8 has joined #ruby
yeltzooo has joined #ruby
devoldmx has joined #ruby
<tobiasvl> ruby is powerful. it's also a scripting language, unlike C. it can make minimal applications, and also standard ones, and probably some powerful ones too.
Bry8Star{T2 has quit [Read error: Connection reset by peer]
mikewintermute has joined #ruby
Dummies_freelanc has joined #ruby
monkegji_ has joined #ruby
Bry8Star{T2 has joined #ruby
teclator_ has quit [Ping timeout: 240 seconds]
<Hanmac1> wal0 you can extend your ruby with C(++) functions from other C(++) libraries
pinage404 has joined #ruby
ariedler has joined #ruby
DestinyAwaits has joined #ruby
ninjabot has joined #ruby
mocfive has joined #ruby
sayan has quit [Read error: Connection reset by peer]
monkegjinni has quit [Read error: Connection reset by peer]
m8 has quit [Max SendQ exceeded]
m8 has joined #ruby
<nkr> Guys
<nkr> Is there a way to "extend" a included method on a module?
codex has joined #ruby
skattyadz has quit [Quit: skattyadz]
pyrac has quit [Quit: pyrac]
chrishunt has quit [Quit: ZzZzZz...]
mercwithamouth has joined #ruby
yshh has joined #ruby
chrishunt has joined #ruby
adkron has joined #ruby
yshh has quit [Remote host closed the connection]
m8 has quit [Max SendQ exceeded]
m8 has joined #ruby
yshh has joined #ruby
pitzips has joined #ruby
yshh_ has joined #ruby
wmoxam_ is now known as wmoxam
wmoxam has quit [Changing host]
wmoxam has joined #ruby
yshh has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
skattyadz has joined #ruby
monkegji_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
generalissimo has joined #ruby
skattyadz has quit [Client Quit]
Cyrus has quit [Quit: Cyrus.sleep()]
devoldmx3 has joined #ruby
kevinfagan has quit [Max SendQ exceeded]
Plumm3R has joined #ruby
<bnagy> whee
Plumm3R has quit [Client Quit]
kevinfagan has joined #ruby
<wald0> tobiasvl: common applications for users, so generic (not powerful, not basic ones, etc), actually im brainstorming how worth is to learn ruby instead of switch to C
thebastl has joined #ruby
<wald0> Hanmac1: you mean ffi ?
devoldmx has quit [Read error: No route to host]
<bnagy> wald0: don't learn C
ner0x has joined #ruby
devoldmx has joined #ruby
<bnagy> nobody who is not writing drivers should be writing C. It is 2013.
sie has quit [Ping timeout: 260 seconds]
b0oh has joined #ruby
<wald0> bnagy: i know a bit of C and there's an extremely nice framework of libs to use, fortunately they are also for ruby, so im thinking about which option to use
<Hanmac1> wald0: ffi is one way to do it, the other one is to write an extension in C/C++ that connects the library with ruby through wrapping
jbinto has quit [Ping timeout: 248 seconds]
<wald0> bnagy: that's not really like that, there's a ton of powerful apps in C in linux, most of them
LennyLinux has joined #ruby
akells` has joined #ruby
benweint has joined #ruby
<bnagy> nah
<bnagy> c++ maybe
kevinfagan has quit [Client Quit]
DaniG2k has quit [Quit: Leaving.]
<bnagy> all the old commands are C but that was back when people knew how to code
<wald0> bnagy: so you think that made apps in ruby is much better than in C ?
<bnagy> I think they're a lot more secure
kevinfagan has joined #ruby
<canton7> bnagy, or embedded engineers :P
devoldmx3 has quit [Ping timeout: 264 seconds]
kevinfagan has quit [Max SendQ exceeded]
pyrac has joined #ruby
ezotrank has joined #ruby
kevinfagan has joined #ruby
kevinfagan has quit [Max SendQ exceeded]
kevinfagan has joined #ruby
kevinfagan has quit [Max SendQ exceeded]
freerobby has joined #ruby
kristiandelay has joined #ruby
jlast has joined #ruby
<wald0> bnagy: "when people know how to code", yeah but we are talking about to write code (so we are these ppl that knows how to code), we are not talking about the end-users
includex has quit [Quit: Leaving...]
kevinfagan has joined #ruby
forced_request has joined #ruby
<bnagy> wald0: yeah no
Coolhand has quit [Remote host closed the connection]
<bnagy> trouble is that people can become 'programmers' much more quickly now
wolcanus has joined #ruby
rhys has joined #ruby
pipework has joined #ruby
monkegjinni has quit [Ping timeout: 245 seconds]
<wald0> bnagy: this is good or bad ? if ppl dont knows how memory works internally and cpu and bottlenecks of processing, the code/product will be less quality
<bnagy> knowing how to code is more than 'it compiles'
<bnagy> it is GOOD
F1skr has quit [Quit: WeeChat 0.4.1]
<bnagy> the vast majority of "programmers" now should not be let anywhere near memory let alone the CPU
Coolhand has joined #ruby
<bnagy> let the HLL make the pain go away
tw1sted has joined #ruby
Coolhand has quit [Remote host closed the connection]
teclator has joined #ruby
<bnagy> the funny thing is, they're STILL finding bugs in shit like tac. I mean... been there for what 30 years?
ezotrank has quit [Ping timeout: 248 seconds]
<lupine> at least 'true' works
Michael__ has joined #ruby
Fire-Dragon-DoL has joined #ruby
chson has joined #ruby
<wald0> well, its needed C for much things too, like most of the applications that requires optimization (kernel/drivers, graphical system, big applications...), and also to write HLL languages like ruby (?)
<bnagy> meh
mikepack has joined #ruby
_maes_ has joined #ruby
sayan has joined #ruby
<bnagy> you just need to emit tight machine code
b0oh has quit [Quit: Leaving.]
<bnagy> and not having GC helps for a lot of stuff
<bnagy> but C is not magic
Coolhand has joined #ruby
Coolhand has quit [Remote host closed the connection]
<tobiasvl> wald0: you specifically said you didn't need optimization though
b0oh has joined #ruby
_Renegade has joined #ruby
<wald0> actually im thinking to learn ruby to use the efl-ffi bindings (the ones made by enlightenment), which is a kind of complete framework very powerful, i just wonder if will be easier to write something on ruby than in C, i assume that i should still need to free objects and stuff
<bnagy> anyway as far as I am concerned, my ruby interpreter is java
Bleah has joined #ruby
wallerdev has quit [Quit: wallerdev]
<Fire-Dragon-DoL> Uhm, guys I would like to call an instance method and all "overrides" that the instance method has from included modules, like class A#welcome module MB#welcome, module MA#welcome, how to do it? Better explained here on gist: https://gist.github.com/Fire-Dragon-DoL/5721865
<wald0> tobiasvl: im just debating a bit with bnagy (which I agree with him in some aspects) which says that C is not worth to write any application with :)
<Fire-Dragon-DoL> wald0: and I agree with you :P
Coolhand has joined #ruby
<wald0> Fire-Dragon-DoL: which thing ?
<bnagy> wald0: ruby has a great FFI
tw1sted has quit [Quit: tw1sted]
<Fire-Dragon-DoL> wald0: I wrote a somewhat "big" project (university) in C and was a hell, expecially because they didn't teach us how to correctly organize and handle C code
phracker has joined #ruby
<Fire-Dragon-DoL> wald0: C is not worth to write any application with
<bnagy> and mostly it will GC for you, there are a few exceptions around managed pointers
DaniG2k has joined #ruby
tomzx_mac has quit [Ping timeout: 248 seconds]
<wald0> Fire-Dragon-DoL: i dont think so, the efl-ffi bindings are made by the enlightenment (efl) project and they has a good amount of very nice applications, enlightenment (the desktop) itself is amazing
tw1sted has joined #ruby
<wald0> and it is also used as the entire framework by Samsung for their next phones
phracker has quit [Max SendQ exceeded]
<bnagy> and I am in awe of Samsung security, soooo....
phracker has joined #ruby
phracker has quit [Max SendQ exceeded]
garbados has left #ruby ["returns to the brocean"]
tagrudev has left #ruby ["lolst"]
<Fire-Dragon-DoL> wald0: the application can be amazing, but when I think about a language, I think about writing the application with it. Plain C doesn't have function overloading, you know how much you'll miss it?
<Fire-Dragon-DoL> I can do it with C++, or "clean C" (c with c++ features) but plain C is too much
supergiantrobot has joined #ruby
zigomir has quit [Quit: zigomir]
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
ananthakumaran has joined #ruby
<Mon_Ouie> Fire-Dragon-DoL: (regarding your question) you need to call super in MB too, to call the welcome method from MA too
<Fire-Dragon-DoL> Mon_Ouie: oh, thanks
<Fire-Dragon-DoL> that's helpful
<Mon_Ouie> The order actually matters (the last included module is the first in the ancestry chain). To avoid that you could use "super if defined? super"
<Fire-Dragon-DoL> that's nice
<Fire-Dragon-DoL> thanks a lot
pcarrie__ has quit [Quit: Textual IRC Client: www.textualapp.com]
<Fire-Dragon-DoL> now I have to discover which method
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
<Fire-Dragon-DoL> is "overriding" my module method
b0oh has left #ruby [#ruby]
dhruvasagar has joined #ruby
rhys has quit [Quit: Leaving]
sailias has joined #ruby
Uranio has joined #ruby
<Fire-Dragon-DoL> (MB is not under my control so I have to find out what wrote it)
_JamieD_ has quit [Quit: _JamieD_]
wesside_ has joined #ruby
devoldmx3 has joined #ruby
Coolhand has quit [Remote host closed the connection]
Giorgio has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: nettoweb]
LennyLinux has quit [Remote host closed the connection]
axl_ has quit [Ping timeout: 240 seconds]
Coolhand has joined #ruby
axl_ has joined #ruby
therealnoop has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 248 seconds]
_maes_ has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
ezkl has quit [Ping timeout: 240 seconds]
rhys has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
slainer6_ has quit [Ping timeout: 245 seconds]
KarlHung1s is now known as KarlHungus
KarlHungus has quit [Changing host]
KarlHungus has joined #ruby
monkegji_ has joined #ruby
diegoviola has joined #ruby
Heskie has quit []
peta_ has quit [Quit: peta_]
pothibo has joined #ruby
<wald0> Fire-Dragon-DoL: im just reading "what is a function overloading", in my experience, it is not this a bad practice? i mean, more bug-prone, more headache when trying to solve the bugs (dont let the function to be smart or change things, function should server only one purpose)
nomenkun_ has joined #ruby
nerdman has quit [Quit: leaving]
pcarrier_ has joined #ruby
<joshu> hey guys
<joshu> what's up apeiros and matti ;)
acrussell has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
pcarrier_ has quit [Client Quit]
cofin has joined #ruby
<wald0> on which language is written ruby ?
<hoelzro> wald0: C
peta_ has joined #ruby
<apeiros> java
<apeiros> ruby
<apeiros> javascript
<apeiros> what other implementations do we have? is ironruby in C#?
peta_ has quit [Client Quit]
<apeiros> joshu: not much
peta_ has joined #ruby
<apeiros> joshu: your solution running?
<r0bgleeson> python
crazymykl has quit [Ping timeout: 248 seconds]
Coolhand has quit [Ping timeout: 276 seconds]
anderson has joined #ruby
Astralum has joined #ruby
<bnagy> apeiros: ironruby died
<apeiros> oh?
<joshu> apeiros yeah it's running and works fine, but it's not yet a gem and there a many things I don't quite understand in terms of refactoring it properly into a gem. Unit testing work but not as I would like. Many small things that are bugging me, but for the time being I have no choice but to leave the refactoring for when I have time. I'm starting my second ruby project now which I have to complete within 2 weeks and it's way more complex than
<joshu> FFM ;)
<apeiros> I knew that m$ ditched it, but didn't know that it died completely
crazymykl has joined #ruby
slash_nick has joined #ruby
slash_nick has joined #ruby
acrussell has left #ruby [#ruby]
mikewintermute has quit [Quit: mikewintermute]
Lubinski has quit [Read error: Connection reset by peer]
<interactionjaxsn> bnagy: that's too bad
<interactionjaxsn> i like my ironruby like i like my hookers; dead.
<bnagy> apeiros: well I don't know what makes software die competely
<havenwood> apeiros: Maglev and Topaz
<havenwood> So Smalltalk and RPython.
<wald0> why there's not much applications made in ruby ? (but websites instead)
<bnagy> but it's not AFAIK looked at anymore or used by anyone
<havenwood> Oh, Python already mentioned.
akells` has quit [Read error: Connection reset by peer]
mocfive has quit [Read error: No buffer space available]
palyer has joined #ruby
palyboy has quit [Read error: No buffer space available]
motto has joined #ruby
monkegji_ has quit [Ping timeout: 240 seconds]
m8 has quit [Read error: No buffer space available]
Davey has joined #ruby
b0oh has joined #ruby
pinage404 has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
akells` has joined #ruby
<wald0> bnagy: i just wonder, why you use a ruby interpreter in java? (instead of another one like C)
<havenwood> Maglev is a neat implementation. Gemstone ftw.
<bnagy> wald0: I gain a really good GC, total cross platform, and a bunch of really good profilers et
sethetter has joined #ruby
<Fire-Dragon-DoL> wald0: nope, function overloading is really important
<bnagy> wald0: plus it's actually faster than MRI for most stuff
<sethetter> I'm bundling my projects deps with bundle package, but the system I'm deploying to doesn't have rubygems. How can I get around this and still make sure dependencies are present?
<wald0> bnagy: what is GC btw ? i have you read it a few times but i dont know what means
sayan has quit [Read error: Connection reset by peer]
BSaboia has quit [Ping timeout: 248 seconds]
<bnagy> garbage collector
<r0bgleeson> wald0: GOOD COP
<Fire-Dragon-DoL> wald0: think about this: strreplace(string s, char c) strreplace(string s, string s)
wallerdev has joined #ruby
<wald0> Fire-Dragon-DoL: why ? (instead of name different fucntions for different purposes)
<Fire-Dragon-DoL> wald0: two different functions, with a heavy difference, probably in implementation
<bnagy> wald0: which bears thinking about, btw, re writing stuff in C
huoxito has joined #ruby
<wald0> r0bgleeson: such thing doesn't exist
<bnagy> the ruby interpreter on top of the JVM is faster than the one in C
michele3 has left #ruby ["WeeChat 0.4.0"]
<Fire-Dragon-DoL> wald0: well, changing a character in c is just "loop over an array and change every instance of x with c"
<bnagy> because hey, turns out a really good VM is hard
<Fire-Dragon-DoL> wald0: replacing with a string, instead, involves a lot of mallocs here and there
fbernier_ is now known as fbernier
<havenwood> Just a single benchmark, but lots of Rubies (including IronRuby, Topaz, Maglev): https://gist.github.com/havenwood/4724778
freeayu__ has quit [Remote host closed the connection]
<wald0> bnagy: really ? my experience with java apps is that is painfully slow
tw1sted has quit [Quit: tw1sted]
kofno has quit [Ping timeout: 240 seconds]
<havenwood> Could do more benches now that Topaz implementation is much further along. Back then it didn't have much.
<apeiros> wald0: that's because those *apps* are painfully slow, not java
mstuefer has joined #ruby
<havenwood> Topaz is moving forward fast it seems! Look forward to it joining the Ruby/JRuby/RBX pack.
<apeiros> inferring on the language from apps built with it is a fallacy
<Fire-Dragon-DoL> wald0: java is slow at loading because uses a lot of memory
<Fire-Dragon-DoL> wald0: and Java ui libraries are mostly terrible. I'm still looking for a good UI library
sethetter has quit [Quit: Lost terminal]
<bnagy> havenwood: that is.. surprising
<Fire-Dragon-DoL> wald0: but with: https://github.com/rogerwang/node-webkit the requirement of ui library will drop soon
<wald0> havenwood: the benchmark of "ruby" (name) is the one in
apod has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
<bnagy> I need to check out topaz tomorrow I guess :)
<wald0> ... is the one in C ? why is the slower one ?
_xvilka has left #ruby [#ruby]
sethetter has joined #ruby
<bnagy> wald0: so Ruby is very dynamic, which means that you can't compile it, per se
<havenwood> wald0: The ones with a JIT perform much better than those without on that benchmark.
allanm__ has quit [Ping timeout: 245 seconds]
peta_ has quit [Quit: peta_]
<bnagy> you turn it into bytecode and then run it on a VM
allanm_ has joined #ruby
spider-mario has joined #ruby
<bnagy> much like your C compiler does to create machine code that runs on a CPU
chson has quit [Remote host closed the connection]
<bnagy> BUT it turns out that the MRI / KRI ( C ) VMs are not as good as the Java one
<bnagy> which is forgivable given that Java had like 10 years head start
mikewintermute has joined #ruby
<havenwood> bnagy: And millions of (wo)man-hours.
<apeiros> and a couple of millions of research dollars spent on it
ereslibre has quit []
<ayonix> can anyone help me with "`encode': U+00E4 from UTF-8 to ASCII-8BIT (Encoding::UndefinedConversionError)"? is there really no conversion from 'ä' in utf-8 to ascii?
devoldmx3 has quit [Read error: Connection reset by peer]
<bnagy> matz ( I understand ) is now freaking on mruby which is a less dynamic version of ruby
ereslibre has joined #ruby
ereslibre has joined #ruby
<wald0> is there any suggested "nice" (big?) application made in ruby (not web app) that i can make a look ?
devoldmx has joined #ruby
<apeiros> ayonix: yes, there is none
<Hanmac1> BUT i prefer the MRI one because of the c-extensions
<bnagy> which will allow them to do compilation, basically
ryan_turner_ is now known as ryan_turner
<ayonix> hm..okay
<canton7> ayonix, asciitable.com - that's your characters set
<apeiros> though ascii is 7bit
<canton7> *character
<havenwood> One more commit and the JVM becomes SkyNet and kills us all. That said, JRuby is pretty awesome. Love that it can use Closure STM etc.
<bnagy> so they will get 'close enough' speed to anything
<bnagy> but less tweaky meta awesome
<bnagy> this is why the python / lisp guys laugh at us sometimes
<bnagy> until you need some metavoodoo
<ayonix> canton7: i see, i thought the extended were included in the 8bit ascii..
allanm__ has joined #ruby
<apeiros> ayonix: ascii does not define any characters beyond 7 bit
<bnagy> ascii-8bit is just another name for 'raw'
<apeiros> 8bit ascii mostly means "ascii with bytes in the 8bit range in it"
allanm_ has quit [Ping timeout: 248 seconds]
<apeiros> where the representation of those bytes is not defined
<bnagy> although I am kind of surprised that does not work
kofno has joined #ruby
<apeiros> which is why "ä".force_encoding('binary') # => "\xC3\xA4"
_Amaan has joined #ruby
bean has joined #ruby
<apeiros> ruby has to resort to \xC3\xA4 because binary does not define a character for those two bytes.
Proshot has joined #ruby
cofin has quit [Ping timeout: 240 seconds]
<bnagy> >> "ä".force_encoding('ascii-8bit')
<eval-in> bnagy => "\xC3\xA4" (http://eval.in/32926)
<apeiros> bnagy: because he uses .encode
<quazimodo> is module CLI; class << self; defun butts ... end; the same as module CLI; defun self.butts ... end; ?
<bnagy> oh wait it does work
<apeiros> .encode requires an equivalent character in the target encoding
allanm__ has quit [Read error: Connection reset by peer]
<wald0> bnagy: i have see the other day a "ruby compiler", i dont remember now the name but the description seemed to be very nice
jbinto has joined #ruby
<bnagy> wald0: lies
<apeiros> .force_encode just interprets the same binary data in the new encoding
<apeiros> bnagy: rubymotion compiles
<wald0> bnagy: they said something like "because we want optimized ruby but we dont want to write C"
<havenwood> quazimodo: yup, cept def not defun
<apeiros> macruby can compile too
akemrir has joined #ruby
aganov has quit [Remote host closed the connection]
<Hanmac1> >> "ä".b
<eval-in> Hanmac1 => "\xC3\xA4" (http://eval.in/32927)
<apeiros> but a) it doesn't mean "C like speed for free" and b) it can't do everything
<ayonix> i see, thanks for the clarification
<r0bgleeson> rubymotion is ruby syntax with cocoa APIs :p
Speed has left #ruby ["WeeChat 0.4.1"]
<r0bgleeson> still prefer it over ObjC
andikr has quit [Read error: Connection reset by peer]
<apeiros> ayonix: somebody wrote up a nice little blog entry about the things every developer should know about encodings
aces1up has quit []
dmiller has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
<apeiros> I'd google for "what every developer must know about encoding", I think that should yield that blog entry
<bnagy> "always use utf-8, no srsly" ?
<wald0> so is there not any good "known" app to "run here and see" written in ruby that i can try ?
<r0bgleeson> runrubyrun also wrote a great book that covers encodings in 1.9
<apeiros> bnagy: good default. not always feasible, though :(
<r0bgleeson> sorry, runpaintrun
<bnagy> apeiros: yeah tbh mostly I use ascii-8bit
<bnagy> I have a lot of broken binary gunk in my day to dayy
<apeiros> ew
<apeiros> but well…
<bnagy> meh it's a living
<apeiros> rubys encoding support is still in a sorry state
Al____ has quit [Quit: Al____]
<apeiros> i.e. you don't gain much from using the proper encoding
<apeiros> no collation, no natural sorting, no transliteration, no…
mafolz has quit [Ping timeout: 256 seconds]
lukaszk has joined #ruby
aalmenar has quit [Write error: Connection reset by peer]
ereslibre has quit [Write error: Connection reset by peer]
ereslibre has joined #ruby
ereslibre has joined #ruby
mocfive has quit [Remote host closed the connection]
kernelpanik has quit [Quit: Leaving]
Guest85414__ has joined #ruby
jlast has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 248 seconds]
lukaszk has left #ruby [#ruby]
johnnyfuchs has joined #ruby
Inoperable_AWY is now known as inoperable
allaire has joined #ruby
rippa has joined #ruby
<wald0> ppl told me that the focus interest of ruby is in web development, but i still not understand why nobody write apps in ruby if is "so good" as it seems
jbinto has quit [Ping timeout: 259 seconds]
<bnagy> I do
<sethetter> wald0: There's a ruby rogues podcast episode you should listen to about that: http://rubyrogues.com/094-rr-robust-ruby-with-ara-t-howard/
<bean> wald0: there are lots of apps written in ruby.
tommyvyo has joined #ruby
<bnagy> although you have to realise that the bulk of 'apps' now are stupid server side web shit apps
<sethetter> wald0: Ara T Howard is an old school ruby legend basically. He wrote the image processing involved in sattelite images with ruby and it's been running unmanned for many years now.
aalmenar has joined #ruby
aalmenar has joined #ruby
jbinto has joined #ruby
jprovazn is now known as jprovazn_afk
Jackneill has joined #ruby
Jackneill has joined #ruby
choobie has quit [Ping timeout: 276 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
garbados has joined #ruby
garbados has left #ruby ["returns to the brocean"]
<joshu> guys I'm trying to get a sinatra app running on my own ubuntu server using puma, foreman and nginx.
<joshu> I have this in my procfile
<sethetter> I have a question: Is it difficult ( or even possible ) to deploy a sinatra app with ruby 1.8.7 on a system without rubygems?
<joshu> web: bundle exec puma -e production -b unix:///var/run/docs.sock
<Hanmac1> sethetter without rubygems you cant load sinatra currectly ;P
<havenwood> wald0: Lockheed wrote hundreds of thousands of lines of Ruby to simulate fighter jet hardware/software (can't look at that code though). If you want to look at a big non-Rails app maybe take a look at Ronin or Metasploit.
generalissimo has quit [Remote host closed the connection]
<bnagy> nononnonono
<bnagy> don't look at metasploit
Lubinski has joined #ruby
<havenwood> bnagy: It is terrible. Hehe. But BIG.
<joshu> when I do havenwood really that's very cool ;)
Sherwyn has quit [Remote host closed the connection]
devoldmx has joined #ruby
<bnagy> Ronin is...
inoperable is now known as Inoperable_AWY
<joshu> don't know what the hell I was thinking havenwood when I put together that sentence ;)
<bnagy> postmodern: ping
<sethetter> Hanmac1: Dang.
<bnagy> ha not on
<joshu> what I meant was "wow that's really cool"
<havenwood> bnagy: Haha
<bnagy> nah Ronin is nice
Inoperable_AWY is now known as inoperable
Elico1 has quit [Quit: Elico1]
Elico has joined #ruby
saarinen has joined #ruby
Macaveli has joined #ruby
kevinykc_ has quit [Quit: Computer has gone to sleep.]
pduin has quit [Remote host closed the connection]
cmarques has quit [Ping timeout: 276 seconds]
cofin has joined #ruby
b0oh has quit [Quit: Leaving.]
inoperable is now known as Inoperable_AWY
sayan has joined #ruby
angusiguess has joined #ruby
<havenwood> wald0: I recall Matz said he was shocked when told that supercomputers were running Ruby.
grzywacz has quit [Quit: :wq]
mansi has joined #ruby
<havenwood> Now to run the toasters... mruby.
g3orge has joined #ruby
<pipework> Supertoasters should run ruby.
lkba has joined #ruby
sayan has quit [Read error: Connection reset by peer]
<havenwood> pipework: Here's a fizzbuzz in mruby compiled to be a 400k self-executable. (Clearly I'm fulfilling mruby's purpose...)
choobie has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
<havenwood> Fun to have Ruby code that runs without a Ruby interpreter though. :P
wolcanus has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
zigomir__ has joined #ruby
takezawa has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
threesome has quit [Ping timeout: 260 seconds]
kevinykchan has joined #ruby
<Hanmac1> havenwood: you could run ruby in your efi-shell with mruby
nalaginrut has quit [Ping timeout: 260 seconds]
<havenwood> Hanmac1: That is pretty nuts, but cool! \o/
enebo has joined #ruby
benweint has quit [Quit: Computer has gone to sleep.]
wsterling has joined #ruby
mikepack has quit [Remote host closed the connection]
JumpMast3r has quit [Quit: JumpMast3r]
graft_ has quit [Read error: Operation timed out]
kil0byte_ has joined #ruby
nettoweb has joined #ruby
<nettoweb> https://gist.github.com/osnysantos/077b87622361514703ee is there a way to check if I have a 'contact.type == 'site' inside my EACH?
byprdct has joined #ruby
<apeiros> ary.any? { |item| item.foo == 'site' }
* apeiros off, train
apeiros has quit [Remote host closed the connection]
<havenwood> nettoweb: Checking for #any? or #all? or something else?
ExxKA has joined #ruby
kil0byte has quit [Ping timeout: 240 seconds]
<nettoweb> actually I'm doing this which gives me a erro (deplicated redirect)
<nettoweb> unless @pessoa_juridica.contact_infos.nil? || @pessoa_juridica.contact_infos.empty?
<nettoweb> @pessoa_juridica.contact_infos.each do |contact|
<nettoweb> if contact.type == 'site'
<nettoweb> redirect_to(contact.value)
<nettoweb> else
<nettoweb> redirect_to(@pessoa_juridica.url)
<nettoweb> end
<nettoweb> end
<nettoweb> end
<havenwood> nettoweb: Gist eet.
<Sou|cutter> come on, man, gist
<nettoweb> sorry
<Lemtzas> wth?
saarinen has quit [Quit: saarinen]
<pipework> havenwood: That's awesome.
kofno_ has joined #ruby
ppppaul has joined #ruby
fermion has quit [Ping timeout: 248 seconds]
<havenwood> nettoweb: What is the problem?
<nettoweb> so, sometimes it redirect two times… I need to check if theres a contact.type == 'site' otherwise, I redirect
arusso_znc has quit [Quit: Adios Amigos!]
mikepack has joined #ruby
generali_ has joined #ruby
Appineer has joined #ruby
johnnyfuchs1 has joined #ruby
l3thal- has joined #ruby
<Sou|cutter> nettoweb: you don't want an each
arusso has joined #ruby
d2dchat has joined #ruby
<nettoweb> but in my databae I have
mikepack has quit [Remote host closed the connection]
<nettoweb> ---
<nettoweb> - !ruby/object:CIMM::ContactInfo
<nettoweb> type: mobile
<nettoweb> value: '0000'
<pipework> havenwood: That's awesome. I want to play with mruby now. Is it hard to get started with?
<havenwood> pipework: Nope, not too bad. Mostly just wrapping your head around its way of doing things.
<pipework> havenwood: What about your compilation process?
BadDesign has joined #ruby
kofno has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby
<pipework> That's so cool!
<havenwood> pipework: First you setup your mruby with the parts of the stdlib you want, using mgem. Then you can compile your Ruby to an Array of C byte-code, etc.
johnnyfuchs has quit [Ping timeout: 240 seconds]
MrZYX|off is now known as MrZYX
<pipework> havenwood: Is there any good reading on this? I love man pages and even source code comments.
<havenwood> pipework: I wrote a Ruby script to automate the process of wrapping the produced C byte-code in a little C to immediately initialize and then compile.
dmiller has quit [Remote host closed the connection]
<Sou|cutter> nettoweb: foo = @pessoa_juridica.contact_infos.detect { |contact| contact.type == 'site' } ; return redirect_to(foo.value) if foo ; redirect_to @pessoa_juridica.url
<havenwood> pipework: I need to make that script more robust (useable) and release it.
g3orge has quit [Quit: leaving]
mikecmpb_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<pipework> havenwood: I'm looking into using the gpu with rubbeh
<Sou|cutter> nettoweb: something along those lines I guess
<havenwood> pipework: I'm not sure what the status is of the mruby to readable-C. The C byte-code array was working better last time I tried.
<pipework> I don't mind if it's not readable.
<havenwood> pipework: cool :)
<bubu> hey guys, new to ruby. Any ideas why using my library: https://gist.github.com/3489976d334fc30a4e62 I cant m = Flume::Metrics.new("http://localhost:8080/metrics") ? undefined method 'host' for NilClass
<pipework> havenwood: How much do you think I might need to read the output?
mklappstuhl has quit [Remote host closed the connection]
<havenwood> pipework: Mgem writeup: http://blog.mruby.sh/201301040627.html
juarlex_ has quit [Remote host closed the connection]
<pipework> havenwood: <333 that's six whole scoops!
atyz has joined #ruby
northelks has quit [Read error: Connection reset by peer]
mstuefer has quit [Quit: leaving]
Al__ has joined #ruby
Heskie has joined #ruby
<quazimodo> havenwood: I've been lisping a bit lately lol XD
timkohrumel has joined #ruby
<quazimodo> havenwood: that was basically my version of syntax typo :P
<havenwood> pipework: This is a bit dated, but I found it helpful: http://blog.mruby.sh/201207020720.html
Coolhand has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
Pinky- is now known as cads
burlyscudd has quit [Quit: Leaving.]
tjbiddle has joined #ruby
<havenwood> bubu: @uri isn't set to anything, so it is `nil` and when you call `nil.host` it blows up.
<nettoweb> Sou|cutter: contact.type can be many things (phone,mobile,site,skype), but I want to get only the one with type = 'site'. your code works for thi case?
<havenwood> bubu: You might want to use a wrapper around NetHTTP like HTTParty, RestClient, or Faraday. (Unless you're using NetHTTP just to learn.)
pothibo has quit [Quit: pothibo]
juarlex has joined #ruby
Nsaneice has joined #ruby
solidoodlesuppor is now known as baordog
Giorgio has joined #ruby
<havenwood> pipework: No manual entry for mruby. Hmm, maybe its manpage writing time!
<bubu> pretty much havenwood, going to use faraday but doesnt matter for now
palyer has quit []
Nsaneice has left #ruby [#ruby]
palyboy has joined #ruby
<pipework> havenwood: Should there be a documentation effort mounted?
<havenwood> bubu: Set your @uri to a URL before you call it.
<havenwood> pipework: I think so!
<pipework> havenwood: Let's have at it, sir.
l3thal- has quit [Changing host]
l3thal- has joined #ruby
<pipework> I'll give the code a perusal before I can say if I'll be helpful. I only know so much C.
Macaveli has quit [Quit: This computer has gone to sleep]
momomomomo has joined #ruby
Coolhand has quit [Remote host closed the connection]
<bubu> havenwood: I want to be able to initialize an object using it like Flume::Metrics.new("http://bla")
<bubu> and pass that in
nettoweb has quit [Quit: nettoweb]
itman_ is now known as itman
dhruvasagar has quit [Ping timeout: 260 seconds]
nalaginrut has joined #ruby
geggam has joined #ruby
<havenwood> bubu: Set `@uri = uri` in #initialize, line 24.
b0oh has joined #ruby
Uranio has quit [Ping timeout: 248 seconds]
<havenwood> bubu: You just need to make sure you are getting your @uri set, or pass the method an argument with it.
Eaven has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 245 seconds]
<bubu> ok
Eaven has joined #ruby
jbueza has joined #ruby
pyrac has quit [Ping timeout: 248 seconds]
nettoweb has joined #ruby
<havenwood> pipework: I wrote chruby and ruby-install manpages in Markdown and used md2man to convert: https://github.com/sunaku/md2man#readme
djbkd has joined #ruby
carloslopes has quit [Remote host closed the connection]
<havenwood> md2man seems better than ronn at this point, but I can't ever remember its name.
<pipework> havenwood: I'm down with that. :D
uxp has quit [Ping timeout: 245 seconds]
<havenwood> pipework: Actually, Ruby manpages could use some love...
<pipework> New stuff is more fun, imo.
<havenwood> pipework: True, true. But yikes, `man gem` is bad...
<pipework> havenwood: Should I fork and write for the docs/ directory and pull request compiled manpages inside there?
alem0lars has quit [Quit: Leaving]
<pipework> Yeah, so much undocumented.
BSaboia has joined #ruby
mityaz has joined #ruby
<havenwood> pipework: Yeah, i'd assume: doc/man/mruby.1.md
jarin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
wolcanus has joined #ruby
ngoldman has joined #ruby
<havenwood> Ruby's manpage is cheeky: "If you want a language for easy object-oriented programming, or you don't like the Perl ugliness, or you do like the concept of LISP, but don't like too many parentheses, Ruby might be your language of choice."
b0oh has quit [Ping timeout: 240 seconds]
wmoxam has joined #ruby
BadDesign has quit [Quit: The Pale Blue Dot: A Cosmic Perspective https://www.youtube.com/watch?v=2cWjlzn7SZo]
akemrir has quit [Quit: WeeChat 0.4.1]
burlyscudd has joined #ruby
bigoldrock has joined #ruby
benweint has joined #ruby
robscomputer has joined #ruby
kil0byte_ has quit [Remote host closed the connection]
terrellt has joined #ruby
ybart has quit [Quit: ybart]
saarinen has quit [Quit: saarinen]
apeiros has joined #ruby
krawchyk has quit [Remote host closed the connection]
arya_ has joined #ruby
timkohrumel has quit [Read error: No route to host]
_solomon has joined #ruby
kaiks has quit [Ping timeout: 260 seconds]
timkohrumel has joined #ruby
m8 has joined #ruby
madb055 has joined #ruby
arya has quit [Ping timeout: 248 seconds]
motto has quit [Read error: Connection reset by peer]
daniel_- has joined #ruby
_Renegade has quit [Quit: _Renegade]
skattyadz has joined #ruby
gildo has quit [Ping timeout: 246 seconds]
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wolcanus has quit [Ping timeout: 264 seconds]
ckrailo has joined #ruby
Soeki has joined #ruby
Inoperable_AWY is now known as inoperable
ivanoats has joined #ruby
avril14th has joined #ruby
motto has joined #ruby
Astralum has joined #ruby
filipe_ has quit [Remote host closed the connection]
therealnoop has joined #ruby
m8 has quit [Read error: Connection reset by peer]
sie has joined #ruby
sie has quit [Changing host]
sie has joined #ruby
jlast has joined #ruby
Coolhand has joined #ruby
jbueza has quit [Read error: Connection reset by peer]
b0oh has joined #ruby
jbueza has joined #ruby
<avril14th> Hello, I'm trying to have a module that allow a class' instance methods to be called with a keyword like c = Class.new c.keyword.some_method
tmorgan has joined #ruby
<avril14th> any reference doc showing me how I could do that?
sie has quit [Read error: No buffer space available]
senayar has quit [Remote host closed the connection]
<apeiros> c.class.some_method
mansi has quit [Read error: Connection reset by peer]
alex__c2022 has joined #ruby
nari_ has quit [Ping timeout: 245 seconds]
<apeiros> wait… what?
bradhe has joined #ruby
mansi has joined #ruby
sie has joined #ruby
sie has quit [Changing host]
sie has joined #ruby
jeffreylevesque_ has joined #ruby
<apeiros> avril14th: sorry, after reading your question again, I can't make any sense of it anymore
<avril14th> ok :) one sec
Coolhand has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 276 seconds]
<avril14th> apeiros: https://github.com/mperham/sidekiq/wiki/Delayed-Extensions I'm trying to do just like it for Class.delay.method :)
<apeiros> avril14th: well, you return a proxy object
<apeiros> and use Object#__send__ to invoke the method on the original object
jdunck has joined #ruby
<avril14th> any link to show me how one does that proxy object trick? I'm not familiar with the pattern
jeffreylevesque has quit [Ping timeout: 240 seconds]
<apeiros> um, it's nothing special. you just store the original object
<avril14th> how do I catch the call
<avril14th> I mean, how do I define the "delay"
kofno_ has quit [Remote host closed the connection]
<apeiros> either you implement the methods you want to "catch", or you use method_missing
Astralum has quit [Read error: Connection reset by peer]
arya has joined #ruby
Astralum has joined #ruby
v0n has quit [Ping timeout: 241 seconds]
<avril14th> so i just need to do def self.delay ... end ?!
dhruvasagar has joined #ruby
<avril14th> and inside i just self.send(arg) ?!
<apeiros> use __send__, not send
ninjabot has quit [Remote host closed the connection]
<avril14th> that looks good
ismell has joined #ruby
Coolhand has joined #ruby
viszu has joined #ruby
<ismell> hrmmm, I have a bundler package --all question: https://gist.github.com/ismell/985d853064afa37160f8
<avril14th> I just need to understand more what __send__ is doing compared to send
<ismell> when trying to do bundle install --local it compains about the path
<avril14th> this i don't know :)
gildo has joined #ruby
<ismell> because the Gemfile.lock got created with the vendor paths
bionhart has joined #ruby
cmarques has joined #ruby
gyre007 has quit [Read error: Connection reset by peer]
retry has joined #ruby
tommyvyo has quit [Quit:]
leonidlm has quit [Ping timeout: 256 seconds]
gyre007 has joined #ruby
dmiller has joined #ruby
Naeblis_ is now known as Naeblis
Naeblis has quit [Changing host]
Naeblis has joined #ruby
Naeblis has joined #ruby
dash__ has quit [Quit: Time to beer :)]
Guest1295 has joined #ruby
jbinto has quit [Remote host closed the connection]
<avril14th> apeiros: I'll look into this. thanks for pointing me
Senjai has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
JohnBat26 has quit [Ping timeout: 240 seconds]
kx has joined #ruby
carloslopes has joined #ruby
crazymykl has quit [Ping timeout: 248 seconds]
nettoweb has quit [Quit: nettoweb]
froy has joined #ruby
jmsbrwr has joined #ruby
suporte85 has quit [Read error: Connection reset by peer]
jbinto- has joined #ruby
_Renegade has joined #ruby
<Guest1295> hi
b0oh has quit [Quit: Leaving.]
angusiguess has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
Guest1295 has quit [Quit: Leaving]
sailias has joined #ruby
Xeago has quit [Remote host closed the connection]
Sc0rp10n has joined #ruby
_Renegade_ has joined #ruby
vigintas has quit [Ping timeout: 260 seconds]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
DaniG2k has quit [Quit: Leaving.]
jbinto- has quit [Read error: Connection reset by peer]
_Renegade has quit [Ping timeout: 260 seconds]
_Renegade_ is now known as _Renegade
carloslopes has quit [Ping timeout: 260 seconds]
braoru has quit [Remote host closed the connection]
pinage404 has joined #ruby
brianpWins has joined #ruby
jbinto has joined #ruby
carloslopes has joined #ruby
noname001 has quit [Ping timeout: 264 seconds]
kofno has joined #ruby
ismell has left #ruby [#ruby]
deception has joined #ruby
chrisja has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
nomenkun_ has quit [Remote host closed the connection]
anonymuse has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
johnrlive has quit [Remote host closed the connection]
<apeiros> avril14th: it does the same
<apeiros> avril14th: but not all classes leave send as Object#__send__
nomenkun has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
dagobah has quit [Remote host closed the connection]
evenix_ has quit [Ping timeout: 260 seconds]
jbinto has quit [Ping timeout: 248 seconds]
<apeiros> f.ex. Socket redefines send to something different. so if you don't know the receiver, you should use __send__, not send.
ghr has quit [Quit: Computer has gone to sleep.]
Evixion has quit []
io_syl has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
johnrlive has joined #ruby
Coolhand has quit [Remote host closed the connection]
Macaveli has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
<avril14th> apeiros: ok, will remember that
io_syl has quit [Client Quit]
johnrlive has quit [Remote host closed the connection]
io_syl has joined #ruby
Evixion has joined #ruby
evenix has joined #ruby
Macaveli has joined #ruby
Coolhand has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Coolhand has quit [Read error: Connection reset by peer]
slainer68 has quit [Remote host closed the connection]
Macaveli has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
juarlex has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Ping timeout: 246 seconds]
kristiandelay has quit [Remote host closed the connection]
thebastl has quit [Remote host closed the connection]
interactionjaxsn has quit [Read error: No buffer space available]
juarlex has joined #ruby
CalebMingle has joined #ruby
kristiandelay has joined #ruby
interactionjaxsn has joined #ruby
k610 has joined #ruby
apeiros has quit [Remote host closed the connection]
sie has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has quit [Read error: Connection reset by peer]
braincrash has quit [Quit: bye bye]
twoism has joined #ruby
Fire-Dragon-DoL has joined #ruby
vigintas has joined #ruby
baroquebobcat has joined #ruby
slainer68 has joined #ruby
braincrash has joined #ruby
slainer68 has quit [Remote host closed the connection]
kristiandelay has quit [Ping timeout: 264 seconds]
johnrlive has joined #ruby
Squarepy has joined #ruby
shemerey has joined #ruby
johnrlive has quit [Read error: Operation timed out]
kx has quit [Ping timeout: 248 seconds]
atal421 has joined #ruby
atal421 has quit [Client Quit]
dmiller has quit [Remote host closed the connection]
Lubinski has quit [Ping timeout: 240 seconds]
alexwh has left #ruby [#ruby]
threesome has joined #ruby
ddfreyne has quit [Excess Flood]
fgro_ has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby
ddfreyne has joined #ruby
workmad3 has joined #ruby
Voodoofish430 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
jacktrick has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
iaj has quit [Read error: Operation timed out]
kapowaz has quit [Read error: Operation timed out]
alexwh has joined #ruby
dangerousdave has quit [Quit: Leaving...]
ariedler has quit [Remote host closed the connection]
icole has joined #ruby
shemerey has quit [Quit: Linkinus - http://linkinus.com]
moeSeth has quit [Ping timeout: 240 seconds]
jlast has quit [Remote host closed the connection]
wuest_ has quit [Quit: :q]
kaichanvong has quit [Ping timeout: 248 seconds]
rwz_ has quit [Ping timeout: 248 seconds]
davidboy_ has quit [Ping timeout: 245 seconds]
guilleiguaran_ has quit [Ping timeout: 245 seconds]
yeban has quit [Ping timeout: 276 seconds]
DestinyAwaits has quit [Quit: Leaving]
wuest has joined #ruby
karnowski has quit [Ping timeout: 256 seconds]
patricksroberts_ has quit [Ping timeout: 260 seconds]
ziyadb has quit [Ping timeout: 264 seconds]
LennyLinux has joined #ruby
NimeshNeema has quit [Ping timeout: 264 seconds]
niftylettuce has quit [Ping timeout: 264 seconds]
nyuszika7h has quit [Excess Flood]
Naeblis has quit [Ping timeout: 245 seconds]
henn1nk has quit [Ping timeout: 245 seconds]
threesome has quit [Max SendQ exceeded]
Guest85414__ has quit [Ping timeout: 240 seconds]
allaire has quit [Quit: allaire]
dnyy_ has quit [Ping timeout: 248 seconds]
crazymykl has joined #ruby
enebo has quit [Quit: enebo]
monkegjinni has joined #ruby
phasma has quit [Ping timeout: 252 seconds]
keyvan has quit [Ping timeout: 252 seconds]
wedgeV has joined #ruby
wedgeV_ has quit [Read error: Connection reset by peer]
threesome has joined #ruby
nyuszika7h has joined #ruby
wookiehangover has quit [Ping timeout: 241 seconds]
randym_ has quit [Ping timeout: 241 seconds]
taqutor has quit [Ping timeout: 241 seconds]
xargoon has quit [Ping timeout: 241 seconds]
m4dnificent has joined #ruby
chuk has quit [Ping timeout: 252 seconds]
caveat- has quit [Ping timeout: 245 seconds]
xargoon has joined #ruby
l3thal- has quit [Ping timeout: 252 seconds]
wookiehangover has joined #ruby
error404_ has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby
madnificent has quit [Ping timeout: 252 seconds]
parus has quit [Ping timeout: 252 seconds]
kalleth_ has quit [Quit: No Ping reply in 180 seconds.]
swistak35 has quit [Ping timeout: 240 seconds]
nemesit|- has quit [Excess Flood]
bothra has quit [Ping timeout: 261 seconds]
iaj has joined #ruby
kyle___ has quit [Ping timeout: 261 seconds]
kyle____ has joined #ruby
kalleth has joined #ruby
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
chuk has joined #ruby
kapowaz has joined #ruby
nemesit|znc has joined #ruby
bothra has joined #ruby
weeb1e has joined #ruby
caveat- has joined #ruby
phasma has joined #ruby
<joshu> I'm setting up a new ruby project. Some files in the project are not needed for the ruby app itself but for configuring an external service. Just curious but would these go in a config directory or where are these types of files usually placed in a ruby project?
dhruvasagar has quit [Ping timeout: 272 seconds]
swex_ has quit [Ping timeout: 272 seconds]
yeban has joined #ruby
swex has joined #ruby
sie has joined #ruby
sie has quit [Changing host]
sie has joined #ruby
randym_ has joined #ruby
whitedawg has joined #ruby
verto has joined #ruby
henn1nk has joined #ruby
sweet_kid has quit [Ping timeout: 246 seconds]
gyre007 has quit [Ping timeout: 248 seconds]
<havenwood> joshu: Prolly under lib/ in a subfolder named for the external service.
Mon_Ouie has joined #ruby
chiel has quit [Ping timeout: 256 seconds]
<jacktrick> Rails convention would have them in a vendor/ folder in the application's root directory.
chiel has joined #ruby
keyvan has joined #ruby
<jacktrick> Or lib
<jacktrick> ^^
wedgeV_ has joined #ruby
wedgeV has quit [Read error: Connection reset by peer]
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby
<joshu> ok so lib/externalservice/files*
guilleiguaran__ has joined #ruby
<joshu> thank havenwood jacktrick
ccooke has quit [Quit: jabber]
ohcibi has quit [Read error: Connection reset by peer]
ziyadb has joined #ruby
gyre007 has joined #ruby
Senjai has quit [Ping timeout: 248 seconds]
<jacktrick> np
nyuszika7h has quit [Remote host closed the connection]
<wald0> it is much better to learn ruby 2.0 than 1.9.3 ?
* wald0 checking for books of ruby
<havenwood> wald0: Think of Ruby 1.9.3 as a release candidate for 2.0.0.
<apeiros> it makes little sense to start with 1.9 if you're learning ruby now
<apeiros> go with 2.0 directly
<havenwood> +1
<apeiros> if you really ever need to write 1.9 compatible code, it won't be that difficult
<terrellt> There's not much difference between the two.
swistak35 has joined #ruby
<wald0> aparently there's only one (paying) book about ruby 2.0 (the axe one)
<jacktrick> It's unlikely you'll need to at all unless tou
<jacktrick> you're forking someone else's project
geggam has quit [Ping timeout: 248 seconds]
parus has joined #ruby
Naeblis has joined #ruby
ccooke has joined #ruby
geggam has joined #ruby
prime has quit [Quit: ZNC - http://znc.in]
prime has joined #ruby
dnyy_ has joined #ruby
<Naeblis> jacktrick: ohai
kil0byte has joined #ruby
error404 has joined #ruby
itman has left #ruby [#ruby]
<jacktrick> sup Nae? :)
<Naeblis> jacktrick: will get started on this book soon: computationbook.com :D
nyuszika7h has joined #ruby
Lubinski has joined #ruby
<jacktrick> Hmm. Automaton and stuff? DFA, RE, Chomsky's hirarchy of languages etc?
banister`shop has joined #ruby
<jacktrick> Complexity. :D
sailias1 has joined #ruby
<jacktrick> That was the only theory class I enjoyed.
sailias has quit [Quit: Leaving.]
<Naeblis> yeah
skattyadz has quit [Quit: skattyadz]
<pipework> havenwood: Sire? Does mruby have good multithreading? https://github.com/mattn/mruby-thread Is this at all relevant?
<Naeblis> sadly, my CS department saw fit to not give us the option of taking that class.
brtdv has joined #ruby
allaire has joined #ruby
brtdv has quit [Client Quit]
c0rn has joined #ruby
sweet_kid has joined #ruby
jalcine has joined #ruby
skattyadz has joined #ruby
jacktrick has quit [Quit: Bye!]
dash__ has joined #ruby
pinage404 has quit [Ping timeout: 246 seconds]
tomku has quit [Quit: WeeChat 0.4.0]
fmcgeough has joined #ruby
error404 has quit [Ping timeout: 276 seconds]
error404 has joined #ruby
gyre007 has quit [Ping timeout: 240 seconds]
Hanmac1 has quit [Ping timeout: 246 seconds]
vigintas has quit [Quit: Leaving]
cj3kim has joined #ruby
retry has quit [Quit: Leaving...]
mercwithamouth has quit [Ping timeout: 245 seconds]
tcrayford has left #ruby ["Linkinus - http://linkinus.com"]
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
xardas has joined #ruby
KhalilC has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
kx has joined #ruby
johnrlive has joined #ruby
sailias has joined #ruby
JumpMast3r has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
sailias1 has quit [Quit: Leaving.]
nekschot has joined #ruby
brennanMKE has joined #ruby
pinpin404 has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
nomenkun has quit [Remote host closed the connection]
xardas has quit [Changing host]
xardas has joined #ruby
wolcanus has joined #ruby
dmiller has joined #ruby
dhruvasagar has joined #ruby
ivanoats_ has joined #ruby
<havenwood> pipework: mruby has no thread or process built in, but you can enable via mgem or a fork. IIJ repo has a lot of the Posix stuff: https://github.com/iij/mruby#readme
timonv has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
<havenwood> pipework: E.g., processes: https://github.com/iij/mruby-process
ariedler has joined #ruby
gasbakid__ has quit [Quit: Quitte]
dangerousdave has joined #ruby
<havenwood> pipework: I don't know the plans for how the IIJ work will be merged in. Will be interesting to see.
ivanoats has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
timmow has quit [Ping timeout: 240 seconds]
ivanoats has joined #ruby
malkomalko has joined #ruby
dangerousdave has quit [Client Quit]
<havenwood> pipework: Yeah, the one you linked appears to be the best mruby-thread. It is listed under mgem-list.
Spami has quit [Quit: This computer has gone to sleep]
ivanoats_ has quit [Ping timeout: 248 seconds]
sambao21 has joined #ruby
<momomomomo> So, I'm looking for a replacement to Intellij IDEA - at least, I'll need an IDE that my workplace won't have to shell out $700 for (my personal version is much cheaper). Does anyone realllly prefer ST2 over a bigger ide environment? I've got it, and they've purchased it for me, but I'm also looking at netbeans / aptana. Any opinionated thoughts?
saarinen has quit [Quit: saarinen]
jdunck has quit [Ping timeout: 260 seconds]
<pipework> havenwood: Oh nice. I was hoping it was, it seemed to have a nice api.
dmiller has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
saarinen has joined #ruby
sailias has quit [Read error: Connection reset by peer]
sailias has joined #ruby
Uranio has joined #ruby
jdunck has joined #ruby
dmiller has quit [Read error: No route to host]
dmiller has joined #ruby
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
remkade has joined #ruby
burlyscudd has quit [Ping timeout: 260 seconds]
rdark has quit [Quit: leaving]
sguselnikov has joined #ruby
sguselnikov has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
atmosx has joined #ruby
tommyvyo has joined #ruby
arietis has joined #ruby
ybart has joined #ruby
<fryguy> momomomomo: if you really must have an IDE, check out rubymine. Otherwise, most people in here just use a text editor, whether it's sublime, textmate, vim, emacs, or something else
ravster has joined #ruby
srji has quit [Quit: leaving]
<momomomomo> fryguy: right on, Rubymine is an offshoot of IDEA, but maybe I'll try going back to a text editor for a while :)
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
elliottcable has joined #ruby
Michael__ has quit [Remote host closed the connection]
fcoury__ has quit [Read error: Operation timed out]
TheHodge has quit [Read error: Operation timed out]
Spaceghost|cloud has quit [Read error: Operation timed out]
Bish has quit [Read error: Operation timed out]
cool has quit [Read error: Operation timed out]
sonne has quit [Read error: Operation timed out]
lectrick has quit [Read error: Operation timed out]
ZadYree has quit [Read error: Operation timed out]
tw1sted has joined #ruby
newUser1234 has joined #ruby
setient has quit [Read error: Operation timed out]
setient has joined #ruby
Spaceghost|cloud has joined #ruby
TheHodge has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
sonne has joined #ruby
cool has joined #ruby
lectrick has joined #ruby
Michae___ has joined #ruby
Michae___ has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
harrymoreno has joined #ruby
ZadYree has joined #ruby
cj3kim has joined #ruby
Michae___ has joined #ruby
fcoury__ has joined #ruby
jprovazn_afk has quit [Quit: Odcházím]
Bish has joined #ruby
banjara has joined #ruby
daniel_- has quit [Ping timeout: 240 seconds]
<joshu> anyone know to to get a simple nginx install on ubuntu to reverse proxy to a sinatra app? I keep getting the default nginx welcome page
madb055 has quit [Quit: Konversation terminated!]
Heskie has quit []
jonahR has joined #ruby
tjbiddle_ has joined #ruby
ExxKA has quit [Quit: Leaving]
Guedes has quit [Excess Flood]
DanKnox is now known as DanKnox_away
Guedes has joined #ruby
tjbiddle has quit [Ping timeout: 248 seconds]
tjbiddle_ is now known as tjbiddle
camilasan has quit [Ping timeout: 264 seconds]
kofno has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
jgarvey has quit [Ping timeout: 276 seconds]
axl_ has quit [Quit: axl_]
DonRichie has joined #ruby
postmodern has joined #ruby
slash_nick has quit [Ping timeout: 264 seconds]
jgarvey has joined #ruby
<atmosx> joshu: I did under gentoo and freebsd
kristiandelay has joined #ruby
pencilcheck has quit [Remote host closed the connection]
wargasm has joined #ruby
<atmosx> joshu: with unicorn/thin + nginx
sie has quit [Ping timeout: 264 seconds]
Maoko has joined #ruby
srji has joined #ruby
<joshu> atmosx I don't really know what the hell I'm doing :( I've followed a few different tutorials, but I still get the nginx welcome page instead of my sinatra app
viszu has quit [Quit: Leaving.]
mahmoudimus has joined #ruby
<atmosx> joshu: that's the nginx configuration https://gist.github.com/atmosx/5723465
<atmosx> You need to change the paths, that's custom made
<atmosx> for a server that I have access to run my apps
monkegji_ has joined #ruby
<atmosx> NOTE: in this config, it proxies through unicorn which runs on a socket in /tmp/unicorn.sock
<atmosx> joshu: Tell me your setup
<atmosx> actually post your setup somehwere I'll take a look
<momomomomo> atmosx: I'd let him maybe read the nginx docs on proxy_pass
<atmosx> momomomomo: Why?
akells` has quit [Remote host closed the connection]
ebobby has joined #ruby
krawchyk has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
danslo has joined #ruby
<momomomomo> atmosx: so that when you tell him/her to do something, they know what resources they should look into when they want to make a change/customization
<atmosx> k
kofno has joined #ruby
tommyvyo has quit [Quit:]
Heskie has joined #ruby
chrishough has joined #ruby
machuga is now known as machuga|away
johnrlive has quit [Remote host closed the connection]
razi has quit [Quit: Leaving.]
tonini has joined #ruby
<joshu> atmosx sorry havenwood also sent me his config
x1337807x has joined #ruby
postmodern has quit [Quit: Leaving]
<atmosx> joshu: no worreis
dmiller has quit [Remote host closed the connection]
<joshu> this is what I have. standard ubuntu server install of nginx. Haven't changed /etc/nginx/nginx.conf at all.
rheilol has quit [Quit: leaving]
dhruvasagar has quit [Ping timeout: 248 seconds]
<havenwood> joshu: If you edit /etc/nginx/sites-available/default with settings like atmosx's you should be good.
<joshu> ok let me try
johnrlive has joined #ruby
<atmosx> havenwood: he also needs to configure unicorn to run as a socket, involves also the file config.ru
BizarreCake has quit [Remote host closed the connection]
BadDesign has joined #ruby
<havenwood> atmosx: Good point. I need to look into that. I usually just run it on a port and forward to that.
<atmosx> although generally speaking, unicorn is safe enough
asteve has joined #ruby
<havenwood> atmosx: So the reason it is best practice is security?
<asteve> what's the official postgresql db connection gem for ruby?
zommi has joined #ruby
axl_ has joined #ruby
mocfive has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
m8 has joined #ruby
robscomputer has joined #ruby
<havenwood> asteve: There isn't an official gem. Might look at pg gem: https://bitbucket.org/ged/ruby-pg/wiki/Home
sie has joined #ruby
<atmosx> asteve: I think pg
<joshu> atmosx where should I place your nginx.conf I changed changed the necessary values
<atmosx> joshu: anywhere, I have it in my $HOME/lib/conf in one system and /usr/local/etc/nginx in another other…
saarinen has quit [Quit: saarinen]
<asteve> thanks
arya has quit [Ping timeout: 260 seconds]
<joshu> atmosx ok but how do I start nginx with that config? sudo service nginx start
pen has joined #ruby
<havenwood> joshu: yes, or restart if its started already
zeade has joined #ruby
<atmosx> joshu: no
<atmosx> joshu: manually
<atmosx> joshu: are you root in the system you're working on?
motto has quit [Ping timeout: 248 seconds]
<atmosx> if yes, then work with your distro's/os specific default paths. That will help you
<joshu> no first user as installed by ubuntu
<atmosx> joshu: so you don't have root access right?
<joshu> I can sudo
<atmosx> joshu: …
yekta has joined #ruby
<atmosx> joshu: which means that you're an administrator (root)
<havenwood> atmosx: What's the downside of `service nginx restart`? Just curious, as that is what I'd have done. >.>
<joshu> atmosx ok yeah
<atmosx> havenwood: there's no downside, depends on the unix flavor the init system and so forth.
<havenwood> atmosx: Ah, gotcha.
<atmosx> joshu: then use the default paths, nginx should have some default values in your distro
MistuhKurtz has joined #ruby
<joshu> ok one sec will test now
<atmosx> joshu: use those. Configure unicorn by hand
mikewintermute has quit [Quit: mikewintermute]
<atmosx> although there are some init script for unicorn also I didn't use them, but you could write your own
oops_im_a_sysadm has joined #ruby
Giorgio has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
momomomomo has quit [Quit: momomomomo]
jimeh_ has quit [Ping timeout: 240 seconds]
akells` has joined #ruby
jbinto has joined #ruby
<atmosx> joshu: however, keep in mind as I said that unicorn is safe enough
Uranio has quit [Quit: while you reading this, a kitty dies]
JohnBat26 has joined #ruby
daniel_- has joined #ruby
tw1sted has quit [Quit: tw1sted]
mikewintermute has joined #ruby
<oops_im_a_sysadm> Hi, does anyone know if the Ubuntu 10.04 packages for Ruby Enterprise Edition are expected to work on 12.04?
ij has joined #ruby
ij has joined #ruby
jimeh_ has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
<joshu> atmosx still working on trying to get it working with your config
srji has quit [Ping timeout: 248 seconds]
v0n has joined #ruby
sie has quit [Ping timeout: 260 seconds]
Elhu has joined #ruby
LanaDelRey has joined #ruby
Al__ has quit [Quit: Al__]
jbinto has quit [Ping timeout: 260 seconds]
styler has joined #ruby
TheNumb has joined #ruby
Villadelfia has quit [Read error: Operation timed out]
styler has quit [Client Quit]
Guest11514 is now known as martxel
martxel has quit [Changing host]
martxel has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
burlyscudd has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
SeySayux_ has quit [Ping timeout: 256 seconds]
interactionjaxsn has joined #ruby
retry has joined #ruby
jrajav has joined #ruby
k610 has quit [Quit: Leaving]
mikewintermute has quit [Quit: mikewintermute]
sie has joined #ruby
sie has joined #ruby
sie has quit [Changing host]
kofno has quit [Remote host closed the connection]
pothibo has joined #ruby
SeySayux has joined #ruby
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Villadelfia has joined #ruby
arya has joined #ruby
eldariof has joined #ruby
Heskie has quit []
mansi has quit [Read error: Connection reset by peer]
ij has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
codecop has joined #ruby
banas has joined #ruby
banas has left #ruby [#ruby]
interactionjaxsn has quit [Ping timeout: 276 seconds]
stkowski has joined #ruby
therealnoop has quit [Ping timeout: 248 seconds]
asgardBSD has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 240 seconds]
Sherwyn has joined #ruby
asgardBSD has quit [Client Quit]
<joshu> atmosx still no go. I've completely removed nginx and reinstalling now
asgardBSD has joined #ruby
sailias has joined #ruby
x1337807x has joined #ruby
nettoweb has joined #ruby
sethetter has left #ruby [#ruby]
<atmosx> joshu: it's not that complicated.
<joshu> Most things aren't but yet they are :p
<atmosx> joshu: If you're not running a high traffic website though, you can just run unicorn.
kidoz has joined #ruby
<atmosx> and secure it with a firewall
LennyLinux has quit [Remote host closed the connection]
<atmosx> if you need additional security
<joshu> this is all on a LAN for 5 users
<atmosx> just use unicorn
<atmosx> ..
<nettoweb> I'm working in a website writen with ruby 1.8.7. I know that it's bad, can someone suggest some resource to migrate my website to latest version of ruby (and rails)?
<atmosx> don't waste too much time on config
dmiller has joined #ruby
<havenwood> nettoweb: Rails 2?
<nettoweb> havenwood: 2.3.2
<havenwood> nettoweb: rails -v
<nettoweb> ;/
<joshu> I've got my sinatra app running fine without nginx, but the problem is that users have to hit domain:5000. I want to remove the 5000 port and run on 80 but apparently nginx is required for this because I can't get foreman, puma, sinatra to run on port 80
Hanmac1 has joined #ruby
kofno has joined #ruby
<havenwood> joshu: using apt-get install of Ruby?
<nettoweb> I want migrate but I need to know whats will happen (problems) at migrating
<joshu> havenwood nope rbenv
<havenwood> joshu: Ah, I don't know how to get rbenv to work with sudo. RVM or the apt-get ruby1.9.1-full would work with sudo. Maybe an rbenv user knows if rbenv is possible with sudo?
<joshu> havenwood this *should* be simple but it's a fucking PITA
jbpros has joined #ruby
<atmosx> nettoweb: just copy the code in another directory. install ruby-2.0 with rvm/rben and see what happens.
<atmosx> nettoweb: I don't think anyone can tell you on the fly what will happen or dig through your code to find inconsistenceis without being paid
<nettoweb> atmosx: yeah
<nettoweb> I agree with you
<havenwood> nettoweb: On the Rails site there are migration guides from 2 to 3 to 4.
<havenwood> nettoweb: 3 to 4 isn't bad.
monkegjinni has joined #ruby
m8 has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
<havenwood> nettoweb: If you have tests, upgrade Rails via instructions and run tests, then upgrade Ruby with RVM, ruby-install or ruby-build and run tests again.
slash_nick has joined #ruby
slash_nick has joined #ruby
dmiller has quit [Ping timeout: 240 seconds]
kristiandelay has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
<nettoweb> ok, whats more complicated, ruby or rails? in migration
kristiandelay has joined #ruby
<havenwood> nettoweb: Depends, I'd guess Rails? Ask #RubyOnRails.
asgardBSD has quit [Remote host closed the connection]
m8 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
asgardBSD has joined #ruby
<apeiros> ruby 1.8 to 1.9 took about 1/10 of the time of migrating rails 2.3 to 3.2
sethetter has joined #ruby
machuga|away is now known as machuga
<sethetter> I want to install rvm, but I'm on a really old machine and it has an incompatible version of bash.
<apeiros> a good piece of the time was spent with cleaning up old junk, though
jdunck has quit [Quit: Computer has gone to sleep.]
<sethetter> Is it possible to install without that bash script downloaded from rvm.io?
fermion has joined #ruby
<havenwood> sethetter: Maybe look at chruby and ruby-install.
alvaro_o has joined #ruby
<havenwood> sethetter: What version of bash do you have?
<asteve> I'm attempting to upgrade a project from 1.8.7 to 1.9.3 and there is a gem that is failing to install called linecache; I'm not requiring the gem directly, is there a way to see which gem required the install of linecache?
xardas has quit [Read error: Connection reset by peer]
monkegji_ has quit [Ping timeout: 248 seconds]
<sethetter> havenwood: 2.05a
<nettoweb> so upgrade ruby is a lot easier, right?
takezawa has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> asteve: using bundler?
<asteve> yes
takezawa has joined #ruby
<apeiros> read the Gemfile.lock then
<asteve> ah
kofno has quit [Remote host closed the connection]
<sethetter> My main problem is getting all the ruby dependencies I need easy to recreate and deploy on new systems when needed. I installed ruby 1.8.7 from source but I also need gems and bundler, hence why I wanted to use rvm.
elaptics is now known as elaptics`away
<havenwood> asteve: Fun to look at: bundle viz
ffio_ has joined #ruby
<havenwood> asteve: Can be helpful to visualize dependencies. Just look at what points at what.
ffio has quit [Ping timeout: 240 seconds]
<asteve> thanks
RORgasm has quit [Read error: Connection reset by peer]
toddWork_ has quit [Quit: toddWork_]
zmike has joined #ruby
RORgasm has joined #ruby
kidoz has quit [Quit: Ухожу я от вас]
<havenwood> sethetter: I'm really curious if ruby-install will work with a bash as old as version 2: https://github.com/postmodern/ruby-install#readme
takezawa has quit [Ping timeout: 248 seconds]
<havenwood> sethetter: Can you use 1.9.3 or 2.0?
jso_ is now known as jso
Asher has joined #ruby
DanKnox is now known as DanKnox_away
<asteve> what's the proper way to require a file in 1.9.3?
<havenwood> asteve: require
<havenwood> asteve: or require_relative
<asteve> I see require File.join(File.dirname(__FILE__), 'path', 'to_file')
<asteve> require_relative said that it cannot infer path
MrZYX has quit [Remote host closed the connection]
<havenwood> asteve: from irb or pry?
<asteve> irb
<havenwood> asteve: yeah, __dir__ and require_relative etc don't work from the REPL
<havenwood> asteve: If you want it to work in the REPL you can add the directory the file is in to the $LOAD_PATH or do as you wrote above with the verbose require.
<asteve> ah, so is "require File.join(File.dirname(__FILE__), 'path')" the better choice?
Sherwyn has quit [Remote host closed the connection]
nemesit|znc has quit [Quit: ZNC - http://znc.in]
<asteve> if I add the directory to $LOAD_PATH do I still have a relative require or will it be a require for the end file?
<havenwood> asteve: I'd usually prefer just adding it to the $: and using require with the normal file name.
<asteve> i.e. require 'path/to/file' or require 'file'
<havenwood> asteve: just: require 'file'
mklappstuhl has joined #ruby
<asteve> got it, thanks
nemesit|znc has joined #ruby
JZTech101 has joined #ruby
JZTech101 has quit [Max SendQ exceeded]
<havenwood> asteve: $:.unshift blah blah blah - though half the time I just $: << blah because I want to know if i'm trampling and fail.
enebo has joined #ruby
ohcibi has joined #ruby
<apeiros> $LOAD_PATH >> $:
ngoldman has quit [Remote host closed the connection]
<joshu> havenwood atmosx finally got it working! magic :D thanks so much to both of you!
ananthakumaran has quit [Quit: Leaving.]
dmiller has joined #ruby
<atmosx> joshu: no worries, enjoy.
zeade has quit [Quit: Leaving.]
BSaboia has quit [Ping timeout: 248 seconds]
blaxter has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
Spami has joined #ruby
rwz__ has joined #ruby
niceguyjames has joined #ruby
karnowski has joined #ruby
kaichanvong has joined #ruby
Mon_Ouie has quit [Ping timeout: 276 seconds]
moeSeth has joined #ruby
davidboy has joined #ruby
<Hanmac1> playing with the load path and then wondering why the app has security holes ...
Guest85414__ has joined #ruby
patricksroberts_ has joined #ruby
khushildep has quit [Quit: khushildep]
niftylettuce has joined #ruby
taqutor has joined #ruby
jfelchner has quit [Ping timeout: 245 seconds]
bionhart has quit [Remote host closed the connection]
<atmosx> I have items in the database, and DRb clients. let's say I have 5 clients. What's the best way to manage data that is send to each client for? Each client takes the data peforms actions on it and returns results
Mon_Ouie has joined #ruby
zmike has quit [Quit: Выходжу]
sailias1 has joined #ruby
brennanM_ has joined #ruby
<atmosx> I'm thinking of adding a new field to the database which will have a status like "sent" "ok" if sent is not updated through let's say 1 hour is return to nil state if the data is returned successuflly goes to "ok/done" status
_Renegade has quit [Quit: _Renegade]
sailias has quit [Ping timeout: 240 seconds]
rezzack has joined #ruby
DanKnox_away is now known as DanKnox
icole has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
Spami has quit [Ping timeout: 260 seconds]
brennanMKE has quit [Ping timeout: 240 seconds]
NimeshNeema has joined #ruby
Davey has quit [Ping timeout: 248 seconds]
carloslopes has quit [Remote host closed the connection]
ariedler has quit [Remote host closed the connection]
bionhart has joined #ruby
jbinto has joined #ruby
pyrac has joined #ruby
MrZYX|off has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
zmike123 has joined #ruby
MrZYX|off is now known as MrZYX
<aedorn> Sounds like a good place to put a state machine. So yes, extra field to track state.
Xeago has joined #ruby
wald0 has quit [Quit: leaving]
Davey has joined #ruby
<havenwood> Hanmac1: My little sis is a graphics artist, trying to get here to do some textures for OpenRubyRMK. Found a png sprite of a row of existing textures. What should she add? Anywhere I can tell her to look for what needs to be drawn?
fdelacruz has joined #ruby
bionhart has quit [Remote host closed the connection]
tmorgan has quit [Remote host closed the connection]
<havenwood> Hanmac1: Or would they be under gtk-frontend repo? Hrm, i'm confused.
digitalcake has joined #ruby
jbpros has quit [Quit: jbpros]
<Hanmac1> havenwood: there is a board for the graphic stuff http://devel.pegasus-alpha.eu/projects/openrubyrmk/boards, the files in the repos are only for testing
<havenwood> Hanmac1: Aha. Kk, that makes sense.
<Hanmac1> some day later i will bundle some resources and make RTPs ... but we are not that far yet
<digitalcake> trying to do conway's game of life using a matrix only, wanted to know if there is an quick way to get the surrounding cells of an indexwith a method in matrix?
jonathanwallace has quit [Ping timeout: 264 seconds]
Takehiro has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
poga has quit [Remote host closed the connection]
whowantstolivef1 has joined #ruby
BSaboia has joined #ruby
Takehiro has joined #ruby
<sethetter> havenwood: No I can't, I'm stuck with ruby 1.8.7, that's the highest I was able to go.
<havenwood> sethetter: eek
<purpleidea> hey #ruby i'm having trouble with inject: http://www.fpaste.org/17060/
Faris has quit [Quit: Leaving.]
jonathanwallace has joined #ruby
<sethetter> havenwood: Yeah.. ruby is working fine though, I just need gem and bundler and I'll be good to go
_Amaan has quit [Quit: _Amaan]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
<apeiros> purpleidea: your problem is not inject
<sethetter> havenwood: Is there a specific version of rubygems that works best with 1.8.7?
<apeiros> your problem is select
<apeiros> purpleidea: iirc reject returns a hash in 1.9
<apeiros> err, in 1.8
<apeiros> i.e., just use reject with a negated block
Z_Mass has joined #ruby
l3thal- has joined #ruby
<apeiros> also, you're abusing inject (the `; h` part tells you that)
<purpleidea> apeiros: what is the "right" thing to do ?
wallerdev has quit [Quit: wallerdev]
troessner has quit [Quit: Leaving]
graydot has joined #ruby
<Hanmac1> havenwood: something like that http://opengameart.org/content/liberated-pixel-cup-base-assets-sprites-map-tiles would be cool as licences (L)GPL and CC0 are prefered but the other CC-BY-(SA) are maybe acepted too (there are little info files next to the images (the *.yml) that tells about the licence)
<apeiros> purpleidea: use something else than inject. also, I assume in `["foo"].include?(key)`, the ["foo"] is a bigger array? if so, then you're using an inefficient construct.
<purpleidea> apeiros: you're right... i'm writing this for puppet, so it helps that it's a oneliner
srji has joined #ruby
<apeiros> purpleidea: IMO that's a stupid notion. sorry. it never helps to be a one-liner. it helps to be readable, understandable and maintainable.
MSG has joined #ruby
<purpleidea> apeiros: i don't disagree, but it's a lot easier to include this way. if it's multiline, it has to be a separate template. it's something puppet will address eventually.
MSG is now known as codesoda
atno has joined #ruby
<apeiros> puppet can't deal with multiple lines of code? wow…
<apeiros> sounds horrible
tonini has joined #ruby
<purpleidea> apeiros: if you're writing ruby, you're either adding it in a template, or a function, or a fact, which are separate files... if you want it *right there* next to your puppet code, you can use an inline_template which is easy for one line ideally.
Kar- has quit [Remote host closed the connection]
<purpleidea> apeiros: it's a bit horrible
burlyscudd has joined #ruby
<purpleidea> apeiros: any chance you can recommend the right replacement to my statement?
<apeiros> make it a function then
benweint has quit [Quit: Computer has gone to sleep.]
<apeiros> so it has a proper name and proper code
jeffreylevesque_ has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]]
gildo has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 256 seconds]
LennyLinux has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Banistergalaxy has joined #ruby
brennanM_ has quit [Remote host closed the connection]
chrishough has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
workmad3 has joined #ruby
mocfive_ has joined #ruby
mocfive has quit [Read error: Connection reset by peer]
ivanoats has quit [Remote host closed the connection]
tockitj has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
chrishough has joined #ruby
DrShoggoth has joined #ruby
<sethetter> Is there a flag I can pass when installing ruby from source to include openssl? Currently my install doesn't have it, and rvm isn't an option.
razi has joined #ruby
zmike123 has quit [Quit: Выходжу]
amedeiros has joined #ruby
<havenwood> sethetter: What OS?
Spami has quit [Ping timeout: 240 seconds]
razi has quit [Client Quit]
ivanoats has joined #ruby
<havenwood> sethetter: E.g.: ./configure --with-opt-dir="$(brew --prefix openssl)
<havenwood> oops
mocfive has joined #ruby
mocfive_ has quit [Read error: Connection reset by peer]
thomasle_ has joined #ruby
Takehiro has quit [Remote host closed the connection]
jds_ has joined #ruby
toddWork_ has joined #ruby
[rust] has joined #ruby
<sethetter> havenwood: It's ollllllllllllld linux.
vlad_starkov has joined #ruby
<havenwood> sethetter: Which distro? Does it have a package manager? >.>
xardas has joined #ruby
apod has quit [Quit: apod]
vlad_starkov has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
xardas has quit [Changing host]
xardas has joined #ruby
<sethetter> Not a reliable one.
DanKnox_away is now known as DanKnox
<sethetter> I'm talking way too old here.
vlad_starkov has joined #ruby
hoaxtroll has joined #ruby
<hoaxtroll> AUP
<sethetter> That's why I need source for everything, but I can't really get around that with some of my ruby dependencies so I need a good gems install at the very least.
<hoaxtroll> AUP
Takehiro has joined #ruby
<hoaxtroll> need sum help m8s
carloslopes has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
<havenwood> sethetter: How about use JRuby, then you only have to install Java 1.7 - no other deps.
hoaxtroll has quit [Disconnected by services]
atno has quit [Quit: Leaving]
Takehiro has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
tommyvyo has joined #ruby
burlyscudd has joined #ruby
sepp2k1 has joined #ruby
<sethetter> havenwood: Hmm, what about gems?
vlad_sta_ has joined #ruby
<nettoweb> whats better? migrate to 1.9 ou 2.0? 2.0 is stabel?
nomenkun has joined #ruby
<havenwood> nettoweb: 2.0 is stable.
<havenwood> sethetter: RubyGems comes with JRuby. If you need to package the gems you can.
<nettoweb> so Is it reliable?
<havenwood> nettoweb: Yes.
<nettoweb> havenwood: thanks
sepp2k has quit [Ping timeout: 248 seconds]
wolcanus has quit [Remote host closed the connection]
<havenwood> sethetter: Or Maglev's only dep is Gemstone, but it isn't as battle tested as JRuby yet.
<sethetter> havenwood: NO JAVA >_<
<nettoweb> the canpatibility with other gems is ok?
jdunck has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
cj3kim has quit [Remote host closed the connection]
<atmosx> To put this error in a begin/rescue 404 Not Found (OpenURI::HTTPError)
<havenwood> nettoweb: Yes. Maintained gems with C-ext are mostly updated. Those that aren't say so.
<atmosx> I do rescue OpenURI::HTTPError
<atmosx> ?
Spami has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
<atmosx> yeah nice
Spami has joined #ruby
Spami has joined #ruby
burlyscudd has quit [Ping timeout: 264 seconds]
benweint has joined #ruby
teddyp1cker has joined #ruby
<havenwood> sethetter: So Maglev then, maybe? Un-tar it, install Gemstone, make a symlink, g2g.
Dummies_freelanc has quit [Ping timeout: 248 seconds]
carloslopes has quit [Write error: Connection reset by peer]
robscomputer has quit [Read error: Connection reset by peer]
jfelchner has joined #ruby
robscomputer_ has joined #ruby
carloslopes has joined #ruby
jeffreylevesque has joined #ruby
forrest has joined #ruby
ariedler has joined #ruby
bionhart has joined #ruby
<havenwood> sethetter: Do you have wget or curl?
wolcanus has joined #ruby
timonv has joined #ruby
LanaDelRey has quit [Quit: Of course quitting is hard; yet not quitting is harder]
<sethetter> havenwood: yes
srji has quit [Ping timeout: 248 seconds]
fuleo2 has joined #ruby
pothibo has quit [Read error: No buffer space available]
ngoldman_ has joined #ruby
Eaven has quit [Read error: No buffer space available]
<nettoweb> in my database some infos are stored like (---
<nettoweb> - !ruby/object:CIMM::ContactInfo
pothibo has joined #ruby
<nettoweb> type: mobile
<nettoweb> value: '0000'
<nettoweb> ) whats called this technique?
<havenwood> sethetter: Maglev is a very nice, fast Ruby implementation. Downside is that only supports 1.8, though 1.9 and 2.0 are coming.
<nettoweb> I want to learn about that
Eaven has joined #ruby
timkohru_ has joined #ruby
<havenwood> sethetter: But since you're stuck on 1.8...
sambao21 has joined #ruby
<sethetter> havenwood: Yeah, that's nice actually, lol.
Spami has quit [Quit: This computer has gone to sleep]
srji has joined #ruby
razi has joined #ruby
Eaven has quit [Read error: Connection reset by peer]
<sethetter> havenwood: Should I use ruby-install for this?
<apeiros> nettoweb: that's yaml serialization
fuleo has quit [Ping timeout: 277 seconds]
<apeiros> so the technique is called 'serialization'
<nettoweb> apeiros: thank you
<apeiros> and the serializer used in your case is yaml
razi has quit [Client Quit]
<nettoweb> is it recommended? in my case I'm storing contact info (phone, mobile, linkedin, twitter, skype)
cj3kim has joined #ruby
Eaven has joined #ruby
<havenwood> sethetter: Maglev install isn't supported by ruby-install until v2.0, which isn't out quite yet. You'd have to clone from Github repo and make install for Maglev support.
timkohrumel has quit [Ping timeout: 276 seconds]
<havenwood> sethetter: Clone ruby-install master from Github**
ctp has quit [Quit: Leaving...]
<nettoweb> apeiros:
jkline has joined #ruby
<sethetter> havenwood: Ah ok, I'm trying to install from gemstone source now first. I'm not sure if this machine even has git installed :(
<havenwood> sethetter: So: git clone git://github.com/postmodern/ruby-install.git && cd ruby-install && sudo make install; ruby-install maglev
<apeiros> nettoweb: it somewhat defeats the purpose of using and RDBMS
Jackneill has quit [Ping timeout: 240 seconds]
Michae___ has quit [Remote host closed the connection]
jamescarr has joined #ruby
Michael__ has joined #ruby
<jamescarr> whats's a quick and dirty way to install a gem if it is not present?
<jamescarr> bundler specificly ;)
<havenwood> jamescarr: gem install bundler
mocfive has quit [Remote host closed the connection]
rfxhhq has quit [Remote host closed the connection]
<jamescarr> thx
bricker has quit [Quit: leaving]
evenix_ has joined #ruby
bricker has joined #ruby
BSaboia has quit [Ping timeout: 248 seconds]
nezumi has joined #ruby
evenix_ has quit [Read error: Connection reset by peer]
BadDesign has quit [Read error: Connection reset by peer]
evenix has quit [Read error: Connection reset by peer]
teddyp1cker has quit [Remote host closed the connection]
evenix has joined #ruby
<apeiros> lol?
coreinfo99 has quit [Ping timeout: 264 seconds]
Michael__ has quit [Ping timeout: 240 seconds]
<joshu> apeiros have you done any backend dev for iOS apps?
l3thal- has quit [Quit: leaving]
<apeiros> no
sambao21 has quit [Quit: Computer has gone to sleep.]
<sethetter> havenwood: I got "This script only works on a 64-bit Linux, Mac OS X, or Solaris-x86 machine" :(
l3thal- has joined #ruby
<joshu> apeiros have you used sinatra and/ or grape?
icole has joined #ruby
<apeiros> I've only toyed with sinatra, never used grape
yekta has quit [Quit: yekta]
<havenwood> sethetter: >.>
<apeiros> ah well, I guess I also have modified an existing sinatra app to do my bidding
axl__ has joined #ruby
<havenwood> joshu: I just did an API for iOS in Sinatra. Works well. :) Never used Grape.
jds_ has quit [Remote host closed the connection]
<joshu> havenwood do you mind if I pick your brains a bit on this topic?
<havenwood> joshu: sure
axl_ has quit [Ping timeout: 240 seconds]
axl__ is now known as axl_
x1337807x has joined #ruby
sailias1 has quit [Ping timeout: 264 seconds]
<joshu> ok so I need to build both the backend and iOS app. The backend will not have a web interface, so the only interaction with it is via the iOS app.
<joshu> How did you deal with authentication? I've looked at OAuth, basic http auth, HMAC auth
<joshu> Btw I should say that this backend and iOS app are for internal use by 5 people
<joshu> I'll host the backend on Heroku
fdelacruz has quit [Quit: EPIC5-1.1.5[1683] - amnesiac : if you know how to use it, it is outdated]
ehaliewicz has joined #ruby
<havenwood> joshu: I rolled my own auth from a few methods plucked from Devise.
krislappy is now known as krisfremen
Michael__ has joined #ruby
<havenwood> joshu: But then a Rails app got plugged into the DB, and now Rails Devise handles creating auth (with email etc) and the API just knows how to validate.
<joshu> havenwood ok so Rails is involved as well.
<havenwood> joshu: In my case, yeah.
sailias has joined #ruby
zommi has quit [Remote host closed the connection]
Takehiro has joined #ruby
malkomalko has quit [Remote host closed the connection]
<havenwood> joshu: But Rails isn't needed, of course.
<nettoweb> I tried to instal 2.0.0
<nettoweb> There was an error while trying to resolve rubygems version for 'latest'.
<nettoweb> Halting the installation.
<nettoweb> my rubygem is 1.4.2
<nettoweb> need I upgrade?
tvw has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
<joshu> havenwood I'm wondering whether to use sinatra or grape for my project. I'm no expert on sinatra and never used grape, but from what I understand grape is built on sinatra a specific to developing an API. You have any suggestion?
<workmad3> joshu: you could also consider Rails-API
airtonix has quit [Ping timeout: 256 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
haxrbyte_ has quit [Read error: Connection reset by peer]
<joshu> workmad3 I know nothing about Rails
<workmad3> joshu: well, you're considering two other frameworks that you have little or no experience in ;)
mansi has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
_Andres has quit [Ping timeout: 248 seconds]
mansi has joined #ruby
<havenwood> joshu: Yeah, Grape has auth and stuff built in. Sinatra if you want to roll your own.
<workmad3> joshu: and Rails-API is a stripped down version of rails tailored to providing APIs
estating56 has quit [Ping timeout: 264 seconds]
<havenwood> joshu: Or what workmad3 said. :P
<joshu> workmad3 yeah more or less. worked with sinatra for a couple of months
chrishough has quit [Quit: chrishough]
mansi has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
mansi has joined #ruby
<workmad3> authentication... oauth could be a good solution, or you could use a simple token authentication
amedeiros has quit [Ping timeout: 245 seconds]
jonathanwallace has quit [Ping timeout: 248 seconds]
zeade has joined #ruby
<workmad3> that would provide a way to authenticate API requests, and then you'd build a way to create an account in your app and some mechanism to authenticate (either via oauth or with username/pw to get a token)
<havenwood> joshu: Could look at OmniAuth with Sinatra: https://github.com/intridea/omniauth/wiki
caveat- has quit [Ping timeout: 245 seconds]
vlad_sta_ has quit [Remote host closed the connection]
<workmad3> havenwood: omniauth isn't any good here
<workmad3> havenwood: that's the client-side of authenticating, not the server-side :)
cads has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
Dummies_freelanc has joined #ruby
tonini has joined #ruby
wallerdev has joined #ruby
caveat- has joined #ruby
Dummies_freelanc has quit [Max SendQ exceeded]
albertone has joined #ruby
estating56 has joined #ruby
<havenwood> workmad3: Right, iOS API. Heh, i got thinking on a tangent.
chrishough has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
Dummies_freelanc has joined #ruby
Dummies_freelanc has quit [Max SendQ exceeded]
supergiantrobot has quit [Ping timeout: 248 seconds]
supergiantrobot has joined #ruby
Dummies_freelanc has joined #ruby
_Renegade has joined #ruby
Dummies_freelanc has quit [Max SendQ exceeded]
apeiros_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
banister`shop has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 260 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
_Renegade has quit [Client Quit]
headius has joined #ruby
l3thal- has quit [Quit: leaving]
jurbat has quit [Quit: Computer has gone to sleep.]
kobain has quit [Ping timeout: 240 seconds]
_Renegade has joined #ruby
Spami has quit [Ping timeout: 240 seconds]
pencilcheck has joined #ruby
_Renegade has quit [Client Quit]
nomenkun_ has joined #ruby
yalue has quit [Read error: Connection reset by peer]
robscomputer_ has quit [Read error: Connection reset by peer]
oops_im_a_sysadm has left #ruby [#ruby]
robscomputer has joined #ruby
devoldmx3 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
Takehiro has quit [Remote host closed the connection]
pen has quit [Ping timeout: 240 seconds]
jbpros has joined #ruby
uxp has joined #ruby
mansi has quit [Read error: Connection reset by peer]
johnrlive has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
jbinto has quit [Read error: No route to host]
mansi has joined #ruby
Banistergalaxy has quit [Ping timeout: 240 seconds]
nomenkun has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
jbinto has joined #ruby
_Renegade has joined #ruby
echevemaster has quit [Read error: Operation timed out]
mocfive has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
kirun_ has joined #ruby
echevemaster has quit [Read error: Connection reset by peer]
devoldmx3 has quit [Ping timeout: 248 seconds]
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
jds_ has joined #ruby
d2dchat has quit [Remote host closed the connection]
allaire has quit [Quit: allaire]
snearch has joined #ruby
kirun has quit [Ping timeout: 260 seconds]
brujoand has joined #ruby
<brujoand> hey guys, I'm a java dev learing ruby, what is the prefered testlib for ruby? (nothing fancy, just cli lib)
deception has quit [Quit: Goodbye]
ebobby has quit [Ping timeout: 248 seconds]
<Hanmac1> for me test-unit is fine
coreinfo99 has joined #ruby
<atmosx> brujoand: most people go coo-coo about minitest
ebobby has joined #ruby
<havenwood> brujoand: Minitest: http://docs.seattlerb.org/minitest/
KillerFox has quit [Ping timeout: 248 seconds]
osvico has joined #ruby
<havenwood> Cept the Rails folks seem to all go RSpec.
<havenwood> Silly Rails folk. :P
<aedorn> hey now, I use Rspec without Rails.
arya has quit [Ping timeout: 248 seconds]
<brujoand> cool, Ill check those out :) bacon has to be good :P
<Hanmac1> test-unit is an upgraded version of minitest (but the stdlib mini-test is to short for me)
<havenwood> Hanmac1: Yeah, test-unit gem is nice!
<atmosx> I never write tests
_Renegade has quit [Quit: _Renegade]
* atmosx is not TDD
<atmosx> it's so boring
burlyscudd has joined #ruby
eldariof has quit [Ping timeout: 248 seconds]
slainer68 has joined #ruby
<aedorn> yeah... real programmers test their code by watching CPU registers and memory addresses.
<Sargun> python
tommyvyo has quit [Quit:]
splittingred has quit [Quit: splittingred]
<Hanmac1> aedorn: read programmers uses butterflies for testing code right? ;P (and emacs has a command for that ;D)
arya has joined #ruby
CalebMingle has quit [Quit: CalebMingle]
jds_ has quit [Ping timeout: 256 seconds]
Spami_ has joined #ruby
ctp has joined #ruby
<aedorn> Indeed. http://xkcd.com/378/
<atmosx> Hanmac1: read programmers?
Spami has quit [Ping timeout: 264 seconds]
* Hanmac1 is to lazy to write correct ... :/
<Hanmac1> maybe next week i solv my stack problem ...
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
alex__c2022_ has joined #ruby
alex__c2022 has quit [Ping timeout: 240 seconds]
jbpros has quit [Quit: jbpros]
alex__c2022_ is now known as alex__c2022
Squarepy has quit [Quit: Leaving]
<aedorn> Maybe it's a feature, not a problem.
xkickflip has quit [Quit: h..hi]
druonysus has joined #ruby
thebastl has joined #ruby
ivanoats has quit [Ping timeout: 248 seconds]
kirun__ has joined #ruby
carloslopes has quit [Remote host closed the connection]
<digitalcake> is the Matrix.rect() used to get a selected rectangle from a matrix? http://www.ruby-doc.org/stdlib-2.0/libdoc/matrix/rdoc/Matrix.html#method-i-rect if so could some one show me how it works
pipework has quit [Remote host closed the connection]
<atmosx> Hanmac1: you're lazy to write correct but you use unit-test?
druonysus has quit [Client Quit]
emergion has joined #ruby
<atmosx> Hanmac1: how is that possible
<atmosx> my client/server app works fine.
snearch has quit [Quit: Verlassend]
<Hanmac1> atmosx i mean sleepy ... its currently sleeping time at my place
<atmosx> Hanmac1: aah
Lemtzas has quit [Read error: Connection reset by peer]
kirun_ has quit [Ping timeout: 248 seconds]
<atmosx> Hanmac1: you're a professional programmer? I mean you get paid to write ruby?
fgro has joined #ruby
pyrac has quit [Quit: pyrac]
redgirl has quit [Quit: This computer has gone to sleep]
<Hanmac1> not yet, i get paid for php code .. yeah i feel ashamed
Dummies_freelanc has joined #ruby
<digitalcake> :'(
<aedorn> I get paid for "making things work". Yay.
Spami_ has quit [Ping timeout: 256 seconds]
Lemtzas has joined #ruby
d2dchat has joined #ruby
ctp has quit [Quit: Leaving...]
<Hanmac1> atmosx tomorrow i will show you my code where i get the stack error ... maybe you can solv that
<slash_nick> aedorn: I get paid to make things... then I get paid again to make them work :p
jbpros has joined #ruby
<sethetter> Hanmac1: I did too, I've recently convinced my boss to let me do ruby stuff, then I got stuck doing all that ruby stuff in ollllllllllllllldddddddddddd legacy systems that can't run rubygems, or ruby higher than 1.8.7 :(
Spami_ has joined #ruby
Michael__ has quit [Remote host closed the connection]
<aedorn> slash_nick: Do you get paid a third time to support it when it breaks a year later? =p
<slash_nick> sethetter: hell.
eka has joined #ruby
Michael__ has joined #ruby
<slash_nick> aedorn: no, i get paid to answer someone else's questions about it then, mwahaha
cj3kim has quit [Remote host closed the connection]
<aedorn> lol
jcromartie has joined #ruby
<atmosx> Hanmac1: you traitor.
<Hanmac1> sethetter: you should get angry because 1.8.7 will die this month
osvico has quit [Ping timeout: 276 seconds]
KillerFox has joined #ruby
<atmosx> Hanmac1: If it's PHP code I wouldn't know where to start.
<sethetter> Hanmac1: really?
<havenwood> Game of Thrones style. R.I.P. 1.8.
khismetix has joined #ruby
<Hanmac1> atmosx: no its my own free ruby code where i get the stack error
<atmosx> I won't see the next episode of GoT I was all about Starks
<sethetter> When you say die, you mean no more fixes, etc, right?
<aedorn> There's hidden code in Ruby 1.8.x that deletes itself on a mystery day of this month.
<atmosx> I won't even read the books
<atmosx> that fucker
_Amaan has joined #ruby
<atmosx> aedorn: that would so cool
<havenwood> sethetter: 1.8.7 is End-of-Life after June 2013. Hasn't received patches in a year. No security patches after this month. Formally dead.
cj3kim has joined #ruby
<sethetter> havenwood: :(
<slash_nick> aedorn: it was supposed to happen on 12/21/2012 but ruby's really slow
thebastl has quit [Remote host closed the connection]
jamesaxl has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<aedorn> atmosx: It would be right up until Microsoft steals the idea and implements it into all service packs of Windows and forces the world to upgrade to Windows 8.
<havenwood> aedorn: People are so gunna use XP post EoL and get burned for it.
<aedorn> Then they'll somehow blame Ruby, and tell the world that it would be better in .NET
<havenwood> Welcome to the giant XP botnet.
<Soeki> hello, can someone please tell me if there is a way to check for all the methods related to an object via an irb command?
_Renegade has joined #ruby
<havenwood> Soeki: I highly recommend Pry: http://pryrepl.org/
<aedorn> Yes, I have a great dystopia-style alternate reality in my head. =)
c0rn has joined #ruby
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
jbueza has left #ruby [#ruby]
Michael__ has quit [Ping timeout: 276 seconds]
<havenwood> Soeki: Install Pry with `gem install pry` then use pry instead of irb. Inside pry type `help` for a list of the pry commands.
<slash_nick> Soeki: @obj.methods ?
<havenwood> But yeah, #methods, #methods(false), etc, etc. Still use Pry. :P
tommyvyo has joined #ruby
tommyvyo has quit [Client Quit]
nomenkun_ has quit [Remote host closed the connection]
jwest has quit [Quit: WeeChat 0.4.0]
<Soeki> thanks, I'm kinda newbie with ruby
devoldmx has quit [Read error: Connection reset by peer]
bhaarat has joined #ruby
<havenwood> Soeki: Then you can `cd object_you_want_to_look_at; ls` to take a look at the objects methods in a nice format.
jwest has joined #ruby
<havenwood> Soeki: (From inside Pry.)
<Soeki> I just realized why you were suggesting pry
devoldmx has joined #ruby
<havenwood> s/objects/object's
osvico has joined #ruby
<Soeki> the amount of inherited methods is enormous o.0
tommyvyo has joined #ruby
<bhaarat> This is completely unrelated to Ruby but I figured you guys would be able to give me good suggestions. What are some decent requirement management tools out there that aren't enterprise? Just basic needs like creating a project, creating a requirement with due date, assigning it to someone, and perhaps dividing them into sprints
ivanoats has joined #ruby
Meatant has joined #ruby
<jkline> bhaarat: jira
jbinto has quit [Ping timeout: 248 seconds]
<bhaarat> isn't that for bug tracking
<bhaarat> bug/issue
ArchBeOS has quit [Read error: Connection reset by peer]
jds_ has joined #ruby
Appineer has left #ruby [#ruby]
gyre007 has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
<aedorn> bhaarat: Kind of depends on what you want ... https://sprint.ly/ http://kanbanize.com/ https://kanbanflow.com/ http://www.redmine.org/ https://basecamp.com/ and like a million more
estating56 has quit [Ping timeout: 260 seconds]
malkomalko has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
malkomalko has quit [Remote host closed the connection]
<bhaarat> thanks!
devoldmx has joined #ruby
<aedorn> You can even go shared task list style like Asana (asana.com)
jerius has quit [Ping timeout: 245 seconds]
RORgasm has quit [Read error: Connection reset by peer]
jbinto has joined #ruby
RORgasm has joined #ruby
teclator has quit [Ping timeout: 248 seconds]
<jkline> bhaarat: jira is for bug and issue tracking, yes, but you can create different types of tickets including project tickets. It supports springs and agile boards too
robscomputer has quit [Read error: Connection reset by peer]
jbpros has quit [Quit: jbpros]
sailias has quit [Ping timeout: 248 seconds]
phipes has joined #ruby
<jkline> you can define different workflows for user stories from bug reports, if you want
robscomputer has joined #ruby
<jkline> but yeah, jira is not necessarily the easiest or fastest thing to get up and running. I don't have experience with those others though
manutter has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pinpin404 has quit [Read error: Connection reset by peer]
emergion has quit [Ping timeout: 260 seconds]
<Soeki> cute: someone from customer.rethemhosting.net [154.35.32.24] just tried to use a VMware server directory exploit on me :o good thing i'm not runny antyhing near related to that.
arya has quit [Ping timeout: 248 seconds]
<aedorn> I went through a lot... ended up using something entirely different since I'm the only person on the "team" (yup, there's really "I" in "team" here!)
teclator has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bhaarat> :)
srji_ has joined #ruby
<Soeki> long time since I last joined an irc room xD I reallly need to setup a mask :/
<bhaarat> we're around 5 people and I don't want to read a word doc more than 10 pages log for fucking requirements
Soeki has quit [Quit: HydraIRC -> http://www.hydrairc.com <- \o/]
jbinto- has joined #ruby
srji has quit [Ping timeout: 248 seconds]
wmoxam has quit [Ping timeout: 248 seconds]
Davey has joined #ruby
estating56 has joined #ruby
<aedorn> ooh, we have some of those. More like 30 pages, though. With 5 lines of information.
daniel_- has quit [Ping timeout: 276 seconds]
DomKM1 has joined #ruby
Davey has quit [Max SendQ exceeded]
jbueza has joined #ruby
jbueza has quit [Max SendQ exceeded]
DomKM has quit [Read error: Connection reset by peer]
Davey has joined #ruby
ner0x has quit [Quit: Leaving]
jbueza has joined #ruby
x1337807x has joined #ruby
mansi has quit [Read error: Connection reset by peer]
wwwq is now known as insel
mansi has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
vlad_starkov has joined #ruby
_Andres has joined #ruby
devoldmx3 has joined #ruby
jbinto has quit [Ping timeout: 260 seconds]
Neomex has joined #ruby
gyre007 has quit [Remote host closed the connection]
Neomex has quit [Client Quit]
mansi has quit [Read error: Connection reset by peer]
arya has joined #ruby
mansi has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
kristiandelay has quit [Remote host closed the connection]
brennanMKE has joined #ruby
kristiandelay has joined #ruby
<jkline> brujoand: I am new to Ruby too. RSpec is pretty easy to get started with for testing. I used FakeFS to "mock" the file system. Later i'm going to try Cucumber and Aruba for more integration style command testing of command line.
wolcanus has quit [Remote host closed the connection]
srji_ has quit [Ping timeout: 248 seconds]
iamjarvo has joined #ruby
bubu has quit [Remote host closed the connection]
arya has quit [Ping timeout: 248 seconds]
cj3kim has quit [Remote host closed the connection]
<iamjarvo> what does open_args do in IO.read(:open_args)
kristiandelay has quit [Ping timeout: 264 seconds]
daniel_- has joined #ruby
kx has quit [Ping timeout: 248 seconds]
whowantstolivef1 has quit [Ping timeout: 240 seconds]
dash__ has quit [Quit: Time to beer :)]
ctp has joined #ruby
echevemaster has quit [Quit: Leaving]
bionhart has quit [Read error: Connection reset by peer]
xardas has quit [Read error: No buffer space available]
bionhart has joined #ruby
xardas has joined #ruby
kayloos has joined #ruby
xardas has quit [Changing host]
xardas has joined #ruby
ldnunes has quit [Quit: Leaving]
<terrellt> jkline: I did not know that existed. That is super cool.
Michael__ has joined #ruby
retry has quit [Quit: Linkinus - http://linkinus.com]
havenwood has quit [Remote host closed the connection]
Eaven has quit [Ping timeout: 248 seconds]
<jkline> terrellt: which? FakeFS? Yeah, I discovered it yesterday or the day before
mklappstuhl has quit [Remote host closed the connection]
<terrellt> jkline: Yeah.
kx has joined #ruby
codecop has quit [Remote host closed the connection]
johnrlive has joined #ruby
vlad_starkov has quit [Write error: Broken pipe]
johnrlive has quit [Read error: Connection reset by peer]
KillerFox has quit [Ping timeout: 248 seconds]
johnrlive has joined #ruby
KillerFox has joined #ruby
khismetix has quit [Ping timeout: 256 seconds]
estating56 has quit [Ping timeout: 256 seconds]
BadDesign has joined #ruby
vlad_starkov has joined #ruby
benweint has quit [Ping timeout: 240 seconds]
srji has joined #ruby
johnrlive has quit [Read error: Operation timed out]
ctp has quit [Quit: Leaving...]
kirun__ has quit [Quit: Client exiting]
krawchyk has quit [Remote host closed the connection]
estating56 has joined #ruby
vwoo has joined #ruby
iamjarvo has quit [Quit: iamjarvo]
khismetix has joined #ruby
digitalcake has left #ruby [#ruby]
ntus1017 has quit [Remote host closed the connection]
Takehiro has joined #ruby
johnmilton has quit [Remote host closed the connection]
ctp has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
mayrun has joined #ruby
cj3kim has joined #ruby
wolcanus has joined #ruby
ctp has quit [Client Quit]
arya has joined #ruby
monkegjinni has quit [Remote host closed the connection]
dagnachew has joined #ruby
monkegjinni has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
qfwfq has joined #ruby
<qfwfq> >> [01,02,03,04,05,06,07,08] #lolruby
<eval-in> qfwfq => /tmp/execpad-6e2c8c80dc5c/source-6e2c8c80dc5c:2: Invalid octal digit ... (http://eval.in/32944)
vlad_starkov has joined #ruby
<qfwfq> >> [01,02,03,04,05,06,07]
<eval-in> qfwfq => [1, 2, 3, 4, 5, 6, 7] (http://eval.in/32945)
sethetter has left #ruby [#ruby]
jjinb3 has joined #ruby
mansi has quit [Remote host closed the connection]
emergion has joined #ruby
banister`shop has joined #ruby
mityaz has quit [Quit: See ya!]
jamescarr has quit [Quit: jamescarr]
jjinb3 has quit [Client Quit]
wesside_ has quit [Quit: Computer has gone to sleep.]
axl_ has quit [Quit: axl_]
monkegjinni has quit [Remote host closed the connection]
chichou_ has joined #ruby
adeponte has joined #ruby
saarinen has quit [Quit: saarinen]
headius has quit [Quit: headius]
<qfwfq> Oh, I see what's happening. When the object is preceded with a '0', it's interpreted as hex/octal
headius has joined #ruby
daniel_- has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
khushildep has joined #ruby
wmoxam has joined #ruby
caleb_io has joined #ruby
havenwood has joined #ruby
saarinen has quit [Client Quit]
ravster has left #ruby [#ruby]
Takehiro has quit [Remote host closed the connection]
twoism has quit [Read error: No buffer space available]
saarinen has joined #ruby
LennyLinux has quit [Read error: No buffer space available]
LennyLinux has joined #ruby
twoism has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
failshell has quit [Remote host closed the connection]
agent_white has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
vwoo has quit [Ping timeout: 276 seconds]
DomKM1 has quit [Quit: Leaving.]
vwoo has joined #ruby
skattyadz has quit [Quit: skattyadz]
ebobby has quit [Quit: Lost terminal]
atmosx has quit [Quit: And so the story goes…]
momomomomo has quit [Quit: momomomomo]
emergion has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
Spami_ has quit [Ping timeout: 276 seconds]
nkr has quit [Quit: Linkinus - http://linkinus.com]
robscomputer_ has joined #ruby
robscomputer_ has quit [Read error: Connection reset by peer]
jrajav has quit [Quit: I tend to be neutral about apples]
robscomputer_ has joined #ruby
arya has quit [Ping timeout: 248 seconds]
Spami_ has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
robscomputer_ has quit [Read error: Connection reset by peer]
<workmad3> qfwfq: prefix of 0 interprets as octal
<workmad3> qfwfq: prefix of 0x interprets as hex
robscomputer_ has joined #ruby
jonathanwallace has joined #ruby
jimg has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
jfelchner has quit [Ping timeout: 245 seconds]
brotatos has joined #ruby
vwoo has quit [Ping timeout: 256 seconds]
vwoo has joined #ruby
monkegjinni has joined #ruby
redgirl has joined #ruby
breakingthings has quit [Quit: breakingthings]
<qfwfq> workmad3: xoxo
wsterling has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
_Andres has quit [Ping timeout: 256 seconds]
slash_nick has quit [Ping timeout: 276 seconds]
Dummies_freelanc has quit [Ping timeout: 256 seconds]
synthemesk has joined #ruby
dogarrhea has joined #ruby
jbinto has joined #ruby
dogarrhea has left #ruby [#ruby]
vwoo has quit [Ping timeout: 260 seconds]
chichou_ has quit [Remote host closed the connection]
jbinto- has quit [Read error: Connection reset by peer]
asteve has quit [Ping timeout: 248 seconds]
alex__c2022 has quit [Quit: alex__c2022]
vwoo has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
ngoldman_ has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
remkade has quit [Quit: remkade]
freeayu has joined #ruby
Spami_ has quit [Ping timeout: 256 seconds]
ARCADIVS has joined #ruby
bhaarat has quit [Quit: bhaarat]
druonysus has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
arya has joined #ruby
mljsimone is now known as mljsimone|bnc
cmarques has quit [Ping timeout: 240 seconds]
cofin has quit [Quit: cofin]
bean has quit [Quit: Computer has gone to sleep.]
interactionjaxsn has quit [Ping timeout: 256 seconds]
kayloos has quit [Remote host closed the connection]
cofin has joined #ruby
evenix has quit [Remote host closed the connection]
bhaarat has joined #ruby
BadDesign has quit [Read error: Connection reset by peer]
bhaarat has quit [Client Quit]
newUser1234 has quit [Remote host closed the connection]
zigomir__ has quit [Ping timeout: 264 seconds]
agent_white has quit [Quit: Lost terminal]
Nisstyre-laptop has quit [Quit: Leaving]
jimg has quit [Remote host closed the connection]
_maes_ has joined #ruby
srji has quit [Quit: leaving]
vwoo has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
akells` has quit [Remote host closed the connection]
Elico1 has joined #ruby
mocfive has quit [Read error: Connection reset by peer]
jbueza has quit [Quit: Leaving.]
mocfive has joined #ruby
freeayu has joined #ruby
arya has quit [Ping timeout: 260 seconds]
LennyLinux has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 256 seconds]
jonathanwallace has quit [Ping timeout: 256 seconds]
em0ral has joined #ruby
Elico2 has joined #ruby
vwoo has joined #ruby
<qfwfq> >>'workmad3: ' + [0x2665].pack('U')
<eval-in> qfwfq => "workmad3: ♥" (http://eval.in/32951)
* qfwfq giggles
apeiros_ has quit [Remote host closed the connection]
arya has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
_Andres has joined #ruby
apeiros has joined #ruby
Elico has quit [Ping timeout: 264 seconds]
johnrlive has joined #ruby
baordog has quit [Remote host closed the connection]
Elico1 has quit [Ping timeout: 276 seconds]
jonathanwallace has joined #ruby
Lubinski has quit [Quit: Leaving]
johnrlive has quit [Read error: Operation timed out]
em0ral has quit [Remote host closed the connection]
druonysus has quit [Quit: Konversation terminated!]
em0ral has joined #ruby
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
r0bby_ is now known as robbyoconnor
<em0ral> Helo
_Andres has quit [Ping timeout: 256 seconds]
Takehiro has joined #ruby
mocfive_ has joined #ruby
momomomomo has joined #ruby
moted has quit [Quit: moted]
joshu_ has joined #ruby
mocfive has quit [Ping timeout: 246 seconds]
joshu has quit [Ping timeout: 246 seconds]
vwoo has quit [Ping timeout: 256 seconds]
monkegjinni has joined #ruby
mansi has joined #ruby
vwoo has joined #ruby
Takehiro has quit [Ping timeout: 264 seconds]
DomKM has joined #ruby
DomKM has quit [Client Quit]
arya has quit [Ping timeout: 276 seconds]
forrest has quit [Quit: Leaving]
johnnyfuchs1 has quit [Ping timeout: 264 seconds]
arya has joined #ruby
mahmoudi_ has joined #ruby
wsterling has joined #ruby
vwoo has quit [Client Quit]
greenarrow|2 has joined #ruby
wsterling has quit [Remote host closed the connection]
phipes has quit [Quit: phipes]
thejefflarson___ has quit [*.net *.split]
SDr has quit [*.net *.split]
cam` has quit [*.net *.split]
wudofyr___ has quit [*.net *.split]
s_e has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
denken has quit [*.net *.split]
peterhellberg has quit [*.net *.split]
ninegrid has quit [*.net *.split]
qun_ has quit [*.net *.split]
jpun_ has quit [*.net *.split]
greenarrow has quit [*.net *.split]
AllStruck has quit [*.net *.split]
anekos has quit [*.net *.split]
Iszak has quit [*.net *.split]
radic__ has quit [*.net *.split]
Jalada has quit [*.net *.split]
foohey has quit [*.net *.split]
lusory has quit [*.net *.split]
`MArceLL` has quit [*.net *.split]
Kovensky has quit [*.net *.split]
lupine has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
k3rn3lito has quit [*.net *.split]
awwaiid has quit [*.net *.split]
brian` has quit [*.net *.split]
Weazy has quit [*.net *.split]
jacobw has quit [*.net *.split]
Scient has quit [*.net *.split]
Nom- has quit [*.net *.split]
framling_ has quit [*.net *.split]
jolleyjo1 has quit [*.net *.split]
mrmist has quit [*.net *.split]
Bry8Star{T2 has quit [*.net *.split]
cout has quit [*.net *.split]
Cork has quit [*.net *.split]
yxhuvud2 has quit [*.net *.split]
Guedes0 has joined #ruby
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
yxhuvud has joined #ruby
mklappstuhl has joined #ruby
SDr has joined #ruby
mahmoudimus has quit [Ping timeout: 279 seconds]
timonv has quit [Read error: No buffer space available]
ybart has quit [Quit: ybart]
timonv_ has joined #ruby
thejefflarson___ has joined #ruby
`MArceLL` has joined #ruby
icole_ has joined #ruby
peterhellberg has joined #ruby
cout has joined #ruby
denken has joined #ruby
anekos has joined #ruby
ybart has joined #ruby
wsterling has joined #ruby
sixteneighty has joined #ruby
jaredrhine has joined #ruby
foohey has joined #ruby
ybart has quit [Client Quit]
unstable has joined #ruby
awwaiid has joined #ruby
wudofyr___ has joined #ruby
Weazy has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
osvico has quit [Ping timeout: 273 seconds]
icole has quit [Ping timeout: 273 seconds]
joelteon has quit [Ping timeout: 273 seconds]
jgoss has quit [Ping timeout: 276 seconds]
jgoss has joined #ruby
jgoss has joined #ruby
jacobw has joined #ruby
joelteon has joined #ruby
cam` has joined #ruby
Cork has joined #ruby
brennanMKE has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
Michael__ has quit [Remote host closed the connection]
SDr has quit [Ping timeout: 246 seconds]
caleb_io has quit [Quit: caleb_io]
gensym` has joined #ruby
brennanMKE has joined #ruby
caleb_io has joined #ruby
stkowski has quit [Quit: stkowski]
SDr has joined #ruby
nezumi has quit [Ping timeout: 260 seconds]
Bleah has quit [Ping timeout: 260 seconds]
tomzx_mac has joined #ruby
jbinto has quit [Read error: Connection reset by peer]
jbinto- has joined #ruby
lupine has joined #ruby
Bry8Star{T2 has joined #ruby
s_e has joined #ruby
AllStruck has joined #ruby
ninegrid has joined #ruby
Jalada has joined #ruby
radic__ has joined #ruby
framling_ has joined #ruby
jpun_ has joined #ruby
brian` has joined #ruby
mrmist has joined #ruby
qun_ has joined #ruby
lusory has joined #ruby
Nom- has joined #ruby
Iszak has joined #ruby
k3rn3lito has joined #ruby
jolleyjo1 has joined #ruby
Scient has joined #ruby
Kovensky has joined #ruby
felixjet has joined #ruby
lupine has quit [Max SendQ exceeded]
lupine has joined #ruby
mercwithamouth has joined #ruby
fgro_ has joined #ruby
jetblack has quit [Quit: leaving]
tonini has quit [Quit: Lost terminal]
devoldmx has quit [Read error: Connection reset by peer]
fgro has quit [Ping timeout: 260 seconds]
<synthemesk> for some weird reason i'm banned from #rubyonrails....i'm not a troll i swear...any ideas on how to fix?
xardas has quit [Ping timeout: 264 seconds]
<banister`shop> synthemesk: msg an op
headius has quit [Quit: headius]
ivanoats has quit [Remote host closed the connection]
ariedler has quit [Remote host closed the connection]
ivanoats has joined #ruby
Michael__ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
dagnachew has quit [Quit: Leaving]
brotatos has quit [Quit: WeeChat 0.4.1]
gstamp has joined #ruby
_solomon has quit [Quit: _solomon]
lupine has quit [*.net *.split]
s_e has quit [*.net *.split]
qun_ has quit [*.net *.split]
ninegrid has quit [*.net *.split]
jpun_ has quit [*.net *.split]
AllStruck has quit [*.net *.split]
radic__ has quit [*.net *.split]
Iszak has quit [*.net *.split]
lusory has quit [*.net *.split]
Jalada has quit [*.net *.split]
Kovensky has quit [*.net *.split]
k3rn3lito has quit [*.net *.split]
brian` has quit [*.net *.split]
Scient has quit [*.net *.split]
framling_ has quit [*.net *.split]
mrmist has quit [*.net *.split]
jolleyjo1 has quit [*.net *.split]
Nom- has quit [*.net *.split]
Bry8Star{T2 has quit [*.net *.split]
headius has joined #ruby
greenarrow|3 has joined #ruby
<synthemesk> banister`shop: sorry, newb question...how do i find the ops, and then message them?
ivanoats has quit [Ping timeout: 264 seconds]
<banister`shop> synthemesk: radar is one
<banister`shop> i dont know of others :)
khismetix has quit [Read error: No buffer space available]
ner0x has joined #ruby
r0bgleeson has quit [Ping timeout: 248 seconds]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lupine has joined #ruby
Jalada has joined #ruby
jpun_ has joined #ruby
lusory has joined #ruby
s_e has joined #ruby
qun_ has joined #ruby
Nom- has joined #ruby
Kovensky has joined #ruby
Bry8Star{T2 has joined #ruby
k3rn3lito has joined #ruby
Scient has joined #ruby
jolleyjo1 has joined #ruby
Iszak has joined #ruby
brian` has joined #ruby
radic__ has joined #ruby
framling_ has joined #ruby
mrmist has joined #ruby
ninegrid has joined #ruby
AllStruck has joined #ruby
amedeiros has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has quit [Remote host closed the connection]
jds_ has quit [Remote host closed the connection]
greenarrow|2 has quit [Ping timeout: 276 seconds]
jds_ has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
jtharris has quit [Quit: WeeChat 0.4.0]
redgirl has quit [Ping timeout: 246 seconds]
wolcanus has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
arya has quit [Ping timeout: 256 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
ckrailo has joined #ruby
atyz has quit [Quit: Leaving...]
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby
em0ral has quit [Remote host closed the connection]
<synthemesk> banister`shop: weird, i get no such nick/channel...am i doing something wrong?
<Spooner> synthemesk, They banned the IP for one of the web clients, because someone said "Rails sucks" ;)
<Spooner> Might be caught by that.
arya has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
MistuhKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
amedeiros has quit [Ping timeout: 260 seconds]
<Spooner> synthemesk, Since you are using the web chat, that is.
verto has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<synthemesk> Spooner: ah, thanks...
amedeiros has joined #ruby
jkline has quit [Quit: jkline]
<synthemesk> colloquy here i come..
enebo has quit [Quit: enebo]
jds_ has quit [Ping timeout: 276 seconds]
kil0byte has quit [Read error: Connection reset by peer]
synthemesk has quit [Quit: Page closed]
kil0byte has joined #ruby
synthemesk_ has joined #ruby
<synthemesk_> ah that's better
arya has quit [Ping timeout: 260 seconds]
k610 has joined #ruby
<synthemesk_> hmm…why does my nick have an underscore after it though… :/
ppppaul has quit [Ping timeout: 248 seconds]
baroquebobcat has quit [Read error: Connection reset by peer]
<Spooner> Because the old you hadn't logged out fully when you re-logged?
insel has quit []
jkline has joined #ruby
synthemesk_ has left #ruby [#ruby]
enebo has joined #ruby
enebo has quit [Client Quit]
dcunit3d has joined #ruby
synthemesk has joined #ruby
synthemesk has left #ruby [#ruby]
poga has joined #ruby
arya has joined #ruby
amedeiros has quit [Ping timeout: 264 seconds]
poga has quit [Remote host closed the connection]
poga has joined #ruby
amedeiros has joined #ruby
geggam has quit [Remote host closed the connection]
lushious has quit [Quit: "harp darp"]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
synthemesk has joined #ruby
<synthemesk> Spooner: thanks!
amedeiros has quit [Read error: Connection reset by peer]
jbinto- has quit [Remote host closed the connection]
dcunit3d has quit [Quit: leaving]
tvw has quit [Ping timeout: 240 seconds]
malkomalko has joined #ruby
amedeiros has joined #ruby
johnrlive has joined #ruby
slash_nick has quit [Ping timeout: 259 seconds]
atyz has joined #ruby
brianpWins has quit [Quit: brianpWins]
johnrlive has quit [Read error: Operation timed out]
cofin has quit [Quit: cofin]
fgro_ has quit [Ping timeout: 276 seconds]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
r0bgleeson has joined #ruby
helvete has joined #ruby
atyz has quit [Read error: Connection reset by peer]
amedeiros has quit [Ping timeout: 246 seconds]
jbueza has joined #ruby
saarinen has joined #ruby
jimg has joined #ruby
amedeiros has joined #ruby
ariedler has joined #ruby
akells` has joined #ruby
slainer68 has quit [Remote host closed the connection]
ivanoats has joined #ruby
MrZYX is now known as MrZYX|off
wsterling has quit [Remote host closed the connection]
khismetix has joined #ruby
amedeiros has quit [Ping timeout: 256 seconds]
jimg has quit [Ping timeout: 256 seconds]
predator217 has joined #ruby
khismetix has quit [Client Quit]
anonymuse has quit [Quit: Leaving...]
amedeiros has joined #ruby
akells` has quit [Ping timeout: 276 seconds]
ivanoats has quit [Ping timeout: 246 seconds]
m8 has quit [Quit: Sto andando via]
zXr has joined #ruby
predator117 has quit [Ping timeout: 276 seconds]
Cyrus has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
amedeiros has quit [Ping timeout: 256 seconds]
arya has quit [Ping timeout: 276 seconds]
banister`shop has quit [Ping timeout: 256 seconds]
osvico has joined #ruby
jds_ has joined #ruby
amedeiros has joined #ruby
vwoo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
nacsurte has joined #ruby
amedeiros has quit [Read error: Connection reset by peer]
ariedler has quit [Ping timeout: 276 seconds]
jonathanwallace has quit [Ping timeout: 256 seconds]
rhys has quit [Quit: Leaving]
Sc0rp10n has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby
monstercock has joined #ruby
<monstercock> I AM A RUBY-FAN
Tarential has quit [Quit: Terminated with extreme prejudice - dircproxy 1.0.5]
alexwh has left #ruby [#ruby]
<monstercock> YO
amedeiros has joined #ruby
emmanuelux has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
arya has joined #ruby
amedeiros has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
vwoo has quit [Ping timeout: 246 seconds]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
failshell has joined #ruby
_solomon has joined #ruby
_solomon has quit [Client Quit]
jacktrick has joined #ruby
vwoo has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
amedeiros has joined #ruby
iamjarvo has joined #ruby
Tarential has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
sailias has joined #ruby
momomomomo has quit [Quit: momomomomo]
monstercock has left #ruby [#ruby]
Davey has joined #ruby
pskosinski has quit [Quit: pskosinski]
Davey has quit [Max SendQ exceeded]
Davey has joined #ruby
Davey has quit [Client Quit]
takeru has joined #ruby
amedeiros has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
amedeiros has joined #ruby
banjara has quit [Quit: Leaving.]
iamjarvo has quit [Quit: iamjarvo]
druonysus has quit [Quit: Konversation terminated!]
athst has joined #ruby
arya has quit [Ping timeout: 256 seconds]
Meatant has quit [Ping timeout: 276 seconds]
statarb3 has quit [Quit: Leaving]
amedeiros has quit [Ping timeout: 264 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
amedeiros has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
athst has quit [Client Quit]
arya has joined #ruby
athst has joined #ruby
danslo has quit [Quit: danslo]
ner0x has quit [Quit: Leaving]
evenix has joined #ruby