apeiros changed the topic of #ruby-lang to: RIP Jim || Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
marr has quit []
jason_ has quit [Ping timeout: 240 seconds]
jsutt has joined #ruby-lang
dstynchula has quit []
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gianlucadv has quit [Ping timeout: 240 seconds]
_rgn has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
_rgn has joined #ruby-lang
willmarshall has quit [Quit: Textual IRC Client: www.textualapp.com]
mykoweb has joined #ruby-lang
LMity has joined #ruby-lang
willmarshall has joined #ruby-lang
gianlucadv has joined #ruby-lang
toastynerd has joined #ruby-lang
LMity has quit [Ping timeout: 240 seconds]
lolmaus has quit [Ping timeout: 250 seconds]
karamazov has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
seanot has joined #ruby-lang
ap4y has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby-lang
michaeldeol has joined #ruby-lang
seanot has quit [Remote host closed the connection]
michaeldeol has quit [Client Quit]
<glide> Anyone wanna rate my solution to Project Euler problem #2? https://gist.github.com/anonymous/10213465
toretore has quit [Read error: Connection reset by peer]
<wallerdev> i rate it a 1/10
<wallerdev> based on you using { and } with multiline block
toretore has joined #ruby-lang
jason_ has joined #ruby-lang
<wallerdev> and not indenting your while loop
alexju has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
<glide> wallerdev, good points. I switched the {}'s to do/end and indented the while loop. Should I indent the if/end inside the block?
<wallerdev> yeah indent every block
<wallerdev> you could probably do the summing during the while loop
<wallerdev> then you wouldnt need a list of evens
<wallerdev> or an inject at the end
<havenwood> glide: `a.even?` instead of `a % 2 == 0`
<wallerdev> yeah i guess with that you might just write series.select(:even?).reduce(:+)
<glide> Ok, let me think about this. But is inject the best way to sum an array?
<centrx> glide, Yes
<centrx> glide, ActiveSupport/Rails has #sum
<glide> centrx, thanks. Ok, I plan to move on to Rails once I get the hang of Ruby :)
tkuchiki has quit [Remote host closed the connection]
<wallerdev> rails is on the way out
<wallerdev> everyones switching to node.js
<wallerdev> :p
<glide> wallerdev, the problem with summing during the while loop is that the final value (as the loop is currently constructed) will always have the chance to return something higher than 4,000,000 so I need to call pop before summing
centrx has quit [Quit: All this computer hacking is making me thirsty]
<glide> wallerdev, is that true? I'd like to pick up some marketable skills so I figured Ruby/Rails was a good choice.
knu has quit [Ping timeout: 240 seconds]
<wallerdev> yeah rails is pretty marketable
<wallerdev> im just kidding around haha
mistym has quit [Quit: Leaving]
<wallerdev> node is growing though
<wallerdev> are you in SF?
<glide> wallerdev, :) cool. I'm trying to learn the fundamentals so that I can pick up other languages soon after. I'm not wedded to Ruby or anything.
<glide> No, I'm mostly in Philly.
<wallerdev> yeah as long as you have the fundamentals you should be able to pick up most languages pretty quickly
stardiviner has quit [Ping timeout: 240 seconds]
<wallerdev> not sure what the job market is in philly, but you can search online and see what the companies you might want to work for or asking from their job postings
iliketurtles has quit [Quit: zzzzz…..]
<wallerdev> i know when i was in michigan, a lot of stuff was just java/.NET
<wallerdev> but the job market is awful in michigan haha
dorei has quit []
<glide> I'm flexible between Philly and NY, but I've seen a decent amount of Rails listings near Philly.
<glide> Yeah, I bet.
<glide> Where are you now? (There are actually a lot of .NET listings here too)
<wallerdev> san francisco
seanot has joined #ruby-lang
<glide> Cool.
toretore has quit [Quit: Leaving]
<wallerdev> yeah i love it here
amsi has quit [Quit: Leaving]
<glide> I visited a few months ago. It's beautiful.
seanot has quit [Remote host closed the connection]
<glide> series.each{|a| a.even? evens << a} do I still need a conditional there?
<wallerdev> yeah that wont run
<wallerdev> you can rewrite it as evens = series.select { |a| a.even? }
mistym has joined #ruby-lang
<wallerdev> or evens = series.select(&:even?)
<glide> Ok, thanks.
<wallerdev> select basically filters through the results, so itll return all the results that cause the block to be true
<glide> (&:even?) is basically equivalent to {|a| a.even?}
fezziwig has joined #ruby-lang
<wallerdev> yeah it's just a shorthand
allomov has joined #ruby-lang
RobertBirnie has joined #ruby-lang
<wallerdev> invented by rails then merged into standard ruby haha
ap4y has joined #ruby-lang
<glide> Oh, interesting.
fezziwig has quit [Remote host closed the connection]
RobertBirnie has quit [Client Quit]
seanot has joined #ruby-lang
allomov has quit [Ping timeout: 246 seconds]
Guest___ has joined #ruby-lang
richardardrichar has joined #ruby-lang
saarinen has quit [Quit: saarinen]
toastynerd has joined #ruby-lang
tkuchiki has joined #ruby-lang
thrillagorilla has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seanot has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
nifoc has quit [Quit: Quit]
MrL0ngbowman has joined #ruby-lang
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
nifoc has joined #ruby-lang
Speed has quit [Ping timeout: 246 seconds]
MrL0ngbowman has quit [Ping timeout: 246 seconds]
glide has quit [Quit: Leaving]
MrL0ngbowman has joined #ruby-lang
pixelhandler has quit [Quit: pixelhandler]
ascarter has joined #ruby-lang
sepp2k1 has quit [Quit: Leaving.]
jason_ has quit [Remote host closed the connection]
jason_ has joined #ruby-lang
rahul_j has joined #ruby-lang
Willox has quit [Quit: Connection closed for inactivity]
alexju has joined #ruby-lang
danijoo has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
cored has quit [Ping timeout: 240 seconds]
ap4y has quit [Remote host closed the connection]
matp has joined #ruby-lang
vondruch has quit [Ping timeout: 240 seconds]
ap4y has joined #ruby-lang
jxpx777 has quit [Quit: Leaving...]
jxpx777 has joined #ruby-lang
MrL0ngbowman has left #ruby-lang ["http://quassel-irc.org - Chat comfortably. Anywhere."]
jxpx777 has quit [Read error: Connection reset by peer]
jxpx777_ has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
zlogan has joined #ruby-lang
zlogan has quit [Ping timeout: 246 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit []
jxpx777_ has quit [Quit: Leaving...]
jaimef has quit [Excess Flood]
rahul_j has quit [Quit: rahul_j]
jaimef has joined #ruby-lang
bougyman has quit [Quit: ZNC - http://znc.in]
alexju_ has joined #ruby-lang
alexju has quit [Ping timeout: 240 seconds]
alexju_ has quit [Remote host closed the connection]
alekst has quit [Quit: Computer has gone to sleep.]
alexju has joined #ruby-lang
richardardrichar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bougyman has joined #ruby-lang
bougyman is now known as Guest47827
diegoviola has joined #ruby-lang
alexju has quit [Ping timeout: 240 seconds]
centrx has joined #ruby-lang
stardiviner has joined #ruby-lang
alexju has joined #ruby-lang
knu has joined #ruby-lang
seanot has joined #ruby-lang
machuga has left #ruby-lang ["Bye!"]
marcdel has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
robbyoconnor has joined #ruby-lang
marcdel_ has joined #ruby-lang
allomov has joined #ruby-lang
marcdel has quit [Ping timeout: 240 seconds]
stardiviner has quit [Ping timeout: 240 seconds]
knu has quit [Ping timeout: 250 seconds]
justinmcp has quit [Remote host closed the connection]
allomov has quit [Ping timeout: 250 seconds]
justinmcp has joined #ruby-lang
saarinen has joined #ruby-lang
TheMoonMaster has quit [Excess Flood]
karamazo_ has joined #ruby-lang
kitak_ has joined #ruby-lang
ascarter has joined #ruby-lang
postmodern has quit [Quit: Leaving]
karamazov has quit [Ping timeout: 246 seconds]
jason_ has quit [Remote host closed the connection]
kitak has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
glide has joined #ruby-lang
havenwood has joined #ruby-lang
karamazo_ has quit [Read error: Connection reset by peer]
TheMoonMaster has joined #ruby-lang
karamazov has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
seanot has quit [Remote host closed the connection]
karamazov has quit [Remote host closed the connection]
Guest___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
karamazov has joined #ruby-lang
amclain has joined #ruby-lang
jason_ has joined #ruby-lang
karamazov has quit [Ping timeout: 240 seconds]
glide has quit [Quit: Leaving]
robbyoconnor has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby-lang
michaeldeol has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has joined #ruby-lang
jason_ has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
mykoweb has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
karamazov has quit [Client Quit]
Guest47827 has quit [Changing host]
Guest47827 has joined #ruby-lang
Guest47827 is now known as bougyman
hakunin has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
hakunin has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
nisstyre has joined #ruby-lang
yfeldblum has joined #ruby-lang
pixelhandler has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 246 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain_ has joined #ruby-lang
jsullivandigs has joined #ruby-lang
ascarter has joined #ruby-lang
pixelhandler has quit [Quit: pixelhandler]
amclain has quit [Ping timeout: 264 seconds]
tris has quit [Ping timeout: 264 seconds]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
karamazov has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
rahul_j has joined #ruby-lang
michaeldeol has joined #ruby-lang
RobertBirnie has joined #ruby-lang
RobertBirnie has quit [Client Quit]
_ht has joined #ruby-lang
phansch has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
Coincidental has quit [Remote host closed the connection]
jsutt has quit [Ping timeout: 240 seconds]
skade has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
ap4y has quit []
saarinen has quit [Quit: saarinen]
kitak_ has quit [Remote host closed the connection]
tacit7 has joined #ruby-lang
kitak has joined #ruby-lang
Rylee has quit [Remote host closed the connection]
Rylee has joined #ruby-lang
allomov has joined #ruby-lang
stardiviner has joined #ruby-lang
knu has joined #ruby-lang
allomov has quit [Ping timeout: 246 seconds]
jason_ has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
jason_ has quit [Ping timeout: 240 seconds]
karamazov has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
RobertBirnie has joined #ruby-lang
charliesome has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby-lang
knu has quit [Ping timeout: 250 seconds]
pixelhandler has joined #ruby-lang
karamazov has joined #ruby-lang
heftig has quit [Quit: Quitting]
diegovio1 has joined #ruby-lang
thrillagorilla has quit []
yfeldblu_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
diegovio1 is now known as diegoviola
mistym has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
diegovio1 has joined #ruby-lang
diegoviola is now known as Guest28903
diegovio1 is now known as diegoviola
Guest28903 has quit [Ping timeout: 250 seconds]
tacit7 has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
achal has joined #ruby-lang
jaimef has quit [Excess Flood]
ur5us has joined #ruby-lang
fragamus has joined #ruby-lang
diegovio1 has joined #ruby-lang
diegoviola is now known as Guest77543
diegovio1 is now known as diegoviola
Guest77543 has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
ur5us has quit [Ping timeout: 240 seconds]
jaimef has joined #ruby-lang
diegoviola has quit [Ping timeout: 246 seconds]
slawrence00 has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Burgestrand has joined #ruby-lang
pixelhandler has quit [Quit: pixelhandler]
amclain_ has quit [Quit: Leaving]
karamazov has quit [Read error: Connection reset by peer]
karamazo_ has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
mechan1c has joined #ruby-lang
yfeldblum has joined #ruby-lang
centrx has joined #ruby-lang
ryez has joined #ruby-lang
mechan1c_ has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
yfeldblu_ has joined #ruby-lang
diegoviola has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
rahul_j has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
LMity has joined #ruby-lang
yfeldblum has joined #ruby-lang
gwatch has joined #ruby-lang
tyrbo_ has joined #ruby-lang
tyrbo has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby-lang
alexju has quit [Remote host closed the connection]
LMity has quit [Ping timeout: 240 seconds]
willmarshall has quit [Quit: Textual IRC Client: www.textualapp.com]
diegoviola has quit [Ping timeout: 240 seconds]
ikrima has quit [Ping timeout: 240 seconds]
diegovio1 has joined #ruby-lang
relix has joined #ruby-lang
diegovio1 is now known as diegoviola
dsaint-pierre has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
tyrbo_ is now known as tyrbo
toastynerd has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
LMity has joined #ruby-lang
RobertBirnie has joined #ruby-lang
x0f_ has joined #ruby-lang
dagobah has joined #ruby-lang
x0f has quit [Ping timeout: 265 seconds]
danijoo_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
iliketurtles has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
skade has joined #ruby-lang
zlogan has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
robmiller has quit [Quit: Leaving.]
diegoviola has joined #ruby-lang
vondruch has joined #ruby-lang
apeiros has joined #ruby-lang
Abuh has joined #ruby-lang
mistym has quit [Remote host closed the connection]
LMity has quit [Read error: Connection reset by peer]
LMity has joined #ruby-lang
LMity has quit [Client Quit]
iliketurtles has quit [Quit: zzzzz…..]
havenwood has joined #ruby-lang
karamazo_ has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
allomov has joined #ruby-lang
solars has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
karamazov has joined #ruby-lang
marcdel_ has quit []
allomov has quit [Ping timeout: 240 seconds]
surrounder has quit [Ping timeout: 252 seconds]
RobertBirnie has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
robmiller has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
ruskie has quit [Excess Flood]
Asher has quit [Ping timeout: 255 seconds]
ruskie has joined #ruby-lang
CaptainJet has quit [Ping timeout: 250 seconds]
surrounder has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
havenwood has quit [Ping timeout: 246 seconds]
CaptainJet has joined #ruby-lang
Asher has joined #ruby-lang
robmiller1 has joined #ruby-lang
CaptainJet has quit [Ping timeout: 240 seconds]
knu has joined #ruby-lang
robmiller has quit [Ping timeout: 240 seconds]
robmiller1 is now known as robmiller
workmad3 has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Quit: zzzzz…..]
knu has quit [Ping timeout: 250 seconds]
apeiros has joined #ruby-lang
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby-lang
shireesh has joined #ruby-lang
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby-lang
glide has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
<glide> Can someone let me know why this doesn't work: https://gist.github.com/anonymous/10237779
<apeiros> because primes don't stop at 9
<glide> Oh, interesting. I never thought about that.
kgrz has joined #ruby-lang
<Abuh> If you're trying to find primes look at this http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
<apeiros> or rubys stdlib: Prime
<glide> Ok.
<glide> That code doesn't print anything, doesn't return anything.
<Abuh> Yea but Prime is no fun when you're doing Project Euler questions
<glide> Heh.
shireesh has quit [Quit: Leaving]
<apeiros> Abuh: well, I did project euler before Prime was usable. precalculating the first 1e6 prime numbers and using those to solve all prime related eulers isn't much more fun
<apeiros> btw.: remember to use a different strat than the default when you use Prime
<apeiros> the default one is slow as fuck
<glide> How slow? When I run the script I wrote it takes minutes (assuming it's still processing it at all)
<Abuh> True, but it's not a bad idea to read up on the sieve of Eratosthenes to figure out how primes are usually calculated.
danijoo_ has quit [Quit: Leaving...]
<apeiros> glide: Prime. not your code.
joonty_ has joined #ruby-lang
sdouglas has joined #ruby-lang
mikecmpbll has joined #ruby-lang
TvL2386 has joined #ruby-lang
michd is now known as MichD
face has quit [Ping timeout: 240 seconds]
face has joined #ruby-lang
benlovell has joined #ruby-lang
kitak has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 250 seconds]
kitak has joined #ruby-lang
seanot has joined #ruby-lang
nisstyre has quit [Quit: WeeChat 0.4.3]
CaptainJet has joined #ruby-lang
seanot has quit [Ping timeout: 240 seconds]
joonty_ has quit [Quit: WeeChat 0.4.2]
joonty has joined #ruby-lang
karamazov has joined #ruby-lang
gwatch has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby-lang
c_s_g_ has joined #ruby-lang
glide has quit [Ping timeout: 250 seconds]
marr has joined #ruby-lang
havenwood has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
alex-quiterio has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
elia has joined #ruby-lang
phansch has joined #ruby-lang
ggherdov_ is now known as ggherdov
<yorickpeterse> morning
ikrima has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby-lang
gwatch has joined #ruby-lang
gwatch has quit [Ping timeout: 246 seconds]
qba73 has joined #ruby-lang
rahul_j has joined #ruby-lang
davs has joined #ruby-lang
gwatch has joined #ruby-lang
yann_ck has joined #ruby-lang
m4t- has quit [Remote host closed the connection]
gwatch has quit [Ping timeout: 240 seconds]
heftig has joined #ruby-lang
francisfish has joined #ruby-lang
allomov has joined #ruby-lang
havenwood has joined #ruby-lang
JohnBat26 has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister_ has quit [Read error: Connection reset by peer]
seanot has joined #ruby-lang
banister has joined #ruby-lang
arBmind has joined #ruby-lang
allomov has quit [Ping timeout: 240 seconds]
allomov has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
Fushi has joined #ruby-lang
seanot has quit [Ping timeout: 240 seconds]
grahamsavage has joined #ruby-lang
relix has joined #ruby-lang
<grahamsavage> how do i install a specific version of ruby in ubuntu 12.04?
<canton7> look at rvm, chruby, rbenv
canton7-mac has joined #ruby-lang
rahul_j has quit [Ping timeout: 240 seconds]
allomov has quit [Remote host closed the connection]
symm- has joined #ruby-lang
hhatch has joined #ruby-lang
rahul_j has joined #ruby-lang
knu has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<darix> grahamsavage: what is wrong with the ruby that comes with your ubuntu?
<workmad3> darix: do you mean other than that ubuntu/debian packages are split up oddly? or that, for ABI and backwards compatibility reasons, ubuntu gives you a ruby-1.9.1 package that installs ruby 1.9.3?
bin7me has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
Speed has joined #ruby-lang
davs has quit [Quit: Lost terminal]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
francisfish has quit [Remote host closed the connection]
maoko has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phansch has joined #ruby-lang
francisfish has joined #ruby-lang
maoko has quit [Client Quit]
<grahamsavage> darix: erm need a specific version
<workmad3> grahamsavage: ruby-install is my preferred mechanism
<grahamsavage> workmad: thanks i'll check it out
skade has quit [Quit: Computer has gone to sleep.]
<workmad3> grahamsavage: coupled with chruby... but if you don't need multiple versions, you could just use ruby-install and add the appropriate PATHs
<grahamsavage> yeah i only need a single version
skade has joined #ruby-lang
sdouglas has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
seanot has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
havenwood has quit [Ping timeout: 250 seconds]
maoko has joined #ruby-lang
seanot has quit [Ping timeout: 240 seconds]
allomov has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
Speed has quit [Ping timeout: 250 seconds]
relix has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
symm- has quit [Quit: Leaving...]
x0f_ has quit [Ping timeout: 246 seconds]
mehlah has joined #ruby-lang
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
karamazov has quit [Ping timeout: 250 seconds]
rahul_j has quit [Quit: rahul_j]
francisfish has joined #ruby-lang
karamazov has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
Speed has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
symm- has joined #ruby-lang
stamina has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
rahul_j has joined #ruby-lang
solars has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
grahamsavage has quit [Ping timeout: 250 seconds]
grahamsavage has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
ikrima has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby-lang
CaptainJet has quit []
grahamsavage has quit [Ping timeout: 240 seconds]
grahamsavage has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
dsaint-pierre has joined #ruby-lang
havenwood has joined #ruby-lang
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
seanot has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby-lang
seanot has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
karamazov has joined #ruby-lang
toretore has joined #ruby-lang
bruno- has joined #ruby-lang
charliesome has joined #ruby-lang
alexju has joined #ruby-lang
alexju has quit [Read error: No route to host]
richardardrichar has joined #ruby-lang
davispuh has joined #ruby-lang
benlovell has joined #ruby-lang
diegoviola has joined #ruby-lang
scmx has joined #ruby-lang
cnivolle has joined #ruby-lang
scmx has quit [Client Quit]
simono has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
alekst has joined #ruby-lang
canton7-mac has quit [Read error: Connection reset by peer]
canton7-mac has joined #ruby-lang
francisfish has joined #ruby-lang
diegoviola has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
Voker57 has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
apt-get has joined #ruby-lang
Coincidental has joined #ruby-lang
seanot has joined #ruby-lang
alex-quiterio has quit [Quit: Leaving.]
yalue has joined #ruby-lang
apt-get is now known as sarkyniin
kitak has quit [Remote host closed the connection]
jxie has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
richardardrichar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 250 seconds]
seanot has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby-lang
alex-quiterio has joined #ruby-lang
[spoiler] has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
mehlah has joined #ruby-lang
jgpawletko has joined #ruby-lang
stamina has quit [Quit: WeeChat 0.4.3]
dsaint-pierre has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
yfeldblum has joined #ruby-lang
jsutt has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
jsutt has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 240 seconds]
fbernier has joined #ruby-lang
heftig has quit [Ping timeout: 240 seconds]
ahf has quit [Remote host closed the connection]
richardardrichar has joined #ruby-lang
heftig has joined #ruby-lang
kitak has joined #ruby-lang
ahf has joined #ruby-lang
karamazo_ has joined #ruby-lang
Coincidental has joined #ruby-lang
karamazov has quit [Ping timeout: 246 seconds]
melter has joined #ruby-lang
enebo has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
jxpx777 has joined #ruby-lang
machuga has joined #ruby-lang
Coincidental has joined #ruby-lang
tkuchiki has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
Coincide_ has joined #ruby-lang
Coincidental has quit [Ping timeout: 240 seconds]
slacker101 has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
caral has joined #ruby-lang
francisfish has joined #ruby-lang
seanot has joined #ruby-lang
mbj has joined #ruby-lang
alexju has joined #ruby-lang
AncientAmateur has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
momomomomo has quit [Ping timeout: 240 seconds]
foucist has joined #ruby-lang
<foucist> is there anything similar to .tap that returns the full object?
<apeiros> as opposed to tap, which returns … the full object?
<yorickpeterse> return the_object
<foucist> apeiros: what? it does? i thought it was more like map
<apeiros> foucist: obj.tap { … } returns obj
<apeiros> I have no idea how "being more like map" would work for tap
nathanstitt has joined #ruby-lang
<foucist> [1,2,3].tap {|x| puts x } [1,2,3].map {|x| puts x } same output (puts-wise)
<apeiros> dude, *puts* is not *return value*
<foucist> [1,2,3] is the full object
<foucist> how do i access that in .tap{} ?
<apeiros> somehow I think you have no idea what tap does
<apeiros> I suggest you read its docs
<yorickpeterse> foucist: what are you trying to do that requires #tap?
<foucist> something like: remainder, result = (arr = [1,2,3]).pop(2), arr
<foucist> where i can name an array in the middle of a chain
mykoweb has joined #ruby-lang
<yorickpeterse> eh?
<yorickpeterse> Are you trying to unpack an Array?
<foucist> [1,2,3].map{}.select{}.tap{ arr = current status}.whatever.uniq, arr
<foucist> nope
<yorickpeterse> what's wrong with #each in that example?
* apeiros senses somebody who tries to be too clever
<canton7> dude, two statements, please. arr = [1, 2, 3].map{}.select{}; arr.whatever.uniq
<foucist> brb
<apeiros> nothing wrong with using more than a single line of code.
<canton7> you'd have to use two lines with #tap anyway, otherwise your 'arr' will be scoped only to tap's block
<apeiros> understanding tap is still worthwhile, though
<toretore> arr, other = ->(a){ [a, a.pop] }.([1,2,3])
francisfish has quit [Remote host closed the connection]
<canton7-mac> that code is really non-obvious to the casual observer
<canton7-mac> (because of the mutation done by #pop)
yfeldblum has joined #ruby-lang
<foucist> basically i wanted to keep it as a oneliner
<foucist> which i wasn't able to
francisfish has joined #ruby-lang
<foucist> seems a bit weird to me there isn't a form of pop or slice that returns two arrays, one for the result & one for the remainder
caral has quit [Quit: caral]
<canton7-mac> that's because you're missing the syntax that does do that
<canton7-mac> *rest, last = [1, 2, 3]
<canton7-mac> >> *rest, last = [1, 2, 3]
<eval-in> canton7-mac => [1, 2, 3] (https://eval.in/134444)
TvL2386 has quit [Remote host closed the connection]
<canton7-mac> >> *rest, last = [1, 2, 3]; p rest; p last
<eval-in> canton7-mac => [1, 2] ... (https://eval.in/134445)
Nilium has quit [Ping timeout: 240 seconds]
<canton7-mac> well, you get the idea
<foucist> oh shit, that's nice
<canton7-mac> :)
<foucist> what about more htan 1 item in the last ?
<foucist> like [1,2,3,4,5] => rest = [1,2,3] last = [4,5] ?
yfeldblum has quit [Ping timeout: 240 seconds]
Liru has quit [Ping timeout: 240 seconds]
yeltzooo has quit [Ping timeout: 240 seconds]
<canton7-mac> not aware of any one-liners
Liru has joined #ruby-lang
yeltzooo has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
Nilium has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
cored has quit [Ping timeout: 240 seconds]
<toretore> >> arr, other = ->(a){ [a[0,3], a[3,2]] }.([1,2,3,4,5])
<eval-in> toretore => [[1, 2, 3], [4, 5]] (https://eval.in/134446)
slacker101 has quit [Ping timeout: 246 seconds]
Tn6o has joined #ruby-lang
AncientA_ has joined #ruby-lang
bruno- has quit [Quit: leaving]
caral has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
dsaint-p_ has joined #ruby-lang
AncientA_ has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
sdouglas has joined #ruby-lang
richardardrichar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cakey has joined #ruby-lang
dsaint-pierre has quit [Ping timeout: 240 seconds]
karamazo_ has quit []
cored has joined #ruby-lang
cored has joined #ruby-lang
rahul_j has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
richardardrichar has joined #ruby-lang
havenwood has joined #ruby-lang
agarie has quit [Remote host closed the connection]
dik_dak has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby-lang
caral has quit [Quit: caral]
bin7me has quit [Quit: Leaving]
nathanstitt has quit [Quit: I growing sleepy]
skade has quit [Quit: Computer has gone to sleep.]
scmx has joined #ruby-lang
fjfish has joined #ruby-lang
skade has joined #ruby-lang
francisfish has quit [Ping timeout: 250 seconds]
tea-boy has joined #ruby-lang
nathanstitt has joined #ruby-lang
huug has joined #ruby-lang
huug has quit [Client Quit]
slawrence00 has joined #ruby-lang
ndrst has quit [Quit: WeeChat 0.4.1]
tkuchiki has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
tkuchiki has joined #ruby-lang
alexju has quit [Read error: Connection reset by peer]
ndrst has joined #ruby-lang
allomov_ has joined #ruby-lang
allomov_ has quit [Remote host closed the connection]
allomov_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
allomov_ has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
allomov has quit [Ping timeout: 240 seconds]
alexju has joined #ruby-lang
rahul_j_ has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phansch has quit [Quit: WeeChat 0.4.2]
allomov has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
nathanstitt has joined #ruby-lang
rahul_j has quit [Ping timeout: 246 seconds]
malconis has joined #ruby-lang
rahul_j_ is now known as rahul_j
|jemc| has joined #ruby-lang
allomov_ has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
rahul_j has quit [Client Quit]
apeiros has joined #ruby-lang
allomov has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 246 seconds]
kgrz has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 246 seconds]
itsmynick has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
solars has quit [Ping timeout: 240 seconds]
kgrz has joined #ruby-lang
relix has joined #ruby-lang
agarie has joined #ruby-lang
itsmynick has quit [Ping timeout: 240 seconds]
kgrz has quit [Ping timeout: 240 seconds]
agarie has quit [Ping timeout: 250 seconds]
Silicium has joined #ruby-lang
<Silicium> hi there
<Silicium> i just have a question regarding rest-client gem
<Silicium> how is connection pooling/handling handled there?
jsullivandigs has joined #ruby-lang
<Silicium> on stresstest, our applications opens 250k connections to the rest api but closes the connections very slowly
<Silicium> why is the connection not closed imediantly after receiving the response?
alekst has quit [Quit: Leaving...]
<canton7-mac> you probably want to raise an issue against rest-client for that
dwknoxy has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
<yorickpeterse> Silicium: that could due to 1..ALOT of reasons
<yorickpeterse> e.g. the socket being kept around for a while, the kernel not releasing them right away due to 15 different configs, bugs, etc
AncientAmateur has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
toastynerd has joined #ruby-lang
Cakey has joined #ruby-lang
jxie has quit [Quit: leaving]
Burgestrand has quit [Quit: Burgestrand]
dik_dak has quit [Ping timeout: 240 seconds]
danijoo has quit [Remote host closed the connection]
whitecrow1 has joined #ruby-lang
allomov_ has quit [Remote host closed the connection]
allomov has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
dik_dak has joined #ruby-lang
<yorickpeterse> benlovell: yo re the Carrierwave stuff, your only option there is to either reduce the amount of image operations or not use S3
<yorickpeterse> I don't think you can mount S3 buckets as EBS disks
<yorickpeterse> Basically any non local storage for CW will suffer from the same problems
<yorickpeterse> CarrierWave also does some BS where it re-creates your upload instances 15 billion times
richardardrichar has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> * uploader
tsou has quit [Quit: off]
dsaint-p_ has quit [Remote host closed the connection]
zlogan has quit [Ping timeout: 244 seconds]
dsaint-pierre has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
foucist has left #ruby-lang [#ruby-lang]
lolmaus has joined #ruby-lang
rippa has joined #ruby-lang
Rickmasta has quit [Quit: Leaving]
robmiller has quit [Quit: Leaving.]
phansch has joined #ruby-lang
tsou has joined #ruby-lang
Cakey has quit [Ping timeout: 250 seconds]
Rickmasta has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby-lang
vpretzel has quit [Quit: Adios!]
DEac- has quit [Ping timeout: 252 seconds]
kgrz has joined #ruby-lang
vpretzel has joined #ruby-lang
michaeldeol has joined #ruby-lang
agarie has joined #ruby-lang
agarie_ has joined #ruby-lang
agarie has quit [Read error: Connection reset by peer]
dagobah has quit [Quit: Leaving...]
AncientAmateur has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
DEac- has joined #ruby-lang
marcdel has joined #ruby-lang
heftig has quit [Quit: Quitting]
jhass|off is now known as jhass
marcdel_ has joined #ruby-lang
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcdel has quit [Ping timeout: 246 seconds]
benlovell has quit [Ping timeout: 240 seconds]
mykoweb has joined #ruby-lang
pixelhandler has joined #ruby-lang
mistym has quit [Remote host closed the connection]
marcdel_ has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Read error: Connection reset by peer]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcdel has joined #ruby-lang
wallerdev has joined #ruby-lang
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
apeiros has quit [Ping timeout: 240 seconds]
__butch__ has joined #ruby-lang
itsraining has joined #ruby-lang
amsi has joined #ruby-lang
itsraining has quit [Client Quit]
bahar has quit [Ping timeout: 264 seconds]
bahar has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
canton7-mac has quit [Quit: Leaving]
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yann_ck has joined #ruby-lang
nathanstitt has joined #ruby-lang
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
weeems has joined #ruby-lang
weeems has quit [Excess Flood]
hexreel has joined #ruby-lang
weems has quit [Ping timeout: 240 seconds]
weeems has joined #ruby-lang
weeems is now known as weems
weems has quit [Excess Flood]
weems has joined #ruby-lang
weems has quit [Excess Flood]
vsorlov has joined #ruby-lang
weems has joined #ruby-lang
weems has quit [Excess Flood]
weems has joined #ruby-lang
weems has joined #ruby-lang
weems has quit [Changing host]
weems has quit [Excess Flood]
saarinen has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
nisstyre has joined #ruby-lang
rahul_j has joined #ruby-lang
apeiros has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 247 seconds]
AncientAmateur has joined #ruby-lang
dstynchula has joined #ruby-lang
amsi has quit [Quit: Leaving]
toastynerd has joined #ruby-lang
RobertBirnie has joined #ruby-lang
gix has quit [Ping timeout: 246 seconds]
weems has joined #ruby-lang
AncientAmateur has quit [Ping timeout: 250 seconds]
VTLob has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
Cakey has joined #ruby-lang
<sarkyniin> hey
<sarkyniin> info[:where].downcase =~ /\A[jnl]\z/
<sarkyniin> this regex detects if the symbol ":where" contains j, n, or l, right?
<bougyman> um, no
bantic has joined #ruby-lang
mrwooh333 has joined #ruby-lang
<apeiros> not "contains" but "is precisely"
<apeiros> sarkyniin: also, drop the .downcase and just use //i
<bougyman> it detects if the value of the key :where of the intance of the object (probably Hash) stored in the variable 'info' contains j, n, or l.
<bougyman> correct, is precisely j, n, or l.
<sarkyniin> ok
<sarkyniin> thanks
<apeiros> oh, and ^ wrt ":where symbol" vs. "value at key :where"
seanot has quit [Remote host closed the connection]
<sarkyniin> yeah
gix has joined #ruby-lang
<sarkyniin> I screwed that up
<sarkyniin> thanks
<bougyman> no worries, just clarifying
<cschneid> is there a method on array that works like []= (changing an index to a new value) but returns the whole array? I want it logically equivalent to {}.merge({new => val})
<apeiros> cschneid: don't think so. you can use tap.
<apeiros> but IMO just make multiple statements
Cakey has quit [Ping timeout: 240 seconds]
<cschneid> [1,2,3].tap{|a| a[0] = 10 }
<cschneid> apeiros: that works. It's in an rspec test and I have to do it repeatedly. It reads nicer if I do oneliners :)
<apeiros> meh
elia has quit [Ping timeout: 240 seconds]
<bougyman> what's the argument against #tap, there?
<apeiros> more involved than simply using two lines
<cschneid> bougyman: none, just wanted a dedicated method for it, figured it might exist :)
hexreel has left #ruby-lang [#ruby-lang]
saarinen has quit [Quit: saarinen]
<cschneid> apeiros - thanks for the help. a bit conflicted now since the line is getting long. :-/ ahh well
scmx has quit [Ping timeout: 240 seconds]
<apeiros> :-p
<apeiros> use two lines already!
<cschneid> 4 lines! :)
<apeiros> stop the one-line-for-everything madness!
<cschneid> (I do this same test 4 times)
<apeiros> extract into a method then
saarinen has joined #ruby-lang
<apeiros> DRY principles still apply
<cschneid> heh - let me see if I can do that
gix has quit [Ping timeout: 240 seconds]
AncientAmateur has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
<sarkyniin> hm
<sarkyniin> is there a way to loop through a hash
<sarkyniin> check the key
<sarkyniin> value*
<sarkyniin> and do something if the value is at a certain level
axv has joined #ruby-lang
<apeiros> sarkyniin: you know, you don't have to spread your question on 15 messages…
<sarkyniin> oh sorry
<sarkyniin> ;_;
<|jemc|> use select, chained with each
Fretta has joined #ruby-lang
<apeiros> hash.each do |k,v| do_stuff if condition end
<apeiros> or hash.select { |k,v| condition }.each do …
<sarkyniin> ok, thanks
wallerdev has joined #ruby-lang
iliketurtles has joined #ruby-lang
mikecmpbll has joined #ruby-lang
<cschneid> apeiros: ok, extracted. :)
zz_dlu has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sarkyniin> hm, I dunno if select will work
amsi has joined #ruby-lang
gix has joined #ruby-lang
GaelanAintAround has quit [Ping timeout: 264 seconds]
<sarkyniin> what I'm trying to do is a system that has a hash filled with usernames as the key and a number as the value: the value is how much time they have left until they're unbanned. every minute, I loop through the hash and check if the value = 0: if it is, I remove the user from the hash and unban him. If it isn't, I substract one from the value
nathanstitt has quit [Quit: I growing sleepy]
GaelanAintAround has joined #ruby-lang
<|jemc|> hash.each { |k,v| decrement_count }.select!{ |k,v| v > 0 }
dabradley has quit [Ping timeout: 240 seconds]
<|jemc|> where decrement_count is something like hash[k] -= 1, or whatever you need
<sarkyniin> wow
<sarkyniin> thanks
<apeiros> I'd just use a sorted set
<apeiros> require 'set' gives you one
skade has quit [Quit: Computer has gone to sleep.]
<apeiros> then you don't have to poll all keys. only the first.
<sarkyniin> yeah I could sort them
zz_dlu has joined #ruby-lang
c_s_g_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> no, that's the point
<apeiros> with sorted set, you don't have to
agarie_ has quit [Ping timeout: 240 seconds]
thrillagorilla has joined #ruby-lang
<wallerdev> haha
<workmad3> apeiros: I don't see what value a set would give over a hash there, tbh
toastynerd has joined #ruby-lang
gix has quit [Ping timeout: 250 seconds]
<apeiros> workmad3: not a set. a sorted set. and I stated the value already. you don't have to poll all keys, only the first.
<sarkyniin> how do sets work
<workmad3> apeiros: why would you only need to poll the first key?
fjfish has quit [Remote host closed the connection]
<sarkyniin> also apeiros
<apeiros> workmad3: because you sort it by the unbanning time. so the one to unban is at first position.
<sarkyniin> if I only poll the first key
<apeiros> sorry, I thought that much was obvious.
<sarkyniin> all the other keys remain at the same value
<workmad3> apeiros: there might be multiple that need banning
<sarkyniin> and if two keys have the same value, then one is getting polled while the other is not
<apeiros> sarkyniin: yeah, don't use "time left", use "time of unbanning". that never changes.
<apeiros> and it's sortable
<workmad3> sorry, unbanning
<apeiros> workmad3: you still only poll the first
<apeiros> when you unbanned, you remove it
Cakey has joined #ruby-lang
<apeiros> because, you know, you no longer need to keep track of when to unban him
<workmad3> apeiros: ah, so you just keep on removing until set is empty
<apeiros> correct
<apeiros> and if you use threading, you can let your thread sleep precisely until the time of the next unbanning
francisfish has joined #ruby-lang
<wallerdev> thread sleep isn't that accurate
<workmad3> wallerdev: it would be accurate enough ;)
<apeiros> only nasty part is if you add stuff to the list. if it is sorted to the front, you need to prematurely wake up that thread.
<workmad3> wallerdev: or most likely would be
<apeiros> wallerdev: it's *much more* accurate than "once per minute"
<wallerdev> haha true
<apeiros> unless your machine utterly and horribly sucks in ways I don't even want to consider.
<workmad3> wallerdev: what's a user gonna say? 'oh, I was banned for 50ms longer than I should... how dare you!'
<sarkyniin> lel
<apeiros> also it's far less work than polling once per minute (though, that's minuscule too, probably even for thousands of entries)
<sarkyniin> maybe I could just get an array of all the values
<sarkyniin> and check the key for every value
<sarkyniin> to get the key without needing to touch the hash
<sarkyniin> that would require less work for me since I don't know how to work with sets ;~;
<bougyman> i'd propose a different architecture.
<bougyman> just throw this stuff into a proper work queue (beanstalk)
<bougyman> it's perfect for such things.
gix has joined #ruby-lang
<apeiros> bougyman: not sorted. hence my suggestion of sorted set.
<bougyman> apeiros: beanstalk would be sorted.
<workmad3> apeiros: what I'd probably do is wake the thread prematurely any time a new value is added to the set in that situation... at worst, it would check the first key and go straight back to sleep
francisfish has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
<workmad3> apeiros: oh... with a schedulable work queue, you could simply throw Unban items on the queue, scheduled at the appropriate time... 'queue.add "unban foobar", at: 10.minutes.from_now' or similar :)
<bougyman> workmad3: +1
<apeiros> workmad3: that was the idea
<bougyman> that's how I'd do it.
hahuang65 has joined #ruby-lang
<apeiros> bougyman: in that case, it's exactly what I suggested
jason__ has joined #ruby-lang
<bougyman> apeiros: yes, but i'd let beanstalk do the work.
<apeiros> "the work"
<apeiros> ok
dorei has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
<sarkyniin> yeah
<sarkyniin> in the end, for each value in the hash, I set a variable to that value, and check out the key for that value in the hash
<sarkyniin> oh, replace value with key and key with value in that sentence
jason__ has quit [Remote host closed the connection]
axv has quit []
hakunin has quit [Remote host closed the connection]
agarie has joined #ruby-lang
hakunin has joined #ruby-lang
danijoo has joined #ruby-lang
dmiller has quit [Quit: WeeChat 0.4.1]
lcdhoffman has joined #ruby-lang
hakunin has quit [Ping timeout: 246 seconds]
Cakey has quit [Ping timeout: 250 seconds]
foucist has joined #ruby-lang
<foucist> how do you force "ç" to be "c" ?
<foucist> without a fallback character table..
<sarkyniin> c ç
<sarkyniin> what do you mean
scmx has joined #ruby-lang
<sarkyniin> oh
<sarkyniin> .gsub('ç','c')?
<sarkyniin> on the string
<foucist> sarkyniin: well rather, i want to force all utf8 weird letters to pure ascii ones
<foucist> like force it to us-ascii encoding perhaps ?
<sarkyniin> that would probably remove the ç I think
<foucist> nah it returns "\xC3\xA7"
<foucist> rather than 'c'
<foucist> heh
<sarkyniin> yeah
gix has quit [Ping timeout: 246 seconds]
jxpx777_ has joined #ruby-lang
jxpx777 has quit [Read error: Connection reset by peer]
<foucist> you could say i want a graceful downgrade of the encoding from utf-8 to ascii heh
zlogan has joined #ruby-lang
simono has joined #ruby-lang
yfeldblum has joined #ruby-lang
alekst has joined #ruby-lang
gix has joined #ruby-lang
danijoo has quit [Remote host closed the connection]
<havenwood> require 'i18n'; I18n.transliterate 'ç'
kitak_ has joined #ruby-lang
<havenwood> or
<havenwood> require 'active_support/inflector/transliterate'; include ActiveSupport::Inflector; transliterate 'ç'
<havenwood> or manually #tr or #gsub or whatev if you don't want to use a gem
zlogan has quit [Ping timeout: 240 seconds]
<havenwood> just need a list of the conversions you want
iliketurtles has quit [Quit: zzzzz…..]
dabradley has joined #ruby-lang
kitak has quit [Ping timeout: 240 seconds]
scmx has quit [Ping timeout: 240 seconds]
hrs has joined #ruby-lang
momomomomo has joined #ruby-lang
hrs has quit [Client Quit]
<foucist> thanks
toastynerd has quit [Remote host closed the connection]
Tn6o has quit [Remote host closed the connection]
Tn6o has joined #ruby-lang
rofel has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dsaint-p_ has joined #ruby-lang
Tn6o has quit [Ping timeout: 246 seconds]
mbj has quit [Ping timeout: 240 seconds]
amsi has quit [Ping timeout: 264 seconds]
amsi has joined #ruby-lang
dsaint-pierre has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 250 seconds]
mehlah has quit [Quit: Leaving...]
dsaint-p_ has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby-lang
m4t- has joined #ruby-lang
Authenticator has quit [Ping timeout: 240 seconds]
pkrnj has joined #ruby-lang
toastynerd has joined #ruby-lang
<ljarvis> moin
toastynerd has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
jxpx777_ has quit [Read error: Connection reset by peer]
jxpx777 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
scmx has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby-lang
manelli has joined #ruby-lang
imperator has joined #ruby-lang
manelli has left #ruby-lang [#ruby-lang]
jxpx777 has quit [Read error: Connection reset by peer]
jxpx777_ has joined #ruby-lang
danijoo has joined #ruby-lang
manelli has joined #ruby-lang
rofel has quit [Remote host closed the connection]
manelli has left #ruby-lang [#ruby-lang]
rofel has joined #ruby-lang
rahul_j has joined #ruby-lang
whitecrow1 has quit [Quit: Leaving]
dsaint-pierre has joined #ruby-lang
rofel has quit [Ping timeout: 240 seconds]
allomov_ has joined #ruby-lang
allomov has quit [Ping timeout: 240 seconds]
jeff_r has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
manelli has joined #ruby-lang
manelli has left #ruby-lang [#ruby-lang]
hhatch has quit [Ping timeout: 240 seconds]
CaptainJet has joined #ruby-lang
manelli has joined #ruby-lang
manelli has quit [Client Quit]
toastynerd has quit [Remote host closed the connection]
Scymex has joined #ruby-lang
<jeff_r> given an array of hashes, how would you modify some value in each of the hashes without changing the origional?
scmx has quit [Ping timeout: 240 seconds]
<wallerdev> copy the hashes?
foucist has left #ruby-lang [#ruby-lang]
nathanstitt has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
<jeff_r> that would work, but I like how map typically is used without mutating the array its called on
jxpx777_ has quit [Read error: Connection reset by peer]
jxpx777 has joined #ruby-lang
<jeff_r> and was looking for a way to use it to that effect here
faces has joined #ruby-lang
<jeff_r> wallerdev
face has quit [Ping timeout: 246 seconds]
<apeiros> jeff_r: map does not mutate the array. that does not expand to the items it contains.
<apeiros> jeff_r: there's no method which does that for you. so you're left at either copying yourself, or using a method which operates on a copy of the items
sepp2k has quit [Ping timeout: 250 seconds]
iliketurtles has joined #ruby-lang
sepp2k has joined #ruby-lang
<jeff_r> apeiros: which method would you suggest for operating on a copy of the items? is there something in Enumerable that does that?
<jeff_r> or in Array?
jsutt has joined #ruby-lang
<apeiros> jeff_r: it's not related to your container
<apeiros> so your container can't offer that
rofel has joined #ruby-lang
__butch__ has quit [Read error: Connection reset by peer]
havenwood has quit []
rofel has quit [Client Quit]
rofel has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
<jeff_r> apeiros: so you're suggesting something like this?
sferik has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
seanot has joined #ruby-lang
vsorlov has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby-lang
dwknoxy is now known as dknox
dknox is now known as dknox-lunch
nathanstitt has quit [Read error: Connection reset by peer]
mehlah has joined #ruby-lang
nathanstitt has joined #ruby-lang
sferik has quit [Read error: Connection reset by peer]
sferik has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
nathanstitt has quit [Ping timeout: 240 seconds]
KillerFox has quit [Ping timeout: 252 seconds]
hakunin has joined #ruby-lang
<apeiros> jeff_r: yes, as wallerdev already suggested
sferik has quit [Read error: Connection reset by peer]
KillerFox has joined #ruby-lang
sferik has joined #ruby-lang
Pupeno has quit [Ping timeout: 250 seconds]
<yorickpeterse> lazy Ruby question: is there a way to do a conditional yield without having to do something like `yield foo if foo` ?
<yorickpeterse> e.g. yield_if foo
wallerdev has joined #ruby-lang
<apeiros> no :)
<|jemc|> depends on what your goal is - if you're trying to avoid running foo twice you can use tap
<|jemc|> foo.tap { |x| yield x if x }
<|jemc|> but if you're trying to be concise, that obviously doesn't do it for you
<yorickpeterse> Trying to do both
<yorickpeterse> :<
* apeiros prefers x = foo; yield x if x
<apeiros> over tap, that is
systems_glitch has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
<yorickpeterse> yeah
<yorickpeterse> I wonder if I can abuse Proc.new
marcdel has quit []
centrx has joined #ruby-lang
<|jemc|> only other angle I can think of is something like:
<|jemc|> [foo].reject(&:nil?).each { |x| yield x }
<yorickpeterse> darn it, I can't
<yorickpeterse> HMPF
<yorickpeterse> So Ruby does have mutable strings but I can't break quantum physics by abusing yield, darn it
<yorickpeterse> or I have to start passing &block all over the place, ugh
<|jemc|> yeah, and I know rbx detects "yield" at the parser level in melbourne
<|jemc|> so it can't be replaced with another method
RobertBirnie has joined #ruby-lang
<wallerdev> you can use compact instead of reject(&:nil?)
<|jemc|> wallerdev: yeah I was trying to remember what that one was
<yorickpeterse> hmpf, also fun: String#unpack on a 100MB String uses around 800MB of RAM
<yorickpeterse> YAY
alex-quiterio has quit [Quit: Leaving.]
x0f has joined #ruby-lang
jeff_r has quit []
cored has quit [Ping timeout: 240 seconds]
<|jemc|> yorickpeterse: on rbx or mri?
Fushi has quit [Quit: Connection closed for inactivity]
<yorickpeterse> MRI 2.1.1
<yorickpeterse> not really surprising considering what I'm doing, but still
* yorickpeterse mumbles something about immutable strings and optimizations
yfeldblu_ has quit [Remote host closed the connection]
Pain has joined #ruby-lang
marcdel has joined #ruby-lang
yfeldblum has joined #ruby-lang
rahul_j has joined #ruby-lang
marr123 has joined #ruby-lang
marr123 has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 246 seconds]
khaase has joined #ruby-lang
khaase has joined #ruby-lang
jsutt_ has joined #ruby-lang
jsutt has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
heftig has joined #ruby-lang
<yorickpeterse> clearly I should write this in C because that will be bulletproof and webscale
<yorickpeterse> just make sure that the buffer size is 64KB max
<mistym> yorickpeterse: C is old hat, go is webscale
<yorickpeterse> Yeah but Go doesn't have generics
__butch__ has joined #ruby-lang
dknox-lunch is now known as dknox
wallerdev has quit [Quit: wallerdev]
allomov_ has quit [Remote host closed the connection]
sarkyniin has quit [Quit: Quitte]
banister is now known as banisterfiend
toastynerd has joined #ruby-lang
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
mistym is now known as mistym_lunch
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
toastyne_ has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby-lang
axv has joined #ruby-lang
toastynerd has quit [Ping timeout: 276 seconds]
relix has joined #ruby-lang
relix has quit [Client Quit]
toastyne_ has quit [Ping timeout: 276 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
pkrnj has joined #ruby-lang
mistym has joined #ruby-lang
toastynerd has joined #ruby-lang
benanne has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
[spoiler] has quit [Quit: Leaving]
hahuang65 has joined #ruby-lang
mikecmpbll has quit [Remote host closed the connection]
thrillagorilla has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
toastynerd has joined #ruby-lang
mikecmpbll has joined #ruby-lang
<momomomomo> Quick q - In CSV.read(r+) I’m having a difficult time finding a method to overwrite the current csv::row’s value - is it even possible (2.0)?
pkrnj has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> momomomomo: I doubt it since you're, well, reading from a CSV
iliketurtles has quit [Quit: zzzzz…..]
<momomomomo> wrong answer yorickpeterse
<momomomomo> r+ is read + write
<momomomomo> it delegates to IO - just wondering if i have to monkey patch, or if there’s a method for this
symm- has joined #ruby-lang
<yorickpeterse> You are still using CSV.read, that's what I meant
francisfish has joined #ruby-lang
<yorickpeterse> Also as a tip, "wrong answer" makes you sound like a giant ass
<momomomomo> ah sorry, i meant to write csv.open*
alekst has quit [Quit: Computer has gone to sleep.]
kgrz has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
<momomomomo> yorickpeterse: ha, I was aware - but I thought you were confidently giving a ‘nope'
<momomomomo> my apologies :p
<yorickpeterse> I take it you're trying to read and modify the CSV?
<yorickpeterse> You might be able to use CSV#add_row, but I'm not sure what that does with the current one
pkrnj has joined #ruby-lang
kgrz has quit [Ping timeout: 252 seconds]
seanot has quit [Remote host closed the connection]
pkrnj has quit [Client Quit]
alex-quiterio has joined #ruby-lang
tea-boy has quit [Remote host closed the connection]
tea-boy has joined #ruby-lang
<momomomomo> yorickpeterse: Aye, just trying to delete - i think http://ruby-doc.org/stdlib-1.9.3/libdoc/csv/rdoc/CSV/Table.html#method-i-delete might be the way
nathanstitt has joined #ruby-lang
tea-boy has quit [Ping timeout: 276 seconds]
arBmind has quit [Quit: Leaving.]
lcdhoffman has quit [Quit: lcdhoffman]
ryba has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
Scymex has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
glide has joined #ruby-lang
nathanstitt has quit [Remote host closed the connection]
havenwood has quit [Read error: Connection reset by peer]
tea-boy has joined #ruby-lang
havenwood has joined #ruby-lang
scmx has joined #ruby-lang
seanot has joined #ruby-lang
Cakey has joined #ruby-lang
robmiller has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
tea-boy_ has joined #ruby-lang
tea-boy has quit [Ping timeout: 252 seconds]
<glide> Hey guys, how can a beginner/junior ruby/rails developer find a job?
<systems_glitch> find your local ruby brigade
<systems_glitch> get to know the community
<havenwood> glide: looking remote or willing to relocate? where abouts are you?
<havenwood> systems_glitch: i agree!
<glide> I'm in Philly. I'm flexible between NYC and Philadelphia
jhass is now known as jhass|off
<systems_glitch> there's a huge community in NYC
alex-quiterio has quit [Quit: Leaving.]
devgiant has joined #ruby-lang
yalue has quit [Quit: Leaving]
Cakey has quit [Ping timeout: 252 seconds]
alex-quiterio has joined #ruby-lang
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
khaase has quit [Remote host closed the connection]
<glide> What about Philly? Supposedly there's a startup scene here but I don't know if it's well known outside the region.
<systems_glitch> not sure about philly, upstate NY here
marcdel has quit [Read error: Connection reset by peer]
khaase has joined #ruby-lang
khaase has quit [Changing host]
khaase has joined #ruby-lang
<systems_glitch> we've sent people to pittsburgh for their con
tea-boy_ has quit [Ping timeout: 252 seconds]
<glide> Cool.
<wallerdev> is that place with the fries in the sandwich in philly
<glide> LOL! There's that all throughout the region :)
<havenwood> glide: developing a presence on Github is helpful
MichD is now known as michd
<glide> havenwood: what level of expertise do I need before I become useful/marketable?
<glide> I'm putting up my solutions to Project Euler problems, and I'm learning a lot so maybe I'll be able to contribute to an open source project in the coming weeks.
<havenwood> glide: a lot of shops are hiring junior developers, then you can learn and get paid
khaase has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
<havenwood> glide: but if you are an avid Rubyist you'll start getting offers :)
<glide> Yeah that's what I would like.
<havenwood> glide: if you can find some projects you like, study them and figure out a way to contribute at whatever level you are
tbuehlmann has quit [Remote host closed the connection]
<glide> Cool. I used to be great at webdesign during college, then I went to law school. LOL. I should have stuck with computers :\
<glide> So there are projects that a junior developer can help out on? That's good to know...
<havenwood> glide: i went to law school as well
<havenwood> glide: for sure there are, even just grammar and spelling fixes in the README and documentation are appreciated
thrillagorilla has joined #ruby-lang
<glide> Wow! Cool!
<systems_glitch> glide: smart rails shops are hiring any solid devs for junior positions, rails experience is a bonus
<glide> From what I've read, I should focus on a project that I find intrinsically interesting and contribute what I can. So I'm going to start searching for interesting projects.
<systems_glitch> that's a good idea as well
<havenwood> glide: and don't hesitate to start your own projects, cutting gems is fun
marcdel has joined #ruby-lang
tea-boy has joined #ruby-lang
<systems_glitch> if you are having trouble finding something, you can also assist with issues on rails core
<glide> systems_glitch, How do you suggest I approach them? Attending .rb meetings/conventions, what else?
marcdel has quit [Read error: Connection reset by peer]
<wallerdev> yeah find something that interests you even if its not in ruby, youll learn a lot
mistym has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<glide> havenwood, gems are a little intimidating to me at the moment, but hopefully I'll get there soon :)
lcdhoffman has joined #ruby-lang
marcdel has joined #ruby-lang
<havenwood> glide: they aren't as bad as they seem! once you do it once or twice it becomes trivial.
marcdel has quit [Read error: Connection reset by peer]
<havenwood> glide: have you checked out Pry yet?
<glide> I've focused on Ruby basics mostly. Going to start learning Rails now while practicing Ruby on Project Euler/etc
<glide> No. Do you recommend it? I love irb.
<systems_glitch> being solid with Ruby without Rails is a plus
<havenwood> glide: yes, irb is great but i'd suggest switching to pry ;)
<havenwood> glide: gem install pry pry-doc
<glide> systems_glitch, yeah I'm trying to get solid, but at the same time I want to have a deep understanding of Ruby as it relates to Rails... so I'm trying to strike that balance.
tea-boy_ has joined #ruby-lang
<havenwood> glide: then checkout the `help` command to see what pry adds (in addition to syntax highlighting, indentation, etc.).
iliketurtles has joined #ruby-lang
<glide> havenwood: Will do. Is it basically irb with some extra features?
<systems_glitch> more or less
tea-boy has quit [Ping timeout: 240 seconds]
<systems_glitch> it does some neat tricks
<systems_glitch> it does not play well with some jruby use cases
<havenwood> glide: Yup, an alternative REPL. A very good one. :)
bantic has quit [Quit: bantic]
<havenwood> good for learning i think. i've really enjoyed it.
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<glide> Cool. I need to spend some time on irb or pry just wandering around the core and classes of Ruby. It's always interesting when it comes up in docs and I'm guessing it is good to have a grasp of the structure.
devgiant_ has joined #ruby-lang
<systems_glitch> a lot of people struggle with where ruby stops and the rails magic begins
<systems_glitch> so solid rb understanding will probably help prevent that
allomov has joined #ruby-lang
<wallerdev> who needs ruby when you have rails
<wallerdev> probably a rails gem for console apps anyway
<havenwood> glide: #RubyOnRails is the Rails channel by the way, but yeah learn Ruby first!
khaase has joined #ruby-lang
khaase has quit [Changing host]
khaase has joined #ruby-lang
<glide> Cool. I'm trying to set the foundation for a long term career so I'm trying to build my understanding of the fundamentals while developing a marketable skills. So, I'm learning Ruby, will soon learn Rails, and I'm reading through SICP, etc.
<systems_glitch> sicp?
<glide> Structure and Interpretation of Computer Programs. Apparently it's a good book for the fundamental concepts.
devgiant has quit [Ping timeout: 240 seconds]
<glide> Don't know if that's true :/
<havenwood> glide: I'm about three years in to the lawyer-to-software-engineer conversion.
<havenwood> <3 Ruby.
<glide> havenwood, nice. Can you offer any advice?
<havenwood> glide: Create things and love it!
<glide> Did you take a bootcamp or anything like that, or did you just teach yourself?
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
<havenwood> glide: self taught, though i was very tempted a year back to take a spot at hacker school
devgiant_ has quit [Ping timeout: 240 seconds]
<glide> Cool. Are you a full time developer now? How long did it take to switch over?
<havenwood> glide: Yes, development is all I do now. How long entirely depends on what you mean. But if you go all-in I think you'll thrive.
<systems_glitch> as long as you actually like hacking on projects you'll be fine
<havenwood> systems_glitch: good point, wanting to do it whether you're paid or not really help the chances of getting paid :P
<systems_glitch> yeah, the only devs we've had fail to make it around here have been the "get a programming job to rake $$$" kind
<systems_glitch> and accept that the rb community is opinionated on how things should be done, and having a different opinion makes your job difficult
oetjenj has quit [Ping timeout: 240 seconds]
<glide> I think I have a hackers's temperament, if that's worth anything. Focusing at a computer for hours trying to tweak/build something.
<glide> Oh that's interesting. What are the most contentious issues?
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
mistym_lunch is now known as mistym
vondruch has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
cored has joined #ruby-lang
oetjenj has joined #ruby-lang
Pupeno has joined #ruby-lang
<systems_glitch> by "opinionated" i mean you're going to have a rough time if you decide to fight the framework because it's not the way *you* would do it
seanot has quit [Remote host closed the connection]
<glide> I see. Are you referring to coding style? best practices? or methodologies?
<systems_glitch> yes
_ht has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
DEac- has quit [Read error: Connection reset by peer]
DEac- has joined #ruby-lang
kgrz has joined #ruby-lang
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
khaase has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
kgrz has quit [Ping timeout: 240 seconds]
rtlong has quit [Ping timeout: 252 seconds]
khaase has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
khaase has quit [Ping timeout: 250 seconds]
jgpawletko has quit [Quit: jgpawletko]
yubrew_ has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 240 seconds]
axv has quit []
marcdel has joined #ruby-lang
scmx has quit [Ping timeout: 252 seconds]
ikrima has joined #ruby-lang
sdouglas has joined #ruby-lang
apeiros has joined #ruby-lang
marcdel has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
pr0ton has joined #ruby-lang
postmodern has joined #ruby-lang
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
marcdel has joined #ruby-lang
marcdel has quit [Read error: Connection reset by peer]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has quit [Remote host closed the connection]
havenwood has quit []
Pupeno has joined #ruby-lang
marcdel has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
marcdel has quit [Ping timeout: 240 seconds]
gamera has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
gamera has left #ruby-lang ["Leaving."]
marcdel has joined #ruby-lang
benanne has quit [Quit: kbai]
robmiller has quit [Quit: Leaving.]
pr0ton has quit [Quit: pr0ton]
systems_glitch has quit [Quit: leaving]
RobertBi_ has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
pr0ton has joined #ruby-lang
face has joined #ruby-lang
faces has quit [Ping timeout: 240 seconds]
seanot has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
alexju has quit [Remote host closed the connection]
ryba is now known as retro|cz
<retro|cz> zzak_, hello, slash-lang.org is down
pr0ton has left #ruby-lang [#ruby-lang]
momomomomo has joined #ruby-lang
RobertBirnie has joined #ruby-lang
rue_XIW has joined #ruby-lang
sdouglas has joined #ruby-lang
RobertBi_ has quit [Ping timeout: 252 seconds]
rue|w has quit [Ping timeout: 265 seconds]
saarinen has quit [Quit: saarinen]
pixelhandler has quit [Quit: pixelhandler]
cored has quit [Ping timeout: 276 seconds]
ikrima_ has joined #ruby-lang
chouhoulis has quit [Ping timeout: 240 seconds]
ikrima has quit [Ping timeout: 276 seconds]
wallerdev has quit [Quit: wallerdev]
centrx has quit [Quit: All this computer hacking is making me thirsty]
sdouglas has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby-lang
yubrew has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
nathanstitt has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
seanot has quit [Remote host closed the connection]
achal has quit [Quit: Connection closed for inactivity]
alex-quiterio has quit [Quit: Leaving.]
seanot has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
hakunin has quit [Ping timeout: 240 seconds]
__butch__ has quit [Quit: Leaving.]
VTLob has quit [Quit: VTLob]
<whitequark> I think slash-lang is charliesome's
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
mehlah has joined #ruby-lang
glide has quit [Ping timeout: 252 seconds]
tris has joined #ruby-lang
pixelhandler has joined #ruby-lang
glide has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
mehlah_ has joined #ruby-lang
danijoo has quit [Remote host closed the connection]
mehlah has quit [Ping timeout: 250 seconds]
seanot has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
allomov has quit [Remote host closed the connection]
jackyalcine has joined #ruby-lang
mehlah_ is now known as mehlah
RobertBirnie has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby-lang
enebo has quit [Quit: enebo]
RobertBi_ has joined #ruby-lang
CaptainJet has quit []
momomomomo has quit [Quit: momomomomo]
RobertBirnie has quit [Ping timeout: 240 seconds]
CaptainJet has joined #ruby-lang
yubrew has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
marcdel has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
dorei has quit []
enebo has joined #ruby-lang
enebo has quit [Client Quit]
chouhoulis has joined #ruby-lang
yubrew has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby-lang
hellome has joined #ruby-lang
simono has joined #ruby-lang
dknox has quit [Quit: Textual IRC Client: www.textualapp.com]
RobertBi_ has quit [Ping timeout: 252 seconds]
herpless has quit [Quit: Connection closed for inactivity]
elliotec has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
marcdel has quit [Read error: Connection reset by peer]
pr0ton has joined #ruby-lang
pr0ton has quit [Client Quit]
Cakey has joined #ruby-lang
marcdel has joined #ruby-lang
dstynchula has quit []
RobertBirnie has joined #ruby-lang
shinnya has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]